@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anek+Bangla:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #6d2ae8;
    --primary-light: #8b5ef6;
    --primary-dark: #4b1ea8;
    --accent: #ff6b2c;
    --accent-hover: #ea5600;
    --success: #21a469;
    --warning: #ffb000;
    --text: #1f1f2a;
    --text-light: #667085;
    --bg: #ffffff;
    --bg-gray: #f7f5ff;
    --heading: #1b1633;
    --border: #ece8f8;
    --shadow: 0 8px 22px rgba(66, 33, 130, 0.08);
    --shadow-lg: 0 14px 38px rgba(66, 33, 130, 0.16);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --font: 'Hind Siliguri', 'Anek Bangla', 'Noto Sans Bengali', 'Siyam Rupali', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --heading-font: 'Hind Siliguri', 'Anek Bangla', 'Noto Sans Bengali', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: #f6f7fb;
    overflow-x: hidden;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

.site-header, .site-content, .site-main, .page-content, .container, .home-layout, .home-main, .featured-header-wrapper, .products-row, .best-selling-slider-wrap, .two-category-grid { max-width: 100%; min-width: 0; }

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.site-content { margin-left: 0; }


h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    color: var(--heading);
    line-height: 1.4;
    margin-top: 0;
}

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; font-size: 15px; font-weight: 600;
    border-radius: var(--radius); border: 2px solid transparent;
    cursor: pointer; transition: var(--transition);
    text-align: center; line-height: 1.4;
    justify-content: center;
    font-family: var(--font);
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(211,47,47,0.3); }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-success:hover { background: #1b5e20; border-color: #1b5e20; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(46,125,50,0.3); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: var(--radius-sm); }

/* === CATEGORY SIDEBAR === */
/* === TOPBAR === */
.topbar {
    background: linear-gradient(90deg, #4b1ea8 0%, #5f2ecb 50%, #4b1ea8 100%);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    overflow: hidden;
}
.topbar-inner { text-align: center; }
.topbar-center { display: flex; justify-content: center; align-items: center; }
.topbar-ticker {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    min-height: 1.8em;
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    animation: tickerPulse 3s ease-in-out infinite;
    opacity: 0.85;
}
.ticker-item:nth-child(2) { animation-delay: 1s; }
.ticker-item:nth-child(3) { animation-delay: 2s; }
.ticker-item a { color: inherit; text-decoration: underline; }
.ticker-item a:hover { color: #fff; }

@keyframes tickerPulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.04); }
}

/* === HEADER === */
.site-header {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 2px 12px rgba(75, 30, 168, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    gap: 20px;
}
.site-branding { flex-shrink: 0; }
.site-branding .custom-logo { max-height: 55px; width: auto; }
.site-title { font-family: var(--heading-font); margin: 0; font-size: 22px; font-weight: 800; }
.site-title a { color: var(--primary-dark); display: flex; align-items: center; gap: 6px; }
.site-description { margin: 2px 0 0; font-size: 11px; color: var(--text-light); }

.header-search { flex: 1; max-width: 520px; position: relative; }
.search-form {
    display: flex;
    border: 2px solid var(--primary);
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(27,94,32,0.1);
}
.search-form .search-field {
    flex: 1;
    border: none;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
    font-family: var(--font);
}
.search-form .search-submit {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 22px;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}
.search-form .search-submit:hover { background: var(--accent-hover); }

.search-suggestions {
    display: none;
    position: absolute;
    top: 100%;
    left: 10px;
    width: 360px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    max-height: 360px;
    overflow-y: auto;
    margin-top: 4px;
}
.search-suggestions.active { display: block; }
.ss-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.ss-item:last-child { border-bottom: none; }
.ss-item:hover { background: var(--bg-gray); }
.ss-item-img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; flex-shrink: 0; }
.ss-info { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ss-name { font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-price { font-size: 12px; color: var(--accent); font-weight: 700; }
.ss-no-result { padding: 14px; text-align: center; color: var(--text-light); font-size: 13px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-action-btn {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--bg-gray);
    font-size: 20px;
    transition: var(--transition);
    position: relative;
}
.header-action-btn:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.header-cart-btn {
    display: flex; align-items: center; gap: 6px;
    background: var(--bg-gray);
    padding: 8px 16px 8px 12px;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
}
.header-cart-btn:hover { background: var(--primary); }
.header-cart-btn:hover .cart-icon,
.header-cart-btn:hover .cart-amount { color: #fff; }
.cart-icon { font-size: 20px; color: var(--text); }
.header-cart-btn .cart-count {
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    position: absolute;
    top: -6px; left: -4px;
}
.cart-amount { font-size: 14px; font-weight: 700; color: var(--primary-dark); }

.menu-toggle { display: none; background: none; border: none; font-size: 28px; cursor: pointer; color: var(--primary-dark); padding: 4px; }

/* === NAVIGATION === */
.main-navigation {
    background: linear-gradient(135deg, #5f2ecb 0%, #4b1ea8 100%);
    border-top: 1px solid rgba(255,255,255,0.1);
}
.nav-inner { display: flex; align-items: stretch; position: relative; }



#primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}
#primary-menu li { position: relative; }
#primary-menu a {
    display: block;
    padding: 12px 20px;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    font-family: var(--font);
    letter-spacing: 0.5px;
}
#primary-menu a:hover,
#primary-menu .current-menu-item a,
#primary-menu .current_page_item a {
    background: var(--primary-dark);
    color: #fff;
}
#primary-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: var(--shadow-lg);
    z-index: 200;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    min-width: 200px;
    border-radius: 0 0 var(--radius) var(--radius);
}
#primary-menu li:hover > .sub-menu { display: block; }
#primary-menu .sub-menu a { color: var(--text); }
#primary-menu .sub-menu a:hover { background: #f0f7f0; }

.nav-hotline {
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

/* === HERO === */
.hero-section {
    background: var(--bg-gray);
    padding: 30px 0;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 20px;
    align-items: stretch;
}

/* Slider */
.hero-slider-wrap {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #e8e8e8;
    min-height: 320px;
    box-shadow: var(--shadow);
}
.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: block;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    display: block;
}

.hero-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.hero-slider-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}
.hero-slider-dots span.active {
    background: #fff;
    width: 26px;
    border-radius: 5px;
}

/* Side image */
.hero-side-wrap {
    border-radius: 16px;
    overflow: hidden;
    background: #e8e8e8;
    min-height: 320px;
}
.hero-side-link {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
}
.hero-side-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* === SECTIONS === */
.section { padding: 70px 0; }
.section-bg { background: var(--bg-gray); }
.section-header { text-align: center; margin-bottom: 45px; }
.section-title { font-family: var(--heading-font); font-size: 32px; margin-bottom: 8px; }
.section-title span { color: var(--primary); }
.section-desc { color: var(--text-light); font-size: 16px; max-width: 600px; margin: 0 auto; }
.section-header-left { text-align: left; margin-bottom: 30px; }
.section-header-left .section-title {
    display: flex; align-items: center; gap: 14px; margin-bottom: 0;
}
.section-header-left .section-title::after {
    content: ''; flex: 1; height: 1px; background: var(--primary);
    border-radius: 2px; min-width: 60px;
}
.section-header-left .section-desc { margin: 0; }
.section-cat-wise { padding-top: 30px; padding-bottom: 40px; }

/* === CATEGORIES SLIDER === */
.categories-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}
.categories-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0;
    flex: 1;
}
.categories-row::-webkit-scrollbar { display: none; }
.categories-row .category-card {
    flex: 0 0 auto;
    width: calc(100% / 8 - 14px);
    min-width: 140px;
}
.categories-row .category-image { height: 120px; }
.cat-slide-arrow {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}
.cat-slide-arrow:hover { background: var(--primary); color: #fff; }
.cat-slide-arrow:disabled { opacity: 0.3; cursor: default; background: #eee; color: #999; border-color: #ccc; }
.category-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid #f0f0f0;
}
.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.category-image {
    height: 160px;
    overflow: hidden;
    background: var(--bg-gray);
}
.category-image img { width: 100%; height: 100%; object-fit: cover; transition: all 0.4s ease; }
.category-card:hover .category-image img { transform: scale(1.08); }
.category-info { padding: 16px 16px 18px; text-align: center; }
.category-name { font-family: var(--heading-font); font-size: 18px; margin: 0 0 6px; color: var(--primary-dark); font-weight: 600; }
.category-count { font-family: var(--font); font-size: 13px; color: var(--text-light); background: var(--bg-gray); padding: 3px 14px; border-radius: 12px; display: inline-block; }

/* === ALL CATEGORIES PAGE === */
.section-all-categories-page {
    padding: 40px 0 60px;
}
.all-categories-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}
.page-title {
    font-family: var(--heading-font);
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0 0 12px;
    letter-spacing: -0.5px;
}
.page-subtitle {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.categories-main-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding: 0 20px;
}

