/* ===== Rovanhide v3: Navy & Tan theme, logo, home boxes, accounts, blog, chat, popups, 3D ===== */
:root { --champagne: #f0dcc0; --card-solid: var(--card); }
body { background: radial-gradient(1200px 700px at 85% -10%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%),
                   radial-gradient(900px 600px at -10% 40%, color-mix(in srgb, var(--primary) 9%, transparent), transparent 60%), var(--bg); background-attachment: fixed; }
.modal-box, .features, .card-img, .drawer-panel { background-color: var(--card); }
.features { background: linear-gradient(160deg, var(--card2), var(--card)); }
.to-top, .toast { background: color-mix(in srgb, var(--bg) 92%, transparent); }

/* logo 11: two chevrons + name */
.logo-mark { border: 0; width: auto; height: auto; color: var(--primary); }
.logo-mark .logo-svg { display: block; width: 34px; height: 34px; filter: drop-shadow(0 0 10px color-mix(in srgb, var(--primary) 40%, transparent)); }
.logo-word { font-family: 'Jost', sans-serif; font-weight: 500; font-size: .62em; letter-spacing: .38em; color: var(--champagne); }
.intro-mark .logo-svg { width: 56px; height: 56px; color: var(--primary); }
.nav-home { color: var(--champagne) !important; font-weight: 600; }

/* live search */
.ls-box { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 90; background: color-mix(in srgb, var(--card) 97%, transparent); border: 1px solid var(--gold-line); border-radius: 18px; padding: 8px; box-shadow: 0 30px 70px rgba(0,0,0,.55); backdrop-filter: blur(20px); max-height: 70vh; overflow-y: auto; animation: lsIn .25s var(--ease); transform-origin: top; }
@keyframes lsIn { from { opacity: 0; transform: perspective(800px) rotateX(-14deg) translateY(-6px); } }
.ls-box a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--ink); }
.ls-box a:hover, .ls-box a.on { background: var(--gold-soft); }
.ls-box img { width: 46px; height: 46px; object-fit: cover; border-radius: 10px; background: var(--field); flex: none; }
.ls-box b { display: block; font-weight: 500; font-size: .9rem; line-height: 1.25; }
.ls-box small { color: var(--muted); font-size: .75rem; }
.ls-box .ls-price { margin-left: auto; color: var(--primary); white-space: nowrap; font-weight: 600; font-size: .88rem; }
.ls-box .ls-cat { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); }
.ls-box .ls-all { justify-content: center; color: var(--primary); font-size: .85rem; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; margin-top: 4px; }
.ls-box .ls-none { padding: 14px; color: var(--muted); text-align: center; }
.acct-link { position: relative; }
.acct-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: #3ccf7a; box-shadow: 0 0 0 2px var(--bg); }
.lang-select { max-width: 92px; }
.goog-te-banner-frame, .skiptranslate, #goog-gt-tt { display: none !important; } body { top: 0 !important; }

/* watermark on photos (sample photos; own uploads have it printed in) */
.wm { position: relative; }
.wm::before { content: ''; position: absolute; right: 10px; bottom: 10px; width: 92px; height: 18px; z-index: 3; pointer-events: none; opacity: .42;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 11 12 6l6 5'/%3E%3Cpath d='M2 18 12 10l10 8'/%3E%3C/g%3E%3Ctext x='29' y='17' font-family='Arial' font-size='12' letter-spacing='2.6' fill='%23fff'%3EROVANHIDE%3C/text%3E%3C/svg%3E") no-repeat center / contain; }
.pd-main.wm::before { width: 140px; height: 26px; right: 18px; bottom: 18px; }
.cb-item.wm::before { width: 64px; height: 12px; right: 8px; bottom: auto; top: calc(var(--imgh, 0px) + 8px); display: none; }

/* product card: compare button + 3D flip to the 2nd photo */
.card-cmp { position: absolute; top: 58px; right: 12px; z-index: 4; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold-line); background: color-mix(in srgb, var(--bg) 70%, transparent); color: var(--champagne); cursor: pointer; font-size: 1rem; opacity: 0; transform: translateX(8px); transition: .3s var(--ease); backdrop-filter: blur(8px); }
.card:hover .card-cmp, .card-cmp.on { opacity: 1; transform: none; }
.card-cmp.on { background: var(--primary); color: var(--on-primary); }
.card-img { perspective: 1000px; }
.card-img .img-alt { transform: rotateY(-90deg); transform-origin: left center; transition: transform .7s var(--ease), opacity .5s; }
.card:hover .card-img .img-alt { transform: rotateY(0) scale(1.03); }
@media (hover: none) { .card-cmp { opacity: 1; transform: none; } }

