/* ============================================================
   BOUTIQUE THEME
   Minimal editorial fashion catalogue: monochrome, letter-spaced
   uppercase type, image-led layouts, generous whitespace.

   Colour tokens (--bq-ink / --bq-accent) are injected per-request
   from the admin palette — see themes/boutique/vars.blade.php.

   Prefixes:  .bq-  home   |  .bqd- product detail
              .bqh- header |  .bqf- footer
   ============================================================ */

/* ---------- page reset ----------
   The browser's default 8px body margin would otherwise show as a white frame
   around the theme. The flex column keeps the footer at the bottom of short
   pages instead of leaving white space beneath it. */
/* This stylesheet is only served while the Boutique theme is active, so it is
   safe to reset html/body directly — no :has() support needed. */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #fff;
}
body.bq-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
/* push the footer to the bottom on short pages */
body.bq-body > .bqf { margin-top: auto; }

/* ---------- shared tokens / resets ---------- */
.bq-wrap, .bqd, .bqh, .bqf {
    --muted: #8a8a8a;
    --line: #e8e8e8;
    font-family: "Jost", "Helvetica Neue", Arial, sans-serif;
    letter-spacing: .01em;
}
.bq-wrap *, .bqd *, .bqh *, .bqf * { box-sizing: border-box; }

/* Full-bleed: bands run the width of the viewport, not a centred column. */
.bq-container, .bqd-container, .bqh-inner, .bqf-inner { width: 100%; max-width: none; margin: 0 auto; padding: 0 clamp(14px, 2vw, 44px); }

