/* ==================== Fantasy showcase theme (dark + gold) ==================== */
:root {
    --bg-deep: #0d1117;
    --bg-mid: #121820;
    --bg-card: #1f2937;
    --bg-card-inner: #1a2234;
    --border-subtle: rgba(255, 215, 0, 0.14);
    --gold: #f1c40f;
    --gold-bright: #ffd700;
    --gold-dim: rgba(241, 196, 15, 0.35);
    --text: #f0f4f8;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    --accent-orange: #ff9f43;
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-pill: 999px;
    --font-sans: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.45);
    --header-h: 56px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.theme-fantasy {
    font-family: var(--font-sans);
    min-height: 100vh;
    color: var(--text);
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(ellipse 130% 90% at 50% -25%, rgba(80, 60, 120, 0.28), transparent 55%),
        radial-gradient(ellipse 70% 45% at 110% 40%, rgba(25, 45, 75, 0.35), transparent),
        radial-gradient(ellipse 60% 40% at -10% 70%, rgba(30, 55, 50, 0.12), transparent),
        linear-gradient(180deg, var(--bg-mid) 0%, var(--bg-deep) 38%, #0a0e14 100%);
    line-height: 1.65;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 28px);
}

/* ==================== Top bar ==================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13, 17, 23, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.header-inner,
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    min-height: var(--header-h);
    padding: 10px 0;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: clamp(0.95rem, 2.2vw, 1.1rem);
    color: var(--text);
    letter-spacing: 0.04em;
}

.logo-mark { filter: drop-shadow(0 0 6px var(--gold-dim)); }

.logo-text {
    background: linear-gradient(90deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    max-width: min(680px, 100%);
}

.nav-link,
.header .container:not(.header-inner) .nav a {
    color: rgba(255, 255, 255, 0.72);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover,
.header .container:not(.header-inner) .nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active,
.header .container:not(.header-inner) .nav a.active {
    color: var(--bg-deep);
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    font-weight: 700;
    box-shadow: 0 2px 14px rgba(241, 196, 15, 0.35);
}

.admin-link {
    flex-shrink: 0;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--gold);
    border: 1px solid var(--gold-dim);
    background: rgba(31, 41, 55, 0.6);
    transition: border-color 0.2s, background 0.2s;
}

.admin-link:hover {
    border-color: var(--gold);
    background: rgba(241, 196, 15, 0.12);
}

/* ==================== Hero (reference layout) ==================== */
.hero {
    text-align: center;
    padding: clamp(1.75rem, 5vw, 2.75rem) 16px clamp(1.25rem, 4vw, 2rem);
}

.hero-title {
    font-size: clamp(1.5rem, 4.8vw, 2.35rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.35;
    background: linear-gradient(180deg, #fff8dc 0%, var(--gold-bright) 45%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px rgba(241, 196, 15, 0.15);
}

.hero-sub {
    margin-top: 14px;
    font-size: clamp(14px, 2.5vw, 16px);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 400;
    letter-spacing: 0.06em;
}

.hero-contact {
    display: inline-flex;
    align-items: center;
    margin-top: 18px;
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    background: rgba(31, 41, 55, 0.85);
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-contact-label {
    opacity: 0.85;
    margin-right: 6px;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-muted);
}

/* ==================== Banner ==================== */
.banner {
    padding: 0 0 clamp(1.25rem, 3vw, 2rem);
}

.banner-shell { position: relative; }

.home-swiper {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
}

.home-swiper .swiper-slide img {
    width: 100%;
    height: clamp(160px, 32vw, 360px);
    object-fit: cover;
}

.banner-link { display: block; line-height: 0; }

.banner-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

.home-swiper .swiper-pagination { bottom: 14px !important; }

.home-swiper .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
}

.home-swiper .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

/* ==================== Segmented category (pill group) ==================== */
.category-nav {
    padding: 0 0 clamp(1.25rem, 3vw, 2rem);
}

.segmented-wrap {
    display: flex;
    justify-content: center;
}

.segmented {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 5px;
    background: rgba(22, 27, 34, 0.95);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.segmented .tab {
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}

.segmented .tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.segmented .tab.active {
    color: var(--bg-deep);
    background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
    box-shadow: 0 2px 16px rgba(241, 196, 15, 0.4);
}

/* Legacy category-tabs (fallback) */
.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    padding: 5px;
    background: rgba(22, 27, 34, 0.95);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
}

.category-tabs .tab {
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    background: transparent;
}

.category-tabs .tab:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

.category-tabs .tab.active {
    color: var(--bg-deep);
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    box-shadow: 0 2px 16px rgba(241, 196, 15, 0.4);
}

/* ==================== Product grid ==================== */
.products {
    padding: 0 0 clamp(2.5rem, 6vw, 4rem);
}

.section-head {
    text-align: center;
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.section-title {
    font-size: clamp(1.2rem, 3.2vw, 1.5rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.2em;
}

.section-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-sub {
    margin-top: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: clamp(16px, 2.5vw, 22px);
}

/* Card */
.product-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s, box-shadow 0.35s;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 215, 0, 0.35);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(241, 196, 15, 0.12);
}

.product-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 2;
    pointer-events: none;
}

