/* ============================================================
   AwwFis AF — woocommerce.css
   Styles for: cart, checkout, thankyou, my account, auth
   ============================================================ */

/* ── WC Core Reset ─────────────────────────────────────────── */
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--yellow);
    color: var(--text);
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-6);
    font-size: 0.9rem;
    list-style: none;
}
.woocommerce-error { border-left-color: var(--error); }
.woocommerce-info  { border-left-color: var(--info); }
.woocommerce-error::before,
.woocommerce-info::before,
.woocommerce-message::before { display: none !important; }

.woocommerce-error a,
.woocommerce-info a,
.woocommerce-message a { color: var(--yellow); text-decoration: underline; }

/* WC form fields overrides */
.woocommerce-page .form-row label,
.woocommerce-account .form-row label,
.form-row label { color: var(--text); font-size: 0.875rem; font-weight: 500; }

.woocommerce-page .form-row input.input-text,
.woocommerce-page .form-row select,
.woocommerce-page .form-row textarea,
.woocommerce-account .form-row input.input-text,
.woocommerce-account .form-row select,
.form-row input.input-text,
.form-row select,
.form-row textarea {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 10px 14px;
    width: 100%;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color var(--transition);
}
.woocommerce-page .form-row input.input-text:focus,
.woocommerce-page .form-row select:focus,
.woocommerce-account .form-row input.input-text:focus,
.form-row input.input-text:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--yellow);
}

/* Defeat the browser's own white/yellow autofill background so it matches the dark theme */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
select:-webkit-autofill,
textarea:-webkit-autofill {
    -webkit-text-fill-color: var(--text) !important;
    -webkit-box-shadow: 0 0 0px 1000px var(--bg-input) inset !important;
    box-shadow: 0 0 0px 1000px var(--bg-input) inset !important;
    caret-color: var(--text);
    transition: background-color 5000s ease-in-out 0s;
}

select option { background: var(--bg-card); }

/* ── Cart Page ─────────────────────────────────────────────── */
.awwfis-cart-page {
    padding: var(--space-10) 0 var(--space-20);
    min-height: 60vh;
}

.awwfis-cart-page__title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-8);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.awwfis-cart-page__count {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 2px 10px;
}

.awwfis-cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-8);
    align-items: start;
}

/* Coupon bar */
.awwfis-coupon-bar {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-4);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.awwfis-coupon-toggle {
    margin-left: auto;
    color: var(--yellow);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.awwfis-coupon-form {
    padding: var(--space-4);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    margin-bottom: var(--space-4);
}

.awwfis-coupon-form .coupon {
    display: flex;
    gap: var(--space-3);
}

.awwfis-coupon-form input[type="text"] {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 10px 14px;
    font-size: 0.9rem;
    font-family: inherit;
}
.awwfis-coupon-form input[type="text"]:focus {
    outline: none;
    border-color: var(--yellow);
}

.awwfis-coupon-form button[type="submit"] {
    background: var(--yellow);
    color: #000;
    border: none;
    border-radius: var(--radius);
    padding: 10px 20px;
    font-weight: 600;
    font-size: 0.875rem;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

/* Cart table */
.woocommerce-cart-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.woocommerce-cart-form table.shop_table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-cart-form table.shop_table thead th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.woocommerce-cart-form table.shop_table tbody tr {
    border-bottom: 1px solid var(--border);
}
.woocommerce-cart-form table.shop_table tbody tr:last-child { border-bottom: none; }

.woocommerce-cart-form table.shop_table td {
    padding: var(--space-5) var(--space-6);
    vertical-align: middle;
}

.woocommerce-cart-form .product-remove a {
    color: var(--text-muted);
    font-size: 1.25rem;
    line-height: 1;
    transition: color var(--transition);
}
.woocommerce-cart-form .product-remove a:hover { color: var(--error); }

.woocommerce-cart-form .product-thumbnail img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.woocommerce-cart-form .product-name a {
    font-weight: 600;
    color: var(--text);
    transition: color var(--transition);
}
.woocommerce-cart-form .product-name a:hover { color: var(--yellow); }

.woocommerce-cart-form .variation { margin-top: var(--space-1); }
.woocommerce-cart-form .variation dt,
.woocommerce-cart-form .variation dd { font-size: 0.8rem; color: var(--text-muted); display: inline; }
.woocommerce-cart-form .variation dt::after { content: ': '; }
.woocommerce-cart-form .variation dd::after { content: ' · '; }
.woocommerce-cart-form .variation dd:last-child::after { content: ''; }

.woocommerce-cart-form .product-price .amount,
.woocommerce-cart-form .product-subtotal .amount { font-weight: 600; }
.woocommerce-cart-form .product-price del .amount { color: var(--text-muted); font-size: 0.8rem; font-weight: 400; }

/* Qty */
.awwfis-qty-control {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg);
    width: fit-content;
}
.awwfis-qty-control button {
    width: 32px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1rem;
    transition: color var(--transition);
    cursor: pointer;
}
.awwfis-qty-control button:hover { color: var(--text); }
.awwfis-qty-control input {
    width: 36px;
    text-align: center;
    background: none;
    border: none;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
}
.awwfis-qty-control input:focus { outline: none; }

/* Cart actions */
.woocommerce-cart-form .actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    border-top: 1px solid var(--border);
}

