/**
 * Single Shop Mall - Frontend Stylesheet
 * Professional E-Commerce Design
 * Mobile First
 */

/* ===== Variables ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #64748b;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #f59e0b;
    --dark: #0f172a;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.2s ease;
}

/* ===== Base ===== */
* { box-sizing: border-box; }

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    color: var(--dark);
    background: var(--gray-50);
    line-height: 1.6;
    font-size: 0.9rem;
    padding-bottom: 70px; /* Space for mobile nav */
}

@media (min-width: 992px) {
    body { padding-bottom: 0; }
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* ===== Top Bar ===== */
.top-bar {
    display: none;
}

.top-bar a {
    color: var(--gray-300);
    text-decoration: none;
    margin-left: 1rem;
}

.top-bar a:first-child { margin-left: 0; }
.top-bar a:hover { color: #fff; }
.top-bar a i { margin-right: 3px; }

@media (max-width: 767px) {
    .top-bar { display: none; }
}

/* ===== Main Header ===== */
.main-header {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    padding: 0.75rem 0;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(37,99,235,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: space-between;
}

/* Logo */
.header-logo {
    flex-shrink: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.header-logo img {
    max-height: 44px;
    max-width: 78px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    background: transparent;
    border: none;
    filter: none;
}

.logo-text {
    font-size: 1.08rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    white-space: nowrap;
}

/* Search */
.header-search {
    flex: 1;
    max-width: 550px;
    position: relative;
    margin: 0 auto;
}

.search-form {
    display: flex;
    border: none;
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition);
    background: rgba(255,255,255,0.95);
}

.search-form:focus-within {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.search-form input {
    flex: 1;
    border: none;
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    outline: none;
    background: transparent;
}

.search-form button {
    border: none;
    background: var(--primary);
    color: #fff;
    padding: 0 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--primary-dark);
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 1001;
    max-height: 380px;
    overflow-y: auto;
}

.search-dropdown.active { display: block; }

.search-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    text-decoration: none;
    color: var(--dark);
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

.search-dropdown-item:last-child { border-bottom: none; }
.search-dropdown-item:hover { background: var(--gray-50); }

.search-dropdown-item img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--gray-200);
}

.search-dropdown-item .item-name {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-700);
}

.search-dropdown-item .item-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.85rem;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
}

.header-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding: 0.4rem 0.7rem;
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    border: none;
    background: none;
    cursor: pointer;
}

.header-action-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

.header-action-btn i { font-size: 1.25rem; }

.action-label {
    font-size: 0.65rem;
    font-weight: 500;
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 8px;
    background: var(--danger);
    color: #fff;
    font-size: 0.6rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ===== Category Navigation ===== */
.category-nav {
    background: #fff;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.category-nav-inner {
    display: flex;
    align-items: center;
}

.category-menu-toggle {
    border: none;
    background: none;
    padding: 0.6rem 0;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.category-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-nav-list::-webkit-scrollbar { display: none; }

.category-nav-list li a {
    display: block;
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-600);
    white-space: nowrap;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.category-nav-list li a:hover,
.category-nav-list li a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

@media (max-width: 991px) {
    .category-nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: var(--shadow-lg);
        z-index: 999;
        border-top: 1px solid var(--gray-200);
    }
    
    .category-nav-list.show { display: flex; }
    
    .category-nav-list li a {
        padding: 0.75rem 1.25rem;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .category-nav-inner { position: relative; }
}

/* ===== Mobile Search Overlay ===== */
.mobile-search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
}

.mobile-search-overlay.active { display: block; }

.mobile-search-inner {
    background: #fff;
    padding: 1rem;
}

.mobile-search-bar {
    display: flex;
    align-items: center;
    background: var(--gray-100);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    gap: 0.5rem;
}

.mobile-search-bar i { color: var(--gray-400); }

.mobile-search-bar input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 1rem;
}

.mobile-search-close {
    border: none;
    background: none;
    color: var(--gray-500);
    font-size: 1.2rem;
    cursor: pointer;
}

/* ===== Home Page - Trust Badges Row ===== */
.trust-badges-row {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 10px 0;
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    scrollbar-width: none;
}
.trust-badges-row::-webkit-scrollbar { display: none; }
.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
    padding: 6px 12px;
    white-space: nowrap;
    border-right: 1px solid var(--gray-100);
}
.trust-badge-item:last-child { border-right: none; }
.trust-badge-item i {
    font-size: 1.2rem;
    color: var(--primary);
    flex-shrink: 0;
}
.trust-badge-item strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--dark);
}
.trust-badge-item span {
    font-size: 0.65rem;
    color: var(--gray-500);
}
@media (max-width: 767px) {
    .trust-badge-item { flex: 0 0 auto; min-width: 140px; }
}

/* ===== Home Page - Category Circles ===== */
.home-category-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 6px 0 10px;
    scrollbar-width: none;
}
.home-category-row::-webkit-scrollbar { display: none; }
.home-cat-circle {
    flex: 0 0 72px;
    text-align: center;
    text-decoration: none;
    color: var(--gray-700);
    transition: var(--transition);
}
.home-cat-circle:hover { transform: translateY(-2px); color: var(--primary); }
.home-cat-circle.active .home-cat-img { border-color: var(--primary); box-shadow: 0 2px 8px rgba(37,99,235,0.2); }
.home-cat-circle.active span { color: var(--primary); font-weight: 600; }
.home-cat-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    overflow: hidden;
    margin: 0 auto 5px;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.home-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-cat-circle span {
    font-size: 0.66rem;
    font-weight: 500;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 72px;
}

/* ===== Home Page - Deals Timer Inline ===== */
.deals-countdown-inline {
    display: flex;
    align-items: center;
    gap: 2px;
}
.timer-pill {
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    min-width: 24px;
    text-align: center;
    display: inline-block;
}

/* ===== Home Page - Deals Card (removed) ===== */

/* ===== Home Page - All Products Card ===== */
.all-products-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 12px;
}
.all-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-100);
    flex-wrap: wrap;
    gap: 8px;
}
@media (max-width: 576px) {
    .all-products-card { padding: 8px; border-radius: var(--radius); }
}

/* ===== Hero Banner ===== */
.hero-carousel-main .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
}
.hero-carousel-main .carousel-indicators button.active {
    width: 20px;
    border-radius: 4px;
}
@media (max-width: 576px) {
    .hero-carousel-main .carousel-item img { height: 150px !important; }
}

/* ===== Section Titles ===== */
.section-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

/* ===== Product Cards ===== */
.product-card {
    border: 1px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    background: #fff;
    height: 100%;
    box-shadow: 0 1px 3px rgba(15,23,42,0.06);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: #e2e8f0;
    box-shadow: 0 8px 20px rgba(15,23,42,0.08);
    transform: translateY(-1px);
}

.product-card .product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: #fff;
    flex-shrink: 0;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    padding: 0;
}

.product-card:hover .product-image img { transform: scale(1.05); }

.product-card .product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
}

.product-card .discount-badge {
    background: var(--success);
    color: #fff;
    font-size: 0.65rem;
    padding: 3px 7px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
}

.product-card .new-badge {
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
}

.product-card .product-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 1;
    transition: var(--transition);
}

.product-card:hover .product-actions { opacity: 1; }

.product-card .product-actions .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border: none;
    background: #fff;
}

.product-card .product-actions .btn:hover {
    background: var(--gray-100);
}

.product-card .product-actions .btn-add-cart {
    background: #fbbf24;
    color: #111827;
    box-shadow: 0 5px 14px rgba(245,158,11,.34);
}

.product-card .product-actions .btn-add-cart:hover {
    background: #f59e0b;
    color: #111827;
}

.product-card .product-actions .btn-add-cart i {
    font-size: .92rem;
    font-weight: 800;
}

.product-card .product-actions .btn-wishlist.in-wishlist,
.product-card .product-actions .btn-wishlist.in-wishlist:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
}

.product-card .product-actions .btn-wishlist.in-wishlist i {
    color: #ef4444;
}

