/* AzanGuru WooCommerce UI v1.0.7 */
@media (min-width:640px) {
    .woocommerce-account.logged-in .common-page-wrapper .woocommerce {
        display: grid;
        gap: 2rem;
        grid-template-columns: 150px 1fr
    }
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    --tw-border-opacity: 1;
    border-color: rgb(0 0 0/var(--tw-border-opacity));
    border-radius: 7px;
    border-width: 1px;
    display: inline-block;
    font-size: .875rem;
    line-height: 1.25rem;
    line-height: 1.5;
    margin-bottom: .5rem;
    text-transform: uppercase
}

@media (min-width:640px) {
    .woocommerce-account .woocommerce-MyAccount-navigation li {
        width: 100%
    }
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: .5rem
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active {
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: rgb(4 108 78/var(--tw-bg-opacity));
    border-width: 0;
    color: rgb(255 255 255/var(--tw-text-opacity))
}

.woocommerce-account .woocommerce-form-row input,
.woocommerce-account .woocommerce-form-row label {
    border-radius: 7px;
    display: inline-block;
    width: 100%
}

.woocommerce-account .woocommerce-form-row input {
    margin-bottom: 1.5rem
}

.woocommerce-account .woocommerce-Button {
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: rgb(4 108 78/var(--tw-bg-opacity));
    border-radius: 7px;
    color: rgb(255 255 255/var(--tw-text-opacity));
    display: inline-block;
    line-height: 1.5;
    padding: 1rem;
    text-transform: uppercase
}

.woocommerce-account table.my_account_orders td,
.woocommerce-account table.my_account_orders tr,
.woocommerce-account table.order_details td,
.woocommerce-account table.order_details tr,
.woocommerce-account table.subscription_details td,
.woocommerce-account table.subscription_details tr {
    border: 1px solid;
    padding: 8px
}

.woocommerce-account table.my_account_orders,
.woocommerce-account table.order_details,
.woocommerce-account table.subscription_details {
    margin-bottom: 32px;
    width: 100%
}

.woocommerce-account h2 {
    font-family: Poppins, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
    margin-bottom: 1rem
}

.woocommerce-account .button.cancel,
.woocommerce-account .button.pay,
.woocommerce-account .button.resubscribe,
.woocommerce-account .button.view {
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: rgb(200 30 30/var(--tw-bg-opacity));
    border-radius: 7px;
    color: rgb(255 255 255/var(--tw-text-opacity));
    display: inline-block;
    line-height: 1.5;
    margin: .5rem;
    padding: .5rem 1rem;
    text-transform: uppercase
}

.woocommerce-account .button.pay,
.woocommerce-account .button.resubscribe,
.woocommerce-account .button.view {
    --tw-bg-opacity: 1;
    background-color: rgb(4 108 78/var(--tw-bg-opacity))
}

span.subscription-details {
    font-size: .875rem;
    line-height: 1.25rem
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
    background: #15803d;
    color: #fff;
    display: inline-block;
    margin: 0;
    padding: 1rem 2rem;
    width: 100%
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt {
    background: #15803d;
    margin-top: 1rem;
    padding: 1rem 2rem
}

.woocommerce-billing-fields__field-wrapper p {
    margin: 1rem 0
}

.woocommerce-additional-fields {
    display: none
}

.woocommerce div.product {
    margin: 3rem auto;
    max-width: 1280px;
    padding: 1rem
}

#order_review strong.product-quantity,
.single-product #sidebar,
.wc-block-components-notice-banner.is-success,
.woocommerce .product_meta,
.woocommerce .woocommerce-breadcrumb,
.woocommerce-Tabs-panel h2:first-of-type,
.woocommerce-page .woocommerce-message .wc-forward,
.woocommerce-page .woocommerce-notices-wrapper .wc-forward,
div#order_review thead,
h3#order_review_heading {
    display: none
}

.woocommerce-billing-fields h3 {
    font-size: 1.4rem;
    font-weight: 700
}

.woocommerce-form-login .woocommerce-form-login__submit {
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: rgb(4 108 78/var(--tw-bg-opacity));
    border-radius: .375rem;
    color: rgb(255 255 255/var(--tw-text-opacity));
    display: block;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1rem;
    padding: .75rem 1.75rem;
    text-transform: uppercase
}

.woocommerce-MyAccount-content a {
    --tw-text-opacity: 1;
    color: rgb(4 108 78/var(--tw-text-opacity));
    font-weight: 500
}

@media only screen and (max-width:767px) {
    table.my_account_orders {
        display: grid;
        grid-template-columns: 100px 1fr
    }

    table.my_account_orders th {
        border-bottom: 1px solid;
        padding: 8px
    }

    table.my_account_orders td,
    table.my_account_orders th {
        display: inline-block;
        width: 100%
    }
}

.woocommerce-address-fields label {
    color: #333;
    display: block;
    font-weight: 700;
    margin-bottom: 5px
}

.woocommerce-address-fields input[type=email],
.woocommerce-address-fields input[type=tel],
.woocommerce-address-fields input[type=text],
.woocommerce-address-fields select {
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
    margin-bottom: 15px;
    padding: 10px;
    width: 100%
}

.woocommerce-address-fields input[type=email]:focus,
.woocommerce-address-fields input[type=tel]:focus,
.woocommerce-address-fields input[type=text]:focus,
.woocommerce-address-fields select:focus {
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, .5)
}

