

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #4a2c5a;
    --primary-light: #6d4578;
    --primary-dark: #2a1835;
    --accent: #c9a227;
    --accent-light: #e8dcc4;
    --bg-cream: #faf7f2;
    --bg-white: #ffffff;
    --text-dark: #2f2a32;
    --text-muted: #6b656e;
    --border-color: #e8dcc4;
    --success: #4a2c5a;
    --danger: #b91c1c;
    --gold: #d4af37;
    --font-sans: 'Outfit', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 100vh;
    position: relative;
}

body > .announcement-bar,
body > header,
body > .hero-slider-wrap,
body > main,
body > footer {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body.nav-open {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

h1, h2, h3, h4, h5, h6,
button, input, select, textarea {
    font-family: var(--font-sans);
}

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

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.announcement-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-light) 55%, #d4b87a 100%);
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.55rem 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    line-height: 1.35;
}

header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: var(--shadow-sm);
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.header-container {
    position: relative;
    z-index: 1;
    overflow: visible;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    gap: 0.75rem;
    min-width: 0;
}

.logo {
    flex: 1 1 auto;
    min-width: 0;
}

.logo a {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.6rem;
}

nav {
    position: relative;
    z-index: 20;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 0.25rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav a:hover, nav a.active {
    color: var(--primary);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
}

.dropdown {
    position: relative;
    z-index: 30;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(42, 24, 53, 0.15);
    list-style: none;
    min-width: 220px;
    display: none;
    padding: 0.4rem 0;
    z-index: 600;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 0.5rem 1.25rem;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: rgba(74, 44, 90, 0.05);
    color: var(--primary);
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cart-icon-btn {
    position: relative;
    font-size: 1.3rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
}

.cart-icon-btn:hover {
    background-color: rgba(74, 44, 90, 0.05);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--danger);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-menu-toggle:hover {
    background-color: rgba(74, 44, 90, 0.05);
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 73px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        height: calc(100vh - 73px);
        background-color: var(--bg-white);
        z-index: 99;
        transform: translateX(-100%);
        transition: var(--transition);
        border-right: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
        overflow-x: hidden;
        margin: 0;
        flex: none;
    }

    nav.nav-active {
        transform: translateX(0);
    }

    nav ul {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    nav a {
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background-color: transparent;
        display: block;
        padding-left: 1.5rem;
        padding-top: 0.5rem;
    }
    
    .dropdown-menu a {
        font-size: 0.95rem;
        padding: 0.35rem 0;
    }
}

.hero-section {
    background: linear-gradient(135deg, rgba(74, 44, 90, 0.06) 0%, rgba(255, 228, 230, 0.45) 100%);
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(74, 44, 90, 0.05);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: var(--font-sans);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.75rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 6px 16px rgba(74, 44, 90, 0.3);
    transition: var(--transition);
    border: none;
}

.hero-btn:hover {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(74, 44, 90, 0.35);
    color: #fff;
}

.home-page .hero-slider-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-height: clamp(440px, 62vh, 720px);
    max-height: none;
    overflow: hidden;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    z-index: 1;
}

.hero-slider-bg {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.9s ease, transform 6s ease;
}

.hero-slide.is-active {
    opacity: 1;
    transform: scale(1.03);
    z-index: 1;
}

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

.hero-slider-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.08) 55%, rgba(42, 24, 53, 0.62) 100%);
    pointer-events: none;
}