/* Wishlist toggle states (all pages) */
.btn-wishlist.in-wishlist i,
.pda-btn.in-wishlist i {
    color: #ef4444 !important;
}
.btn-wishlist.in-wishlist,
.pda-btn.in-wishlist {
    background: #fee2e2 !important;
    border-color: #fca5a5 !important;
}

.product-card .product-info {
    padding: 0.58rem 0.62rem 0.72rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card .product-name {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    min-height: 2.6em;
}

.product-card .product-name:hover { color: var(--primary); }

.product-card .product-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.product-card .product-price .current-price {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--dark);
}

.product-card .product-price .original-price {
    font-size: 0.68rem;
    color: var(--gray-400);
    text-decoration: line-through;
    font-weight: 400;
}

.product-card .product-price .discount-text {
    font-size: 0.65rem;
    color: var(--success);
    font-weight: 600;
}

/* Product Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 3px;
    color: #fff;
}

.rating-badge i { font-size: 0.55rem; }
.rating-good { background: #16a34a; }
.rating-avg { background: #f59e0b; }
.rating-low { background: #ef4444; }

.rating-count {
    font-size: 0.68rem;
    color: var(--gray-400);
}

/* Free Delivery Tag */
.free-delivery-tag {
    font-size: 0.65rem;
    color: var(--gray-500);
    margin-top: 0.2rem;
}

.free-delivery-tag i {
    font-size: 0.7rem;
    color: var(--primary);
}

/* Product Variants Preview on Card */
.product-variants-preview {
    font-size: 0.7rem;
    color: var(--gray-500);
    border-top: 1px solid var(--gray-100);
    padding-top: 0.35rem;
    margin-top: 0.35rem;
}

.product-variants-preview small {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-variants {
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 28px;
    margin-top: 6px;
}

.product-card-variants a {
    width: 26px;
    height: 26px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    text-decoration: none;
}

.product-card-variants img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-actions {
    display: none;
}

.product-card-actions .btn {
    min-width: 0;
    height: 30px;
    padding: 5px 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 0.7rem;
    white-space: nowrap;
}

/* ===== Category Cards ===== */
.category-card {
    text-align: center;
    padding: 1.25rem 0.75rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    background: #fff;
    text-decoration: none;
    color: var(--dark);
    display: block;
}

.category-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.category-card img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

/* ===== Auth Pages ===== */
.auth-wrapper {
    max-width: 420px;
    margin: 0.5rem auto 2rem;
    padding: 2rem;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

/* ===== Cart ===== */
.cart-item {
    border-bottom: 1px solid var(--gray-100);
    padding: 1rem 0;
}

.cart-item:last-child { border-bottom: none; }

.cart-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius);
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    overflow: hidden;
}

.quantity-control button {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-50);
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-control button:hover { background: var(--gray-200); }

.quantity-control input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--gray-200);
    border-right: 1px solid var(--gray-200);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== Product Detail ===== */