.category-main-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}
.category-main-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}
.category-main-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.category-main-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg-gray);
}
.category-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.category-main-card:hover .category-main-image img {
    transform: scale(1.1);
}
.category-product-count {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.category-main-info {
    padding: 20px 20px 24px;
    text-align: center;
}
.category-main-name {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 0 0 16px;
    line-height: 1.3;
}
.category-sub-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
}
.sub-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-gray);
    border-radius: 20px;
    font-size: 12px;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.sub-category-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.sub-cat-name { font-weight: 600; }
.sub-cat-count {
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
}
.sub-category-tag:hover .sub-cat-count {
    background: rgba(255,255,255,0.2);
}
.more-tag {
    color: var(--primary);
    font-weight: 600;
}
.more-tag:hover {
    background: var(--primary);
    color: #fff;
}

.category-expand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    background: var(--bg-gray);
    border: none;
    border-top: 1px solid #f0f0f0;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
}
.category-expand-btn:hover {
    background: var(--primary);
    color: #fff;
}
.expand-icon {
    font-size: 18px;
    line-height: 1;
    transition: transform 0.3s ease;
}
.category-main-card.expanded .expand-icon {
    transform: rotate(45deg);
}

.category-sub-expanded {
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    padding: 20px;
    animation: slideDown 0.3s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.sub-expanded-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.sub-expanded-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.25s ease;
}
.sub-expanded-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.sub-expanded-image {
    height: 100px;
    overflow: hidden;
    background: var(--bg-gray);
}
.sub-expanded-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.sub-expanded-card:hover .sub-expanded-image img {
    transform: scale(1.08);
}
.sub-expanded-info {
    padding: 12px 12px 14px;
    text-align: center;
}
.sub-expanded-name {
    font-family: var(--heading-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 4px;
    line-height: 1.3;
}
.sub-expanded-count {
    font-size: 11px;
    color: var(--text-light);
    background: var(--bg-gray);
    padding: 2px 8px;
    border-radius: 8px;
    display: inline-block;
}

.no-categories-message {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}
.no-categories-message p {
    font-size: 18px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .categories-main-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    .category-main-image { height: 180px; }
    .page-title { font-size: 32px; }
}

@media (max-width: 768px) {
    .section-all-categories-page { padding: 30px 0 40px; }
    .all-categories-header { margin-bottom: 30px; }
    .page-title { font-size: 28px; }
    .page-subtitle { font-size: 15px; }
    .categories-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 16px;
    }
    .category-main-image { height: 160px; }
    .category-main-info { padding: 16px 16px 20px; }
    .category-main-name { font-size: 17px; }
    .category-sub-preview { gap: 6px; }
    .sub-category-tag { padding: 5px 10px; font-size: 11px; }
    .sub-expanded-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .categories-main-grid { grid-template-columns: 1fr; }
    .sub-expanded-grid { grid-template-columns: repeat(3, 1fr); }
}

/* === PRODUCTS GRID === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
}

/* === PRODUCTS ROW === */
.products-row {
    display: grid;
    gap: 24px;
}
.products-row-4 { grid-template-columns: repeat(4, 1fr); }
.section-footer-right {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}
.view-all-link {
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    padding: 6px 0;
}
.view-all-link:hover { color: var(--primary-dark); gap: 10px; }
.view-all-link .arrow-icon {
    font-size: 22px;
    line-height: 1;
    transition: transform 0.2s ease;
}
.view-all-link:hover .arrow-icon { transform: translateX(4px); }

/* === BEST SELLING GRID === */
.best-selling-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.product-card-horizontal {
    list-style: none;
}
.product-card-horizontal-inner {
    display: flex;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    min-height: 180px;
}
.product-card-horizontal-inner:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: var(--primary);
    color: #fff;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}
.pch-image {
    flex: 0 0 40%;
    overflow: hidden;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pch-image a { display: block; width: 100%; height: 100%; }
.pch-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}
.product-card-horizontal-inner:hover .pch-image img { transform: scale(1.05); }
.pch-content {
    flex: 1;
    padding: 18px 20px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}
.pch-title-link { text-decoration: none; color: inherit; }
.pch-title-link:hover { color: var(--primary); }
.pch-title {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--primary-dark);
    line-height: 1.3;
}
.pch-content .price {
    font-size: 16px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pch-content .price del { opacity: 0.5; font-size: 14px; }
.pch-content .price ins { text-decoration: none; font-weight: 700; color: var(--primary); }
.pch-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.pch-btn-cart,
.pch-btn-order {
    flex: 1;
    text-align: center;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font);
    color: #fff;
    line-height: 1.2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.pch-btn-cart { background: var(--primary); border: 2px solid var(--primary); }
.pch-btn-cart:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.pch-btn-order { background: #fff; color: var(--primary) !important; border: 2px solid var(--primary); }
.pch-btn-order:hover { background: var(--bg-gray); color: var(--primary) !important; }

/* === BEST SELLING SLIDER === */
.best-selling-slider-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}
.best-selling-track {
    overflow: hidden;
    position: relative;
    width: 100%;
    max-width: 100%;
}
.best-selling-slides {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
    will-change: transform;
    padding: 4px 0 16px;
    width: max-content;
}
.best-selling-slides > li {
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: 0;
}
.best-selling-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary-dark);
    transition: all 0.2s ease;
    z-index: 10;
}
.best-selling-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(27,94,32,0.3);
}
.best-selling-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.best-selling-prev { left: -22px; }
.best-selling-next { right: -22px; }

@media (max-width: 1200px) {
    .best-selling-slides > li {
        flex: 0 0 calc((100% - 48px) / 3);
        min-width: 0;
    }
}
@media (max-width: 992px) {
    .best-selling-slides > li {
        flex: 0 0 calc((100% - 24px) / 2);
        min-width: 0;
    }
    .best-selling-prev { left: -12px; }
    .best-selling-next { right: -12px; }
}
@media (max-width: 768px) {
    .best-selling-slides > li {
        flex: 0 0 100%;
        min-width: 0;
        width: 100%;
    }
    .best-selling-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    .best-selling-prev { left: -8px; }
    .best-selling-next { right: -8px; }
}

.product-link { display: block; color: inherit; text-decoration: none; }
.product-link:hover { color: inherit; }

