@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Plus+Jakarta+Sans:wght@400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #10b981;
    --light-bg: #f8fafc;
    --dark-bg: #1a202c;
    --text-dark: #1a202c;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --white: #ffffff;
    --bottle-blue: #3b82f6;
    --bottle-black: #1f2937;
    --bottle-white: #f3f4f6;
    --card-sand: #fff7ed;
    --card-mist: #f8fafc;
    --card-sea: #ecfeff;
    --card-ink: #0f172a;
    --card-glow: rgba(14, 116, 144, 0.18);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

/* ==================== NAVIGATION ==================== */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    cursor: pointer;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.logo .tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: -0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-menu a.active::after {
    transform: scaleX(1);
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.nav-menu a.admin-link {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

.nav-menu a.admin-link:hover {
    color: var(--white);
    background-color: var(--secondary-color);
}

.cart-button {
    border: none;
    background: var(--card-ink);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.cart-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.15);
}

.cart-button:active {
    transform: translateY(0) scale(0.98);
}

.cart-count {
    background: #ffffff;
    color: #0f172a;
    border-radius: 999px;
    padding: 0.1rem 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 4px 0;
    transition: 0.3s;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(2px);
    z-index: 1190;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: min(420px, 100%);
    background: var(--white);
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.18);
    transform: translateX(110%);
    transition: transform 0.35s ease;
    z-index: 1200;
    display: flex;
    flex-direction: column;
}

.cart-drawer.is-open {
    transform: translateX(0);
}

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

.cart-subtitle {
    color: var(--text-light);
    font-size: 0.85rem;
}

.cart-close {
    border: none;
    background: transparent;
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
}

.cart-body {
    padding: 1.2rem 1.5rem 2rem;
    overflow-y: auto;
    flex: 1;
    display: grid;
    gap: 1rem;
}

.cart-empty {
    color: var(--text-light);
    padding: 1.5rem 1rem;
    text-align: center;
    border: 1px dashed #cbd5f5;
    border-radius: 12px;
    background: #f8fafc;
}

