/* Bomkisi theme — loaded after assets/css/storefront.css.
   Palette and layout follow the client's Canva design; text colours are nudged
   where the mockup was too low-contrast to read comfortably. */

:root {
    --plum: #3c1a25;
    --tan: #b09979;
    --olive: #83742f;
    --red: #7d1b1b;
    --pink: #ffa3a3;
    --purple: #5c5679;
    --cream: #f6efe4;

    --color-bg: var(--cream);
    --color-surface: #fffaf3;
    --color-border: #dccfbb;
    --color-text: var(--plum);
    --color-text-muted: #6b5a55;
    --color-primary: var(--plum);
    --color-primary-contrast: var(--pink);
    --color-danger: #b3261e;
    --color-success: #1f6b3a;
    --radius: 14px;
    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: 'Abril Fatface', Georgia, 'Times New Roman', serif;
    --max-width: 1240px;
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--font); font-size: 17px; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: .01em; }

/* ---- Header ---- */
.site-header { background: var(--plum); border-bottom: 0; color: var(--pink); }
.site-header .row { grid-template-columns: auto 1fr auto; padding-block: 24px; }
.site-header .brand { font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 1; color: var(--pink); }
.site-nav { justify-self: end; gap: 34px; margin-right: 12px; }
.site-nav a { color: var(--pink); font-weight: 500; font-size: 16.5px; letter-spacing: .02em; }
.site-nav a:hover { color: #fff; }
.nav-dropdown-menu { background: var(--plum); border-color: rgba(255,163,163,.25); }
.nav-dropdown-menu a:hover { background: rgba(255,163,163,.12); }
.header-actions { gap: 16px; }
.header-actions .search-form input { background: rgba(255,163,163,.1); border: 1px solid rgba(255,163,163,.35); color: var(--pink); border-radius: 999px; padding: 10px 18px; font-size: 14.5px; width: 160px; }
.header-actions .search-form input::placeholder { color: rgba(255,163,163,.7); }
.cart-link { color: var(--pink); font-size: 16px; }
.cart-count { background: var(--pink); color: var(--plum); }
.mobile-menu-toggle { color: var(--pink); }
.mobile-nav-panel { background: var(--plum); }
.mobile-nav-header .brand { font-family: var(--font-display); font-weight: 400; font-size: 22px; color: var(--pink); }
.mobile-nav-header button { color: var(--pink); }
.mobile-nav-links a { color: var(--pink); border-bottom-color: rgba(255,163,163,.2); }
.mobile-nav-panel .search-form input { background: rgba(255,163,163,.1); border-color: rgba(255,163,163,.35); color: var(--pink); }
@media (max-width: 860px) { .site-header .row { grid-template-columns: 1fr auto; padding-block: 18px; } .site-header .brand { font-size: 30px; } .mobile-menu-toggle svg { width: 28px; height: 28px; } }

/* ---- Buttons / forms ---- */
.btn { border-radius: 999px; padding: 12px 26px; letter-spacing: .02em; }
.btn:hover { opacity: 1; background: #2a1019; }
.btn-outline { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-outline:hover { background: var(--plum); color: var(--pink); }
.btn-tan { background: var(--tan); border-color: var(--tan); color: var(--plum); }
.btn-tan:hover { background: #c4ad8c; }
.btn-pink { background: var(--pink); border-color: var(--pink); color: var(--red); }
.btn-pink:hover { background: #ffb8b8; }
.btn-lg { font-family: var(--font-display); font-size: 22px; padding: 14px 44px; font-weight: 400; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea { background: #fffaf3; color: var(--plum); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--plum); outline-offset: 1px; }

/* ---- Footer ---- */
.site-footer { font-size: 16px; background: var(--plum); color: #e9d6d6; border-top: 0; margin-top: 0; padding: 56px 0 28px; }
.site-footer a { color: var(--pink); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.4fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .brand { font-family: var(--font-display); font-size: 36px; line-height: 1; display: inline-block; margin-bottom: 14px; }
.footer-brand p { margin: 0 0 18px; line-height: 1.6; max-width: 28ch; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1.5px solid rgba(255,163,163,.5); border-radius: 50%; color: var(--pink); transition: background .2s, color .2s, border-color .2s; }
.footer-social a:hover { background: var(--pink); color: var(--plum); border-color: var(--pink); }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col address { font-style: normal; line-height: 1.6; color: #e9d6d6; }
.footer-heading { font-family: var(--font-display); font-size: 22px; color: var(--pink); margin-bottom: 6px; }
.footer-sublink { font-size: 14px; opacity: .8; padding-left: 12px; }
.footer-news form { display: flex; gap: 8px; flex-wrap: wrap; width: 100%; }
.footer-news input[type="email"] { flex: 1 1 180px; width: auto; border-radius: 999px; background: rgba(255,163,163,.1); border-color: rgba(255,163,163,.4); color: #fff; }
.footer-news input::placeholder { color: rgba(255,255,255,.55); }
.footer-news .btn { background: var(--pink); border-color: var(--pink); color: var(--plum); }
.footer-news .btn:hover { background: #ffb8b8; }
.footer-copy { border-top: 1px solid rgba(255,163,163,.2); padding-top: 20px; font-size: 14.5px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---- Coloured bands (shared by home + page templates) ---- */
.band { padding-block: 56px; }
.band-plum { background: var(--plum); }
.band-tan { background: var(--tan); }
.band-olive { background: var(--olive); }
.band-red { background: var(--red); }
.band-pink { background: var(--pink); }
.band-purple { background: var(--purple); }
.band-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.band-title { font-size: clamp(28px, 4vw, 40px); margin: 0 0 28px; color: #4a0f0f; }
.band-head .band-title { margin-bottom: 0; }
.band-title-tan { color: var(--tan); }
.band-title-pink { color: var(--pink); }
.band-purple .band-title { color: var(--pink); }
.band-red .band-title { color: var(--pink); }
.band-link { font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 4px; color: #f6e7c8; }
.band-plum .band-link { color: var(--tan); }
.band-red .band-link { color: var(--pink); }
.band-label { font-family: var(--font); font-size: 20px; font-weight: 500; color: var(--red); margin: 0 0 24px; }

/* ---- Home: hero ---- */
.home-hero { position: relative; background: var(--plum); padding: 0 12px 12px; }
.home-hero-photos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; max-width: 1500px; margin: 0 auto; }
.home-hero-photos img { width: 100%; height: clamp(340px, 62vw, 780px); object-fit: cover; }
.home-hero-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(70%, 820px); height: auto; pointer-events: none; filter: drop-shadow(0 2px 10px rgba(0,0,0,.35)); }

/* ---- Home: about ---- */
.about-grid { display: grid; grid-template-columns: minmax(260px, 5fr) 7fr; gap: 56px; align-items: center; }
.about-photo { aspect-ratio: 4 / 5; border-radius: 50%; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-lead { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.25; text-align: center; color: var(--red); margin: 0 0 28px; }
.about-text { columns: 2; column-gap: 32px; font-size: 17px; line-height: 1.7; color: var(--plum); }
.about-text p { margin: 0 0 14px; break-inside: avoid-column; }
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-photo { max-width: 360px; margin: 0 auto; width: 100%; }
}
@media (max-width: 600px) { .about-text { columns: 1; } }

/* ---- Home: latest drops ---- */
.drops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.drop { display: block; color: #fdf4dd; }
.drop-img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: rgba(0,0,0,.1); }
.drop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.drop:hover .drop-img img { transform: scale(1.04); }
.drop-name { font-weight: 600; margin-top: 12px; }
.drop-price { font-size: 14px; opacity: .9; }
@media (max-width: 760px) { .drops-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; } }

/* ---- Home: shop ---- */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shop-tile { display: block; text-align: center; }
.shop-tile-img { aspect-ratio: 3 / 4; overflow: hidden; background: rgba(255,255,255,.06); border-radius: 999px 999px 18px 18px; }
.shop-tile:nth-child(even) .shop-tile-img { border-radius: 50%; }
.shop-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.shop-tile:hover .shop-tile-img img { transform: scale(1.05); }
.shop-tile-name { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 32px); color: var(--tan); margin-top: 14px; }
.shop-tile:hover .shop-tile-name { color: #e2cfae; }
@media (max-width: 860px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Custom requests (home + /page/custom) ---- */
.oval-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 36px; }
.oval { aspect-ratio: 5 / 3; border-radius: 50%; overflow: hidden; }
.oval img { width: 100%; height: 100%; object-fit: cover; }
.custom-band { text-align: center; }
.custom-band .band-head, .custom-band > .container > .band-title { text-align: left; }
.custom-intro { max-width: 640px; margin: 0 auto 28px; color: #ffd9d6; text-transform: uppercase; letter-spacing: .06em; font-size: 15px; line-height: 1.8; }
.custom-note { color: #ffd9d6; font-size: 15px; margin-top: 20px; }
.custom-note a { text-decoration: underline; }
@media (max-width: 600px) { .oval-row { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr 1.2fr; gap: 32px; align-items: start; }
.contact-details { color: #fdf4dd; font-size: 16.5px; line-height: 1.6; }
.contact-details dl { margin: 0 0 20px; }
.contact-details dt { font-weight: 600; margin-top: 14px; color: var(--pink); }
.contact-details dd { margin: 2px 0 0; }
.contact-details a { text-decoration: underline; text-underline-offset: 3px; }
.contact-link { font-weight: 600; color: #fdf4dd; border-bottom: 2px solid var(--pink); padding-bottom: 2px; }
.contact-photo { border-radius: 6px; overflow: hidden; aspect-ratio: 3 / 2; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-phone { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.contact-phone img { width: 120px; height: auto; }
.contact-phone-title { font-family: var(--font-display); font-size: 28px; color: #4a0f0f; }
.contact-phone-badge { background: var(--tan); color: var(--plum); border-radius: 50%; padding: 22px 26px; font-size: 14px; font-weight: 500; margin-top: -26px; position: relative; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-photo { order: -1; } }

/* ---- Wordmark ---- */
.wordmark-band { background: var(--pink); color: var(--tan); font-family: var(--font-display); text-align: center; line-height: 1; font-size: clamp(64px, 19vw, 260px); padding: 32px 12px 24px; user-select: none; }

/* ---- FAQ ---- */
.faq-list { columns: 2; column-gap: 56px; }
.faq-item { break-inside: avoid; margin-bottom: 24px; color: #ece7f7; font-size: 16.5px; line-height: 1.65; }
.faq-item p { margin: 0 0 6px; }
.faq-q { font-family: var(--font); font-weight: 700; font-size: 17px; color: #fff; margin: 0 0 6px; }
.faq-reality { font-weight: 600; color: var(--pink); }
@media (max-width: 860px) { .faq-list { columns: 1; } }

/* ---- Home: founders photo + blog ---- */
.wall-photo img { width: 100%; height: clamp(200px, 30vw, 400px); object-fit: cover; object-position: center 96%; }
.blog-band { position: relative; overflow: hidden; }
.blog-swirl { position: absolute; left: -80px; bottom: -60px; width: min(60%, 560px); aspect-ratio: 1; background: url('img/blog-swirl.png') center / contain no-repeat; opacity: .55; pointer-events: none; }
.blog-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.blog-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.blog-word { font-family: var(--font-display); font-size: clamp(80px, 16vw, 200px); line-height: .9; color: var(--tan); }
.blog-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-weight: 600; }
.blog-list a { text-decoration: underline; text-underline-offset: 3px; }
.blog-photo { aspect-ratio: 4 / 5; border-radius: 50%; overflow: hidden; max-width: 460px; justify-self: center; width: 100%; }
.blog-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .blog-grid { grid-template-columns: 1fr; } .blog-photo { max-width: 320px; } }

/* ---- Shop pages (category / product / cart / checkout): arch thumbs, warm surfaces ---- */
main h1 { color: var(--plum); font-size: clamp(28px, 4vw, 40px); }
.product-grid { gap: 28px 20px; }
.product-card .thumb { background: transparent; border-radius: 0; aspect-ratio: 1 / 1; }
.product-card .thumb img { object-fit: contain; transition: transform .4s ease; }
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .name { font-family: var(--font-display); font-weight: 400; font-size: 19px; text-align: center; }
.product-card .price { text-align: center; }
.product-card .badge-soldout { display: block; text-align: center; }
.product-gallery .main-image { background: transparent; border-radius: 0; aspect-ratio: 1 / 1; }
.product-info h1 { font-size: clamp(28px, 3.4vw, 38px); }
.option-values button { border-radius: 999px; background: #fffaf3; color: var(--plum); border-color: var(--plum); }
.option-values button.selected { background: var(--plum); color: var(--pink); }
.cart-item-card { background: var(--color-surface); }
.cart-item-card-thumb, .empty-state { background: transparent; }
.cart-item-card-thumb { background: #e9dcc7; }
.alert-success { background: #e3efdc; }
.alert-danger { background: #f8dcd8; }
.breadcrumbs a:hover { color: var(--red); }
.product-tag:hover { border-color: var(--red); color: var(--red); }

button, .btn { font-family: inherit; }
.btn-lg { font-family: var(--font-display); }

/* ---- Custom order form ---- */
.band-cream { background: var(--cream); }
.request-wrap { max-width: 820px; }
.request-title { font-size: clamp(28px, 4vw, 38px); color: var(--red); margin: 0 0 8px; }
.request-lead { color: var(--color-text-muted); margin: 0 0 28px; }
.request-form fieldset { border: 0; border-top: 2px solid var(--tan); margin: 0 0 28px; padding: 18px 0 0; min-width: 0; }
.request-form legend { font-family: var(--font-display); font-size: 22px; color: var(--plum); padding: 0 12px 0 0; }
.request-form .hint { font-size: 14.5px; color: var(--color-text-muted); margin: 0 0 8px; }
.request-form textarea { resize: vertical; line-height: 1.5; }
.request-form input[type="file"] { width: 100%; padding: 12px; border: 1px dashed var(--tan); border-radius: var(--radius); background: #fffaf3; font-family: inherit; }
.req { color: var(--red); font-weight: 700; }
.opt { font-weight: 400; color: var(--color-text-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.terms-box { max-height: 360px; overflow-y: auto; padding: 18px 22px; background: #fffaf3; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 15.5px; line-height: 1.65; margin-bottom: 16px; }
.terms-box h3 { font-size: 20px; color: var(--red); margin: 22px 0 8px; }
.terms-box h3:first-child { margin-top: 0; }
.terms-box h4 { font-family: var(--font); font-size: 16px; font-weight: 700; margin: 18px 0 6px; }
.terms-box ul { margin: 0 0 8px; padding-left: 20px; }
.terms-box li { margin-bottom: 4px; }
.terms-box p { margin: 0 0 6px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; line-height: 1.5; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--plum); }
.btn-lg-solid { font-size: 16px; padding: 15px 40px; }
.request-success { text-align: center; padding: 24px 0; }
.request-success h2 { font-size: clamp(26px, 3.6vw, 36px); color: var(--red); margin: 0 0 12px; }
.request-success p { max-width: 560px; margin: 0 auto 24px; }


/* Slightly larger shop copy */
.product-info .description { font-size: 17px; line-height: 1.7; }
.product-card .price { font-size: 15.5px; }
.form-group label, .option-group label { font-size: 14.5px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea { font-size: 16px; }

/* Darker outline so the tan lettering stands out on the pink bands */
.wordmark-band, .blog-word { -webkit-text-stroke: 6px #8c7452; paint-order: stroke fill; }

/* ---- Contact page: map in the space above the footer ---- */
.contact-map-wrap { margin-top: 48px; }
.studio-map { height: clamp(300px, 40vw, 460px); border-radius: 14px; overflow: hidden; background: #6f6428; border: 3px solid var(--plum); }
/* Tint the grey map tiles toward the site's olive/plum palette */
.studio-map .leaflet-tile-pane { filter: sepia(.75) saturate(.9) hue-rotate(-12deg) brightness(.97) contrast(.92); }
.studio-map .leaflet-control-zoom a { background: var(--plum); color: var(--pink); border: 0; font-family: var(--font); }
.studio-map .leaflet-control-zoom a:hover { background: #2a1019; }
.studio-map .leaflet-bar { border: 0; border-radius: 999px; overflow: hidden; box-shadow: none; }
.studio-map .leaflet-control-attribution { background: rgba(60,26,37,.8); color: #f6e7c8; font-size: 11px; }
.studio-map .leaflet-control-attribution a { color: var(--pink); }
.studio-pin span { display: block; text-align: center; background: var(--pink); color: var(--plum); font-family: var(--font-display); font-size: 20px; line-height: 36px; border-radius: 999px; border: 3px solid var(--plum); position: relative; }
.studio-pin span::after { content: ''; position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); border: 7px solid transparent; border-top-color: var(--plum); border-bottom: 0; }
.contact-map-note { color: #fdf4dd; }
.contact-map-link { display: block; text-align: right; margin-top: 10px; font-size: 15px; font-weight: 600; color: #fdf4dd; text-decoration: underline; text-underline-offset: 3px; }