.btn-wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.btn-wishlist:hover { background: #fff; transform: scale(1.1); }
.btn-wishlist svg { fill: none; stroke: #999; stroke-width: 2; transition: all 0.2s ease; }
.btn-wishlist.active svg,
.btn-wishlist:hover svg { fill: #e91e63; stroke: #e91e63; }
.btn-wishlist.active:hover svg { fill: #c2185b; stroke: #c2185b; }

.header-action-btn.wishlist-btn { position: relative; font-size: 22px; }
.wishlist-count {
    position: absolute;
    top: -2px;
    right: -4px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 4px;
}

.wishlist-page-wrap { background: var(--bg-gray); min-height: 60vh; padding-bottom: 60px; }
.wishlist-page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 40px 0;
    text-align: center;
    margin-bottom: 30px;
}
.wishlist-page-title { font-size: 32px; margin: 0 0 6px; font-weight: 800; }
.wishlist-page-desc { font-size: 16px; margin: 0; }

.wishlist-empty { text-align: center; padding: 60px 20px; }
.wle-icon { font-size: 48px; display: block; margin-bottom: 16px; }
.wishlist-empty p { font-size: 18px; margin: 0 0 20px; }

.wishlist-header { margin-bottom: 28px; }
.wishlist-heading { margin: 0; }

.wishlist-table-wrap { overflow-x: auto; }
.wishlist-table { width: 100%; border-collapse: collapse; }
.wishlist-table thead th {
    padding: 12px 14px;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid;
    white-space: nowrap;
}
.wl-th-remove { width: 40px; }
.wl-th-img { width: 70px; }
.wl-th-action { width: 90px; }

.wishlist-row { transition: all 0.2s ease; }
.wishlist-row td {
    padding: 14px;
    vertical-align: middle;
    border-bottom: 1px solid;
}
.wl-td-remove { text-align: center; }
.wl-row-remove {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}
.wl-td-img a { display: block; width: 60px; height: 60px; overflow: hidden; border-radius: 6px; }
.wl-td-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wl-td-name a { font-weight: 600; text-decoration: none; }
.wl-td-stock { white-space: nowrap; }
.wl-stock-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}
.wishlist-row .btn { white-space: nowrap; }

.wishlist-card-mobile { display: none; }

@media (max-width: 768px) {
    .wishlist-table thead { display: none; }
    .wishlist-row { display: none; }
    .wishlist-card-mobile { display: table-row; }
    .wishlist-card-mobile td { padding: 10px 0; border: none; }
    .wcm-card {
        display: flex;
        gap: 14px;
        padding: 14px;
        border-radius: 10px;
        position: relative;
        transition: all 0.2s ease;
    }
    .wcm-img { width: 80px; height: 80px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
    .wcm-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
    .wcm-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
    .wcm-name { font-weight: 600; text-decoration: none; }
    .wcm-body .btn { align-self: flex-start; }
    .wcm-card .wl-row-remove {
        position: absolute;
        top: 8px;
        right: 8px;
    }
}

/* === WISHLIST MODAL POPUP === */
.wishlist-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.wishlist-modal-overlay.active { opacity: 1; visibility: visible; }

.wishlist-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 520px;
    max-width: 92vw;
    max-height: 85vh;
    z-index: 100000;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
}
.wishlist-modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }

.wishlist-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-gray);
    border-radius: 16px 16px 0 0;
}
.wishlist-modal-header h3 { margin: 0; font-size: 20px; font-weight: 700; }
.wishlist-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.wishlist-modal-close:hover { background: #e0e0e0; }

.wishlist-modal-body { flex: 1; overflow-y: auto; padding: 16px 0; background: var(--bg); border-radius: 0 0 16px 16px; }
.wishlist-slide-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    gap: 14px;
}
.wse-icon { font-size: 48px; }
.wishlist-slide-empty p { margin: 0; }

.wishlist-slide-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
    position: relative;
    transition: var(--transition);
    background: var(--bg);
}
.wishlist-slide-item:hover { background: var(--bg-gray); }
.wsi-remove {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: var(--transition);
    line-height: 1;
    background: #fee;
}
.wsi-remove:hover { background: var(--accent); color: #fff; }
.wsi-link { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; min-width: 0; }
.wsi-link:hover { color: inherit; }
.wsi-img { width: 60px; height: 60px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: var(--bg-gray); }
.wsi-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wsi-info { flex: 1; min-width: 0; }
.wsi-name { display: block; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--heading); }
.wsi-price { display: block; font-weight: 700; margin-top: 2px; color: var(--accent); }

.wsi-actions { display: flex; gap: 8px; }
.wsi-actions .btn-cart-sm,
.wsi-actions .btn-order-sm {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.3;
}
.wsi-actions .btn-cart-sm { background: var(--primary); color: #fff; }
.wsi-actions .btn-cart-sm:hover { background: var(--primary-dark); color: #fff; }
.wsi-actions .btn-order-sm { background: var(--accent); color: #fff; }
.wsi-actions .btn-order-sm:hover { background: var(--accent-hover); color: #fff; }

@media (max-width: 768px) {
    .wishlist-modal { width: 95vw; max-height: 90vh; }
}

.product-card-inner {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-card-inner .product-link { display: flex; flex-direction: column; flex: 1; }
.product-card-inner .product-title {
    flex-shrink: 1;
    display: block;
    width: 100%;
    text-align: center !important;
}
.product-card-inner .price { padding: 8px 14px 0; text-align: center; margin: 0; }
.product-card-inner .product-actions { margin-top: auto; }
.product-card-inner:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,0,0,0.1); }

.product-thumbnail-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--bg-gray);
    border-radius: 12px 12px 0 0;
}
.product-thumbnail-wrapper img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.4s ease;
}
.product-card-inner:hover .product-thumbnail-wrapper img { transform: scale(1.05); }

.product-actions {
    display: flex;
    gap: 8px;
    padding: 0 14px 18px;
}
.product-actions .btn-cart,
.product-actions .btn-order {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font);
    color: #fff;
    line-height: 1.2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    letter-spacing: 0.3px;
}
.product-actions .btn-cart {
    background: var(--primary);
    border: 2px solid var(--primary);
}
.product-actions .btn-cart:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.product-actions .btn-order {
    background: #fff;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
}
.product-actions .btn-order:hover { background: var(--bg-gray); }

@media (max-width: 768px) {
    .product-actions { padding: 0 8px 10px; gap: 4px; }
    .product-actions .btn-cart,
    .product-actions .btn-order { font-size: 11px; padding: 8px 8px; }
}

.product-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: #fff;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 2;
    line-height: 1.3;
}

.product-title,
.woocommerce-loop-product__title {
    font-size: 13px;
    padding: 12px 10px 3px;
    margin: 0;
    text-align: center;
    color: #222;
    font-weight: 600;
    line-height: 1.4;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.product-excerpt {
    padding: 0 12px;
    font-size: 11px;
    color: #888;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    min-height: 33px;
}
.price {
    display: block;
    text-align: center;
    padding: 2px 12px 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
}
.price del { color: #aaa; font-size: 13px; font-weight: 400; margin-right: 5px; }
.price ins { text-decoration: none; }



/* === BANNERS === */
.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.banner-card {
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    min-height: 280px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    transition: var(--transition);
}
.banner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.banner-content { position: relative; z-index: 1; }
.banner-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #fff;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}
.banner-content h3 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.banner-content p { color: rgba(255,255,255,0.85); font-size: 14px; margin-bottom: 16px; }

/* === TESTIMONIALS === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid #f0f0f0;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testimonial-stars { font-size: 20px; margin-bottom: 14px; }
.testimonial-text {
    color: var(--text);
    font-size: 14px;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 16px;
}
.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.testimonial-name { font-weight: 700; color: var(--primary-dark); font-size: 14px; }
.testimonial-location { font-size: 12px; color: var(--text-light); }

/* === ABOUT === */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-content h2 { font-size: 32px; margin-bottom: 18px; }
.about-content p { color: #555; line-height: 1.9; margin-bottom: 25px; }
.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-gray);
    border-radius: var(--radius);
    border: 1px solid #e8f0e8;
}
.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
}
.stat-label { font-size: 13px; color: var(--text-light); }

/* === FOOTER === */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.85); }

