* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: #222;
    padding-bottom: 75px;
}

/* HEADER */
.site-header {
    height: 44px;
    background: #ff4b16;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header img {
    width: 85px;
}

.header-menu {
    color: #fff;
    font-size: 20px;
    text-decoration: none;
}

/* HERO */
.product-hero {
    position: relative;
    height: 340px;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

.product-hero-image {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1616486338812-3dadae4b4ace?w=1000&q=85');
    background-position: center;
    background-size: cover;
}

.product-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,.7),
        rgba(0,0,0,.15)
    );
}

.product-hero-content {
    position: absolute;
    top: 50%;
    left: 7%;
    right: 7%;
    transform: translateY(-50%);
    color: #fff;
}

.product-hero-content span {
    font-size: 9px;
    letter-spacing: 3px;
    font-weight: 700;
    color: #ff7147;
}

.product-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    line-height: 1.15;
    margin: 12px 0;
}

.product-hero-content p {
    font-size: 11px;
    line-height: 1.7;
    max-width: 280px;
}

/* INTRO */
.product-intro {
    padding: 28px 18px;
}

.product-intro p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

/* CATALOG */
.product-catalog {
    padding: 0 14px 35px;
}

/* BACK */
.product-back {
    margin-bottom: 15px;
}

.product-back a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #ff4b16;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

/* SEARCH */
.product-search {
    height: 48px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 12px;
}

.product-search i {
    color: #999;
    font-size: 17px;
}

.product-search input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 12px;
    background: transparent;
}

/* FILTER */
.product-filter {
    position: relative;
    margin-bottom: 20px;
}

.product-filter > button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 13px;
}

.filter-panel {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    width: 220px;
    padding: 16px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,.1);
    border-radius: 6px;
    z-index: 10;
}

.filter-panel.show {
    display: block;
}

.filter-panel span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 12px;
}

.filter-panel label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    margin-bottom: 10px;
}

/* CATEGORY TABS */
.product-categories {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 4px 0 15px;
    margin-bottom: 10px;
    scrollbar-width: none;
}

.product-categories::-webkit-scrollbar {
    display: none;
}

.category-tab {
    flex-shrink: 0;
    padding: 9px 13px;
    background: #fff;
    border: 1px solid #eee;
    color: #555;
    font-size: 10px;
    text-transform: uppercase;
    cursor: pointer;
}

.category-tab.active {
    border-color: #ff4b16;
    color: #ff4b16;
}

/* PRODUCT GRID */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 14px;
}

.product-card {
    min-width: 0;
    background: #f7f7f7;
}

.product-image {
    display: block;
    width: 100%;
    height: 155px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

.product-info {
    padding: 15px 12px 18px;
}

.product-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    margin-bottom: 10px;
    color: #222;
}

.product-info p {
    font-size: 10px;
    line-height: 1.7;
    color: #777;
    margin-bottom: 12px;
}

.product-detail {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ff4b16;
    font-size: 9px;
    font-weight: 600;
    text-decoration: none;
}

.product-empty {
    display: none;
    text-align: center;
    padding: 35px 10px;
    color: #999;
    font-size: 12px;
}

/* BOTTOM NAV */
.bottom-nav{position:fixed;z-index:28;bottom:0;left:0;right:0;height:calc(var(--nav-height) + env(safe-area-inset-bottom));padding:7px 8px env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(6,1fr);align-items:center;background:#111214;border-top:1px solid #ffffff14;box-shadow:0 -5px 20px #0002}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #aaa;
    font-size: 8px;
    text-decoration: none;
}

.nav-item i {
    font-size: 16px;
}

.nav-item.active {
    color: #ff4b16;
}

/* RESPONSIVE */
@media (max-width: 360px) {
    .product-hero {
        height: 300px;
    }

    .product-image {
        height: 135px;
    }

    .product-info {
        padding: 12px 9px;
    }
}