.woocommerce-address-fields button,
.woocommerce-address-fields input[type=submit] {
    background-color: #0073aa;
    border: none;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    padding: 10px 20px
}

.woocommerce-address-fields button:hover,
.woocommerce-address-fields input[type=submit]:hover {
    background-color: #005a87
}

.woocommerce-address-fields .woocommerce-invalid-required-field {
    border-color: #a00
}

.woocommerce-address-fields .woocommerce-message {
    background-color: #dff0d8;
    border-color: #4caf50;
    border-radius: 3px;
    color: #4caf50;
    margin-bottom: 15px;
    padding: 10px
}

.woocommerce-account h3 {
    font-family: Poppins, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
    margin-bottom: 1rem
}

.woocommerce-MyAccount-content a.ag-btn-small {
    color: #fff
}

#ag_student_gender_field .woocommerce-input-wrapper {
    align-items: center;
    display: flex;
    gap: 6px
}

body.woocommerce-checkout .woocommerce-account-fields {
    height: 0;
    overflow: hidden
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box,
.woocommerce-privacy-policy-text {
    display: none
}

/* Premium Responsive Checkout Page Banner */
.page-banner.ag-checkout-banner,
body.woocommerce-checkout .page-banner {
    height: 140px !important;
    min-height: 140px !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.65) 100%),
                url('https://media.azanguru.com/2026/02/12131915/banner-img.webp') center / cover no-repeat !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 1.5rem !important;
    margin-bottom: 1.5rem !important;
    box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Checkout is a completion screen, so remove promotional chrome and keep a
   single cart-driven confirmation close to the payment action. */
body.woocommerce-checkout .page-banner,
body.woocommerce-checkout .ag-welcome-coupon-banner {
    display: none !important;
}

body.woocommerce-checkout .ag-checkout-confirmation {
    margin: 12px 0;
    padding: 11px 12px;
    border: 1px solid #b9dfcf;
    border-radius: 10px;
    background: #f0fdf7;
    color: #173f32;
    font-size: 13px;
    line-height: 1.45;
}

/* Checkout form polish: presentation only; field names, validation, OTP and
   gateway behavior remain owned by WooCommerce and the existing handlers. */
body.woocommerce-checkout form.checkout {
    max-width: 880px;
    margin: 0 auto;
}

body.woocommerce-checkout form.checkout .col2-set,
body.woocommerce-checkout form.checkout #order_review {
    padding: 18px;
    border: 1px solid #e5eee9;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(16, 35, 28, .055);
}

