/* JokamSport frontstore Beranda — source-inspired Pinterest masonry. Only loaded by store.inspiration. */

        body {
            -webkit-tap-highlight-color: transparent;
            transition: background-color .3s ease, color .3s ease;
        }
        .hide-scrollbar::-webkit-scrollbar { display: none; }
        .hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
        .nav-item.active { color: #000; }
        .dark .nav-item.active { color: #ccff00; }
        iconify-icon { display: inline-block; vertical-align: middle; }

        .price-tiktok {
            display: inline-block;
            background: linear-gradient(135deg, #ff6aa2 0%, #ff4f8b 28%, #ff2f7d 52%, #f00078 75%, #d1006b 100%);
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            color: transparent;
        }
        .price-tiktok-soft {
            color: #ff2f7d;
        }
        @supports not (-webkit-background-clip: text) {
            .price-tiktok {
                background: none;
                color: #ff2f7d;
                -webkit-text-fill-color: initial;
            }
        }

        @keyframes springToast {
            0% { transform: translateY(120%) scale(.85); opacity: 0; }
            65% { transform: translateY(-4%) scale(1.02); opacity: 1; }
            100% { transform: translateY(0) scale(1); opacity: 1; }
        }
        .goey-toast {
            animation: springToast .5s cubic-bezier(.34,1.56,.64,1) forwards;
            transform-origin: bottom center;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .fade-in { animation: fadeIn .25s ease-in-out forwards; }

        @keyframes tickerMove {
            from { transform: translateX(0); }
            to { transform: translateX(-50%); }
        }
        .ticker-track {
            display: flex;
            min-width: max-content;
            animation: tickerMove 24s linear infinite;
        }

        @keyframes pulseShimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        .skeleton {
            background: linear-gradient(90deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.08) 37%, rgba(0,0,0,.05) 63%);
            background-size: 400% 100%;
            animation: pulseShimmer 1.2s ease infinite;
        }
        .dark .skeleton {
            background: linear-gradient(90deg, rgba(255,255,255,.04) 25%, rgba(255,255,255,.08) 37%, rgba(255,255,255,.04) 63%);
            background-size: 400% 100%;
        }

        .drawer-open #drawer-overlay {
            opacity: 1;
            pointer-events: auto;
        }
        .drawer-open #side-drawer {
            transform: translateX(0);
        }

        .modal-open {
            overflow: hidden;
        }

        .hero-slide, .category-slide {
            transition: opacity .35s ease;
        }
        .jsa-hero-banner-card {
            border-radius: 22px;
            min-height: 190px;
            touch-action: pan-y;
        }
        .jsa-hero-banner-content {
            max-width: min(68%, 360px);
        }
        .jsa-hero-kicker,
        .jsa-promo-kicker {
            display: inline-flex;
            width: max-content;
            max-width: 100%;
            border-radius: 999px;
            background: rgba(255,255,255,.94);
            color: #050505;
            padding: .32rem .58rem;
            font-size: 9px;
            line-height: 1;
            font-weight: 900;
            letter-spacing: .16em;
            text-transform: uppercase;
        }
        .jsa-hero-title {
            font-size: clamp(1.7rem, 8vw, 2.9rem);
            line-height: .9;
            letter-spacing: -.055em;
        }
        .jsa-promo-strip-card {
            border-radius: 22px;
            min-height: 188px;
            background: linear-gradient(135deg, #ffffff 0%, #f7f7f7 100%);
            color: #111111;
            border-color: rgba(17,17,17,.09);
        }
        .dark .jsa-promo-strip-card {
            background: linear-gradient(135deg, #101010 0%, #050505 100%);
            color: #ffffff;
            border-color: rgba(255,255,255,.12);
        }
        @media (max-width: 430px) {
            .jsa-hero-banner-card { min-height: 178px; }
            .jsa-hero-banner-content { max-width: 76%; padding: 1rem !important; }
            .jsa-hero-title { font-size: clamp(1.45rem, 10vw, 2.2rem); }
            .jsa-hero-banner-content p,
            .jsa-promo-strip-card p { font-size: 11px; line-height: 1.45; }
        }

        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height .28s ease;
        }

        .line-clamp-2 {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
        }
        .line-clamp-3 {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            overflow: hidden;
        }

        .glass {
            background: rgba(255,255,255,.82);
            backdrop-filter: blur(14px);
        }
        .dark .glass {
            background: rgba(10,10,10,.82);
        }

        .product-detail-page,
        .product-detail-page * {
            font-family: Arial, sans-serif !important;
            letter-spacing: normal !important;
        }
        .product-detail-name {
            font-size: 17px !important;
            line-height: 1.32 !important;
            font-weight: 700 !important;
            text-transform: none !important;
        }
        .product-detail-price {
            font-size: 20px !important;
            line-height: 1.18 !important;
            font-weight: 700 !important;
        }
        .product-detail-label {
            font-size: 10px !important;
            line-height: 1.25 !important;
            font-weight: 700 !important;
            letter-spacing: .04em !important;
            text-transform: uppercase !important;
        }
        .custom-package-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: .55rem;
        }
        @media (min-width: 430px) {
            .custom-package-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
        }
        .custom-package-btn,
        .custom-mode-btn {
            border-radius: 10px !important;
            min-height: 44px;
            border: 1px solid #e5e7eb;
            background: transparent !important;
            color: #111827;
            padding: .72rem .78rem;
            text-align: center;
            transition: border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .12s ease;
            box-shadow: none;
        }
        .custom-package-btn:active,
        .custom-mode-btn:active { transform: scale(.985); }
        .custom-package-btn.is-active,
        .custom-mode-btn.is-active {
            border-color: #111827 !important;
            color: #111827 !important;
            background: transparent !important;
            box-shadow: inset 0 0 0 1px #111827;
        }
        .dark .custom-package-btn,
        .dark .custom-mode-btn {
            border-color: #2b2b2b;
            background: transparent !important;
            color: #f3f4f6;
            box-shadow: none;
        }
        .dark .custom-package-btn.is-active,
        .dark .custom-mode-btn.is-active {
            border-color: #ccff00 !important;
            color: #ccff00 !important;
            background: transparent !important;
            box-shadow: inset 0 0 0 1px #ccff00;
        }
        .custom-package-name { display: block; font-size: 12px; font-weight: 800; line-height: 1.15; }
        .custom-package-price { display: block; margin-top: .24rem; font-size: 10px; font-weight: 700; line-height: 1.22; color: #6b7280; white-space: normal; }
        .dark .custom-package-price { color: #a1a1aa; }
        .custom-player-template {
            min-height: 148px;
            resize: vertical;
            line-height: 1.55;
            border-radius: 16px;
        }
        .custom-player-helper {
            border-radius: 14px;
            background: rgba(239,68,68,.055);
            border: 1px solid rgba(239,68,68,.12);
        }
        .dark .custom-player-helper {
            background: rgba(204,255,0,.055);
            border-color: rgba(204,255,0,.12);
        }
        .detail-related-section {
            border-top: 1px solid #e5e7eb;
            padding-top: 1rem;
            margin-top: .75rem;
        }
        .dark .detail-related-section { border-top-color: #222; }
        .detail-related-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: .7rem;
        }
        .detail-related-card {
            border-radius: 16px;
            overflow: hidden;
            background: #fff;
            border: 1px solid #e5e7eb;
            text-align: left;
            transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
        }
        .detail-related-card:active { transform: scale(.985); }
        .detail-related-card img { height: 132px; width: 100%; object-fit: cover; background: #f6f6f6; }
        .dark .detail-related-card { background: #111; border-color: #222; }
        .detail-related-skeleton {
            min-height: 232px;
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid #e5e7eb;
            background: #fff;
        }
        .dark .detail-related-skeleton { border-color: #222; background: #111; }
        .product-rich-content { font-size: 12.5px; line-height: 1.65; color: #4b5563; }
        .dark .product-rich-content { color: #d1d5db; }
        .product-rich-content p { margin: .45rem 0; }
        .product-rich-content ul, .product-rich-content ol { margin: .45rem 0 .45rem 1.1rem; padding-left: .8rem; }
        .product-rich-content ul { list-style: disc; }
        .product-rich-content ol { list-style: decimal; }
        .product-rich-content strong, .product-rich-content b { color: #111827; font-weight: 800; }
        .dark .product-rich-content strong, .dark .product-rich-content b { color: #fff; }
        .product-rich-content table { width: 100%; border-collapse: collapse; margin: .6rem 0; font-size: 12px; }
        .product-rich-content table td, .product-rich-content table th { border: 1px solid #e5e7eb; padding: .45rem .55rem; }
        .dark .product-rich-content table td, .dark .product-rich-content table th { border-color: #27272a; }
        .product-detail-page .accordion-trigger {
            min-height: 42px;
            padding-top: .75rem !important;
            padding-bottom: .75rem !important;
        }
        .product-detail-page .accordion-trigger span {
            font-size: 12px !important;
            font-weight: 700 !important;
            text-transform: none !important;
        }
        .product-detail-page .accordion-content > div {
            font-size: 12px !important;
            line-height: 1.62 !important;
            color: #4b5563;
        }
        .dark .product-detail-page .accordion-content > div {
            color: #d1d5db;
        }
        @media (max-width: 380px) {
            .custom-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
            .product-detail-price { font-size: 19px !important; }
        }
        .detail-gallery-track {
            display: flex;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            -webkit-overflow-scrolling: touch;
            touch-action: pan-x pan-y;
        }
        .detail-gallery-slide {
            flex: 0 0 100%;
            scroll-snap-align: start;
        }
        .detail-gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            border-radius: 9999px;
            background: rgba(255,255,255,.92);
            border: 1px solid rgba(0,0,0,.08);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 20px rgba(0,0,0,.12);
            z-index: 3;
        }
        .detail-gallery-prev { left: 12px; }
        .detail-gallery-next { right: 12px; }
        .dark .detail-gallery-nav {
            background: rgba(17,17,17,.92);
            border-color: rgba(255,255,255,.08);
        }
        .detail-gallery-counter {
            position: absolute;
            bottom: 12px;
            right: 12px;
            padding: 4px 10px;
            border-radius: 9999px;
            font-size: 11px;
            font-weight: 700;
            color: #111;
            background: rgba(255,255,255,.92);
            z-index: 3;
        }
        .dark .detail-gallery-counter {
            color: #fff;
            background: rgba(17,17,17,.92);
        }

        .detail-gallery-share {
            position: absolute;
            right: 12px;
            bottom: 48px;
            width: 38px;
            height: 38px;
            border-radius: 9999px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #111;
            background: rgba(255,255,255,.92);
            border: 1px solid rgba(0,0,0,.08);
            z-index: 4;
            box-shadow: 0 8px 20px rgba(0,0,0,.12);
        }
        .dark .detail-gallery-share { color:#fff; background:rgba(17,17,17,.92); border-color:rgba(255,255,255,.08); }
        .detail-gallery-share.is-single-image {
            bottom: 4px;
        }
        #address-map-picker { min-height: 300px; height: clamp(300px, 48vh, 460px); position: relative; z-index: 1; }
        #address-search-results { z-index: 9999 !important; }
        .jsa-address-search-layer { position: relative; z-index: 10000; }
        @media (max-width: 640px) { #address-map-picker { min-height: 280px; height: 50vh; } }

        .detail-gallery-dots {
            position: absolute;
            left: 50%;
            bottom: 12px;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            gap: 6px;
            z-index: 3;
        }
        .detail-gallery-dot {
            width: 8px;
            height: 8px;
            border-radius: 9999px;
            background: rgba(255,255,255,.72);
            border: 1px solid rgba(0,0,0,.08);
        }
        .detail-gallery-dot.active {
            width: 18px;
            background: #111;
        }
        .dark .detail-gallery-dot {
            background: rgba(255,255,255,.4);
            border-color: rgba(255,255,255,.08);
        }
        .dark .detail-gallery-dot.active {
            background: #fff;
        }
        .detail-gallery-thumbs {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding: 10px 12px 12px;
            background: #fff;
            -webkit-overflow-scrolling: touch;
        }
        .dark .detail-gallery-thumbs {
            background: #111;
        }
        .detail-gallery-thumb {
            flex: 0 0 56px;
            width: 56px;
            height: 56px;
            border-radius: 10px;
            overflow: hidden;
            border: 2px solid transparent;
            opacity: .82;
            background: #f3f4f6;
        }
        .detail-gallery-thumb.active {
            border-color: #111;
            opacity: 1;
        }
        .dark .detail-gallery-thumb.active {
            border-color: #ccff00;
        }
        .detail-gallery-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .detail-lightbox {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,.94);
            z-index: 120;
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 16px;
        }
        .detail-lightbox.show {
            display: flex;
        }
        .detail-lightbox-image {
            width: 100%;
            max-width: 980px;
            max-height: 72vh;
            object-fit: contain;
            border-radius: 14px;
            background: #000;
        }
        .detail-lightbox-topbar {
            position: absolute;
            top: 12px;
            left: 12px;
            right: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            color: #fff;
        }
        .detail-lightbox-actions {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .detail-lightbox-btn {
            width: 40px;
            height: 40px;
            border-radius: 9999px;
            border: 1px solid rgba(255,255,255,.16);
            background: rgba(255,255,255,.08);
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: background .18s ease, border-color .18s ease, transform .18s ease;
        }
        .detail-lightbox-btn:hover,
        .detail-lightbox-btn:focus-visible {
            background: rgba(255,255,255,.16);
            border-color: rgba(255,255,255,.28);
            outline: none;
        }
        .detail-lightbox-btn:active { transform: scale(.96); }
        .detail-lightbox-btn.is-disabled { opacity: .45; pointer-events: none; }
        .detail-lightbox-thumbs {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            max-width: 100%;
            padding-top: 14px;
            -webkit-overflow-scrolling: touch;
        }
        .detail-lightbox-thumb {
            flex: 0 0 58px;
            width: 58px;
            height: 58px;
            border-radius: 10px;
            overflow: hidden;
            border: 2px solid transparent;
            opacity: .75;
        }
        .detail-lightbox-thumb.active {
            border-color: #fff;
            opacity: 1;
        }
        .detail-lightbox-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .detail-lightbox-nav-wrap {
            position: absolute;
            inset: 0;
            pointer-events: none;
        }
        .detail-lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            pointer-events: auto;
        }
        .detail-lightbox-nav.prev { left: 12px; }
        .detail-lightbox-nav.next { right: 12px; }
        @media (max-width: 640px) {
            .detail-gallery-thumb {
                flex-basis: 50px;
                width: 50px;
                height: 50px;
            }
            .detail-lightbox-image {
                max-height: 64vh;
            }
            .detail-lightbox-thumb {
                flex-basis: 52px;
                width: 52px;
                height: 52px;
            }
            .detail-lightbox-topbar { gap: 8px; }
            .detail-lightbox-actions { gap: 6px; }
            .detail-lightbox-btn { width: 38px; height: 38px; }
        }
    

    html:not(.dark) body {
        background: #e6e6e6 !important;
    }
    html:not(.dark) #main-content,
    html:not(.dark) #view-home,
    html:not(.dark) #view-shop,
    html:not(.dark) #view-products,
    html:not(.dark) #view-cart,
    html:not(.dark) #view-profile,
    html:not(.dark) #view-utility,
    html:not(.dark) #view-checkout,
    html:not(.dark) #view-news-detail {
        background: #efefef !important;
    }
    .final-rounded-card {
        border-radius: 22px !important;
        overflow: hidden;
    }
    .final-soft-card {
        background: rgba(255,255,255,.96) !important;
        box-shadow: 0 10px 24px rgba(0,0,0,.04);
    }
    .dark .final-soft-card {
        background: #141414 !important;
        box-shadow: none;
    }
    #view-home .home-heading-refined {
        font-family: 'Inter', sans-serif !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        line-height: 1.2 !important;
    }
    #view-home .home-subheading-refined {
        font-family: 'Inter', sans-serif !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }
    .share-sheet-enter {
        transform: translateY(100%);
        opacity: 0;
    }
    .share-sheet-show {
        transform: translateY(0);
        opacity: 1;
    }


/* Beranda visual — source JokamSport base styles retained; no text captions in feed */
:root{--feed-gap:10px;--feed-bg:#efefef;--card-radius:17px;--ink:#111}
*{box-sizing:border-box}button{touch-action:manipulation}
#view-home{background:var(--feed-bg)!important;min-height:100%;padding:10px 10px 24px!important}
.dark #view-home{background:#0a0a0a!important}
#main-content{overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:none}
#pin-feed,.pin-feed{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:var(--feed-gap)}
.pin-column{display:flex;flex-direction:column;gap:11px;min-width:0;align-items:stretch}
.pin-card{display:block;position:relative;min-width:0;z-index:1}
.pin-card:has(.pin-actions.open){z-index:9}
.pin-visual{display:block;padding:0;position:relative;overflow:hidden;width:100%;background:#dedede;border:0;border-radius:var(--card-radius);aspect-ratio:var(--pin-ratio);cursor:pointer;isolation:isolate;transition:transform .15s ease}
.pin-visual:active{transform:scale(.987)}
.pin-visual img{display:block;width:100%;height:100%;object-fit:cover;background:#dedede}
.dark .pin-visual{background:#242424}.dark .pin-visual img{background:#242424}
.pin-bottom{display:flex;justify-content:flex-end;align-items:center;height:27px;padding:1px 1px 0}
.pin-more{width:31px;height:25px;border-radius:12px;display:grid;place-items:center;color:#282828}
.pin-more:focus-visible{outline:2px solid #111;outline-offset:1px}
.pin-more:hover{background:rgba(0,0,0,.065)}
.dark .pin-more{color:#f0f0f0}.dark .pin-more:hover{background:rgba(255,255,255,.12)}
.pin-actions{position:absolute;right:0;bottom:30px;z-index:12;display:none;flex-direction:column;gap:2px;min-width:148px;padding:6px;border-radius:13px;background:#fff;border:1px solid #ececec;box-shadow:0 8px 26px rgba(0,0,0,.16);color:#111}
.pin-actions.open{display:flex}
.dark .pin-actions{background:#202020;color:#fff;border-color:#333}
.pin-actions button{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:8px;font-size:12px;font-weight:650;text-align:left;white-space:nowrap;min-height:42px}
.pin-actions button:hover,.pin-actions button:focus-visible{background:rgba(0,0,0,.05)}
.dark .pin-actions button:hover,.dark .pin-actions button:focus-visible{background:rgba(255,255,255,.08)}
.feed-empty,.feed-error{margin:40px auto;max-width:290px;text-align:center;color:#747474;font-size:12px;line-height:1.6}
.feed-empty[hidden],.feed-error[hidden]{display:none!important}
#feed-retry{font-weight:700;text-decoration:underline;text-underline-offset:3px}
#feed-sentinel{height:2px;width:100%;pointer-events:none}
/* Skeletons are rendered in the same masonry columns; dimensions are reserved to prevent jumps */
.pin-skeleton{width:100%;aspect-ratio:var(--pin-ratio,4/5);border-radius:var(--card-radius);background:linear-gradient(105deg,#e4e4e4 12%,#f3f3f3 30%,#e4e4e4 48%);background-size:220% 100%;animation:pin-skeleton-shimmer 1.28s linear infinite}
.pin-skeleton-unit{display:block;padding-bottom:27px}
.dark .pin-skeleton{background:linear-gradient(105deg,#252525 12%,#333 30%,#252525 48%);background-size:220% 100%}
@keyframes pin-skeleton-shimmer{from{background-position:110% 0}to{background-position:-110% 0}}
/* Detail editorial: preview stays compact; full-resolution only through lightbox */
#view-news-detail{min-height:100%;background:#efefef!important;padding:0 0 30px!important}
.dark #view-news-detail{background:#0a0a0a!important}
.detail-header{height:58px;display:flex;align-items:center;justify-content:space-between;padding:7px 14px;gap:10px}
.detail-header-brand{font:700 15px Inter,sans-serif;letter-spacing:-.025em}
.detail-icon-button{height:40px;width:40px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#111}
.dark .detail-icon-button{background:#202020;color:#eee}
.detail-article{padding:0 10px;max-width:620px;margin:auto}
.detail-hero{height:clamp(230px,43dvh,390px);position:relative;overflow:hidden;border-radius:18px;background:#f8f8f8;border:1px solid rgba(0,0,0,.035)}
.dark .detail-hero{background:#1b1b1b;border-color:#222}
.detail-hero-image{display:block;width:100%;height:100%;object-fit:contain;cursor:zoom-in;background:transparent}
.detail-zoom{position:absolute;right:12px;bottom:12px;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.95);color:#111;box-shadow:0 2px 9px rgba(0,0,0,.1)}
.dark .detail-zoom{background:#303030;color:#fff}
.detail-body{padding:20px 9px 8px}
.detail-author-row{display:flex;align-items:center;gap:10px;margin:0 0 14px;min-width:0}
.detail-avatar{width:34px;height:34px;flex:none;display:grid;place-items:center;border-radius:50%;background:#111;color:#ccff00;font:800 15px Oswald,sans-serif}
.dark .detail-avatar{background:#ccff00;color:#111}
.detail-author-name{font:700 12px/1.4 Inter,sans-serif;color:#111}
.dark .detail-author-name{color:#f7f7f7}
.detail-date{font:400 10.5px/1.5 Inter,sans-serif;color:#777;margin-top:1px}
.dark .detail-date{color:#aaa}
.detail-title{font:750 clamp(21px,5.4vw,27px)/1.24 Inter,sans-serif;letter-spacing:-.035em;margin:0 0 13px;color:#111}
.dark .detail-title{color:#f6f6f6}
.detail-description{font:400 13px/1.85 Inter,sans-serif;color:#555}
.dark .detail-description{color:#c8c8c8}
.detail-description p{margin:0 0 12px}
.detail-buttons{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:15px;padding:0 0 18px;border-bottom:1px solid #ddd}
.dark .detail-buttons{border-bottom-color:#333}
.detail-actions-left{display:flex;align-items:center;gap:6px}
.detail-action-icon{height:40px;width:40px;display:grid;place-items:center;border-radius:50%}
.detail-action-icon:focus-visible,.detail-zoom:focus-visible{outline:2px solid #777;outline-offset:3px}
.detail-save-button{min-width:98px;height:41px;padding:0 20px;border-radius:999px;background:#111;color:#fff;font-size:12px;font-weight:700}
.detail-save-button.is-saved{background:#dcdcdc;color:#111}
.dark .detail-save-button{background:#ccff00;color:#111}.dark .detail-save-button.is-saved{background:#303030;color:#fff}
.related-section{padding:20px 10px 24px;max-width:620px;margin:auto}
.related-section h2{font:700 15px/1.3 Inter,sans-serif;letter-spacing:-.03em;margin:0 0 13px;padding-left:2px}
.related-feed{padding:0}
/* Genuine full-image lightbox, not large hero by default */
.image-lightbox[hidden]{display:none!important}
.image-lightbox{position:fixed;inset:0;z-index:200;display:flex;align-items:center;justify-content:center;padding:55px 12px 24px;background:rgba(0,0,0,.95);overscroll-behavior:contain}
.lightbox-backdrop{position:absolute;inset:0;width:100%;height:100%;border:0;cursor:zoom-out}
#lightbox-photo{display:block;position:relative;z-index:1;max-width:min(100%,1100px);max-height:calc(100dvh - 100px);width:auto;height:auto;object-fit:contain;border-radius:4px;user-select:none;pointer-events:none}
.lightbox-close{z-index:3;position:absolute;top:max(14px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));width:43px;height:43px;display:grid;place-items:center;border-radius:50%;background:#292929;color:#fff;border:1px solid #555}
.lightbox-close:focus-visible{outline:2px solid #fff;outline-offset:3px}
#main-bottom-nav{padding-bottom:max(18px,env(safe-area-inset-bottom))}
@media(min-width:640px){body>div:first-child{max-width:860px!important}#pin-feed,.pin-feed{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}#view-home{padding:14px!important}.pin-column{gap:14px}.detail-hero{height:390px}.detail-body{padding:23px 14px 8px}}
@media(min-width:1024px){body>div:first-child{max-width:1080px!important}#pin-feed{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:360px){:root{--feed-gap:8px}#view-home{padding:8px!important}.pin-column{gap:9px}.detail-body{padding:18px 6px 7px}.detail-title{font-size:20px}.detail-description{font-size:12.5px}.detail-hero{height:clamp(210px,40dvh,330px)}}
@media(prefers-reduced-motion:reduce){.pin-skeleton{animation:none}.pin-visual{transition:none}}


/* Offline core of the original JokamSport Tailwind shell. Keeps standalone preview usable without CDNs. */
html,body{padding:0;margin:0;min-height:100%;font-family:Inter,Arial,sans-serif}button,input{font-family:inherit}button{border:0;cursor:pointer;background:transparent;color:inherit}h1,h2,h3,h4,p{margin:0}img{max-width:100%}
.hidden{display:none!important}.hide-scrollbar{scrollbar-width:none}.hide-scrollbar::-webkit-scrollbar{display:none}
body{display:flex;justify-content:center;min-height:100dvh;background:#e6e6e6;color:#111}
body>div:first-child{width:100%;max-width:448px;position:relative;display:flex;flex-direction:column;height:100dvh;background:#fff;overflow:hidden;box-shadow:0 5px 35px rgba(0,0,0,.08);transition:background-color .2s}
.dark body{background:#050505;color:#f5f5f5}.dark body>div:first-child{background:#0a0a0a}
#main-content{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;padding-bottom:76px;background:#efefef!important}
.dark #main-content{background:#0a0a0a!important}
#main-header{display:flex;flex-direction:column;flex:none;border-bottom:1px solid #e5e7eb;background:rgba(255,255,255,.97);position:relative;z-index:40}
.dark #main-header{background:rgba(10,10,10,.97);border-color:#222}
#main-header>div:first-child{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;min-height:68px}
#main-header>div:first-child>div{display:flex;align-items:center;gap:12px}
#main-header>div:first-child>div:last-child{gap:20px;color:#555}
.dark #main-header>div:first-child>div:last-child{color:#aaa}
#main-header>div:first-child>div:last-child button{display:flex;justify-content:center;align-items:center;min-width:22px;min-height:24px;padding:0}
#main-header img[alt="JSA Mobile"]{display:block;width:36px;height:36px;object-fit:contain;padding:2px;border-radius:5px;background:#fff}
#main-header img[alt="Jokam Sport Desktop"]{display:none;height:24px;max-width:180px;object-fit:contain}
#main-header .sm\\:hidden p:first-child{font:900 20px/.95 Oswald,Arial,sans-serif;text-transform:uppercase;letter-spacing:-.02em}
#main-header .sm\\:hidden p:last-child{font-size:9px;color:#777;text-transform:uppercase;letter-spacing:.18em;margin-top:3px}
#search-bar-container{padding:0 20px 16px;position:relative;animation:fadeIn .2s ease}
#search-bar-container>div:first-child{display:flex;align-items:center;position:relative}
#search-bar-container input{width:100%;padding:12px 40px 12px 39px;background:#f5f5f5;border:1px solid #e5e7eb;font-size:13px;color:#111}
.dark #search-bar-container input{background:#171717;border-color:#333;color:#eee}
#search-bar-container>div:first-child>iconify-icon{position:absolute;left:12px;color:#aaa}
#search-bar-container>div:first-child>button{position:absolute;right:12px;color:#aaa}
#search-result-box{display:none!important}
#main-bottom-nav{position:absolute;bottom:0;left:0;right:0;z-index:50;background:#fff;border-top:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;padding:12px 20px 18px;min-height:73px}
.dark #main-bottom-nav{background:#0a0a0a;border-color:#222}
#main-bottom-nav button.nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;position:relative;color:#9ca3af;padding:0;min-width:48px}
#main-bottom-nav button.nav-item.active{color:#111}.dark #main-bottom-nav button.nav-item.active{color:#ccff00}
#main-bottom-nav .nav-item span:last-child{font:700 10px/1 Oswald,Arial,sans-serif;letter-spacing:.04em}
#cart-badge{display:none!important}
#drawer-overlay{position:absolute;inset:0;z-index:70;background:rgba(0,0,0,.55);opacity:0;pointer-events:none;transition:opacity .25s ease}
#side-drawer{position:absolute;right:0;top:0;bottom:0;width:84%;max-width:384px;z-index:80;background:#fff;border-left:1px solid #e5e7eb;transform:translateX(100%);transition:transform .25s ease;display:flex;flex-direction:column}
.dark #side-drawer{background:#0a0a0a;border-color:#222}
.drawer-open #drawer-overlay{opacity:1;pointer-events:auto}.drawer-open #side-drawer{transform:translateX(0)}
#side-drawer>div:first-child{padding:20px;display:flex;align-items:flex-start;justify-content:space-between;gap:10px;border-bottom:1px solid #eee}
#side-drawer>div:first-child p:first-child{font:900 24px Oswald,Arial,sans-serif;text-transform:uppercase}
#side-drawer>div:first-child p:last-child{font-size:12px;color:#888;margin-top:4px}
#side-drawer>div:last-child{padding:14px;overflow-y:auto;display:flex;flex-direction:column;gap:12px}
#side-drawer>div:last-child>.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
#side-drawer>div:last-child>.grid button{background:#f6f6f6;border:1px solid #e5e7eb;padding:16px;text-align:left;border-radius:4px;min-height:97px}
.dark #side-drawer>div:last-child>.grid button{background:#141414;border-color:#292929}
#side-drawer>div:last-child>.grid button>iconify-icon{display:block;margin-bottom:10px}
#side-drawer>div:last-child>.grid button>div:nth-child(2){font:700 14px Oswald,Arial,sans-serif;text-transform:uppercase}
#side-drawer>div:last-child>.grid button>div:last-child{font-size:11px;color:#777;margin-top:4px}
#side-drawer>div:last-child>div:nth-child(2){background:#111;color:white;padding:20px 22px;position:relative;overflow:hidden}
#side-drawer>div:last-child>div:nth-child(2)::before{content:'';position:absolute;inset:0 auto 0 0;width:4px;background:#ccff00}
#side-drawer>div:last-child>div:nth-child(2) p:first-of-type{font:600 11px Oswald,Arial,sans-serif;text-transform:uppercase;color:#aaa;letter-spacing:.18em;margin-bottom:8px}
#side-drawer>div:last-child>div:nth-child(2) h3{font:900 24px/.95 Oswald,Arial,sans-serif;text-transform:uppercase;margin-bottom:12px}
#side-drawer>div:last-child>div:nth-child(2) h3 span{color:#ccff00}
#side-drawer>div:last-child>div:nth-child(2) p:last-child{font-size:11px;line-height:1.6;color:#ccc}
#side-drawer>div:last-child>div:last-child{border:1px solid #e5e7eb}
#side-drawer>div:last-child>div:last-child>button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px;border-bottom:1px solid #eee;font:700 13px Oswald,Arial,sans-serif;text-transform:uppercase}
.dark #side-drawer>div:last-child>div:last-child{border-color:#333}
.dark #side-drawer>div:last-child>div:last-child>button{border-color:#333}
#toast-container{position:absolute;left:16px;right:16px;bottom:90px;z-index:100;display:flex;align-items:center;flex-direction:column;gap:8px;pointer-events:none}
#toast-container>div{display:inline-flex;background:#111;color:white;font-size:12px;padding:12px 18px;border-radius:999px;box-shadow:0 8px 25px rgba(0,0,0,.16)}
.dark #toast-container>div{background:#ccff00;color:#111}
/* fallback paths for the source icon family, in case Iconify CDN is unavailable */
iconify-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;flex:none}
iconify-icon svg{display:block}
@media (min-width:640px){#main-header img[alt="JSA Mobile"],#main-header .sm\\:hidden{display:none!important}#main-header img[alt="Jokam Sport Desktop"]{display:block}}

/* Keep skeleton visible until the actual image finishes decoding. */
.pin-visual::before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(105deg,#e1e1e1 10%,#f5f5f5 28%,#e1e1e1 48%);background-size:220% 100%;animation:pin-skeleton-shimmer 1.28s linear infinite;z-index:0}
.dark .pin-visual::before{background:linear-gradient(105deg,#252525 10%,#333 28%,#252525 48%);background-size:220% 100%}
.pin-visual img{position:relative;z-index:1;opacity:0;transition:opacity .22s ease}
.pin-visual.is-ready::before{display:none}
.pin-visual.is-ready img{opacity:1}
@media(prefers-reduced-motion:reduce){.pin-visual::before{animation:none}.pin-visual img{transition:none}}