.cart-items {
    display: grid;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.9rem;
    padding: 0.9rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.cart-item__media {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-item__content {
    display: grid;
    gap: 0.4rem;
}

.cart-item__title {
    font-weight: 700;
    font-size: 0.95rem;
}

.cart-item__price {
    color: var(--primary-color);
    font-weight: 700;
}

.cart-item__label {
    font-size: 0.75rem;
    color: var(--text-light);
}

.cart-item__form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
    align-items: center;
}

.cart-item__input {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.5rem 0.7rem;
    font-size: 0.9rem;
    background: #ffffff;
}

.cart-item__save {
    border: none;
    background: #0f172a;
    color: #ffffff;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
}

.cart-item__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.cart-item__remove {
    border: none;
    background: transparent;
    color: #ef4444;
    font-weight: 600;
    cursor: pointer;
}

/* ==================== HERO SECTION ==================== */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.cta-button.large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* Bottle Mockup */
.bottle-mockup {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 400px;
}

.bottle-shape {
    position: relative;
    width: 120px;
}

.bottle-cap {
    width: 100%;
    height: 30px;
    background: linear-gradient(135deg, #888, #555);
    border-radius: 4px 4px 0 0;
    margin-bottom: -2px;
}

.bottle-body {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--bottle-blue), #1e56db);
    border-radius: 20px 20px 30px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.label-area {
    width: 85%;
    height: 150px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 1rem;
    border: 2px dashed rgba(255, 255, 255, 0.4);
}

.label-text {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* ==================== FEATURES SECTION ==================== */
.features {
    background-color: var(--white);
    padding: 4rem 2rem;
    margin-top: 3rem;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    background: linear-gradient(135deg, #e0f2fe, #dbeafe 60%, #f8fafc);
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.2);
}

.feature-card:nth-child(2) {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0 60%, #f8fafc);
    border-color: rgba(16, 185, 129, 0.18);
}

.feature-card:nth-child(3) {
    background: linear-gradient(135deg, #fef3c7, #fde68a 60%, #f8fafc);
    border-color: rgba(245, 158, 11, 0.18);
}

.feature-card:nth-child(4) {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe 60%, #f8fafc);
    border-color: rgba(124, 58, 237, 0.18);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
}

/* ==================== PRODUCT PREVIEW ==================== */
.product-preview {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.product-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.products-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.product-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-image {
    height: 150px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.bottle-preview {
    width: 80px;
    height: 160px;
    border-radius: 15px 15px 20px 20px;
    position: relative;
}

.bottle-preview::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(135deg, #888, #555);
    border-radius: 4px;
    margin: 0 auto;
    width: 100%;
}

.bottle-preview.blue {
    background: linear-gradient(135deg, var(--bottle-blue), #1e56db);
}

.bottle-preview.black {
    background: linear-gradient(135deg, var(--bottle-black), #111);
}

.bottle-preview.white {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border: 2px solid #d1d5db;
}

.product-item h3 {
    margin: 1rem 0 0.5rem;
    color: var(--text-dark);
}

.product-item .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.view-all-btn {
    display: block;
    margin: 2rem auto 0;
    padding: 0.8rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    text-align: center;
    max-width: 200px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.view-all-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 3rem;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ==================== SECTION TITLES ==================== */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    text-align: center;
    margin: 0 0 2rem;
    color: var(--text-dark);
}

.section-title::before,
.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #cbd5f5, transparent);
}

.section-title span {
    font-weight: 700;
    color: var(--text-dark);
}

.section-title--light span {
    color: #ffffff;
}

.section-title--light::before,
.section-title--light::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
}

@media (max-width: 640px) {
    .section-title {
        gap: 0.6rem;
    }
}

/* ==================== FEATURED POPUP ==================== */
.feature-popup {
    position: fixed;
    top: 50%;
    right: 0;
    width: 360px;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 55%, #e0f2fe 100%);
    border-radius: 22px 0 0 22px;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.22);
    transform: translate(110%, -50%);
    transition: transform 0.35s ease;
    z-index: 1100;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.feature-popup.is-open {
    transform: translate(0, -50%);
}

.feature-popup__close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    cursor: pointer;
    color: #0f172a;
}

.feature-popup__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #111827;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.feature-popup__media {
    width: 100%;
    height: 220px;
    background: radial-gradient(circle at top, #ffffff 0%, #e2e8f0 70%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-popup__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-popup__body {
    padding: 1.2rem 1.3rem 1.4rem;
    text-align: left;
}

.feature-popup__body h3 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.feature-popup__meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.feature-popup__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.feature-popup__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-popup__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.25);
}

.feature-popup__toggle {
    position: fixed;
    top: 45%;
    right: 0;
    transform: translateX(0);
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 12px 0 0 12px;
    padding: 0.7rem 0.9rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 1090;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
}

@media (max-width: 768px) {
    .feature-popup {
        width: 92%;
        right: 4%;
        border-radius: 20px;
        transform: translate(120%, -50%);
    }

    .feature-popup.is-open {
        transform: translate(0, -50%);
    }
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ==================== PRODUCTS PAGE ==================== */
.products-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.filters {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filters h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.filter-group {
    margin-bottom: 1.5rem;
}

.filter-group label {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    cursor: pointer;
    color: var(--text-dark);
}

.filter-group input[type="checkbox"] {
    margin-right: 0.5rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 2rem;
}

/* ==================== HIGHLIGHT FILTER SECTION ==================== */
.highlight-section {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.highlight-header {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.highlight-header h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
}

.highlight-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.highlight-filter {
    border: none;
    background: #e5e7eb;
    color: #111827;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.highlight-filter.is-active,
.highlight-filter:hover {
    background: #111827;
    color: #ffffff;
}

.highlight-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: auto;
    gap: 1.5rem;
    height: 430px;
}

.highlight-item {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 18px;
    overflow: hidden;
    background: #f8fafc;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

.highlight-item.is-big {
    grid-column: span 1;
}

.highlight-media {
    flex: 1;
    min-height: 0;
    background: #f3f4f6;
}

.highlight-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.highlight-info {
    padding: 1rem;
    display: grid;
    gap: 0.4rem;
    background: #ffffff;
}

.highlight-pill {
    align-self: start;
    background: #dcfce7;
    color: #166534;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    width: fit-content;
}

.highlight-info h3 {
    font-size: 1rem;
    color: var(--text-dark);
}

.highlight-price {
    font-weight: 700;
    color: var(--primary-color);
}

@media (max-width: 900px) {
    .highlight-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .highlight-item.is-big {
        grid-column: auto;
    }
}

.collection-section {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.collection-slider {
    position: relative;
    overflow: hidden;
    margin: 2rem 0 1rem;
}

.collection-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: collection-scroll 36s linear infinite;
}

.collection-slider:hover .collection-track {
    animation-play-state: paused;
}

.collection-item {
    text-decoration: none;
    flex: 0 0 280px;
}

.collection-item .product-card {
    height: 410px;
}

@keyframes collection-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .collection-item {
        flex: 0 0 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .collection-track {
        animation: none;
        transform: none;
    }
}

.product-card {
    background: white;
    height: 410px;
    /* width: 290px; */
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.products-grid a {
    text-decoration: none;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.product-card .product-img {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin: 0;
    /* background: red; */
}

.product-card .product-img img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
    margin: 0;

}

.product-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0 0.5rem 0 0.5rem;
}

.product-card .capacity {
    font-size: 0.9rem;
    color: var(--text-light);
    /* margin-bottom: 0.5rem; */
}

.product-card .price {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    /* margin-bottom: 1rem; */
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    z-index: 2;
}

.product-badge--low {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.35);
}

.add-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.add-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.02);
}

.add-to-cart {
    width: 100%;
    padding: 0.65rem;
    background-color: var(--card-ink);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.add-to-cart:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.15);
}

.product-card-wrap {
    display: grid;
    gap: 0.75rem;
}

/* ==================== PRODUCT CARD REDESIGN ==================== */
.product-card--modern {
    position: relative;
    height: auto;
    text-align: left;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--card-sand), var(--card-mist) 55%, var(--card-sea));
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 16px 35px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-card--modern::before {
    content: "";
    position: absolute;
    inset: -40% 30% auto -50%;
    height: 200px;
    background: radial-gradient(circle, var(--card-glow), transparent 65%);
    opacity: 0.8;
    transform: translateY(-10px);
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
}

.product-card--modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
}

.product-card--modern:hover::before {
    transform: translateY(10px);
    opacity: 1;
}

.product-card__media {
    position: relative;
    margin: 16px;
    height: 240px;
    border-radius: 16px;
    background: linear-gradient(145deg, #e2e8f0, #f8fafc);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card--modern:hover .product-card__media img {
    transform: scale(1);
}

.product-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--card-ink);
    color: #fff;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.2);
}