/* shared buttons */
.bq-btn {
    display: inline-block; padding: 13px 34px; border: 1px solid #fff; color: #fff; text-decoration: none;
    font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; transition: background .18s, color .18s;
}
.bq-btn:hover { background: #fff; color: var(--bq-ink); }
.bq-btn--dark { border-color: var(--bq-ink); color: var(--bq-ink); }
.bq-btn--dark:hover { background: var(--bq-ink); color: #fff; }

/* ============================================================
   HOME
   ============================================================ */
.bq-wrap { background: #fff; color: var(--bq-ink); padding-bottom: 70px; }

.bq-head { text-align: center; margin: 64px 0 28px; }
.bq-head h2 { font-size: 1.35rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin: 0; }
.bq-head p { margin: 10px 0 0; font-size: .82rem; color: var(--muted); letter-spacing: .04em; }
.bq-head .rule { width: 46px; height: 1px; background: var(--bq-ink); margin: 16px auto 0; }

/* hero */
.bq-hero { position: relative; height: 78vh; min-height: 460px; max-height: 760px; overflow: hidden; background: #f4f4f4; }
.bq-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Hero slider. Scroll-snap does the sliding, so the track stays swipeable
   with JavaScript off; the script only adds arrows, dots and autoplay. */
.bq-hero-track {
    display: flex;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.bq-hero-track::-webkit-scrollbar { display: none; }

.bq-hero-slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.bq-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
    color: var(--bq-ink);
    font-size: 13px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background .15s ease, transform .15s ease;
}

.bq-hero-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.bq-hero-arrow.prev { left: 20px; }
.bq-hero-arrow.next { right: 20px; }

.bq-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 3;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.bq-hero-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: width .18s ease, background .18s ease;
}

.bq-hero-dot:hover { background: rgba(255, 255, 255, .8); }
.bq-hero-dot.is-active { width: 22px; background: #fff; }
.bq-hero-cap {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; gap: 20px;
    background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.34)); color: #fff; padding: 20px;
}
.bq-hero-cap h1 { font-size: clamp(1.9rem, 5vw, 3.6rem); font-weight: 400; letter-spacing: .18em; text-transform: uppercase; margin: 0; }
.bq-hero-cap span { font-size: .84rem; letter-spacing: .28em; text-transform: uppercase; opacity: .92; }

/* collections */
.bq-collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bq-col { position: relative; display: block; overflow: hidden; aspect-ratio: 3/4; background: #f2f2f2; text-decoration: none; }
.bq-col img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bq-col:hover img { transform: scale(1.05); }
.bq-col-cap {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px; color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.6)); text-align: center;
}
.bq-col-cap h3 { margin: 0 0 12px; font-size: 1rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }
.bq-col-cap small { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; border-bottom: 1px solid #fff; padding-bottom: 3px; }
.bq-col-ph {
    position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted);
    font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
}

/* product grid + card */
.bq-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 20px; }
.bq-card { text-align: center; }
.bq-thumb { display: block; position: relative; aspect-ratio: 3/4; overflow: hidden; background: #f6f6f6; margin-bottom: 14px; }
.bq-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.bq-card:hover .bq-thumb img { transform: scale(1.045); }
.bq-tag {
    position: absolute; top: 12px; left: 12px; background: var(--bq-ink); color: #fff;
    font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px;
}
.bq-wish {
    position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; cursor: pointer;
    background: rgba(255,255,255,.9); color: #555; border-radius: 50%; display: grid; place-items: center;
    opacity: 0; transition: opacity .2s;
}
.bq-card:hover .bq-wish { opacity: 1; }
.bq-wish:hover { color: #111; }
.bq-name {
    display: block; font-size: .84rem; letter-spacing: .06em; color: var(--bq-ink); text-decoration: none;
    margin-bottom: 6px; line-height: 1.5;
}
.bq-name:hover { color: var(--muted); }
.bq-prices { font-size: .84rem; letter-spacing: .04em; }
.bq-was { color: var(--muted); text-decoration: line-through; margin-left: 8px; font-size: .78rem; }
.bq-empty {
    grid-column: 1/-1; text-align: center; color: var(--muted); padding: 60px 0;
    border: 1px solid var(--line); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
}

/* services */
.bq-services {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 70px;
}
.bq-services div { text-align: center; padding: 34px 20px; border-right: 1px solid var(--line); }
.bq-services div:last-child { border-right: 0; }
.bq-services i { font-size: 1.3rem; margin-bottom: 12px; display: block; }
.bq-services h4 { margin: 0 0 6px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.bq-services p { margin: 0; font-size: .78rem; color: var(--muted); }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.bqd { background: #fff; color: var(--bq-ink); padding: 30px 0 80px; }
.bqd-crumb { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.bqd-crumb a { color: var(--muted); text-decoration: none; }
.bqd-crumb a:hover { color: var(--bq-ink); }

.bqd-top { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; }
.bqd-main { aspect-ratio: 3/4; background: #f6f6f6; overflow: hidden; }
.bqd-main img { width: 100%; height: 100%; object-fit: cover; }
.bqd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
/* boutique overrides the shared thumb to a portrait crop */
.bqd .pd-thumb { width: 72px; height: 92px; border-radius: 0; border: 1px solid transparent; background: #f6f6f6; }
.bqd .pd-thumb.is-active { border-color: var(--bq-ink); }

.bqd-name { font-size: 1.6rem; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; line-height: 1.4; }
.bqd-meta { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.bqd-stars { color: #111; letter-spacing: 2px; }
.bqd-price { font-size: 1.25rem; letter-spacing: .06em; margin-bottom: 26px; }
.bqd-was { color: var(--muted); text-decoration: line-through; margin-left: 10px; font-size: 1rem; }
.bqd-sale {
    margin-left: 10px; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
    background: var(--bq-ink); color: #fff; padding: 4px 9px;
}
.bqd-rule { height: 1px; background: var(--line); margin: 26px 0; }
.bqd-lbl { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 11px; }

.bqd-opts { display: flex; gap: 9px; flex-wrap: wrap; }
.bqd-opts input { position: absolute; opacity: 0; width: 0; height: 0; }
.bqd-opts label {
    min-width: 46px; text-align: center; border: 1px solid var(--line); padding: 10px 15px;
    font-size: .76rem; letter-spacing: .08em; cursor: pointer; text-transform: uppercase;
}
.bqd-opts input:checked + label { border-color: var(--bq-ink); background: var(--bq-ink); color: #fff; }
.bqd-swatch {
    width: 14px; height: 14px; border-radius: 50%; display: inline-block; vertical-align: -2px;
    margin-right: 7px; border: 1px solid rgba(0,0,0,.18);
}
.bqd-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.bqd-qty button { width: 42px; height: 46px; border: 0; background: #fff; font-size: 1rem; cursor: pointer; }
.bqd-qty button:hover { background: var(--bq-ink); color: #fff; }
.bqd-qty input { width: 58px; height: 46px; border: 0; text-align: center; font-size: .9rem; letter-spacing: .06em; }

.bqd-actions { display: flex; flex-direction: column; gap: 11px; margin-top: 26px; }
.bqd-btn {
    border: 1px solid var(--bq-ink); background: #fff; color: var(--bq-ink); padding: 15px 30px; cursor: pointer;
    font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; text-align: center;
    transition: background .18s, color .18s;
}
.bqd-btn:hover { background: var(--bq-ink); color: #fff; }
.bqd-btn--solid { background: var(--bq-ink); color: #fff; }
.bqd-btn--solid:hover { background: #333; color: #fff; }
.bqd-btn[disabled] { opacity: .4; cursor: not-allowed; }
.bqd-stock { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 14px; }
.bqd-in { color: #111; }
.bqd-out { color: #b91c1c; }
.bqd-notes { margin-top: 28px; font-size: .78rem; color: var(--muted); line-height: 2; }
.bqd-notes i { width: 18px; color: var(--bq-ink); }

.bqd-lower { margin-top: 80px; }
.bqd-lhead { text-align: center; margin-bottom: 26px; }
.bqd-lhead h2 { font-size: 1rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; margin: 0; }
.bqd-lhead .rule { width: 40px; height: 1px; background: var(--bq-ink); margin: 14px auto 0; }
.bqd-desc { font-size: .88rem; line-height: 2; color: #333; max-width: 820px; margin: 0 auto; }
.bqd-spec { width: 100%; max-width: 820px; margin: 26px auto 0; border-collapse: collapse; font-size: .82rem; }
.bqd-spec td { padding: 12px 0; border-bottom: 1px solid var(--line); letter-spacing: .04em; }
.bqd-spec td:first-child { color: var(--muted); text-transform: uppercase; font-size: .72rem; letter-spacing: .14em; width: 40%; }
.bqd-review { max-width: 820px; margin: 0 auto; border-bottom: 1px solid var(--line); padding: 16px 0; }
.bqd-review:last-child { border-bottom: 0; }
.bqd-review b { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.bqd-review p { margin: 7px 0 0; font-size: .84rem; color: #333; line-height: 1.8; }

/* ============================================================
   HEADER
   ============================================================ */
.bqh { background: #fff; position: sticky; top: 0; z-index: 900; border-bottom: 1px solid var(--line); }
.bqh a { text-decoration: none; color: var(--bq-ink); }
.bqh-note {
    background: var(--bq-ink); color: #fff; text-align: center; font-size: .68rem;
    letter-spacing: .2em; text-transform: uppercase; padding: 9px 12px;
}
.bqh-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand nav actions"; align-items: center; gap: 14px 26px; padding: 14px 0; }
.bqh-nav { grid-area: nav; }
.bqh-brand { grid-area: brand; min-width: 150px; }
.bqh-actions { grid-area: actions; }
.bqh-nav { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; row-gap: 6px; }
.bqh-nav > div { position: relative; }
.bqh-nav a.top {
    font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0;
    display: inline-block; border-bottom: 1px solid transparent; white-space: nowrap;
}
.bqh-nav a.top:hover { border-bottom-color: var(--bq-ink); }
.bqh-drop {
    position: absolute; top: 100%; left: -18px; background: #fff; border: 1px solid var(--line);
    min-width: 210px; padding: 14px 0; opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s, transform .18s, visibility .18s;
}
.bqh-nav > div:hover .bqh-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.bqh-drop a { display: block; padding: 8px 20px; font-size: .76rem; letter-spacing: .08em; color: #444; }
.bqh-drop a:hover { background: #f7f7f7; color: var(--bq-ink); }
.bqh-brand { text-align: left; justify-self: start; font-size: 1.35rem; letter-spacing: .3em; text-transform: uppercase; font-weight: 500; }
.bqh-brand img { height: 78px; width: auto; max-width: 260px; object-fit: contain; display: block; margin-left: 10px; }
.bqh-actions { display: flex; gap: 22px; align-items: center; justify-content: flex-end; }
.bqh-actions a { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; }
.bqh-actions a:hover { color: var(--muted); }
.bqh-actions i { font-size: .95rem; }
.bqh-count { font-size: .68rem; letter-spacing: 0; }
.bqh-searchrow { border-top: 1px solid var(--line); display: none; padding: 14px 0; }
.bqh-searchrow.open { display: block; }
.bqh-search { display: flex; border-bottom: 1px solid var(--bq-ink); max-width: 620px; margin: 0 auto; }
.bqh-search input {
    flex: 1; border: 0; outline: 0; padding: 9px 4px; font-size: .86rem; letter-spacing: .06em;
    font-family: inherit; background: transparent;
}
.bqh-search button {
    border: 0; background: transparent; cursor: pointer; font-size: .7rem;
    letter-spacing: .18em; text-transform: uppercase; padding: 0 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.bqf { background: #fff; color: var(--bq-ink); border-top: 1px solid var(--line); margin-top: 80px; font-size: .84rem; }
.bqf a { color: var(--muted); text-decoration: none; transition: color .18s ease, transform .18s ease; }
.bqf a:hover { color: var(--bq-ink); }

/* Newsletter Section */
.bqf-news { background: #fafafa; border-bottom: 1px solid var(--line); padding: 48px 0; }
.bqf-news-wrap { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.bqf-news-tag { display: inline-block; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: #777; font-weight: 600; margin-bottom: 6px; }
.bqf-news-text h3 { margin: 0 0 6px; font-size: 1.3rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: #111; }
.bqf-news-text p { margin: 0; color: var(--muted); font-size: .84rem; }
.bqf-news-action { flex: 1; max-width: 480px; min-width: 280px; }
.bqf-form { display: flex; background: #fff; border: 1px solid #111; border-radius: 0; overflow: hidden; }
.bqf-form input {
    flex: 1; border: 0; outline: 0; background: transparent; padding: 12px 16px;
    font-family: inherit; font-size: .84rem; letter-spacing: .04em; color: #111;
}
.bqf-form button {
    border: 0; background: #111; color: #fff; cursor: pointer; font-size: .72rem;
    letter-spacing: .18em; text-transform: uppercase; padding: 0 24px; font-weight: 500;
    display: flex; align-items: center; gap: 8px; transition: background .2s ease;
}
.bqf-form button:hover { background: #333; }
.bqf-news-note { display: block; margin-top: 8px; font-size: .72rem; color: #888; letter-spacing: .02em; }
.bqf-news-note i { margin-right: 4px; }

/* Main Footer Columns */
.bqf-body { padding: 64px 0 54px; }
.bqf-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; align-items: start; }
.bqf-col h4 {
    font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600;
    color: #111; margin: 0 0 20px; padding-bottom: 10px; border-bottom: 1px solid #eee;
}
.bqf-brand { margin-bottom: 16px; }
.bqf-brand img { max-height: 54px; width: auto; max-width: 220px; object-fit: contain; display: block; }
.bqf-brand-text { font-size: 1.3rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: #111; }
.bqf-desc { color: #555; line-height: 1.8; margin: 0 0 22px; font-size: .82rem; }

/* Social Icons */
.bqf-social { display: flex; gap: 10px; }
.bqf-social a {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e5e5e5;
    display: inline-flex; align-items: center; justify-content: center;
    color: #222; font-size: .88rem; transition: all .2s ease;
}
.bqf-social a:hover { background: #111; color: #fff; border-color: #111; transform: translateY(-2px); }

/* Link Lists */
.bqf-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.bqf-links li a {
    display: inline-flex; align-items: center; gap: 8px; color: #555; font-size: .82rem;
}
.bqf-links li a i { font-size: .55rem; color: #aaa; transition: transform .2s ease; }
.bqf-links li a:hover { color: #111; transform: translateX(3px); }
.bqf-links li a:hover i { color: #111; }

/* Contact Column */
.bqf-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.bqf-contact li { display: flex; align-items: flex-start; gap: 12px; }
.bqf-contact li > i { font-size: .95rem; color: #111; margin-top: 3px; width: 18px; text-align: center; }
.bqf-contact strong { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: #888; font-weight: 600; margin-bottom: 2px; }
.bqf-contact span, .bqf-contact a { font-size: .82rem; color: #444; line-height: 1.5; }
.bqf-contact div a { display: block; }   /* one helpline number per line */

/* Bottom Bar */
.bqf-bottom { border-top: 1px solid var(--line); padding: 20px 0; background: #fafafa; }
.bqf-bottom-wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.bqf-copy { color: #777; font-size: .75rem; letter-spacing: .04em; }
.bqf-trust { display: flex; gap: 20px; flex-wrap: wrap; color: #555; font-size: .74rem; letter-spacing: .04em; }
.bqf-trust span { display: inline-flex; align-items: center; gap: 6px; }
.bqf-trust i { color: #111; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
    .bq-grid { grid-template-columns: repeat(3, 1fr); }
    .bq-collections { grid-template-columns: 1fr; }
    .bq-services { grid-template-columns: 1fr; }
    .bq-services div { border-right: 0; border-bottom: 1px solid var(--line); }
    .bqf-cols { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 900px) {
    .bqd-top { grid-template-columns: 1fr; gap: 32px; }
    .bqh-main { grid-template-columns: 1fr auto; grid-template-areas: "brand actions"; gap: 14px; }
    .bqh-nav { display: none; }
    .bqh-brand { text-align: left; font-size: 1.05rem; letter-spacing: .2em; }
    .bqh-brand img { margin: 0; }
    .bqf-news-wrap { flex-direction: column; align-items: flex-start; }
    .bqf-news-action { width: 100%; max-width: 100%; }
}
@media (max-width: 640px) {
    .bq-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
    .bq-head { margin: 44px 0 22px; }
    .bqf-cols { grid-template-columns: 1fr; gap: 32px; }
    .bqf-bottom-wrap { flex-direction: column; align-items: flex-start; gap: 12px; }
    .bqf-trust { gap: 12px; }
}

