/* ===== PAGE HERO ===== */
.page-hero {
    padding: 8rem 2rem 3.5rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--border);
}
.page-hero-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.breadcrumb a {
    font-size: .75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep {
    font-size: .7rem;
    color: var(--gray-300);
}
.breadcrumb .current {
    font-size: .75rem;
    font-weight: 700;
    color: var(--red);
}
.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text);
    margin-bottom: .6rem;
    letter-spacing: -.02em;
}
.page-hero p {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

/* ===== CATEGORY NAV ===== */
.cat-nav {
    position: sticky;
    top: 68px;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
}
.cat-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav a {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: .9rem 1.2rem;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all .2s;
}
.cat-nav a:hover { color: var(--red); }
.cat-nav a.active {
    color: var(--red);
    border-bottom-color: var(--red);
}
.cat-nav a i { font-size: 1rem; }

/* ===== PRODUCT SECTIONS ===== */
.product-section { padding: 4rem 2rem; }
.product-section:nth-child(even) { background: var(--gray-50); }

/* ===== IMAGE BOX ===== */
.img-box {
    border-radius: 12px;
    overflow: hidden;
    background: var(--gray-100);
}
.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== PRODUCT DETAIL LAYOUT ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}
.product-detail:last-child { margin-bottom: 0; }
.product-detail.reverse { direction: rtl; }
.product-detail.reverse > * { direction: ltr; }

.product-gallery { display: grid; grid-template-columns: 1fr; gap: .8rem; }
.product-gallery .main-img { aspect-ratio: 4/3; }
.product-gallery .thumb-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .6rem;
}
.product-gallery .thumb-row .img-box { aspect-ratio: 1; }

.product-info { padding: .5rem 0; }
.product-info .badge-row {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

/* ===== BADGES ===== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .68rem;
    font-weight: 800;
    padding: .25rem .6rem;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.badge-red { color: var(--red); background: var(--red-light); }
.badge-green { color: var(--green); background: var(--green-light); }

.product-info h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: .6rem;
}
.product-info .desc {
    font-size: .9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ===== HEAT INDICATOR ===== */
.heat-indicator {
    display: flex;
    align-items: center;
    gap: .3rem;
    margin-bottom: 1rem;
}
.heat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-200);
}
.heat-dot.filled-red { background: var(--red); }
.heat-dot.filled-green { background: var(--green); }
.heat-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-left: .3rem;
}
.heat-label.mild { color: #16A34A; }
.heat-label.medium { color: #EA580C; }
.heat-label.hot { color: var(--red); }
.heat-label.very-hot { color: var(--green); }

/* ===== SPECS TABLE ===== */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}
.specs-table tr { border-bottom: 1px solid var(--gray-100); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: .55rem 0; font-size: .82rem; }
.specs-table td:first-child {
    font-weight: 700;
    color: var(--text-muted);
    width: 45%;
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .04em;
}
.specs-table td:last-child { font-weight: 700; color: var(--text); }

/* ===== PACKAGING INFO ===== */
.packaging-info {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1rem;
    background: var(--gray-50);
    border-radius: 10px;
    border: 1px solid var(--gray-100);
    margin-bottom: 1.2rem;
}
.packaging-info i { color: var(--red); font-size: 1.1rem; flex-shrink: 0; }
.packaging-info span { font-size: .82rem; font-weight: 600; color: var(--text-secondary); }
.packaging-info strong { color: var(--text); }

/* ===== BUTTON ROW ===== */
.btn-row {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
}

/* ===== CARD GRID ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.2rem;
}
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    transition: all .3s;
    opacity: 0;
    transform: translateY(12px);
}
.card.visible { opacity: 1; transform: translateY(0); }
.card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 6px 24px rgba(0,0,0,.06);
    transform: translateY(-3px);
}
.card-img {
    height: 400px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.card-img .img-box { height: 100%; border-radius: 0; }
.card-body { padding: 1.3rem; }
.card-body .badge-row { margin-bottom: .6rem; }
.card-body h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: .4rem;
}
.card-body p {
    font-size: .82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.card-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    padding-top: .8rem;
    border-top: 1px solid var(--gray-100);
}
.cs-label {
    font-size: .6rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
}
.cs-value { font-size: .78rem; font-weight: 700; color: var(--text); }

/* ===== COMPARISON TABLE ===== */
.comparison-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid var(--border);
}
.comparison-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
}
.comparison-table thead { background: var(--gray-50); }
.comparison-table th {
    font-size: .72rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: .8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.comparison-table td {
    font-size: .82rem;
    font-weight: 600;
    color: var(--text);
    padding: .7rem 1rem;
    border-bottom: 1px solid var(--gray-100);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover { background: var(--gray-50); }
.comparison-table .variety-name { font-weight: 800; }

/* ===== USES GRID ===== */
.uses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: .8rem;
    margin-top: 1.5rem;
}
.use-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem .9rem;
    background: var(--gray-50);
    border-radius: 8px;
    border: 1px solid var(--gray-100);
}
.use-item i { color: var(--red); font-size: 1rem; flex-shrink: 0; }
.use-item.green-item i { color: var(--green); }
.use-item span {
    font-size: .8rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* ===== BANNER (includes green variant) ===== */
.banner {
    padding: 3rem 2rem;
    background: var(--red);
    position: relative;
    overflow: hidden;
}
.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.banner-text h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: .3rem;
}
.banner-text p { font-size: .88rem; color: rgba(255,255,255,.8); }
.banner .btn { background: var(--white); color: var(--red); }
.banner .btn:hover { background: var(--gray-100); }
.banner-green { background: var(--green); }
.banner-green .btn { color: var(--green); }

/* ===== INFO BOX ===== */
.info-box {
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--border);
    margin-top: 2rem;
}
.info-box h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .4rem;
}

/* ===== ICON CARD ===== */
.icon-card-body { padding: 2rem; text-align: center; }
.icon-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.icon-card-icon i { font-size: 1.3rem; }
.icon-card-icon.red-bg { background: var(--red-light); }
.icon-card-icon.red-bg i { color: var(--red); }
.icon-card-icon.green-bg { background: var(--green-light); }
.icon-card-icon.green-bg i { color: var(--green); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .product-detail { grid-template-columns: 1fr; gap: 2rem; }
    .product-detail.reverse { direction: ltr; }
}
@media (max-width: 768px) {
    .product-section { padding: 3rem 1.5rem; }
    .page-hero { padding: 7rem 1.5rem 2.5rem; }
    .card-grid { grid-template-columns: 1fr; }
    .uses-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .btn-row { flex-direction: column; }
    .btn-row .btn { width: 100%; justify-content: center; }
    .uses-grid { grid-template-columns: 1fr; }
}