.woocommerce-cart-form button[name="update_cart"] {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: var(--radius);
    padding: 8px 16px;
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    transition: all var(--transition);
}
.woocommerce-cart-form button[name="update_cart"]:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}
.woocommerce-cart-form button[name="update_cart"].is-dirty {
    background: var(--yellow);
    border-color: var(--yellow);
    color: #000;
    font-weight: 700;
}
.woocommerce-cart-form button[name="update_cart"].is-dirty:hover {
    background: var(--yellow-dark);
    border-color: var(--yellow-dark);
    color: #000;
}

/* Cart totals */
.awwfis-cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    position: sticky;
    top: 100px;
}

.awwfis-cart-summary__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border);
}

.cart_totals table { width: 100%; }
.cart_totals table tr { display: flex; justify-content: space-between; align-items: center; padding: var(--space-3) 0; border-bottom: 1px solid var(--border); }
.cart_totals table tr:last-child { border-bottom: none; }
.cart_totals table th { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.cart_totals table td { font-size: 0.9rem; }
.cart_totals .order-total th,
.cart_totals .order-total td { font-weight: 700; font-size: 1rem; }
.cart_totals .order-total td .amount { color: var(--yellow); }

.cart_totals .woocommerce-shipping-calculator { margin-top: var(--space-3); }
.cart_totals .woocommerce-shipping-calculator a { color: var(--yellow); font-size: 0.8rem; }

.awwfis-cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    width: 100%;
    background: var(--yellow);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px var(--space-6);
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    text-decoration: none;
    margin-top: var(--space-5);
    font-family: inherit;
    transition: background var(--transition), transform var(--transition);
}
.awwfis-cart-checkout-btn:hover {
    background: var(--yellow-dark);
    transform: translateY(-1px);
    color: #000;
}

.awwfis-cart-trust {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-5);
    padding-top: var(--space-5);
    border-top: 1px solid var(--border);
}
.awwfis-cart-trust__item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.awwfis-cart-trust__item svg { color: var(--yellow); flex-shrink: 0; }

.awwfis-cart-empty {
    text-align: center;
    padding: var(--space-20) 0;
}
.awwfis-cart-empty__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    color: var(--text-muted);
}
.awwfis-cart-empty h2 { font-size: 1.5rem; margin-bottom: var(--space-3); }
.awwfis-cart-empty p { color: var(--text-muted); margin-bottom: var(--space-8); }

/* ── Checkout Page ─────────────────────────────────────────── */
.awwfis-checkout-page {
    padding: var(--space-10) 0 var(--space-20);
    min-height: 60vh;
}

.awwfis-checkout-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-8);
    padding: var(--space-4) var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-8);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.awwfis-checkout-trust-strip span { display: flex; align-items: center; gap: var(--space-2); }
.awwfis-checkout-trust-strip svg { color: var(--yellow); }

.awwfis-checkout-title { font-size: 1.75rem; font-weight: 700; margin-bottom: var(--space-8); }

.awwfis-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-8);
    align-items: start;
}

/* Steps */
.awwfis-checkout-steps {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-8);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.awwfis-checkout-step {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    font-size: 0.875rem;
    color: var(--text-muted);
    border-right: 1px solid var(--border);
    flex: 1;
}
.awwfis-checkout-step:last-child { border-right: none; }

.awwfis-checkout-step__num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--border);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.awwfis-checkout-step.is-active { color: var(--text); }
.awwfis-checkout-step.is-active .awwfis-checkout-step__num { background: var(--yellow); color: #000; }

/* Checkout form sections */
.awwfis-checkout-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-5);
}

.awwfis-checkout-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-6);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}
.awwfis-checkout-section-title span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--yellow);
    color: #000;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.woocommerce-billing-fields__field-wrapper,
.woocommerce-shipping-fields__field-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.form-row { margin-bottom: var(--space-4); }
.form-row-wide { grid-column: 1 / -1; }
.form-row-first { grid-column: 1; }
.form-row-last  { grid-column: 2; }

.form-row label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--text); margin-bottom: var(--space-2); }
.form-row .required { color: var(--error); }
.form-row .optional { color: var(--text-muted); font-size: 0.75rem; }

.form-row input.input-text,
.form-row select,
.form-row textarea {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 10px 14px;
    width: 100%;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color var(--transition);
    -webkit-appearance: none;
}
.form-row input.input-text:focus,
.form-row select:focus { outline: none; border-color: var(--yellow); }
.form-row.woocommerce-invalid input.input-text,
.form-row.woocommerce-invalid select { border-color: var(--error); }

/* Shipping toggle */
.woocommerce-shipping-fields h3 label { display: flex; align-items: center; gap: var(--space-3); font-size: 0.9rem; cursor: pointer; }
.woocommerce-shipping-fields h3 input[type="checkbox"] { accent-color: var(--yellow); width: 16px; height: 16px; }

/* Order notes */
#order_comments { resize: vertical; min-height: 80px; }

/* Payment section */
.awwfis-payment-methods { list-style: none; padding: 0; }

.awwfis-payment-method {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-3);
    overflow: hidden;
    transition: border-color var(--transition);
}
.awwfis-payment-method.is-selected { border-color: var(--yellow); }

.awwfis-payment-method label {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-5);
    cursor: pointer;
    font-weight: 500;
}

.awwfis-payment-method input[type="radio"] { accent-color: var(--yellow); width: 16px; height: 16px; }

