/* ============================================
   PIYAOО - Premium Copper Bottle Website
   Modern Zen / White Brick & Wood Theme
   ============================================ */

:root {
    --copper: #b87333;
    --copper-light: #d4a574;
    --copper-dark: #8b5a2b;
    --copper-glow: rgba(184, 115, 51, 0.28);
    --sage: #5d8a66;
    --sage-light: #7aab84;
    --sage-dark: #3d5c44;
    --sage-glow: rgba(93, 138, 102, 0.22);
    --cream: #faf8f5;
    --cream-warm: #f3efe8;
    --brick: #f5f2ed;
    --brick-shadow: #e8e4dc;
    --wood: #4a3728;
    --wood-light: #6b5344;
    --white: #ffffff;
    --text-primary: #2c2416;
    --text-secondary: rgba(44, 36, 22, 0.62);
    --text-on-copper: #fffdf8;
    --glass: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(44, 36, 22, 0.09);
    --shadow: 0 20px 60px -18px rgba(44, 36, 22, 0.18);
    --shadow-soft: 0 8px 32px rgba(44, 36, 22, 0.08);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========== Nature Stream Background ========== */
.premium-bg,
.water-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.nature-bg-image {
    position: absolute;
    inset: 0;
    background: url('../images/piyaoo-nature-bg.png') center center / cover no-repeat;
    background-attachment: fixed;
    transform: scale(1.03);
}

.nature-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            rgba(240, 248, 252, 0.88) 0%,
            rgba(245, 250, 252, 0.78) 40%,
            rgba(232, 242, 248, 0.84) 70%,
            rgba(228, 238, 245, 0.9) 100%);
}

/* ========== Layout ========== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.main-content {
    min-height: calc(100vh - 200px);
    padding-top: 80px;
}

/* ========== Header & Navigation ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-soft);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, var(--copper-dark), var(--copper), var(--copper-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text-footer {
    font-size: 1.35rem;
}

.footer-logo {
    margin-bottom: 0.15rem;
}

.logo-img {
    height: 52px;
    width: 52px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 30%;
    border: 2px solid rgba(184, 115, 51, 0.55);
    box-shadow: 0 4px 16px rgba(44, 36, 22, 0.15), 0 0 0 3px rgba(255, 255, 255, 0.85);
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.06);
    box-shadow: 0 6px 22px rgba(184, 115, 51, 0.3), 0 0 0 3px rgba(255, 255, 255, 0.9);
}

.logo-img-footer {
    height: 48px;
    width: 48px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--copper), var(--sage));
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.logo-text-only .logo-text {
    font-size: 1.55rem;
}

.logo-text-only::before {
    content: '';
    width: 4px;
    height: 1.35rem;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--copper-light), var(--copper-dark));
    flex-shrink: 0;
}

.logo-text-only {
    gap: 0.55rem;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
}

.user-link {
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.35rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.user-link:hover {
    color: var(--copper-dark);
    background: rgba(184, 115, 51, 0.1);
}

.user-menu {
    position: relative;
}

.user-menu-toggle {
    gap: 0.35rem;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.65rem);
    right: 0;
    min-width: 210px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(184, 115, 51, 0.18);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(44, 24, 16, 0.14);
    padding: 0.45rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: var(--transition);
    z-index: 120;
}

.user-menu.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 0.7rem 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
}

.user-dropdown a:hover,
.user-dropdown a.active {
    background: rgba(184, 115, 51, 0.1);
    color: var(--copper-dark);
}

.user-dropdown-header {
    padding: 0.65rem 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(184, 115, 51, 0.12);
    margin-bottom: 0.25rem;
}

.user-dropdown-header strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.user-dropdown-header span {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 0.15rem;
    word-break: break-word;
}

.user-dropdown-logout {
    color: #b42318 !important;
}

.auth-section {
    padding-top: 0;
}

.auth-card {
    max-width: 480px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(184, 115, 51, 0.16);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 16px 40px rgba(44, 24, 16, 0.08);
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-switch {
    margin-top: 1.25rem;
    text-align: center;
    color: var(--text-muted);
}

.auth-switch a {
    color: var(--copper-dark);
    font-weight: 600;
    text-decoration: none;
}

.account-card {
    max-width: 720px;
}

.account-details,
.account-orders {
    margin-bottom: 1.5rem;
}

.account-details h3,
.account-orders h3 {
    font-family: var(--font-display);
    margin-bottom: 0.85rem;
}

.account-details p {
    margin: 0.35rem 0;
    color: var(--text-secondary);
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    border: 1px solid rgba(184, 115, 51, 0.28);
    color: var(--copper-dark);
    text-decoration: none;
    font-weight: 600;
    background: transparent;
}

.btn-secondary:hover {
    background: rgba(184, 115, 51, 0.08);
}

.account-orders-list {
    display: grid;
    gap: 0.75rem;
}

.account-order-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(184, 115, 51, 0.12);
}

.account-order-item span {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

.order-status {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 0.82rem;
    text-transform: capitalize;
}

.mobile-login-label {
    display: none;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: linear-gradient(135deg, var(--copper), var(--copper-light));
    color: var(--text-on-copper);
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--copper-dark), var(--copper), var(--copper-light));
    color: var(--text-on-copper);
    box-shadow: 0 4px 20px var(--copper-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(184, 115, 51, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--copper);
    color: var(--copper-dark);
    background: rgba(184, 115, 51, 0.08);
}

.btn-aqua {
    background: linear-gradient(135deg, var(--sage), var(--sage-light));
    color: var(--white);
    box-shadow: 0 4px 20px var(--sage-glow);
}

.btn-aqua:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--sage-glow);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.05rem;
}

/* ========== Hero Section ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--sage);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--copper-light), var(--copper), var(--sage));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-bottle {
    width: 100%;
    max-width: 460px;
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 24px 48px rgba(44, 36, 22, 0.2));
    animation: float 6s ease-in-out infinite;
    object-fit: cover;
    aspect-ratio: 4 / 5;
}

.hero-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.25), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

.product-gallery {
    background: linear-gradient(180deg, #ffffff 0%, var(--cream-warm) 100%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    position: sticky;
    top: 100px;
    box-shadow: var(--shadow-soft);
}

.product-gallery img,
.product-gallery svg {
    max-width: 100%;
    max-height: 480px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(44, 36, 22, 0.12));
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: linear-gradient(180deg, #fff, var(--cream-warm));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    overflow: hidden;
}

.cart-item-image img,
.cart-item-image svg {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.stat-item h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--copper-light);
    margin-bottom: 0.25rem;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

/* ========== Section Styles ========== */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ========== Product Cards ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-soft);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(184, 115, 51, 0.25);
    box-shadow: var(--shadow), 0 0 40px rgba(184, 115, 51, 0.08);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(135deg, #c45c4a, #a04435);
    color: white;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-image {
    position: relative;
    padding: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, var(--cream-warm) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    overflow: hidden;
}

.product-image img,
.product-image svg {
    max-width: 100%;
    max-height: 260px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 12px 24px rgba(44, 36, 22, 0.12));
}