.hero-slider-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 3.5rem 1.25rem 5.5rem;
    min-height: clamp(440px, 62vh, 720px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

.hero-glass-card {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
    text-align: center;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.85rem;
}

.hero-glass-card .hero-subtitle {
    color: var(--accent-light);
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0.35rem;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.hero-glass-card .hero-title {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    color: #fff;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-glass-card .hero-desc {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.35rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.98rem;
    line-height: 1.65;
    max-width: 560px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: #fff;
    border: none;
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    color: #fff;
}

.hero-btn-soft {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(4px);
}

.hero-btn-soft:hover {
    background: rgba(255, 255, 255, 0.28);
    color: #fff;
    border-color: #fff;
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: var(--transition);
}

.hero-slider-arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.hero-slider-prev { left: 1rem; }
.hero-slider-next { right: 1rem; }

.hero-slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.hero-dot.is-active {
    width: 28px;
    background: var(--accent);
}

.home-page .products-section.home-products {
    margin-top: 0;
    padding-top: 2.5rem;
}

.home-page .product-card {
    border-radius: 18px;
    overflow: hidden;
    border-color: var(--accent-light);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-page .product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(74, 44, 90, 0.12);
}

.home-page .product-card-btn {
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.home-page .product-card-btn:hover {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
}

.home-page .category-circle-wrapper {
    background: linear-gradient(145deg, #faf7f2, var(--accent-light));
    border: 2px solid var(--accent-light);
}

.home-page .section-title {
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: clamp(400px, 58vh, 620px);
    }
    .hero-slider-inner {
        padding: 2.5rem 1rem 4.5rem;
        min-height: clamp(400px, 58vh, 620px);
        align-items: center;
        justify-content: center;
    }
    .hero-glass-card {
        padding: 1.35rem 1.25rem;
        border-radius: 20px;
    }
    .hero-slider-arrow {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-section {
        padding: 3rem 1rem;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .hero-btn {
        width: 100%;
    }
}

.section-title {
    text-align: center;
    font-family: var(--font-sans);
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.categories-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 3rem auto;
    padding: 0 1.5rem;
    overflow: hidden;
    min-width: 0;
}

.categories-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .categories-grid {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        max-width: 100%;
        padding-bottom: 0.75rem;
        gap: 1.25rem;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }
    
    .categories-grid::-webkit-scrollbar {
        display: none;
    }
}

.category-circle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    flex-shrink: 0; 
}

.category-circle-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    font-size: 1.8rem;
    transition: var(--transition);
}

.category-circle-card:hover .category-circle-wrapper {
    transform: translateY(-3px);
    background-color: var(--primary);
    color: var(--bg-cream);
    border-color: var(--primary);
}

.category-circle-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-dark);
}

.products-section {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 4rem auto;
    padding: 0 1.5rem;
    min-width: 0;
    overflow-x: hidden;
}

.category-header {
    border-left: 3px solid var(--primary);
    padding-left: 0.75rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 100%;
}

.category-header h3 {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.product-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(74, 44, 90, 0.08);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px -8px rgba(74, 44, 90, 0.15);
    border-color: rgba(74, 44, 90, 0.2);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    z-index: 5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-image-container {
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: #f3f4f6;
}

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

.product-card:hover .product-image-container img {
    transform: scale(1.03);
}

.product-details {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.8rem;
}

.current-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.05rem;
}

.product-card-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: #fff;
    border: none;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    display: block;
    margin-top: auto;
    box-shadow: 0 4px 12px rgba(74, 44, 90, 0.25);
}

.product-card-btn:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary-light) 100%);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .product-image-container {
        height: 150px;
    }
    .product-title {
        font-size: 0.85rem;
    }
    .current-price {
        font-size: 0.95rem;
    }
    .old-price {
        font-size: 0.75rem;
    }
    .product-card-btn {
        padding: 0.45rem;
        font-size: 0.8rem;
    }
}

.product-detail {
    width: 100%;
    max-width: min(1200px, 100%);
    margin: 0 auto 4rem;
    padding: 1rem 1.25rem 0;
    box-sizing: border-box;
}

.product-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.product-breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.product-breadcrumb a:hover {
    color: var(--accent);
}

.product-breadcrumb-sep {
    font-size: 0.55rem;
    opacity: 0.45;
}

.product-breadcrumb-current {
    color: var(--text-dark);
    font-weight: 600;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(1.25rem, 3vw, 2.5rem);
    align-items: start;
}

@media (max-width: 768px) {
    .detail-container {
        grid-template-columns: 1fr;
    }
}

.detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.detail-img-box {
    position: relative;
    background: linear-gradient(145deg, #fff 0%, var(--bg-cream) 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(74, 44, 90, 0.12);
    border: 1px solid rgba(74, 44, 90, 0.08);
    aspect-ratio: 4 / 5;
    max-height: min(560px, 72vh);
}

@media (max-width: 480px) {
    .detail-img-box {
        aspect-ratio: 1 / 1;
        max-height: none;
    }
}

.product-detail-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: linear-gradient(135deg, var(--accent) 0%, #e8c547 100%);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(201, 162, 39, 0.35);
}

.detail-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-trust-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.product-trust-chips li {
    flex: 1 1 auto;
    min-width: calc(50% - 0.25rem);
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(74, 44, 90, 0.1);
    border-radius: 12px;
    padding: 0.65rem 0.75rem;
}

.product-trust-chips i {
    color: var(--accent);
    font-size: 0.9rem;
}

.detail-info-box {
    background: #fff;
    border-radius: 20px;
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: 0 12px 40px rgba(74, 44, 90, 0.08);
    border: 1px solid rgba(74, 44, 90, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 0;
}

@media (min-width: 992px) {
    .detail-info-box {
        position: sticky;
        top: 1rem;
    }
}

.product-category-pill {
    align-self: flex-start;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--primary);
    background: rgba(74, 44, 90, 0.08);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    transition: var(--transition);
}

.product-category-pill:hover {
    background: rgba(201, 162, 39, 0.2);
    color: var(--primary-dark);
}

.detail-title {
    font-family: var(--font-sans);
    font-size: clamp(1.45rem, 4vw, 2rem);
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
}

.product-detail-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 0.75rem;
    padding: 0.75rem 0 0.25rem;
}

