/* zicong.blue dive shop styles — generated by build_shop2.py; edit the generator, not this file. */

    #shop { padding: 120px 0 80px; }
    .shop-intro { max-width: 640px; margin-bottom: 36px; }
    .shop-intro h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 700; color: var(--white); margin: 0 0 12px; }
    .shop-intro p { color: var(--text-muted); line-height: 1.7; }
    .shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
    .brand-selector { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
    .brand-tab { flex: 1; min-width: 150px; padding: 14px 20px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); cursor: pointer; text-align: left; transition: all 0.2s; color: var(--text-muted); font-family: inherit; }
    .brand-tab:hover { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.05); }
    .brand-tab.active { background: rgba(45,143,255,0.1); border-color: rgba(45,143,255,0.45); color: var(--white); }
    .brand-tab-name { display: block; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
    .brand-tab-sub { display: block; font-size: 0.76rem; color: var(--text-faint); line-height: 1.4; }
    .brand-tab.active .brand-tab-sub { color: var(--text-muted); }
    .cart-btn { padding: 12px 22px; border-radius: 10px; border: 1px solid rgba(45,143,255,0.45); background: rgba(45,143,255,0.12); color: var(--white); font-family: inherit; font-size: 0.95rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
    .cart-btn:hover { background: rgba(45,143,255,0.22); }
    .cart-fab { position: fixed; right: 16px; bottom: 16px; z-index: 150; background: #1a2e4a; border-color: #1a2e4a; box-shadow: 0 8px 24px rgba(0,0,0,0.35); }
    .cart-fab:hover { background: #0f3d39; }
    .brand-content { display: none; }
    .brand-content.active { display: block; }
    .cat-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .cat-chip { padding: 7px 16px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); border: 1px solid rgba(255,255,255,0.15); background: none; font-family: inherit; cursor: pointer; transition: all 0.15s; }
    .cat-chip:hover { color: var(--text); border-color: rgba(255,255,255,0.35); }
    .cat-chip.active { color: var(--white); border-color: rgba(45,143,255,0.6); background: rgba(45,143,255,0.15); }
    .shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
    .shop-card { border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; background: rgba(255,255,255,0.02); overflow: hidden; display: flex; flex-direction: column; }
    .shop-card.hidden { display: none; }
    .shop-thumb { height: 200px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(13,36,71,0.9), rgba(5,13,26,0.9)); color: var(--blue-bright); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.08em; }
    .shop-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
    .shop-thumb span { opacity: 0.85; }
    .shop-card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
    .shop-card-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-bright); }
    .shop-card-name { font-size: 0.98rem; font-weight: 600; color: var(--white); line-height: 1.4; }
    .shop-card-name a { color: inherit; text-decoration: none; }
    .shop-card-name a:hover { color: var(--blue-bright); }
    .shop-card-meta { font-size: 0.8rem; color: var(--text-faint); }
    .shop-card-price { font-size: 0.92rem; font-weight: 700; color: var(--text-muted); margin-top: 4px; }
    .shop-card-actions { display: flex; gap: 8px; margin-top: 12px; }
    .btn-add { flex: 1; padding: 9px 12px; border-radius: 8px; border: none; background: var(--blue-accent); color: #fff; font-family: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
    .btn-add:hover { background: var(--blue-bright); }
    .btn-view { padding: 9px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); color: var(--text-muted); text-decoration: none; font-size: 0.85rem; font-weight: 600; }
    .btn-view:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }
    .cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: var(--blue-dark); border-left: 1px solid rgba(255,255,255,0.12); z-index: 200; transform: translateX(105%); transition: transform 0.25s; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0,0,0,0.5); }
    .cart-drawer.open { transform: translateX(0); }
    .cart-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .cart-head h2 { font-size: 1.1rem; margin: 0; color: var(--white); }
    .cart-close { background: none; border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer; }
    .cart-items { flex: 1; overflow-y: auto; padding: 12px 22px; }
    .cart-empty { color: var(--text-faint); font-size: 0.9rem; padding: 24px 0; text-align: center; }
    .cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .cart-item-info { flex: 1; }
    .cart-item-name { font-size: 0.9rem; font-weight: 600; color: var(--white); line-height: 1.4; }
    .cart-item-variant { font-size: 0.78rem; color: var(--text-faint); margin-top: 2px; }
    .cart-item-price { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
    .cart-qty { display: flex; align-items: center; gap: 8px; }
    .cart-qty button { width: 26px; height: 26px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.2); background: none; color: var(--white); cursor: pointer; font-size: 0.9rem; }
    .cart-qty span { min-width: 18px; text-align: center; color: var(--white); font-size: 0.9rem; }
    .cart-remove { background: none; border: none; color: var(--text-faint); cursor: pointer; font-size: 0.78rem; margin-top: 6px; padding: 0; text-decoration: underline; }
    .cart-foot { padding: 20px 22px; border-top: 1px solid rgba(255,255,255,0.1); }
    .cart-total { display: flex; justify-content: space-between; font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 6px; }
    .cart-note { font-size: 0.8rem; color: var(--text-faint); line-height: 1.5; margin-bottom: 14px; }
    .btn-checkout { width: 100%; padding: 13px; border-radius: 10px; border: none; background: #25d366; color: #062b16; font-family: inherit; font-size: 0.95rem; font-weight: 700; cursor: pointer; }
    .btn-checkout:disabled { background: rgba(255,255,255,0.1); color: var(--text-faint); cursor: not-allowed; }
    .checkout-msg { margin-top: 12px; padding: 12px 14px; border-radius: 8px; background: rgba(61, 47, 0, 0.95); border: 1px solid #d4af37; color: #ffffff; font-size: 0.84rem; line-height: 1.6; display: none; }
    .checkout-msg.show { display: block; }
    .cart-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 150; display: none; }
    .cart-overlay.show { display: block; }
    /* product page */
    #shop-product { padding: 120px 0 80px; }
    .product-container { max-width: 900px; margin: 0 auto; }
    .product-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text-faint); text-decoration: none; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; margin-bottom: 36px; }
    .product-back:hover { color: var(--text-muted); }
    .product-header { margin-bottom: 28px; }
    .product-name { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; color: var(--white); margin-bottom: 8px; }
    .product-sub { font-size: 0.95rem; color: var(--text-faint); }
    .product-hero { height: 300px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(13,36,71,0.9), rgba(5,13,26,0.9)); color: var(--blue-bright); font-weight: 700; font-size: 2.4rem; letter-spacing: 0.08em; margin-bottom: 36px; overflow: hidden; }
    .product-hero img { width: 100%; height: 100%; object-fit: contain; display: block; }
    .product-full-link { margin-top: 18px; font-size: 0.9rem; }
    .product-full-link a { color: var(--blue-bright); text-decoration: none; }
    .product-full-link a:hover { text-decoration: underline; }
    .product-builder { margin: 20px 0 4px; }
    .product-builder a { display: inline-block; padding: 12px 18px; border: 1px solid #d4af37; border-radius: 10px; background: rgba(61, 47, 0, 0.92); color: #ffe9b0; text-decoration: none; font-weight: 600; font-size: 0.92rem; }
    .product-builder a:hover { background: rgba(61, 47, 0, 1); }
    .product-section { margin-bottom: 32px; }
    .product-section-label { font-size: 0.67rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 12px; }
    .product-section p { color: var(--text-muted); line-height: 1.85; font-size: 0.95rem; }
    .variant-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
    .variant-row label { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
    .variant-row select { padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); background: var(--blue-dark); color: var(--white); font-family: inherit; font-size: 0.9rem; max-width: 100%; }
    .price-block { display: inline-block; margin-bottom: 32px; padding: 20px 24px; background: rgba(45,143,255,0.05); border: 1px solid rgba(45,143,255,0.15); border-radius: 10px; }
    .price-block .price-amount { font-size: 1.3rem; font-weight: 700; color: var(--white); }
    .price-block .price-note { font-size: 0.8rem; color: var(--text-faint); margin-top: 4px; }
    .enquire-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
    .enquire-row a, .enquire-row button { font-family: inherit; }
    .btn-wa { background: #25d366; color: #062b16; padding: 11px 20px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 0.9rem; }
    .btn-wc { background: #07c160; color: #fff; padding: 11px 20px; border-radius: 8px; border: none; font-weight: 700; font-size: 0.9rem; cursor: pointer; }
    .btn-email { background: rgba(255,255,255,0.06); color: var(--text-muted); padding: 11px 20px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.12); }
    .enquire-line { margin-top: 22px; font-size: 0.9rem; color: var(--text-faint); }
    .enquire-line a, .enquire-line button.linklike { color: #1a2e4a; font-weight: 600; text-decoration: none; background: none; border: none; padding: 0; font: inherit; cursor: pointer; }
    .enquire-line a:hover, .enquire-line button.linklike:hover { text-decoration: underline; }
    @media (max-width: 640px) { .shop-thumb { height: 120px; } .product-hero { height: 200px; font-size: 1.8rem; } }
    /* search */
    .search-row { margin-bottom: 20px; }
    .search-input { width: 100%; max-width: 560px; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.04); color: var(--white); font-family: inherit; font-size: 0.95rem; }
    .search-input::placeholder { color: var(--text-faint); }
    .search-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
    #search-results { margin-bottom: 28px; }
    /* sale price: struck-through original */
    .price-was { color: var(--text-faint); font-weight: 400; margin-right: 6px; }
    /* product page teach blocks */
    .product-list { list-style: none; padding: 0; margin: 0; }
    .product-list li { color: var(--text-muted); font-size: 0.9rem; padding: 5px 0 5px 18px; position: relative; line-height: 1.6; }
    .product-list li::before { content: '·'; position: absolute; left: 0; color: var(--blue-bright); }
    .product-list a { color: var(--blue-bright); text-decoration: none; font-weight: 600; }
    .product-list a:hover { text-decoration: underline; }
    .tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
    .tag-pill { padding: 5px 12px; border-radius: 16px; border: 1px solid rgba(45,143,255,0.35); background: rgba(45,143,255,0.08); color: var(--text-muted); font-size: 0.8rem; font-weight: 600; }
    .zicong-note { border-left: 3px solid #d4af37; padding-left: 14px; font-style: italic; }
    .btn-reserve { background: #25d366; color: #062b16; padding: 9px 14px; border-radius: 8px; text-decoration: none; font-size: 0.85rem; font-weight: 700; display: inline-flex; align-items: center; }

/* ---- shop buying guides (#6), bundles (#17), compare page (#8), Q&A (#10) ---- */
.brand-guide { margin-top: 28px; padding: 24px 26px; border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; background: rgba(255,255,255,0.02); }
.brand-guide h3 { font-size: 1.15rem; color: var(--white); margin: 0 0 4px; }
.brand-guide h4 { font-size: 0.95rem; color: var(--white); margin: 20px 0 8px; }
.brand-guide p { color: var(--text-muted); line-height: 1.85; font-size: 0.93rem; margin: 0 0 12px; }
.brand-guide .guide-faq p { margin-bottom: 10px; }
.brand-guide .guide-faq strong { color: var(--white); }
.guide-cta { margin-top: 16px; font-size: 0.9rem; }
.guide-cta a { color: var(--blue-bright); text-decoration: none; font-weight: 600; }
.guide-cta a:hover { text-decoration: underline; }
.cat-guides { margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.cat-guides h2, .bundles-section h2 { font-size: 1.35rem; color: var(--white); margin: 0 0 6px; }
.cat-guides .section-sub, .bundles-section .section-sub { color: var(--text-muted); line-height: 1.7; font-size: 0.93rem; margin: 0 0 20px; max-width: 640px; }
.cat-guide { margin-bottom: 22px; }
.cat-guide h3 { font-size: 1.02rem; color: var(--white); margin: 0 0 6px; }
.cat-guide p { color: var(--text-muted); line-height: 1.85; font-size: 0.93rem; margin: 0; }
.bundles-section { margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.bundle-card { border: 1px solid rgba(212,175,55,0.45); border-radius: 12px; background: rgba(61,47,0,0.25); padding: 22px 24px; margin-bottom: 16px; }
.bundle-card h3 { font-size: 1.05rem; color: var(--white); margin: 0 0 8px; }
.bundle-card p { color: var(--text-muted); line-height: 1.75; font-size: 0.92rem; margin: 0 0 10px; }
.bundle-card .bundle-note { font-size: 0.85rem; color: var(--text-faint); }
.bundle-box { border: 1px solid rgba(212,175,55,0.45); border-radius: 12px; background: rgba(61,47,0,0.25); padding: 20px 22px; }
.bundle-box .btn-wa, .bundle-card .btn-wa { display: inline-block; margin-top: 6px; }
.qa-item { margin-bottom: 14px; }
.qa-q { font-weight: 700; color: var(--white) !important; margin-bottom: 2px; }
.qa-a { margin-top: 0; }
.order-note { border-left: 3px solid #d4af37; padding-left: 14px; }
.collect-note p { font-size: 0.88rem; color: var(--text-faint); }
.collect-note a { color: var(--blue-bright); text-decoration: none; font-weight: 600; }
.compare-table-wrap { overflow-x: auto; margin-bottom: 36px; }
table.compare-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 640px; }
.compare-table th, .compare-table td { border: 1px solid rgba(255,255,255,0.12); padding: 12px 14px; text-align: left; vertical-align: top; line-height: 1.65; color: var(--text-muted); }
.compare-table th { background: rgba(45,143,255,0.08); color: var(--white); font-weight: 700; }
.compare-table td:first-child { font-weight: 700; color: var(--white); white-space: nowrap; }
.compare-table a { color: var(--blue-bright); text-decoration: none; font-weight: 600; }
.compare-table a:hover { text-decoration: underline; }
.compare-note { font-size: 0.85rem; color: var(--text-faint); line-height: 1.7; margin-top: -20px; margin-bottom: 36px; }
