/* ====== Load Veneer from CDN ====== */
@import url('https://fonts.cdnfonts.com/css/veneer');
@import url('https://fonts.cdnfonts.com/css/veneer-two');
@import url('https://fonts.cdnfonts.com/css/veneer-clean');

/* ====== Global font setup ====== */
html, body {
  font-family: "Veneer", "Veneer Two", "Veneer Clean",
               Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #FBF2E9;
  color: var(--text);
}

/* ====== Tokens ====== */
:root{
  --text:#000000;
  --sub:#6c6c6c;
  --cream:#F9F3E9;
  --navy:#11294C;
  --orange:#EE733C;
  --bg:#ffffff;
  --radius:6px;
  --shadow:0 8px 30px rgba(0,0,0,.14);
  --shadow-soft:0 3px 14px rgba(0,0,0,.08);
}

*{box-sizing:border-box}

/* ====== Header / layout ====== */
.wrap{max-width:1100px;margin:56px auto 24px;padding:0 20px;text-align:center}
.title{
  font-size:36px; line-height:1; font-weight:400; letter-spacing:0; color:#000; margin:0 0 18px;
}

/* ====== Controls ====== */
.control{display:flex;gap:12px;align-items:flex-end;justify-content:center;flex-wrap:wrap}
.select-block{display:flex;flex-direction:column;gap:6px;min-width:552px}
.select-label{text-align:left;font-size:12px;color:var(--sub);text-transform:uppercase;letter-spacing:.02em}

/* ====== Custom select (with images) ====== */
.cselect{position:relative;display:inline-block}

/* ✅ Fixed width (552px) even on hover */
.cselect__button{
  width:552px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:left;
  padding:0 36px 0 12px;
  gap:12px;
  background:var(--cream);
  border:1px solid transparent;
  border-radius:var(--radius);
  font-size:14px;
  color:var(--text);
  box-shadow:var(--shadow-soft);
  cursor:pointer;
  transition:border-color .12s ease,box-shadow .12s ease;
}
.cselect__button:after{
  content:"";position:absolute;right:10px;top:50%;transform:translateY(-50%);
  width:16px;height:16px;
  background:url('data:image/svg+xml;utf8,<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"%23000000\" viewBox=\"0 0 20 20\"><path d=\"M5.8 7.6a1 1 0 0 1 1.4 0L10 10.4l2.8-2.8a1 1 0 1 1 1.4 1.4l-3.5 3.5a1 1 0 0 1-1.4 0L5.8 9a1 1 0 0 1 0-1.4z\"/></svg>') no-repeat center/16px;
  opacity:.9;
  pointer-events:none;
}
.cselect__button:hover,
.cselect[aria-expanded="true"] .cselect__button{
  width:552px;
  border-color:var(--navy);
  box-shadow:0 0 0 1px var(--navy) inset,var(--shadow-soft);
}
.cselect__list{
  position:absolute;
  left:0;
  width:552px;
  max-height:280px;
  overflow:auto;
  margin-top:6px;
  background:var(--cream);
  border:1px solid var(--navy);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:6px;
  list-style:none;
  z-index:30;
}
.cselect__list[hidden]{display:none}
.cselect__option{
  display:flex;align-items:center;gap:12px;padding:8px;border-radius:6px;cursor:pointer;user-select:none;
  border:1px solid transparent;background:transparent;
}
.cselect__option:hover,
.cselect__option[aria-selected="true"]{background:#fff;border-color:var(--navy)}
.cselect__thumb{width:36px;height:36px;border-radius:6px;object-fit:cover;background:#fff;border:1px solid var(--navy)}
.cselect__text{font-size:14px;color:var(--text)}

/* ====== Result (product view) ====== */
.result{margin:24px auto 0;max-width:552px}
.result__inner{
  display:grid;grid-template-columns:76px 1fr;column-gap:24px;align-items:flex-start;
  background:transparent;border:none;padding:0;text-align:left;
}
.result__media img{width:76px;height:136px;object-fit:cover;display:block;border:0}
.result__body{display:flex;flex-direction:column;gap:12px;min-width:0;}
.result__title{font-size:24px;line-height:1.2;font-weight:400;margin:0;width:100%}
.cta-row{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-shrink:0;width:100%}

.btn{
  height:35px;padding:0 18px;border-radius:6px;border:1px solid transparent;
  margin-top:50px;display:inline-flex;align-items:center;justify-content:center;
  font-size:18px;line-height:1;font-weight:400;text-transform:uppercase;letter-spacing:.02em;
  text-decoration:none;white-space:nowrap;color:#fff;cursor:pointer;
  transition:opacity .15s ease,transform .04s ease;
}
.btn:active{transform:translateY(1px)}
.btn:hover,.btn:focus{text-decoration:none}
.btn-orange{background:var(--orange);border-color:var(--orange);min-width:163px}
.btn-orange:hover{opacity:.9}
.btn-navy{background:var(--navy);border-color:var(--navy);min-width:111px}
.btn-navy:hover{opacity:.9}

/* ====== Lightbox (added) ====== */
.lightbox[hidden]{display:none}
.lightbox{
  position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;
}
.lightbox__backdrop{
  position:absolute;inset:0;background:rgba(0,0,0,.6);
  backdrop-filter:saturate(120%) blur(2px);
}
.lightbox__figure{
  position:relative;z-index:1001;margin:0;padding:0;
  max-width:90vw;max-height:90vh;
  display:flex;flex-direction:column;gap:8px;align-items:center;
}
.lightbox__figure img{
  max-width:90vw;max-height:80vh;border-radius:10px;
  box-shadow:0 12px 40px rgba(0,0,0,.35);background:#fff;
}
.lightbox__figure figcaption{
  color:#fff;text-align:center;font-size:16px;line-height:1.2;
  margin-top:6px;text-shadow:0 1px 2px rgba(0,0,0,.6);
}
.lightbox__close{
  position:absolute;top:-10px;right:-10px;width:36px;height:36px;
  border-radius:999px;border:none;background:#000;color:#fff;
  font-size:22px;line-height:1;cursor:pointer;
  box-shadow:0 6px 18px rgba(0,0,0,.3);
}

/* === Font consistency fix for dropdown + buttons === */
.cselect__button,
.cselect__list,
.cselect__option,
.cselect__text,
.btn {
  font-family: 'Veneer', 'Veneer Two', 'Veneer Clean', sans-serif !important;
  font-weight: 400;
  letter-spacing: 0.3px;
}

.btn {
  text-transform: uppercase;
}

/* =========================
   RESPONSIVE — TABLET
   ========================= */
@media (max-width:1024px) and (min-width:601px){
  .select-block{min-width:552px}
  .cselect__button{width:552px}
  .cselect__button:hover,
  .cselect[aria-expanded="true"] .cselect__button{width:552px}
  .cselect__list{width:552px}
}

/* =========================
   RESPONSIVE — MOBILE
   ========================= */
@media (max-width:600px){
  .wrap{padding:0 16px}
  .select-block{min-width:100%}
  .cselect__button{width:100%}
  .cselect__button:hover,
  .cselect[aria-expanded="true"] .cselect__button{width:100%}
  .cselect__list{width:100%}

  .result{max-width:100%}
  .result__inner{grid-template-columns:64px 1fr;column-gap:16px}
  .result__media img{width:64px;height:114px}
  .result__title{font-size:20px}

  .cta-row{
    width:100%;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    gap:12px;
    margin-top:8px;
  }
  .cta-row .btn{
    width:100%;
    max-width:260px;
    height:40px;
    padding:12px 24px;
    margin-top:0;
  }
}