/* home: category boxes */
.cat-boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cat-box { border: 1px solid var(--gold-line); border-radius: 26px; padding: 16px; background: linear-gradient(155deg, var(--card2), var(--card) 60%); transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; transform-style: preserve-3d; }
.cat-box:hover { border-color: color-mix(in srgb, var(--primary) 55%, transparent); box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px var(--gold-line); }
.cb-head { display: flex; align-items: center; gap: 14px; padding: 4px 6px 14px; color: var(--ink); transform: translateZ(30px); }
.cb-no { font-family: var(--serif); font-size: 2rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--primary); }
.cb-head b { display: block; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.1; }
.cb-head small { color: var(--muted); font-size: .78rem; letter-spacing: .1em; }
.cb-go { margin-left: auto; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); white-space: nowrap; transition: transform .3s; }
.cb-head:hover .cb-go { transform: translateX(5px); }
.cb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; transform: translateZ(18px); }
.cb-item { display: block; color: var(--ink); border-radius: 16px; transition: transform .4s var(--ease); }
.cb-img { position: relative; display: block; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: var(--field); }
.cb-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cb-img .badge { position: absolute; top: 6px; left: 6px; font-style: normal; font-size: .65rem; padding: 3px 7px; }
.cb-item:hover { transform: translateY(-6px) translateZ(20px); }
.cb-item:hover img { transform: scale(1.08); }
.cb-name { display: block; font-size: .78rem; line-height: 1.3; margin-top: 8px; color: #cfc7b9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.cb-price { display: block; font-size: .86rem; color: var(--primary); margin-top: 2px; }

/* journal cards + article */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; border: 1px solid var(--gold-line); background: var(--card); color: var(--ink); transition: transform .5s var(--ease), box-shadow .5s; }
.post-card:hover { box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.post-card.big { grid-column: 1 / -1; flex-direction: row; }
.post-card.big .pc-img { flex: 1.3; aspect-ratio: auto; min-height: 320px; }
.post-card.big .pc-body { flex: 1; justify-content: center; padding: 34px; }
.post-card.big b { font-size: 2.1rem; }
.pc-img { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--field); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .pc-img img { transform: scale(1.07); }
.pc-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.pc-body small { color: var(--primary); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.pc-body b { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; line-height: 1.15; }
.pc-body > span { color: var(--muted); font-size: .9rem; }
.pc-body em { font-style: normal; color: var(--primary); font-size: .82rem; letter-spacing: .1em; margin-top: auto; }
.post { max-width: 780px; margin: 0 auto; }
.post-head { text-align: center; padding: 20px 0 26px; }
.post-head h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.08; margin: 6px 0 14px; }
.post-cover { border-radius: 26px; overflow: hidden; margin-bottom: 30px; border: 1px solid var(--gold-line); }
.post-cover img { width: 100%; max-height: 460px; object-fit: cover; display: block; }
.post-body { font-size: 1.07rem; line-height: 1.85; color: #ddd5c8; }
.post-body h2 { font-family: var(--serif); font-size: 1.8rem; color: var(--champagne); margin: 34px 0 10px; }
.post-body ul { padding-left: 22px; } .post-body li { margin: 6px 0; } .post-body li::marker { color: var(--primary); }
.post-body b { color: var(--champagne); }

/* boxes used by account / track / pay */
.box3d { border: 1px solid var(--gold-line); border-radius: 24px; padding: 24px; background: linear-gradient(155deg, var(--card2), var(--card)); transition: transform .5s var(--ease), box-shadow .5s; }
.box3d input, .box3d select, .box3d textarea { width: 100%; margin-bottom: 10px; }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.acct-grid h2, .box3d h2 { font-family: var(--serif); margin: 0 0 14px; }
.reset-box { max-width: 640px; margin: 0 auto 20px; }
.row-form { display: flex; gap: 10px; } .row-form input { margin: 0; }
.acct-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.acct-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 10px 0 30px; }
.acct-stats small { display: block; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; }
.acct-stats b { display: block; font-family: var(--serif); font-size: 2.4rem; color: var(--primary); line-height: 1.1; }
.acct-stats span { color: var(--muted); font-size: .85rem; }
.acct-order { display: grid; grid-template-columns: 1.4fr auto auto 1fr; align-items: center; gap: 16px; padding: 16px 20px; }
.acct-order small { display: block; color: var(--muted); }
.acct-form .cols2f { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.tag-st { display: inline-block; padding: 5px 12px; border-radius: 20px; font-size: .75rem; letter-spacing: .06em; background: var(--gold-soft); color: var(--champagne); border: 1px solid var(--gold-line); }
.st-delivered { background: rgba(60,207,122,.14); color: #7be3a6; border-color: rgba(60,207,122,.35); }
.st-shipped { background: rgba(80,150,255,.14); color: #9cc4ff; border-color: rgba(80,150,255,.35); }
.st-cancelled { background: rgba(255,90,90,.12); color: #ff9c9c; border-color: rgba(255,90,90,.3); }
.center { text-align: center; }
.track-form { max-width: 520px; margin: 0 auto; }
.track-card { max-width: 820px; margin: 0 auto; }
.track-top { display: flex; justify-content: space-between; align-items: flex-start; }
.track-top h2 { margin: 2px 0; font-family: var(--serif); font-size: 2rem; }
.timeline { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; margin: 30px 0; counter-reset: st; }
.timeline li { position: relative; text-align: center; padding-top: 40px; color: var(--muted); font-size: .85rem; }
.timeline li i { position: absolute; top: 0; left: 50%; width: 28px; height: 28px; margin-left: -14px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); z-index: 1; transition: .5s; }
.timeline li::before { content: ''; position: absolute; top: 13px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.timeline li:first-child::before { display: none; }
.timeline li.done { color: var(--ink); } .timeline li.done i { border-color: var(--primary); background: var(--primary); box-shadow: 0 0 0 6px var(--gold-soft); }
.timeline li.done::before { background: var(--primary); }
.timeline li.now i { animation: pulse3d 1.8s infinite; }
@keyframes pulse3d { 50% { box-shadow: 0 0 0 12px transparent, 0 0 30px var(--primary); transform: scale(1.12); } }
.timeline b { display: block; font-weight: 500; } .timeline small { display: block; color: var(--muted); font-size: .72rem; }
.track-no { padding: 12px 16px; border-radius: 14px; background: var(--gold-soft); }
.tbl-items { width: 100%; border-collapse: collapse; margin: 16px 0; }
.tbl-items td, .tbl-items th { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: left; }
.tbl-items td:last-child, .tbl-items th:last-child { text-align: right; }

/* gift cards */
.gift-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; margin: 24px 0 40px; }
.gift-card { display: flex; flex-direction: column; gap: 14px; }
.gc-face { position: relative; aspect-ratio: 1.6; border-radius: 20px; padding: 20px; overflow: hidden; color: var(--on-primary);
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 70%, #fff) 0%, var(--primary) 45%, color-mix(in srgb, var(--primary) 55%, #000) 100%);
  box-shadow: 0 24px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.5); transition: transform .5s var(--ease); transform-style: preserve-3d; }
.gc-face::after { content: ''; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%); transform: translateX(-60%); transition: transform 1s var(--ease); }
.gift-card:hover .gc-face { transform: perspective(800px) rotateY(-12deg) rotateX(8deg) translateZ(20px); }
.gift-card:hover .gc-face::after { transform: translateX(60%); }
.gc-logo { display: flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .3em; font-weight: 600; }
.gc-amt { position: absolute; left: 20px; bottom: 30px; font-family: var(--serif); font-size: 2.4rem; }
.gc-face small { position: absolute; left: 20px; bottom: 14px; letter-spacing: .3em; font-size: .62rem; }
.gc-chip { position: absolute; right: 22px; top: 50%; width: 38px; height: 28px; border-radius: 6px; background: linear-gradient(135deg, #fff6, #0002); border: 1px solid #0002; }
.gift-how { margin-bottom: 40px; }

/* compare */
.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; }
.cmp th, .cmp td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.cmp th { width: 160px; color: var(--muted); font-weight: 500; font-size: .85rem; }
.cmp-head { position: relative; } .cmp-head img, .cmp-head .ph { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 16px; display: block; margin-bottom: 8px; }
.cmp-head .x-btn { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; }
.cmp-head b { color: var(--ink); font-weight: 500; } .gold { color: var(--primary); font-size: 1.1rem; }
.cmp-bar { position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 70; display: flex; align-items: center; gap: 14px; padding: 10px 12px 10px 20px; border-radius: 40px; border: 1px solid var(--gold-line); background: color-mix(in srgb, var(--card) 95%, transparent); backdrop-filter: blur(14px); box-shadow: 0 20px 50px rgba(0,0,0,.5); animation: lsIn .3s; }
.cmp-bar .x-btn { width: 34px; height: 34px; }
.size-tbl { width: 100%; border-collapse: collapse; font-size: .88rem; margin-bottom: 14px; }
.size-tbl th, .size-tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.size-tbl th { color: var(--primary); font-weight: 500; }
.size-box { max-width: 760px; padding: 28px; }
.link-btn { background: none; border: 0; color: var(--primary); cursor: pointer; padding: 6px 0; font: inherit; font-size: .9rem; text-decoration: underline; text-underline-offset: 4px; margin-right: 18px; }

/* product page: trust row, media buttons, countdown */
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 8px; }
.trust-row > div { text-align: center; padding: 14px 8px; border-radius: 16px; border: 1px solid var(--gold-line); background: var(--glass); transition: transform .5s var(--ease); }
.trust-row span { font-size: 1.4rem; display: block; } .trust-row b { display: block; font-size: .78rem; font-weight: 600; margin-top: 4px; } .trust-row small { color: var(--muted); font-size: .7rem; }
.pd-media { display: flex; gap: 10px; margin-top: 10px; flex-wrap: wrap; } .pd-media:empty { display: none; }
.pd-count { display: inline-block; padding: 8px 14px; border-radius: 30px; background: rgba(255,90,60,.12); border: 1px solid rgba(255,90,60,.35); color: #ffb39c; font-size: .85rem; }
.pd-count i { font-style: normal; font-weight: 700; color: #fff; }
.spin-box { text-align: center; } .spin-box img { max-width: 100%; max-height: 70vh; border-radius: 20px; cursor: grab; user-select: none; -webkit-user-drag: none; }
.spin-box input { width: 70%; margin-top: 12px; accent-color: var(--primary); }
.video-box { padding: 0; aspect-ratio: 16/9; overflow: hidden; } .video-box iframe, .video-box video { width: 100%; height: 100%; border: 0; display: block; }

/* checkout extras */
.code-box { display: flex; gap: 8px; margin: 14px 0 4px; } .code-box input { margin: 0; flex: 1; text-transform: uppercase; }
.code-msg { font-size: .85rem; margin: 0 0 8px; min-height: 1em; } .code-msg.ok { color: #7be3a6; } .code-msg.err { color: #ff9c9c; }
.points-box { padding: 10px 14px; border-radius: 14px; border: 1px dashed var(--gold-line); margin-bottom: 8px; }
.guest-note { margin-top: -6px; }

/* newsletter band + popup */
.news-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 60px; margin-bottom: 40px; padding: 36px 40px; border-radius: 30px; border: 1px solid var(--gold-line);
  background: radial-gradient(600px 200px at 0% 0%, color-mix(in srgb, var(--primary) 18%, transparent), transparent), linear-gradient(155deg, var(--card2), var(--card)); }
.news-band h3 { font-family: var(--serif); font-size: 2rem; margin: 0 0 4px; }
.news-form { display: flex; gap: 10px; flex-wrap: wrap; flex: 0 1 460px; } .news-form input { flex: 1; min-width: 200px; margin: 0; }
.news-msg { width: 100%; margin: 4px 0 0; color: #7be3a6; font-size: .9rem; } .news-msg b { font-size: 1.15rem; letter-spacing: .12em; color: var(--champagne); }
.np-box { max-width: 720px; display: grid; grid-template-columns: 220px 1fr; gap: 26px; padding: 30px; align-items: center; }
.np-art { aspect-ratio: 1; border-radius: 22px; display: grid; place-items: center; color: var(--primary); background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--primary) 30%, transparent), transparent 60%), var(--card2); border: 1px solid var(--gold-line); animation: float3d 6s ease-in-out infinite; }
@keyframes float3d { 50% { transform: perspective(600px) rotateY(14deg) rotateX(6deg) translateY(-6px); } }
.np-box h3 { font-family: var(--serif); font-size: 2rem; margin: 4px 0 6px; } .np-box .news-form { flex-direction: column; }
.np-no { background: none; border: 0; color: var(--muted); cursor: pointer; margin-top: 10px; text-decoration: underline; }

/* cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 320; max-width: 760px; margin: 0 auto; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 20px; border-radius: 20px; border: 1px solid var(--gold-line); background: color-mix(in srgb, var(--card) 97%, transparent); backdrop-filter: blur(14px); box-shadow: 0 20px 60px rgba(0,0,0,.6); animation: lsIn .4s; }
.cookie p { margin: 0; font-size: .88rem; } .cookie div { display: flex; gap: 8px; flex: none; }

/* chat assistant */
.chat-btn { position: fixed; left: 22px; bottom: 22px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; background: var(--gold); color: var(--on-primary); box-shadow: 0 14px 34px color-mix(in srgb, var(--primary) 45%, transparent); display: grid; place-items: center; animation: float3d 5s ease-in-out infinite; }
.chat-btn svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; } .chat-btn svg circle { fill: currentColor; stroke: 0; }
.chat { position: fixed; left: 22px; bottom: 90px; z-index: 300; width: min(370px, calc(100vw - 32px)); height: min(540px, 72vh); display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; border: 1px solid var(--gold-line); background: color-mix(in srgb, var(--card) 98%, transparent); backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(0,0,0,.6); transform-origin: bottom left; animation: chatIn .35s var(--ease); }
.chat[hidden] { display: none; }
@keyframes chatIn { from { opacity: 0; transform: perspective(900px) rotateX(18deg) scale(.9); } }
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--card2); }
.chat-head span { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: center; color: var(--primary); } .chat-head b { color: var(--ink); font-weight: 600; } .chat-head small { grid-column: 2; color: #7be3a6; font-size: .72rem; }
.chat-head .x-btn { width: 32px; height: 32px; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 18px; font-size: .9rem; line-height: 1.45; animation: lsIn .3s; }
.msg.bot { background: var(--card2); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.msg.me { align-self: flex-end; background: var(--primary); color: var(--on-primary); border-bottom-right-radius: 6px; }
.msg.typing { color: var(--muted); }
.msg-items { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; } .msg-items a { display: flex; gap: 10px; align-items: center; color: var(--ink); padding: 6px; border-radius: 12px; background: var(--field); }
.msg-items img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; } .msg-items b { font-weight: 500; font-size: .8rem; display: block; } .msg-items small { color: var(--primary); }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; } .chat-quick button { border: 1px solid var(--gold-line); background: none; color: var(--champagne); border-radius: 20px; padding: 6px 12px; font-size: .78rem; cursor: pointer; }
.chat-quick button:hover { background: var(--gold-soft); }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); } .chat-form input { flex: 1; margin: 0; } .chat-form .btn { padding: 0 16px; }