.product-card__body {
    padding: 0 18px 18px;
    display: grid;
    gap: 10px;
}

.product-card__title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--card-ink);
    line-height: 1.25;
    min-height: 2.5rem;
}

.product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.product-card__price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--card-ink);
    background: #fff;
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.product-card__pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(14, 116, 144, 0.12);
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.product-card__cta {
    margin-top: 4px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #0ea5e9, #1d4ed8);
    color: #fff;
    text-align: center;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 12px 25px rgba(29, 78, 216, 0.25);
}

/* ==================== PRODUCT DETAIL ==================== */
.product-header {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
}

.product-detail {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-hero {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.product-hero img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    background: linear-gradient(135deg, #e0f2fe, #f8fafc);
}

.product-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.product-thumb {
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.product-thumb img {
    width: 100%;
    height: 90px;
    object-fit: cover;
}

.product-thumb.active {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.product-brand {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    font-size: 0.8rem;
}

.product-info h2 {
    font-size: 2.2rem;
    color: var(--text-dark);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #f59e0b;
    font-weight: 600;
}

.product-rating .reviews {
    color: var(--text-light);
    font-weight: 500;
}

.product-price {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 700;
}

.product-stock {
    font-weight: 600;
    color: #16a34a;
}

.product-stock.out-of-stock {
    color: #dc2626;
}

.product-option h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.color-swatches {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-swatch.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    transform: scale(1.05);
}

.color-swatch.out-of-stock {
    opacity: 0.4;
    cursor: not-allowed;
}

.size-options {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.size-pill {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.size-pill.active,
.size-pill:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0f172a;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.25);
    padding: 0.35rem 0.6rem;
}

.qty-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: #111827;
    color: #e2e8f0;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.qty-btn:hover {
    background: #1f2937;
    transform: translateY(-1px);
}

.quantity-input {
    width: 54px;
    height: 34px;
    text-align: center;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    background: #f8fafc;
    color: #0f172a;
    border-radius: 999px;
}

.quantity-input:focus {
    outline: none;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.primary-action,
.secondary-action {
    padding: 0.9rem 1.2rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-action {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

.secondary-action {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.primary-action:hover,
.secondary-action:hover {
    transform: translateY(-2px);
}

.product-highlights ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 0.5rem;
}

.product-highlights li::before {
    content: "✓";
    color: var(--accent-color);
    font-weight: 700;
    margin-right: 0.5rem;
}

.product-shipping {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.learn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.product-tabs {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.product-tab-buttons {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.product-tab-btn {
    background: transparent;
    border: none;
    padding: 0.8rem 0;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
    position: relative;
}

.product-tab-btn.active {
    color: var(--primary-color);
}

.product-tab-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 999px;
}

.product-tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.product-tab-content.active {
    display: block;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.specs-grid ul,
.feature-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 0.5rem;
    color: var(--text-light);
}

.care-card {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
}

.review-card {
    background: white;
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.review-author {
    color: var(--text-light);
    font-weight: 600;
}

.related-products {
    max-width: 1200px;
    margin: 3rem auto 4rem;
    padding: 0 2rem;
}

.related-products h2 {
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.related-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease;
}

.related-card:hover {
    transform: translateY(-6px);
}

.related-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-info {
    padding: 1rem;
}

.related-info p {
    color: var(--text-light);
    margin: 0.2rem 0;
}

.related-price {
    color: var(--primary-color);
    font-weight: 700;
}

/* ==================== CUSTOMIZER PAGE ==================== */
.customizer-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.instructions-panel {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
}

.instructions-panel h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.instruction-step {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.instruction-step:last-child {
    border-bottom: none;
}

.instruction-step h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.instruction-step p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.instruction-step ul {
    list-style: none;
    padding-left: 1rem;
}

.instruction-step li {
    color: var(--text-light);
    padding: 0.3rem 0;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.instruction-step li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.customizer-panel {
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.customizer-container {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 2rem;
}

.preview-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-area h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.bottle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.bottle-cap {
    width: 100px;
    height: 25px;
    background: linear-gradient(135deg, #888, #555);
    border-radius: 4px 4px 0 0;
}

.customizable-bottle {
    width: 120px;
    height: 280px;
    background: var(--bottle-blue);
    border-radius: 20px 20px 30px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.customizable-bottle.black {
    background: var(--bottle-black);
}

.customizable-bottle.white {
    background: var(--bottle-white);
    border: 2px solid #d1d5db;
}

.label-container {
    width: 90%;
    height: 200px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.label-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
}

.label-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    z-index: 10;
    text-align: center;
    padding: 1rem;
}

.logo-preview {
    max-width: 60px;
    max-height: 60px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.text-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.text-content p {
    margin: 0;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.text-content p.black {
    color: black;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.controls-area {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* background: red; */
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.control-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.control-group input[type="text"],
.control-group input[type="file"],
.control-group select,
.control-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.control-group input[type="text"]:focus,
.control-group input[type="file"]:focus,
.control-group select:focus,
.control-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.file-input {
    cursor: pointer;
}

.file-info {
    font-size: 0.85rem;
    color: var(--text-light);
}

.char-count {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: right;
}

.opacity-value {
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

.control-group input[type="range"] {
    cursor: pointer;
}

.order-button,
.reset-button {
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.order-button {
    background-color: var(--primary-color);
    color: white;
}

.order-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.reset-button {
    background-color: var(--border-color);
    color: var(--text-dark);
}

.reset-button:hover {
    background-color: #cbd5e1;
}

/* ==================== ABOUT PAGE ==================== */
.about-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    
}
.about-image img{
    width: 700px;
    height: 600px;
    border-radius: 10px;
    box-shadow:#6E6E6E 2px 2px 6px 1px ;
}
.about-mockup-large {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 400px;
}

.values-section {
    background: white;
    padding: 4rem 2rem;
    margin-top: 2rem;
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff, #ecfdf5);
    border-radius: 12px;
    text-align: center;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.stats-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-item p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.team-section {
    background: white;
    padding: 4rem 2rem;
    margin-top: 2rem;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.team-section>p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.team-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.team-member {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.member-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.team-member h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-member p {
    color: var(--text-light);
}

/* ==================== CONTACT PAGE ==================== */
.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.form-message {
    text-align: center;
    margin-top: 1rem;
    font-weight: 500;
    min-height: 1.5rem;
}

.form-message.success {
    color: var(--accent-color);
}

.form-message.error {
    color: #ef4444;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.info-card h3 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.info-card p {
    color: var(--text-light);
    margin: 0.3rem 0;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.info-card a:hover {
    text-decoration: underline;
}

.social-links {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.social-links h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    background-color: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.faq-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
    padding: 1.5rem;
    background-color: var(--light-bg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e2e8f0;
}

.faq-question h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.faq-toggle {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--text-light);
    margin: 0;
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p {
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #475569;
    padding-top: 2rem;
    text-align: center;
    color: #cbd5e1;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        background: white;
        position: absolute;
        top: 70px;
        left: 1.5rem;
        right: 1.5rem;
        padding: 1.2rem;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
        z-index: 999;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .about-section {
        grid-template-columns: 1fr;
    }

    .customizer-section {
        grid-template-columns: 1fr;
    }

    .customizer-container {
        grid-template-columns: 1fr;
    }

    .products-section {
        grid-template-columns: 1fr;
    }

    .filters {
        position: static;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .product-hero img {
        height: 320px;
    }

    .product-actions {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.4rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .features h2,
    .product-preview h2 {
        font-size: 1.8rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stats-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* ==================== ADMIN PANEL STYLES ==================== */

.admin-navbar {
    background-color: var(--dark-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.admin-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-logo h1 {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 700;
}

.admin-nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.admin-nav-btn {
    padding: 0.6rem 1.2rem;
    background-color: transparent;
    color: var(--white);
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.admin-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-nav-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.logout-btn {
    padding: 0.6rem 1.2rem;
    background-color: #dc2626;
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background-color: #b91c1c;
}

.admin-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.admin-tab {
    display: block;
    animation: fadeIn 0.3s ease;
}

.admin-tab.active {
    display: block;
}

.admin-panel {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.admin-panel h2 {
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 1.8rem;
}

/* ==================== ADMIN DASHBOARD ==================== */
.admin-dashboard {
    display: grid;
    gap: 2rem;
}

.stat-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.admin-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.message-cell {
    max-width: 360px;
}

.message-details {
    cursor: pointer;
}

.message-preview {
    list-style: none;
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
}

.message-preview::-webkit-details-marker {
    display: none;
}

.message-preview::after {
    content: 'View';
    display: inline-block;
    margin-left: 0.6rem;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.message-details[open] .message-preview::after {
    content: 'Hide';
}

.message-full {
    margin-top: 0.75rem;
    color: var(--text-light);
    line-height: 1.6;
    background: #f8fafc;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.dash-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.dash-btn.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.25);
}

.dash-btn.outline {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.dash-btn.ghost {
    background: #f1f5f9;
    color: var(--text-dark);
}

.dash-btn:hover {
    transform: translateY(-2px);
}

/* ==================== PRODUCT FORM ==================== */

.product-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.image-preview {
    margin-top: 1rem;
    max-height: 200px;
    border: 2px dashed var(--border-color);
    border-radius: 4px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 4px;
}

.btn-submit {
    padding: 0.9rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.cta-button,
.view-all-btn,
.add-to-cart,
.primary-action,
.secondary-action,
.order-button,
.reset-button,
.submit-btn,
.btn-submit,
.product-card__cta,
.feature-popup__cta,
.nav-link-button {
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    will-change: transform;
}

.cta-button:hover,
.view-all-btn:hover,
.add-to-cart:hover,
.primary-action:hover,
.secondary-action:hover,
.order-button:hover,
.reset-button:hover,
.submit-btn:hover,
.btn-submit:hover,
.product-card__cta:hover,
.feature-popup__cta:hover,
.nav-link-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.cta-button:active,
.view-all-btn:active,
.add-to-cart:active,
.primary-action:active,
.secondary-action:active,
.order-button:active,
.reset-button:active,
.submit-btn:active,
.btn-submit:active,
.product-card__cta:active,
.feature-popup__cta:active,
.nav-link-button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.12);
}

/* ==================== MANAGE PRODUCTS ==================== */

.manage-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.filter-select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--white);
    cursor: pointer;
    min-width: 150px;
}

.table-container {
    overflow-x: auto;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.products-table thead {
    background-color: var(--light-bg);
}

.products-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
}

.products-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.products-table tbody tr:hover {
    background-color: var(--light-bg);
}

.image-cell {
    text-align: center;
}

.product-thumbnail {
    max-width: 50px;
    max-height: 50px;
    border-radius: 4px;
    object-fit: cover;
}

.no-image {
    font-size: 0.85rem;
    color: var(--text-light);
}

.color-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.stock-badge.in-stock {
    background-color: #d1fae5;
    color: #065f46;
}

.stock-badge.low-stock {
    background-color: #fef3c7;
    color: #92400e;
}

.stock-badge.out-of-stock {
    background-color: #fee2e2;
    color: #991b1b;
}

.actions-cell {
    display: flex;
    gap: 0.5rem;
}

.btn-edit,
.btn-delete,
.btn-update ,
.btn-approve {
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    padding: 10px;
}
.btn-approve {
    background-color: #10b981;
    color: var(--white);
    width: 100%;
    height: 35px;
    padding: 5px;
}
.btn-edit {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-edit:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.btn-delete {
    background-color: #ef4444;
    color: var(--white);
}

.btn-delete:hover {
    background-color: #dc2626;
    transform: scale(1.05);
}

.empty-row {
    text-align: center;
}

.empty-message {
    padding: 3rem 1rem !important;
    color: var(--text-light);
    font-style: italic;
}

/* ==================== MODALS ==================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.15);
}

.login-content {
    max-width: 400px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.close-modal {
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: var(--text-dark);
    transform: scale(1.2);
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-cancel {
    flex: 1;
    padding: 0.9rem 1.5rem;
    background-color: var(--light-bg);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background-color: var(--border-color);
}

.btn-delete {
    flex: 1;
    padding: 0.9rem 1.5rem;
    background-color: #ef4444;
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background-color: #dc2626;
}

.delete-info {
    background-color: var(--light-bg);
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

.delete-info p {
    margin: 0.5rem 0;
}

/* ==================== LOGIN FORM ==================== */

#loginForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 1rem;
}

/* ==================== MESSAGE ==================== */

.message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
    animation: slideDown 0.3s ease;
}

.message.success {
    display: block;
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.message.error {
    display: block;
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== ADMIN RESPONSIVE ==================== */

@media (max-width: 768px) {
    .admin-nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .admin-nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .admin-nav-btn {
        width: 100%;
        background: green;
        padding: 10px;
        border-radius: 10px;
    }

    .logout-btn {
        width: 100%;
    }

    .admin-container {
        padding: 1rem;
    }

    .admin-panel {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .manage-controls {
        flex-direction: column;
    }

    .search-input,
    .filter-select {
        width: 100%;
    }

    .table-container {
        font-size: 0.85rem;
    }

    .products-table th,
    .products-table td {
        padding: 0.75rem 0.5rem;
    }

    .actions-cell {
        flex-direction: column;
    }

    .btn-edit,
    .btn-delete {
        width: 100%;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }
}
/* -------------------------------------custom-styles.css------------------------------------- */
.progress-wrapper {
    width: 100%;
    height: 8px;
    background: #eee;
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: blue;
    transition: width 0.2s ease;
}

.char-count {
    font-size: 12px;
    margin-top: 5px;
    text-align: right;
    color: #555;
}
.upload-box {
    position: relative;
    height: 120px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
    background: #fafafa;
}

.upload-box:hover {
    border-color: #4caf50;
}

.upload-box input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-ui {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #777;
}

.image-preview {
    display: none;
    width: 100%;
    max-height: 150px;
    margin-top: 10px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #ddd;
}
.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-top: 1px solid #eee;
    background: #fff;
    font-family: Arial, sans-serif;
}

.table-info {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}

.per-page {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
}

.pagination-custom {
    display: flex;
    gap: 6px;
}

.page-btn {
    min-width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover {
    background: #f0f0f0;
}

.page-btn.active {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cart-name-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 0.95rem;
    background: #ffffff;
}