.product-card:hover .product-image img,
.product-card:hover .product-image svg {
    transform: scale(1.08);
}

.product-info {
    padding: 1.5rem;
}

.product-capacity {
    font-size: 0.8rem;
    color: var(--sage);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-info h3 a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.product-info h3 a:hover {
    color: var(--copper-light);
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.product-price {
    display: flex;
    flex-direction: column;
}

.price-current {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--copper-light);
}

.price-original {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

/* ========== Features Section ========== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
}

.feature-card:hover {
    border-color: rgba(93, 138, 102, 0.3);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.15), rgba(93, 138, 102, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== CTA Banner ========== */
.cta-banner {
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.12), rgba(93, 138, 102, 0.1));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(184, 115, 51, 0.1), transparent 70%);
    border-radius: 50%;
}

.cta-banner h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
    position: relative;
}

.cta-banner p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    position: relative;
}

/* ========== Product Detail Page ========== */
.product-detail {
    padding: 2rem 0 5rem;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-detail-info h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.75rem);
    margin-bottom: 0.5rem;
}

.product-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.meta-item span {
    color: var(--sage);
    font-weight: 500;
}

.detail-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-price .price-current {
    font-size: 2rem;
}

.detail-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-selector label {
    font-weight: 500;
}

.qty-controls {
    display: flex;
    align-items: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background: rgba(184, 115, 51, 0.2);
    color: var(--copper-light);
}

.qty-input {
    width: 50px;
    text-align: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-body);
}

.detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.benefits-list {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

.benefits-list h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.benefits-list ul {
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.benefits-list li::before {
    content: '✦';
    color: var(--copper);
    font-size: 0.75rem;
}

/* ========== Cart Page ========== */
.page-header {
    padding: 2rem 0;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-secondary);
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    padding-bottom: 4rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1.5rem;
    align-items: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    backdrop-filter: blur(20px);
}

.cart-item-info h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.cart-item-info .capacity {
    font-size: 0.85rem;
    color: var(--sage);
}

.cart-item-price {
    font-weight: 700;
    color: var(--copper-light);
    font-size: 1.1rem;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.remove-btn {
    background: none;
    border: none;
    color: #f87171;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.remove-btn:hover {
    color: #ef4444;
}

.cart-summary {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(20px);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.cart-summary h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.cart-summary .btn {
    width: 100%;
    margin-top: 1.5rem;
}

.empty-cart {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
}

.empty-cart-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-cart h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.empty-cart p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ========== Checkout / Forms ========== */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2rem;
    padding-bottom: 4rem;
}

.form-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(20px);
}

.form-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--copper);
    box-shadow: 0 0 0 3px rgba(184, 115, 51, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(44, 36, 22, 0.35);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========== About Page ========== */
.about-hero {
    text-align: center;
    padding: 3rem 0;
}

.about-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-image {
    background: linear-gradient(180deg, #ffffff 0%, var(--cream-warm) 100%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-soft);
}

.about-image img {
    max-width: 320px;
    width: 100%;
    border-radius: 12px;
    object-fit: contain;
    filter: drop-shadow(0 16px 32px rgba(44, 36, 22, 0.12));
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--copper), var(--sage));
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 1.5rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--copper);
    border-radius: 50%;
    transform: translateX(-5px);
}

.timeline-item h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--copper-light);
    margin-bottom: 0.5rem;
}

.timeline-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========== Contact Page ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

.contact-info-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.contact-item-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.15), rgba(93, 138, 102, 0.15));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-weight: 500;
}

/* ========== Alerts & Messages ========== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.alert-success {
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.alert-error {
    background: rgba(248, 113, 113, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #f87171;
}

.alert-info {
    background: rgba(93, 138, 102, 0.15);
    border: 1px solid rgba(93, 138, 102, 0.3);
    color: var(--sage);
}

/* ========== Order Success ========== */
.success-page {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
}

.success-page h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.order-number {
    font-size: 1.25rem;
    color: var(--copper-light);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ========== Footer ========== */
.footer {
    background: rgba(255, 255, 255, 0.82);
    border-top: 1px solid var(--glass-border);
    padding: 2.5rem 0 1rem;
    margin-top: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 -4px 20px rgba(44, 36, 22, 0.04);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 1.75rem;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: var(--text-secondary);
    margin: 0.65rem 0 0.85rem;
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 0.6rem;
}

.social-links a {
    width: 34px;
    height: 34px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--copper-light);
    border-color: var(--copper);
    background: rgba(184, 115, 51, 0.1);
}

.footer-links h4,
.footer-contact h4,
.footer-benefits h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
    color: var(--copper-dark);
}

.footer-benefits {
    min-width: 0;
}

.benefit-tags {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.benefit-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.65rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(243, 239, 232, 0.9));
    border: 1px solid rgba(184, 115, 51, 0.15);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(44, 36, 22, 0.04);
    transition: var(--transition);
}

.benefit-tag:hover {
    border-color: rgba(184, 115, 51, 0.3);
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(184, 115, 51, 0.08);
}

.benefit-tag-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(184, 115, 51, 0.12), rgba(93, 138, 102, 0.12));
    border-radius: 8px;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.benefit-tag-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.45rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.84rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: 0.84rem;
    margin-bottom: 0.4rem;
    line-height: 1.45;
}

.footer-bottom {
    text-align: center;
    padding-top: 0.85rem;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.78rem;
}

/* ========== Mobile Nav Overlay ========== */
.nav-overlay {
    display: none;
}

.mobile-menu-top {
    display: none;
}

.mobile-cart-label {
    display: none;
}

/* ========== Toast Notification ========== */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    color: var(--text-primary);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-success {
    border-left: 4px solid #4ade80;
}

.toast-error {
    border-left: 4px solid #f87171;
}

