/* theme values */
:root {
  --color-navy: #0a2461;
  --color-navy-deep: #061740;
  --color-royal: #1c46c9;
  --color-royal-soft: #e8edfb;
  --color-brandred: #e03a3f;
  --color-flame: #f4772e;
  --color-amber-soft: #fff2e2;
  --color-cream: #fdf8f2;
  --color-cream-deep: #f6ede2;
  --color-ink: #1b1b1f;
  --color-ink-soft: #55565e;
  --color-line: #e8e1d7;

  --font-sans: "Segoe UI", "Helvetica Neue", -apple-system, BlinkMacSystemFont,
    Roboto, Arial, sans-serif;
  --font-display: "Trebuchet MS", "Segoe UI", -apple-system, sans-serif;

  --shadow-soft: 0 10px 40px -18px rgba(10, 36, 97, 0.25);
  --shadow-card: 0 18px 50px -30px rgba(11, 26, 61, 0.45);
}

* {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: #ffffff;
  color: var(--color-ink);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

::selection {
  background: var(--color-flame);
  color: #fff;
}

/* ---------- layout helpers ---------- */
.shell {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) {
  .shell {
    padding-inline: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .shell {
    padding-inline: 2.5rem;
  }
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.8rem 1.5rem;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: linear-gradient(120deg, var(--color-brandred), var(--color-flame));
  color: #fff;
  box-shadow: 0 12px 30px -14px rgba(224, 58, 63, 0.8);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -14px rgba(224, 58, 63, 0.85);
}
.btn-navy {
  background: var(--color-navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--color-royal);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1.5px solid var(--color-navy);
  color: var(--color-navy);
  background: transparent;
}
.btn-outline:hover {
  background: var(--color-navy);
  color: #fff;
}
.btn-ghost {
  border: 1.5px solid var(--color-line);
  background: #fff;
  color: var(--color-ink);
}
.btn-ghost:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
}
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ---------- cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 1.25rem;
  transition: box-shadow 0.35s ease, transform 0.35s ease,
    border-color 0.35s ease;
}
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(244, 119, 46, 0.4);
}

.badge-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.input {
  width: 100%;
  border-radius: 0.85rem;
  border: 1.5px solid var(--color-line);
  background: #fff;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input:focus {
  border-color: var(--color-royal);
  box-shadow: 0 0 0 4px rgba(28, 70, 201, 0.1);
}
.label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink-soft);
  margin-bottom: 0.35rem;
}

/* ---------- animations ---------- */
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}
.animate-floaty {
  animation: floaty 7s ease-in-out infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.animate-marquee {
  animation: marquee 28s linear infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
.skeleton {
  position: relative;
  overflow: hidden;
  background: #f0ece6;
}
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.75),
    transparent
  );
  animation: shimmer 1.6s infinite;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.animate-pop {
  animation: popIn 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}
.animate-spin-slow {
  animation: spinSlow 18s linear infinite;
}

.text-gradient {
  background: linear-gradient(100deg, #0a2461, #1c46c9 45%, #f4772e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid-pattern {
  background-image: radial-gradient(
    rgba(10, 36, 97, 0.09) 1px,
    transparent 1px
  );
  background-size: 22px 22px;
}

@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: #fff;
  }
}

.hero-slide{min-height:620px;background-position:center;background-size:cover;position:relative;display:none}.hero-slide.active{display:flex}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,23,64,.83),rgba(6,23,64,.35),rgba(6,23,64,.08))}.fade-up{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}.fade-up.in{opacity:1;transform:none}.product-img{aspect-ratio:4/3;object-fit:cover;width:100%}.clamp-2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.prose-lines{white-space:pre-line}.admin-table{width:100%;border-collapse:collapse}.admin-table th,.admin-table td{padding:.75rem;border-bottom:1px solid #e8e1d7;text-align:left;vertical-align:top}.admin-table th{font-size:.7rem;text-transform:uppercase;letter-spacing:.06em;color:#55565e}.toast{position:fixed;right:1rem;bottom:1rem;z-index:100;background:#0a2461;color:#fff;padding:1rem 1.2rem;border-radius:1rem;box-shadow:0 15px 40px #0003}.mobile-drawer{transform:translateX(100%);transition:.28s ease}.mobile-drawer.open{transform:none}.modal-bg{display:none}.modal-bg.open{display:flex}.hero-dot.active{width:30px;background:#f4772e}.hero-dot{width:8px;height:8px;border-radius:99px;background:#fff8;transition:.3s}.glass{background:rgba(255,255,255,.9);backdrop-filter:blur(14px)}

/* Keep content visible if reveal initialization fails. */
.fade-up{opacity:1;transform:none}

/* Rounded, wrapping category and product tiles */
.category-tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.category-tile{text-align:center;display:block;min-width:0}.category-tile-photo{aspect-ratio:1;border-radius:32px;overflow:hidden;background:#f3f3f3}.category-tile-photo img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.category-tile:hover img{transform:scale(1.04)}.category-tile h3{font-size:20px;font-weight:700;color:#0a2461;margin-top:16px}
.product-tile{border-radius:28px;min-width:0}.product-tile-image{border-radius:28px;background:#f4f4f4}.product-tile .product-img{aspect-ratio:1;object-fit:contain;padding:14px;background:#f4f4f4}.product-tile h3{font-weight:700}
@media(max-width:639px){.category-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.category-tile-photo,.product-tile-image{border-radius:24px}.category-tile h3{font-size:16px}.product-tile .p-4{padding:12px}.product-tile .btn{padding:10px 8px;font-size:13px}.product-tile .product-img{padding:8px}}

@media(min-width:1024px){
.bb-desktop-nav{display:flex!important}.bb-desktop-nav>a{font-size:16px;line-height:1.4;padding:10px 12px;white-space:nowrap}
#mobile-menu-btn,#mobile-menu{display:none!important}
}
@media(min-width:1024px) and (max-width:1439px){
.bb-site-header>.shell{height:auto;min-height:80px;flex-wrap:wrap;gap:0;padding-top:12px;padding-bottom:8px}
.bb-desktop-nav{order:3;width:100%;justify-content:center;flex-wrap:wrap;gap:4px;border-top:1px solid #eee;margin-top:10px;padding-top:6px}
}