/* mobile bottom bar */
.bottom-bar { display: none; }
@media (max-width: 900px) {
  .bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; display: flex; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--gold-line); }
  .bottom-bar a, .bottom-bar button { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; background: none; border: 0; color: #bdb4a6; font: inherit; font-size: .62rem; letter-spacing: .06em; padding: 4px 0; cursor: pointer; }
  .bottom-bar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; transition: transform .3s var(--ease); }
  .bottom-bar a:active svg, .bottom-bar button:active svg { transform: translateY(-3px) scale(1.12); }
  .bottom-bar .cart-count { position: absolute; top: 0; left: 52%; font-style: normal; }
  body { padding-bottom: 66px; }
  .wa-float { bottom: 80px; } .to-top { bottom: 146px; } .chat-btn { bottom: 80px; left: 16px; width: 50px; height: 50px; } .chat { bottom: 140px; left: 16px; }
  .cmp-bar { bottom: 140px; } .cookie { bottom: 76px; } .toast { bottom: 84px; }
  .cat-boxes { grid-template-columns: 1fr; } .post-grid { grid-template-columns: 1fr 1fr; }
  .post-card.big { flex-direction: column; } .post-card.big .pc-img { min-height: 220px; }
  .acct-grid, .acct-stats { grid-template-columns: 1fr; } .acct-order { grid-template-columns: 1fr auto; }
  .news-band { flex-direction: column; align-items: stretch; padding: 26px; } .np-box { grid-template-columns: 1fr; } .np-art { display: none; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .site-header .acct-link, .site-header .wish-link[data-wish-open] { display: none; }
}
@media (max-width: 640px) {
  .cb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cb-head b { font-size: 1.2rem; }
  .post-grid { grid-template-columns: 1fr; } .timeline { font-size: .7rem; } .timeline li { font-size: .7rem; }
  .acct-form .cols2f { grid-template-columns: 1fr; } .row-form { flex-direction: column; }
  .cookie { flex-direction: column; align-items: stretch; } .lang-select { display: none; }
  .news-band h3, .np-box h3 { font-size: 1.6rem; }
}