/* ========== Loading Spinner ========== */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--copper);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 2rem auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .hero-content,
    .product-detail-grid,
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cart-container,
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .cart-summary,
    .product-gallery {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-visual {
        order: -1;
    }

    .hero-bottle {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.4rem 0;
    }

    .header.scrolled {
        padding: 0.32rem 0;
    }

    .main-content {
        padding-top: 48px;
    }

    .logo-text-only .logo-text {
        font-size: 1.2rem;
    }

    .logo-text-only::before {
        height: 1.1rem;
    }

    .nav-toggle {
        padding: 3px;
    }

    .nav-toggle span {
        width: 20px;
    }

    .nav-toggle {
        display: flex;
        z-index: 1002;
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(44, 36, 22, 0.45);
        backdrop-filter: blur(4px);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(88vw, 300px);
        height: 100vh;
        height: 100dvh;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0.15rem;
        padding: 0.75rem 0.65rem 1.5rem;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 40px rgba(44, 36, 22, 0.12);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .mobile-menu-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.35rem 0.25rem 0.85rem;
        margin-bottom: 0.35rem;
        border-bottom: 1px solid var(--glass-border);
        list-style: none;
    }

    .mobile-menu-brand {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .mobile-menu-brand .logo-text {
        font-size: 1.2rem;
    }

    .mobile-menu-logo {
        height: 40px;
        width: 40px;
        margin: 0;
    }

    .nav-close {
        width: 36px;
        height: 36px;
        border: 1px solid var(--glass-border);
        border-radius: 50%;
        background: #fff;
        color: var(--text-primary);
        font-size: 1.5rem;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        flex-shrink: 0;
    }

    .nav-menu > li:not(.mobile-menu-top) {
        width: 100%;
        list-style: none;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 0.8rem 0.85rem;
        border-radius: 10px;
        font-size: 0.95rem;
        font-weight: 500;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(184, 115, 51, 0.1);
        color: var(--copper-dark);
    }

    .nav-menu .cart-link {
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .nav-menu .user-link {
        width: 100%;
        padding: 0.8rem 0.85rem;
        border-radius: 10px;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .nav-menu .user-link::after {
        display: none;
    }

    .user-menu {
        width: 100%;
    }

    .user-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0.25rem 0 0 0.5rem;
        display: none;
    }

    .user-menu.open .user-dropdown {
        display: block;
    }

    .user-dropdown a {
        padding: 0.75rem 0.85rem;
    }

    .mobile-login-label {
        display: inline;
        font-weight: 500;
    }

    .mobile-cart-label {
        display: inline;
    }

    .nav-menu .cart-count {
        position: static;
        margin-left: auto;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .container {
        padding: 0 0.75rem;
    }

    .section {
        padding: 2.25rem 0;
    }

    .section-header {
        margin-bottom: 1.75rem;
    }

    .products-grid,
    .features-grid {
        gap: 0.75rem;
    }

    .product-card,
    .feature-card,
    .form-card,
    .cart-item,
    .cart-summary,
    .empty-cart,
    .cta-banner,
    .contact-info-card,
    .about-image,
    .product-gallery,
    .alert {
        border-radius: 12px;
    }

    .product-info {
        padding: 0.85rem;
    }

    .product-image {
        padding: 0.85rem;
        min-height: 210px;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .form-card,
    .cart-summary,
    .contact-info-card {
        padding: 1rem;
    }

    .cart-item {
        padding: 0.85rem;
        gap: 0.85rem;
    }

    .cta-banner {
        padding: 1.5rem 1rem;
    }

    .page-header {
        padding: 1.25rem 0;
    }

    .hero {
        min-height: auto;
        padding: 3.5rem 0 2rem;
    }

    .hero-stats {
        gap: 1rem;
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 72px 1fr;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: 1.5rem 0 0.75rem;
        margin-top: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem 0.75rem;
        margin-bottom: 0.75rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        margin: 0.5rem 0 0.65rem;
        font-size: 0.82rem;
        max-width: none;
    }

    .footer-links h4,
    .footer-contact h4,
    .footer-benefits h4 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
    }

    .benefit-tag {
        padding: 0.45rem 0.55rem;
    }

    .benefit-tag-text {
        font-size: 0.78rem;
    }

    .footer-links li {
        margin-bottom: 0.3rem;
    }

    .footer-links a,
    .footer-contact p {
        font-size: 0.8rem;
    }

    .footer-bottom {
        padding-top: 0.65rem;
    }

    .detail-actions {
        flex-direction: column;
    }

    .detail-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.6rem;
    }

    .nav-menu {
        width: min(92vw, 280px);
        padding: 0.65rem 0.55rem 1.25rem;
    }

    .product-card,
    .feature-card,
    .form-card,
    .cart-item,
    .cart-summary,
    .empty-cart,
    .cta-banner,
    .contact-info-card {
        border-radius: 10px;
    }

    .product-info {
        padding: 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .product-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .product-footer .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .social-links a {
        width: 32px;
        height: 32px;
    }
}
