/* 
 * Premium E-Commerce Design System 
 * Inspired by ultra-luxury, minimalist jewelry brands
 */

:root {
    --gold-primary: #D4AF37;
    --gold-light: #F4E8C1;
    --bg-white: #FFFFFF;
    --bg-offwhite: #FAFAFA;
    --text-main: #111111;
    --text-muted: #666666;
    --border-light: #EBEBEB;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Jost', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-main);
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--text-muted);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease, border-color 0.3s ease;
}

/* When scrolled or not on homepage */
.site-header.scrolled,
body:not(.home) .site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 26px;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
}

.site-header.scrolled .logo a,
body:not(.home) .site-header .logo a {
    color: var(--text-main);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.main-nav a {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    font-weight: 500;
}

.site-header.scrolled .main-nav a,
body:not(.home) .site-header .main-nav a {
    color: var(--text-main);
}

.main-nav a:hover {
    opacity: 0.7;
}

.header-actions {
    display: flex;
    gap: 24px;
}

.header-icon {
    font-size: 18px;
    color: #fff;
    position: relative;
}

.site-header.scrolled .header-icon,
body:not(.home) .site-header .header-icon {
    color: var(--text-main);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--gold-primary);
    color: #fff;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   HERO SLIDER
   ========================================= */
.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
}

.swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 10;
    width: 100%;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    letter-spacing: 1px;
    color: #fff;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn-white {
    background: #fff;
    color: var(--text-main);
}

.btn-white:hover {
    background: var(--gold-primary);
    color: #fff;
}

.btn-black {
    background: var(--text-main);
    color: #fff;
}

.btn-black:hover {
    background: var(--gold-primary);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: #fff;
}

/* =========================================
   HOMEPAGE SECTIONS
   ========================================= */
.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    letter-spacing: 1px;
}

.section-padding {
    padding: 100px 0;
}

/* Categories */
.category-circles {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 60px 0;
    border-bottom: 1px solid var(--border-light);
}

.category-circle-item {
    text-align: center;
    width: 120px;
}

.cat-img-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.cat-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.category-circle-item:hover .cat-img-wrapper {
    border-color: var(--gold-primary);
}

.category-circle-item:hover img {
    transform: scale(1.1);
}

.cat-name {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    text-align: center;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--bg-offwhite);
    margin-bottom: 20px;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}

.badge {
    padding: 4px 10px;
    background: var(--text-main);
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-quick-add {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: bottom 0.3s ease;
    cursor: pointer;
    border-top: 1px solid var(--border-light);
}

.product-card:hover .product-quick-add {
    bottom: 0;
}

.product-title {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--text-main);
}

.product-price {
    font-size: 14px;
}

.price-regular {
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: 8px;
    font-size: 12px;
}

.price-current {
    color: var(--text-main);
    font-weight: 500;
}

/* =========================================
   PRODUCT DETAIL PAGE
   ========================================= */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-top: 120px;
    padding-bottom: 100px;
}

.product-gallery {
    display: flex;
    gap: 20px;
}