body.woocommerce-checkout form.checkout .form-row {
    margin: 0 0 14px;
}

body.woocommerce-checkout form.checkout .form-row label {
    margin: 0 0 6px;
    color: #15221e;
    font-size: 14px;
    font-weight: 700;
}

body.woocommerce-checkout form.checkout input.input-text,
body.woocommerce-checkout form.checkout select,
body.woocommerce-checkout form.checkout .select2-selection--single {
    min-height: 50px;
    border: 1px solid #cbd9d4 !important;
    border-radius: 10px !important;
    background: linear-gradient(90deg, #f4fbf8 0, #fff 24%) !important;
    color: #17211e;
    font-size: 15px;
    box-shadow: none !important;
}

body.woocommerce-checkout form.checkout input.input-text {
    padding: 11px 14px;
}

body.woocommerce-checkout form.checkout input.input-text:focus,
body.woocommerce-checkout form.checkout select:focus,
body.woocommerce-checkout form.checkout .select2-container--open .select2-selection--single {
    border-color: #15966c !important;
    box-shadow: 0 0 0 3px rgba(21, 150, 108, .1) !important;
    outline: none;
}

body.woocommerce-checkout form.checkout .select2-selection__rendered {
    line-height: 48px !important;
    padding-left: 14px !important;
}

body.woocommerce-checkout form.checkout .select2-selection__arrow {
    height: 48px !important;
    right: 8px !important;
}

body.woocommerce-checkout #ag_checkout_country_code_field.ag-country-field-mounted {
    display: none !important;
}

body.woocommerce-checkout #billing_phone_field .woocommerce-input-wrapper.ag-phone-country-mounted {
    display: flex;
    align-items: stretch;
}

body.woocommerce-checkout #billing_phone_field .ag-inline-country-picker {
    position: relative;
    display: block;
    flex: 0 0 155px;
}

body.woocommerce-checkout #billing_phone_field .ag-inline-country-picker::after {
    content: "⌄";
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 2;
    color: #24332e;
    font-size: 17px;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-58%);
}

body.woocommerce-checkout #billing_phone_field .ag-inline-country-picker select {
    width: 100%;
    height: 100%;
    min-height: 50px;
    padding: 8px 27px 8px 10px;
    border-right: 0 !important;
    border-radius: 10px 0 0 10px !important;
    background: #f4fbf8 !important;
    font-size: 13px;
    appearance: none;
    -webkit-appearance: none;
}

body.woocommerce-checkout #billing_phone_field .ag-phone-country-mounted > input.input-text {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 0 10px 10px 0 !important;
}

body.woocommerce-checkout .ag-send-otp-btn {
    width: 100%;
    margin: 0 0 14px;
    padding: 13px 18px;
    border-radius: 10px;
    background: linear-gradient(90deg, #07865f, #2daa70);
    color: #fff;
    font-size: 15px;
    font-weight: 750;
    box-shadow: 0 6px 16px rgba(5, 150, 105, .16);
}

body.woocommerce-checkout #ag_student_gender_field .woocommerce-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.woocommerce-checkout #ag_course_dropdown_field .woocommerce-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.woocommerce-checkout #ag_course_dropdown_field .woocommerce-input-wrapper label.radio {
    margin: 0 18px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 600;
}

body.woocommerce-checkout #ag_course_dropdown_field input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #07865f;
}

body.woocommerce-checkout #ag_course_dropdown_field label.radio .required {
    display: none;
}

body.woocommerce-checkout #ag_student_gender_field .woocommerce-input-wrapper label {
    margin: 0 18px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 600;
}

body.woocommerce-checkout #ag_student_gender_field input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #07865f;
}

body.woocommerce-checkout #ag_student_gender_field label.radio .required {
    display: none;
}

body.woocommerce-checkout #ag_course_dropdown_field {
    display: block;
    height: auto;
    overflow: visible;
}

