/*
Theme Name: AdventBox UK
Theme URI: https://adventbox.shop
Author: AdventBox London
Description: Minimalist, high-trust UK e-commerce theme dedicated exclusively to 2026 Advent Calendars (GBP). Header with Logo + Cart only, 4-column desktop & 2-column mobile product grid, full legal & trust architecture.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Text Domain: adventbox
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --surface-subtle: #F3F1EC;
  --text: #141413;
  --text-muted: #686660;
  --border: #E5E2DA;
  --accent: #183024;
  --accent-hover: #0F2018;
  --sale: #9E2A2B;
  --radius: 4px;
  --container: 1360px;
  --transition: 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-size: 15px;
  overflow-x: hidden;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

@media (max-width: 768px) {
  .container {
    padding: 0 12px;
  }
}

.announcement-bar {
  background: var(--accent);
  color: #F5F3EE;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 8px 12px;
  font-weight: 400;
}

.announcement-bar strong {
  font-weight: 600;
  color: #FFFFFF;
}

@media (max-width: 480px) {
  .announcement-bar {
    font-size: 10.5px;
    padding: 7px 10px;
  }
}

/* MINIMALIST HEADER: STRICTLY LOGO + CART ONLY */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 70px;
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 768px) {
  .site-header {
    height: 60px;
  }
  .header-inner {
    padding: 0 12px;
  }
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border: 1px solid var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--text);
  color: var(--bg);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
}

.brand-sub {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 3px;
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: border-color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.cart-trigger:hover {
  border-color: var(--text);
}

.cart-trigger svg {
  width: 16px;
  height: 16px;
  stroke: var(--text);
  flex-shrink: 0;
}

.cart-count-badge {
  background: var(--accent);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-total-inline {
  color: var(--text-muted);
  font-weight: 400;
  padding-left: 6px;
  border-left: 1px solid var(--border);
}

@media (max-width: 520px) {
  .cart-total-inline {
    display: none;
  }
  .brand-name {
    font-size: 19px;
    letter-spacing: 0.13em;
  }
  .brand-sub {
    font-size: 8px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 15px;
  }
  .cart-trigger {
    padding: 7px 12px;
    font-size: 12px;
    gap: 7px;
  }
}

/* HERO SECTION */
.hero {
  padding: 52px 0 44px;
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    padding: 28px 0 32px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.hero-title em {
  font-style: italic;
  font-weight: 500;
}

.hero-desc {
  font-size: 15.5px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 26px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--text);
  color: var(--surface);
  padding: 13px 26px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.btn-primary:hover {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 13px 22px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: border-color var(--transition), background var(--transition);
}

.btn-outline:hover {
  border-color: var(--text);
  background: var(--surface);
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-primary, .btn-outline {
    width: 100%;
    text-align: center;
  }
}

.hero-micro-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}

.hero-micro-trust span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  min-width: 0;
}

.hero-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 20, 19, 0.06);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #F7F6F2;
  margin-bottom: 8px;
  padding: 6px;
}