.product-gallery-stage {
    position: relative;
    display: grid;
    place-items: center;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

@media (min-width: 992px) {
    .product-gallery-stage {
        min-height: 520px;
    }
}

.product-gallery .main-image {
    width: 100%;
    aspect-ratio: 1;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    border-radius: 0;
    border: 0;
    background: #fff;
    padding: 0;
    transition: opacity .16s ease;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 48px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    background: rgba(255,255,255,.94);
    color: var(--gray-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(15,23,42,.12);
    z-index: 4;
}

.gallery-nav:hover { background: #fff; color: var(--primary); border-color: #bfdbfe; }
.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.gallery-counter {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 4;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(15,23,42,.72);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
}

/* Wishlist & Share floating on product image */
.product-detail-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pda-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--gray-500);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.2s;
}
.pda-btn:hover { background: var(--gray-50); color: var(--primary); }
.pda-btn.in-wishlist { background: #fee2e2; color: #ef4444; border-color: #fca5a5; }
.pda-btn.in-wishlist i { color: #ef4444; }

@media (max-width: 576px) {
    .product-gallery .main-image {
        aspect-ratio: 4/3;
        border-radius: var(--radius);
    }
    .pda-btn { width: 32px; height: 32px; font-size: 0.9rem; }
}

/* Variant Selector (Size/Color - Flipkart Style) */
.variant-section {
    border-top: 1px solid var(--gray-100);
    padding-top: 1rem;
}

.product-gallery-variants {
    margin-top: .85rem;
    padding: .75rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #fff;
}

.product-gallery-variants .variant-group:last-child {
    margin-bottom: 0 !important;
}

.variant-group-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
    display: block;
}

.variant-selected-value {
    font-weight: 700;
    color: var(--dark);
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

/* Size Buttons */
.variant-btn.size-btn {
    position: relative;
    min-width: 38px;
    height: 34px;
    padding: 0.2rem 0.6rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 6px;
    background: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.variant-btn.size-btn:hover:not(:disabled) {
    border-color: var(--primary);
    background: var(--primary-light);
}

.variant-btn.size-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
    color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.variant-btn.size-btn.out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}

.variant-btn.size-btn .variant-price-diff {
    font-size: 0.6rem;
    color: var(--gray-500);
    font-weight: 400;
}

.variant-btn.size-btn .variant-stock-out {
    position: absolute;
    top: -2px;
    right: -2px;
    font-size: 0.6rem;
    color: var(--danger);
    background: #fff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--danger);
}

/* Image sample variant tiles */
.variant-btn.sample-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.2rem;
    width: 58px;
    min-height: 74px;
    padding: 0.18rem;
    border: 1.5px solid var(--gray-200);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
}

.variant-btn.sample-btn:hover:not(:disabled) {
    border-color: var(--primary);
}

.variant-btn.sample-btn.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.variant-btn.sample-btn img {
    width: 50px;
    height: 48px;
    border-radius: 4px;
    object-fit: cover;
    display: block;
    background: #f8fafc;
}

.sample-fallback {
    width: 50px;
    height: 48px;
    border-radius: 4px;
    background: #f1f5f9;
    color: var(--dark);
    display: grid;
    place-items: center;
    font-size: .95rem;
    font-weight: 800;
}

.sample-name {
    max-width: 100%;
    font-size: 0.55rem;
    color: var(--gray-600);
    font-weight: 650;
    line-height: 1.1;
    text-align: center;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 576px) {
    .product-gallery-variants {
        margin-top: .65rem;
        padding: .6rem;
    }
    .product-gallery-variants .variant-options {
        gap: .35rem;
    }
    .variant-btn.sample-btn {
        width: 54px;
        min-height: 70px;
    }
    .variant-btn.sample-btn img,
    .sample-fallback {
        width: 46px;
        height: 44px;
    }
}

.variant-btn.sample-btn .variant-price-diff {
    font-size: 0.56rem;
    color: var(--gray-500);
    line-height: 1;
}

.product-gallery .thumb-images {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.75rem;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
}

.product-gallery .thumb-images img {
    flex: 0 0 auto;
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 6px;
    border: 2px solid var(--gray-200);
    background: #fff;
    padding: 3px;
    cursor: pointer;
    transition: var(--transition);
}

.product-gallery .thumb-images img:hover,
.product-gallery .thumb-images img.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(37,99,235,.12);
}

/* ===== Order Timeline ===== */
.order-timeline { position: relative; padding-left: 30px; }
.order-timeline::before { content:''; position:absolute; left:10px; top:0; bottom:0; width:2px; background:var(--gray-200); }
.order-timeline .timeline-item { position:relative; padding-bottom:1.5rem; }
.order-timeline .timeline-item::before { content:''; position:absolute; left:-24px; top:4px; width:12px; height:12px; border-radius:50%; background:var(--gray-300); }
.order-timeline .timeline-item.completed::before { background:var(--success); }
.order-timeline .timeline-item.active::before { background:var(--primary); box-shadow:0 0 0 4px rgba(37,99,235,0.2); }

/* ===== Footer ===== */
.site-footer {
    background: var(--dark);
    color: var(--gray-300);
    margin-top: 3rem;
}

.footer-top { padding: 3rem 0 2rem; }

.footer-logo {
    max-height: 36px;
    max-width: 76px;
    width: auto;
    height: auto;
    margin-bottom: 0;
    filter: none;
    display: block;
    background: transparent;
    border: none;
    object-fit: contain;
}

.footer-brand-row {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.footer-brand {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.footer-desc {
    font-size: 0.8rem;
    color: var(--gray-400);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 0.5rem;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-title {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.5rem; }

.footer-links a, .footer-links span {
    color: var(--gray-400);
    font-size: 0.8rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover { color: #fff; padding-left: 3px; }

.footer-contact li { display: flex; align-items: flex-start; gap: 0; }
.footer-contact i { margin-right: 6px; margin-top: 2px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    font-size: 0.72rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal-links a:hover { color: #fff; }

.footer-legal-links span {
    color: var(--gray-600);
    font-size: 0.7rem;
}

@media (max-width: 767px) {
    .footer-legal-links { justify-content: center; margin-top: 0.5rem; }
}

.payment-icons {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.payment-icons i {
    font-size: 1.1rem;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 52px;
    height: 52px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

@media (min-width: 992px) {
    .whatsapp-float { bottom: 24px; right: 24px; }
}

/* ===== Mobile Bottom Navigation ===== */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-around;
    padding: 0.4rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    text-decoration: none;
    color: var(--gray-500);
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
    position: relative;
    transition: var(--transition);
}

.mobile-nav-item.active { color: var(--primary); }
.mobile-nav-item i { font-size: 1.2rem; }

.mobile-cart-badge {
    position: absolute;
    top: 0;
    right: 4px;
    background: var(--danger);
    color: #fff;
    font-size: 0.55rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Account Dropdown (Flipkart Style) ===== */
.header-account-dropdown {
    position: relative;
}

.account-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.header-account-dropdown:hover .account-dropdown,
.account-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.account-drop-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.account-drop-body {
    padding: 0.5rem 0;
}

.account-drop-section {
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.account-drop-section:last-child {
    border-bottom: none;
}

.account-drop-section .section-label {
    display: block;
    padding: 0.4rem 1rem 0.2rem;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray-400);
    font-weight: 600;
}

.account-drop-section a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
}

.account-drop-section a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.account-drop-section a i {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    opacity: 0.7;
}

.account-drop-footer {
    border-top: 1px solid var(--gray-100);
    padding: 0.5rem 1rem;
}

.account-drop-footer .logout-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--danger);
    text-decoration: none;
    padding: 0.4rem 0;
}

.account-drop-footer .logout-link:hover {
    opacity: 0.8;
}

.account-drop-guest {
    padding: 1rem;
    border-bottom: 1px solid var(--gray-100);
    text-align: center;
}

/* ===== Empty State ===== */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-400);
}

.empty-state i { font-size: 3rem; margin-bottom: 0.75rem; opacity: 0.4; }

/* ===== Stock Status ===== */
.stock-in { color: var(--success); font-weight: 500; font-size: 0.8rem; }
.stock-out { color: var(--danger); font-weight: 500; font-size: 0.8rem; }
.stock-low { color: var(--warning); font-weight: 500; font-size: 0.8rem; }

/* Sale Timer */
.sale-timer {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    background: #fef2f2;
    border: 1px dashed #fca5a5;
    border-radius: 6px;
    width: fit-content;
}

/* Admin Quick Stock Update (visible only to admin on product page) */

/* Customer offers */
.product-offers,
.cart-offers {
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}
.product-offers h6,
.cart-offers h6 {
    margin: 0;
    padding: 11px 13px;
    border-bottom: 1px solid #e5ebf3;
    color: #172033;
    font-size: .82rem;
    font-weight: 800;
}
.product-offer-row {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 10px 13px;
    border-bottom: 1px solid #eef2f7;
}
.product-offer-row:last-child { border-bottom: 0; }
.product-offer-icon {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 7px;
    background: #e4f7ed;
    color: #078457;
}
.product-offer-row strong,
.product-offer-row span,
.cart-offer-row strong,
.cart-offer-row small { display: block; }
.product-offer-row strong { color: #172033; font-size: .76rem; }
.product-offer-row span,
.cart-offer-row small { margin-top: 2px; color: #64748b; font-size: .66rem; }
.product-offer-row code,
.cart-offer-row code,
.coupon-code-tag {
    padding: 4px 7px;
    border: 1px dashed #2563eb;
    border-radius: 5px;
    background: #eef5ff;
    color: #1d4ed8;
    font-size: .68rem;
    font-weight: 800;
}
.cart-offer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 13px;
    border-bottom: 1px solid #eef2f7;
}
.cart-offer-row:last-child { border-bottom: 0; }
.cart-offer-row strong { margin-top: 5px; color: #172033; font-size: .72rem; }
.coupon-chip-locked { cursor: default !important; opacity: .62; }

@media (max-width: 575.98px) {
    .product-offer-row { grid-template-columns: 28px minmax(0, 1fr); }
    .product-offer-row code { grid-column: 2; justify-self: start; }
}

/* Public offers page */
.offers-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.offers-heading h1{margin:0;color:#172033;font-size:1.45rem;font-weight:800}.offers-heading p{margin:4px 0 0;color:#64748b;font-size:.76rem}.offers-tabs{display:flex;gap:7px;margin-bottom:16px;padding:8px;border:1px solid #dbe3ef;border-radius:8px;background:#fff;overflow-x:auto}.offers-tabs a{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid transparent;border-radius:6px;color:#475569;font-size:.72rem;font-weight:700;text-decoration:none;white-space:nowrap}.offers-tabs a span{padding:2px 5px;border-radius:5px;background:#eef2f7;font-size:.62rem}.offers-tabs a.active{border-color:#2563eb;background:#2563eb;color:#fff}.offers-tabs a.active span{background:rgba(255,255,255,.2)}.offers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.offer-card{padding:14px;border:1px solid #dbe3ef;border-radius:8px;background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.04)}.offer-card-top{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px}.offer-card-top img{width:46px;height:46px;border:1px solid #e2e8f0;border-radius:7px;object-fit:contain}.offer-scope-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:8px;background:#e4f7ed;color:#078457;font-size:1rem}.offer-scope{display:block;color:#64748b;font-size:.62rem;font-weight:750;text-transform:uppercase}.offer-card h2{margin:3px 0 0;color:#172033;font-size:1rem;font-weight:850}.offer-card>p{min-height:34px;margin:11px 0;color:#64748b;font-size:.7rem}.offer-meta{display:flex;flex-wrap:wrap;gap:6px 12px;padding:9px 0;border-top:1px solid #eef2f7;border-bottom:1px solid #eef2f7;color:#475569;font-size:.66rem}.offer-code-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:6px;align-items:center;margin-top:11px}.offer-code-row code{padding:7px 9px;border:1px dashed #2563eb;border-radius:6px;background:#eef5ff;color:#1d4ed8;font-size:.72rem;font-weight:850}.offers-empty{display:grid;min-height:260px;place-items:center;align-content:center;gap:5px;padding:24px;border:1px solid #dbe3ef;border-radius:8px;background:#fff;text-align:center}.offers-empty i{color:#94a3b8;font-size:2rem}.offers-empty h5{margin:4px 0 0}.offers-empty p{margin:0 0 8px;color:#64748b;font-size:.72rem}
@media(max-width:991.98px){.offers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:575.98px){.offers-heading{align-items:stretch;flex-direction:column}.offers-heading .btn{width:100%}.offers-grid{grid-template-columns:1fr}.offer-card>p{min-height:0}.offer-code-row{grid-template-columns:minmax(0,1fr) auto}.offer-code-row .btn-primary{grid-column:1/-1}}
.admin-stock-update {
    background: #fffbeb;
    border: 1px dashed #f59e0b;
    border-radius: 6px;
    padding: 8px 12px;
    display: inline-block;
}
.admin-stock-update small {
    display: block;
    margin-top: 4px;
    font-size: 0.65rem;
    color: #92400e;
}

/* ===== Account Pages (Flipkart Style) ===== */
.account-sidebar {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: sticky;
    top: 80px;
}

.account-user-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-50);
}

.account-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.account-user-card h6 {
    font-size: 0.85rem;
    color: var(--dark);
}

.account-nav {
    padding: 0.5rem 0;
}

.account-nav-section {
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.account-nav-section:last-child { border-bottom: none; }

.nav-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.nav-section-title i { font-size: 0.9rem; }

.account-nav-section a {
    display: block;
    padding: 0.5rem 1.25rem 0.5rem 2.75rem;
    font-size: 0.82rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.account-nav-section a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.account-nav-section a.active {
    color: var(--primary);
    background: var(--primary-light);
    border-left-color: var(--primary);
    font-weight: 500;
}

/* Account Cards */
.account-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.account-card-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-100);
    background: var(--gray-50);
}

.account-card-header h5 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.account-card-body {
    padding: 1.25rem;
}

/* Account Stat Cards */
.account-stat-card {
    display: block;
    text-align: center;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
}

.account-stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.account-stat-card i { font-size: 1.5rem; }

.account-stat-card .stat-num {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-top: 0.25rem;
}

.account-stat-card .stat-text {
    font-size: 0.72rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Profile Field (Editable) */
.profile-field {
    padding: 0.25rem 0;
}

.profile-field-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.profile-field-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.profile-edit-btn {
    border: none;
    background: none;
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
}

.profile-edit-btn:hover {
    background: var(--primary-light);
}

.profile-field-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.profile-field-value small {
    font-size: 0.7rem;
}

.profile-field-edit .form-control {
    font-size: 0.88rem;
}

.otp-verify-box {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: var(--gray-50);
    border: 1px dashed var(--gray-300);
    border-radius: var(--radius);
}

/* ===== Breadcrumb ===== */
.breadcrumb-section {
    background: #fff;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--gray-100);
}

/* ===== Filter Section ===== */
.filter-section {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.filter-section h6 {
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.85rem;
}

/* ===== Coupon Chips (Checkout) ===== */
.available-coupons {
    border-top: 1px dashed var(--gray-200);
    padding-top: 0.75rem;
}

.coupon-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.6rem;
    background: #fefce8;
    border: 1px dashed #fbbf24;
    border-radius: 6px;
    margin-bottom: 0.4rem;
    cursor: pointer;
    transition: all 0.2s;
}

.coupon-chip:hover {
    background: #fef9c3;
    border-color: #f59e0b;
}

.coupon-code-tag {
    font-size: 0.7rem;
    font-weight: 700;
    background: #f59e0b;
    color: #fff;
    padding: 1px 6px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

.coupon-desc {
    font-size: 0.72rem;
    color: #92400e;
    font-weight: 500;
}

/* ===== Star Rating Input ===== */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    gap: 2px;
    justify-content: flex-end;
}

.star-rating-input input { display: none; }

.star-rating-input label {
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--gray-300);
    transition: color 0.15s;
}

.star-rating-input input:checked ~ label,
.star-rating-input label:hover,
.star-rating-input label:hover ~ label {
    color: #f59e0b;
}

/* Review Item */
.review-item .rating-badge {
    font-size: 0.7rem;
}

/* Buy Now Review */
.buy-now-review {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    min-height: 72vh;
    padding-bottom: 5.5rem;
}

.buy-now-review .checkout-review-heading {
    margin-bottom: .85rem;
}

.buy-now-steps {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: 1.15rem;
    overflow: hidden;
}

.buy-now-step {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #94a3b8;
    white-space: nowrap;
    min-width: 0;
    flex-shrink: 1;
}

.buy-now-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    font-weight: 800;
    background: #e2e8f0;
    color: #64748b;
    flex-shrink: 0;
}

.buy-now-step.is-active .buy-now-step-num {
    background: var(--primary);
    color: #fff;
}

.buy-now-step.is-active .buy-now-step-label {
    color: #0f172a;
    font-weight: 700;
}

.buy-now-step.is-done .buy-now-step-num {
    background: #dcfce7;
    color: #16a34a;
}

.buy-now-step.is-done .buy-now-step-label {
    color: #334155;
    font-weight: 600;
}

.buy-now-step-label {
    font-size: .72rem;
}

.buy-now-step-line {
    flex: 1;
    min-width: 10px;
    height: 2px;
    background: #dbe3ef;
}

.checkout-review-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.buy-now-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .22rem .55rem;
    border-radius: 999px;
    background: #fef3c7;
    color: #92400e;
    font-size: .72rem;
    font-weight: 700;
    margin-bottom: .45rem;
}

.checkout-review-heading h1 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    margin: .35rem 0 0;
    color: #0f172a;
    font-weight: 800;
}

.checkout-review-heading p {
    margin: .35rem 0 0;
    color: #64748b;
    font-size: .88rem;
    max-width: 560px;
}

.checkout-back-link {
    border-radius: 8px;
    font-size: .84rem;
    font-weight: 600;
    white-space: nowrap;
}

.checkout-review-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1rem;
    align-items: start;
}

.checkout-review-card,
.checkout-review-summary {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.checkout-review-card {
    padding: 1.1rem;
}

.checkout-review-item {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
}

.checkout-review-main {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
}

.checkout-review-copy {
    flex: 1;
    min-width: 0;
}

.checkout-review-image {
    display: block;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    aspect-ratio: 1;
    align-self: start;
}

.checkout-review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-review-copy h2 {
    font-size: 1.08rem;
    margin: 0;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.35;
}

.checkout-review-variant {
    display: inline-flex;
    max-width: 100%;
    padding: .28rem .55rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: .76rem;
    font-weight: 600;
    margin-top: .45rem;
}

.checkout-review-price {
    display: flex;
    align-items: baseline;
    gap: .45rem;
    margin: .75rem 0 0;
}

.checkout-review-price strong {
    font-size: 1.25rem;
    color: #0f172a;
}

.checkout-review-price span {
    font-size: .78rem;
    color: #64748b;
}

.checkout-review-qty-block {
    flex: 0 0 220px;
    width: 220px;
    max-width: 42%;
    padding: .8rem .85rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    align-self: center;
}

.checkout-review-qty-label {
    display: block;
    font-size: .74rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: .55rem;
}

.checkout-review-qty {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: nowrap;
}

.checkout-qty-control {
    width: 100%;
    max-width: 160px;
    background: #fff;
}

.checkout-qty-control .qty-btn,
.checkout-qty-control input {
    height: 36px;
}

.checkout-qty-control input {
    width: 48px;
}

.checkout-review-qty-note {
    display: block;
    margin-top: .55rem;
    color: #64748b;
    font-size: .76rem;
}

.checkout-review-line-total {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: .95rem;
    border-top: 1px dashed #dbe3ef;
    font-size: .88rem;
    color: #475569;
}

.checkout-review-line-total strong {
    font-size: 1.05rem;
    color: #0f172a;
}

.checkout-review-summary {
    padding: 1.1rem;
    position: sticky;
    top: 92px;
}

.checkout-review-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .85rem;
}

.checkout-review-summary-head h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.checkout-review-items-count {
    font-size: .74rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: .2rem .5rem;
    border-radius: 999px;
}

.checkout-review-summary-body {
    padding-bottom: .85rem;
    border-bottom: 1px solid #e2e8f0;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .65rem;
    font-size: .88rem;
}

.summary-line:last-child {
    margin-bottom: 0;
}

.summary-line-muted {
    color: #64748b;
}

.checkout-review-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .95rem 0 1rem;
    font-size: .92rem;
    color: #334155;
}

.checkout-review-summary-total strong {
    font-size: 1.35rem;
    color: #0f172a;
}

.checkout-continue-btn {
    border-radius: 10px;
    font-weight: 800;
    padding: .75rem 1rem;
}

.checkout-review-note {
    margin: .75rem 0 0;
    text-align: center;
    font-size: .74rem;
    color: #64748b;
}

.buy-now-review-bar {
    display: none;
}

@media (max-width: 900px) {
    .checkout-review-grid {
        grid-template-columns: 1fr;
    }

    .checkout-review-summary {
        position: static;
    }

    .checkout-review-item {
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .checkout-review-qty-block {
        flex-basis: 200px;
        width: 200px;
    }
}

@media (max-width: 560px) {
    .buy-now-review {
        padding-bottom: 7rem;
    }

    .buy-now-review > .container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    .buy-now-review .buy-now-steps {
        padding-left: .85rem;
        padding-right: .85rem;
    }

    .buy-now-review .checkout-review-heading {
        padding: 0 .85rem;
    }

    .checkout-review-heading {
        flex-direction: column;
    }

    .checkout-review-card,
    .checkout-review-summary {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        box-shadow: none;
    }

    .checkout-review-card {
        padding: 1rem .85rem;
    }

    .checkout-review-item {
        grid-template-columns: 1fr;
        gap: .85rem;
    }

    .checkout-review-image {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }

    .checkout-review-main {
        flex-direction: column;
        gap: .85rem;
    }

    .checkout-review-qty-block {
        width: 100%;
        max-width: none;
        flex-basis: auto;
        align-self: stretch;
    }

    .checkout-review-summary .checkout-continue-btn {
        display: none;
    }

    .buy-now-review-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: .75rem;
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc(56px + env(safe-area-inset-bottom, 0px));
        z-index: 1040;
        padding: .7rem .85rem;
        background: rgba(255, 255, 255, .98);
        border-top: 1px solid #dbe3ef;
        box-shadow: 0 -8px 24px rgba(15, 23, 42, .08);
        backdrop-filter: blur(8px);
    }

    .buy-now-review-bar-total {
        display: flex;
        flex-direction: column;
        gap: .1rem;
        min-width: 0;
    }

    .buy-now-review-bar-total span {
        font-size: .72rem;
        color: #64748b;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: .03em;
    }

    .buy-now-review-bar-total strong {
        font-size: 1.05rem;
        color: #0f172a;
    }

    .buy-now-review-bar-btn {
        flex: 0 0 auto;
        min-width: 132px;
        border-radius: 10px;
        font-weight: 800;
        padding: .7rem 1rem;
        white-space: nowrap;
    }

    .buy-now-step-line {
        min-width: 6px;
    }

    .buy-now-steps {
        gap: .22rem;
        margin-bottom: .75rem;
    }

    .buy-now-step {
        gap: .22rem;
    }

    .buy-now-step-num {
        width: 20px;
        height: 20px;
        font-size: .6rem;
    }

    .buy-now-step-label {
        font-size: .62rem;
    }
}

/* Checkout Address / Payment */
.checkout-page {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    min-height: 72vh;
}

.checkout-page-steps {
    margin-bottom: 1rem;
}

.checkout-page-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.checkout-page-heading h1 {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    font-weight: 800;
    color: #0f172a;
}

.checkout-page-heading p {
    margin: .35rem 0 0;
    color: #64748b;
    font-size: .88rem;
}

.checkout-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 1rem;
    align-items: start;
}