body.woocommerce-checkout .woocommerce-notices-wrapper > .woocommerce-message,
body.woocommerce-checkout .woocommerce-notices-wrapper > .woocommerce-info {
    display: none !important;
}

body.woocommerce-checkout #ag_policy_acceptance_field {
    margin-bottom: 0;
    padding: 4px 0 0;
}

@media only screen and (max-width: 767px) {
    body.woocommerce-checkout form.checkout .col2-set,
    body.woocommerce-checkout form.checkout #order_review {
        padding: 12px 14px;
        border-radius: 13px;
        box-shadow: 0 5px 18px rgba(16, 35, 28, .045);
    }

    body.woocommerce-checkout form.checkout input.input-text,
    body.woocommerce-checkout form.checkout select,
    body.woocommerce-checkout form.checkout .select2-selection--single {
        min-height: 48px;
        font-size: 16px;
    }

    body.woocommerce-checkout form.checkout .form-row { margin-bottom: 11px; }

    body.woocommerce-checkout #billing_phone_field .ag-inline-country-picker { flex-basis: 138px; }
}

.page-banner.ag-checkout-banner .page-title,
body.woocommerce-checkout .page-banner .page-title,
.ag-checkout-banner-title {
    color: #ffffff !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.5px !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.25 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7) !important;
}

@media only screen and (max-width:767px) {
    .page-banner.ag-checkout-banner,
    body.woocommerce-checkout .page-banner {
        height: 90px !important;
        min-height: 90px !important;
        padding: 0 1rem !important;
        margin-bottom: 1rem !important;
    }

    .page-banner.ag-checkout-banner .page-title,
    body.woocommerce-checkout .page-banner .page-title,
    .ag-checkout-banner-title {
        font-size: 1.25rem !important;
        font-weight: 800 !important;
        line-height: 1.3 !important;
    }

    body.woocommerce-checkout .woocommerce-error,
    body.woocommerce-checkout .woocommerce-info,
    body.woocommerce-checkout .woocommerce-message {
        margin: 0
    }

    body.woocommerce-checkout .alignwide {
        margin-top: 0
    }

    .woocommerce-billing-fields h3 {
        display: none
    }

    .woocommerce form .form-row label {
        font-size: 14px
    }

    div#order_review tr.cart_item {
        font-size: 1rem
    }
}

body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message {
    font-size: 11px;
    outline: none;
    padding: .5rem .5rem .5rem 1.5rem
}

body.woocommerce-checkout .woocommerce-error:before,
body.woocommerce-checkout .woocommerce-info:before,
body.woocommerce-checkout .woocommerce-message:before {
    left: .5em;
    top: .5rem
}

@media only screen and (max-width:767px) {
    body.woocommerce-checkout .site-footer-wrap {
        display: none
    }

    body.woocommerce-checkout .checkout-page-info,
    body.woocommerce-checkout .powered-by {
        display: inline-block;
        text-align: center;
        width: 100%
    }
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
    display: grid
}

#add_payment_method #payment ul.payment_methods,
.woocommerce-cart #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
    order: 2
}

.woocommerce-checkout .checkout_coupon button[type=submit] {
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: rgb(4 108 78/var(--tw-bg-opacity));
    border-radius: .375rem;
    color: rgb(255 255 255/var(--tw-text-opacity));
    display: inline-block;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.25rem;
    padding: .5rem 1rem;
    text-align: center
}

.woocommerce-checkout .checkout_coupon button[type=submit]:hover {
    --tw-text-opacity: 1;
    color: rgb(31 41 55/var(--tw-text-opacity))
}

.showcoupon {
    --tw-text-opacity: 1;
    border-radius: .375rem;
    color: rgb(4 108 78/var(--tw-text-opacity));
    display: inline-block;
    font-weight: 500
}

.showcoupon:hover {
    --tw-text-opacity: 1;
    color: rgb(31 41 55/var(--tw-text-opacity))
}

