/* Cultioo Store — Product Detail Page */
/* Design Language: Business Main (Trade Republic style) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

*::-webkit-scrollbar { display: none; }

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Light.ttf') format('truetype');
    font-weight: 400;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
    color: #111111;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==================== NAV ==================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow 0.25s ease;
}

.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.05); }

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.18s ease;
}

.nav-logo:hover { opacity: 0.7; }

.nav-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
}

.nav-logo .big  { color: #111111; }
.nav-logo .bite { color: rgba(0,0,0,0.25); font-weight: 400; }

.nav-badge {
    display: inline-flex;
    align-items: center;
    background: #111111;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 50px;
    margin-left: 10px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-icon {
    width: 44px;
    height: 44px;
    background: #f5f5f5;
    border: none;
    border-radius: 25px;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

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

.btn-icon:active { transform: translateY(0); }

.btn-icon img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) saturate(100%);
    opacity: 0.7;
}

.btn-icon-label {
    display: none;
}

/* Cart button — pill with inline count */
.btn-cart {
    color: rgba(0,0,0,0.65);
    gap: 0;
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

.btn-cart.has-items {
    width: auto;
    padding: 0 15px 0 12px;
    gap: 7px;
    background: #111111;
    color: #ffffff;
}

.btn-cart svg {
    transition: inherit;
}

.cart-count {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: inherit;
    line-height: 1;
    letter-spacing: 0;
}

/* ==================== PAGE ==================== */
.store-page {
    padding-top: 68px;
    min-height: 100vh;
}

/* ==================== LOADING / ERROR ==================== */
.store-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    min-height: calc(100vh - 68px);
}

.store-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #f0f0f0;
    border-top-color: #111111;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #cccccc;
}

.store-error {
    text-align: center;
    padding: 120px 40px;
    max-width: 560px;
    margin: 0 auto;
}

.store-error h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.store-error p {
    font-size: 1rem;
    color: #999999;
    line-height: 1.6;
    margin-bottom: 32px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    background: #111111;
    border: none;
    border-radius: 50px;
    padding: 14px 28px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
}

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

/* ==================== BREADCRUMB ==================== */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 40px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #cccccc;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.18s;
}