.footer-newsletter {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 45px 0;
}
.footer-newsletter .container { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.newsletter-content h3 { color: #fff; margin-bottom: 4px; font-size: 22px; }
.newsletter-content p { opacity: 0.9; margin: 0; font-size: 14px; }
.newsletter-form { display: flex; flex-shrink: 0; }
.newsletter-form input {
    padding: 14px 20px;
    border: none;
    border-radius: var(--radius) 0 0 var(--radius);
    min-width: 280px;
    font-size: 14px;
    outline: none;
    font-family: var(--font);
}
.newsletter-form button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-family: var(--font);
    font-size: 14px;
}
.newsletter-form button:hover { background: var(--accent-hover); }

.footer-widgets { padding: 60px 0 40px; }
.footer-widgets-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { margin-bottom: 14px; }
.footer-logo .custom-logo { background: #fff; padding: 6px 14px; border-radius: 8px; max-height: 50px; width: auto; height: auto; object-fit: contain; }
.footer-logo h3 { color: #fff; margin: 0; font-size: 22px; }
.footer-desc { opacity: 0.75; line-height: 1.9; margin-bottom: 20px; font-size: 14px; }
.footer-social { display: flex; gap: 14px; }
.social-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    opacity: 0.85;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
}
.social-link:hover { opacity: 1; background: rgba(255,255,255,0.2); }
.footer-social .social-link {
    width: 38px;
    height: 38px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    opacity: 1;
    color: #fff;
}
.footer-social .social-facebook { background: #1877F2; }
.footer-social .social-facebook:hover { background: #0A63C4; transform: translateY(-2px); }
.footer-social .social-whatsapp { background: #25D366; }
.footer-social .social-whatsapp:hover { background: #1DA851; transform: translateY(-2px); }

.footer-widget-title { color: #fff; font-size: 17px; margin-bottom: 18px; font-weight: 700; }
.footer-widgets ul { list-style: none; padding: 0; margin: 0; }
.footer-widgets ul li { margin-bottom: 10px; }
.footer-widgets ul li a { color: rgba(255,255,255,0.7); font-size: 14px; transition: var(--transition); display: flex; align-items: center; gap: 6px; }
.footer-widgets ul li a:hover { color: #fff; padding-left: 4px; }
.footer-contact li { margin-bottom: 10px; font-size: 14px; opacity: 0.85; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    font-size: 13px;
}
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.copyright { margin: 0; opacity: 0.7; }
.footer-payment { margin: 0; opacity: 0.7; display: flex; gap: 16px; }
.footer-dbid { opacity: 0.5; }

/* === MOBILE BOTTOM NAV === */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
    z-index: 9999;
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
    justify-content: space-around;
}
.mb-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 4px 12px;
    color: var(--text-light);
    font-size: 11px;
    position: relative;
}
.mb-nav-item.active { color: var(--primary); }
.mb-icon { font-size: 20px; }
.mb-badge {
    position: absolute;
    top: 0;
    right: 2px;
    background: var(--accent);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === SHOP === */
.shop-layout {
    display: flex;
    gap: 30px;
    padding: 35px 20px;
    align-items: flex-start;
}
.shop-sidebar {
    flex: 0 0 220px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    padding: 20px 0;
    position: sticky;
    top: 20px;
}
.shop-sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    padding: 0 16px 12px;
    margin: 0 0 4px;
    border-bottom: 2px solid var(--primary);
    font-family: var(--font);
}
.shop-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.shop-sidebar-list li { margin: 0; }
.shop-cat-link {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
    font-family: var(--font);
}
.shop-cat-link:hover { background: var(--bg-gray); color: var(--primary); border-left-color: var(--primary); }
.shop-cat-link.active { background: var(--bg-gray); color: var(--primary); font-weight: 700; border-left-color: var(--primary); }

.shop-content {
    flex: 1;
    min-width: 0;
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 30px;
    padding: 14px 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    border: 1px solid #f0f0f0;
}
.shop-toolbar-left .woocommerce-result-count {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-family: var(--font);
    outline: none;
    background: #fff;
    cursor: pointer;
}

.woocommerce-pagination { margin-top: 45px; text-align: center; }
.woocommerce-pagination .page-numbers {
    display: inline-flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.woocommerce-pagination .page-numbers li span,
.woocommerce-pagination .page-numbers li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
}
.woocommerce-pagination .page-numbers li span.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.woocommerce-pagination .page-numbers li a:hover { background: var(--bg-gray); border-color: var(--primary); }

.shop-empty {
    text-align: center;
    padding: 80px 20px;
    font-size: 18px;
    color: var(--text-light);
}

/* === SINGLE PRODUCT === */
/* === SINGLE PRODUCT === */
.sp-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}
.sp-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.sp-gallery {
    display: flex;
    gap: 16px;
    flex-direction: row-reverse;
}
.sp-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 0 0 80px;
}
.sp-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.sp-thumb:hover { border-color: var(--primary); }
.sp-thumb.active { border-color: var(--primary); box-shadow: 0 0 0 2px var(--primary); }
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-gallery-main {
    flex: 1;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-gray);
    position: relative;
}
.sp-gallery-main img { width: 100%; display: block; }

.sp-summary-col { padding-top: 0; }
.sp-title { font-size: 30px; font-weight: 800; color: var(--primary-dark); margin: 0 0 12px; line-height: 1.25; }
.sp-price { font-size: 28px; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
.sp-price del { opacity: 0.5; font-size: 20px; font-weight: 400; margin-right: 10px; }
.sp-price ins { text-decoration: none; }
.sp-desc { font-size: 15px; color: #555; line-height: 1.8; margin-bottom: 18px; }
.sp-stock { margin-bottom: 20px; }
.sp-stock .in-stock { color: var(--primary); font-weight: 600; font-size: 14px; }
.sp-stock .out-of-stock { color: var(--accent); font-weight: 600; font-size: 14px; }

.sp-qty-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.sp-qty-row label { font-weight: 600; font-size: 14px; color: var(--primary-dark); }
.sp-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}
.sp-qty-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--bg-gray);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    color: var(--text);
    font-weight: 600;
}
.sp-qty-btn:hover { background: #e0e0e0; }
.sp-qty input {
    width: 50px;
    height: 44px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    -moz-appearance: textfield;
}
.sp-qty input::-webkit-outer-spin-button,
.sp-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.sp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 460px;
}
.sp-actions .sp-btn { flex: 0 0 calc(50% - 5px); }
.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    font-family: var(--font);
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
}
.sp-btn-cart {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.sp-btn-cart:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(27,94,32,0.3); }
.sp-btn-buy {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.sp-btn-buy:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(211,47,47,0.3); }
.sp-share-row .sp-btn-whatsapp,
.sp-share-row a.sp-btn-whatsapp {
    background: #25D366 !important;
    background-color: #25D366 !important;
    color: #ffffff !important;
    border: 2px solid #25D366 !important;
    box-shadow: 0 2px 8px rgba(37,211,102,0.32);
}
.sp-share-row .sp-btn-whatsapp:hover,
.sp-share-row a.sp-btn-whatsapp:hover {
    background: #1DA851 !important;
    background-color: #1DA851 !important;
    border-color: #1DA851 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37,211,102,0.45);
}
.sp-share-row .sp-btn-call,
.sp-share-row a.sp-btn-call {
    background: #1877F2 !important;
    background-color: #1877F2 !important;
    color: #ffffff !important;
    border: 2px solid #1877F2 !important;
    box-shadow: 0 2px 8px rgba(24,119,242,0.28);
}
.sp-share-row .sp-btn-call:hover,
.sp-share-row a.sp-btn-call:hover {
    background: #0A63C4 !important;
    background-color: #0A63C4 !important;
    border-color: #0A63C4 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(24,119,242,0.4);
}

/* === TABS === */
.sp-tabs { margin-top: 60px; }
.sp-tabs-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
}
.sp-tabs-nav li a {
    display: block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all 0.2s ease;
    font-family: var(--font);
}
.sp-tabs-nav li.active a,
.sp-tabs-nav li a:hover { color: var(--primary); border-bottom-color: var(--primary); }
.sp-tab-content {
    display: none;
    padding: 30px 0;
    font-size: 15px;
    line-height: 1.9;
    color: #555;
}
.sp-tab-content.active { display: block; }
.sp-tab-content h2 { font-size: 22px; margin-bottom: 16px; color: var(--primary-dark); }

/* === RELATED === */
.sp-related { margin-top: 60px; }
.sp-related-title { font-size: 26px; font-weight: 700; color: var(--primary-dark); margin-bottom: 28px; }
ul.sp-related-grid {
    display: grid;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    grid-template-columns: repeat(5, 1fr);
}
ul.sp-related-grid > li {
    margin: 0 !important;
    width: auto !important;
    float: none !important;
    clear: none !important;
}