.payment_box {
    padding: var(--space-4) var(--space-5);
    background: var(--bg);
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--text-muted);
}

#place_order {
    width: 100%;
    background: var(--yellow);
    color: #000;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 16px var(--space-6);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    margin-top: var(--space-5);
    transition: background var(--transition), transform var(--transition);
}
#place_order:hover { background: var(--yellow-dark); transform: translateY(-1px); }

/* Checkout sidebar */
.awwfis-order-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    position: sticky;
    top: 100px;
}

.awwfis-order-summary__title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border);
}

.awwfis-order-summary__items { list-style: none; padding: 0; }

.awwfis-order-summary__item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}
.awwfis-order-summary__item:last-child { border-bottom: none; }

.awwfis-order-summary__item-img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.awwfis-order-summary__item-name { font-weight: 500; flex: 1; }
.awwfis-order-summary__item-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.awwfis-order-summary__item-price { font-weight: 600; white-space: nowrap; }

.awwfis-order-summary__totals { padding-top: var(--space-4); border-top: 1px solid var(--border); }
.awwfis-order-summary__row { display: flex; justify-content: space-between; padding: var(--space-2) 0; font-size: 0.875rem; }
.awwfis-order-summary__row.is-total { font-weight: 700; font-size: 1rem; border-top: 1px solid var(--border); padding-top: var(--space-4); margin-top: var(--space-2); }
.awwfis-order-summary__row.is-total .amount { color: var(--yellow); }

/* ── Thank You Page ────────────────────────────────────────── */
.awwfis-thankyou-page {
    padding: var(--space-10) 0 var(--space-20);
    min-height: 60vh;
}

.awwfis-thankyou-hero {
    text-align: center;
    padding: var(--space-10) var(--space-6);
    margin-bottom: var(--space-8);
}

.awwfis-thankyou-hero__icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-6);
    font-size: 2rem;
}
.awwfis-thankyou-hero__icon.is-paid   { background: rgba(107, 255, 158, 0.1); color: var(--success); border: 2px solid rgba(107, 255, 158, 0.3); }
.awwfis-thankyou-hero__icon.is-pending { background: rgba(255, 197, 58, 0.1);  color: var(--yellow);  border: 2px solid rgba(255, 197, 58, 0.3); }

.awwfis-thankyou-hero__title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-3);
}

.awwfis-thankyou-hero__sub {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto;
}

.awwfis-thankyou-meta {
    display: flex;
    gap: var(--space-5);
    justify-content: center;
    flex-wrap: wrap;
    padding: var(--space-5);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-8);
}

.awwfis-thankyou-meta__item { text-align: center; }
.awwfis-thankyou-meta__label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.awwfis-thankyou-meta__value { font-size: 0.95rem; font-weight: 600; }

.awwfis-thankyou-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-8);
}

.awwfis-thankyou-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
}

.awwfis-thankyou-section h3 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 1px solid var(--border);
}

.awwfis-thankyou-items { list-style: none; }
.awwfis-thankyou-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}
.awwfis-thankyou-item:last-child { border-bottom: none; }
.awwfis-thankyou-item__name { font-weight: 500; }
.awwfis-thankyou-item__meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

.awwfis-thankyou-totals { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--border); }
.awwfis-thankyou-total-row { display: flex; justify-content: space-between; padding: var(--space-2) 0; font-size: 0.875rem; }
.awwfis-thankyou-total-row.is-grand { font-weight: 700; font-size: 1rem; border-top: 1px solid var(--border); margin-top: var(--space-2); padding-top: var(--space-3); }
.awwfis-thankyou-total-row.is-grand .amount { color: var(--yellow); }

address { font-style: normal; font-size: 0.875rem; color: var(--text-muted); line-height: 1.8; }

.awwfis-thankyou-steps { list-style: none; }
.awwfis-thankyou-step {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4) 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}
.awwfis-thankyou-step:last-child { border-bottom: none; }
.awwfis-thankyou-step__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 197, 58, 0.1);
    color: var(--yellow);
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.awwfis-thankyou-step__title { font-weight: 600; margin-bottom: 2px; }
.awwfis-thankyou-step__desc { color: var(--text-muted); }

.awwfis-thankyou-social {
    text-align: center;
    padding: var(--space-8) var(--space-6);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-8);
}
.awwfis-thankyou-social h3 { font-size: 1.1rem; margin-bottom: var(--space-2); }
.awwfis-thankyou-social p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: var(--space-5); }
.awwfis-thankyou-social__links { display: flex; gap: var(--space-3); justify-content: center; }
.awwfis-thankyou-social__link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all var(--transition);
    color: var(--text);
}
.awwfis-thankyou-social__link:hover { border-color: var(--yellow); color: var(--yellow); }

.awwfis-thankyou-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
}

/* ── My Account Page ───────────────────────────────────────── */
.awwfis-account-page {
    padding: var(--space-10) 0 var(--space-20);
    min-height: 60vh;
}

.awwfis-account-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
}

/* Top profile/nav bar */
.awwfis-account-nav {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: static;
}

.awwfis-account-nav__user {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-5) var(--space-6);
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.awwfis-account-nav__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--yellow);
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.awwfis-account-nav__name { font-weight: 600; font-size: 0.9rem; line-height: 1.3; }
.awwfis-account-nav__email { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }

.awwfis-account-nav__links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-1);
    padding: var(--space-3) var(--space-4);
}

