:root {
            --orange: #F1641E;
            --orange-dark: #D4521A;
            --orange-light: #FFF3EE;
            --ink: #222;
            --ink-mid: #595959;
            --ink-soft: #767676;
            --border: #D9D9D9;
            --bg: #F7F7F7;
            --white: #fff;
            --green: #2E7D32;
            --green-bg: #EDF7EE;
            --radius: 4px;
            --radius-lg: 8px
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0
        }

        body {
            font-family: 'Nunito Sans', sans-serif;
            background: var(--bg);
            color: var(--ink);
            -webkit-font-smoothing: antialiased
        }

        header {
            background: var(--white);
            border-bottom: 1px solid var(--border);
            position: sticky;
            top: 0;
            z-index: 100
        }

        .header-top {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            max-width: 1200px;
            margin: 0 auto
        }

        .btn-back {
            background: none;
            border: none;
            cursor: pointer;
            padding: 6px;
            color: var(--ink);
            display: flex;
            align-items: center;
            border-radius: var(--radius);
            flex-shrink: 0
        }

        .btn-back svg {
            width: 22px;
            height: 22px
        }

        .logo {
            font-family: 'Graphik', sans-serif;
            font-size: 1.6rem;
            font-weight: 600;
            color: var(--orange);
            text-decoration: none;
            flex-shrink: 0
        }

        .search-bar {
            flex: 1;
            display: flex;
            align-items: center;
            border: 2px solid var(--ink);
            border-radius: var(--radius);
            overflow: hidden;
            background: var(--white)
        }

        .search-bar input {
            flex: 1;
            border: none;
            outline: none;
            padding: 9px 12px;
            font-family: 'Nunito Sans', sans-serif;
            font-size: 0.85rem;
            color: var(--ink);
            background: transparent
        }

        .search-bar button {
            background: var(--orange);
            border: none;
            padding: 0 14px;
            height: 100%;
            cursor: pointer;
            display: flex;
            align-items: center;
            min-height: 38px
        }

        .search-bar button svg {
            width: 16px;
            height: 16px;
            fill: white
        }

        .header-actions {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0
        }

        .icon-btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            border-radius: var(--radius);
            color: var(--ink);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 2px;
            font-size: 0.65rem;
            font-family: 'Nunito Sans', sans-serif;
            position: relative
        }

        .icon-btn svg {
            width: 22px;
            height: 22px
        }

        .badge {
            position: absolute;
            top: 4px;
            right: 4px;
            background: var(--orange);
            color: white;
            font-size: 0.6rem;
            font-weight: 700;
            width: 16px;
            height: 16px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center
        }

        .breadcrumb {
            padding: 10px 16px;
            font-size: 0.75rem;
            color: var(--ink-soft);
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            gap: 6px;
            align-items: center;
            flex-wrap: wrap
        }

        .breadcrumb a {
            color: var(--ink-mid);
            text-decoration: none
        }

        .breadcrumb a:hover {
            text-decoration: underline
        }

        .breadcrumb span {
            color: var(--ink-soft)
        }

        .product-layout {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 16px 100px;
            display: grid;
            grid-template-columns: 1fr;
            gap: 0
        }

        @media (min-width:768px) {
            .product-layout {
                grid-template-columns: 1fr 1fr;
                gap: 40px;
                padding: 16px 24px 60px;
                align-items: start
            }
        }

        @media (min-width:1024px) {
            .product-layout {
                grid-template-columns: 55% 1fr
            }
        }

        .gallery {
            position: relative
        }

        .gallery-main {
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            display: block;
            background: #f0ece8;
            cursor: zoom-in
        }

        @media (min-width:768px) {
            .gallery-main {
                border-radius: var(--radius-lg)
            }
        }

        .gallery-thumbs {
            display: flex;
            gap: 8px;
            padding: 10px 16px;
            overflow-x: auto;
            scrollbar-width: none
        }

        .gallery-thumbs::-webkit-scrollbar {
            display: none
        }

        @media (min-width:768px) {
            .gallery-thumbs {
                padding: 10px 0
            }
        }

        .gallery-thumb {
            flex-shrink: 0;
            width: 68px;
            height: 68px;
            object-fit: cover;
            border-radius: var(--radius);
            cursor: pointer;
            border: 2px solid transparent;
            transition: border-color 0.15s;
            background: #f0ece8
        }

        .gallery-thumb.active {
            border-color: var(--orange)
        }

        .gallery-thumb:hover {
            border-color: var(--ink-mid)
        }

        .product-info {
            padding: 16px 16px 0;
            display: flex;
            flex-direction: column;
            gap: 16px
        }

        @media (min-width:768px) {
            .product-info {
                padding: 0;
                position: sticky;
                top: 80px
            }
        }

        .shop-row {
            display: flex;
            align-items: center;
            gap: 10px
        }

        .shop-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
            background: #e0d8d0;
            flex-shrink: 0
        }

        .shop-info {
            flex: 1
        }

        .shop-name {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--ink);
            text-decoration: none
        }

        .shop-name:hover {
            text-decoration: underline;
            color: var(--orange)
        }

        .shop-meta {
            font-size: 0.72rem;
            color: var(--ink-soft)
        }

        .btn-follow {
            background: none;
            border: 1px solid var(--ink);
            border-radius: 24px;
            padding: 5px 14px;
            font-family: 'Nunito Sans', sans-serif;
            font-size: 0.78rem;
            font-weight: 700;
            cursor: pointer;
            transition: background 0.15s;
            flex-shrink: 0
        }

        .btn-follow:hover {
            background: var(--bg)
        }

        .product-title {
            font-family: 'Graphik', sans-serif;
            font-size: clamp(1.1rem, 3vw, 1.4rem);
            font-weight: 600;
            line-height: 1.3;
            color: var(--ink)
        }

        .rating-row {
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap
        }

        .stars-lg {
            color: #D4AF37;
            font-size: 1rem;
            letter-spacing: 1px
        }

        .rating-score {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--ink);
            text-decoration: underline;
            cursor: pointer
        }

        .rating-count {
            font-size: 0.82rem;
            color: var(--ink-soft)
        }

        .bestseller-pill {
            background: var(--orange-light);
            color: var(--orange-dark);
            font-size: 0.72rem;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 24px;
            text-transform: uppercase;
            letter-spacing: 0.04em
        }

        .price-block {
            padding: 14px 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border)
        }

        .price-row {
            display: flex;
            align-items: baseline;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 6px
        }

        .price-main {
            font-family: 'Graphik', sans-serif;
            font-size: 1.6rem;
            font-weight: 600;
            color: var(--ink)
        }

        .price-original {
            font-size: 0.9rem;
            color: var(--ink-soft);
            text-decoration: line-through
        }

        .price-off-pill {
            background: var(--green-bg);
            color: var(--green);
            font-size: 0.75rem;
            font-weight: 700;
            padding: 2px 8px;
            border-radius: 24px
        }

        .price-note {
            font-size: 0.78rem;
            color: var(--ink-soft)
        }

        .option-section {
            display: flex;
            flex-direction: column;
            gap: 8px
        }

        .option-label {
            font-size: 0.82rem;
            font-weight: 700;
            color: var(--ink)
        }

        .option-label span {
            font-weight: 400;
            color: var(--ink-mid)
        }

        .option-select {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid var(--ink);
            border-radius: var(--radius);
            font-family: 'Nunito Sans', sans-serif;
            font-size: 0.85rem;
            color: var(--ink);
            background: var(--white);
            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='%23222' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 10px center
        }

        .option-textarea {
            width: 100%;
            padding: 10px 12px;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            font-family: 'Nunito Sans', sans-serif;
            font-size: 0.85rem;
            color: var(--ink);
            resize: vertical;
            min-height: 80px;
            outline: none;
            transition: border-color 0.15s
        }

        .option-textarea:focus {
            border-color: var(--ink)
        }

        .char-count {
            font-size: 0.72rem;
            color: var(--ink-soft);
            text-align: right
        }

        .qty-row {
            display: flex;
            align-items: center;
            gap: 12px
        }

        .qty-label {
            font-size: 0.82rem;
            font-weight: 700;
            color: var(--ink)
        }

        .qty-control {
            display: flex;
            align-items: center;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden
        }

        .qty-btn {
            background: none;
            border: none;
            width: 36px;
            height: 36px;
            font-size: 1.1rem;
            cursor: pointer;
            color: var(--ink);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s
        }

        .qty-btn:hover {
            background: var(--bg)
        }

        .qty-btn:disabled {
            color: var(--ink-soft);
            cursor: not-allowed
        }

        .qty-val {
            width: 40px;
            text-align: center;
            font-size: 0.9rem;
            font-weight: 700;
            border-left: 1px solid var(--border);
            border-right: 1px solid var(--border);
            height: 36px;
            line-height: 36px
        }

        .stock-note {
            font-size: 0.78rem;
            color: var(--green);
            font-weight: 600
        }

        .cta-stack {
            display: flex;
            flex-direction: column;
            gap: 10px
        }

        .btn-cart {
            width: 100%;
            padding: 14px;
            background: var(--orange);
            color: white;
            border: none;
            border-radius: 24px;
            font-family: 'Nunito Sans', sans-serif;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.15s, transform 0.15s
        }

        .btn-cart:hover {
            background: var(--orange-dark);
            transform: translateY(-1px)
        }

        .btn-buynow {
            width: 100%;
            padding: 14px;
            background: var(--white);
            color: var(--ink);
            border: 2px solid var(--ink);
            border-radius: 24px;
            font-family: 'Nunito Sans', sans-serif;
            font-weight: 700;
            font-size: 1rem;
            cursor: pointer;
            transition: background 0.15s
        }

        .btn-buynow:hover {
            background: var(--bg)
        }

        .btn-fav {
            width: 100%;
            padding: 12px;
            background: none;
            color: var(--ink);
            border: 1px solid var(--border);
            border-radius: 24px;
            font-family: 'Nunito Sans', sans-serif;
            font-size: 0.85rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: background 0.15s
        }

        .btn-fav:hover {
            background: var(--bg)
        }

        .btn-fav svg {
            width: 18px;
            height: 18px
        }

        .perks {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 14px;
            background: var(--bg);
            border-radius: var(--radius-lg)
        }

        .perk {
            display: flex;
            align-items: flex-start;
            gap: 10px
        }

        .perk-icon {
            font-size: 1.1rem;
            flex-shrink: 0;
            margin-top: 1px
        }

        .perk-text strong {
            font-size: 0.82rem;
            display: block;
            color: var(--ink)
        }

        .perk-text span {
            font-size: 0.75rem;
            color: var(--ink-soft)
        }

        .details-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 16px 24px
        }

        @media (min-width:768px) {
            .details-section {
                padding: 0 24px 32px
            }
        }

        .details-tabs {
            display: flex;
            border-bottom: 1px solid var(--border);
            margin-bottom: 20px;
            overflow-x: auto;
            scrollbar-width: none
        }

        .details-tabs::-webkit-scrollbar {
            display: none
        }

        .tab {
            white-space: nowrap;
            padding: 12px 16px;
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--ink-soft);
            cursor: pointer;
            border-bottom: 2px solid transparent;
            background: none;
            border-top: none;
            border-left: none;
            border-right: none;
            font-family: 'Nunito Sans', sans-serif;
            transition: color 0.15s
        }

        .tab.active {
            color: var(--orange);
            border-bottom-color: var(--orange)
        }

        .tab:hover {
            color: var(--ink)
        }

        .tab-content {
            display: none
        }

        .tab-content.active {
            display: block
        }

        .description {
            font-size: 0.88rem;
            line-height: 1.8;
            color: var(--ink-mid)
        }

        .description h3 {
            font-family: 'Graphik', sans-serif;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--ink);
            margin: 16px 0 8px
        }

        .description ul {
            padding-left: 18px;
            display: flex;
            flex-direction: column;
            gap: 4px
        }

        .specs-table {
            width: 100%;
            border-collapse: collapse
        }

        .specs-table tr {
            border-bottom: 1px solid var(--border)
        }

        .specs-table td {
            padding: 10px 0;
            font-size: 0.85rem
        }

        .specs-table td:first-child {
            color: var(--ink-soft);
            width: 40%;
            font-weight: 600
        }

        .specs-table td:last-child {
            color: var(--ink)
        }

        .reviews-summary {
            display: flex;
            align-items: center;
            gap: 24px;
            padding: 16px;
            background: var(--bg);
            border-radius: var(--radius-lg);
            margin-bottom: 20px
        }

        .reviews-score {
            text-align: center;
            flex-shrink: 0
        }

        .reviews-score .score-big {
            font-family: 'Graphik', sans-serif;
            font-size: 2.4rem;
            font-weight: 600;
            line-height: 1;
            color: var(--ink)
        }

        .reviews-score .stars-lg {
            display: block;
            margin: 4px 0 2px
        }

        .reviews-score .total {
            font-size: 0.75rem;
            color: var(--ink-soft)
        }

        .rating-bars {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 4px
        }

        .rating-bar-row {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.72rem;
            color: var(--ink-mid)
        }

        .bar-track {
            flex: 1;
            height: 6px;
            background: var(--border);
            border-radius: 3px;
            overflow: hidden
        }

        .bar-fill {
            height: 100%;
            background: var(--orange);
            border-radius: 3px
        }

        .review-card {
            padding: 16px 0;
            border-bottom: 1px solid var(--border)
        }

        .review-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 8px
        }

        .reviewer-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--orange-light);
            color: var(--orange-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            font-weight: 700;
            flex-shrink: 0
        }

        .reviewer-info {
            flex: 1
        }

        .reviewer-name {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--ink)
        }

        .review-date {
            font-size: 0.72rem;
            color: var(--ink-soft)
        }

        .review-stars {
            color: #D4AF37;
            font-size: 0.82rem;
            letter-spacing: 1px
        }

        .review-text {
            font-size: 0.85rem;
            line-height: 1.7;
            color: var(--ink-mid);
            margin-bottom: 8px
        }

        .review-verified {
            font-size: 0.72rem;
            color: var(--green);
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 4px
        }

        .sticky-cta {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--white);
            border-top: 1px solid var(--border);
            padding: 12px 16px max(12px, env(safe-area-inset-bottom));
            display: flex;
            gap: 10px;
            z-index: 100
        }

        @media (min-width:768px) {
            .sticky-cta {
                display: none
            }
        }

        .sticky-price {
            display: flex;
            flex-direction: column;
            justify-content: center;
            flex-shrink: 0
        }

        .sticky-price .sp {
            font-family: 'Graphik', sans-serif;
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--ink)
        }

        .sticky-price .so {
            font-size: 0.72rem;
            color: var(--ink-soft);
            text-decoration: line-through
        }

        .sticky-btn {
            flex: 1;
            padding: 13px;
            background: var(--orange);
            color: white;
            border: none;
            border-radius: 24px;
            font-family: 'Nunito Sans', sans-serif;
            font-weight: 700;
            font-size: 0.95rem;
            cursor: pointer
        }

        .sticky-fav {
            background: none;
            border: 1px solid var(--border);
            border-radius: 50%;
            width: 46px;
            height: 46px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            flex-shrink: 0
        }

        .sticky-fav svg {
            width: 20px;
            height: 20px
        }