/* Optive — extra styles for what the Next.js site adds: product page (/p/...), category page (/c/...),
   breadcrumbs, footer links to each frame type, page-number links, 404 / "back soon" page. style.css is unchanged. */

/* the item name and the frame types are real links now (for search engines and new tabs); they look as before */
.card-link{color:inherit;text-decoration:none}
.card-link:hover{text-decoration:underline;text-underline-offset:3px}
a.cat{color:inherit;text-decoration:none}
.pager a{min-width:44px;height:44px;padding:0 14px;border-radius:999px;border:1.5px solid var(--line);background:color-mix(in srgb,var(--sand) 70%,transparent);font-weight:700;font-size:14px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
.pager a.on{background:var(--ink);border-color:var(--ink);color:var(--sand)}

/* phones: the shop name in the header fits next to the search, account and cart buttons (it slid under them) */
@media (max-width:420px){.hd .brand{gap:8px}.hd .brand>span{font-size:clamp(12px,3.9vw,18px);letter-spacing:.08em}}
@media (max-width:360px){.hd{gap:8px}.hd .logo{width:32px}.hd .sb,.hd .acb,.hd .cb{width:42px;height:42px}}
@media (max-width:340px){.hd{gap:6px}.hd .sb,.hd .acb,.hd .cb{width:38px;height:38px}}

.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:var(--mute);margin:0 0 16px}
.crumbs a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 35%,transparent)}
.crumbs a:hover{color:var(--ink)}
.crumbs [aria-current]{color:var(--ink);font-weight:600;max-width:70vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* ---------- category page ---------- */
.cat-head{padding-top:clamp(26px,4vw,48px)}
.cat-head h1{font-size:clamp(36px,5vw,64px);font-weight:800;line-height:1.02;background:var(--irid);-webkit-background-clip:text;background-clip:text;color:transparent;width:max-content;max-width:100%}
@media (max-width:400px){.cat-head h1{font-size:clamp(26px,9vw,36px);overflow-wrap:anywhere}} /* one long word fits a small phone */
.cat-intro{color:var(--mute);margin:10px 0 0;max-width:640px}
.cat-head + .band{padding-top:22px}

/* ---------- product page: the product window, open in the page ---------- */
.pdp{padding-top:clamp(20px,3vw,36px)}
.pdp-box{background:var(--sand);border:1px solid var(--line);border-radius:28px;padding:26px;max-width:1180px;margin:0 auto;box-shadow:0 30px 80px #2B1F5512}
.pdp .crumbs{max-width:1180px;margin:0 auto 16px}
.pv h1{font-size:30px;margin:4px 0 8px;font-weight:800}
.pdp + .band .sh .btn{background:transparent}
@media (max-width:720px){
 .pdp{padding-left:0;padding-right:0}
 .pdp .crumbs{padding:0 16px}
 .pdp-box{border-radius:22px 22px 0 0;border-left:0;border-right:0;padding:20px 18px 0;box-shadow:none}
 .pdp-box>.pv>:last-child{margin-bottom:20px}
}

/* ---------- footer: links to every frame type ---------- */
.fcats{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:26px;font-size:13px}
.fcats a:hover{text-decoration:underline;text-underline-offset:3px}

/* ---------- 404 and "back in a moment" ---------- */
.down{min-height:100vh;min-height:100svh;display:grid;place-content:center;justify-items:center;gap:16px;text-align:center;padding:40px 20px}
.down h1{font-size:clamp(30px,5vw,54px);font-weight:800}
.down p{max-width:460px;color:var(--mute);margin:0}
.down .brand{font-size:24px}