.checkout-page-main {
    display: grid;
    gap: 1rem;
}

.checkout-panel,
.checkout-summary-panel {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
    padding: 1.1rem;
}

.checkout-panel-title,
.checkout-section-head h5 {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.checkout-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1rem;
}

.checkout-section-head h5 {
    margin: 0;
}

.checkout-empty-address {
    display: grid;
    place-items: center;
    text-align: center;
    gap: .4rem;
    padding: 1.6rem 1rem;
    border: 1px dashed #bfdbfe;
    border-radius: 10px;
    background: #f8fbff;
    color: #334155;
}

.checkout-empty-address > i {
    font-size: 1.8rem;
    color: #2563eb;
}

.checkout-empty-address strong {
    color: #0f172a;
}

.checkout-empty-address span {
    max-width: 380px;
    font-size: .84rem;
    color: #64748b;
}

.checkout-address-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.checkout-address-card {
    position: relative;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #fff;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.checkout-address-card.is-selected {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}

.checkout-address-label {
    display: block;
    margin: 0;
    padding: .9rem 3.6rem .95rem 2.5rem;
    cursor: pointer;
}

.checkout-address-radio,
.checkout-pay-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-address-radio {
    left: .95rem;
    top: 1rem;
}

.checkout-address-radio + .checkout-address-content::before {
    content: '';
    position: absolute;
    left: .95rem;
    top: 1rem;
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #fff;
}

.checkout-address-card.is-selected .checkout-address-radio + .checkout-address-content::before {
    border-color: #2563eb;
    box-shadow: inset 0 0 0 4px #2563eb;
}

.checkout-address-top {
    display: flex;
    align-items: center;
    gap: .45rem;
    flex-wrap: wrap;
    margin-bottom: .35rem;
}

.checkout-address-top strong {
    color: #0f172a;
}

.checkout-address-type {
    font-size: .68rem;
    font-weight: 700;
    text-transform: capitalize;
    padding: .15rem .45rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
}

.checkout-address-lines {
    display: block;
    font-size: .82rem;
    color: #64748b;
    line-height: 1.45;
}

.checkout-address-delivery {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-top: .55rem;
    font-size: .78rem;
    font-weight: 600;
}

.checkout-address-delivery.is-ok {
    color: #15803d;
}

.checkout-address-delivery.is-bad {
    color: #dc2626;
}

.checkout-pay-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .75rem;
}