/* === SINGLE PRODUCT RESPONSIVE === */
@media (max-width: 1024px) {
    .sp-layout { grid-template-columns: 1fr; gap: 30px; }
    .sp-gallery { flex-direction: column-reverse; }
    .sp-gallery-thumbs { flex-direction: row; flex: 0 0 auto; overflow-x: auto; }
    .sp-thumb { width: 60px; height: 60px; flex-shrink: 0; }
    ul.sp-related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .sp-wrapper { padding: 20px 15px 40px; }
    .sp-title { font-size: 22px; }
    .sp-price { font-size: 22px; }
    .sp-actions { flex-direction: column; }
    .sp-btn { justify-content: center; }
    .sp-thumb { width: 50px; height: 50px; }
    ul.sp-related-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-tabs-nav li a { padding: 12px 18px; font-size: 14px; }
}
.woocommerce ul.products, ul.products {
    display: grid;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.woocommerce ul.products.columns-5, ul.products.columns-5 { grid-template-columns: repeat(5, 1fr); }
.woocommerce ul.products.columns-4, ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
.woocommerce ul.products.columns-3, ul.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
.woocommerce ul.products.columns-2, ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
.woocommerce ul.products.columns-1, ul.products.columns-1 { grid-template-columns: 1fr; }
.woocommerce ul.products li.product, ul.products li.product { margin: 0; list-style: none; }

/* =============== CART PAGE =============== */
.woocommerce-cart .page-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-dark);
    text-align: center;
}
.cart-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.cart-step {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}
.cart-step.active { color: var(--primary); }
.cart-step.completed { color: var(--success); }
.cart-step .step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    font-weight: 700;
    font-size: 14px;
}
.cart-step.active .step-num { background: var(--primary); color: #fff; }
.cart-step.completed .step-num { background: var(--success); color: #fff; }

.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty-icon { font-size: 64px; margin-bottom: 16px; }
.cart-empty h2 { font-size: 24px; margin-bottom: 10px; }
.cart-empty p { color: var(--text-light); margin-bottom: 24px; }

.cart-wrapper { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }

.cart-items { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-image { width: 100px; height: 100px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-gray); }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details {}
.cart-item-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.cart-item-name a { color: var(--text); }
.cart-item-name a:hover { color: var(--primary); }
.cart-item-price { font-size: 15px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.cart-item-actions { display: flex; align-items: center; gap: 12px; }
.cart-item-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.cart-item-qty button {
    background: none;
    border: none;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    font-family: var(--font);
}
.cart-item-qty button:hover { background: var(--bg-gray); }
.cart-item-qty input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 8px 4px;
    font-size: 14px;
    outline: none;
    font-family: var(--font);
}
.cart-item-remove {
    cursor: pointer;
    transition: var(--transition);
    background: #fee;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    text-decoration: none;
}
.cart-item-remove:hover { background: var(--accent); color: #fff; }
.cart-item-total {
    text-align: right;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
}

.cart-summary {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    position: sticky;
    top: 100px;
}
.cart-summary h3 { font-size: 20px; margin-bottom: 20px; color: var(--primary-dark); }
.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}
.cart-summary-row.total { border-bottom: none; font-size: 18px; font-weight: 700; color: var(--primary-dark); padding-top: 16px; }
.cart-coupon { margin: 20px 0; }
.cart-coupon form { display: flex; gap: 8px; }
.cart-coupon input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    font-family: var(--font);
}
.cart-coupon button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-family: var(--font);
}
.cart-coupon button:hover { background: var(--primary-dark); }
.checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent);
    color: #fff;
    padding: 16px;
    border-radius: var(--radius);
    font-size: 17px;
    font-weight: 700;
    margin-top: 20px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: var(--font);
}
.checkout-btn:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(211,47,47,0.3); }

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 14px;
    font-size: 14px;
    color: var(--primary);
}

.woocommerce-cart .btn-primary,
.woocommerce-cart .btn-outline,
.woocommerce-cart .checkout-btn,
.woocommerce-cart .cart-coupon button {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    transition: color 0.3s ease;
}
.woocommerce-cart .btn-primary::before,
.woocommerce-cart .btn-outline::before,
.woocommerce-cart .checkout-btn::before,
.woocommerce-cart .cart-coupon button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.woocommerce-cart .btn-primary:hover,
.woocommerce-cart .btn-outline:hover,
.woocommerce-cart .checkout-btn:hover,
.woocommerce-cart .cart-coupon button:hover {
    color: #fff;
    box-shadow: none;
    transform: none;
}
.woocommerce-cart .btn-primary:hover::before,
.woocommerce-cart .btn-outline:hover::before,
.woocommerce-cart .checkout-btn:hover::before,
.woocommerce-cart .cart-coupon button:hover::before {
    transform: scaleX(1);
}
.woocommerce-cart .continue-shopping {
    color: var(--primary-dark);
}
.woocommerce-cart .continue-shopping:hover {
    color: var(--primary);
}

/* =============== CHECKOUT PAGE =============== */
.checkout-page-wrap { padding: 35px 0; }
.checkout-page-wrap .page-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-dark);
    text-align: center;
}

.checkout-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 28px; align-items: start; }

.checkout-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 24px;
}
.checkout-card-body { padding: 20px 24px; }

.checkout-field { margin-bottom: 18px; }
.checkout-field label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}
.checkout-field .required { color: var(--accent); }
.checkout-field input,
.checkout-field textarea,
.checkout-field select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
    font-family: var(--font);
    background: #fff;
}
.checkout-field input:focus,
.checkout-field textarea:focus,
.checkout-field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,94,32,0.08); }
.checkout-field textarea { resize: vertical; min-height: 80px; }
.checkout-field select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    outline: none;
    font-family: var(--font);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
.checkout-field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27,94,32,0.08); }

/* Checkout Order Summary */
.cos-item {
    display: flex;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}