.gallery-thumbs {
    width: 80px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gallery-thumbs .thumb {
    width: 100%;
    aspect-ratio: 4/5;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
}

.gallery-thumbs .thumb:hover,
.gallery-thumbs .thumb.active {
    opacity: 1;
}

.gallery-main {
    flex: 1;
    position: relative;
    background: var(--bg-offwhite);
}

.gallery-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-info-wrap {
    padding-top: 20px;
}

.breadcrumb {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: var(--text-main);
}

.pd-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.pd-price {
    font-size: 24px;
    margin-bottom: 30px;
}

.pd-desc {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 14px;
}

.pd-form {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.qty-input {
    width: 80px;
    border: 1px solid var(--border-light);
    text-align: center;
    font-size: 14px;
    font-family: var(--font-body);
}

.btn-add-cart {
    flex: 1;
    padding: 16px 0;
    font-size: 13px;
}

.pd-accordion {
    border-top: 1px solid var(--border-light);
}

.accordion-item {
    border-bottom: 1px solid var(--border-light);
    padding: 20px 0;
}

.accordion-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: var(--bg-offwhite);
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 13px;
    max-width: 300px;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    color: var(--text-main);
    font-size: 16px;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav a {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-nav a:hover {
    color: var(--text-main);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-muted);
    font-size: 12px;
}

/* =========================================
   TOP INFO BANNER
   ========================================= */
.top-banner {
    background: var(--text-main);
    color: #fff;
    font-size: 12px;
    text-align: center;
    padding: 9px 40px 9px 16px;
    position: relative;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-banner.hidden {
    display: none;
}

.top-banner-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.top-banner-sep {
    opacity: .4;
}

.top-banner-link {
    color: #fff;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.top-banner-link:hover {
    color: var(--gold-primary);
}

.top-banner-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, .6);
    font-size: 12px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.top-banner-close:hover {
    color: #fff;
}

/* Push header down when banner is visible */
body:not(.banner-hidden) .site-header {
    top: 40px;
}

body.banner-hidden .site-header {
    top: 0;
}

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    z-index: 9999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
    transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    color: #fff;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, .4);
    animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.whatsapp-tooltip {
    position: absolute;
    right: 66px;
    background: rgba(0, 0, 0, .75);
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* =========================================
   STATIC PAGES SHARED LAYOUT
   ========================================= */
.page-banner {
    background: var(--bg-offwhite);
    padding: 120px 0 50px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.page-banner-title {
    font-size: 32px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

.page-banner-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 10px;
}

.page-content {
    background: var(--bg-white);
}

.page-block {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
}

.page-block:last-child {
    border-bottom: none;
}

.page-block h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    margin-bottom: 16px;
}

.page-block p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

.page-block a {
    color: var(--text-main);
    text-decoration: underline;
}

.page-list {
    list-style: none;
    padding: 0;
}

.page-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text-muted);
}

.page-list li:last-child {
    border-bottom: none;
}

/* Info cards (kargo) */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 8px;
}

.info-card {
    text-align: center;
    padding: 28px 20px;
    border: 1px solid var(--border-light);
}

.info-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.info-card h4 {
    font-size: 14px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Table */
.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.info-table th,
.info-table td {
    padding: 12px 16px;
    border: 1px solid var(--border-light);
    text-align: left;
}

.info-table thead th {
    background: var(--bg-offwhite);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

/* Step list (iade) */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-num {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: var(--text-main);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.step-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.step-item p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Contact page */
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-item:last-of-type {
    border-bottom: none;
}

.contact-icon {
    font-size: 20px;
    color: var(--gold-primary);
    width: 28px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--text-main);
}

.contact-form .form-control {
    margin-bottom: 0;
}

/* FAQ accordion */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border-light);
}

.faq-q {
    padding: 18px 0;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.faq-q::after {
    content: '＋';
    font-size: 18px;
    color: var(--text-muted);
    transition: .2s;
}

.faq-item.open .faq-q::after {
    content: '－';
}

.faq-a {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
    padding: 0;
}

.faq-item.open .faq-a {
    max-height: 400px;
    padding-bottom: 18px;
}

.faq-a a {
    color: var(--text-main);
    text-decoration: underline;
}

/* =========================================
   PRODUCT LIST PAGE
   ========================================= */

.collection-banner {
    background: var(--bg-offwhite);
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.collection-title {
    font-size: 36px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.collection-desc {
    color: var(--text-muted);
    max-width: 600px;
    margin: 15px auto 0;
    font-size: 14px;
}

/* Layout: sidebar + grid */
.product-list-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Sidebar */
.product-sidebar {
    width: 220px;
    flex-shrink: 0;
}

.sidebar-heading {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    margin-bottom: 10px;
}

.sidebar-link {
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition);
}

.sidebar-link:hover,
.sidebar-link.active {
    color: var(--text-main);
    font-weight: 500;
}

.sidebar-select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-light);
    background: transparent;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--text-main);
    outline: none;
    cursor: pointer;
}

/* Mobile filter button */
.mobile-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid var(--border-light);
    background: var(--bg-white);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    margin-bottom: 20px;
    width: fit-content;
    -webkit-tap-highlight-color: transparent;
}

/* Sidebar close row (mobile) */
.sidebar-close-row {
    display: none;
    justify-content: flex-end;
    margin-bottom: 16px;
}