.checkout-pay-gateway-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    grid-column: 1 / -1;
}

.checkout-pay-section-label {
    grid-column: 1 / -1;
    margin: 0 0 .15rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #64748b;
}

.checkout-pay-option--gateway {
    min-height: 78px;
    padding: .85rem .75rem .85rem 2.35rem;
}

.checkout-pay-option--gateway .checkout-pay-copy strong {
    font-size: .9rem;
}

.checkout-pay-option--gateway .checkout-pay-copy small {
    font-size: .7rem;
    line-height: 1.3;
}

.checkout-pay-option--cashfree:has(#payCashfree:checked) {
    border-color: #0891b2;
    box-shadow: 0 0 0 3px rgba(8, 145, 178, .12);
    background: #f0fdff;
}

.checkout-pay-option--cashfree:has(#payCashfree:checked)::before {
    border-color: #0891b2;
    box-shadow: inset 0 0 0 4px #0891b2;
}

.checkout-pay-option--razorpay:has(#payRazorpay:checked) {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
    background: #f8fbff;
}

.checkout-pay-option--razorpay:has(#payRazorpay:checked)::before {
    border-color: #2563eb;
    box-shadow: inset 0 0 0 4px #2563eb;
}

.checkout-pay-icon.is-cashfree {
    background: #ecfeff;
    color: #0891b2;
}

.checkout-pay-icon.is-razorpay {
    background: #eff6ff;
    color: #2563eb;
}

.checkout-pay-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 84px;
    padding: .9rem .95rem .9rem 2.55rem;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.checkout-pay-option::before {
    content: '';
    position: absolute;
    left: .95rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #fff;
}

.checkout-pay-option:has(#payCod:checked) {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
    background: #f8fbff;
}

.checkout-pay-option:has(#payCod:checked)::before {
    border-color: #2563eb;
    box-shadow: inset 0 0 0 4px #2563eb;
}

.checkout-pay-option.is-selected {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
    background: #f8fbff;
}

.checkout-pay-option.is-selected::before {
    border-color: #2563eb;
    box-shadow: inset 0 0 0 4px #2563eb;
}

.checkout-pay-icon {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.checkout-pay-icon.is-online {
    background: #eff6ff;
    color: #2563eb;
}

.checkout-pay-icon.is-cod {
    background: #ecfdf5;
    color: #059669;
}

.checkout-pay-copy strong {
    display: block;
    color: #0f172a;
    font-size: .92rem;
}

.checkout-pay-copy small {
    display: block;
    margin-top: .15rem;
    color: #64748b;
    font-size: .76rem;
    line-height: 1.35;
}

.checkout-info-note {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    margin-top: .85rem;
    padding: .7rem .8rem;
    border-radius: 8px;
    background: #eff6ff;
    color: #1e40af;
    font-size: .82rem;
}

.checkout-summary-panel {
    position: sticky;
    top: 92px;
}

.checkout-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .85rem;
}