.awwfis-account-nav__link {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: 10px var(--space-4);
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: all var(--transition);
    border-radius: var(--radius);
    border-left: none;
    border-bottom: 2px solid transparent;
    text-decoration: none;
}
.awwfis-account-nav__link:hover { color: var(--text); background: var(--bg-hover); }
.awwfis-account-nav__link.is-active { color: var(--yellow); background: rgba(255, 197, 58, 0.06); border-bottom-color: var(--yellow); }
.awwfis-account-nav__link svg { flex-shrink: 0; }

/* Main content */
.awwfis-account-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    min-height: 400px;
}
.awwfis-account-content:has(.awwfis-account-empty) {
    display: flex;
    align-items: center;
    justify-content: center;
}

.awwfis-account-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border);
}

.awwfis-account-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border);
}
.awwfis-account-section-header h2,
.awwfis-account-section-header h3 { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

.awwfis-account-link { color: var(--yellow); font-size: 0.875rem; }
.awwfis-account-link:hover { text-decoration: underline; }

/* Dashboard */
.awwfis-account-dashboard__welcome {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-8);
    line-height: 1.8;
}
.awwfis-account-dashboard__welcome a { color: var(--yellow); }

.awwfis-account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.awwfis-account-stat {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-5);
    text-align: center;
}
.awwfis-account-stat__value { font-size: 1.5rem; font-weight: 700; color: var(--yellow); margin-bottom: 4px; }
.awwfis-account-stat__label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

.awwfis-account-recent-orders { }
.awwfis-account-recent-orders h3 { font-size: 0.95rem; font-weight: 700; margin: 0; }

/* Orders list */
.awwfis-orders-list {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: var(--space-4);
}

.awwfis-order-row {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1fr auto;
    gap: var(--space-4);
    align-items: center;
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}
.awwfis-order-row:last-child { border-bottom: none; }

.awwfis-order-row--header {
    background: var(--bg);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}

.awwfis-order-row__num a { font-weight: 600; color: var(--text); }
.awwfis-order-row__num a:hover { color: var(--yellow); }
.awwfis-order-row__items { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }
.awwfis-order-row__date { color: var(--text-muted); }

/* Status badges */
.awwfis-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}

.awwfis-status-badge--completed    { background: rgba(107, 255, 158, 0.12); color: var(--success); }
.awwfis-status-badge--processing   { background: rgba(90, 171, 255, 0.12);  color: var(--info); }
.awwfis-status-badge--on-hold      { background: rgba(255, 197, 58, 0.12);  color: var(--yellow); }
.awwfis-status-badge--pending      { background: rgba(136, 136, 136, 0.12); color: var(--text-muted); }
.awwfis-status-badge--cancelled    { background: rgba(255, 107, 107, 0.12); color: var(--error); }
.awwfis-status-badge--refunded     { background: rgba(255, 107, 107, 0.12); color: var(--error); }
.awwfis-status-badge--failed       { background: rgba(255, 107, 107, 0.12); color: var(--error); }
.awwfis-status-badge--lg           { font-size: 0.875rem; padding: 5px 14px; }

.awwfis-order-row__action {
    display: flex;
    gap: var(--space-2);
}
.awwfis-order-row__delete:hover {
    border-color: #e0575c;
    color: #e0575c;
}

.awwfis-account-pagination {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    margin-top: var(--space-6);
}

.awwfis-account-empty {
    text-align: center;
    padding: var(--space-12) var(--space-6);
}
.awwfis-account-empty__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-5);
    color: var(--text-muted);
}
.awwfis-account-empty h3 { font-size: 1.1rem; margin-bottom: var(--space-3); }
.awwfis-account-empty p { color: var(--text-muted); margin-bottom: var(--space-6); font-size: 0.9rem; }

/* View Order */
.awwfis-view-order__status-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    background: var(--bg);
    border: 1px solid var(--border);
    border-left: 4px solid var(--border-hover);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-6);
}
.awwfis-status-bg--completed  { border-left-color: var(--success); }
.awwfis-status-bg--processing { border-left-color: var(--info); }
.awwfis-status-bg--on-hold    { border-left-color: var(--yellow); }
.awwfis-status-bg--pending    { border-left-color: var(--text-muted); }
.awwfis-status-bg--cancelled,
.awwfis-status-bg--refunded,
.awwfis-status-bg--failed     { border-left-color: var(--error); }
.awwfis-view-order__status-date { font-size: 0.85rem; color: var(--text-muted); }

.awwfis-view-order__layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-6);
    align-items: start;
}

.awwfis-view-order__section-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: var(--space-5);
}

.awwfis-view-order__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-4);
    margin-bottom: var(--space-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg);
    font-size: 0.875rem;
    transition: border-color var(--transition);
}
.awwfis-view-order__item:hover { border-color: var(--border-hover); }
.awwfis-view-order__item-image { flex-shrink: 0; }
.awwfis-view-order__item-image img,
.awwfis-view-order__item-image--placeholder {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: #fff;
    display: block;
}
.awwfis-view-order__item-info { flex: 1; min-width: 0; }
.awwfis-view-order__item-name {
    display: block;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
}
a.awwfis-view-order__item-name:hover { color: var(--yellow); }
.awwfis-view-order__item-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; line-height: 1.6; }
.awwfis-view-order__item-meta strong { color: var(--text-dim); font-weight: 500; }
.awwfis-view-order__item-meta-dot { color: var(--text-dim); }
.awwfis-view-order__item-qty { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.awwfis-view-order__item-price { font-weight: 700; color: var(--text); white-space: nowrap; }

.awwfis-view-order__totals { padding: var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg); }
.awwfis-view-order__total-row { display: flex; justify-content: space-between; padding: var(--space-2) 0; font-size: 0.875rem; color: var(--text-muted); }
.awwfis-view-order__total-row--grand { font-weight: 700; font-size: 1.05rem; color: var(--text); border-top: 1px solid var(--border); padding-top: var(--space-4); margin-top: var(--space-2); }
.awwfis-view-order__total-row--grand .amount { color: var(--yellow); }
.awwfis-view-order__total-row--discount { color: var(--success); }