.cos-item:last-child { border-bottom: none; }
.cos-item-img img { width: 55px; height: 55px; border-radius: 8px; object-fit: cover; background: var(--bg-gray); }
.cos-item-info { flex: 1; min-width: 0; }
.cos-item-name { font-size: 14px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cos-item-meta { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.cos-item-price { font-weight: 700; font-size: 15px; color: var(--accent); white-space: nowrap; }

.cos-totals { margin-top: 16px; padding-top: 10px; border-top: 2px solid var(--border); }
.cos-total-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}
.cos-grand-total {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
    border-top: 2px solid var(--border);
    margin-top: 6px;
    padding-top: 14px;
}
.cos-delivery { color: var(--primary); font-weight: 600; }
.cos-free { color: var(--success); font-weight: 600; }
.cos-discount { color: var(--success); font-weight: 600; }

.cos-place-order { display: none; }

#payment { background: transparent; padding: 0; border-radius: var(--radius-sm); margin-bottom: 0; }
#payment .payment_methods { list-style: none; padding: 0; margin: 0; }
#payment .payment_methods li { padding: 10px 0; border-bottom: 1px solid var(--border); }
#payment .payment_methods li:last-child { border-bottom: none; }
#payment .payment_methods label { font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 8px; font-size: 14px; }
#payment .payment_methods input { margin-right: 6px; }
#payment .payment_box { background: #fff; padding: 12px; border-radius: var(--radius-sm); margin-top: 8px; font-size: 13px; }

/* Checkout styles live in checkout.css (enqueued on checkout only). */
.woocommerce-form-coupon-toggle { display: none !important; }
.woocommerce-checkout-review-order-table { /* table layout replaced by custom summary */ }
.checkout-page-wrap .page-title,
.cart-steps { display: none; }
.checkout-page-wrap { padding: 20px 0; }
.checkout-page-wrap .woocommerce-privacy-policy-text { display: none; }

.woocommerce-NoticeGroup-checkout { margin-bottom: 16px; }
.woocommerce-NoticeGroup-checkout .woocommerce-error {
    background: #fff3f3;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    list-style: none;
    margin: 0;
    font-size: 14px;
}
.woocommerce-NoticeGroup-checkout .woocommerce-error li {
    color: var(--accent);
    margin-bottom: 4px;
}
.woocommerce-NoticeGroup-checkout .woocommerce-error li:last-child { margin-bottom: 0; }

@media (max-width: 992px) {
    .checkout-grid { grid-template-columns: 1fr; }
}

/* =============== MY ACCOUNT =============== */
.woocommerce-account .page-title { font-size: 28px; margin-bottom: 30px; color: var(--primary-dark); }
.woocommerce-MyAccount-navigation {
    width: 220px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; }
.woocommerce-MyAccount-navigation ul li { border-bottom: 1px solid #f0f0f0; }
.woocommerce-MyAccount-navigation ul li:last-child { border-bottom: none; }
.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}
.woocommerce-MyAccount-navigation ul li a:hover { background: var(--bg-gray); color: var(--primary); }
.woocommerce-MyAccount-navigation ul li.is-active a { background: var(--primary); color: #fff; }

.woocommerce-MyAccount-content {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 30px;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.woocommerce-account .woocommerce .container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
    padding-bottom: 40px;
}
.woocommerce-account .woocommerce .container > .page-title {
    flex: 0 0 100%;
    margin-bottom: 0;
}
.woocommerce-account .woocommerce-MyAccount-content .wishlist-header svg { display: none; }
.woocommerce-account .woocommerce-MyAccount-content .wishlist-page-header,
.woocommerce-account .woocommerce-MyAccount-content .wishlist-page-wrap { background: none; padding: 0; margin: 0; min-height: auto; }
.woocommerce-account .woocommerce-MyAccount-content .wishlist-table-wrap { overflow: visible; }
.woocommerce-account .woocommerce-MyAccount-content .wishlist-table thead { display: none; }
.woocommerce-account .woocommerce-MyAccount-content .wishlist-row { display: none; }
.woocommerce-account .woocommerce-MyAccount-content .wishlist-card-mobile { display: table-row; }
.woocommerce-account .woocommerce-MyAccount-content .wishlist-card-mobile td { padding: 10px 0; border: none; }
.woocommerce-account .woocommerce-MyAccount-content .wcm-card {
    display: flex;
    gap: 14px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-gray);
    position: relative;
    transition: all 0.2s ease;
}
.woocommerce-account .woocommerce-MyAccount-content .wcm-img { width: 80px; height: 80px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-content .wcm-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.woocommerce-account .woocommerce-MyAccount-content .wcm-body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.woocommerce-account .woocommerce-MyAccount-content .wcm-name { font-weight: 600; text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-content .wcm-actions { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.woocommerce-account .woocommerce-MyAccount-content .wcm-actions .btn { font-size: 12px; padding: 5px 10px; white-space: nowrap; }
.woocommerce-account .woocommerce-MyAccount-content .wcm-card .wl-row-remove {
    position: absolute;
    top: 8px;
    right: 8px;
}
.woocommerce-MyAccount-content .woocommerce-Address {
    background: var(--bg-gray);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.woocommerce-MyAccount-content .woocommerce-Address-title h3 { font-size: 18px; color: var(--primary-dark); }
.woocommerce-MyAccount-content .woocommerce-Address-title a { font-size: 13px; }
.woocommerce-MyAccount-content address { font-style: normal; line-height: 1.8; }
.woocommerce-MyAccount-content .shop_table { width: 100%; border-collapse: collapse; }
.woocommerce-MyAccount-content .shop_table th,
.woocommerce-MyAccount-content .shop_table td {
    padding: 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 14px;
}
.woocommerce-MyAccount-content .shop_table th { background: var(--bg-gray); font-weight: 600; }
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-number a { color: var(--primary); font-weight: 600; }
.woocommerce-MyAccount-content .button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    font-family: var(--font);
}
.woocommerce-MyAccount-content .button:hover { background: var(--primary-dark); }

.woocommerce-EditAccountForm { max-width: 600px; }
.woocommerce-EditAccountForm fieldset { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin: 24px 0; }
.woocommerce-EditAccountForm fieldset legend { font-weight: 700; font-size: 16px; color: var(--primary-dark); padding: 0 10px; }
.woocommerce-EditAccountForm .form-row { margin-bottom: 18px; }
.woocommerce-EditAccountForm .form-row-first { float: left; width: 48%; }
.woocommerce-EditAccountForm .form-row-last { float: right; width: 48%; }
.woocommerce-EditAccountForm .clear { clear: both; }
.woocommerce-EditAccountForm .form-row-wide { clear: both; }
.woocommerce-EditAccountForm label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 14px; color: var(--primary-dark); }
.woocommerce-EditAccountForm label .required { color: var(--accent); }
.woocommerce-EditAccountForm .input-text {
    width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-family: var(--font); font-size: 14px; transition: var(--transition); background: #fafafa;
}
.woocommerce-EditAccountForm .input-text:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(27,94,32,0.12); background: #fff; }
.woocommerce-EditAccountForm .woocommerce-Button {
    background: var(--primary) !important; color: #fff !important; border: none !important;
    padding: 12px 30px !important; border-radius: var(--radius-sm) !important;
    font-size: 15px !important; font-weight: 700 !important; cursor: pointer !important;
    transition: all 0.2s ease !important; font-family: var(--font) !important;
}
.woocommerce-EditAccountForm .woocommerce-Button:hover { background: var(--primary-dark) !important; transform: translateY(-1px); }
.woocommerce-EditAccountForm .description em { font-size: 12px; color: var(--text-light); font-style: normal; display: block; margin-top: 4px; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .banner-grid { grid-template-columns: 1fr 1fr; }
    .cart-wrapper { grid-template-columns: 1fr; }
    .checkout-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
    .header-search { max-width: 300px; }
    .footer-widgets-inner { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .single-product .product { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .categories-row .category-card { min-width: 120px; }
    .categories-row .category-image { height: 100px; }
    .cat-slide-arrow { width: 34px; height: 34px; font-size: 20px; }
    .woocommerce-account .woocommerce .container { flex-direction: column; }
    .woocommerce-MyAccount-navigation { width: 100%; }
    .woocommerce-MyAccount-content { margin-left: 0; }
}

@media (max-width: 768px) {
.site-content { margin-left: 0; }

    .topbar-ticker { gap: 16px; font-size: 12px; }
    .header-inner { flex-wrap: wrap; }
    .header-search { order: 3; max-width: 100%; flex-basis: 100%; }
    .header-actions { gap: 8px; }
    .menu-toggle { display: block; }
    #primary-menu { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background: var(--primary); z-index: 100; }
    #primary-menu.toggled { display: flex; }
    .nav-inner { flex-direction: column; }
    #primary-menu .sub-menu { position: static; box-shadow: none; padding-left: 20px; background: rgba(0,0,0,0.1); }
    #primary-menu .sub-menu a { color: rgba(255,255,255,0.8); }
    .nav-hotline { display: none; }
    .hero-section { padding: 20px 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 14px; }
    .hero-slider-wrap { min-height: 200px; }
    .hero-slider { min-height: 200px; }
    .hero-slide img { min-height: 200px; }
    .hero-side-wrap { min-height: auto; }
    .hero-side-link { min-height: auto; }
    .section { padding: 45px 0; }
    .section-title { font-size: 24px; }
    .categories-row .category-card { min-width: 110px; }
    .categories-row .category-image { height: 90px; }
    .cat-slide-arrow { width: 30px; height: 30px; font-size: 18px; }
    .products-row-4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .best-selling-grid { grid-template-columns: 1fr; gap: 20px; }
    .product-card-horizontal-inner { min-height: 150px; }
    .pch-content { padding: 14px 16px 12px; }
    .pch-title { font-size: 15px; }
    .pch-content .price { font-size: 14px; }
    .pch-content .price del { font-size: 12px; }
    .pch-btn-cart, .pch-btn-order { font-size: 12px; padding: 8px 10px; }
    .product-thumbnail-wrapper img { height: 220px; }
    .banner-grid { grid-template-columns: 1fr; }
    .banner-card { min-height: 220px; padding: 30px 24px; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .stat-item { padding: 14px; }
    .stat-number { font-size: 22px; }
    .footer-newsletter .container { flex-direction: column; text-align: center; }
    .newsletter-form input { min-width: auto; width: 200px; }
    ul.products.columns-5 { grid-template-columns: repeat(3, 1fr); }
    ul.products.columns-4 { grid-template-columns: repeat(2, 1fr); }
    ul.products.columns-3 { grid-template-columns: repeat(2, 1fr); }
    .shop-layout { flex-direction: column; padding: 24px 16px; }
    .shop-sidebar { flex: none; width: 100%; position: static; padding: 12px 0; }
    .shop-sidebar-list { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px 12px 0; }
    .shop-sidebar-list li { flex: 0 0 auto; }
    .shop-cat-link { border-left: none; border-bottom: 2px solid transparent; padding: 6px 12px; font-size: 13px; border-radius: 4px; }
    .shop-cat-link.active { border-left: none; border-bottom-color: var(--primary); }
    .shop-toolbar { flex-direction: column; align-items: flex-start; padding: 12px 16px; }
    .woocommerce-container { flex-direction: column; }
    .woocommerce-sidebar { width: 100%; }
    .cart-steps { gap: 16px; font-size: 12px; flex-wrap: wrap; }
    .cart-item { grid-template-columns: 80px 1fr; }
    .cart-item-total { grid-column: 1 / -1; text-align: left; }
    .mobile-bottom-nav { display: flex; }
    body { padding-bottom: 60px; }
}

@media (max-width: 480px) {
    ul.products.columns-4 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    ul.products.columns-3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .categories-row .category-card { min-width: 100px; }
    .categories-row .category-image { height: 80px; }
    .cat-slide-arrow { width: 28px; height: 28px; font-size: 16px; }
    .products-row-4 { grid-template-columns: 1fr 1fr; gap: 10px; }

    .footer-widgets-inner { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; }
    .cart-steps { flex-direction: column; align-items: center; gap: 10px; }
}

/* =============== STICKY CART TOGGLE =============== */
.cart-float-toggle {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary);
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.cart-float-toggle:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 10px 28px rgba(109, 42, 232, 0.35);
    transform: translateY(-50%);
}
.cart-float-toggle:active { transform: translateY(-50%) scale(0.94); }
@keyframes cartBounce {
    0% { transform: translateY(-50%) scale(1); }
    30% { transform: translateY(-50%) scale(1.18); }
    60% { transform: translateY(-50%) scale(0.94); }
    100% { transform: translateY(-50%) scale(1); }
}
.cart-float-toggle.cart-bounce { animation: cartBounce 0.5s ease; }
.cft-icon { display: flex; }
.cft-count {
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    padding: 0 5px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -4px;
    right: -4px;
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.18);
}

/* =============== SLIDING CART SIDEBAR =============== */
.cart-slide-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.cart-slide-overlay.active { display: block; opacity: 1; }

.cart-slide-panel {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: #fff;
    z-index: 100000;
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-slide-panel.open { right: 0; }

.cart-slide-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
}
.cart-slide-header h3 { margin: 0; font-size: 20px; display: flex; align-items: center; gap: 8px; color: var(--primary-dark); }
.cart-slide-close {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--text-light);
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}
.cart-slide-close:hover { background: var(--bg-gray); color: var(--text); }

.cart-slide-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.cart-slide-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    gap: 14px;
}
.cse-icon { font-size: 56px; opacity: 0.5; }
.cart-slide-empty p { color: var(--text-light); font-size: 16px; margin: 0; }

.cart-slide-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 24px;
    border-bottom: 1px solid #f5f5f5;
    transition: var(--transition);
}
.cart-slide-item:hover { background: #fafafa; }
.cart-slide-item img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; background: var(--bg-gray); }
.csi-info { flex: 1; min-width: 0; }
.csi-name { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.csi-qty { display: block; font-size: 12px; color: var(--text-light); }
.csi-price { display: block; font-size: 14px; font-weight: 700; color: var(--accent); margin-top: 2px; }
.csi-remove {
    color: #ccc;
    font-size: 14px;
    transition: var(--transition);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}
.csi-remove:hover { background: #fee; color: var(--accent); }

.cart-slide-footer {
    border-top: 1px solid var(--border);
    padding: 18px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.csf-total {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    margin-bottom: 6px;
}
.csf-total strong { font-size: 20px; color: var(--accent); }
.cart-slide-footer .btn { flex: 1; min-width: 120px; }

.cart-slide-scroll { flex: 1; overflow-y: auto; display: flex; flex-direction: column; background: var(--bg-gray); }
.cart-slide-items { flex-shrink: 0; background: var(--bg); }
.cart-slide-footer { flex-shrink: 0; background: var(--bg); }

.cart-slide-top {
    padding: 14px 20px 18px;
    flex-shrink: 0;
    background: var(--bg-gray);
    margin-top: auto;
}
.cst-heading { margin: 0 0 10px; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.cst-products { display: flex; flex-direction: column; gap: 8px; }
.cst-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    background: var(--bg);
    transition: var(--transition);
}
.cst-item:hover { box-shadow: 0 1px 4px rgba(0,0,0,0.08); }
.cst-img { width: 40px; height: 40px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.cst-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cst-info { flex: 1; min-width: 0; }
.cst-name { display: block; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cst-price { display: block; font-size: 11px; font-weight: 700; color: var(--accent); }
.cst-add {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}
.cst-added { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; flex-shrink: 0; }

@media (max-width: 768px) {
    .cart-float-toggle {
        right: 10px;
        width: 52px;
        height: 52px;
    }
    .cart-slide-panel { width: 100vw; max-width: 100vw; right: -100vw; }
    .cart-slide-panel.open { right: 0; }
}

/* === THANK YOU PAGE === */
.thankyou-wrap {
    padding: 40px 20px 80px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    box-sizing: border-box;
    background: linear-gradient(180deg, #faf9ff 0%, #f6f7fb 100%);
    min-height: calc(100vh - 200px);
}
.thankyou-wrap > .container {
    max-width: 900px;
    margin: 0 auto;
}

/* --- Section Base --- */
.thankyou-section {
    text-align: center;
    padding: 32px 24px;
    animation: thankyouFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.thankyou-section:nth-child(1) { animation-delay: 0.05s; }
.thankyou-section:nth-child(2) { animation-delay: 0.15s; }
.thankyou-section:nth-child(3) { animation-delay: 0.25s; }
.thankyou-section:nth-child(4) { animation-delay: 0.35s; }
.thankyou-section:nth-child(5) { animation-delay: 0.45s; }
.thankyou-section:nth-child(6) { animation-delay: 0.55s; }

@keyframes thankyouFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Success State --- */
.thankyou-celebration {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
}
.celebration-ring {
    position: absolute;
    inset: 0;
    border: 3px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: ringExpand 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.celebration-ring.ring-2 { border-color: var(--primary-light); animation-delay: 0.2s; }
.celebration-ring.ring-3 { border-color: var(--accent); animation-delay: 0.4s; }

@keyframes ringExpand {
    0% { transform: scale(0.5); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.thankyou-icon {
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(109, 42, 232, 0.3);
    animation: iconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

@keyframes iconPop {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.thankyou-icon-success svg { color: #fff; stroke-width: 3; }
.thankyou-icon-error svg { color: #fff; }

.thankyou-section h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--heading);
}
.thankyou-failed h2 { color: var(--accent); }
.thankyou-subtitle {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0 0 28px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.thankyou-subtitle strong { color: var(--heading); }

/* --- Timeline --- */
.thankyou-timeline {
    margin-top: 32px;
    padding: 0 8px;
}
.timeline-track {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--bg-gray);
    transform: translateX(-50%);
    z-index: 0;
}
.timeline-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}
.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
}
.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: var(--bg-gray);
    z-index: -1;
}
.timeline-step.completed::after { background: var(--primary); }
.timeline-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-gray);
    color: var(--text-light);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--bg-gray);
    transition: var(--transition);
    margin-bottom: 10px;
}
.timeline-step.completed .timeline-dot {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 2px var(--primary-light);
}
.timeline-step.active .timeline-dot {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary), 0 0 0 6px rgba(109, 42, 232, 0.2);
    animation: dotPulse 1.5s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 3px var(--primary), 0 0 0 6px rgba(109, 42, 232, 0.2); }
    50% { box-shadow: 0 0 0 3px var(--primary), 0 0 0 10px rgba(109, 42, 232, 0.4); }
}
.timeline-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.timeline-step.completed .timeline-label { color: var(--primary); }
.timeline-step.active .timeline-label { color: var(--primary); font-weight: 700; }
.timeline-time {
    display: block;
    font-size: 11px;
    color: var(--text-light);
    opacity: 0.8;
}

/* --- Actions --- */
.thankyou-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

/* --- Trust Badges --- */
.thankyou-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 24px 16px;
    margin: 16px 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.trust-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    transition: var(--transition);
}
.trust-item:hover { opacity: 1; transform: translateY(-2px); }
.trust-item svg { color: var(--primary); flex-shrink: 0; }

/* --- Cards --- */
.thankyou-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 24px 0;
}
.thankyou-cards.thankyou-cols-2 { flex-direction: row; }
@media (max-width: 768px) { .thankyou-cards.thankyou-cols-2 { flex-direction: column; } }

.thankyou-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.thankyou-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.thankyou-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 8px;
}
.thankyou-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
    margin: 0;
    padding-bottom: 0;
    border: none;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 20px;
    background: var(--bg-gray);
    color: var(--text-light);
}
.order-status-badge.status-processing { background: #e0f2fe; color: #0369a1; }
.order-status-badge.status-completed { background: #ecfdf5; color: #065f46; }
.order-status-badge.status-on-hold { background: #fffbeb; color: #92400e; }
.order-status-badge.status-cancelled,
.order-status-badge.status-failed,
.order-status-badge.status-refunded { background: #fef2f2; color: #991b1b; }

.product-count {
    font-size: 13px;
    color: var(--text-light);
    background: var(--bg-gray);
    padding: 4px 10px;
    border-radius: 20px;
}

/* --- Details List --- */
.thankyou-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.thankyou-details-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-gray);
    font-size: 14px;
}
.thankyou-details-list li:last-child { border-bottom: none; }
.thankyou-details-list li span { color: var(--text-light); }
.thankyou-details-list li strong { color: var(--text); font-weight: 600; }
.order-total { font-size: 16px; color: var(--primary) !important; font-weight: 700; }

/* --- Table --- */
.thankyou-table-wrap { overflow-x: auto; margin: 0 -8px; padding: 0 8px; }
.thankyou-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.thankyou-table th {
    text-align: left;
    padding: 12px 10px;
    background: var(--bg-gray);
    color: var(--text-light);
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.thankyou-table th.text-center { text-align: center; }
.thankyou-table th.text-right { text-align: right; }
.thankyou-table td { padding: 14px 10px; border-bottom: 1px solid var(--bg-gray); vertical-align: middle; }
.thankyou-table tbody tr:last-child td { border-bottom: none; }
.thankyou-table tfoot th { text-align: left; background: none; padding: 10px 10px; font-weight: 400; color: var(--text-light); border-top: 1px solid var(--bg-gray); }
.thankyou-table tfoot td { border-bottom: none; border-top: 1px solid var(--bg-gray); }
.thankyou-td-product { display: flex; align-items: center; gap: 12px; min-width: 200px; }
.product-thumb { flex-shrink: 0; width: 56px; height: 56px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-gray); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.thankyou-table tbody tr:hover .product-thumb img { transform: scale(1.05); }
.product-info { display: flex; flex-direction: column; gap: 2px; }
.product-name { font-weight: 500; color: var(--text); }
.product-sku { font-size: 11px; color: var(--text-light); opacity: 0.8; }
.thankyou-td-price { font-weight: 600; color: var(--text); }
.thankyou-total-row th { font-weight: 700 !important; color: var(--heading) !important; font-size: 14px; }
.thankyou-total-row td { font-size: 18px; font-weight: 700; color: var(--primary); }

/* --- Address Card --- */
.thankyou-card-address { display: flex; flex-direction: column; }
.thankyou-address {
    font-style: normal;
    line-height: 1.8;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 16px;
}
.thankyou-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--text);
    transition: var(--transition);
}
.thankyou-contact svg { color: var(--primary); flex-shrink: 0; }
.thankyou-contact a { color: inherit; }
.thankyou-contact a:hover { color: var(--primary); }
.thankyou-delivery-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 10px 12px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text);
}
.thankyou-delivery-note svg { color: var(--accent); flex-shrink: 0; }
.thankyou-delivery-note strong { color: var(--primary); }