.checkout-summary-head h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.checkout-summary-count {
    font-size: .74rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: .2rem .5rem;
    border-radius: 999px;
}

.checkout-summary-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: .7rem;
}

.checkout-summary-item-copy {
    min-width: 0;
}

.checkout-summary-item-copy strong {
    display: block;
    font-size: .88rem;
    color: #0f172a;
    line-height: 1.35;
}

.checkout-summary-item-copy small {
    display: block;
    margin-top: .15rem;
    color: #64748b;
    font-size: .76rem;
}

.checkout-summary-item > strong {
    white-space: nowrap;
    color: #0f172a;
    font-size: .9rem;
}

.checkout-summary-divider {
    height: 1px;
    background: #e2e8f0;
    margin: .85rem 0;
}

.checkout-summary-lines {
    padding-top: .2rem;
}

.checkout-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .95rem 0 1rem;
    margin-top: .2rem;
    border-top: 1px solid #e2e8f0;
    font-size: .92rem;
    color: #334155;
}

.checkout-summary-total strong {
    font-size: 1.35rem;
    color: #2563eb;
}

.checkout-place-btn {
    border-radius: 10px;
    font-weight: 800;
}

.checkout-coupon-group .form-control {
    border-radius: 8px 0 0 8px;
}

.checkout-coupon-group .btn {
    border-radius: 0 8px 8px 0;
    font-weight: 700;
}

@media (max-width: 992px) {
    .checkout-page-grid {
        grid-template-columns: 1fr;
    }

    .checkout-summary-panel {
        position: static;
    }

    .checkout-address-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .checkout-pay-gateway-row {
        grid-template-columns: 1fr;
        gap: .65rem;
    }

    .checkout-pay-option--gateway {
        min-height: 72px;
        padding: .9rem .85rem .9rem 2.45rem;
    }

    .checkout-pay-option--gateway .checkout-pay-icon {
        width: 40px;
        height: 40px;
        font-size: 1.05rem;
    }
}

@media (max-width: 560px) {
    .checkout-page-heading {
        flex-direction: column;
    }

    .checkout-pay-options {
        grid-template-columns: 1fr;
    }
}

.product-info-card {
    margin-top: .85rem;
    padding: .85rem;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #fff;
}

.product-policy-card h6 { color: var(--dark); }

.product-detail-sections {
    display: grid;
    gap: .9rem;
}

.product-detail-card {
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}

.product-detail-card h5,
.product-section-head h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--dark);
}

.product-purchase-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: .55rem;
    max-width: 470px;
}

.product-purchase-actions .btn {
    height: 46px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    font-size: .9rem;
    font-weight: 850;
    box-shadow: none;
}

.product-purchase-actions .btn-add-cart {
    background: #fff;
    color: #172033;
    border: 1px solid #d7dce5;
}

.product-purchase-actions .btn-add-cart:hover {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}

.product-purchase-actions .btn-buy-now {
    background: #ffd814;
    color: #111827;
    border-color: #ffd814;
}

.product-purchase-actions .btn-buy-now:hover {
    background: #f7ca00;
    color: #111827;
    border-color: #f7ca00;
}

.product-feature-card { max-width: 760px; }

.feature-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .75rem;
}

.feature-chip-row span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .35rem .75rem;
    border-radius: 7px;
    background: #eef6ff;
    color: #334155;
    font-size: .85rem;
    font-weight: 600;
}

.product-description-body {
    margin-top: .75rem;
    color: #334155;
    font-size: .9rem;
    line-height: 1.65;
}

.product-description-body p:last-child,
.product-description-body ul:last-child,
.product-description-body ol:last-child { margin-bottom: 0; }

.product-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .9rem;
}

.product-section-head span {
    color: var(--gray-500);
    font-size: .82rem;
    font-weight: 700;
}

.review-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.rating-summary-box {
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: .9rem;
    background: #fbfdff;
}

.rating-score {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .28rem .55rem;
    border-radius: 6px;
    background: #0f9f62;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
}

.rating-score i,
.rating-bar-row i,
.flip-review-title span i { font-size: .7em; }

.rating-summary-box p {
    margin: .55rem 0 .75rem;
    color: var(--gray-500);
    font-size: .75rem;
}

.rating-bar-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: .45rem;
    align-items: center;
    margin-bottom: .35rem;
}

.rating-bar-row span,
.rating-bar-row em {
    font-size: .72rem;
    color: var(--gray-600);
    font-style: normal;
}

.rating-bar-row div {
    height: 6px;
    border-radius: 999px;
    background: var(--gray-200);
    overflow: hidden;
}

.rating-bar-row b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #16a34a;
}

.review-list-box {
    display: grid;
    gap: .75rem;
}

.write-review-box,
.flip-review-item {
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    background: #fff;
    padding: .85rem;
}

.write-review-box {
    display: grid;
    gap: .55rem;
    background: #f8fafc;
}

.flip-review-title {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .4rem;
}

.flip-review-title span {
    display: inline-flex;
    align-items: center;
    gap: .15rem;
    padding: .16rem .38rem;
    border-radius: 4px;
    background: #0f9f62;
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
}

.flip-review-title strong {
    font-size: .86rem;
    color: var(--dark);
}

.flip-review-item p {
    margin: 0 0 .5rem;
    color: #334155;
    font-size: .88rem;
}

.flip-review-item small {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    color: var(--gray-500);
    font-size: .75rem;
}

.flip-review-item small b { color: #64748b; }

@media (max-width: 768px) {
    .product-detail-card { padding: .85rem; }
    .review-layout { grid-template-columns: 1fr; }
    .feature-chip-row { gap: .4rem; }
    .feature-chip-row span {
        min-height: 31px;
        padding: .3rem .6rem;
        font-size: .78rem;
    }
}

@media (max-width: 520px) {
    .product-purchase-actions {
        grid-template-columns: 1fr;
        max-width: none;
    }
}

/* ===== Loading ===== */
.loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-200);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Responsive Utilities ===== */
@media (max-width: 576px) {
    .header-inner { gap: 0.65rem; }
    .header-logo { gap: 0.45rem; max-width: 48%; }
    .header-logo img { max-height: 38px; max-width: 56px; }
    .logo-text { font-size: 0.9rem; white-space: normal; }
    .product-card .product-info { padding: 0.5rem; }
    .product-card .product-price .current-price { font-size: 0.82rem; }
    .product-card .product-name { font-size: 0.72rem; min-height: 2.4em; }
    .section-title { font-size: 1.1rem; }
    .product-card .product-image img { padding: 0; }
}

/* Site + payment loaders */
.site-page-loader,
.payment-flow-loader {
    position: fixed;
    inset: 0;
    z-index: 12050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(248, 250, 252, .96);
    backdrop-filter: blur(4px);
    transition: opacity .2s ease, visibility .2s ease;
}

.site-page-loader.is-hidden,
.payment-flow-loader:not(.is-active) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.payment-flow-loader[hidden]:not(.is-active) {
    display: none !important;
}

.site-page-loader-card,
.payment-flow-loader-card {
    width: min(100%, 320px);
    padding: 24px 20px;
    border: 1px solid #dbe3ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .08);
    text-align: center;
}

.site-page-loader-spin {
    width: 42px;
    height: 42px;
    margin: 0 auto 14px;
    border: 3px solid #dbeafe;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: siteLoaderSpin .75s linear infinite;
}

.site-page-loader-title,
.payment-flow-loader-card strong {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
}

.site-page-loader-text,
.payment-flow-loader-card span {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.45;
}

@keyframes siteLoaderSpin {
    to { transform: rotate(360deg); }
}

.payment-flow-page {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.payment-flow-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
    padding: 1.25rem 1rem 1.35rem;
}

.payment-flow-summary {
    padding: .25rem .35rem .5rem;
}

.payment-flow-eyebrow {
    color: #64748b;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.payment-flow-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
}

.payment-flow-amount {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #2563eb;
}

.payment-flow-meta {
    color: #64748b;
    font-size: .88rem;
}

