/* =========================================================
   RON BRANDO — Core Stylesheet
   Design language: bold monochrome print-shop identity, lifted
   directly from the logomark — ink black, brushed silver-grey
   and paper white, cut with the exact crimson red of the mascot's
   eyes as the single accent. Serif display type + tracked-caps
   labels stay for editorial contrast; the circular "hole" frame
   motif now reads as the brand's own rabbit-hole cutout rather
   than a jewellery mount.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Jost:wght@300;400;500;600;700&display=swap');

:root{
  --ink:#111113;
  --paper:#f4f3f1;
  --paper-dim:#e7e6e3;
  --red:#ed2024;      /* crimson pulled directly from the logo's eyes */
  --red-dark:#b3181c;
  --grey:#a7a9ac;      /* silver-grey from the logo panel */
  --grey-light:#e3e4e5;
  --charcoal:#0a0a0b;
  --line: rgba(17,17,19,0.12);
  --line-strong: rgba(17,17,19,0.26);

  --display: 'Playfair Display', Georgia, serif;
  --body: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;

  --maxw: 1240px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--body);
  font-size:16px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input, select, textarea{ font-family:inherit; }

.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 28px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

:focus-visible{
  outline:3px solid var(--red);
  outline-offset:2px;
}

/* ---------- Type ---------- */
h1,h2,h3,h4{
  font-family:var(--display);
  font-weight:500;
  letter-spacing:0.01em;
  text-transform:none;
  margin:0;
  line-height:1.12;
}
.eyebrow{
  font-family:var(--mono);
  font-weight:500;
  font-size:12px;
  letter-spacing:0.24em;
  text-transform:uppercase;
  color:var(--red);
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:26px;
  height:1px;
  background:var(--red);
  display:inline-block;
}
p{ margin:0; }

/* ---------- Announcement bar ---------- */
.announce{
  background:var(--ink);
  color:var(--grey-light);
  font-family:var(--mono);
  font-weight:400;
  font-size:12px;
  letter-spacing:0.14em;
  text-align:center;
  padding:10px 12px;
  overflow:hidden;
  white-space:nowrap;
}
.announce span{
  display:inline-block;
  padding-right:48px;
  white-space:nowrap;
}
.announce-track{
  display:flex;
  width:max-content;
  animation: ticker 22s linear infinite;
}
@keyframes ticker{
  from{ transform:translateX(0); }
  to{ transform:translateX(-50%); }
}

/* ---------- Header ---------- */
header.site{
  position:sticky; top:0; z-index:100;
  background:var(--paper);
  border-bottom:1px solid var(--line);
}
.header-row{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:24px;
  padding:18px 28px;
  max-width:var(--maxw);
  margin:0 auto;
}
.brandmark{ display:flex; align-items:center; gap:10px; justify-self:start; }
.brandmark img{ height:42px; width:auto; }

nav.main-nav{ display:flex; align-items:center; gap:34px; justify-self:center; }
nav.main-nav a{
  font-family:var(--mono);
  font-weight:500;
  font-size:13px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  padding:6px 0;
  border-bottom:1px solid transparent;
  transition:border-color .15s ease, color .15s ease;
}
nav.main-nav a:hover, nav.main-nav a.active{
  border-color:var(--red);
  color:var(--red-dark);
}