.breadcrumb a:hover { color: #111111; }
.breadcrumb-sep { color: #e0e0e0; }
.breadcrumb-current { color: #111111; }

/* ==================== PRODUCT HERO ==================== */
.product-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 40px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 88px;
}

.product-main-image {
    background: #f7f7f7;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 28px;
    aspect-ratio: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    transition: background 0.18s, box-shadow 0.2s;
}
.gallery-controls {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    pointer-events: none;
}

.gallery-nav,
.gallery-counter {
    pointer-events: auto;
}

.gallery-nav {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(255,255,255,0.92);
    color: #111111;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease;
}

.gallery-nav:hover {
    transform: scale(1.04);
    background: #ffffff;
}

.gallery-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    border-radius: 50px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(0,0,0,0.06);
    font-size: 0.76rem;
    font-weight: 700;
    color: #111111;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 32px;
    transition: transform 0.3s ease;
}

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

.product-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.product-thumb {
    width: 72px;
    height: 72px;
    background: #f7f7f7;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.18s, transform 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    appearance: none;
}

.product-thumb.active { border-color: #111111; }
.product-thumb:hover { transform: scale(1.06); background: #f0f0f0; }
.product-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }

/* Details */
.product-eyebrow {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.product-badge {
    display: inline-flex;
    align-items: center;
    background: #f7f7f7;
    color: #888888;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
}

.product-badge-green {
    background: #dcfce7;
    color: #16a34a;
}

.product-badge-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.product-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 8px;
}

.product-subtitle {
    font-size: 1rem;
    color: #999999;
    font-weight: 400;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Seller row */
.seller-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 20px;
    padding: 18px 22px;
    margin-bottom: 32px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: background 0.18s, transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.seller-row:hover {
    background: #fafafa;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}

.seller-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.seller-avatar img { width: 22px; height: 22px; filter: invert(1); object-fit: contain; }
.seller-avatar img {
    width: 100%;
    height: 100%;
    filter: none;
    object-fit: cover;
}

.seller-info { flex: 1; min-width: 0; }
.seller-name { font-size: 0.92rem; font-weight: 700; color: #111111; margin-bottom: 2px; }
.seller-meta { font-size: 0.78rem; color: #aaaaaa; font-weight: 400; }
.seller-arrow { color: #cccccc; font-size: 1.2rem; font-weight: 700; }

/* Price */
.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 28px;
}

.price-main {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.04em;
    line-height: 1;
}

.price-unit {
    font-size: 0.9rem;
    color: #aaaaaa;
    font-weight: 400;
}

/* Variant selector */
.variant-section { margin-bottom: 24px; }

.field-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cccccc;
    margin-bottom: 10px;
    display: block;
}

.variant-select {
    width: 100%;
    padding: 15px 20px;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #111111;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999999' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: border-color 0.18s, box-shadow 0.18s;
}

.variant-select:hover { border-color: rgba(0,0,0,0.18); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.variant-select:focus { outline: none; border-color: #111111; box-shadow: 0 0 0 3px rgba(0,0,0,0.06); }

/* Cart row */
.cart-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.qty-control {
    display: flex;
    align-items: center;
    background: #f7f7f7;
    border-radius: 50px;
    padding: 4px;
    flex-shrink: 0;
    gap: 2px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #111111;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
    flex-shrink: 0;
}

.qty-btn:hover { background: #f4f4f4; }

.qty-input {
    width: 52px;
    padding: 0;
    border: none;
    background: transparent;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: #111111;
}

.qty-input:focus { outline: none; }

.btn-add-cart {
    flex: 1 1 180px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    background: #111111;
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart:hover { background: #333333; transform: translateY(-1px); }
.btn-add-cart:active { transform: translateY(0); }
.btn-add-cart:disabled { opacity: 0.6; transform: none; cursor: not-allowed; }

.btn-add-advanced {
    flex: 1 1 160px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111111;
    background: #f4f4f4;
    border: none;
    border-radius: 50px;
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
}

.btn-add-advanced:hover { background: #ebebeb; transform: translateY(-1px); }

/* Add-to-cart advanced modal */
.qty-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 12000;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: none;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.18s ease;
}

.qty-modal-overlay.open { opacity: 1; }

.qty-modal {
    width: min(640px, 100%);
    background: #ffffff;
    border-radius: 28px 28px 0 0;
    padding: 14px 20px 32px;
    transform: translateY(16px);
    transition: transform 0.18s ease;
    box-shadow: 0 -8px 28px rgba(0,0,0,0.14);
}
.qty-modal::before {
    content: none;
    display: none;
}

.qty-modal-overlay.open .qty-modal { transform: translateY(0); }

.qty-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.qty-modal-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111111;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.qty-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 50px;
    border: none;
    background: #f3f3f3;
    color: #111111;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
}

.qty-mode-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.qty-mode-btn {
    border: none;
    border-radius: 14px;
    padding: 11px 10px;
    background: #f4f4f4;
    color: #777777;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
}

.qty-mode-btn.active {
    background: #111111;
    color: #ffffff;
}

.qty-mode-panel { margin-bottom: 10px; }

.qty-field-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.76rem;
    font-weight: 700;
    color: #8a8a8a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.qty-field-input,
.qty-field-select {
    width: 100%;
    border: none;
    border-radius: 16px;
    background: #f6f6f6;
    padding: 14px 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.98rem;
    font-weight: 600;
    color: #111111;
}

.qty-field-input:focus,
.qty-field-select:focus { outline: none; background: #f0f0f0; }

.qty-converter-row {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 8px;
}

.qty-preview {
    margin: 12px 0 14px;
    background: #f8f8f8;
    border-radius: 14px;
    padding: 12px 14px;
    color: #111111;
    font-size: 0.92rem;
    font-weight: 700;
}

.qty-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.qty-modal-btn {
    border: none;
    border-radius: 16px;
    padding: 13px 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.qty-modal-btn-secondary {
    background: #f0f0f0;
    color: #111111;
}

.qty-modal-btn-primary {
    background: #111111;
    color: #ffffff;
}

.btn-seller-link {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #111111;
    background: #f4f4f4;
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    cursor: pointer;
    transition: background 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    margin-bottom: 32px;
}

.btn-seller-link:hover { background: #ebebeb; }

/* Info chips */
.info-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.info-chip {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 18px;
    padding: 14px 18px;
    flex: 1;
    min-width: 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}

.info-chip:hover {
    background: #fafafa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}

.info-chip-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cccccc;
    margin-bottom: 5px;
}

.info-chip-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111111;
}

/* ==================== SECTIONS ==================== */
.store-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 64px;
}

.section-inner {
    background: #f9f9f9;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 32px;
    padding: 48px 56px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.section-eyebrow {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #cccccc;
    margin-bottom: 14px;
    display: block;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 28px;
}

/* Description */
.description-text {
    font-size: 1rem;
    color: #555555;
    line-height: 1.8;
    font-weight: 400;
    white-space: pre-wrap;
    max-width: 740px;
}

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

.info-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 20px;
    padding: 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: background 0.18s, transform 0.2s, box-shadow 0.2s;
}

.info-card:hover {
    background: #fdfdfd;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.info-card-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #cccccc;
}

.info-card-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.01em;
}

.info-card-sub {
    font-size: 0.78rem;
    color: #aaaaaa;
    font-weight: 400;
}

/* ==================== REVIEWS ==================== */
.reviews-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 20px;
}

.rating-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.rating-number {
    font-size: 4.5rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.05em;
    line-height: 1;
}

.stars-row { display: flex; gap: 3px; margin-bottom: 4px; }
.star { font-size: 1rem; color: #e0e0e0; }
.star.filled { color: #111111; }
.star.half { color: #cccccc; }

.rating-sub {
    font-size: 0.78rem;
    color: #aaaaaa;
    font-weight: 400;
    margin-top: 4px;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 20px;
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: background 0.18s, transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
    background: #fefefe;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.09);
}

.review-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 12px;
}

.review-author-row { display: flex; flex-direction: column; gap: 4px; }
.review-author { font-size: 0.9rem; font-weight: 700; color: #111111; }
.review-date { font-size: 0.75rem; color: #cccccc; font-weight: 400; }

.review-text {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.65;
    font-weight: 400;
    margin-top: 8px;
}

.reviews-empty {
    text-align: center;
    padding: 56px 0;
    color: #cccccc;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ==================== PRODUCT DESC INLINE ==================== */
.product-desc-inline {
    font-size: 0.93rem;
    color: #555555;
    line-height: 1.7;
    font-weight: 400;
    margin: 6px 0 16px;
}

/* ==================== FEATURES TAGS ==================== */
.features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 18px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    color: #333333;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 6px rgba(0,0,0,0.05);
}

/* ==================== ORGANIC BADGE ==================== */
.product-badge-organic {
    background: #f0fdf4 !important;
    color: #15803d !important;
    border: 1px solid #bbf7d0;
    font-weight: 700;
}

/* ==================== PRODUCT STATS ==================== */
.product-stats {
    display: flex;
    align-items: center;
    gap: 0;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 20px;
    padding: 14px 20px;
    margin: 16px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.product-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-val {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111111;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.product-stat-div {
    width: 1px;
    height: 32px;
    background: rgba(0,0,0,0.07);
    margin: 0 4px;
    flex-shrink: 0;
}

/* ==================== INFO CARD GREEN ==================== */
.info-card-green {
    color: #15803d !important;
}

/* ==================== NUTRITION TABLE ==================== */
.nutr-table {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 20px;
    overflow: hidden;
    margin-top: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.nutr-serving {
    padding: 16px 24px 12px;
    font-size: 0.8rem;
    color: #888888;
    background: #f9f9f9;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nutr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
    color: #333333;
}

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

.nutr-row-bold {
    background: #ffffff;
    font-weight: 700;
    color: #111111;
}

.nutr-row-sub {
    padding-left: 40px;
    font-size: 0.82rem;
    color: #777777;
    background: #fafafa;
}

.nutr-val {
    font-weight: 700;
    color: #111111;
    text-align: right;
    flex-shrink: 0;
}

.nutr-name { flex: 1; }

/* ==================== INGREDIENTS / ALLERGENS ==================== */
.ingredients-text {
    font-size: 0.9rem;
    color: #555555;
    line-height: 1.7;
    margin-bottom: 14px;
}

.allergens-row {
    font-size: 0.88rem;
    color: #555555;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.allergen-tag {
    display: inline-flex;
    background: #fff8f0;
    color: #c2410c;
    border: 1px solid #fed7aa;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

/* ==================== FOOTER ==================== */
.footer {
    background: #111111;
    color: #ffffff;
    padding: 64px 40px 40px;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* widget grid */
.footer-widgets {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 48px;
    margin-bottom: 48px;
    align-items: start;
}

.footer-widget--brand { max-width: 260px; }

.footer-logo {
    font-size: 1.55rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
}

.footer-logo .bite { color: rgba(255,255,255,0.3); font-weight: 400; }

.footer-tagline {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
}

.footer-widget-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 16px;
}

.footer-widget-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-widget-links a {
    font-size: 0.87rem;
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.18s;
}

.footer-widget-links a:hover { color: #ffffff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 28px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
    font-weight: 400;
}

/* ==================== SCROLL ANIMATIONS ==================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeInUp 0.5s ease both;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1000px) {
    .info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .nav { padding: 0 24px; }
    .product-hero {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px 24px 60px;
    }
    .product-gallery { position: static; }
    .store-section { padding: 0 24px 48px; }
    .section-inner { padding: 36px 32px; border-radius: 28px; }
    .breadcrumb { padding: 20px 24px 0; }
    .footer { padding: 48px 24px 32px; }
    .footer-widgets { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-widget--brand { grid-column: 1 / -1; max-width: 100%; }
}

@media (max-width: 640px) {
    .product-title { font-size: 1.9rem; }
    .price-main { font-size: 2.4rem; }
    .info-grid { grid-template-columns: 1fr; }
    .info-chips { gap: 6px; }
    .info-chip { min-width: calc(50% - 3px); }
    .cart-row { flex-direction: row; flex-wrap: wrap; }
    .qty-control { width: 100%; justify-content: center; }
    .btn-add-advanced { flex: 1 1 calc(50% - 5px); min-width: 132px; }
    .btn-add-cart { flex: 1; min-width: 140px; }
    .qty-modal { width: 100%; border-radius: 24px 24px 0 0; padding: 18px 14px 14px; }
    .qty-mode-row { grid-template-columns: 1fr; }
    .qty-converter-row { grid-template-columns: 1fr; }
    .qty-modal-actions { grid-template-columns: 1fr; }
    .section-inner { padding: 28px 22px; border-radius: 24px; }
    .section-title { font-size: 1.6rem; }
    .nav-actions { gap: 10px; }
    .btn-icon { width: 44px; }
    .gallery-controls {
        top: 12px;
        left: 12px;
        right: 12px;
    }
    .gallery-nav {
        width: 36px;
        height: 36px;
    }
    .gallery-counter {
        font-size: 0.72rem;
        padding: 0 12px;
    }
    .rating-number { font-size: 3.2rem; }
}