.payment-flow-divider {
    height: 1px;
    margin: 1rem 0 1.1rem;
    background: #e2e8f0;
}

.payment-flow-section-label {
    margin: 0 0 .75rem;
    color: #64748b;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.payment-flow-gateway-row {
    display: grid;
    gap: .75rem;
}

.payment-flow-gateway {
    display: flex;
    align-items: center;
    gap: .85rem;
    width: 100%;
    min-height: 78px;
    padding: .9rem 1rem;
    border: 2px solid #dbe3ef;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
    -webkit-tap-highlight-color: transparent;
}

.payment-flow-gateway:active {
    transform: scale(.985);
}

.payment-flow-gateway.is-recommended {
    box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
}

.payment-flow-gateway--cashfree.is-recommended {
    border-color: #0891b2;
    background: #f0fdff;
}

.payment-flow-gateway--razorpay.is-recommended {
    border-color: #2563eb;
    background: #f8fbff;
}

.payment-flow-gateway-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 12px;
    font-size: 1.15rem;
}

.payment-flow-gateway-icon.is-cashfree {
    background: #ecfeff;
    color: #0891b2;
}

.payment-flow-gateway-icon.is-razorpay {
    background: #eff6ff;
    color: #2563eb;
}

.payment-flow-gateway-copy {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.payment-flow-gateway-copy strong {
    display: block;
    font-size: .98rem;
    line-height: 1.2;
}

.payment-flow-gateway-copy small {
    display: block;
    margin-top: .2rem;
    color: #64748b;
    font-size: .74rem;
    line-height: 1.35;
}

.payment-flow-badge {
    display: inline-block;
    margin-top: .35rem;
    padding: .12rem .5rem;
    border-radius: 999px;
    background: #cffafe;
    color: #0e7490;
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.payment-flow-badge.is-razorpay {
    background: #dbeafe;
    color: #1d4ed8;
}

.payment-flow-gateway-arrow {
    color: #94a3b8;
    font-size: 1rem;
    flex: 0 0 auto;
}

.payment-flow-note {
    display: flex;
    gap: .55rem;
    align-items: flex-start;
    margin-top: 1rem;
    padding: .85rem .9rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    font-size: .8rem;
    line-height: 1.45;
}

.payment-flow-note i {
    color: #2563eb;
    margin-top: .1rem;
}

.payment-flow-back-link {
    color: #64748b;
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
}

.payment-flow-back-link:hover {
    color: #2563eb;
}

.payment-flow-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto .85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    font-weight: 800;
}

.payment-flow-icon.cancelled {
    background: #fff7ed;
    color: #ea580c;
    box-shadow: 0 0 0 8px #fffbeb;
}

.payment-flow-icon.failed {
    background: #fef2f2;
    color: #dc2626;
    box-shadow: 0 0 0 8px #fef2f2;
}

.payment-flow-message {
    margin: 1rem 0 0;
    padding: .85rem .9rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #475569;
    font-size: .88rem;
    text-align: left;
}

.payment-flow-action {
    margin-top: 1rem;
}

.payment-flow-links {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: center;
    margin-top: 1rem;
}

@media (min-width: 576px) {
    .payment-flow-card {
        padding: 1.6rem 1.5rem 1.45rem;
    }

    .payment-flow-gateway-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .payment-flow-gateway {
        flex-direction: column;
        align-items: flex-start;
        min-height: 148px;
        padding: 1rem;
    }

    .payment-flow-gateway-arrow {
        display: none;
    }

    .payment-flow-gateway-copy {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .payment-flow-title {
        font-size: 1.2rem;
    }

    .payment-flow-amount {
        font-size: 1.75rem;
    }

    .payment-flow-links .btn {
        flex: 1 1 calc(50% - .3rem);
        min-width: 0;
    }
}

.cf-pay-confirm {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.cf-pay-confirm[hidden] {
    display: none;
}

.cf-pay-confirm__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
}

.cf-pay-confirm__card {
    position: relative;
    width: min(100%, 420px);
    background: #fff;
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .18);
}

.cf-pay-confirm__eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 800;
    color: #0891b2;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.cf-pay-confirm__title {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.cf-pay-confirm__text {
    margin: 0 0 14px;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.cf-pay-confirm__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 16px;
    font-size: 14px;
}

.cf-pay-confirm__meta strong {
    font-size: 1.1rem;
    color: #0f172a;
}

.cf-pay-confirm__actions {
    display: flex;
    gap: 10px;
}

.cf-pay-confirm__btn {
    flex: 1;
    min-height: 46px;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 800;
    cursor: pointer;
}

.cf-pay-confirm__btn--ghost {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
}

.cf-pay-confirm__btn--primary {
    border: 0;
    background: #0891b2;
    color: #fff;
}

/* Flipkart-style order status UI */
.fk-orders-page,
.fk-tracking-page {
    background: #f1f3f6;
}

.fk-orders-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, .04);
}

.fk-orders-head-copy {
    min-width: 0;
}

.fk-orders-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fk-orders-title i {
    color: #2874f0;
}

.fk-orders-subtitle {
    margin: 4px 0 0;
    color: #64748b;
    font-size: .8rem;
}

.fk-orders-search {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    max-width: 340px;
}

.fk-orders-search-field {
    position: relative;
}

.fk-orders-search-field i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: .9rem;
    pointer-events: none;
}

.fk-orders-search-field .form-control {
    min-height: 38px;
    padding: 8px 12px 8px 36px;
    border: 1px solid #dbe3ef;
    border-radius: 10px;
    font-size: .86rem;
    background: #f8fafc;
    box-shadow: none;
}

.fk-orders-search-field .form-control:focus {
    background: #fff;
    border-color: #2874f0;
    box-shadow: 0 0 0 3px rgba(40, 116, 240, .12);
}

.fk-orders-search-btn {
    align-self: flex-start;
    min-height: 32px;
    padding: 5px 16px;
    border: 0;
    border-radius: 8px;
    background: #2874f0;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease;
}

.fk-orders-search-btn:hover {
    background: #1d5fd1;
}

.fk-orders-search-btn:active {
    transform: translateY(1px);
}

.fk-order-list {
    display: grid;
    gap: 14px;
}

.fk-order-card,
.fk-panel,
.fk-tracking-sidebar,
.fk-empty-state {
    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, .05);
    overflow: hidden;
    transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.fk-order-card:hover {
    border-color: #d7e3f4;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.fk-order-card-main {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
}

.fk-order-product {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 0;
}

.fk-order-product img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #eef2f7;
    background: #f8fafc;
    flex: 0 0 76px;
}

.fk-order-product-copy strong,
.fk-order-status strong,
.fk-product-copy strong {
    display: block;
    font-size: .94rem;
    line-height: 1.35;
    color: #0f172a;
    font-weight: 700;
}

.fk-order-product-copy small,
.fk-order-status small,
.fk-product-copy small,
.fk-order-meta {
    display: block;
    color: #64748b;
    font-size: .76rem;
    line-height: 1.45;
    margin-top: 4px;
}

.fk-order-status {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
}

.fk-order-status-copy small {
    margin-top: 0;
}

.fk-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .01em;
}

.fk-status-pill.is-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.fk-status-pill.is-info {
    background: #e3f2fd;
    color: #1565c0;
}

.fk-status-pill.is-warning {
    background: #fff3e0;
    color: #ef6c00;
}

.fk-status-pill.is-danger {
    background: #ffebee;
    color: #c62828;
}

.fk-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    flex: 0 0 10px;
}