.hero-card-brand {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-card-title {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 2px 0 4px;
}

.hero-card-price {
  font-size: 12.5px;
  font-weight: 600;
}

/* SECTIONS & FILTER TOOLBAR */
.section {
  padding: 52px 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .section {
    padding: 32px 0;
  }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.section-eyebrow {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(25px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.section-link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--text);
  padding-bottom: 2px;
}

.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.category-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  max-width: 100%;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-pills::-webkit-scrollbar {
  display: none;
}

.pill-btn {
  padding: 7px 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  white-space: nowrap;
  transition: all var(--transition);
  flex-shrink: 0;
}

.pill-btn:hover {
  border-color: var(--text);
  color: var(--text);
}

.pill-btn.active {
  background: var(--text);
  color: var(--surface);
  border-color: var(--text);
}

.toolbar-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.search-input, .sort-select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 12.5px;
  border-radius: var(--radius);
  outline: none;
}

.search-input {
  width: 210px;
}

@media (max-width: 640px) {
  .toolbar-controls {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .search-input, .sort-select {
    width: 100%;
    min-width: 0;
  }
}

/* STRICT 4-COLUMN DESKTOP / 2-COLUMN MOBILE PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
  width: 100%;
}

@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  border-color: #C9C5BA;
  box-shadow: 0 10px 26px rgba(20, 20, 19, 0.05);
}

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #F7F6F2;
  overflow: hidden;
  cursor: pointer;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-media .img-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}

@media (hover: hover) {
  .product-card:hover .product-media .img-primary.has-hover {
    opacity: 0;
  }
  .product-card:hover .product-media .img-hover {
    opacity: 1;
    transform: scale(1.03);
  }
  .product-card:hover .product-media .img-primary:not(.has-hover) {
    transform: scale(1.03);
  }
}

.badge-row {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 2;
  gap: 4px;
}

.badge-sale {
  background: var(--sale);
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 2px;
}

.badge-rank {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-muted);
  border: 1px solid var(--border);
  font-size: 9.5px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 2px;
}

.product-body {
  padding: 13px 14px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.product-brand {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.38;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 37px;
  cursor: pointer;
}

.product-title:hover {
  text-decoration: underline;
}

.product-price-row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-bottom: 11px;
  flex-wrap: wrap;
}

.price-current {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

.price-current.on-sale {
  color: var(--sale);
}

.price-compare {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-add-bag {
  width: 100%;
  padding: 10px 8px;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition);
}

.btn-add-bag:hover {
  background: var(--text);
  color: var(--surface);
}

.btn-add-bag.added {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
}

@media (max-width: 640px) {
  .product-media img {
    padding: 8px;
  }
  .product-body {
    padding: 10px 9px 11px;
  }
  .product-brand {
    font-size: 9px;
    letter-spacing: 0.1em;
  }
  .product-title {
    font-size: 12px;
    line-height: 1.35;
    min-height: 32px;
    margin-bottom: 8px;
  }
  .price-current {
    font-size: 13.5px;
  }
  .price-compare {
    font-size: 11px;
  }
  .btn-add-bag {
    padding: 9px 6px;
    font-size: 10.5px;
    letter-spacing: 0.05em;
  }
}

/* TRUST ARCHITECTURE & GUARANTEES SECTION */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 960px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 32px 0;
  }
}

@media (max-width: 520px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.trust-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius);
}

.trust-box-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 600;
}

.trust-box-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 5px;
}

.trust-box-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* COMPREHENSIVE FOOTER WITH LEGAL NOTICES & TRUST BADGES */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 52px 0 32px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

@media (max-width: 560px) {
  .site-footer {
    padding: 36px 0 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 28px;
  }
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.payment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.payment-pill {
  border: 1px solid var(--border);
  background: var(--bg);
  padding: 4px 9px;
  border-radius: 3px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
}

.footer-legal-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal-inline a:hover {
  text-decoration: underline;
  color: var(--text);
}

/* LEGAL PAGE / CONTENT STYLING */
.legal-page-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px;
  border-radius: var(--radius);
}

@media (max-width: 640px) {
  .legal-page-wrap {
    padding: 24px 12px 40px;
  }
  .legal-card {
    padding: 20px 16px;
  }
}

.legal-card h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.legal-card h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--text);
}

.legal-card p, .legal-card li {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.legal-card ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

/* SLIDE-OVER CART DRAWER & QUICK VIEW MODAL */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 19, 0.45);
  backdrop-filter: blur(2px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  z-index: 210;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -12px 0 40px rgba(20, 20, 19, 0.12);
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
}

.drawer-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.shipping-bar {
  padding: 11px 20px;
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}

.shipping-track {
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  margin-top: 6px;
  overflow: hidden;
}

.shipping-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.3s ease;
}

.drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-empty {
  text-align: center;
  padding: 50px 16px;
  color: var(--text-muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.cart-item img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  background: #F7F6F2;
  border: 1px solid var(--border);
  padding: 4px;
}

.cart-item-title {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 4px;
}

.cart-item-brand {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 2px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qty-val {
  padding: 0 8px;
  font-size: 12px;
  font-weight: 500;
}

.drawer-footer {
  padding: 18px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.drawer-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
}

.drawer-note {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 19, 0.52);
  backdrop-filter: blur(3px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-box {
  background: var(--surface);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .modal-backdrop {
    padding: 10px;
  }
  .modal-box {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 18px;
  z-index: 5;
}

.modal-gallery {
  background: #F7F6F2;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-main-img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  margin-bottom: 12px;
}

.modal-thumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.modal-thumb {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 3px;
  cursor: pointer;
  object-fit: contain;
}

.modal-thumb.active {
  border-color: var(--text);
}

.modal-info {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
}

.modal-specs {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: 160px;
  overflow-y: auto;
}