.sidebar-close-btn {
    background: none;
    border: none;
    font-size: 13px;
    cursor: pointer;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Grid area */
.product-grid-area {
    flex: 1;
    min-width: 0;
}

/* Quick add button */
.quick-add-btn {
    background: none;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    font-family: var(--font-body);
    color: var(--text-main);
    width: 100%;
    padding: 0;
}

/* Mobile filter button — remove drawer, now just category pills */
.mobile-filter-toggle {
    display: none;
}

/* no longer used */

/* Mobile category pill bar */
.mobile-filter-bar {
    display: none;
    /* hidden on desktop */
}

/* Pagination */
.pagination-wrap {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 13px;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    transition: var(--transition);
}

.page-link.active,
.page-link:hover {
    background: var(--text-main);
    border-color: var(--text-main);
    color: #fff;
}

/* =========================================
   MOBILE NAVIGATION OVERLAY & DRAWER
   ========================================= */

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1099;
    opacity: 0;
    transition: opacity .3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    padding-bottom: 2rem;
}

.mobile-nav-drawer.open {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav-logo {
    font-family: var(--font-heading);
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-main);
}

.mobile-nav-close {
    font-size: 22px;
    cursor: pointer;
    color: var(--text-main);
    background: none;
    border: none;
    line-height: 1;
    padding: 4px;
}

.mobile-nav-links {
    list-style: none;
    padding: 16px 0;
}

.mobile-nav-links li a {
    display: block;
    padding: 14px 24px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-light);
    font-weight: 500;
}

.mobile-nav-links li a:hover {
    color: var(--gold-primary);
}

.mobile-nav-actions {
    display: flex;
    gap: 24px;
    padding: 20px 24px;
    border-top: 1px solid var(--border-light);
    margin-top: 8px;
}

.mobile-nav-actions a {
    font-size: 20px;
    color: var(--text-main);
}

/* =========================================
   TABLET — ≤ 1024px
   ========================================= */
.mobile-toggle {
    display: none;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .section-padding {
        padding: 70px 0;
    }
}

/* =========================================
   MOBILE — ≤ 768px
   ========================================= */