.product-card:hover .product-card-glow { opacity: 1; }

.product-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111827;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-image img { transform: scale(1.05); }

.tag-recommend {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    color: var(--bg-deep);
    background: linear-gradient(180deg, var(--gold-bright), var(--gold));
    z-index: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.product-info {
    padding: 16px 16px 14px;
    background: var(--bg-card-inner);
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.product-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.55;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-dim);
}

.product-meta-row span:last-child { color: rgba(255, 255, 255, 0.75); }

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-orange);
    letter-spacing: -0.02em;
}

.product-price .price-currency {
    font-size: 0.8em;
    color: var(--gold);
    margin-right: 2px;
}

.product-category {
    flex-shrink: 0;
    max-width: 45%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    color: var(--gold);
    background: rgba(241, 196, 15, 0.1);
    border: 1px solid rgba(241, 196, 15, 0.2);
}

.product-cta {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-card:hover .product-cta { color: var(--gold); }

/* Empty */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: clamp(2.5rem, 6vw, 4rem) 24px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px dashed var(--border-subtle);
}

.empty-state-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.empty-state-hint,
.empty-state > p:only-of-type {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==================== Footer ==================== */
.footer {
    margin-top: auto;
    padding: clamp(1.75rem, 4vw, 2.5rem) 0;
    background: rgba(8, 10, 14, 0.92);
    border-top: 1px solid var(--border-subtle);
}

.footer-inner,
.footer .container {
    text-align: center;
}

.footer-brand,
.footer .container > p:first-child {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.footer .notice {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.65;
    max-width: 520px;
    margin: 0 auto 12px;
}

.footer-contact,
.footer .container > p:last-child {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

/* ==================== Detail page ==================== */
.page-detail .detail-main { padding: 20px 0 48px; }

.detail-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    background: rgba(31, 41, 55, 0.75);
    border: 1px solid var(--border-subtle);
    transition: background 0.2s, border-color 0.2s;
}

.detail-back:hover {
    background: rgba(241, 196, 15, 0.12);
    border-color: var(--gold-dim);
}

.detail-card {
    display: flex;
    flex-wrap: wrap;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
}

.detail-image {
    flex: 1 1 320px;
    min-width: 280px;
    background: #111827;
}

.detail-image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.detail-info {
    flex: 1 1 320px;
    min-width: 280px;
    padding: clamp(24px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-info h1 {
    font-size: clamp(1.25rem, 3vw, 1.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.detail-info .price {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: var(--accent-orange);
}

.detail-info .price .currency { color: var(--gold); font-size: 0.85em; margin-right: 4px; }

.detail-info .meta {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    gap: 8px;
}

.detail-info .meta strong { color: rgba(255, 255, 255, 0.88); font-weight: 600; }

.detail-info .desc {
    margin-top: 8px;
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.detail-info .detail-notice {
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    line-height: 1.55;
    color: var(--gold);
    background: rgba(241, 196, 15, 0.08);
    border: 1px solid rgba(241, 196, 15, 0.22);
}

.clearfix::after { content: ""; display: table; clear: both; }

.hero--compact {
    padding: clamp(1rem, 3vw, 1.5rem) 16px;
}

.hero--compact .hero-title {
    font-size: clamp(1.25rem, 3.8vw, 1.75rem);
    letter-spacing: 0.1em;
}

/* ==================== Product type variants (list cards) ==================== */
.product-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    z-index: 1;
    letter-spacing: 0.06em;
    border: 1px solid transparent;
}

.product-type-badge--equip {
    color: #e8f4ff;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.35), rgba(30, 64, 120, 0.65));
    border-color: rgba(125, 211, 252, 0.45);
}

.product-type-badge--pet {
    color: #f0fdf4;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.35), rgba(22, 101, 52, 0.55));
    border-color: rgba(134, 239, 172, 0.4);
}

.product-type-badge--pet_equip {
    color: #fff7ed;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.4), rgba(120, 53, 15, 0.55));
    border-color: rgba(253, 186, 116, 0.45);
}

.product-type-badge--other {
    color: var(--text);
    background: rgba(148, 163, 184, 0.2);
    border-color: rgba(148, 163, 184, 0.35);
}

.product-card--equip { border-top: 2px solid rgba(56, 189, 248, 0.55); }
.product-card--pet { border-top: 2px solid rgba(74, 222, 128, 0.5); }
.product-card--pet_equip { border-top: 2px solid rgba(251, 146, 60, 0.55); }
.product-card--other { border-top: 2px solid rgba(148, 163, 184, 0.4); }

.product-ext-line {
    font-size: 12px;
    opacity: 0.88;
    margin: 4px 0;
    line-height: 1.45;
}

.product-ext-line--equip { color: #bae6fd; }
.product-ext-line--pet { color: #bbf7d0; }
.product-ext-line--pet_equip { color: #fed7aa; }
.product-ext-line--other { color: var(--text-muted); }

/* ==================== Detail: type layout ==================== */
.detail-back-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.detail-back--secondary {
    color: var(--text-muted);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(31, 41, 55, 0.45);
}

.detail-back--secondary:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.18);
}

.detail-card--equip { border-color: rgba(56, 189, 248, 0.35); box-shadow: var(--shadow-card), 0 0 0 1px rgba(56, 189, 248, 0.12); }
.detail-card--pet { border-color: rgba(74, 222, 128, 0.32); box-shadow: var(--shadow-card), 0 0 0 1px rgba(74, 222, 128, 0.1); }
.detail-card--pet_equip { border-color: rgba(251, 146, 60, 0.35); box-shadow: var(--shadow-card), 0 0 0 1px rgba(251, 146, 60, 0.12); }
.detail-card--other { border-color: var(--border-subtle); }

.detail-type-ribbon {
    display: inline-block;
    margin: 0 0 10px;
    padding: 5px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.detail-type-ribbon--equip { background: rgba(56, 189, 248, 0.18); color: #bae6fd; border: 1px solid rgba(56, 189, 248, 0.35); }
.detail-type-ribbon--pet { background: rgba(74, 222, 128, 0.15); color: #bbf7d0; border: 1px solid rgba(74, 222, 128, 0.35); }
.detail-type-ribbon--pet_equip { background: rgba(251, 146, 60, 0.18); color: #fed7aa; border: 1px solid rgba(251, 146, 60, 0.4); }
.detail-type-ribbon--other { background: rgba(148, 163, 184, 0.15); color: var(--text-muted); border: 1px solid rgba(148, 163, 184, 0.3); }

.detail-subtitle {
    opacity: 0.92;
    margin: 0.35rem 0 0.5rem;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}

.detail-core-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.detail-spec { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }

.detail-spec-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 0.06em;
}

.detail-spec--equip .detail-spec-title { color: #7dd3fc; }
.detail-spec--pet .detail-spec-title { color: #86efac; }
.detail-spec--petequip .detail-spec-title { color: #fdba74; }
.detail-spec--other .detail-spec-title { color: var(--text-muted); }

.detail-dl-grid { display: flex; flex-direction: column; gap: 10px; }

.detail-dl-row {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    align-items: baseline;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.15);
}

.detail-dl-row dt {
    color: #93c5fd;
    font-weight: 600;
    margin: 0;
}

.detail-dl-row dd { margin: 0; color: rgba(255, 255, 255, 0.9); }

.detail-pet-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.detail-stat-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.25);
    min-width: 100px;
}

.detail-stat-label { font-size: 11px; color: #86efac; text-transform: uppercase; letter-spacing: 0.1em; }
.detail-stat-value { font-size: 1.25rem; font-weight: 800; color: #fff; }

.detail-pet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-pet-list li {
    padding: 10px 14px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(74, 222, 128, 0.12);
    font-size: 14px;
    color: var(--text-muted);
}

.detail-pet-list li span { color: #86efac; font-weight: 600; margin-right: 8px; }
.detail-pet-list li strong { color: rgba(255, 255, 255, 0.9); font-weight: 600; }

.detail-pe-chips { display: flex; flex-direction: column; gap: 12px; }

.detail-pe-chip {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(251, 146, 60, 0.12), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(251, 146, 60, 0.28);
}

.detail-pe-chip-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fdba74;
    text-transform: uppercase;
}

.detail-pe-chip-body { font-size: 14px; color: rgba(255, 255, 255, 0.9); line-height: 1.55; }

.detail-other-hint {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

/* ==================== Responsive ==================== */
@media (max-width: 768px) {
    .header-inner,
    .header .container {
        flex-direction: column;
        align-items: stretch;
    }

    .nav,
    .header .container:not(.header-inner) .nav {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        max-width: 100%;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .admin-link { text-align: center; justify-content: center; }

    .segmented,
    .category-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-info { padding: 12px; }

    .product-name { font-size: 0.92rem; }

    .product-price { font-size: 1.05rem; }
}

@media (max-width: 380px) {
    .product-grid { grid-template-columns: 1fr; }
}