.header-actions{ display:flex; align-items:center; gap:16px; justify-self:end; }
.icon-btn{
  position:relative;
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px;
  border:1px solid var(--line-strong);
  border-radius:50%;
  background:transparent;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.icon-btn:hover{ background:var(--red); border-color:var(--red); color:#fff; transform:translateY(-1px); }
.icon-btn svg{ width:17px; height:17px; }
.badge{
  position:absolute; top:-6px; right:-6px;
  background:var(--red); color:#fff;
  font-family:var(--mono); font-size:10px; font-weight:600;
  width:17px; height:17px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}

.burger{ display:none; }

/* ---------- Search overlay ---------- */
.search-overlay{
  position:fixed; left:0; right:0; top:0;
  z-index:120;
  background:var(--paper);
  border-bottom:1px solid var(--line-strong);
  box-shadow:0 16px 32px rgba(0,0,0,0.10);
  transform:translateY(-8px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease, visibility .18s;
}
.search-overlay.open{
  opacity:1; transform:translateY(0); visibility:visible; pointer-events:auto;
}
.search-overlay-inner{
  max-width:var(--maxw);
  margin:0 auto;
  padding:22px 28px 26px;
}
.search-form{
  display:flex; align-items:center; gap:12px;
  border-bottom:2px solid var(--ink);
  padding-bottom:12px;
}
.search-form svg{ width:20px; height:20px; flex-shrink:0; color:var(--grey); }
.search-form input{
  flex:1;
  border:none; outline:none; background:transparent;
  font-family:var(--display);
  font-size:20px;
  color:var(--ink);
}
.search-form input::placeholder{ color:var(--grey); }
.search-close{
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px; border-radius:50%;
  border:1px solid var(--line-strong); background:transparent; flex-shrink:0;
}
.search-close:hover{ background:var(--red); border-color:var(--red); color:#fff; }
.search-close svg{ width:14px; height:14px; color:inherit; }

.search-results{
  margin-top:16px;
  max-height:60vh;
  overflow-y:auto;
}
.search-hint, .search-empty{
  font-family:var(--mono); font-size:12.5px; color:var(--grey);
  padding:8px 2px;
}
.search-result-list{ display:flex; flex-direction:column; gap:2px; }
.search-result-item{
  display:flex; align-items:center; gap:14px;
  padding:10px 8px; border-radius:6px;
  transition:background .15s ease;
}
.search-result-item:hover, .search-result-item.active-index{ background:var(--sand, #f4f0e8); }
.search-result-item img{
  width:46px; height:46px; object-fit:cover; border-radius:4px;
  border:1px solid var(--line);
  flex-shrink:0;
  background:#fff;
}
.search-result-info{ display:flex; flex-direction:column; gap:2px; flex:1; min-width:0; }
.search-result-info .name{ font-size:14px; font-weight:500; color:var(--ink); }
.search-result-info .cat{ font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--grey); }
.search-result-item .price{ font-family:var(--mono); font-size:13px; font-weight:600; color:var(--red-dark); flex-shrink:0; }
.search-see-all{
  display:block; text-align:center;
  margin-top:10px; padding:12px;
  font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  border-top:1px solid var(--line);
}
.search-see-all:hover{ color:var(--red-dark); }
.icon-btn.active{ background:var(--red); border-color:var(--red); color:#fff; }

@media (max-width: 860px){
  .search-overlay-inner{ padding:16px 18px 20px; }
  .search-form input{ font-size:17px; }
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--mono);
  font-weight:500;
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  padding:12px 24px;
  border:1.5px solid var(--ink);
  background:var(--ink);
  color:var(--paper);
  border-radius:3px;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover{ background:var(--red); border-color:var(--red); color:#fff; transform:translateY(-2px); box-shadow:0 10px 20px rgba(237,32,36,0.22); }
.btn:active{ transform:translateY(0); box-shadow:none; }
.btn.outline{ background:transparent; color:var(--ink); border-color:var(--line-strong); }
.btn.outline:hover{ background:var(--red); color:#fff; border-color:var(--red); }
.btn.on-dark{ border-color:var(--red); background:transparent; color:var(--grey-light); }
.btn.on-dark:hover{ background:var(--red); border-color:var(--red); color:#fff; }
.btn.sm{ padding:9px 18px; font-size:11px; }
.btn.xs{ padding:7px 14px; font-size:10.5px; letter-spacing:.08em; }
.btn:disabled{ opacity:.45; cursor:not-allowed; transform:none !important; box-shadow:none !important; }

/* ---------- Signature frame shape ---------- */
/* A soft circular medallion frame — echoes fine jewellery
   detailing and gives product art a boutique presentation. */
.hole{
  --clip: circle(46% at 50% 50%);
  clip-path: var(--clip);
  background:var(--ink);
}

/* ---------- Section scaffolding ---------- */
section{ padding:100px 0; }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:24px; margin-bottom:48px; flex-wrap:wrap;
}
.section-head h2{ font-size:clamp(32px,4vw,50px); }

.divider{
  height:1px;
  background: linear-gradient(90deg, transparent, var(--red) 50%, transparent);
  opacity:.5;
  margin:0;
}

/* ---------- Footer ---------- */
footer.site{
  background:var(--charcoal);
  color:var(--paper);
  padding:80px 0 0;
  border-top:1px solid rgba(250,246,239,0.14);
}
.foot-top{
  display:grid;
  grid-template-columns: 1.7fr .9fr .9fr 1.1fr .8fr 1.2fr;
  gap:36px;
  padding-bottom:48px;
  border-bottom:1px solid rgba(250,246,239,0.12);
}
.foot-contact ul li a{ display:flex; align-items:flex-start; gap:10px; }
.foot-contact ul li a svg{ width:16px; height:16px; flex-shrink:0; margin-top:2px; color:var(--red); }
.foot-col h4{
  font-family:var(--mono);
  font-size:12px;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--red);
  margin-bottom:22px;
  font-weight:500;
}
.foot-col ul li{ margin-bottom:12px; }
.foot-col ul a{
  font-size:14px; color:rgba(250,246,239,0.72);
  transition:color .15s ease, padding-left .15s ease;
}
.foot-col ul a:hover{ color:var(--red); padding-left:3px; }
.foot-about img{ height:38px; margin-bottom:20px; }
.foot-about p{ color:rgba(250,246,239,0.58); font-size:14px; max-width:280px; margin-bottom:24px; font-family:var(--display); font-style:italic; line-height:1.6; }
.social-row{ display:flex; gap:10px; }
.social-row a{
  width:38px; height:38px; border-radius:50%;
  border:1px solid rgba(250,246,239,0.22);
  display:flex; align-items:center; justify-content:center;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.social-row a:hover{ background:var(--red); border-color:var(--red); transform:translateY(-2px); }
.social-row svg{ width:16px; height:16px; }

.foot-newsletter{
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
  padding:36px 0; border-bottom:1px solid rgba(250,246,239,0.12);
}
.foot-newsletter h4{ font-family:var(--display); font-weight:500; font-size:20px; color:var(--paper); text-transform:none; letter-spacing:0; margin-bottom:6px; }
.foot-newsletter p{ color:rgba(250,246,239,0.55); font-size:13.5px; }
.foot-news-form{ max-width:380px; width:100%; margin:0; }

.foot-bottom{
  display:flex; align-items:center; justify-content:space-between;
  padding:22px 0; flex-wrap:wrap; gap:14px;
}
.foot-bottom p{ font-size:12px; color:rgba(250,246,239,0.5); font-family:var(--mono); }
.foot-bottom-links{ display:flex; align-items:center; gap:22px; flex-wrap:wrap; }
.foot-bottom-links a{ font-size:12px; font-family:var(--mono); color:rgba(250,246,239,0.5); transition:color .15s ease; }
.foot-bottom-links a:hover{ color:var(--red); }
.foot-bottom-links span{ font-size:12px; font-family:var(--mono); color:rgba(250,246,239,0.35); }

@media (max-width: 1100px){
  .foot-top{ grid-template-columns:1.6fr 1fr 1fr; }
  .foot-about{ grid-column:1 / -1; }
}
@media (max-width: 880px){
  nav.main-nav{ display:none; }
  .burger{
    display:flex; align-items:center; justify-content:center;
    width:38px; height:38px; border:1px solid var(--line-strong); background:none; border-radius:2px;
  }
  .burger svg{ width:20px; height:20px; }
  .foot-top{ grid-template-columns:1fr 1fr; gap:32px; }
  .foot-about{ grid-column:auto; }
  .foot-newsletter{ flex-direction:column; align-items:flex-start; }
}
@media (max-width: 560px){
  .foot-top{ grid-template-columns:1fr; }
}

.whatsapp-float{
  position:fixed; right:22px; bottom:22px; z-index:150;
  width:56px; height:56px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 8px 24px rgba(0,0,0,0.28);
  transition:transform .15s ease;
}
.whatsapp-float svg{ width:26px; height:26px; }
.whatsapp-float:hover{ transform:scale(1.08); }
@media (max-width:600px){
  .whatsapp-float{ right:16px; bottom:16px; width:50px; height:50px; }
}

/* ---------- Mobile drawer ---------- */
.drawer{
  position:fixed; inset:0; z-index:200;
  visibility:hidden;
}
.drawer.open{ visibility:visible; }
.drawer-backdrop{
  position:absolute; inset:0; background:rgba(13,13,13,0.5);
  opacity:0; transition:opacity .2s ease;
}
.drawer.open .drawer-backdrop{ opacity:1; }
.drawer-panel{
  position:absolute; top:0; right:0; height:100%; width:min(320px,84vw);
  background:var(--paper); padding:26px; transform:translateX(100%);
  transition:transform .25s ease;
  display:flex; flex-direction:column; gap:4px;
}
.drawer.open .drawer-panel{ transform:translateX(0); }
.drawer-panel a{
  font-family:var(--mono); text-transform:uppercase; letter-spacing:.06em;
  padding:14px 4px; border-bottom:1px solid var(--line);
}
.drawer-close{
  align-self:flex-end; width:34px; height:34px; border:1px solid var(--line-strong);
  border-radius:50%; background:none; display:flex; align-items:center; justify-content:center;
  margin-bottom:18px;
}

/* ---------- Toast ---------- */
/* Phase 1C — shared loading/error state for API-backed product/category grids */
.catalog-status{
  width:100%; text-align:center; padding:40px 20px; color:var(--ink-soft,#6b6b6d);
  font-size:0.95rem;
}
.catalog-status.catalog-error{ color:var(--red-dark,#b3121b); }

.toast{
  position:fixed; left:50%; bottom:26px; transform:translate(-50%, 20px);
  background:var(--charcoal); color:var(--paper); font-family:var(--mono); font-size:13px;
  padding:14px 22px; border-radius:3px; border-left:3px solid var(--red);
  opacity:0; pointer-events:none; transition: opacity .2s ease, transform .2s ease;
  z-index:300; letter-spacing:.03em;
}
.toast.show{ opacity:1; transform:translate(-50%,0); }