.awwfis-view-order__address-block,
.awwfis-view-order__notes {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    font-size: 0.875rem;
}
.awwfis-view-order__address-block h4,
.awwfis-view-order__notes h4 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: var(--space-3);
}
.awwfis-view-order__address-block address { font-style: normal; color: var(--text-muted); line-height: 1.6; }
.awwfis-view-order__address-block p { color: var(--text-muted); margin-top: var(--space-2); }

.awwfis-view-order__note {
    padding: var(--space-3) 0;
    border-bottom: 1px solid var(--border);
}
.awwfis-view-order__note:last-child { border-bottom: none; }
.awwfis-view-order__note p { margin-bottom: 4px; color: var(--text-muted); }
.awwfis-view-order__note time { font-size: 0.75rem; color: var(--text-dim); }

.awwfis-view-order__actions {
    display: flex;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid var(--border);
}

/* Auth / Login — split screen */
.awwfis-auth-page {
    padding: var(--space-8) 0 var(--space-10);
    min-height: 85vh;
    display: flex;
    align-items: center;
}
.awwfis-auth-page .awwfis-container { width: 100%; }

.awwfis-auth-split {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    max-width: 1160px;
    min-height: 78vh;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.awwfis-auth-split__form {
    padding: var(--space-10) var(--space-10);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.awwfis-auth-tabs {
    display: inline-flex;
    align-self: flex-start;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 3px;
    margin-bottom: var(--space-8);
}
.awwfis-auth-tab {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.awwfis-auth-tab.is-active { background: var(--yellow); color: #000; }
.awwfis-auth-tab:hover:not(.is-active) { color: var(--text); }

.awwfis-auth-panel[hidden] { display: none; }
.awwfis-auth-split__title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.15; margin-bottom: var(--space-2); }
.awwfis-auth-split__sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: var(--space-8); }

.awwfis-auth-form { display: flex; flex-direction: column; gap: var(--space-4); }
.awwfis-auth-form .awwfis-form-group { gap: 0; }

.awwfis-auth-form__forgot { float: right; color: var(--yellow); font-size: 0.8rem; font-weight: 400; }
.awwfis-auth-form__note { font-size: 0.8rem; color: var(--text-muted); }

.awwfis-auth-switch { margin-top: var(--space-6); font-size: 0.85rem; color: var(--text-muted); }
.awwfis-auth-switch__link { background: none; border: none; padding: 0; color: var(--yellow); font-weight: 600; cursor: pointer; font-size: inherit; }
.awwfis-auth-switch__link:hover { text-decoration: underline; }

.awwfis-btn--google { background: var(--bg-hover); color: var(--text); border-color: var(--border); gap: 10px; margin-bottom: var(--space-4); }
.awwfis-btn--google:hover { background: var(--bg); color: var(--text); border-color: var(--border-hover); }
.awwfis-btn--google svg { border-radius: 2px; }
.awwfis-auth-divider { display: flex; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; }
.awwfis-auth-divider::before, .awwfis-auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Right-hand visual panel */
.awwfis-auth-split__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
    background: var(--bg);
    border-left: 1px solid var(--border);
    overflow: hidden;
    padding: var(--space-8);
}
.awwfis-auth-split__glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(252,166,0,0.30), rgba(252,166,0,0) 70%);
    filter: blur(10px);
    z-index: 0;
}
.awwfis-auth-split__logo { position: relative; z-index: 1; }
.awwfis-auth-split__logo .awwfis-logo-text { font-size: 1.6rem; font-weight: 800; }
.awwfis-auth-split__art {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 260px;
}
.awwfis-auth-split__art img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 25px 40px rgba(0,0,0,0.6));
}
.awwfis-auth-split__tagline {
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .awwfis-auth-split { grid-template-columns: 1fr; max-width: 480px; min-height: 0; }
    .awwfis-auth-split__visual { display: none; }
    .awwfis-auth-split__form { padding: var(--space-8) var(--space-6); }
}

/* OTP email verification */
.awwfis-otp-verify { padding: var(--space-16) 0 var(--space-20); display: flex; justify-content: center; }
.awwfis-otp-verify__box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    max-width: 440px;
    width: 100%;
    text-align: center;
}
.awwfis-otp-verify__box h2 { font-size: 1.4rem; margin-bottom: var(--space-3); }
.awwfis-otp-verify__box p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: var(--space-6); line-height: 1.6; }
.awwfis-otp-verify__box .awwfis-auth-form { padding: 0; margin-bottom: var(--space-4); }
.awwfis-otp-verify__box #otp { text-align: center; font-size: 1.4rem; letter-spacing: 0.3em; }
.awwfis-otp-verify__resend { margin: 0; }