body.woocommerce-checkout .checkout_coupon .form-row-first,
body.woocommerce-checkout .form-row-last {
    float: none;
    width: 100%
}

body.woocommerce-checkout .woocommerce form.checkout_coupon {
    border: none;
    margin-bottom: 0;
    padding: 0
}

body.woocommerce-checkout .col2-set .col-1 {
    width: 100%
}

#ag_policy_acceptance_field {
    margin-bottom: 20px;
}

#ag_policy_acceptance_field input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    display: inline-block !important;
    flex-shrink: 0;
}

#ag_policy_acceptance_field label {
    font-size: 13px;
}

#ag_policy_acceptance_field label.checkbox {
    display: inline-block !important;
    width: auto !important;
    margin: 0 !important;
    cursor: pointer;
}

#ag_policy_acceptance_field .optional {
    display: none;
}

/* Show coupon discount and total if coupon is applied */
div#order_review tfoot {
  display: table-footer-group !important;
}

div#order_review tfoot tr.cart-subtotal {
  display: none !important;
}

/* Order Total is the first payment. The confirmation strip explains the
   recurring term, so the same amount does not need a second table section. */
.woocommerce-checkout #order_review table.shop_table tfoot tr.recurring-totals,
.woocommerce-checkout #order_review table.shop_table tfoot tr.wcs-recurring-totals-heading,
.woocommerce-checkout #order_review table.shop_table tfoot tr.recurring-total {
  display: none !important;
}

/* Premium Compact & Mobile Responsive Checkout Order Review Card Styling */
.woocommerce-checkout #order_review table.shop_table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background-color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  margin-bottom: 1.25rem !important;
}

/* Remove default table borders and backgrounds from elements inside table */
.woocommerce-checkout #order_review table.shop_table,
.woocommerce-checkout #order_review table.shop_table tbody,
.woocommerce-checkout #order_review table.shop_table tfoot,
.woocommerce-checkout #order_review table.shop_table tr,
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td {
  border: none !important;
  background: none !important;
}

/* Fix currency symbol superscript jumping in order review table */
.woocommerce-checkout #order_review .woocommerce-Price-currencySymbol {
  vertical-align: baseline !important;
  font-size: 0.9em !important;
  line-height: inherit !important;
}

/* Style the product row (tbody tr) */
.woocommerce-checkout #order_review table.shop_table tbody tr.cart_item td {
  padding: 0.65rem 1rem !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  line-height: 1.4 !important;
}

.woocommerce-checkout #order_review table.shop_table tbody tr.cart_item td.product-name {
  text-align: left !important;
}

.woocommerce-checkout #order_review table.shop_table tbody tr.cart_item td.product-total {
  text-align: right !important;
  white-space: nowrap !important;
}

/* Style the Coupon row (tfoot tr.cart-discount) */
.woocommerce-checkout #order_review table.shop_table tfoot tr.cart-discount th,
.woocommerce-checkout #order_review table.shop_table tfoot tr.cart-discount td {
  background-color: #f0fdf4 !important; /* light green background for discount */
  color: #15803d !important; /* green text */
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  border-top: 1px solid #e2e8f0 !important;
  padding: 0.5rem 1rem !important;
  line-height: 1.4 !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot tr.cart-discount th {
  text-align: left !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot tr.cart-discount td {
  text-align: right !important;
  white-space: nowrap !important;
}

/* Styling the remove coupon link */
.woocommerce-checkout #order_review .woocommerce-remove-coupon {
  color: #ef4444 !important; /* red */
  font-size: 0.75rem !important;
  margin-left: 6px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  border: 1px solid #fca5a5 !important;
  background-color: #fef2f2 !important;
  padding: 1px 6px !important;
  border-radius: 4px !important;
  transition: all 0.2s ease !important;
  line-height: 1.2 !important;
  vertical-align: middle !important;
}

