/* 
   Dzire Multinational - Clean E-Commerce Theme
   Royal Dark Blue accent. Standard, comfortable sizes.
*/

:root {
    --primary: #1e3a8a;
    --primary-hover: #1d4ed8;
    --dark: #1e293b;
    --text-muted: #555;
    --text-light: #888;
    --bg-light: #f8f9fa;
    --border-color: #e2e8f0;
    --white: #fff;
    --green-rating: #23bb75;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 14px rgba(0,0,0,0.09);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* ============================================================
   BASE
   ============================================================ */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--white);
    color: var(--dark);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    color: var(--dark);
    font-weight: 600;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ============================================================
   HEADER
   ============================================================ */
.header-simple-wrapper {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-simple {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    width: 100%;
    gap: 20px;
}

.header-simple .logo img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
}

/* Search */
.header-search-bar {
    flex: 1;
    max-width: 600px;
}

.header-search-bar form {
    display: flex;
    align-items: center;
    border: 1.5px solid #bbb;
    border-radius: var(--radius-sm);
    background: var(--white);
    padding: 2px 10px;
}

.header-search-bar input {
    border: none;
    background: transparent;
    padding: 8px 8px;
    width: 100%;
    font-size: 14px;
    color: var(--dark);
    outline: none;
}

.header-search-bar button {
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
}

.header-search-bar button i { font-size: 18px; }
.header-search-bar button:hover { color: var(--primary); }

/* Sub Nav */
.sub-nav-categories {
    border-bottom: 1px solid var(--border-color);
    background: var(--white);
}

.sub-nav-container {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 10px 50px;
    overflow-x: auto;
    white-space: nowrap;
}

.sub-nav-item {
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    position: relative;
    padding-bottom: 6px;
}

.sub-nav-item:hover { color: var(--primary); }

.sub-nav-item:hover::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--primary);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--dark);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    position: relative;
    cursor: pointer;
}

.header-action-item:hover { color: var(--primary); }
.header-action-item i,
.header-action-item .fas,
.header-action-item .far,
.header-action-item .fab {
    font-size: 22px;
    margin-bottom: 0;
    display: block;
    line-height: 1;
}

.header-action-item .badge {
    position: absolute;
    top: -6px; right: -6px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 9999px;
    min-width: 16px;
    text-align: center;
}

/* ============================================================
   BANNER SLIDER
   ============================================================ */
.meesho-slider-section {
    width: 100%;
    margin: 20px auto;
    padding: 0 50px;
}

.banner-slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 48px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.banner-slide-text { max-width: 55%; }

.banner-slide-tag {
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 9999px;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.banner-slide-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    margin: 0 0 10px;
    line-height: 1.25;
}

.banner-slide-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 20px;
    line-height: 1.6;
}

.banner-slide-btn {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    padding: 10px 24px;
    font-size: 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
    border: none;
    box-shadow: 0 2px 4px rgba(30,58,138,0.2);
}

.banner-slide-btn:hover { background: var(--primary-hover); }

/* ============================================================
   CATEGORIES
   ============================================================ */
.meesho-categories {
    width: 100%;
    margin: 28px auto;
    padding: 0 50px;
}

.meesho-categories-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 18px;
    border-left: 4px solid var(--primary);
    padding-left: 10px;
}

.meesho-categories-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.meesho-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
    min-width: 90px;
}

.meesho-category-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.2s;
}

.meesho-category-item:hover .meesho-category-circle {
    border-color: var(--primary);
    transform: scale(1.06);
    box-shadow: var(--shadow-sm);
}

.meesho-category-circle i { font-size: 26px; color: var(--primary); }
.meesho-category-name { font-size: 13px; font-weight: 600; text-align: center; }

/* ============================================================
   CATALOG SECTION
   ============================================================ */
.meesho-catalog-section {
    width: 100%;
    margin: 36px auto;
    padding: 0 50px;
}

.meesho-catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.meesho-catalog-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.meesho-catalog-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.meesho-tab-btn {
    border: 1px solid var(--border-color);
    background: var(--white);
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.meesho-tab-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 2px 4px rgba(30,58,138,0.25);
}

/* ============================================================
   PRODUCT GRID
   ============================================================ */
.meesho-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

/* ============================================================
   PRODUCT CARD
   ============================================================ */
.meesho-product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: var(--dark);
}

.meesho-product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: rgba(30,58,138,0.3);
}

.meesho-product-image-wrapper {
    position: relative;
    padding-top: 75%;
    background: var(--bg-light);
}

.meesho-product-image-wrapper img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.meesho-product-info {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.meesho-product-title {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0 0 2px;
}

/* BV/PV */
.meesho-bvpv-row {
    display: flex;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
}

/* Price */
.meesho-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 0;
}

.meesho-price-current {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.meesho-price-original {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
}

.meesho-price-discount {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

/* Add to Cart */
.meesho-add-cart-btn {
    border: none;
    background: var(--primary);
    color: var(--white);
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    width: 100%;
    margin-top: 4px;
    box-shadow: 0 1px 3px rgba(30,58,138,0.15);
}

.meesho-add-cart-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.meesho-add-cart-btn:active { transform: scale(0.98); }

/* ============================================================
   USER DROPDOWN
   ============================================================ */
.user-dropdown-wrapper { position: relative; }

.user-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 6px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    min-width: 180px;
    z-index: 1100;
}

.user-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
}

.user-dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
}

/* Empty tab message */
.meesho-empty-msg {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 40px 0;
    font-size: 14px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer-simple {
    background: #1e293b;
    color: #94a3b8;
    border-top: none;
    padding: 48px 50px 0;
    margin-top: 48px;
    width: 100%;
}

.footer-simple-col h3 {
    color: #f1f5f9 !important;
}

.footer-simple-col p {
    color: #94a3b8;
}

.footer-simple-col ul li a {
    color: #94a3b8 !important;
}

.footer-simple-col ul li a:hover {
    color: #93c5fd !important;
}

.footer-simple-bottom {
    border-top-color: #334155 !important;
    color: #64748b;
}

.footer-newsletter-form input {
    background: #0f172a !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

.footer-newsletter-form input::placeholder {
    color: #64748b;
}

.footer-simple-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-simple-col h3 {
    color: var(--dark);
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.footer-simple-col p {
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 8px;
}

.footer-simple-col ul { list-style: none; padding: 0; margin: 0; }
.footer-simple-col ul li { margin-bottom: 8px; }

.footer-simple-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
}

.footer-simple-col ul li a:hover { color: var(--primary); }

/* Newsletter */
.footer-newsletter-form {
    display: flex;
    margin-top: 10px;
}

.footer-newsletter-form input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-right: none;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    outline: none;
}

.footer-newsletter-form button {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    cursor: pointer;
    transition: background 0.2s;
}

.footer-newsletter-form button:hover { background: var(--primary-hover); }

/* Social */
.footer-simple-socials {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.footer-simple-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.2s;
}

.footer-simple-socials a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(30,58,138,0.05);
}