/* --- Help Section --- */
.thankyou-help {
    text-align: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.thankyou-help::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.thankyou-help > * { position: relative; z-index: 1; }
.thankyou-help .thankyou-card-title { color: #fff; margin-bottom: 8px; }
.thankyou-help p { margin: 0 0 20px; font-size: 15px; color: rgba(255,255,255,0.9); }
.thankyou-help-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.thankyou-help .btn-whatsapp { background: #fff; color: #25D366; }
.thankyou-help .btn-whatsapp:hover { background: #f0fdf4; color: #166534; }
.thankyou-help .btn-outline { border-color: rgba(255,255,255,0.3); color: #fff; }
.thankyou-help .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: #25D366;
    color: #fff;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}
.btn-whatsapp:hover { background: #1da851; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
.btn-whatsapp svg { flex-shrink: 0; }

/* --- Share Section --- */
.thankyou-share { margin-top: 16px; }
.share-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.share-facebook { background: #1877f2; }
.share-twitter { background: #1da1f2; }
.share-copy { background: var(--text-light); border: none; cursor: pointer; }
.share-copy:hover { background: var(--text); }
.share-copy.copied { background: var(--success); }
.share-copy.copied svg { animation: checkPop 0.3s ease; }
@keyframes checkPop { 0% { transform: scale(0); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* --- Empty State --- */
.thankyou-empty { padding: 60px 24px; }
.thankyou-empty h2 { color: var(--accent); }
.thankyou-empty .thankyou-subtitle { margin-bottom: 32px; }

/* --- Failed State --- */
.thankyou-support { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--bg-gray); }
.thankyou-support p { font-size: 14px; color: var(--text-light); margin: 0 0 12px; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .thankyou-wrap { padding: 24px 16px 60px; }
    .thankyou-section { padding: 24px 16px; }
    .thankyou-section h2 { font-size: 24px; }
    .thankyou-subtitle { font-size: 15px; }
    .thankyou-card { padding: 20px; }
    .thankyou-td-product { flex-direction: column; align-items: flex-start; gap: 8px; }
    .product-thumb { width: 48px; height: 48px; }
    .thankyou-timeline { margin-top: 24px; }
    .timeline-steps { gap: 8px; }
    .timeline-step:not(:last-child)::after { display: none; }
    .timeline-track { display: none; }
    .timeline-dot { width: 28px; height: 28px; }
    .timeline-label { font-size: 11px; }
    .timeline-time { font-size: 10px; }
    .thankyou-trust { gap: 16px; padding: 20px 12px; }
    .trust-item { font-size: 12px; }
    .thankyou-actions { flex-direction: column; align-items: stretch; }
    .thankyou-actions .btn { width: 100%; }
    .thankyou-help { padding: 24px 16px; }
    .thankyou-help-actions { flex-direction: column; align-items: stretch; }
    .thankyou-help-actions .btn { width: 100%; }
}

/* === SCROLL TO TOP BUTTON === */
.scroll-top-btn {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    padding: 0;
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}
.scroll-top-btn:hover { background: var(--primary-dark); }
.scroll-top-ring {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 44px;
    height: 44px;
    pointer-events: none;
    transform: rotate(-90deg);
}
.scroll-top-ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.25);
    stroke-width: 3;
    stroke-linecap: round;
}
.scroll-top-ring-fill {
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.08s linear;
}
.scroll-top-icon {
    position: relative;
    z-index: 1;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
@media (max-width: 768px) {
    .scroll-top-btn { bottom: 80px; right: 10px; width: 42px; height: 42px; }
    .scroll-top-ring { top: 1px; left: 1px; width: 40px; height: 40px; }
    .scroll-top-icon { font-size: 17px; }
}

/* === CHAT WIDGET === */
.chat-widget { position: fixed; bottom: 150px; right: 20px; z-index: 9997; }
.chat-btn {
    width: 56px; height: 56px; border: none; border-radius: 50%;
    background: #25D366; color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative; margin-left: auto;
}
.chat-btn:hover { transform: scale(1.05); box-shadow: 0 6px 20px rgba(37,211,102,0.5); }
.chat-btn-icon, .chat-btn-close {
    position: absolute; transition: opacity 0.2s ease, transform 0.2s ease;
}
.chat-btn-close { opacity: 0; transform: rotate(-90deg); }
.chat-widget.open .chat-btn-close { opacity: 1; transform: rotate(0); }
.chat-widget.open .chat-btn-icon { opacity: 0; transform: rotate(90deg); }

.chat-popup {
    position: absolute; bottom: 66px; right: 0; width: 340px;
    background: #fff; border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.95);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    transform-origin: bottom right; overflow: hidden;
}
.chat-widget.open .chat-popup { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-popup-header {
    background: linear-gradient(135deg, #25D366, #128C7E); color: #fff;
    padding: 16px 20px; display: flex; justify-content: space-between; align-items: center;
}
.chat-popup-title { font-size: 16px; font-weight: 700; }
.chat-popup-status { font-size: 12px; opacity: 0.85; display: flex; align-items: center; gap: 5px; }
.chat-popup-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; display: inline-block; animation: chatPulse 1.5s ease infinite; }
@keyframes chatPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

.chat-popup-body {
    padding: 16px; max-height: 300px; overflow-y: auto;
    background: #f0f5f0;
}
.chat-msg { margin-bottom: 12px; display: flex; }
.chat-msg-bot { justify-content: flex-start; }
.chat-msg-text {
    max-width: 85%; padding: 10px 14px; border-radius: 14px;
    font-size: 14px; line-height: 1.5; word-wrap: break-word;
    background: #fff; color: #333; border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.chat-msg-user { justify-content: flex-end; }
.chat-msg-user .chat-msg-text {
    background: #25D366; color: #fff; border-bottom-right-radius: 4px;
}

.chat-quick-replies { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.chat-qr-btn {
    display: block; width: 100%; padding: 9px 14px; border: 1px solid #25D366;
    border-radius: 20px; background: #fff; color: #25D366; font-size: 13px;
    cursor: pointer; text-align: left; transition: all 0.15s ease;
    font-family: inherit;
}
.chat-qr-btn:hover { background: #25D366; color: #fff; }

.chat-popup-footer { padding: 10px 14px; border-top: 1px solid #e8e8e8; background: #fff; }
.chat-form { display: flex; gap: 8px; }
.chat-input {
    flex: 1; border: 1px solid #ddd; border-radius: 24px; padding: 10px 16px;
    font-size: 14px; font-family: inherit; outline: none; transition: border-color 0.15s ease;
}
.chat-input:focus { border-color: #25D366; }
.chat-send-btn {
    width: 40px; height: 40px; border: none; border-radius: 50%;
    background: #25D366; color: #fff; font-size: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background 0.15s ease;
}
.chat-send-btn:hover { background: #128C7E; }

@media (max-width: 768px) {
    .chat-widget { right: 10px; bottom: 140px; }
    .chat-btn { width: 48px; height: 48px; }
    .chat-popup { width: calc(100vw - 20px); right: -10px; bottom: 58px; }
}