.woocommerce-checkout #order_review .woocommerce-remove-coupon:hover {
  background-color: #fee2e2 !important;
  color: #dc2626 !important;
  text-decoration: none !important;
}

/* Style Total row */
.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total th,
.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td {
  background-color: #ffffff !important;
  color: #0f172a !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  border-top: 1px solid #e2e8f0 !important;
  padding: 0.65rem 1rem !important;
  line-height: 1.4 !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total th {
  text-align: left !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td {
  text-align: right !important;
  white-space: nowrap !important;
}

/* Recurring Totals Header & Row */
.woocommerce-checkout #order_review table.shop_table tfoot tr.recurring-totals th,
.woocommerce-checkout #order_review table.shop_table tfoot tr.recurring-totals td,
.woocommerce-checkout #order_review table.shop_table tfoot tr.wcs-recurring-totals-heading th {
  border-top: 1px solid #e2e8f0 !important;
  padding: 0.5rem 1rem 0.25rem 1rem !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  text-align: left !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot tr.recurring-total th,
.woocommerce-checkout #order_review table.shop_table tfoot tr.recurring-total td {
  padding: 0.5rem 1rem 0.65rem 1rem !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  border-top: 1px dashed #e2e8f0 !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot tr.recurring-total th {
  text-align: left !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot tr.recurring-total td {
  text-align: right !important;
}

.woocommerce-checkout #order_review table.shop_table tfoot tr.recurring-total td .first-payment-date {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: #64748b !important;
  margin-top: 2px !important;
}

/* Mobile responsive adjustments (< 768px) */
@media only screen and (max-width: 767px) {
  .woocommerce-checkout #order_review table.shop_table {
    margin-bottom: 1rem !important;
  }
  
  .woocommerce-checkout #order_review table.shop_table tbody tr.cart_item td {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
  }

  .woocommerce-checkout #order_review table.shop_table tfoot tr.cart-discount th,
  .woocommerce-checkout #order_review table.shop_table tfoot tr.cart-discount td {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.825rem !important;
  }

  .woocommerce-checkout #order_review table.shop_table tfoot tr.order-total th,
  .woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.95rem !important;
  }

  .woocommerce-checkout #order_review table.shop_table tfoot tr.recurring-totals th,
  .woocommerce-checkout #order_review table.shop_table tfoot tr.recurring-total th,
  .woocommerce-checkout #order_review table.shop_table tfoot tr.recurring-total td {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.825rem !important;
  }
}

/* ==========================================================================
   AZANGURU LUXURY ISLAMIC STORE & PHYSICAL PRODUCTS STYLING
   ========================================================================== */

.ag-store-hero-banner {
  background: linear-gradient(135deg, #064e3b 0%, #083b2e 40%, #03241b 100%) !important;
  color: #ffffff !important;
  padding: 48px 24px !important;
  border-radius: 24px !important;
  margin-bottom: 32px !important;
  box-shadow: 0 20px 40px rgba(6, 78, 59, 0.2) !important;
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid rgba(212, 175, 55, 0.25) !important;
  text-align: center !important;
}

.ag-store-hero-banner::before {
  content: '' !important;
  position: absolute !important;
  top: -50% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 600px !important;
  height: 600px !important;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, transparent 70%) !important;
  pointer-events: none !important;
}

.ag-store-badge-top {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 16px !important;
  border-radius: 50px !important;
  background: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  color: #fbbf24 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin-bottom: 16px !important;
}

.ag-store-hero-title {
  font-size: 38px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin: 0 0 12px 0 !important;
  letter-spacing: -0.5px !important;
  line-height: 1.2 !important;
}

@media (max-width: 640px) {
  .ag-store-hero-title {
    font-size: 26px !important;
  }
}

.ag-store-hero-subtitle {
  font-size: 16px !important;
  color: #d1fae5 !important;
  max-width: 650px !important;
  margin: 0 auto 28px auto !important;
  line-height: 1.6 !important;
}