@media (max-width: 768px) {

    /* Container */
    .container {
        padding: 0 16px;
    }

    /* Header */
    .header-container {
        height: 60px;
    }

    .main-nav {
        display: none;
    }

    /* hide desktop nav */

    /* Hamburger button — always in flow */
    .mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        cursor: pointer;
        font-size: 20px;
        color: #fff;
        background: none;
        border: none;
        -webkit-tap-highlight-color: transparent;
        flex-shrink: 0;
    }

    .site-header.scrolled .mobile-toggle,
    body:not(.home) .site-header .mobile-toggle {
        color: var(--text-main);
    }

    /* Logo shrink */
    .logo a {
        font-size: 20px;
        letter-spacing: 1px;
    }

    /* Header actions — keep only cart visible + user icon */
    .header-actions {
        gap: 16px;
    }

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

    /* Hero */
    .hero-slider {
        height: 70vh;
        min-height: 380px;
    }

    .hero-content h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 13px;
        margin-bottom: 24px;
    }

    .btn {
        padding: 12px 28px;
        font-size: 11px;
    }

    /* Section */
    .section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .section-padding {
        padding: 50px 0;
    }

    /* Category circles — scrollable row on small screens */
    .category-circles {
        gap: 20px;
        padding: 40px 0;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-left: 16px;
        padding-right: 16px;
        scrollbar-width: none;
    }

    .category-circles::-webkit-scrollbar {
        display: none;
    }

    .category-circle-item {
        width: 90px;
        flex-shrink: 0;
    }

    .cat-img-wrapper {
        width: 90px;
        height: 90px;
    }

    .cat-name {
        font-size: 11px;
    }

    /* Products grid — 2 columns */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image-wrapper {
        margin-bottom: 10px;
    }

    .product-title {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .product-price {
        font-size: 13px;
    }

    /* Quick add — always visible on mobile (no hover) */
    .product-quick-add {
        position: static;
        bottom: auto;
        padding: 10px 0;
        font-size: 11px;
        background: transparent;
        border-top: 1px solid var(--border-light);
    }

    .product-card:hover .product-quick-add {
        bottom: auto;
    }

    /* ── PRODUCT LIST PAGE ── */
    .collection-banner {
        padding: 80px 0 30px;
    }

    .collection-title {
        font-size: 24px;
    }

    .collection-desc {
        font-size: 13px;
        margin-top: 10px;
    }

    /* Hide desktop sidebar entirely on mobile */
    .product-sidebar {
        display: none !important;
    }

    /* Show mobile pill bar */
    .mobile-filter-bar {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 16px;
        border-bottom: 1px solid var(--border-light);
        border-top: 1px solid var(--border-light);
        background: var(--bg-white);
        position: sticky;
        top: 60px;
        /* below fixed header */
        z-index: 100;
    }

    .mobile-cat-pills {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex: 1;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .mobile-cat-pills::-webkit-scrollbar {
        display: none;
    }

    .cat-pill {
        display: inline-block;
        padding: 6px 14px;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        border: 1px solid var(--border-light);
        white-space: nowrap;
        color: var(--text-muted);
        border-radius: 0;
        flex-shrink: 0;
        transition: all .2s ease;
    }

    .cat-pill.active,
    .cat-pill:hover {
        border-color: var(--text-main);
        color: var(--text-main);
        font-weight: 500;
    }

    .mobile-sort-form {
        flex-shrink: 0;
    }

    .mobile-sort-select {
        border: 1px solid var(--border-light);
        padding: 6px 8px;
        font-size: 12px;
        font-family: var(--font-body);
        color: var(--text-main);
        background: transparent;
        outline: none;
        cursor: pointer;
    }

    /* Product list layout: full width grid, no sidebar */
    .product-list-layout {
        display: block;
    }

    .product-grid-area {
        width: 100%;
    }

    .sidebar-close-row {
        display: none;
    }

    /* Product Detail — stacked */
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 80px;
        padding-bottom: 60px;
    }

    .product-gallery {
        flex-direction: column-reverse;
    }

    .gallery-thumbs {
        flex-direction: row;
        width: 100%;
        gap: 8px;
    }

    .gallery-thumbs .thumb {
        width: 64px;
        height: 80px;
    }

    .pd-title {
        font-size: 24px;
    }

    .pd-price {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .pd-form {
        flex-direction: column;
        gap: 12px;
    }

    .qty-input {
        width: 100%;
        padding: 12px;
    }

    .btn-add-cart {
        padding: 16px 0;
    }

    /* Footer */
    .site-footer {
        padding: 50px 0 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 30px;
    }

    .footer-col[style*="grid-column"] {
        grid-column: auto !important;
    }

    /* Cart & Checkout */
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="grid-template-columns:1fr 1fr"],
    div[style*="grid-template-columns: 2fr 1fr"],
    div[style*="grid-template-columns:2fr 1fr"] {
        display: block !important;
    }

    div[style*="grid-template-columns: 1fr 1fr"]>*,
    div[style*="grid-template-columns:1fr 1fr"]>*,
    div[style*="grid-template-columns: 2fr 1fr"]>*,
    div[style*="grid-template-columns:2fr 1fr"]>* {
        margin-bottom: 1rem;
    }

    /* Forms */
    .form-control {
        font-size: 16px;
        /* prevent iOS zoom */
        padding: 12px 14px;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    /* Breadcrumb */
    .breadcrumb {
        font-size: 10px;
    }

    /* Top banner compact */
    .top-banner {
        font-size: 11px;
        padding: 7px 36px 7px 10px;
    }

    .top-banner-sep {
        display: none;
    }

    .top-banner-inner {
        gap: 6px;
    }

    body:not(.banner-hidden) .site-header {
        top: 50px;
    }

    /* Static pages */
    .page-banner {
        padding: 90px 0 30px;
    }

    .page-banner-title {
        font-size: 24px;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    /* WhatsApp button */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 16px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* =========================================
   SMALL PHONE — ≤ 480px
   ========================================= */
@media (max-width: 480px) {
    .hero-slider {
        height: 60vh;
        min-height: 320px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .section-title {
        font-size: 20px;
    }

    .header-container {
        height: 56px;
    }

    .logo a {
        font-size: 18px;
    }
}