.fk-status-dot.is-success { background: #388e3c; }
.fk-status-dot.is-info { background: #2874f0; }
.fk-status-dot.is-warning { background: #ff9f00; }
.fk-status-dot.is-danger { background: #ff6161; }

.fk-refund-id {
    color: #878787 !important;
}

.fk-order-price,
.fk-product-price {
    font-size: 1.02rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    text-align: right;
}

.fk-order-card-actions {
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    padding: 0 18px;
    border-top: 1px solid #eef2f7;
    background: #fafbfd;
}

.fk-order-card-actions a {
    color: #2874f0;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    padding: 11px 14px 11px 0;
    margin-right: 14px;
    position: relative;
}

.fk-order-card-actions a:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 50%;
    width: 1px;
    height: 14px;
    background: #dbe3ef;
    transform: translateY(-50%);
}

.fk-order-card-actions a:hover {
    color: #1d5fd1;
    text-decoration: underline;
}

.fk-empty-state {
    text-align: center;
    padding: 48px 20px;
}

.fk-empty-state i {
    font-size: 2rem;
    color: #2874f0;
}

.fk-tracking-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.fk-tracking-head h1 {
    margin: 0;
    font-size: 1.35rem;
}

.fk-tracking-head p {
    margin: 4px 0 0;
    color: #878787;
    font-size: .82rem;
}

.fk-tracking-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.fk-tracking-sidebar {
    position: sticky;
    top: 90px;
    overflow: hidden;
}

.fk-tracking-sidebar-title,
.fk-panel-section-title {
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #878787;
}

.fk-tracking-order-pill {
    display: block;
    padding: 13px 16px;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    color: #212121;
}

.fk-tracking-order-pill.active {
    background: #e3f2fd;
    border-left: 3px solid #2874f0;
    padding-left: 13px;
}

.fk-tracking-order-pill strong,
.fk-tracking-order-pill span,
.fk-tracking-order-pill small {
    display: block;
}

.fk-tracking-order-pill span {
    font-size: .78rem;
    margin-top: 4px;
}

.fk-tracking-order-pill small {
    font-size: .7rem;
    color: #878787;
    margin-top: 3px;
}

.fk-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
    align-items: start;
}

.fk-panel {
    overflow: hidden;
    margin-bottom: 14px;
}

.fk-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px 0;
}

.fk-panel-eyebrow {
    display: block;
    color: #878787;
    font-size: .72rem;
    font-weight: 700;
}

.fk-panel-head h2 {
    margin: 4px 0 2px;
    font-size: 1.1rem;
}

.fk-panel-head p {
    margin: 0;
    color: #878787;
    font-size: .8rem;
}

.fk-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: .68rem;
    font-weight: 800;
    white-space: nowrap;
}

.fk-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #43a047;
    animation: fkLivePulse 1.4s ease-in-out infinite;
}

@keyframes fkLivePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.85); }
}

.fk-stepper-wrap {
    padding: 8px 10px 18px;
    overflow-x: auto;
}

.fk-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    min-width: 640px;
    padding: 18px 12px 8px;
    gap: 4px;
}

.fk-stepper-track,
.fk-stepper-fill {
    position: absolute;
    left: 7%;
    top: 31px;
    height: 3px;
    border-radius: 999px;
}

.fk-stepper-track {
    right: 7%;
    background: #e0e0e0;
}

.fk-stepper-fill {
    background: #388e3c;
    z-index: 1;
    transition: width .35s ease;
}

.fk-step {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 88px;
    text-align: center;
}

.fk-step-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 auto 8px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #878787;
    font-size: .82rem;
}

.fk-step.done .fk-step-dot {
    background: #388e3c;
    border-color: #388e3c;
    color: #fff;
}

.fk-step.current .fk-step-dot {
    border-color: #2874f0;
    color: #2874f0;
    box-shadow: 0 0 0 4px rgba(40, 116, 240, .12);
}

.fk-step-label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    color: #878787;
    line-height: 1.25;
}

.fk-step.done .fk-step-label,
.fk-step.current .fk-step-label {
    color: #212121;
}

.fk-terminal-banner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 14px 18px 18px;
    padding: 12px 14px;
    border-radius: 4px;
    border: 1px solid;
}

.fk-terminal-banner.is-danger {
    background: #fff5f5;
    border-color: #ffcdd2;
    color: #c62828;
}

.fk-terminal-banner.is-secondary,
.fk-terminal-banner.is-warning {
    background: #fff8e1;
    border-color: #ffe082;
    color: #8d6e00;
}

.fk-refund-card {
    margin-bottom: 14px;
    padding: 16px 18px;
    border: 1px solid;
    border-radius: 4px;
    background: #fff;
}

.fk-refund-card--success {
    border-color: #c8e6c9;
    background: #f1f8e9;
}

.fk-refund-card--warning {
    border-color: #ffe082;
    background: #fffde7;
}

.fk-refund-card--danger {
    border-color: #ffcdd2;
    background: #ffebee;
}

.fk-refund-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.fk-refund-eyebrow {
    display: block;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #878787;
}

.fk-refund-amount {
    font-size: 1rem;
    font-weight: 800;
    white-space: nowrap;
}

.fk-refund-copy {
    margin: 8px 0 0;
    font-size: .82rem;
    color: #616161;
}

.fk-refund-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed rgba(0, 0, 0, .08);
    font-size: .76rem;
}

.fk-refund-meta span {
    color: #878787;
}

.fk-product-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
}

.fk-product-row:last-child {
    border-bottom: 0;
}

.fk-product-row img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
}

.fk-updates-timeline {
    padding: 16px 18px 18px 26px;
}

.fk-update-item {
    position: relative;
    padding: 0 0 18px 18px;
    border-left: 2px solid #e0e0e0;
}

.fk-update-item:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.fk-update-dot {
    position: absolute;
    left: -7px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdbdbd;
    box-shadow: 0 0 0 3px #fff;
}

.fk-update-item.is-latest .fk-update-dot {
    background: #388e3c;
}

.fk-update-item strong,
.fk-update-item p,
.fk-update-item small {
    display: block;
}

.fk-update-item strong {
    font-size: .84rem;
}

.fk-update-item p {
    margin: 2px 0;
    font-size: .78rem;
    color: #616161;
}

.fk-update-item small {
    font-size: .72rem;
    color: #878787;
}

.fk-side-row {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #f5f5f5;
}

.fk-side-row:last-child {
    border-bottom: 0;
}

.fk-side-row i {
    color: #878787;
    font-size: 1rem;
    margin-top: 2px;
}

.fk-side-row strong {
    display: block;
    font-size: .84rem;
}

.fk-side-row p,
.fk-side-row small {
    display: block;
    margin: 2px 0 0;
    font-size: .78rem;
    color: #616161;
}

.fk-price-lines {
    padding: 8px 16px 0;
}

.fk-price-lines > div,
.fk-price-total,
.fk-paid-by {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    font-size: .82rem;
}

.fk-price-lines .is-discount strong {
    color: #388e3c;
}

.fk-price-total {
    margin: 0 16px;
    padding-top: 12px;
    border-top: 1px dashed #e0e0e0;
    font-size: .92rem;
}

.fk-paid-by {
    margin: 0 16px 16px;
    padding: 10px 12px;
    border-radius: 4px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
}

.fk-paid-by span {
    color: #878787;
    font-size: .72rem;
    text-transform: uppercase;
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    .fk-detail-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .fk-tracking-layout {
        grid-template-columns: 1fr;
    }

    .fk-tracking-sidebar {
        position: static;
        display: flex;
        overflow-x: auto;
    }

    .fk-tracking-sidebar-title {
        display: none;
    }

    .fk-tracking-order-pill {
        min-width: 220px;
        border-bottom: 0;
        border-right: 1px solid #f0f0f0;
    }

    .fk-order-card-main {
        grid-template-columns: 1fr;
        gap: 12px;
        align-items: start;
    }

    .fk-order-status {
        padding-left: 90px;
    }

    .fk-order-price {
        padding-left: 90px;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .fk-orders-search {
        flex-direction: row;
        align-items: center;
        max-width: 420px;
    }

    .fk-orders-search-btn {
        flex: 0 0 auto;
        min-height: 34px;
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    .fk-orders-head {
        padding: 14px;
    }

    .fk-orders-search {
        max-width: none;
    }

    .fk-orders-search-btn {
        width: 100%;
        align-self: stretch;
        min-height: 34px;
    }

    .fk-stepper {
        min-width: 560px;
    }

    .fk-order-product img {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .fk-order-status,
    .fk-order-price {
        padding-left: 78px;
    }
}