.product-detail-price-current {
    font-size: clamp(1.65rem, 4vw, 2.1rem);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.product-detail-price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-detail-price-save {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: rgba(201, 162, 39, 0.25);
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
}

.detail-desc {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.65;
    padding-bottom: 0.25rem;
}

.detail-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.product-form-section {
    background: var(--bg-cream);
    border-radius: 14px;
    padding: 1rem 1rem 0.25rem;
    border: 1px solid rgba(74, 44, 90, 0.06);
}

.product-form-section-title {
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.product-delivery-row {
    margin-bottom: 0.75rem;
}

.product-form-actions {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 0.75rem;
    align-items: end;
}

.product-qty-input {
    text-align: center;
    font-weight: 700;
}

.product-detail-cta {
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 55%, var(--accent) 120%);
    box-shadow: 0 8px 24px rgba(74, 44, 90, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.product-detail-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(74, 44, 90, 0.32);
}

.product-detail-footnote {
    margin: 0.5rem 0 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

.product-detail-footnote i {
    color: var(--accent);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.product-page {
    background: linear-gradient(180deg, var(--bg-cream) 0%, #f5f0e8 40%, var(--bg-cream) 100%);
}

@media (max-width: 480px) {
    .product-form-actions {
        grid-template-columns: 1fr;
    }

    .product-qty-group {
        max-width: 120px;
    }

    .product-trust-chips li {
        min-width: 100%;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(74, 44, 90, 0.1);
}

.cart-container {
    max-width: 1200px;
    margin: 1.5rem auto 4rem auto;
    padding: 0 1.5rem;
}

.cart-table-wrapper {
    background-color: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.cart-table th {
    background-color: var(--primary);
    color: white;
    padding: 1rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.cart-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    font-size: 0.9rem;
}

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-product-img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    background-color: #f3f4f6;
}

.cart-product-info h4 {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--primary);
}

.cart-remove-btn {
    color: var(--danger);
    font-weight: 500;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 0.85rem;
}

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

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    width: max-content;
    overflow: hidden;
}

.qty-btn {
    background-color: #f9fafb;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background-color: #e5e7eb;
}

.qty-input {
    width: 35px;
    height: 28px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .cart-table-wrapper {
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
        display: block;
        width: 100%;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        background-color: white;
        border: 1px solid var(--border-color);
        border-radius: 6px;
        margin-bottom: 1rem;
        padding: 0.5rem;
        box-shadow: var(--shadow-sm);
    }

    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px dashed #f3f4f6;
        padding: 0.75rem 0.5rem;
    }

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

    .cart-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--primary);
        font-size: 0.8rem;
        text-transform: uppercase;
    }

    .cart-table td:first-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .cart-table td:first-child::before {
        display: none;
    }

    .cart-product-cell {
        width: 100%;
    }
}

.cart-summary-box {
    max-width: 400px;
    margin-left: auto;
    background-color: white;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
    .cart-summary-box {
        max-width: 100%;
    }
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.summary-total {
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 1.5rem auto 4rem auto;
    padding: 0 1.5rem;
}

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

.checkout-box {
    background-color: white;
    border-radius: 6px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.checkout-title {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.checkout-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (max-width: 576px) {
    .checkout-group {
        grid-template-columns: 1fr;
        margin-bottom: 0;
    }
    .checkout-group .form-group {
        margin-bottom: 1rem;
    }
}

.payment-wrapper {
    max-width: 700px;
    margin: 2rem auto 4rem auto;
    padding: 0 1rem;
}

.payment-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.payment-header {
    background-color: var(--primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.payment-header h2 {
    font-family: var(--font-sans);
    font-size: 1.5rem;
}

.payment-header .order-no {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.payment-body {
    padding: 2rem 1.5rem;
}

.instruction-alert {
    background-color: #fffbeb;
    border-left: 3px solid var(--gold);
    color: #b45309;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.bank-details-box {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    background-color: #fafbfc;
}

.bank-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bank-detail-row:last-child {
    border-bottom: none;
}

.bank-label {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-muted);
    min-width: 100px;
}

.bank-value {
    font-weight: 700;
    color: var(--primary);
    text-align: right;
    font-size: 0.95rem;
}

.iban-canvas-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
}

.iban-canvas {
    background: #f9fafb;
    border: 1px dashed var(--accent-light);
    border-radius: 4px;
    max-width: 100%;
}

.copy-btn {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    border: none;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.copy-btn:hover {
    background-color: var(--primary-light);
}

@media (max-width: 576px) {
    .bank-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding: 0.6rem 0;
    }
    .bank-value {
        text-align: left;
    }
    .iban-canvas-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .iban-canvas {
        width: 100% !important;
    }
}

.alert-danger-box {
    background-color: #fef2f2;
    border-left: 3px solid var(--danger);
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

.receipt-upload-box {
    border: 2px dashed var(--border-color);
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    background-color: #fafbfc;
}

.receipt-upload-box:hover {
    border-color: var(--primary);
}

.receipt-upload-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.whatsapp-alternative {
    text-align: center;
    margin-top: 1.5rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    transform: translateY(-1px);
}

footer {
    background: linear-gradient(165deg, var(--primary-dark) 0%, var(--primary) 45%, var(--primary) 100%);
    color: #faf7f2;
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    margin-top: auto;
    border-top: 3px solid var(--accent-light);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.4rem;
    color: var(--bg-cream);
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-light);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: rgba(251, 250, 247, 0.8);
}

.footer-column a {
    color: var(--accent-light);
    transition: var(--transition);
}

.footer-column a:hover {
    color: #fff;
}

.footer-btn {
    display: inline-block;
    margin-top: 0.35rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(254, 205, 211, 0.55);
    border-radius: 999px;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.82rem;
}

.footer-btn:hover {
    background: var(--primary-light);
    border-color: #fff;
    transform: translateY(-1px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(251, 250, 247, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(251, 250, 247, 0.6);
}

.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.admin-logo {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.admin-menu li.active a,
.admin-menu a:hover {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(64, 145, 108, 0.25);
}

.admin-main {
    flex-grow: 1;
    padding: 2.5rem;
    background-color: #f8fafc;
    overflow-y: auto;
    position: relative;
}

.admin-sidebar-toggle {
    display: none;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 1024px) {
    .admin-sidebar-toggle {
        display: inline-flex;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 260px;
        height: 100vh;
        z-index: 1000;
        transform: translateX(-100%);
        box-shadow: var(--shadow-lg);
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-main {
        padding: 1.5rem 1rem;
    }
}

@media (min-width: 1025px) {
    .admin-sidebar {
        display: flex !important;
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
    }
    .admin-sidebar-toggle {
        display: none !important;
    }
}

.admin-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.admin-tab {
    background-color: white;
    color: #4b5563;
    border: 1px solid var(--border-color);
    padding: 0.55rem 1.1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.admin-tab:hover, .admin-tab.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(74, 44, 90, 0.15);
}

.tab-badge {
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 0.1rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition);
}

.admin-tab:hover .tab-badge, .admin-tab.active .tab-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.badge-status {
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-pending { 
    background-color: #fffbeb; 
    color: #d97706; 
    border: 1px solid #fde68a;
}
.badge-pending::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #d97706;
}

.badge-paid { 
    background-color: #ecfdf5; 
    color: #059669; 
    border: 1px solid #a7f3d0;
}
.badge-paid::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #059669;
}

.badge-receipt_uploaded { 
    background-color: #eff6ff; 
    color: #1d4ed8; 
    border: 1px solid #bfdbfe;
}
.badge-receipt_uploaded::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #1d4ed8;
}

.badge-completed { 
    background-color: #f0fdf4; 
    color: #15803d; 
    border: 1px solid #bbf7d0;
}
.badge-completed::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #15803d;
}

.badge-cancelled { 
    background-color: #fef2f2; 
    color: #dc2626; 
    border: 1px solid #fecaca;
}
.badge-cancelled::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #dc2626;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.stat-card-total { border-left: 4px solid #3b82f6; }
.stat-card-revenue { border-left: 4px solid #10b981; }
.stat-card-pending { border-left: 4px solid #f59e0b; }
.stat-card-receipt { border-left: 4px solid #8b5cf6; }

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-card-total .stat-icon { background-color: #eff6ff; color: #3b82f6; }
.stat-card-revenue .stat-icon { background-color: #ecfdf5; color: #10b981; }
.stat-card-pending .stat-icon { background-color: #fffbeb; color: #f59e0b; }
.stat-card-receipt .stat-icon { background-color: #f5f3ff; color: #8b5cf6; }

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-top: 0.15rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    font-weight: 700;
    color: var(--primary);
    background-color: #f8fafc;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--danger);
}

.modal-body {
    padding: 1rem;
    max-height: 60vh;
    overflow-y: auto;
    text-align: center;
}

.modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: white !important;
    border-radius: 50%;
    text-align: center;
    font-size: 34px;
    box-shadow: 0 4px 16px rgba(74, 44, 90, 0.45);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid var(--accent-light);
}

.whatsapp-float:hover {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(74, 44, 90, 0.5);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}

.logo-gem,
.logo-heart {
    color: var(--accent);
    font-size: 1.2rem;
}

.category-see-all {
    color: var(--primary-light);
    font-weight: 600;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .category-see-all {
        font-size: 0.82rem;
    }
}

.category-see-all:hover {
    color: var(--primary);
}

.cat-icon {
    color: var(--primary-light);
    font-size: 1.35rem;
}

.home-page .products-section {
    padding: 0 1rem;
}

.home-page .categories-container {
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .header-container {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .logo a {
        font-size: clamp(0.68rem, 3.5vw, 0.95rem);
        max-width: 100%;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .header-container {
        width: 100%;
        max-width: 100%;
    }

    .logo {
        flex: 1 1 0;
        min-width: 0;
    }

    .header-actions {
        flex-shrink: 0;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }

    .category-header h3 {
        font-size: 1.15rem;
    }

    .products-section {
        padding: 0 1rem;
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.45rem;
        padding: 0 0.5rem;
    }

    .section-subtitle {
        padding: 0 0.5rem;
        font-size: 0.85rem;
    }

    footer {
        padding: 2rem 1rem 1.25rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        text-align: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-column-actions ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
    }

    .footer-btn {
        width: min(100%, 280px);
        text-align: center;
    }

    .product-title {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-glass-card .hero-title {
        font-size: 1.45rem;
    }

    .hero-glass-card .hero-desc {
        font-size: 0.9rem;
    }

}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .hero-slider {
        min-height: clamp(380px, 52vh, 520px);
    }

    .hero-slider-inner {
        min-height: clamp(380px, 52vh, 520px);
        padding: 2rem 0.75rem 3.75rem;
    }

    .hero-glass-card {
        padding: 1rem 0.5rem;
    }

    .product-image-container {
        height: 130px;
    }

    .product-details {
        padding: 0.65rem 0.5rem;
    }

    .product-card-btn {
        padding: 0.4rem 0.35rem;
        font-size: 0.72rem;
    }

    .announcement-bar {
        font-size: 0.72rem;
        padding: 0.5rem 0.65rem;
    }

    .category-circle-wrapper {
        width: 62px;
        height: 62px;
    }
}