.footer-simple-bottom {
    width: 100%;
    margin: 28px 0 0;
    padding-top: 14px;
    padding-bottom: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
}

.footer-simple-bottom p { margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .meesho-product-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .footer-simple-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
    .header-simple { padding: 10px 12px; }
    .header-search-bar { display: none; }
    .sub-nav-categories { display: none; }
    .meesho-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .banner-slide-content {
        flex-direction: column;
        text-align: center;
        padding: 24px 16px;
    }
    .banner-slide-text { max-width: 100%; margin-bottom: 16px; }
    .banner-slide-title { font-size: 22px; }
    .footer-simple-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-simple-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .meesho-catalog-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .meesho-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .meesho-product-info { padding: 10px; }
    .meesho-price-current { font-size: 16px; }
    .banner-slide-title { font-size: 20px; }
}

/* ============================================================
   SHOP PAGE
   ============================================================ */
.shop-page-wrapper { background: #f8f9fa; min-height: 70vh; }
.shop-breadcrumb { background: #fff; border-bottom: 1px solid #e2e8f0; padding: 12px 0; }
.shop-breadcrumb .shop-container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.shop-container { width: 100%; padding: 0 50px; }
.shop-breadcrumb-nav { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #555; flex-wrap: wrap; }
.shop-breadcrumb-nav a { color: #1e3a8a; text-decoration: none; font-weight: 500; }
.shop-breadcrumb-nav a:hover { text-decoration: underline; }
.shop-breadcrumb-sep { color: #ccc; }
.shop-result-count { font-size: 13px; color: #555; margin: 0; }
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 24px; padding: 20px 0 48px; align-items: start; }
.shop-sidebar { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px; position: sticky; top: 70px; }
.shop-filter-block { border-bottom: 1px solid #e2e8f0; padding-bottom: 14px; margin-bottom: 14px; }
.shop-filter-block:last-child { border-bottom: none; margin-bottom: 0; }
.shop-filter-title { font-size: 12px; font-weight: 700; color: #1e293b; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 10px; display: flex; align-items: center; gap: 6px; }
.shop-filter-title i { color: #1e3a8a; }
.shop-filter-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.shop-filter-link { display: flex; justify-content: space-between; align-items: center; padding: 7px 10px; font-size: 13px; color: #1e293b; text-decoration: none; border-radius: 4px; transition: all 0.15s; }
.shop-filter-link:hover { background: #eff6ff; color: #1e3a8a; }
.shop-filter-link.active { background: #1e3a8a; color: #fff; font-weight: 600; }
.shop-filter-link.active .shop-filter-count { background: rgba(255,255,255,0.2); color: #fff; }
.shop-filter-count { background: #f8f9fa; color: #888; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 9999px; }
.shop-price-form { display: flex; flex-direction: column; gap: 8px; }
.shop-price-inputs { display: flex; align-items: center; gap: 6px; }
.shop-price-input { flex: 1; border: 1px solid #e2e8f0; border-radius: 4px; padding: 6px 8px; font-size: 13px; width: 100%; outline: none; }
.shop-price-input:focus { border-color: #1e3a8a; }
.shop-price-btn { background: #1e3a8a; color: #fff; border: none; padding: 7px 16px; font-size: 13px; font-weight: 600; border-radius: 4px; cursor: pointer; }
.shop-price-btn:hover { background: #1d4ed8; }
.shop-tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.shop-tag { border: 1px solid #e2e8f0; border-radius: 4px; padding: 4px 10px; font-size: 12px; color: #1e293b; text-decoration: none; transition: all 0.15s; }
.shop-tag:hover { border-color: #1e3a8a; color: #1e3a8a; }
.shop-tag.active { background: #1e3a8a; color: #fff; border-color: #1e3a8a; }
.shop-clear-btn { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: #ef4444; text-decoration: none; margin-top: 4px; }
.shop-clear-btn:hover { text-decoration: underline; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; flex-wrap: wrap; gap: 10px; }
.shop-sidebar-toggle { display: none; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; background: #f8f9fa; border: 1px solid #e2e8f0; border-radius: 4px; padding: 7px 14px; cursor: pointer; color: #1e293b; }
.shop-toolbar-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-left: auto; }
.shop-sort-form { display: flex; align-items: center; gap: 8px; }
.shop-sort-label { font-size: 13px; color: #555; white-space: nowrap; }
.shop-sort-select { border: 1px solid #e2e8f0; border-radius: 4px; padding: 6px 10px; font-size: 13px; color: #1e293b; outline: none; cursor: pointer; }
.shop-sort-select:focus { border-color: #1e3a8a; }
.shop-product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shop-product-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: #1e293b; box-shadow: 0 1px 3px rgba(0,0,0,0.06); transition: all 0.2s ease; position: relative; }
.shop-product-card:hover { box-shadow: 0 4px 14px rgba(0,0,0,0.09); transform: translateY(-3px); border-color: rgba(30,58,138,0.3); }
.shop-product-badge { position: absolute; top: 8px; left: 8px; background: #ef4444; color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 9999px; z-index: 1; }
.shop-product-img-wrap { position: relative; padding-top: 75%; background: #f8f9fa; }
.shop-product-img-wrap img { position: absolute; top:0; left:0; width:100%; height:100%; object-fit: cover; }
.shop-product-info { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; flex-grow: 1; }
.shop-product-cat { font-size: 10px; color: #1e3a8a; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; margin: 0; }
.shop-product-name { font-size: 13px; color: #1e293b; font-weight: 500; line-height: 1.4; height: 2.8em; overflow: hidden; display: -webkit-box; line-clamp: 2; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0; }
.shop-product-price-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 2px; }
.shop-price-current { font-size: 16px; font-weight: 700; color: #1e293b; }
.shop-price-old { font-size: 12px; color: #888; text-decoration: line-through; }
.shop-product-bvpv { display: flex; gap: 8px; font-size: 11px; font-weight: 600; color: #1e3a8a; }
.shop-add-cart-btn { display: block; width: 100%; background: #1e3a8a; color: #fff; border: none; padding: 9px; font-size: 13px; font-weight: 600; border-radius: 4px; cursor: pointer; transition: background 0.2s; margin-top: 8px; }
.shop-add-cart-btn:hover { background: #1d4ed8; }
.shop-pagination { margin-top: 20px; display: flex; justify-content: center; }
.shop-empty-state { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 60px 24px; text-align: center; }
.shop-empty-state i { font-size: 48px; color: #e2e8f0; margin-bottom: 16px; display: block; }
.shop-empty-state h3 { font-size: 18px; color: #1e293b; margin: 0 0 8px; }
.shop-empty-state p { font-size: 14px; color: #555; margin: 0 0 20px; }
.shop-empty-btn { background: #1e3a8a; color: #fff; padding: 10px 24px; border-radius: 4px; text-decoration: none; font-size: 14px; font-weight: 600; display: inline-block; }
.shop-empty-btn:hover { background: #1d4ed8; }
@media (max-width: 768px) { .shop-product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) {
    .shop-layout { grid-template-columns: 1fr; }
    .shop-sidebar { display: none; position: fixed; top: 0; left: 0; height: 100vh; width: 270px; z-index: 9999; overflow-y: auto; border-radius: 0; box-shadow: 0 4px 14px rgba(0,0,0,0.09); }
    .shop-sidebar.open { display: block; }
    .shop-sidebar-toggle { display: flex; }
    .shop-product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .shop-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } .shop-product-info { padding: 8px; } }

/* Hide unstyled theme compare popup */
.compare-popup, .compare-popup-overlay {
    display: none !important;
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 24px 0 48px;
    align-items: start;
}

/* -- Gallery -- */
.product-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-detail-main-img {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-detail-main-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.product-detail-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.product-detail-thumb {
    width: 72px;
    height: 72px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s;
    flex-shrink: 0;
}

.product-detail-thumb:hover,
.product-detail-thumb.active {
    border-color: #1e3a8a;
}

.product-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

/* -- Product Info -- */
.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
}

.product-detail-brand {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #1e3a8a;
    letter-spacing: 1px;
    background: rgba(30, 58, 138, 0.06);
    padding: 3px 8px;
    border-radius: 4px;
    align-self: flex-start;
}

.product-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.product-detail-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

.product-detail-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.product-detail-price-current {
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
}

.product-detail-price-old {
    font-size: 16px;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-detail-discount {
    font-size: 13px;
    font-weight: 700;
    color: #1e3a8a;
    background: rgba(30, 58, 138, 0.08);
    padding: 3px 8px;
    border-radius: 4px;
}

/* Badges */
.product-detail-bvpv-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.product-detail-bvpv-badges span {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-bv { background: #eff6ff; color: #1e3a8a; }
.badge-pv { background: #faf5ff; color: #7c3aed; }
.badge-stock { background: #f8fafc; color: #64748b; }
.badge-stock.in-stock { background: #f0fdf4; color: #166534; }
.badge-stock.out-of-stock { background: #fef2f2; color: #991b1b; }

.product-detail-short-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 8px 0 0;
}

.product-detail-divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 6px 0;
}

/* Variations */
.product-detail-variations {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.variation-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.variation-label {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
}

.variation-label .selected-val {
    color: #1e3a8a;
    font-weight: 700;
}

.variation-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-swatch-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
    outline: none;
    position: relative;
}

.color-swatch-btn.active {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.18);
    transform: scale(1.1);
}

.color-swatch-btn.active::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #fff;
    font-size: 11px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.size-swatch-btn {
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s;
}

.size-swatch-btn:hover {
    border-color: #1e3a8a;
    color: #1e3a8a;
}

.size-swatch-btn.active {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: #fff;
}

.variation-warning-msg {
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
}

/* Quantity + Cart */
.product-detail-cart-form {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.quantity-selector {
    display: flex;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    overflow: hidden;
    background: #f8fafc;
}

.qty-btn {
    border: none;
    background: transparent;
    padding: 10px 16px;
    cursor: pointer;
    color: #64748b;
    font-size: 13px;
    transition: background 0.15s;
}

.qty-btn:hover { background: #e2e8f0; color: #1e293b; }

.qty-input {
    border: none;
    border-left: 1px solid #d1d5db;
    border-right: 1px solid #d1d5db;
    width: 50px;
    text-align: center;
    background: #fff;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    outline: none;
}

.product-detail-add-btn {
    flex: 1;
    background: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
}

.product-detail-add-btn:hover { background: #1d4ed8; }
.product-detail-add-btn:active { transform: scale(0.98); }
.product-detail-add-btn.added { background: #10b981; }

.product-detail-add-btn:disabled {
    background: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
    transform: none;
}

/* Social Share */
.product-detail-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
}

.share-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.share-icon {
    font-size: 14px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}

.share-icon:hover { color: #1e3a8a; }

/* -- Tabs -- */
.product-detail-tabs {
    margin-top: 48px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.tab-headers {
    display: flex;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.tab-header {
    border: none;
    background: transparent;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.tab-header:hover { color: #1e3a8a; }

.tab-header.active {
    color: #1e3a8a;
    background: #fff;
}

.tab-header.active::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 2px;
    background: #1e3a8a;
}

.tab-contents {
    padding: 24px;
}

.prose-description {
    font-size: 14px;
    color: #334155;
    line-height: 1.7;
}

.prose-description p { margin: 0 0 16px; }
.prose-description p:last-child { margin: 0; }

.specification-table {
    width: 100%;
    border-collapse: collapse;
}

.specification-table td {
    padding: 10px 16px;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
}

.specification-table tr:last-child td { border-bottom: none; }

.specification-table td:first-child {
    font-weight: 600;
    color: #64748b;
    width: 250px;
}

.specification-table td:last-child {
    color: #1e293b;
}

.manufacturer-text {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

/* -- Related Products -- */
.related-products-section {
    margin-top: 48px;
    border-top: 1px solid #e2e8f0;
    padding-top: 36px;
}

.related-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px;
    border-left: 4px solid #1e3a8a;
    padding-left: 10px;
}

/* -- Responsive -- */
@media (max-width: 768px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Enlarge social share icons on detail page */
.product-detail-share {
    gap: 16px !important;
}
.product-detail-share .share-icon {
    font-size: 18px !important;
    padding: 6px;
    transition: all 0.2s ease;
}
.product-detail-share .share-icon:hover {
    transform: scale(1.15);
}

/* 4 columns layout for related products on detail page */
.related-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
@media (max-width: 1024px) {
    .related-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .related-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
@media (max-width: 480px) {
    .related-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* Social Brand Colors */
.product-detail-share .fa-facebook-f {
    color: #1877f2 !important;
}
.product-detail-share .fa-twitter {
    color: #1da1f2 !important;
}
.product-detail-share .fa-whatsapp {
    color: #25d366 !important;
}

/* Trust badges container under add to cart */
.product-detail-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
    border-top: 1px solid #e2e8f0;
    padding-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #f1f5f9;
}

.feature-item i {
    font-size: 20px;
    color: #1e3a8a;
}

.feature-item h5 {
    font-size: 12px;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.feature-item p {
    font-size: 10px;
    margin: 2px 0 0;
    color: #64748b;
    line-height: 1.25;
}

@media (max-width: 480px) {
    .product-detail-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* Vertical Tabs on Mobile (max-width: 600px) */
@media (max-width: 600px) {
    .tab-headers {
        flex-direction: column !important;
    }
    .tab-header {
        width: 100% !important;
        text-align: left !important;
        border-bottom: 1px solid #e2e8f0 !important;
        padding: 12px 20px !important;
    }
    .tab-header.active::after {
        bottom: 0 !important;
        left: 0 !important;
        right: auto !important;
        width: 4px !important;
        height: 100% !important;
    }
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 24px;
    padding: 24px 0 48px;
    align-items: start;
}

.cart-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-section-title i {
    color: #1e3a8a;
}

/* Items List */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    position: relative;
}

.cart-item-thumb {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background: #f8fafc;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0; /* allows text truncation/wrap inside flex */
}

.cart-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.cart-item-name a:hover {
    color: #1e3a8a;
}

.cart-item-attrs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.cart-attr-badge {
    font-size: 11px;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
}

.cart-item-price-unit {
    font-size: 12px;
    color: #64748b;
}

/* Qty selector */
.cart-item-qty {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    flex-shrink: 0;
}

.qty-label,
.subtotal-label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 2px;
}

/* Subtotal */
.cart-item-subtotal {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    width: 110px;
    flex-shrink: 0;
}

.subtotal-val {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

/* Remove button */
.cart-item-remove-btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    padding: 8px;
    transition: color 0.15s;
    flex-shrink: 0;
}

.cart-item-remove-btn:hover {
    color: #ef4444;
}

/* Cart Actions */
.cart-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
}

.cart-continue-btn {
    font-size: 13px;
    font-weight: 600;
    color: #1e3a8a;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}

.cart-continue-btn:hover {
    color: #1d4ed8;
}

.cart-clear-btn {
    font-size: 13px;
    font-weight: 600;
    color: #ef4444;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.15s;
}

.cart-clear-btn:hover {
    text-decoration: underline;
}

/* -- Summary Column -- */
.cart-summary-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 70px;
}

.summary-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    border-bottom: 2px solid #1e3a8a;
    padding-bottom: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #64748b;
}

.summary-divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 4px 0;
}

.total-row {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.total-row .total-val {
    font-size: 20px;
    font-weight: 800;
    color: #1e3a8a;
}

.cart-checkout-btn {
    display: block;
    width: 100%;
    background: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 8px;
}

.cart-checkout-btn:hover {
    background: #1d4ed8;
    color: #fff !important;
}

/* -- Responsive Cart -- */
@media (max-width: 991px) {
    .cart-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .cart-item-card {
        flex-wrap: wrap;
        padding: 12px;
        align-items: flex-start;
    }
    .cart-item-qty,
    .cart-item-subtotal {
        width: auto;
        align-items: flex-start;
        flex: 1;
        margin-top: 8px;
    }
    .cart-item-subtotal {
        align-items: flex-end;
    }
    .cart-item-remove-btn {
        position: absolute;
        top: 4px;
        right: 4px;
    }
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 32px;
    padding: 24px 0 48px;
    align-items: start;
}

@media (max-width: 991px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Guest Banner */
.checkout-guest-alert {
    background: #eff6ff;
    border: 2px dashed #3b82f6;
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.alert-info-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 4px;
}

.alert-info-text p {
    font-size: 13px;
    color: #1e293b;
    margin: 0;
}

.alert-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkout-alert-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
}

.checkout-alert-btn.btn-dark {
    background: #1e293b;
    color: #fff;
}
.checkout-alert-btn.btn-dark:hover { background: #0f172a; }

.checkout-alert-btn.btn-primary {
    background: #1e3a8a;
    color: #fff;
}
.checkout-alert-btn.btn-primary:hover { background: #1d4ed8; }

.or-separator {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

/* Coupon Selector */
.checkout-coupon-toggle {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 20px;
    margin-bottom: 24px;
}

.coupon-lead {
    font-size: 13px;
    color: #475569;
}

.coupon-link {
    color: #1e3a8a;
    font-weight: 700;
}

.coupon-link:hover { text-decoration: underline; }

.coupon-form-wrap {
    margin-top: 12px;
    border-top: 1px dashed #cbd5e1;
    padding-top: 12px;
}

.coupon-form-wrap p {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 10px;
}

.coupon-inputs {
    display: flex;
    gap: 8px;
    max-width: 450px;
}

.coupon-input {
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
}

.coupon-input:focus { border-color: #1e3a8a; }

.coupon-apply-btn {
    background: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.coupon-apply-btn:hover { background: #1d4ed8; }

/* Checkout Cards */
.checkout-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.checkout-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 20px;
    border-bottom: 2px solid #1e3a8a;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout-card-title i {
    color: #1e3a8a;
}

/* Forms */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 480px) {
    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.form-group-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.input-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.checkout-input,
.checkout-select,
.checkout-textarea {
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 13px;
    color: #1e293b;
    outline: none;
    width: 100%;
    background: #fff;
    transition: border-color 0.15s;
}

.checkout-input:focus,
.checkout-select:focus,
.checkout-textarea:focus {
    border-color: #1e3a8a;
}

.checkout-textarea {
    min-height: 100px;
    resize: vertical;
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.checkout-select {
    appearance: none;
    padding-right: 36px;
}

/* -- Order Summary Card -- */
.checkout-items-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.summary-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.summary-item-name {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
}

.summary-item-attrs {
    font-size: 11px;
    color: #64748b;
}

.summary-item-qty {
    font-size: 11px;
    color: #64748b;
}

.summary-item-total {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    flex-shrink: 0;
}

.checkout-divider {
    border: 0;
    border-top: 1px solid #cbd5e1;
    margin: 14px 0;
}

.summary-calc-rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #475569;
}

.grand-total-row {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}

.grand-total-row .grand-total-val {
    font-size: 20px;
    font-weight: 800;
    color: #1e3a8a;
}

.gst-breakdown-card {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #475569;
}

/* -- Payments Selection -- */
.payment-selection-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin: 4px 0;
}

/* Switched cards (consistency & wallet) */
.consistency-reward-card,
.wallet-payment-card {
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.wallet-payment-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.reward-info,
.wallet-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reward-icon,
.wallet-icon {
    font-size: 20px;
    color: #d97706;
}

.wallet-icon {
    color: #4f46e5;
}

.reward-info h5,
.wallet-info h5 {
    font-size: 13px;
    font-weight: 700;
    color: #78350f;
    margin: 0;
}

.wallet-info h5 {
    color: #1e293b;
}

.reward-info p,
.wallet-info p {
    font-size: 11px;
    color: #92400e;
    margin: 2px 0 0;
    line-height: 1.3;
}

.wallet-info p {
    color: #64748b;
}

.wallet-limit {
    color: #b45309;
}

/* Switches */
.switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 20px;
}

.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
}

input:checked + .slider {
    background-color: #1e3a8a;
}

input:checked + .slider:before {
    transform: translateX(18px);
}

.slider.round {
    border-radius: 20px;
}

.slider.round:before {
    border-radius: 50%;
}

.wallet-deduction-banner {
    background: #f5f3ff;
    border: 1px dashed #c084fc;
    color: #6b21a8;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    text-align: center;
}

/* Remaining Section */
.to-pay-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13px;
    color: #475569;
}

.to-pay-banner strong {
    font-size: 16px;
    color: #1e293b;
}

.payment-options-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.payment-option-card {
    position: relative;
}

.hidden-radio {
    display: none;
}

.payment-option-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 14px 16px;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s;
}

.option-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.option-icon {
    font-size: 16px;
}

.option-icon.text-indigo { color: #4f46e5; }
.option-icon.text-blue { color: #2563eb; }
.option-icon.text-green { color: #059669; }

.option-name {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.option-subtext {
    font-size: 11px;
    color: #64748b;
    display: block;
    margin-top: 2px;
}

.custom-radio-circle {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
    transition: all 0.15s;
}

/* Checked option style overrides */
.hidden-radio:checked + .payment-option-label {
    border-color: #1e3a8a;
    background: #eff6ff;
}

.hidden-radio:checked + .payment-option-label .custom-radio-circle {
    border-color: #1e3a8a;
    background: #1e3a8a;
}

.hidden-radio:checked + .payment-option-label .custom-radio-circle::after {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

/* Summary Box */
.payment-summary-box {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.payment-summary-box h5 {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin: 0 0 2px;
}

.summary-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #475569;
}

.summary-info-row.border-bottom {
    border-bottom: 1px solid #cbd5e1;
    padding-bottom: 6px;
}

.text-indigo { color: #4f46e5; font-weight: 700; }

.method-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}

.method-badge.primary { background: #eff6ff; color: #1e3a8a; }
.method-badge.success { background: #f0fdf4; color: #166534; }

/* Submit Button */
.checkout-submit-btn {
    display: block;
    width: 100%;
    background: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 14px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    text-align: center;
    margin-top: 8px;
}

.checkout-submit-btn:hover { background: #1d4ed8; }
.checkout-submit-btn:active { transform: scale(0.98); }

.checkout-submit-btn:disabled {
    background: #cbd5e1;
    color: #64748b;
    cursor: not-allowed;
    transform: none;
}

/* ============================================================
   COMPARE PRODUCTS PAGE
   ============================================================ */
.compare-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.compare-section-title i {
    color: #1e3a8a;
}

.compare-table-responsive-wrapper {
    overflow-x: auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    margin-bottom: 48px;
}

.compare-spec-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

/* Specifications side labels */
.spec-label-col {
    background: #f8fafc;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    padding: 16px 20px;
    width: 220px;
    vertical-align: middle;
}

/* Specifications values columns */
.product-data-col {
    padding: 24px;
    vertical-align: top;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    width: 280px;
}

.spec-value-col {
    padding: 16px 24px;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
    color: #475569;
    text-align: center;
    vertical-align: middle;
}

.compare-spec-table tbody tr:last-child .spec-label-col,
.compare-spec-table tbody tr:last-child .spec-value-col {
    border-bottom: none;
}

/* Compare product card top block */
.compare-product-card-top {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Remove button */
.compare-remove-btn {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.15s;
}

.compare-remove-btn:hover {
    color: #ef4444;
    border-color: #ef4444;
    background: #fef2f2;
}

/* Thumbnail */
.compare-product-thumb {
    width: 120px;
    height: 120px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    overflow: hidden;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-product-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

/* Title & Price */
.compare-product-title {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    margin-bottom: 8px;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.compare-product-title:hover {
    color: #1e3a8a;
}

.compare-product-price {
    font-size: 16px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
}

/* Add to cart button */
.compare-add-cart-btn {
    background: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    width: 100%;
}

.compare-add-cart-btn:hover {
    background: #1d4ed8;
}

/* Attribute badges */
.compare-bv-badge {
    background: #eff6ff;
    color: #1e3a8a;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
}

.stock-status {
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stock-status.in-stock {
    color: #166534;
}

.stock-status.out-of-stock {
    color: #991b1b;
}

.compare-desc-wrap {
    max-height: 120px;
    overflow-y: auto;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
    text-align: left;
    padding: 4px 8px;
}

.compare-desc-wrap::-webkit-scrollbar {
    width: 4px;
}
.compare-desc-wrap::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

/* ============================================================
   WISHLIST PAGE
   ============================================================ */
.wishlist-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wishlist-section-title i {
    color: #1e3a8a;
}

.wishlist-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.wishlist-item-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.wishlist-item-thumb {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    background: #f8fafc;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-item-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.wishlist-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.wishlist-item-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.wishlist-item-name a:hover {
    color: #1e3a8a;
}

.wishlist-item-price {
    font-size: 13px;
    color: #64748b;
}

.wishlist-item-price strong {
    color: #1e293b;
}

/* Actions */
.wishlist-item-actions {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
}

.wishlist-add-cart-btn {
    background: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
}

.wishlist-add-cart-btn:hover {
    background: #1d4ed8;
}

.wishlist-item-remove-btn {
    border: none;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 16px;
    padding: 8px;
    transition: color 0.15s;
}

.wishlist-item-remove-btn:hover {
    color: #ef4444;
}

/* Share Section */
.wishlist-share-section {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 48px;
}

.share-label {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    margin: 0;
}

.wishlist-social-grid {
    display: flex;
    gap: 8px;
}

.social-share-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s;
}

.social-share-circle:hover {
    transform: scale(1.1);
    color: #fff;
}

.social-share-circle.fb { background: #1877f2; }
.social-share-circle.tw { background: #1da1f2; }
.social-share-circle.wa { background: #25d366; }
.social-share-circle.email { background: #ea4335; }

/* Responsive Wishlist */
@media (max-width: 600px) {
    .wishlist-item-card {
        flex-wrap: wrap;
        padding: 12px;
        align-items: flex-start;
    }
    .wishlist-item-actions {
        width: 100%;
        margin-top: 8px;
    }
    .wishlist-add-cart-btn {
        width: 100%;
        text-align: center;
    }
    .wishlist-item-remove-btn {
        position: absolute;
        top: 6px;
        right: 6px;
    }
}


/* ============================================================
   TRACK ORDER PAGE
   ============================================================ */
/* Sub Nav */
/* Sub Nav Categories - Full Width Theme Background */
.sub-nav-categories {
    background: #0f172a !important;
    padding: 0 !important;
    border-bottom: 3px solid #1e3a8a !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
    width: 100% !important;
    position: relative !important;
    z-index: 9999 !important;
    overflow: visible !important;
}

.sub-nav-container {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    height: 48px !important;
}

.sub-nav-container::-webkit-scrollbar {
    display: none !important;
}

/* Seamless Continuous Block Tab Button Style */
.sub-nav-item {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 5px !important;
    margin: 0 !important;
    height: 100% !important;
    color: #cbd5e1 !important;
    font-size: clamp(11px, 0.82vw, 13px) !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    border-radius: 0 !important;
    border: none !important;
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: transparent !important;
    transition: all 0.2s ease-in-out !important;
    text-decoration: none !important;
    letter-spacing: 0.1px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.sub-nav-item:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
}

/* Seamless Block Tab Hover State */
.sub-nav-item:hover {
    background: #1e3a8a !important;
    color: #ffffff !important;
    box-shadow: inset 0 -3px 0 #38bdf8 !important;
}

/* Seamless Block Tab Active State */
.sub-nav-item.active {
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: inset 0 -4px 0 #ffffff !important;
}

.sub-nav-item::after {
    display: none !important;
}

/* ============================================================
   GOOGLE TRANSLATE COMPLETE TOP BANNER & BLOCK SUPPRESSION
   ============================================================ */

/* 1. Hide Google Translate Top Banner & Iframe */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.VIpgJd-yFtWdf-l4e28-abR36d,
iframe[id^=":"],
iframe[src*="translate.googleapis.com"],
iframe[src*="translate.google.com"],
.skiptranslate > iframe,
.skiptranslate {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 2. Prevent Google Translate from Pushing Body Down (Top 40px Gap Fix) */
html {
    top: 0px !important;
    position: static !important;
}

body {
    top: 0px !important;
    position: static !important;
    margin-top: 0px !important;
    padding-top: 0px !important;
}

/* 3. Hide Native Google Select Dropdown & Widget Logos */
#google_translate_element,
.goog-te-gadget,
.goog-te-gadget-simple,
.goog-logo-link,
.goog-te-gadget img {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
}

/* 4. Hide Google Hover Tooltips & Balloons */
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
    visibility: hidden !important;
}

/* 5. Prevent Google Text Highlighting Shadow */
.goog-text-highlight {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Language Dropdown Container */
.lang-dropdown-wrapper {
    position: relative !important;
    padding: 0 !important;
    overflow: visible !important;
}

.lang-dropdown-btn {
    background: transparent !important;
    border: none !important;
    color: #cbd5e1 !important;
    font-size: clamp(11px, 0.82vw, 13px) !important;
    font-weight: 600 !important;
    width: 100% !important;
    height: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 5px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.lang-dropdown-wrapper:hover .lang-dropdown-btn {
    color: #ffffff !important;
    background: #1e3a8a !important;
}

.lang-dropdown-menu {
    display: none;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    background: #0f172a !important;
    border: 1px solid #1e3a8a !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    min-width: 170px !important;
    z-index: 999999 !important;
    padding: 6px 0 !important;
    margin-top: 2px !important;
}

.lang-dropdown-wrapper:hover .lang-dropdown-menu,
.lang-dropdown-menu.show {
    display: block !important;
}

.lang-dropdown-menu a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 16px !important;
    color: #cbd5e1 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.lang-dropdown-menu a:last-child {
    border-bottom: none !important;
}

.lang-dropdown-menu a:hover {
    background: #1e3a8a !important;
    color: #ffffff !important;
}

.lang-flag {
    font-size: 14px;
}


.track-form-layout {
    display: flex;
    justify-content: center;
    padding: 24px 0 48px;
}

.track-form-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    max-width: 550px;
    width: 100%;
}

.track-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.track-card-title i {
    color: #1e3a8a;
}

.track-card-lead {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.5;
}

.input-hint {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 4px;
}

.track-submit-btn {
    display: block;
    width: 100%;
    background: #1e3a8a;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.track-submit-btn:hover {
    background: #1d4ed8;
}

.track-error-banner {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13px;
    text-align: center;
    max-width: 550px;
    margin: 0 auto;
}

/* Results Section */
.track-results-layout {
    max-width: 800px;
    margin: 0 auto 48px;
}

.success-indicator {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.order-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.summary-grid-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.summary-grid-item label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    color: #94a3b8;
    margin: 0;
}

.summary-grid-item strong {
    font-size: 14px;
    color: #1e293b;
}

.status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
    align-self: flex-start;
}

.status-badge.pending { background: #fef3c7; color: #d97706; }
.status-badge.processing { background: #e0f2fe; color: #0369a1; }
.status-badge.completed { background: #dcfce7; color: #15803d; }
.status-badge.failed { background: #fee2e2; color: #b91c1c; }

/* Details Card */
.track-details-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.details-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.details-title i {
    color: #1e3a8a;
}

.track-order-items-table {
    width: 100%;
    border-collapse: collapse;
}

.track-order-items-table th {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    border-bottom: 2px solid #e2e8f0;
    padding: 10px 0;
}

.track-order-items-table td {
    font-size: 13px;
    color: #475569;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}

.item-name-cell a {
    color: #1e293b;
    font-weight: 600;
}
.item-name-cell a:hover {
    color: #1e3a8a;
}

.track-order-items-table tfoot th {
    font-size: 13px;
    color: #64748b;
    text-transform: none;
    border-bottom: none;
    padding: 10px 0;
}

.track-order-items-table tfoot tr.grand-total-row th {
    border-top: 1px solid #cbd5e1;
    font-size: 14px;
    color: #1e293b;
    font-weight: 700;
    padding: 14px 0 0;
}

.track-order-items-table tfoot tr.grand-total-row td {
    border-top: 1px solid #cbd5e1;
    font-size: 18px;
    color: #1e3a8a;
    font-weight: 800;
    padding: 14px 0 0;
}

/* ============================================================
   PRODUCT DETAIL PAGE IMPROVEMENTS
   ============================================================ */
.product-actions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.product-detail-cart-form {
    display: flex;
    gap: 16px;
    align-items: center;
    width: 100%;
}

.product-auxiliary-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

.aux-btn {
    flex: 1;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.15s;
}

.aux-btn:hover {
    color: #1e3a8a;
    border-color: #1e3a8a;
    background: #f8fafc;
}

.aux-btn i {
    font-size: 14px;
}

/* Social Share Row */
.product-detail-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.share-icons-row {
    display: flex;
    gap: 8px;
}

.share-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s;
}

.share-circle:hover {
    transform: scale(1.1);
}

.share-circle.fb { background: #1877f2; }
.share-circle.tw { background: #1da1f2; }
.share-circle.wa { background: #25d366; }

/* Responsive adjustments */
@media (max-width: 480px) {
    .product-detail-cart-form {
        flex-direction: column;
        align-items: stretch;
    }
    .product-detail-cart-form .quantity-selector {
        width: 100%;
        justify-content: space-between;
    }
    .product-detail-add-btn {
        width: 100%;
    }
}

/* ============================================================
   HEADER BUTTONS & LOGIN POPUP NORMALIZATION
   ============================================================ */
.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    height: 34px !important;
    transition: all 0.2s !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.header-btn-outline {
    border: 1px solid #1e3a8a !important;
    color: #1e3a8a !important;
    background: transparent !important;
}

.header-btn-outline:hover {
    background: #1e3a8a !important;
    color: #fff !important;
}

.header-btn-primary {
    background: #1e3a8a !important;
    color: #fff !important;
    border: 1px solid #1e3a8a !important;
}

.header-btn-primary:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
}

/* Auth Popup styles override for all pages */
.login-popup {
    background: #fff !important;
    max-width: 460px !important;
    margin: 40px auto !important;
    padding: 30px !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    position: relative !important;
}

.login-popup .nav-tabs {
    display: flex !important;
    justify-content: center !important;
    border-bottom: 2px solid #e2e8f0 !important;
    margin-bottom: 24px !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
}

.login-popup .nav-item {
    margin: 0 12px !important;
}

.login-popup .nav-link {
    display: block !important;
    padding: 10px 16px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #64748b !important;
    border: none !important;
    background: transparent !important;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -2px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    height: auto !important;
    box-shadow: none !important;
}

.login-popup .nav-link.active {
    color: #1e3a8a !important;
    border-bottom-color: #1e3a8a !important;
    background: transparent !important;
}

.login-popup .form-group {
    margin-bottom: 16px !important;
    display: flex !important;
    flex-direction: column !important;
}

.login-popup label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.login-popup .form-control {
    width: 100% !important;
    height: 40px !important;
    padding: 8px 12px !important;
    font-size: 13.5px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #1e293b !important;
    outline: none !important;
    transition: border-color 0.15s !important;
}

.login-popup .form-control:focus {
    border-color: #1e3a8a !important;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1) !important;
}

.login-popup .btn-primary {
    background: #1e3a8a !important;
    border: none !important;
    color: #fff !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    height: 42px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background 0.15s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
}

.login-popup .btn-primary:hover {
    background: #1d4ed8 !important;
}

.login-popup .form-checkbox {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 12.5px !important;
    color: #475569 !important;
    margin: 16px 0 24px !important;
}

.login-popup .form-checkbox a {
    color: #1e3a8a !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.login-popup .form-checkbox a:hover {
    text-decoration: underline !important;
}

/* ============================================================
   MAGNIFIC POPUP TRANSITION & POSITIONING OVERRIDES FOR HOMEPAGE
   ============================================================ */
.mfp-bg {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1042;
    overflow: hidden;
    position: fixed;
    background: #0b0b0b;
    opacity: 0.6 !important;
}

.mfp-wrap {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1043;
    position: fixed;
    outline: none !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    padding: 0 8px;
    box-sizing: border-box;
}

.mfp-container:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.mfp-content {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 0 auto;
    text-align: left;
    z-index: 1045;
}

/* Magnific Popup Close Button Styling */
.mfp-close {
    width: 44px;
    height: 44px;
    line-height: 44px;
    position: absolute;
    right: 0;
    top: 0;
    text-decoration: none;
    text-align: center;
    opacity: 0.65;
    color: #333 !important;
    font-style: normal;
    font-size: 28px;
    font-family: Arial, Baskerville, monospace;
    cursor: pointer;
    background: transparent;
    border: none;
}
.mfp-close:hover {
    opacity: 1;
}

/* Fade Effect Animations */
.mfp-fade.mfp-bg {
    opacity: 0 !important;
    transition: opacity 0.3s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.6 !important;
}
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0 !important;
}

.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
    transform: translateY(0);
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
    transform: translateY(-20px);
}

/* ============================================================
   HEADER TEXT NAV LINK HOVER EFFECT
   ============================================================ */
.text-link-nav {
    transition: color 0.15s ease-in-out !important;
}
.text-link-nav:hover {
    color: #1e3a8a !important;
}

/* ============================================================
   TAB PANE VISIBILITY RULES FOR POPUP
   ============================================================ */
.login-popup .tab-pane {
    display: none !important;
}
.login-popup .tab-pane.active {
    display: block !important;
}

/* ============================================================
   UNIFIED LOGIN & REGISTER POPUP GLOBAL OVERRIDES FOR ALL PAGES
   ============================================================ */
.login-popup {
    background: #fff !important;
    max-width: 480px !important;
    margin: 40px auto !important;
    padding: 30px !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    position: relative !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Neutralize any legacy boxed/tabs layouts inside the login popup */
.login-popup .tab-nav-boxed,
.login-popup .tab-nav-center,
.login-popup .tab {
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.login-popup .nav-tabs {
    display: flex !important;
    justify-content: center !important;
    border-bottom: 2px solid #e2e8f0 !important;
    margin-bottom: 24px !important;
    padding: 0 !important;
    list-style: none !important;
    background: transparent !important;
}

.login-popup .nav-tabs .nav-item {
    border: none !important;
    background: transparent !important;
    margin: 0 12px !important;
    padding: 0 !important;
}

.login-popup .nav-tabs .nav-link {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    color: #64748b !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 10px 16px !important;
    margin: 0 !important;
    transition: all 0.2s !important;
    box-shadow: none !important;
    outline: none !important;
}

.login-popup .nav-tabs .nav-link.active {
    color: #1e3a8a !important;
    border-bottom-color: #1e3a8a !important;
    background: transparent !important;
}

.login-popup .nav-tabs .nav-link:hover {
    color: #1e3a8a !important;
}

.login-popup .form-group {
    margin-bottom: 16px !important;
    display: flex !important;
    flex-direction: column !important;
}

.login-popup label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1e293b !important;
    margin-bottom: 6px !important;
    display: block !important;
}

.login-popup .form-control {
    width: 100% !important;
    height: 40px !important;
    padding: 8px 12px !important;
    font-size: 13.5px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #1e293b !important;
    outline: none !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.15s !important;
}

.login-popup .form-control:focus {
    border-color: #1e3a8a !important;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1) !important;
}

.login-popup .btn-primary,
.login-popup button[type="submit"] {
    background: #1e3a8a !important;
    border: 1px solid #1e3a8a !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    height: 42px !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    transition: background 0.15s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.login-popup .btn-primary:hover,
.login-popup button[type="submit"]:hover {
    background: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
}

.login-popup .form-checkbox {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 13px !important;
    color: #475569 !important;
    margin: 16px 0 24px !important;
}

.login-popup .form-checkbox input[type="checkbox"] {
    margin-right: 8px !important;
}

.login-popup .form-checkbox label {
    font-weight: 500 !important;
    color: #475569 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    cursor: pointer !important;
}

.login-popup .form-checkbox a {
    color: #1e3a8a !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

/* ============================================================
   HOME & CONTENT PAGES LAYOUT SYSTEM
   ============================================================ */
.container {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 50px !important;
    padding-left: 50px !important;
    box-sizing: border-box !important;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

.row > [class*="col-"] {
    padding-right: 12px;
    padding-left: 12px;
    box-sizing: border-box;
}

/* Flex Column Widths */
.col-12 { flex: 0 0 100%; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }

@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 25%; max-width: 25%; }
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-md-6 { flex: 0 0 50%; max-width: 50%; }
    .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

@media (min-width: 992px) {
    .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

/* Alignments & Utility Classes */
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }

.g-3 > [class*="col-"] { padding: 8px !important; }
.g-4 > [class*="col-"] { padding: 12px !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }
.mb-5 { margin-bottom: 32px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 24px !important; }
.me-1 { margin-right: 4px !important; }
.me-2 { margin-right: 8px !important; }
.p-3 { padding: 16px !important; }
.p-4 { padding: 24px !important; }
.py-2 { padding-top: 8px !important; padding-bottom: 8px !important; }
.px-4 { padding-left: 24px !important; padding-right: 24px !important; }
.px-5 { padding-left: 40px !important; padding-right: 40px !important; }

.bg-light { background-color: #f8fafc !important; }
.border { border: 1px solid #e2e8f0 !important; }
.rounded { border-radius: 8px !important; }
.shadow-sm { box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    border: 1.5px solid transparent;
    padding: 10px 22px;
    font-size: 14px;
    border-radius: 6px;
    transition: all 0.2s ease-in-out;
    text-decoration: none !important;
}

.btn-primary {
    color: #ffffff !important;
    background-color: #1e3a8a !important;
    border-color: #1e3a8a !important;
}
.btn-primary:hover {
    background-color: #1d4ed8 !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.btn-outline-primary {
    color: #1e3a8a !important;
    background-color: transparent !important;
    border-color: #1e3a8a !important;
}
.btn-outline-primary:hover {
    color: #ffffff !important;
    background-color: #1e3a8a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.btn-lg {
    padding: 12px 28px !important;
    font-size: 15px !important;
    border-radius: 8px !important;
}

.fw-bold { font-weight: 700 !important; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.bg-primary { background-color: #1e3a8a !important; color: #ffffff !important; }
.text-muted { color: #64748b !important; }
.text-primary { color: #1e3a8a !important; }
.text-success { color: #16a34a !important; }
.text-warning { color: #d97706 !important; }
.text-info { color: #0284c7 !important; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .meesho-slider-section {
        margin-bottom: 20px;
    }
    .cmd-wrapper {
        padding: 20px !important;
    }
    .cmd-img {
        max-width: 200px !important;
    }
    .section-title {
        font-size: 1.6rem !important;
    }
}

/* Desktop-only Sticky Menu & Mobile Sticky Header Configuration */
@media (min-width: 769px) {
    .header-simple-wrapper {
        position: relative !important;
        top: auto !important;
        box-shadow: none !important;
    }
    .sub-nav-categories {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
    }
}
@media (max-width: 768px) {
    .header-simple-wrapper {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        box-shadow: var(--shadow-sm) !important;
    }
    .sub-nav-categories {
        position: relative !important;
        top: auto !important;
        box-shadow: none !important;
    }
}

/* ── Scroll Top Button Fix ── */
#scroll-top {
    bottom: -4rem;
    right: 1.5rem;
}
#scroll-top.show {
    bottom: 25px !important;
    opacity: 1;
}
