@import url('fonts.css');

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f6f5f2;
  color: #1b1d20;
  font-family: 'IBM Plex Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
img { max-width: 100%; display: block; }
a { color: #1b1d20; text-decoration: underline; text-decoration-color: #f5c400; text-underline-offset: 3px; }
a:hover { color: #000; text-decoration-color: #1b1d20; }
input, select, textarea, button { font-family: inherit; }
.font-display { font-family: 'Archivo', Arial, sans-serif; }
.font-mono { font-family: 'IBM Plex Mono', 'Consolas', monospace; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* image slot */
.img-slot { position: relative; overflow: hidden; background: #e9e7e2; }
.img-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* buttons / links hover states */
.btn-yellow { background: #f5c400; transition: background .15s; }
.btn-yellow:hover { background: #ffd633; }
.btn-dark { background: #1b1d20; transition: background .15s; }
.btn-dark:hover { background: #000; }
.btn-outline-dark { border: 1px solid #4a4e55; transition: border-color .15s; }
.btn-outline-dark:hover { border-color: #f5c400; }
.card-hover { border: 1px solid #e4e2dd; transition: border-color .15s; }
.card-hover:hover { border-color: #1b1d20; }
.icon-btn { transition: border-color .15s; }
.icon-btn:hover { border-color: #f5c400; }

/* header / nav */
.topbar { background: #111214; color: #c9cbcf; font-size: 13px; }
.topbar .wrap { padding: 9px 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
header.site-header { position: sticky; top: 0; z-index: 40; background: #1b1d20; color: #fff; border-bottom: 1px solid #2c2f34; }
header.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; flex-wrap: wrap; padding: 0 24px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo-badge { width: 38px; height: 38px; background: #f5c400; color: #1b1d20; display: flex; align-items: center; justify-content: center; font-family: 'Archivo', Arial, sans-serif; font-weight: 900; font-size: 20px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-title { font-family: 'Archivo', Arial, sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.01em; }
.logo-sub { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .14em; color: #9a9ea4; margin-top: 4px; }

nav.main-nav { display: flex; flex-wrap: wrap; gap: 0 2px; flex: 1 1 640px; min-width: 0; order: 3; border-top: 1px solid #2c2f34; margin: 0 -11px; }
nav.main-nav a { color: #e6e7e9; text-decoration: none; font-size: 14px; font-weight: 500; padding: 14px 11px 11px; border-bottom: 3px solid transparent; white-space: nowrap; }
nav.main-nav a:hover { color: #fff; }
nav.main-nav a.active { color: #f5c400; border-bottom-color: #f5c400; }

.header-actions { display: flex; gap: 10px; align-items: center; margin-left: auto; padding: 14px 0; }
.cart-btn { background: transparent; border: 1px solid #3a3d43; color: #fff; padding: 10px 14px; cursor: pointer; display: flex; gap: 10px; align-items: center; font-size: 14px; }
.cart-count { background: #f5c400; color: #1b1d20; min-width: 22px; height: 22px; padding: 0 6px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.call-btn { background: #f5c400; color: #1b1d20; text-decoration: none; padding: 11px 16px; font-weight: 700; font-size: 14px; transition: background .15s; }
.call-btn:hover { background: #ffd633; }

/* footer */
footer.site-footer { background: #111214; color: #b5b8bd; font-size: 14px; }
footer.site-footer .cols { max-width: 1240px; margin: 0 auto; padding: 64px 24px 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
footer.site-footer a { color: #b5b8bd; text-decoration: none; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer .col-title { color: #fff; font-weight: 700; margin-bottom: 4px; }
footer.site-footer .bottom { max-width: 1240px; margin: 0 auto; padding: 20px 24px 32px; border-top: 1px solid #26282c; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 13px; }
.pay-badge { border: 1px solid #3a3d43; padding: 4px 8px; font-family: 'IBM Plex Mono', monospace; font-size: 11px; }
.cookie-settings-link { background: none; border: 0; padding: 0; color: #f5c400; text-align: left; cursor: pointer; font-size: 14px; font: inherit; }

/* cart drawer */
.cart-overlay { position: fixed; inset: 0; background: rgba(10,11,12,.55); z-index: 60; display: none; }
.cart-drawer { position: fixed; top: 0; right: -460px; bottom: 0; width: min(440px, 100%); background: #f6f5f2; z-index: 61; display: flex; flex-direction: column; box-shadow: -20px 0 50px rgba(0,0,0,.3); transition: right .25s; }
body.cart-open .cart-overlay { display: block; }
body.cart-open .cart-drawer { right: 0; }
.cart-drawer-head { background: #1b1d20; color: #fff; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; }
.cart-close { background: transparent; border: 1px solid #3a3d43; color: #fff; width: 36px; height: 36px; cursor: pointer; font-size: 18px; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-line { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid #e4e2dd; }
.cart-line img { width: 64px; height: 64px; object-fit: cover; background: #e9e7e2; }
.qty-box { display: flex; border: 1px solid #c9c7c1; background: #fff; }
.qty-box button { width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; font-size: 16px; }
.cart-drawer-foot { padding: 20px 24px; border-top: 1px solid #e4e2dd; background: #fff; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: #1b1d20; color: #fff; padding: 14px 18px; z-index: 70; display: none; gap: 14px; align-items: center; box-shadow: 0 12px 30px rgba(0,0,0,.3); font-size: 15px; }
.toast.show { display: flex; }
.toast-tick { width: 22px; height: 22px; background: #f5c400; color: #1b1d20; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; flex: none; }

/* cookie banner */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 760px; margin: 0 auto; background: #fff; border: 2px solid #1b1d20; box-shadow: 0 20px 50px rgba(0,0,0,.25); padding: 24px; display: none; }
.cookie-banner.show { display: block; }
.cookie-row { display: flex; justify-content: space-between; padding: 10px 12px; background: #f6f5f2; font-size: 14px; align-items: center; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions button { flex: 1; min-width: 140px; padding: 12px; font-weight: 700; cursor: pointer; border: 2px solid #1b1d20; }
.cookie-accept { background: #1b1d20; color: #fff; }
.cookie-reject, .cookie-settings-toggle { background: #fff; color: #1b1d20; }

/* generic */
.hidden { display: none !important; }
.pill { display: flex; align-items: center; gap: 10px; font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.dot { width: 10px; height: 10px; background: #f5c400; flex: none; }

/* responsive */
@media (max-width: 760px) {
  header.site-header .wrap { min-height: 60px; }
  nav.main-nav { display: none; }
  body.nav-open nav.main-nav { display: flex; }
  .nav-toggle { display: inline-flex !important; }
}
.nav-toggle { display: none; background: transparent; border: 1px solid #3a3d43; color: #fff; width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; margin-left: auto; }
@media (min-width: 761px) { .header-actions { margin-left: auto; } }