/* Form helpers */
.awwfis-form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.awwfis-form-label { font-size: 0.875rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.awwfis-form-input {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    padding: 10px 14px;
    width: 100%;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color var(--transition);
}
.awwfis-form-input:focus { outline: none; border-color: var(--yellow); }
.awwfis-form-hint { font-size: 0.78rem; color: var(--text-muted); }

.awwfis-form-input-wrap { position: relative; }
.awwfis-form-input-wrap .awwfis-form-input { padding-right: 44px; }
.awwfis-form-input-wrap.awwfis-form-input-wrap--icon .awwfis-form-input { padding-left: 42px; }
.awwfis-form-input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    pointer-events: none;
}
.awwfis-form-input-wrap:focus-within .awwfis-form-input-icon { color: var(--yellow); }
.awwfis-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 4px;
}
.awwfis-password-toggle:hover { color: var(--text); }
.awwfis-password-toggle.is-active { color: var(--yellow); }

.awwfis-form-checkbox { display: flex; align-items: center; gap: var(--space-2); font-size: 0.875rem; cursor: pointer; }
.awwfis-form-checkbox input { accent-color: var(--yellow); width: 15px; height: 15px; }

.awwfis-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

/* Edit Account */
.awwfis-edit-account { display: flex; flex-direction: column; align-items: center; text-align: center; }
.awwfis-edit-account__form { max-width: 600px; width: 100%; margin: 0 auto; text-align: left; }
.awwfis-edit-account__password-section {
    padding-top: var(--space-6);
    margin-top: var(--space-2);
    border-top: 1px solid var(--border);
}
.awwfis-edit-account__password-section h3 { font-size: 0.95rem; margin-bottom: var(--space-2); }
.awwfis-edit-account__password-hint { font-size: 0.8rem; color: var(--text-muted); margin-bottom: var(--space-5); }

/* Addresses */
.awwfis-my-addresses__intro { color: var(--text-muted); font-size: 0.9rem; margin-bottom: var(--space-6); }
.awwfis-my-addresses__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }

.awwfis-address-block {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-5);
}
.awwfis-address-block__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-4); }
.awwfis-address-block__header h3 { font-size: 0.9rem; font-weight: 600; display: flex; align-items: center; gap: var(--space-2); }
.awwfis-address-block__tag {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-dim);
    background: var(--bg-hover);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 2px 8px;
}
.awwfis-address-block__address { font-size: 0.875rem; color: var(--text-muted); line-height: 1.8; }
.awwfis-address-block__empty { font-size: 0.875rem; color: var(--text-dim); }

/* Edit address WC form overrides */
.awwfis-edit-address__form .form-row { margin-bottom: 0; }
.awwfis-edit-address__form { display: flex; flex-direction: column; gap: var(--space-6); max-width: 600px; margin: 0 auto; }
.awwfis-edit-address__form .awwfis-form-row { display: contents; }
.awwfis-edit-address__section { display: flex; flex-direction: column; gap: var(--space-4); }
.awwfis-edit-address__section[hidden] { display: none; }
.awwfis-edit-address__section-title { font-size: 0.9rem; font-weight: 600; padding-bottom: var(--space-2); border-bottom: 1px solid var(--border); }
.awwfis-edit-address .awwfis-same-as-billing { margin-top: calc(-1 * var(--space-2)); }