/* Store Search Bar */
.ag-store-search-wrap {
  max-width: 580px !important;
  margin: 0 auto 24px auto !important;
}

.ag-store-search-form {
  display: flex !important;
  align-items: center !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 6px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.ag-store-search-input {
  flex: 1 !important;
  border: none !important;
  outline: none !important;
  padding: 10px 16px !important;
  font-size: 15px !important;
  color: #1f2937 !important;
  background: transparent !important;
}

.ag-store-search-btn {
  background: #f59e0b !important;
  color: #064e3b !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  border: none !important;
  padding: 12px 24px !important;
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.ag-store-search-btn:hover {
  background: #d97706 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* Hero Feature Pills */
.ag-store-hero-features {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 16px !important;
}

.ag-store-feat-pill {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(4, 78, 59, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 8px 16px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #ecfdf5 !important;
}

.ag-store-feat-pill i {
  color: #fbbf24 !important;
}

/* Category Filter Bar */
.ag-store-cat-bar {
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  padding-bottom: 8px !important;
  margin-bottom: 28px !important;
}

.ag-store-cat-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  background: #ffffff !important;
  border: 1.5px solid #e5e7eb !important;
  color: #374151 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
}

.ag-store-cat-item:hover {
  border-color: #064e3b !important;
  color: #064e3b !important;
  background: #f0fdf4 !important;
}

.ag-store-cat-item.active {
  background: #064e3b !important;
  border-color: #064e3b !important;
  color: #fbbf24 !important;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2) !important;
}

.ag-store-cat-badge {
  background: #f3f4f6 !important;
  color: #4b5563 !important;
  font-size: 12px !important;
  padding: 2px 8px !important;
  border-radius: 50px !important;
}

.ag-store-cat-item.active .ag-store-cat-badge {
  background: rgba(251, 191, 36, 0.2) !important;
  color: #fbbf24 !important;
}

/* Toolbar Bar */
.ag-store-toolbar-box {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #f9fafb !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 16px !important;
  padding: 14px 20px !important;
  margin-bottom: 28px !important;
}

.ag-store-toolbar-count {
  font-size: 14px !important;
  color: #4b5563 !important;
  font-weight: 600 !important;
}

.ag-store-toolbar-sort select {
  padding: 8px 16px !important;
  border-radius: 10px !important;
  border: 1px solid #d1d5db !important;
  background: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #1f2937 !important;
  outline: none !important;
}

/* Product Grid Reset & Layout */
.woocommerce ul.products,
.woocommerce-page ul.products,
.woocommerce ul.products.ag-store-product-grid,
ul.products.ag-store-product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  gap: 28px !important;
  padding: 0 !important;
  margin: 0 0 40px 0 !important;
  list-style: none !important;
  width: 100% !important;
  clear: both !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after,
ul.products.ag-store-product-grid::before,
ul.products.ag-store-product-grid::after {
  content: none !important;
  display: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
ul.products.ag-store-product-grid li.product,
ul.products.ag-store-product-grid li.ag-card-single,
.ag-card-single {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

/* Single Product Card */
.ag-card-single {
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02) !important;
  width: 100% !important;
}

.ag-card-single:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03) !important;
  border-color: #cbd5e1 !important;
}

.ag-card-media {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  background: #f8fafc !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  padding: 16px !important;
}

.ag-card-img {
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transition: transform 0.5s ease !important;
}

.ag-card-single:hover .ag-card-img {
  transform: scale(1.08) !important;
}

/* Fallback Product Graphic when thumbnail is missing */
.ag-card-fallback-graphic {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%) !important;
  border-radius: 12px !important;
  color: #064e3b !important;
  text-align: center !important;
  padding: 20px !important;
}

.ag-card-fallback-icon {
  font-size: 42px !important;
  color: #064e3b !important;
  margin-bottom: 8px !important;
}

.ag-card-fallback-label {
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  color: #d97706 !important;
  letter-spacing: 0.5px !important;
}

/* Card Badges */
.ag-card-badge-wrap {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  z-index: 10 !important;
}

.ag-card-badge-sale {
  background: #dc2626 !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 6px rgba(220, 38, 38, 0.3) !important;
}

.ag-card-badge-physical {
  background: #064e3b !important;
  color: #fbbf24 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  box-shadow: 0 4px 6px rgba(6, 78, 59, 0.3) !important;
}

/* Card Content Body */
.ag-card-body {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  justify-content: space-between !important;
}

.ag-card-cat {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #d97706 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  margin-bottom: 6px !important;
  display: block !important;
}

.ag-card-title {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  margin: 0 0 10px 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.ag-card-title a {
  color: inherit !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.ag-card-single:hover .ag-card-title a {
  color: #064e3b !important;
}

.ag-card-stars {
  display: flex !important;
  align-items: center !important;
  gap: 3px !important;
  color: #f59e0b !important;
  font-size: 12px !important;
  margin-bottom: 14px !important;
}

.ag-card-stars span {
  color: #9ca3af !important;
  font-size: 11px !important;
  margin-left: 4px !important;
  font-weight: 600 !important;
}

.ag-card-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding-top: 14px !important;
  border-top: 1px solid #f1f5f9 !important;
  gap: 8px !important;
}

.ag-card-price {
  font-size: 20px !important;
  font-weight: 900 !important;
  color: #064e3b !important;
}

.ag-card-price bdi {
  color: #064e3b !important;
  font-weight: 900 !important;
}

.ag-card-price del {
  font-size: 13px !important;
  color: #94a3b8 !important;
  font-weight: 500 !important;
  margin-right: 4px !important;
}

.ag-card-price ins {
  text-decoration: none !important;
}

/* Card Button */
.ag-card-btn {
  background: #f59e0b !important;
  color: #064e3b !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  padding: 10px 18px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25) !important;
  transition: all 0.2s ease !important;
  border: none !important;
  cursor: pointer !important;
}

.ag-card-btn:hover {
  background: #d97706 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(217, 119, 6, 0.35) !important;
}

/* Guarantee Section */
.ag-store-trust-grid {
  display: grid !important;
  grid-template-columns: repeat(1, 1fr) !important;
  gap: 20px !important;
  margin-top: 48px !important;
  padding-top: 40px !important;
  border-top: 1px solid #e5e7eb !important;
}

@media (min-width: 640px) {
  .ag-store-trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (min-width: 1024px) {
  .ag-store-trust-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

.ag-store-trust-card {
  background: #ffffff !important;
  border: 1px solid #f1f5f9 !important;
  border-radius: 16px !important;
  padding: 20px !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 16px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
}

.ag-store-trust-icon {
  width: 48px !important;
  height: 48px !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  flex-shrink: 0 !important;
}

.ag-store-trust-title {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 0 0 4px 0 !important;
}

.ag-store-trust-desc {
  font-size: 12px !important;
  color: #64748b !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

/* Single Product Page Styling */
.ag-single-buy-btn:hover {
  background: #d97706 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 25px rgba(217, 119, 6, 0.4) !important;
}

.ag-single-cart-form .quantity input.qty {
  width: 72px !important;
  height: 52px !important;
  border-radius: 12px !important;
  border: 1.5px solid #cbd5e1 !important;
  text-align: center !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  color: #0f172a !important;
  background: #f8fafc !important;
  outline: none !important;
}

.ag-single-cart-form .quantity input.qty:focus {
  border-color: #064e3b !important;
  background: #ffffff !important;
}

.ag-thumb-item:hover {
  border-color: #064e3b !important;
}

@media (max-width: 768px) {
  .ag-single-main-grid {
    grid-template-columns: 1fr !important;
    padding: 20px !important;
    gap: 28px !important;
  }
  .ag-single-buy-btn {
    width: 100% !important;
  }
}