/* ===== more 3D ===== */
/* banner: slides turn like a cube */
.slider { perspective: 1800px; }
.sl { transform-origin: 50% 50% -40vw; transform: rotateY(28deg) scale(.92); transition: opacity 1s var(--ease), visibility 1s, transform 1.1s var(--ease); }
.sl.on { transform: none; }
.sl.on ~ .sl { transform: rotateY(-28deg) scale(.92); }
/* buttons press in */
.btn:active { transform: perspective(500px) translateZ(-14px) rotateX(8deg); }
/* cart: added item flies to the cart icon */
.fly { position: fixed; z-index: 400; width: 70px; height: 70px; border-radius: 16px; object-fit: cover; pointer-events: none; box-shadow: 0 10px 30px rgba(0,0,0,.5); border: 2px solid var(--primary);
  transition: transform .85s cubic-bezier(.5,-0.3,.6,1), opacity .85s; }
.bump { animation: bump .5s var(--ease); } @keyframes bump { 40% { transform: scale(1.35) rotateY(180deg); } }
/* floating 3D leather particles in the background */
.bg3d { position: fixed; inset: 0; z-index: -1; pointer-events: none; perspective: 900px; overflow: hidden; }
.bg3d i { position: absolute; width: 140px; height: 140px; border: 1px solid color-mix(in srgb, var(--primary) 16%, transparent); border-radius: 30px; animation: drift 26s linear infinite; }
.bg3d i:nth-child(2) { left: 75%; top: 30%; width: 90px; height: 90px; animation-duration: 34s; animation-delay: -10s; border-radius: 50%; }
.bg3d i:nth-child(3) { left: 30%; top: 70%; width: 60px; height: 60px; animation-duration: 22s; animation-delay: -5s; }
.bg3d i:nth-child(1) { left: 8%; top: 15%; }
@keyframes drift { 0% { transform: rotateX(0) rotateY(0) translateZ(-200px); } 50% { transform: rotateX(180deg) rotateY(90deg) translateZ(0) translateY(-40px); } 100% { transform: rotateX(360deg) rotateY(180deg) translateZ(-200px); } }
@media (prefers-reduced-motion: reduce) { .bg3d, .np-art, .chat-btn { animation: none; } .sl, .sl.on ~ .sl { transform: none; } }