/* Buttons */
.awwfis-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: var(--radius); font-weight: 600; font-size: 0.875rem; font-family: inherit; cursor: pointer; text-decoration: none; border: 1px solid transparent; transition: all var(--transition); white-space: nowrap; }
.awwfis-btn--yellow { background: var(--yellow); color: #000; border-color: var(--yellow); }
.awwfis-btn--yellow:hover { background: var(--yellow-dark); border-color: var(--yellow-dark); color: #000; }
.awwfis-btn--ghost { background: transparent; color: var(--text-muted); border-color: var(--border); }
.awwfis-btn--ghost:hover { color: var(--text); border-color: var(--border-hover); }
.awwfis-btn--sm { padding: 7px 14px; font-size: 0.8rem; }
.awwfis-btn--full { width: 100%; }
.awwfis-btn--danger { background: transparent; color: var(--error); border-color: rgba(255, 107, 107, 0.4); gap: 8px; }
.awwfis-btn--danger:hover { background: rgba(255, 107, 107, 0.1); border-color: var(--error); }

/* ── My Account: danger zone (delete account) ──────────────── */
.awwfis-danger-zone { margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid var(--border); max-width: 600px; }

.awwfis-danger-zone__reveal { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.3s ease, opacity 0.25s ease, margin-top 0.3s ease; }
.awwfis-danger-zone__reveal.is-open { grid-template-rows: 1fr; opacity: 1; margin-top: var(--space-4); }
.awwfis-danger-zone__reveal > form { min-height: 0; overflow: hidden; }
.awwfis-danger-zone__form { display: flex; flex-direction: column; gap: var(--space-4); }
.awwfis-danger-zone__hint { color: var(--text-muted); font-size: 0.8rem; margin: 0; }
.awwfis-danger-zone__form .awwfis-form-input:focus { border-color: var(--error); }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.awwfis-breadcrumb { margin-bottom: var(--space-6); }
.awwfis-breadcrumb__list { display: flex; align-items: center; gap: var(--space-2); font-size: 0.8rem; color: var(--text-muted); list-style: none; flex-wrap: wrap; }
.awwfis-breadcrumb__list a:hover { color: var(--yellow); }
.awwfis-breadcrumb__list [aria-current="page"] { color: var(--text); }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .awwfis-cart-layout,
    .awwfis-checkout-layout { grid-template-columns: 1fr; }
    .awwfis-cart-summary,
    .awwfis-order-summary { position: static; }
    .awwfis-checkout-steps { display: none; }
    .awwfis-thankyou-layout { grid-template-columns: 1fr; }
    .awwfis-view-order__layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .awwfis-account-layout { grid-template-columns: 1fr; }
    .awwfis-account-nav { position: static; }
    .awwfis-account-nav__links { display: flex; overflow-x: auto; padding: var(--space-2); gap: var(--space-1); }
    .awwfis-account-nav__link { border-left: none; border-bottom: 2px solid transparent; border-radius: var(--radius); white-space: nowrap; }
    .awwfis-account-nav__link.is-active { border-bottom-color: var(--yellow); }
    .awwfis-account-content { padding: var(--space-5); }
    .awwfis-account-stats { grid-template-columns: repeat(3, 1fr); }
    .awwfis-auth-layout { grid-template-columns: 1fr; }
    .awwfis-my-addresses__grid { grid-template-columns: 1fr; }
    .awwfis-thankyou-meta { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
    .awwfis-thankyou-hero__title { font-size: 1.5rem; }
    .awwfis-order-row { grid-template-columns: 1fr auto; }
    .awwfis-order-row__date,
    .awwfis-order-row__status { display: none; }
    .awwfis-order-row--header { display: none; }
    .awwfis-orders-list--full .awwfis-order-row { grid-template-columns: 1fr auto; }
    .awwfis-form-row { grid-template-columns: 1fr; }
    .woocommerce-billing-fields__field-wrapper,
    .woocommerce-shipping-fields__field-wrapper { grid-template-columns: 1fr; }
    .form-row-first, .form-row-last { grid-column: 1; }
    .awwfis-checkout-trust-strip { flex-wrap: wrap; gap: var(--space-4); }
    .awwfis-thankyou-actions { flex-direction: column; align-items: center; }
    .awwfis-thankyou-social__links { flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .awwfis-account-stats { grid-template-columns: 1fr 1fr; }
    .awwfis-account-stat:last-child { grid-column: 1 / -1; }
    .awwfis-cart-page__title { font-size: 1.4rem; }
}

/* ============================================================
   WooCommerce Blocks Checkout (the React-based [woocommerce/checkout]
   block) — this ships with its own light-theme styling that the rest
   of this stylesheet never touches. Reskin it to match the site.
   ============================================================ */
.wc-block-checkout,
.wp-block-woocommerce-checkout { color: var(--text); }

/* Every product ships free — no need to show a shipping-method chooser
   when there's only ever one (free) option. Free shipping still applies
   automatically; this just hides the redundant radio selector. */
.wp-block-woocommerce-checkout-shipping-method-block,
.wc-block-checkout__shipping-option { display: none !important; }

.wc-block-components-title,
.wc-block-checkout__title { color: var(--text) !important; }

/* Text inputs (email, name, address, etc.) */
.wc-block-components-text-input input,
.wc-block-components-address-form input,
.wc-block-components-address-form select,
.wc-block-components-combobox-control input {
    background: var(--bg-input) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: var(--radius) !important;
}
.wc-block-components-text-input input:focus,
.wc-block-components-address-form input:focus,
.wc-block-components-combobox-control input:focus {
    border-color: var(--yellow) !important;
    box-shadow: none !important;
}
.wc-block-components-text-input label,
.wc-block-components-address-form label { color: var(--text-muted) !important; }
.wc-block-components-text-input.is-active label,
.wc-block-components-text-input input:focus + label { color: var(--yellow) !important; }

/* Checkboxes */
.wc-block-components-checkbox label { color: var(--text-muted); }
.wc-block-components-checkbox input[type="checkbox"] { accent-color: var(--yellow); }

/* Saved address summary card */
.wc-block-components-address-card {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    color: var(--text-muted) !important;
}
.wc-block-components-address-card__edit,
.wc-block-checkout__actions_row a,
.wc-block-components-checkout-return-to-cart-button { color: var(--yellow) !important; }

/* Radio option rows (shipping method / payment method list) */
.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    color: var(--text) !important;
}
.wc-block-components-radio-control__option--checked,
.wc-block-components-radio-control-accordion-option--checked {
    border-color: var(--yellow) !important;
    background: rgba(255, 197, 58, 0.05) !important;
}
.wc-block-components-radio-control__input { accent-color: var(--yellow) !important; }
.wc-block-components-radio-control__label,
.wc-block-components-radio-control__secondary-label { color: var(--text) !important; }
.wc-block-components-radio-control-accordion-content {
    background: var(--bg) !important;
    border-top: 1px solid var(--border) !important;
    color: var(--text-muted) !important;
}

/* Coupon / "Add coupons" collapsible panel */
.wc-block-components-panel {
    border-top: 1px solid var(--border) !important;
    border-bottom: 1px solid var(--border) !important;
}
.wc-block-components-panel__button { color: var(--text) !important; }

/* Order summary sidebar */
.wc-block-components-sidebar,
.wc-block-components-order-summary { color: var(--text); }
.wc-block-components-order-summary-item__description,
.wc-block-components-order-summary-item__individual-prices { color: var(--text-muted) !important; }
.wc-block-components-product-name { color: var(--text) !important; }
.wc-block-components-totals-item,
.wc-block-components-totals-item__value,
.wc-block-components-totals-item__label { color: var(--text-muted) !important; }
.wc-block-components-totals-footer-item,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    color: var(--text) !important;
    font-weight: 700 !important;
}

/* Buttons */
.wc-block-components-button:not(.is-link) {
    background: var(--yellow) !important;
    border: 1px solid var(--yellow) !important;
    color: #000 !important;
    border-radius: var(--radius) !important;
    font-weight: 700 !important;
}
.wc-block-components-button:not(.is-link):hover {
    background: var(--yellow-dark) !important;
    border-color: var(--yellow-dark) !important;
}
.wc-block-components-button.is-link { color: var(--yellow) !important; }

/* Custom UPI QR payment method content */
.awwfis-upi-qr-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-5) 0;
    gap: var(--space-2);
}
.awwfis-upi-qr-content__desc { color: var(--text-muted); font-size: 0.875rem; margin: 0; }
.awwfis-upi-qr-content__img {
    max-width: 220px;
    width: 100%;
    background: #fff;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    display: block;
    margin: 0 auto;
}
.awwfis-upi-qr-content__id { font-weight: 600; color: var(--text); margin: var(--space-2) 0 0; }
.awwfis-upi-qr-content__note { font-size: 12px; color: var(--text-dim); margin: 4px 0 0; }

