:root {
    --j-purple: #280D35;
    --j-purple-2: #431650;
    --j-gold: #D4AF37;
    --j-gold-light: #E8CC72;
    --j-ink: #211827;
    --j-muted: #746b78;
    --j-bg: #F8F1E8;
    --j-card: #ffffff;
    --j-line: #eadfea;
    --j-success: #15803d;
    --j-shadow: 0 14px 38px rgba(42, 17, 49, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--j-ink);
    background: radial-gradient(circle at top, #efe2f1 0, var(--j-bg) 420px);
    font-family: Montserrat, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.j-app {
    width: 100%;
    max-width: 1180px;
    min-height: 100vh;
    margin: 0 auto;
    padding-bottom: 92px;
    background: rgba(248,241,232,.72);
}
.j-container { padding: 0 16px; }
.j-topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(201,154,61,.2);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(15px);
}
.j-logo {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    overflow: hidden;
    border: 2px solid var(--j-gold);
    border-radius: 50%;
    background: #fff;
}
.j-logo img { width: 100%; height: 100%; object-fit: cover; }
.j-brand { min-width: 0; flex: 1; }
.j-brand strong { display: block; overflow: hidden; font-family: Georgia, serif; font-size: 18px; text-overflow: ellipsis; white-space: nowrap; }
.j-brand small { display: block; overflow: hidden; color: var(--j-muted); font-size: 10px; letter-spacing: .06em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.j-icon-btn {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--j-line);
    border-radius: 13px;
    color: var(--j-purple);
    background: #fff;
}
.product-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 19px;
    padding: 2px 5px;
    border-radius: 20px;
    color: #fff;
    background: #d9233f;
    font-size: 10px;
    text-align: center;
}
.j-search { position: relative; margin: 14px 0; }
.j-search i { position: absolute; top: 50%; left: 15px; color: var(--j-muted); transform: translateY(-50%); }
.j-search input {
    width: 100%;
    height: 46px;
    padding: 0 15px 0 43px;
    border: 1px solid var(--j-line);
    border-radius: 14px;
    outline: none;
    background: #fff;
    box-shadow: 0 5px 18px rgba(38,15,45,.04);
}
.j-search input:focus { border-color: var(--j-gold); box-shadow: 0 0 0 3px rgba(201,154,61,.12); }
.j-hero {
    position: relative;
    min-height: 225px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    background: var(--j-purple);
    box-shadow: var(--j-shadow);
}
.j-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.j-hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,4,26,.96), rgba(32,8,39,.45) 60%, rgba(32,8,39,.12)); content: ""; }
.j-hero-content { position: relative; z-index: 1; max-width: 65%; padding: 30px 22px; }
.j-kicker { color: var(--j-gold-light); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.j-hero h1 { margin: 8px 0; font-family: Georgia, serif; font-size: clamp(28px, 7vw, 48px); font-weight: 500; line-height: 1.05; }
.j-hero p { margin: 0 0 18px; font-size: 12px; line-height: 1.6; }
.j-video-hero {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 22px;
    background: #08040a;
    box-shadow: var(--j-shadow);
}
.j-video-hero iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.j-video-overlay { position: absolute; inset: 0; z-index: 1; }
.j-sound-toggle {
    position: absolute;
    z-index: 2;
    right: 12px;
    bottom: 12px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 20px;
    color: #fff;
    background: rgba(17,7,20,.76);
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}
.j-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}
.j-btn-gold { color: #2d1531; background: linear-gradient(135deg, var(--j-gold-light), var(--j-gold)); }
.j-btn-purple { color: #fff; background: linear-gradient(135deg, var(--j-purple-2), var(--j-purple)); }
.j-btn-outline { border-color: var(--j-line); color: var(--j-purple); background: #fff; }
.j-btn-whatsapp { color: #fff; background: #25D366; }
.j-btn-block { width: 100%; }
.j-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 14px 0 24px;
}
.j-trust-item { padding: 12px 5px; border: 1px solid var(--j-line); border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 6px 18px rgba(38,15,45,.04); }
.j-trust-item i { display: block; margin-bottom: 6px; color: var(--j-gold); font-size: 18px; }
.j-trust-item span { display: block; font-size: 9px; font-weight: 700; line-height: 1.25; }
.j-section { margin: 26px 0; }
.j-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.j-section-head h2 { margin: 0; font-family: Georgia, serif; font-size: 23px; }
.j-section-head a { color: var(--j-purple-2); font-size: 12px; font-weight: 700; }
.j-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.j-category-card { min-width: 0; text-align: center; }
.j-category-image { aspect-ratio: 1; overflow: hidden; border: 2px solid #fff; border-radius: 50%; background: var(--j-purple); box-shadow: 0 0 0 1px var(--j-gold), 0 8px 18px rgba(39,13,45,.13); }
.j-category-image img { width: 100%; height: 100%; object-fit: cover; }
.j-category-card strong { display: block; overflow: hidden; margin-top: 8px; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.j-category-card small { color: var(--j-muted); font-size: 9px; }
.j-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.j-product-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--j-line);
    border-radius: 20px;
    background: var(--j-card);
    box-shadow: 0 12px 30px rgba(37,12,43,.10);
    transition: transform .25s ease, box-shadow .25s ease;
}
.j-product-card:hover { transform: translateY(-3px); box-shadow: 0 18px 38px rgba(37,12,43,.14); }
.j-product-image { position: relative; display: block; aspect-ratio: 1 / 1.03; overflow: hidden; background: #160b19; }
.j-product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.j-product-card:hover .j-product-image img { transform: scale(1.04); }
.j-badge { position: absolute; top: 9px; left: 9px; z-index: 2; padding: 5px 8px; border-radius: 20px; color: #fff; background: #c2233f; font-size: 9px; font-weight: 700; }
.j-wishlist { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; width: 30px; height: 30px; place-items: center; border: 0; border-radius: 50%; color: #fff; background: rgba(21,7,24,.68); }
.j-product-info { padding: 13px; }
.j-product-info h3 { min-height: 34px; margin: 0 0 5px; font-size: 13px; font-weight: 800; line-height: 1.35; }
.j-meta { color: var(--j-muted); font-size: 9px; }
.j-rating { margin: 5px 0; color: #e39d19; font-size: 10px; }
.j-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; font-size: 13px; font-weight: 800; }
.j-price del { color: #9b929d; font-size: 9px; font-weight: 500; }
.j-card-actions { display: flex; flex-direction: row !important; gap: 7px; margin-top: 11px; }
.j-card-actions .j-btn { min-height: 38px; flex: 1 1 0 !important; width: auto !important; min-width: 0; padding: 6px 4px; border-radius: 10px; font-size: 9px; white-space: nowrap; }
.j-card-actions .wp-whatsapp-order-btn { color: #2d1531; background: linear-gradient(135deg, var(--j-gold-light), var(--j-gold)); }
.j-tabs { display: flex; gap: 8px; overflow-x: auto; margin: 12px 0 18px; padding-bottom: 3px; scrollbar-width: none; }
.j-tabs::-webkit-scrollbar { display: none; }
.j-tab { flex: 0 0 auto; padding: 9px 14px; border: 1px solid var(--j-line); border-radius: 20px; background: #fff; font-size: 11px; font-weight: 700; }
.j-tab.active { border-color: var(--j-purple); color: #fff; background: var(--j-purple); }
.j-page-title { padding: 18px 0 2px; font-family: Georgia, serif; font-size: 27px; }
.j-detail { display: grid; gap: 20px; padding-top: 14px; }
.j-gallery-main { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; padding: 0; border: 0; border-radius: 20px; background: #170b19; box-shadow: var(--j-shadow); cursor: zoom-in; }
.j-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.j-zoom-hint { position: absolute; right: 13px; bottom: 13px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; color: #fff; background: rgba(22,7,26,.7); }
.j-thumbs { display: flex; gap: 9px; overflow-x: auto; margin-top: 10px; }
.j-thumb { width: 62px; height: 62px; flex: 0 0 62px; overflow: hidden; border: 2px solid transparent; border-radius: 11px; background: #eee; }
.j-thumb.active { border-color: var(--j-gold); }
.j-thumb img { width: 100%; height: 100%; object-fit: cover; }
.j-video-thumb { position: relative; }
.j-video-thumb span { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(17,5,20,.35); font-size: 18px; }
.j-detail-panel { padding: 18px; border: 1px solid var(--j-line); border-radius: 20px; background: #fff; box-shadow: var(--j-shadow); }
.j-detail-panel h1 { margin: 0 0 6px; font-family: Georgia, serif; font-size: 28px; }
.j-stock { color: var(--j-success); font-size: 11px; font-weight: 700; }
.j-cert-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 15px 0; }
.j-cert { padding: 8px 10px; border-radius: 9px; color: var(--j-purple); background: #f7eff8; font-size: 10px; font-weight: 700; }
.j-description { color: var(--j-muted); font-size: 13px; line-height: 1.7; }
.j-quantity { display: flex; align-items: center; gap: 10px; margin: 16px 0; }
.j-qty-box { display: flex; overflow: hidden; border: 1px solid var(--j-line); border-radius: 10px; }
.j-qty-box button, .j-qty-box input { width: 38px; height: 38px; border: 0; background: #fff; text-align: center; }
.j-action-stack { display: grid; gap: 9px; }
.j-profile-cover { position: relative; height: 210px; overflow: hidden; border-radius: 0 0 24px 24px; background: var(--j-purple); }
.j-profile-cover img { width: 100%; height: 100%; object-fit: cover; opacity: .84; }
.j-profile-card { position: relative; margin: -48px 16px 20px; padding: 20px; border: 1px solid var(--j-line); border-radius: 20px; background: #fff; box-shadow: var(--j-shadow); }
.j-profile-logo { width: 82px; height: 82px; overflow: hidden; margin-top: -62px; border: 4px solid #fff; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--j-gold); }
.j-profile-logo img { width: 100%; height: 100%; object-fit: cover; }
.j-info-grid { display: grid; gap: 10px; }
.j-info-card { padding: 14px; border: 1px solid var(--j-line); border-radius: 14px; background: #fff; }
.j-order-card { margin-bottom: 12px; padding: 16px; border: 1px solid var(--j-line); border-radius: 16px; background: #fff; box-shadow: 0 6px 18px rgba(37,12,43,.05); }
.j-order-head { display: flex; justify-content: space-between; gap: 12px; }
.j-status { padding: 5px 9px; border-radius: 20px; font-size: 9px; font-weight: 800; }
.j-status-0 { color: #9a6700; background: #fff0c2; }
.j-status-1 { color: #155e75; background: #cffafe; }
.j-status-2 { color: #166534; background: #dcfce7; }
.j-status-3 { color: #991b1b; background: #fee2e2; }
.j-empty { padding: 40px 20px; border: 1px dashed #d8c9da; border-radius: 18px; color: var(--j-muted); background: #fff; text-align: center; }
.j-bottom-nav {
    position: fixed;
    z-index: 50;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: 1180px;
    margin: auto;
    padding: 8px 8px max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--j-line);
    background: rgba(255,255,255,.97);
    box-shadow: 0 -8px 30px rgba(38,12,44,.09);
    backdrop-filter: blur(12px);
}
.j-bottom-nav a { display: grid; min-width: 0; gap: 3px; place-items: center; color: #756b77; font-size: 9px; font-weight: 700; }
.j-bottom-nav a i { font-size: 17px; }
.j-bottom-nav a.active { color: var(--j-purple); }
.j-bottom-nav a.active i { color: var(--j-gold); }
.j-footer { margin-top: 38px; padding: 28px 18px 20px; color: #eee5ef; background: var(--j-purple); }
.j-footer { padding: 38px 28px 0; background: linear-gradient(135deg, #280D35, #421650); box-shadow: 0 -12px 34px rgba(0,0,0,.14); }
.j-footer h3 { position: relative; margin: 0 0 20px; padding-bottom: 10px; color: #fff; font-family: Georgia, serif; font-size: 18px; }
.j-footer h3::after { position: absolute; bottom: 0; left: 0; width: 42px; height: 3px; border-radius: 3px; background: #20cf67; content: ""; }
.j-footer a { display: block; margin: 0 0 12px; color: #eee5ef; font-size: 13px; line-height: 1.55; }
.j-footer a:hover { color: var(--j-gold-light); }
.j-footer a i { width: 20px; }
.j-footer-grid { display: grid; gap: 28px; }
.j-footer-brand img { width: 62px; height: 62px; margin-bottom: 16px; border-radius: 10px; object-fit: cover; }
.j-footer-brand p { max-width: 330px; font-weight: 600; line-height: 1.8; }
.j-social-section { margin-top: 34px; text-align: center; }
.j-social-section h3 { display: inline-block; }
.j-social-section h3::after { left: 50%; transform: translateX(-50%); }
.j-social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.j-social-links a { display: grid; width: 48px; height: 48px; margin: 0; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; font-size: 20px; box-shadow: 0 8px 20px rgba(0,0,0,.2); transition: transform .2s ease; }
.j-social-links a:hover { color: #fff; transform: translateY(-4px); }
.j-social-facebook { background: #1877f2; }.j-social-instagram { background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af); }.j-social-youtube { background: #f00; }.j-social-whatsapp { background: #25d366; }.j-social-twitter,.j-social-tiktok { background: #050505; }.j-social-linkedin { background: #0a66c2; }.j-social-pinterest { background: #e60023; }.j-social-website { background: #0dcaf0; }
.j-footer-bottom { margin-top: 36px; padding: 20px 10px; border-top: 1px solid rgba(255,255,255,.12); color: #fff; background: rgba(0,0,0,.22); font-size: 11px; text-align: center; }
.j-lightbox { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; padding: 22px; background: rgba(7,3,9,.94); }
.j-lightbox.open { display: flex; }
.j-lightbox-content { width: min(100%, 980px); max-height: 88vh; }
.j-lightbox-content img { display: block; width: 100%; max-height: 88vh; object-fit: contain; }
.j-lightbox-content iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; background: #000; }
.j-lightbox-close { position: absolute; top: 18px; right: 18px; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: rgba(255,255,255,.12); font-size: 20px; }
.j-video-modal { position:fixed; inset:0; z-index:10000; display:flex; align-items:center; justify-content:center; padding:22px; background:rgba(7,3,9,.94); }
.j-video-modal iframe { width:min(100%,980px); aspect-ratio:16/9; border:0; border-radius:16px; background:#000; }
.j-video-modal button { position:absolute; top:18px; right:18px; display:grid; width:44px; height:44px; place-items:center; border:1px solid rgba(255,255,255,.3); border-radius:50%; color:#fff; background:rgba(255,255,255,.12); font-size:20px; }
.j-cart-pay { display:flex; align-items:center; gap:16px; margin:0 0 16px; padding:14px; border:1px solid #eadb9a; border-radius:14px; background:#fffaf0; }
.j-cart-pay img { width:82px; height:82px; padding:4px; object-fit:contain; border-radius:10px; background:#fff; }
.j-link-button { padding:0; border:0; color:#280d35; background:transparent; font-weight:700; text-decoration:underline; }
.j-order-modal-content { overflow: hidden; border-radius: 22px !important; }
.j-order-modal-content .modal-header { padding: 18px 20px; color: #fff; background: var(--j-purple); }
.j-order-modal-content .modal-header .btn-close { filter: invert(1); opacity: 1; }
.j-order-modal-content .modal-body { padding: 22px; }
.j-order-modal-content .form-label { margin-bottom: 7px; font-size: 12px; font-weight: 800; }
.j-order-modal-content .form-control { min-height: 46px; border: 1px solid var(--j-line); border-radius: 12px; }
.j-order-modal-content textarea.form-control { min-height: 100px; }
.j-pagination nav { display: flex; justify-content: center; margin: 24px 0; }
.modal-content { border: 0 !important; border-radius: 20px !important; box-shadow: var(--j-shadow); }
.modal-header { border-color: var(--j-line) !important; }
.modal .btn-primary { border-color: var(--j-purple); background: var(--j-purple); }

@media (min-width: 640px) {
    .j-container { padding: 0 26px; }
    .j-topbar { padding-right: 26px; padding-left: 26px; }
    .j-category-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .j-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .j-info-grid { grid-template-columns: repeat(2, 1fr); }
    .j-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .j-app { padding-bottom: 30px; box-shadow: 0 0 60px rgba(36,11,42,.08); }
    .j-category-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
    .j-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
    .j-detail { grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); align-items: start; }
    .j-detail-panel { position: sticky; top: 86px; }
    .j-bottom-nav { position: sticky; bottom: 0; border-right: 1px solid var(--j-line); border-left: 1px solid var(--j-line); border-radius: 18px 18px 0 0; }
    .j-footer-grid { grid-template-columns: 1.2fr .8fr 1.1fr 1.1fr; }
}
@media (max-width: 420px) {
    .j-card-actions .j-btn { font-size: 8px; }
    .j-card-actions .j-btn i { display: none; }
    .j-footer { padding-right: 18px; padding-left: 18px; }
}