/* photo still loading: soft shine, never an empty box */
.cb-img, .card-img, .pd-main { background: linear-gradient(110deg, var(--field) 30%, color-mix(in srgb, var(--primary) 9%, var(--field)) 50%, var(--field) 70%) 0 0 / 300% 100%; animation: imgWait 1.6s linear infinite; }
.cb-img:has(img.ok), .card-img:has(img.ok) { animation: none; }
@keyframes imgWait { to { background-position: -150% 0; } }
/* listing photo slideshow */
.card-nav { position: absolute; top: 50%; z-index: 4; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; line-height: 1; color: var(--champagne); background: color-mix(in srgb, var(--bg) 65%, transparent); border: 1px solid var(--gold-line); backdrop-filter: blur(8px); cursor: pointer; opacity: 0; transition: opacity .25s, transform .2s; }
.card-nav.prev { left: 10px; } .card-nav.next { right: 10px; }
.card:hover .card-nav { opacity: 1; } .card-nav:hover { transform: scale(1.1); }
.card-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 4; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.card-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); transition: width .3s, background .3s; }
.card-dots i.on { width: 16px; border-radius: 4px; background: var(--primary); }
[data-imgs] img { transition: opacity .35s; }
.card-img .img-alt { display: none; }
.pd-nav { position: absolute; top: 50%; z-index: 5; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 1px solid var(--gold-line); background: color-mix(in srgb, var(--bg) 60%, transparent); color: var(--champagne); font-size: 1.7rem; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); display: grid; place-items: center; transition: transform .2s, background .2s; }
.pd-nav.prev { left: 14px; } .pd-nav.next { right: 14px; }
.pd-nav:hover { transform: scale(1.1); background: var(--gold-soft); }
@media (hover: none) { .card-nav { opacity: .9; width: 30px; height: 30px; margin-top: -15px; font-size: 1.2rem; } }