/* ── UPI pay screen (order created, payment not yet confirmed) ───────────── */
.awwfis-pay { padding: var(--space-8) 0 var(--space-16); }

.awwfis-pay__head { text-align: center; max-width: 640px; margin: 0 auto var(--space-8); }
.awwfis-pay__badge {
    display: inline-block;
    background: rgba(252, 166, 0, .12);
    color: var(--yellow);
    border: 1px solid rgba(252, 166, 0, .35);
    border-radius: var(--radius-pill);
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.awwfis-pay__title { margin: var(--space-4) 0 var(--space-3); font-size: clamp(1.75rem, 4vw, 2.5rem); }
.awwfis-pay__sub { color: var(--text-muted); line-height: 1.7; margin: 0; }

.awwfis-pay__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6);
    align-items: start;
    max-width: 940px;
    margin: 0 auto;
}
.awwfis-pay__panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
}
.awwfis-pay__panel--confirm { text-align: left; }

.awwfis-pay__amount { margin-bottom: var(--space-5); }
.awwfis-pay__amount-label {
    display: block;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 4px;
}
.awwfis-pay__amount-value { display: block; font-size: 2rem; font-weight: 800; color: var(--yellow); }

.awwfis-pay__qr img {
    background: #fff;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
.awwfis-pay__scan { font-size: 13px; color: var(--text-muted); margin: var(--space-3) 0 var(--space-4); }

.awwfis-pay__vpa {
    border-top: 1px solid var(--border);
    padding-top: var(--space-4);
    margin-bottom: var(--space-4);
}
.awwfis-pay__vpa-label {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-bottom: 6px;
}
.awwfis-pay__vpa-value {
    display: inline-block;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-size: 14px;
    color: var(--text);
    word-break: break-all;
}
.awwfis-pay__app-btn { margin-top: var(--space-2); }
.awwfis-pay__app-hint { font-size: 12px; color: var(--text-faint); margin: var(--space-2) 0 0; }

.awwfis-pay__step-title { margin: 0 0 var(--space-3); font-size: 1.25rem; }
.awwfis-pay__step-text { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin: 0 0 var(--space-5); }

.awwfis-pay__form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: var(--space-2);
    color: var(--text);
}
.awwfis-pay__form input[type="text"] {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    color: var(--text);
    font-size: 16px;
    letter-spacing: .04em;
    margin-bottom: var(--space-4);
    transition: border-color var(--transition);
}
.awwfis-pay__form input[type="text"]:focus {
    outline: none;
    border-color: var(--border-focus);
}

.awwfis-pay__warn {
    margin: var(--space-4) 0 0;
    padding: var(--space-3) var(--space-4);
    background: rgba(252, 166, 0, .07);
    border-left: 3px solid var(--yellow);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

.awwfis-pay__summary { margin-top: var(--space-6); border-top: 1px solid var(--border); padding-top: var(--space-4); }
.awwfis-pay__summary h3 {
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin: 0 0 var(--space-3);
}
.awwfis-pay__summary-row {
    display: flex;
    justify-content: space-between;
    gap: var(--space-4);
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
}
.awwfis-pay__summary-row--total {
    border-top: 1px solid var(--border);
    margin-top: var(--space-2);
    padding-top: var(--space-3);
    font-weight: 700;
    color: var(--text);
}

/* Resume-payment box on My Account -> order detail */
.awwfis-upi-resume {
    margin-top: var(--space-6);
    padding: var(--space-5);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--yellow);
    border-radius: var(--radius-md);
}
.awwfis-upi-resume h2 { margin: 0 0 var(--space-2); font-size: 1.1rem; }
.awwfis-upi-resume p { color: var(--text-muted); font-size: 14px; margin: 0 0 var(--space-4); }

@media (max-width: 860px) {
    .awwfis-pay__grid { grid-template-columns: 1fr; }
}
