/* =========================================================
   CHOC EN BOUCHE – MASTER BRAND CSS
   ========================================================= */
/* BASE — DESKTOP (1200px+) 

≤1199px — Large desktop / small laptop 
@media (max-width: 1199px) 

≤991px — Tablet
@media (max-width: 991px)

≤767px — Large mobile
@media (max-width: 767px) 

575px — Mobile
@media (max-width: 575px)

≤399px — Small mobile
@media (max-width: 399px) */

/* ========================== FONT FACES – CANELA======================= */
@font-face {
  font-family: "Canela";
  src: url("../fonts/Canela-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Canela";
  src: url("../fonts/Canela-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Canela";
  src: url("../fonts/Canela-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ========================== ROOT & ACCENTS ========================== */
:root {
  /* Colors */
  --accent: #d4af37;
  --accent-glow: rgba(212,175,55,0.35);
  --card-bg: #d2c3da;

  /* Spacing scale */
  --space-xxxs: 4px;
  --space-xxs: 6px;
  --space-xs: 8px;
  --space-smmm: 10px;
  --space-smm: 12px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 72px;
  --space-tw: 12px;

  /* Component-specific spacing */
  --space-card: 2.8rem;
  --space-footer: 2.2rem;
  --space-tagline-top: 6px;
  --space-tagline-bottom: 16px;
  --space-title-bottom: 0.6rem;
  --space-back-top: 8px;
  --space-back-bottom: 28px;
  --space-card-image-bottom: 1.2rem;
  --space-title-bottom-mobile: 0.45rem;
	
  --menu-row-height: 32px;

  --font-display: "Canela", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

}

/* ==========================
   ACCESSIBLE KEYBOARD FOCUS
   ========================== */

/* Mouse / touch interaction does not need a persistent ring */
:focus:not(:focus-visible) {
  outline: none;
}

/* Keyboard navigation gets a consistent CEB gold focus ring */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Form controls use a slightly tighter treatment */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ========================== BASE CANVAS ==========================*/
html, body {
  background-color: #000;
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.7;
  letter-spacing: 0;
  margin: 0;
}

/* ========================== PREVENT LAYOUT SHIFTS ========================== */
html {
  scrollbar-gutter: stable;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

.section-title,
.section-tagline {
  font-family: var(--font-display);
  font-display: swap;
}

body.site-dark {
  background-color: #000;
  color: #f2f2f2;
  position: relative;
  z-index: 1;
}

/* Cards body color */
.card-body {
  background-color: var(--card-bg);
}

/* Safe areas */
:root {
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ========================== MONOGRAM ==========================*/
body.site-dark::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("../images/cebsignaturegold.webp");
  background-repeat: no-repeat;
  background-size: 1100px;
  background-position: center 45%;
  opacity: 0.04;
  animation: ceb-breath 18s ease-in-out infinite;
}
@keyframes ceb-breath {
  0%   { opacity: 0.065; transform: scale(1); }
  50%  { opacity: 0.085; transform: scale(1.015); }
  100% { opacity: 0.065; transform: scale(1); }
}

/* TYPOGRAPHY – CANELA / INTER */

/* Semantic headings */
h2,
h3 {
  font-family: "Canela", serif;
}

/* H1 font */
h1 {
  font-family: "Canela", serif;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Section title component */
.section-title {
  position: relative;
  font-family: "Canela", serif;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 0;
}

/* Card titles */
.card-title,
h4, h5 {
  font-family: "Canela", serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* Body text */
p,
.card-text,
footer,
address {
  font-family: inherit;
  font-weight: 400;
  line-height: 1.75;
}

/* WHITE CARD CONTRAST FIX */
.card,
.card-body { color: #111; }
.card-title { color: #000; }
.card-text { color: #333; }

/* Card becomes the flex container */
.collections-grid .card {
  display: flex;
  flex-direction: column;
}

/* Card body becomes natural height */
.collections-grid .card-body {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 1.4rem 1.3rem;
}

.collections-grid .card-body .card-text {
  flex-grow: 1;
}

.collections-grid .card-body .btn {
  margin-top: auto;
}

/* BUTTONS – LUXURY BLACK & GOLD */
.btn,
.btn-primary {
  background-color: #000 !important;
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;
  padding: 10px 32px;
  border-radius: 999px;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--accent) !important;
  color: #000 !important;
  box-shadow: 0 8px 18px var(--accent-glow);
}
.btn-primary:active {
  background-color: #bfa036 !important;
  border-color: #bfa036 !important;
  color: #000 !important;
}
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* COLLECTION CARD BUTTON WIDTH – DESKTOP */
@media (min-width: 767px) {
  .collections-grid .card .btn {
    width: 155px;
    justify-content: center;
	margin-left: auto;
    margin-right: auto;
  }
}

/* FOOTER ICONS & LINKS – GOLD */
footer a {
  color: var(--accent) !important;
  text-decoration: none;
}
footer a:hover {
  opacity: 0.85;
}

/* EDITORIAL CITATIONS */
.editorial-citation {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.75);
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

.editorial-citation:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* VIDEO UI OVERLAY HIDE */
video::-webkit-media-controls,
video::-webkit-media-controls-overlay-play-button,
video::-webkit-media-controls-start-playback-button {
  display: none;
}

/* MOTION ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  body.site-dark::after {
    animation: none;
  }
}

/* MOBILE TUNING */
@media (max-width: 767px) {
  body.site-dark::after {
    background-size: 700px;
    background-position: center 30%;
    opacity: 0.05;
    animation-duration: 22s;
  }
}
@media (max-width: 767px) {
  :root {
    --space-xl: 48px;
    --space-lg: 32px;
    --space-card: 2.2rem;
    --space-footer: 2.5rem;
  }
}
@media (max-width: 767px) {
  .section-title {
    margin-bottom: var(--space-title-bottom-mobile);
  }
}
@media (max-width: 767px) {
  .collections-grid .btn {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .btn.add-to-cart {
    width: auto !important;
  }
}

@media (max-width: 767px) {
  .only-available-btn {
    width: auto;
    max-width: 155px;
    flex: 0 0 auto;
  }
}
@media (max-width: 360px) {
  section:first-of-type {
    padding-top: var(--space-xs);
    padding-bottom: var(--space-xxs);
  }
}

/* FLOATING WHATSAPP ICON */
.floating-whatsapp {
  position: fixed;
  right: 28px;
  z-index: 999;
  font-size: 32px;
  color: var(--accent);
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.floating-whatsapp:hover {
  color: var(--accent) !important;
  opacity: 0.9;
  transform: translateY(-2px);
}
.floating-whatsapp-icon {
  display: block;
  width: 28px;
  height: 28px;
}

.section-tagline {
  max-width: 560px;
  margin-top: 28px;
  margin: 25px auto 0;
  padding: 0 20px;
  text-align: center;
}

.section-tagline span {
  display: block;
}

/* Lead */
.line-1 {
  font-size: 1.35rem;
  line-height: 1.45;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.96);
}

/* Support */
.line-2 {
  font-size: 1.08rem;
  line-height: 1.85;
  margin-bottom: 24px;
  color: rgba(255,255,255,0.72);
}

/* Closing (luxury tone) */
.line-3 {
  margin-top: 10px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.62);
  max-width: 520px;
  margin: 12px auto 0;
}
/* Remove default divider */
hr {
  border: none;
}

/* Global vertical rhythm for sections (intentionally compact) */
section { padding: var(--space-lg) 0; }


/* Hero section tighter top & bottom Padding */
header > section {
  padding-top: var(--space-md);     /* 24px */ 
  padding-bottom: 0;
}

.menu-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.product-breadcrumb {
  max-width: 900px;
  margin: 0 auto 18px;
  padding: 0 24px;
  box-sizing: border-box;
  font-size: 0.82rem;
  line-height: 1.5;
}

.dual-slider-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

/* mobile */
@media (max-width: 767px) {
  .dual-slider-section {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px;
  }
}
/* Space between menu items / cards */
.card {
  margin-bottom: 0;
  transition: transform 0.3s ease;
}

@media (max-width: 767px) {
  .card {
    margin-bottom: var(--space-card);
  }
}

.card:hover {
  transform: translateY(-4px);
}

footer {
  padding: var(--space-footer) 0 calc(var(--space-footer) + var(--safe-bottom));
}

footer address {
  text-align: center;
}

/* PREMIUM FOOTER DETAILS */
footer .footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  font-size: 0.82rem;
}

footer .footer-links span {
  color: rgba(212, 175, 55, 0.55);
}

footer .footer-copyright-divider {
  width: 90px;
  height: 1px;
  margin: 10px auto 8px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(212, 175, 55, 0.7),
    transparent
  );
}

footer .footer-copyright {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
}

@media (max-width: 575px) {
  .section-title {
    font-size: 1.6rem;
  }
}

/* Back styling */
.back-to-collections {
  margin: var(--space-back-top) 0 var(--space-back-bottom);
  text-align: left;
}
.back-to-collections a,
.back-to-collections a:visited {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.7) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.back-to-collections a:hover,
.back-to-collections a:focus {
  color: rgba(212, 175, 55, 1) !important;
  text-decoration: none;
}

.card-img-top {
  display: block;
}

/* COLLECTIONS GRID */
.collections-section {
  padding-top: var(--space-xxs);
  padding-bottom: var(--space-sm);
  min-height: clamp(380px, 60vh, 520px);
}
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: stretch;
}
.collections-grid .card {
  height: 100%;
}
@media (max-width: 991px) {
  .collections-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* Align inline elements */
a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}


/* HERO */
.video-wrapper {
  width: 100%;
  max-width: clamp(250px, 45vw, 400px);
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  overflow: hidden;
  background: #000;
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  max-width: 100%; 
  max-height: 100%; 
  object-fit: contain;
  display: block;
}

@media (max-width: 575px) {
  .video-wrapper {
    max-height: 200px;
  }
}

/* reserved vertical space for Latest */
#latest-creations,.latest-placeholder {
  min-height: 420px;
  display: block;
  contain: layout;
}

/* Add space after the 2nd gold line in Latest Creations */
.latest-creations .section-divider + .container {
  margin-top: var(--space-lg);
}

/* Control vertical spacing between card rows */
.container > .row + .row {
  margin-top: var(--space-smm);
}

/* LATEST CREATIONS spacing override */
.latest-creations {
  padding-top: var(--space-xs);
  padding-bottom: 0;
}

/* LATEST CREATIONS – RESPONSIVE FIX */

.latest-creation-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
@media (max-width: 575px) {
  .latest-creation-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Prevents inline-image baseline alignment bugs */
.latest-creations .latest-image img {
  display: block;
}


/* Floating WhatsApp icon */
.floating-whatsapp-icon {
  display: block;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}

/* Prevent image dimming */
a img {
  opacity: 1;
  filter: none;
}

@media (max-width: 575px) {
  .section-title {
    letter-spacing: 0.12em;
  }
}
@media (max-width: 575px) {
  footer a {
    padding: 2px 0;
  }
}

.whatsapp-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
}


/* LATEST CREATIONS – ZOOM SYSTEM*/
.latest-creations .latest-image {
  width: 100px;
  height: 125px;
  position: relative;
  cursor: zoom-in;
}
.latest-creations .latest-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* LATEST.HTML ZOOM – EDGE SAFE FALLBACK */
.latest-zoom-preview.is-center {
  transform: scale(1);
}
@media (max-width: 575px) {
  .latest-zoom-preview {
    bottom: auto;
    top: auto;
  }

  .latest-zoom-preview.is-center {
    transform: translate(-50%, -100%) scale(1);
  }
}

/* --- AI Concept Disclosure (on-image) --- */
.image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  width: 100%;
  height: 220px;
}

.ai-disclosure {
  position: absolute;
  bottom: 10px;
  right: 12px;
  z-index: 2;

  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.05em;

  color: rgba(200, 162, 77, 0.60);
  pointer-events: none;
  user-select: none;
}

/* COLLECTION CARDS  */
.collections-grid .card img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  margin-bottom: 1rem;
}
.image-wrap .card-img-top {
  margin-bottom: 0 !important;
}

/* HERO VIDEO — LUXURY VISUAL FREEZE LOOP */
.hero-video {
  animation: hero-freeze 14s linear infinite;
  will-change: filter;
}
/*
  TIMING LOGIC:
  - First ~6s: video visibly plays
  - Next ~8s: visually "frozen"
  - Video loops invisibly underneath
*/
@keyframes hero-freeze {
  0% {
    filter: brightness(1);
  }

  45% {
    filter: brightness(1);
  }

  70% {
    filter: brightness(1.015);
  }

  100% {
    filter: brightness(1);
  }
}


/* FOOTER REVIEWS */
footer .reviews-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 6px 0 2px;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: none;
}

footer .reviews-line .stars,
footer .reviews-line .reviews-text {
  color: var(--accent);
  font-weight: inherit;
}

footer .reviews-line .stars {
  margin-right: 6px;
  font-size: 0.95em;
}

/* LEAVE A REVIEW */
footer .review-cta {
  margin-top: 0;
  margin-bottom: 10px;
}

footer .review-cta a {
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--accent) !important;
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

footer .review-cta a:hover {
  color: var(--accent) !important;
  opacity: 1;
  text-decoration: none;
}

/* SEASONAL PAGE – 4-COLUMN GRID OVERRIDE*/

.collections-section .collections-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}
/* Tablet */
@media (max-width: 1199px) {
  .collections-section .collections-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Small tablet */
@media (max-width: 991px) {
  .collections-section .collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Mobile */
@media (max-width: 575px) {
  .collections-section .collections-grid {
    grid-template-columns: 1fr;
  }
}

/* Floating search container */
.floating-search {
  position: fixed;
  right: 26px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.floating-search.active .search-box {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* Search button */
#searchToggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--accent); /* gold */
  color: var(--accent);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

/* Hover / active */
#searchToggle:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: scale(1.05);
}

/* Search box */
.search-box {
  position: absolute;
  right: 46px;
  bottom: 0;
  overflow: visible;

  width: 220px;
  margin: 0;

  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
.search-box input {
  width: 220px;
  height: 26px;
  padding: 0 10px;
  border-radius: 15px;
  border: 1px solid var(--accent);
  background: #000;
  color: #fff;
  font-size: 12px;
  box-sizing: border-box;
  line-height: 26px;
}
.search-box input::placeholder {
  color: #888;
}
.floating-search,
.floating-whatsapp {
  isolation: isolate;
}
.search-box input:focus {
  border-color: rgba(212, 175, 55, 1);
}

.search-box input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.25);
}

/* SEARCH DROPDOWN */

.search-dropdown {
  position: absolute;
  top: auto;
  left: 0;
  bottom: calc(100% + 6px);

  width: 100%;
  background: #000;

  border: 1px solid var(--accent);
  border-radius: 20px;

  max-height: calc(100vh - 120px);
  max-width: 100%;
  overflow-y: auto;
  overflow-x: hidden;

  display: none;
  z-index: 10000;
  flex-direction: column;
}
.search-dropdown a {
  white-space: nowrap;
}
.search-result {
  display: flex;
  align-items: center;

  height: 38px;
  padding: 0 16px;

  font-size: 13px;
  line-height: 1;
  font-family: "Canela","Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0.01em;

  color: #fff;
  text-decoration: none;
  background: transparent;
  overflow: hidden;
  transition: background 0.15s ease;
}
.search-result:last-child {
  border-bottom: none;
}
.search-result:hover,
.search-result:focus {
  background: rgba(212,175,55,0.08);
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}
.search-result + .search-result {
  border-top: 1px solid rgba(212,175,55,0.15);
}


.search-result span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-dropdown * {
  box-sizing: border-box;
  max-width: 100%;
}

.search-suggest {
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.8;
}

.search-suggest span {
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
}

.search-suggest span:hover {
  text-decoration: underline;
}

/* FINAL ZOOM POPUP */
.latest-zoom-preview {
  position: fixed;
  will-change: transform;
  z-index: 9999;
  pointer-events: none;

  width: 180px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  aspect-ratio: 3 / 4;
}
.latest-zoom-preview.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.latest-zoom-preview img,
.latest-zoom-preview video {
  width: 100%;
  height: auto;
  max-height: 260px;

  object-fit: contain;
  display: block;

  box-shadow: 0 18px 40px rgba(0,0,0,0.6);
  border-radius: 2px;
}


.contact-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.latest-creation-card {
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .hero-video {
    animation: none;
  }
}


/* FLOATING SOCIAL */
.floating-social {
  position: fixed;
  right: 26px;
  bottom: 58px;

  z-index: 9999;
  isolation: isolate;
}

/* Reset native button styling for floating controls */
button.floating-social,
button.floating-cart {
  width: 28px;
  height: 28px;
  padding: 0 !important;
  margin: 0;
  border: 0 !important;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none !important;

  display: flex;
  align-items: center;
  justify-content: center;

  color: inherit;
  font: inherit;
  line-height: 1;

  cursor: pointer;

  appearance: none !important;
  -webkit-appearance: none !important;
}

button.floating-social:hover,
button.floating-social:active,
button.floating-cart:hover,
button.floating-cart:active {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Normalize WhatsApp button to match others */
.floating-whatsapp-btn {
  width: 28px;
  height: 28px;

  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  transition:
    background 0.2s ease,
    transform 0.15s ease,
    opacity 0.2s ease;
}
.floating-whatsapp:hover .floating-whatsapp-btn {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
  opacity: 0.9;
}

/* FLOATING STACK SPACING (DESKTOP) */
.floating-whatsapp { bottom: 28px; }
.floating-social   { bottom: 64px; }
.floating-search   { bottom: 100px; }
.floating-cart {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);

  z-index: 9999;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating Cart */
.floating-cart-btn {
  width: 28px;
  height: 28px;
  position: relative;

  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--accent);

  transition:
    background 0.2s ease,
    transform 0.15s ease,
    opacity 0.2s ease;
}
.floating-cart:hover .floating-cart-btn {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
  opacity: 0.9;
}


/* FLOATING STACK SPACING (MOBILE) */
@media (max-width: 575px) {
  .floating-whatsapp {
    bottom: calc(18px + var(--safe-bottom));
  }
  .floating-social {
    bottom: calc(58px + var(--safe-bottom));
  }
  .floating-search {
    bottom: calc(98px + var(--safe-bottom));
  }
  .floating-whatsapp,
  .floating-social,
  .floating-search,
  .floating-cart {
    right: 18px;
  }
}

/* Floating Social button */
.floating-social-btn {
  width: 28px;
  height: 28px;

  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--accent);

  transition:
    background 0.2s ease,
    transform 0.15s ease,
    opacity 0.2s ease;
}
.floating-social:hover .floating-social-btn {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
  opacity: 0.9;
}

/* Normalize inner icon centering for ALL floating buttons */
.floating-search button,
.floating-social-btn,
.floating-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Normalize icon sizes */
.floating-search svg,
.floating-social svg,
.floating-whatsapp img {
  width: 16px;
  height: 16px;
  display: block;
}

/* Optical correction (search icon only) */
#searchToggle svg {
  transform: translateY(0.5px);
}
@media (max-width: 575px) {
  .search-box {
    width: min(220px, calc(100vw - 120px));
    right: 40px;
  }

  .search-box input {
    width: 100%;
  }
}

/* FLOATING SOCIAL PANEL */
.floating-social-panel {
  position: fixed;

  /* anchor to social icon */
  right: 64px; /* horizontal offset from the social icon */
  bottom: calc(58px + var(--safe-bottom));

  display: flex;
  flex-direction: column;
  gap: 12px;

  opacity: 0;
  pointer-events: none;

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;

  z-index: 9999;
}

/* Open state — aligned */
.floating-social-panel.is-open {
  opacity: 1;
  pointer-events: auto;

  /* correct vertical alignment */
  transform: translateY(-7px);
}
@media (max-width: 575px) {
  .floating-social-panel {
    right: 64px;
    bottom: calc(58px + var(--safe-bottom));
  }
}

/* Social icon rotation */
.floating-social-btn {
  transition:
    background 0.2s ease,
    transform 0.25s ease,
    opacity 0.2s ease;
}
.floating-social.is-open .floating-social-btn {
  transform: rotate(-90deg);
}

/* Reserve space for latest creations */
#latest-creations {
  min-height: 300px;
}

/* Lock image container in latest.html */
.latest-image {
  width: 100px;
  height: 125px;
  flex-shrink: 0;
}

.collections-header {
  display: flex;
  flex-direction: column;
}

/* Instagram – halo glow */
.instagram .floating-social-btn {
  box-shadow:
    0 0 0 rgba(212, 175, 55, 0),
    0 0 0 rgba(212, 175, 55, 0);
  animation: igHalo 3.6s ease-in-out infinite;
}

/* Instagram icon glow */
.instagram svg {
  filter: drop-shadow(0 0 0 rgba(212,175,55,0));
  animation: igIconGlow 3.6s ease-in-out infinite;
}

/* Border + background pulse */
@keyframes igHalo {
  0%, 100% {
    box-shadow:
      0 0 0 rgba(212,175,55,0),
      inset 0 0 0 rgba(212,175,55,0);
  }
  50% {
    box-shadow:
      0 0 10px rgba(212,175,55,0.45),
      inset 0 0 6px rgba(212,175,55,0.25);
  }
}

/* Icon glow sync */
@keyframes igIconGlow {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(212,175,55,0));
  }
  50% {
    filter: drop-shadow(0 0 6px rgba(212,175,55,0.75));
  }
}

/* INSTAGRAM — HALO + ICON GLOW */
/* Circle glow */
.instagram .floating-social-btn {
  animation: igHalo 2.6s ease-in-out infinite;
}
/* Icon glow */
.instagram svg {
  animation: igIconGlow 2.6s ease-in-out infinite;
}

/* Outer + inner ring */
@keyframes igHalo {
  0%, 100% {
    box-shadow:
      0 0 6px rgba(212,175,55,0.35),
      inset 0 0 4px rgba(212,175,55,0.25);
  }
  50% {
    box-shadow:
      0 0 18px rgba(212,175,55,0.95),
      inset 0 0 10px rgba(212,175,55,0.45);
  }
}

/* Instagram glyph glow */
@keyframes igIconGlow {
  0%, 100% {
    filter: drop-shadow(0 0 3px rgba(212,175,55,0.6));
  }
  50% {
    filter: drop-shadow(0 0 10px rgba(212,175,55,1));
  }
}

/* Center and constrain content on mobile */
@media (max-width: 575px) {
  .latest-creation-card {
    align-items: center;
    text-align: center;
  }

  .latest-creation-card > div {
    width: 100%;
    max-width: 320px;
  }
  .addons-grid {
    grid-template-columns: 1fr;
  }
}

/* Gold line */
.section-divider {
  width: 400px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent),
    transparent
  );
  margin-top: 0px;
  margin: 25px auto; /* Set the padding between the line and the text */
}

/* VIDEO LOADER */
.latest-zoom-preview {
  position: fixed;
}
.latest-zoom-preview .video-loader {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  background: rgba(0, 0, 0, 0.18);
}
.latest-zoom-preview .video-loader::after {
  content: "";
  width: 18px;
  height: 18px;

  border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,0.35);
  border-top-color: var(--accent);
	
  box-shadow: 0 0 10px rgba(212,175,55,0.35);

  animation: videoSpin 0.8s linear infinite;
}
@keyframes videoSpin {
  to { transform: rotate(360deg); }
}

/* Spinner */
.video-loader::after {
  content: "";
  width: 16px;
  height: 16px;

  border-radius: 50%;
  border: 1.5px solid rgba(212,175,55,0.35);
  border-top-color: var(--accent);

  animation: videoSpin 0.8s linear infinite;
}

/* Limit card width on mobile */
@media (max-width: 767px) {
  .collections-grid {
    justify-items: center;
  }

  .collections-grid .card {
    max-width: 350px;
    width: 100%;
  }
}

/* Horizontal padding for mobile */
@media (max-width: 767px) {
  .collections-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Reduce card hight & alignement on mobile */
@media (max-width: 767px) {
  .collections-grid .card-body {
	display: flex;
    flex-direction: column;}
  .collections-grid .card {
	  height: auto;}
  .collections-grid .card-body .btn {
    margin-top: auto;}
}

/* REMOVE BOOTSTRAP GAP BELOW HERO */
header .row {
  margin-bottom: 0;
}

/* FLOATING MENU */

/* MENU CONTAINER */
.floating-menu {
  position: fixed;
  top: 26px;
  right: 26px;
  z-index: 9999;
}
/* MENU PANEL (CLOSED STATE) */
.floating-menu-panel {
  position: absolute;
  top: 0;
  right: 40px;

  width: 220px;
  max-width: 220px;
  padding: 14px 12px;
  padding-bottom: 14px;
	
  background: #000;
  border: 1px solid var(--accent);
  border-radius: 18px;

  box-sizing: border-box;

  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);

  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}
/* MENU PANEL (OPEN STATE) */
.floating-menu.open .floating-menu-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  display: block;
}
/* MENU LINKS — COLORS */
.floating-menu-panel a {
  color: #fff;
  text-decoration: none;
  transition: text-decoration-color 0.15s ease;
  font-size: 14px;
  letter-spacing: 0.01em;
}
.floating-menu-panel a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}
/* MENU TYPOGRAPHY */
.floating-menu-panel a,
.menu-back {
  font-family: "Canela", serif;
  font-weight: 400; /* Regular */
}

/* MENU VIEWS */
.menu-view {
  display: none;
  position: relative;
}
.menu-view.is-active {
  display: block;
}

/* ROWS */
.menu-main a,
.menu-back,
.seasonal-list a {
  height: var(--menu-row-height);
  display: flex;
  align-items: center;
  padding: 0 12px;
  line-height: 1;
}

/* BACK BUTTON */
.menu-back {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 11px;
  cursor: pointer;
}

/* SEASONAL LIST */
.seasonal-list {
  height: calc(var(--menu-row-height) * 4);
  overflow-y: auto;
  position: relative;

  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;

  padding-right: 18px;
  scrollbar-width: none;
}
.seasonal-list::-webkit-scrollbar {
  display: none;
}
.seasonal-list a {
  scroll-snap-align: start;
}

/* FLOATING MENU BUTTON */
.floating-menu-btn {
  width: 28px;
  height: 28px;

  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  color: var(--accent);

  transition:
    background 0.2s ease,
    transform 0.15s ease,
    opacity 0.2s ease;
}
.floating-menu-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
  opacity: 0.9;
}

/* MENU ICON BARS */
.menu-bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.menu-bars span {
  width: 14px;
  height: 2px;
  background: var(--accent);
  display: block;
  border-radius: 2px;
}

/* MENU BUTTON — INSTAGRAM-STYLE HALO */
.floating-menu-btn {
  box-shadow:
    0 0 6px rgba(212,175,55,0.35),
    inset 0 0 4px rgba(212,175,55,0.25);
  animation: igHalo 2.6s ease-in-out infinite;
}
.floating-menu-btn .menu-bars span {
  animation: igIconGlow 2.6s ease-in-out infinite;
}

/* Search function tweaks */
.search-more {
 font-family: "Canela", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.7;
}
.search-empty {
  padding: 14px 18px;
  text-align: left;
}
.search-empty-title {
  font-size: 13px;
  opacity: 0.7;
  margin-bottom: 6px;
}

.search-page {
  max-width: 720px;
  margin: 80px auto;
  padding: 0 20px;
}
.search-page-title {
  font-size: 28px;
  margin-bottom: 10px;
}
.search-page-query {
  opacity: 0.7;
  margin-bottom: 30px;
}
.search-page-results {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.search-page-result {
  font-size: 16px;
  text-decoration: none;
  color: var(--accent);
}
.search-page-empty {
  opacity: 0.7;
}

.search-dropdown .search-empty {
  padding: 10px 16px;   /* thinner vertically */
  min-height: unset;
}

.search-empty-title {
  line-height: 1.2;
  font-size: 12px;
}
/* ===== SCROLL INDICATOR  ===== */

.menu-view.can-scroll .seasonal-list::after {
  content: "";
  position: absolute;
  left: 0;
  right: 18px;
  bottom: 0;

  height: 16px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0),
    rgba(0,0,0,0.85)
  );

  pointer-events: none;
  z-index: 3;
}
.menu-view.can-scroll.scrolled .seasonal-list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 18px;
  top: 0;

  height: 16px;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0),
    rgba(0,0,0,0.85)
  );

  pointer-events: none;
  z-index: 3;
}

.menu-view.can-scroll .scroll-down { opacity: 1; }
.menu-view.can-scroll.scrolled .scroll-up { opacity: 1; }

.scroll-indicator {
  position: absolute;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  pointer-events: none;
}
.scroll-up {
  transform: rotate(180deg);
  top: 36px;
  opacity: 0;
}
.scroll-down {
  bottom: 10px;
  opacity: 0;
}
.scroll-indicator span {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(45deg);
  animation: scrollPulse 1.6s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}

/* Keep buttons & UI sans-cherif */
.btn,
.search-box input,
.search-result,
.menu-back {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* SOURCE SANS 3 FONT */
p,
.card-text,
.menu-main a,
.seasonal-list a,
.search-result,
.search-more,
.search-box input,
.btn,
footer,
address,
.menu-back {
  font-family: var(--font-body);
}

/* MENU BUTTON — FOCUS HANDLING */

/* Mouse / touch: NO outline */
.floating-menu-btn:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* Keyboard only: custom gold outline */
.floating-menu-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  box-shadow: none;
}

/* Remove Safari tap highlight */
.floating-menu-btn {
  -webkit-tap-highlight-color: transparent;
}


/* Show banner ONLY on available cards */
.luxury-card[data-available="true"] .availability-badge {
  display: inline-block;
}

.menus-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin: 28px 0 36px;
}

.luxury-card::before,
.luxury-card::after,
.image-wrap::before,
.image-wrap::after {
  content: none !important;
}

/* FLOATING UP BUTTON */

.floating-up {
  position: fixed;
  right: 26px;
  bottom: 140px; /* sits just under the menu button */
  z-index: 9999;
  isolation: isolate;
}

.floating-up-btn {
  width: 28px;
  height: 28px;

  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--accent);

  transition:
    background 0.2s ease,
    transform 0.15s ease,
    opacity 0.2s ease;
}

.floating-up:hover .floating-up-btn {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
  opacity: 0.9;
}

.floating-up svg {
  fill: currentColor;
  display: block;
}

/* UP button - Mobile alignement */
@media (max-width: 575px) {
  .floating-up {
    right: 18px;
    bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  }
}

/* === PRODUCT ROWS === */

.product-row {
  display: grid;
  grid-template-columns: 150px 1fr 105px 130px;
  grid-template-rows: auto auto;
  gap: 1px 10px;
  padding: 6px 0;
  align-items: stretch;
}

.product-row:last-child {
  border-bottom: none;
}

/* active slide */
.product-image img {
  pointer-events: none;
}

.product-image img.active {
  opacity: 1;
  pointer-events: auto;
}

/* Text */
.product-info h3 {
  padding-top: 13px;
  margin-bottom: 2px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.product-info p {
  margin-top: 4px;
  margin-bottom: 0;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
}

.product-info {
  grid-column: 2;
  grid-row: 1 ;
  align-self: start;
}

.product-badges {
  grid-column: 2 / 3;
  grid-row: 2;
  padding-left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  position: static; 
  align-items: center;

  width: 100%;
  align-self:center;
}

.product-badge {
  position: relative;
  display: block;
}

.product-badge img {
  width: 35px;
  height: auto;
  object-fit: contain;
  display: block;
}

.product-badges img {
  width: 35px;
  height: auto;
  object-fit: contain;

  display: block;
  flex-shrink: 0; 
}

.product-select-wrapper {
  width: 100%;
  max-width: 220px;
}

/* container */
.icon-tooltip {
  position: relative;
}

/* tooltip text */
.tooltip-text {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);

  background: #000;
  color: var(--accent);
  border: 1px solid var(--accent);

  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 10;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;

  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Action */
.product-action {
  grid-column: 4;
  grid-row: 1 / span 2;

  display: flex;
  flex-direction: column;

  justify-content: center; 
  align-items: center;

  height: 100%;

  gap: 8px;
}

.product-meta {
  margin: 0;

  padding-left: 0;
  padding-right: 0;
  padding-top: 13px;

  grid-column: 3;
  grid-row: 1 / span 2;;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  height: 100%;      

  gap: 6px;
}

.product-price {
  margin-top: 0px;
  margin-left: 0px;
  width: 100%;
  text-align: center;
  margin-bottom: 0px;
  justify-self: end;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--accent); 
  letter-spacing: 0.04em;
  align-self: start;
  transform: translateY(-13px);
}

/* Gold divider between product rows */
.product-row {
  position: relative;
  padding-bottom: 6px;
  margin-bottom: 6px;
  border: none;
  box-shadow: none;
  z-index: 0;
}

.product-row + .product-row {
  border-top: none;
}

.product-row::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);

  width: 240px;  
  height: 1px;

  background: linear-gradient(
    to right,
    transparent,
    var(--accent),
    transparent
  );
}

/* Remove divider after last item */
.product-row:last-child::after {
  display: none;
}

/* Hover / focus */
.product-row .add-to-cart:hover,
.product-row .add-to-cart:focus-visible {
  background-color: var(--accent);
  color: #000;
  box-shadow: 0 4px 10px rgba(212,175,55,0.35);
}
.product-addons {
  margin-top: 8px;
  font-size: 0.9rem;
}
.addon-group {
  margin-bottom: 6px;
}
.addon-option {
  display: block;
}

/* Customize pill */
.customize-btn {
  background: #000;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 0.75rem !important;
  border-radius: 999px;
  cursor: pointer;

  transition: all 0.25s ease;
}

/* Add-ons container */
.product-addons {
  margin-top: 16px;
  text-align: center;
  color: var(--accent);
}

/* Section titles */
.product-addons strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Horizontal layout */
.addons-boxes,
.addons-ribbons,
.addons-extras {
  display: flex;
  justify-content: center;
  gap: 1px;
  flex-wrap: wrap;
}

/* Options */
.addon-option {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  color: #ffffff;
  cursor: pointer;
}

/* Radio / checkbox alignment */
.addon-option input {
  margin-right: 6px;
}

.customize-btn:hover {
  background-color: var(--accent) !important;
  color: #000 !important;
  border-color: var(--accent) !important;
  box-shadow: none !important;
}

.addon-title {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  color: #ffffff;
  font-weight: 400;
}

.addons-boxes,
.addons-ribbons,
.addons-extras {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.addon-option {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-size: 0.85rem;
}

.product-row .add-to-cart {
  background-color: #000;
  border: 1px solid var(--accent);
  color: var(--accent);
  border-radius: 999px;

  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  white-space: nowrap;
  cursor: pointer;

  transition: all 0.25s ease;
}

.product-row .add-to-cart:hover {
  background-color: var(--accent);
  color: #000;
  box-shadow: 0 6px 14px rgba(212,175,55,0.35);
}

.product-row .add-to-cart:active {
  box-shadow: none;
}

.addons-wrapper {
  margin-top: 18px;
  width: 100%;
  grid-column: 1 / -1;
  position: relative;
  z-index: 5;
  overflow: visible;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 16px;
  justify-items: stretch;
  align-items: start;
  padding-bottom: 6px;
  overflow: visible;
}

/* Column titles */
.addon-title {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 400;
}

/* Options stacked vertically INSIDE each column */
.addons-boxes,
.addons-ribbons,
.addons-extras {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Option look */
.addon-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #ffffff;
  font-size: 0.85rem;
}

/* ===== Add-ons alignment ===== */

/* Center the column title */
.addon-column .addon-title {
  text-align: center;
  width: 100%;
}

/* Left-align the options container */
.addon-column .addons-boxes,
.addon-column .addons-ribbons,
.addon-column .addons-extras {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Left-align each option */
.addon-column .addon-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  width: 100%;
}

/* Cart styling */

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;

  width: 320px;
  max-width: 92vw;
  height: 100vh;
  border-left: 1px var(--accent);
  background: #000;

  padding: 28px 18px;

  transform: translateX(100%);
  opacity: 0;

  transition:
    transform 0.45s cubic-bezier(.22,.61,.36,1),
    opacity 0.35s ease;

  z-index: 99999;

  overflow-y: auto;

  box-shadow:
    -40px 0 80px rgba(0,0,0,0.85);
	
  scroll-behavior: smooth;
}

.cart-panel::-webkit-scrollbar {
  width: 6px;
}

.cart-panel::-webkit-scrollbar-thumb {
  background: rgba(212,175,55,0.35);
  border-radius: 999px;
}

.cart-panel.open {
  transform: translateX(0);
  opacity: 1;
}

.cart-header {
  display: flex;
  grid-template-columns: 1fr auto;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;

  margin-bottom: 18px;
  padding-bottom: 18px;

  border-bottom: 1px solid rgba(212,175,55,0.25);
}

.cart-header h3 {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.08em;
  font-weight: 400;
  color: var(--accent);
  margin: 0;
  width: 100%;
  text-align: center;
}

.cart-header h2 {
  text-align: center;
  margin: 0;
  grid-column: 1 / -1;
}

.cart-item-addons {
  text-align: right;
  font-size: 0.8rem;
  color: var(--accent);
}

.cart-close {
  position: absolute;
  right: 16px;
  top: 16px;
  transform: translateY(-50%);

  width: 24px; 
  height: 24px ;

  border-radius: 50%;
  border: 1px solid var(--accent);

  background: #000;
	
  font-size: 14px;
  font-weight: 400;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  padding: 0;
  margin: 0;

  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;
}

/* hover effect matches other floating icons */
.cart-close:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-50%) scale(1.05);
}

/* active click */
.cart-close:active {
  transform: translateY(-50%) scale(0.95);
}

.cart-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -6px;

  min-width: 16px;
  height: 16px;
  padding: 0 4px;

  background: var(--accent);
  color: #000;

  font-size: 10px;
  font-weight: 600;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: scale(0);
  transition: transform 0.2s ease;
  pointer-events: none;
}

.cart-badge.show {
  transform: scale(1);
}

.cart-item {
  padding: 10px 0;
  position: relative;
}

.cart-item strong {
  font-weight: 500;
  letter-spacing: 0.05em;
}

.cart-item::after {
  content: "";
  display: block;
  margin: 18px auto 0;
  width: 240px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
}

.cart-item p {
  margin: 2px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.85);
}

.cart-line-left {
  display: flex;
  align-items: center;
  gap: 5px;
}

.cart-line {
  display: flex;
  justify-content: space-between;
}

.cart-line > *:last-child {
  color: var(--accent) !important;
  font-size: 0.95rem !important;
}
.remove-item {
  margin-top: 6px;

  background: transparent;
  border: 1px solid rgba(212,175,55,0.35);

  color: var(--accent);

  font-size: 11px;
  letter-spacing: 0.12em;

  padding: 3px 10px;
  border-radius: 999px;

  cursor: pointer;

  transition: all 0.2s ease;
}

.remove-item:hover {
  background: var(--accent);
  color: #000;
}

.cart-footer {
  margin-top: 6px;
  padding-top: 8px;

  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-align: right;
}

.cart-total-main {
  font-size: 20px;
  color: var(--accent);
}

.cart-total-vat {
  font-size: 12px;
  color: #aaa;
}

.cart-checkout-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.cart-empty {
  text-align: center;
  padding: 40px 10px;

  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.12em;

  color: rgba(212,175,55,0.7);
}

.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-line-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.cart-qty button {
  width: 20px;
  height: 20px;

  border-radius: 50%;
  border: 1px solid var(--accent);

  background: transparent;
  color: var(--accent);

  cursor: pointer;
}

.cart-qty button:hover {
  background: var(--accent);
  color: #000;
}

.cart-qty span {
  font-size: 12px;
  min-width: 16px;
  text-align: center;
  color: #aaa;
}

.cart-checkout-btn {

  width: 100%;
  margin-top: 28px;

  padding: 16px 0;

  border-radius: 999px;

  border: 1px solid var(--accent);

  background: transparent;
  color: var(--accent);

  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition:
    background 0.35s cubic-bezier(.22,.61,.36,1),
    color 0.35s cubic-bezier(.22,.61,.36,1),
    transform 0.25s cubic-bezier(.22,.61,.36,1),
    box-shadow 0.35s cubic-bezier(.22,.61,.36,1);
}

.cart-checkout-btn:hover {

  background: var(--accent);
  color: #000;

  transform: translateY(-2px);

  box-shadow:
    0 12px 34px rgba(212,175,55,0.35);

}

.cart-checkout-btn:active {

  transform: translateY(0);

  box-shadow: none;

}

/* Trash button container */
.cart-trash {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 20px;

  margin-left: 6px;
  margin-top: 8px;
  padding: 0;

  background: transparent;
  border: none;

  cursor: pointer;
}

/* SVG icon */
.cart-trash-icon {
  width: 16px;
  height: 16px;
	
  display: block;

  color: var(--accent);

  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}

/* Hover — icon turns black */
.cart-trash:hover .cart-trash-icon {
  color: #000;
  transform: scale(1.1);
}

/* Click effect */
.cart-trash:active .cart-trash-icon {
  transform: scale(0.9);
}

.qty-minus,
.qty-plus {
  width: 26px;
  height: 26px;

  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 14px;
  line-height: 1;

  padding: 0;
}


.cart-item:first-child {
  border-top: none;
}

.cart-item:last-child {
  border-bottom: none;
  padding-bottom: 6px;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: 0.06em;
}

.cart-total-vat {
  font-size: 12px;
  opacity: 0.7;
  color: #fff;
}

.cart-total-grand {
  margin-top: 10px;
  font-size: 14px;
  color: var(--accent);
}

.cart-backdrop {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.45);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.35s ease;

  z-index: 99998;
}

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

.cart-item {
  opacity: 1;
  transform: none;
  border: none !important;
  box-shadow: none !important;
  animation: none;
}

.cart-item::before {
  display: none !important;
}

.cart-item hr {
  display: none !important;
}

.cart-item:nth-child(1) { animation-delay: 0.05s; }
.cart-item:nth-child(2) { animation-delay: 0.09s; }
.cart-item:nth-child(3) { animation-delay: 0.13s; }
.cart-item:nth-child(4) { animation-delay: 0.17s; }

@keyframes cartItemFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Cart Badge Pop Animation */
@keyframes cartPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.25); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.cart-badge.animate {
  animation: cartPop 0.35s ease;
}

.product-action .add-to-cart:hover {
  background-color: var(--accent) !important;
  color: #000 !important;
  border-color: var(--accent) !important;
}

/* Close button container */
.cart-close {
  position: absolute;
  top: 8px;
  right: 8px;

  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Black circular button */
.cart-close-circle {
  width: 20px;
  height: 20px;

  border-radius: 50%;
  background: #000;
  border: 1px solid var(--accent);

  display: flex;
  align-items: center;
  justify-content: center;

  transition: background 0.2s ease, transform 0.15s ease;
}

/* Gold X */
.cart-close-x {
  color: var(--accent);
  font-size: 16px;
  line-height: 1;
}

/* Hover effect */
.cart-close:hover .cart-close-circle {
  background:  var(--accent);
  transform: scale(1.05);
}

.cart-close:hover .cart-close-x {
  color: #000;
}

/* Input base */
.cart-customer input {
  border: 1px solid rgba(212,175,55,0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Valid */
.cart-customer input.valid {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(212,175,55,0.25);
}

/* Invalid */
.cart-customer input.invalid {
  border-color: #ff4d4d;
  box-shadow: 0 0 0 1px rgba(255,77,77,0.25);
}

/* =========================================
   ACCESSIBLE FOCUS — CART DRAWER
   ========================================= */

#checkout-btn:focus-visible,
.cart-close:focus-visible,
.qty-minus:focus-visible,
.qty-plus:focus-visible,
.cart-trash:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: none;
}

/* Keep mouse/touch appearance clean */
#checkout-btn:focus:not(:focus-visible),
.cart-close:focus:not(:focus-visible),
.qty-minus:focus:not(:focus-visible),
.qty-plus:focus:not(:focus-visible),
.cart-trash:focus:not(:focus-visible) {
  outline: none;
}

/* Prevent tap highlight on mobile */
#checkout-btn,
.cart-close,
.qty-minus,
.qty-plus,
.cart-trash {
  -webkit-tap-highlight-color: transparent;
}

/* CUSTOMER INPUTS */
.cart-customer {
  margin: 18px 0 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-input {
  width: 100%;
  height: 36px;
  background: #000;
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 999px;
  padding: 0 14px;
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}
.cart-input:focus {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.4),
    0 0 8px rgba(212,175,55,0.25);
}
.cart-input::placeholder {
  color: rgba(255,255,255,0.45);
}
.cart-success {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(40,180,99,0.12);
  border: 1px solid rgba(40,180,99,0.45);
  border-radius: 10px;
  color: #2ecc71;
  font-size: 13px;
  text-align: center;
  animation: fadeSlideUp 0.35s ease;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Remove default blue focus */
#searchToggle:focus {
  outline: none;
  box-shadow: none;
}

/* Keep accessible focus for keyboard only */
#searchToggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ===== ADD TO CART STYLING ===== */
.latest-add-to-cart {
  background: none;
  border: none;
  padding: 0;

  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: var(--accent);
  cursor: pointer;
}

.latest-add-to-cart:hover {
  opacity: 0.7;
}

/* =========================
   Cart state visibility
   ========================= */

.cart-hidden {
  display: none !important;
}

.nutrition-icon{
  display: flex;
  justify-content:center;
  align-items:center;

  width:20px;
  height:20px;
  min-width: 20px;
  min-height: 20px;

  border-radius:50%;
  border:1.5px solid var(--accent);

  color:var(--accent);

  font-family: Arial, Helvetica, sans-serif;
  font-weight:700;
  font-size:13px;

  cursor:pointer;
  flex-shrink: 0;
  transition:all .2s ease;
}

.nutrition-icon:hover{
  background:var(--accent);
  color:#000;
}

.nutrition-icon.hidden{
  display:none;
}

.nutrition-overlay{

  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;

  background:rgba(0,0,0,0.6);

  display:flex;
  justify-content:center;
  align-items:center;

  opacity:0;
  visibility:hidden;

  transition:opacity .3s ease;

  z-index:9999;
}

.nutrition-overlay.active{
  opacity:1;
  visibility:visible;
}

.nutrition-card{

  background:#111;
  color:white;

  padding:25px;
  border-radius:10px;

  max-width:320px;
  width:90%;

  border:1px solid var(--accent);

  transform:translateY(20px);
  transition:transform .3s ease;
}

.nutrition-overlay.active .nutrition-card{
  transform:translateY(0);
}

.nutrition-close{

  position:absolute;
  top:10px;
  right:15px;

  cursor:pointer;

  font-size:20px;
  color:var(--accent);
}

.product-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.nutrition-card h3{
  font-size:20px;
  margin-bottom:15px;
}

.nutrition-card ul li{
  font-size:12px;
}

/* =========================
   PRODUCT ROW – 5 ZONES
   ========================= */

.product-image {
  aspect-ratio: 4 / 5; 
  width: 150px;
  align-self: start;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  grid-column: 1;
  grid-row: 1 / span 2;
  flex-shrink: 0;
  z-index: 1;
}

.product-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.product-info h3 {
  margin: 0;
  font-size: 1.2rem;
}

.product-info p {
  margin: 6px 0 0;
  font-size: 0.9rem;
  opacity: 0.75;
}

.product-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nutrition-icon {
  width: 26px;
  height: 26px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
}


.product-icons {
  grid-column: 4;
  grid-row: 1 / span 2;
  width: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  align-self: center;
  gap: 6px;
}

.diet-icon-img {
  width: 26px;
  height: 26px;
  object-fit: cover;
  display: block;
filter: brightness(0) saturate(100%) invert(77%) sepia(33%) saturate(600%) hue-rotate(5deg);
}

/* small arrow */
.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);

  border-width: 5px;
  border-style: solid;
  border-color: var(--accent) transparent transparent transparent;
}

/* show on hover */
.icon-tooltip:hover .tooltip-text {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 991px) {
	.addons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
	
  .custom-select {
    min-width: 0;
  }
	
  .product-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: center;
    align-items: start;
  }
  .product-image {
    grid-column: 1;
    grid-row: 1;

    width: 100%;
    max-width: 220px;
    aspect-ratio: 4 / 5;

    margin: 0 auto;
    overflow: hidden;
  }
  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .product-info {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
  }
  .product-meta {
    grid-column: 1;
    grid-row: 3;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: auto;
  }
  .product-price {
    margin: 0;
    text-align: center;
    transform: none !important;
  }
  .product-row .info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 4px;
  }
  .product-action {
    grid-column: 1;
    grid-row: 4;

    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;

    margin-bottom: 12px;
  }
  .product-badges {
    grid-column: 1;
    grid-row: 5;

    display: flex;
    justify-content: center;
    gap: 14px;

    padding-left: 0;
    margin-bottom: 16px;
  }
  .product-icons {
    grid-column: 1;
    grid-row: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
  }
}

.icon-circle {
  width: 28px;
  height: 28px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

/* "i" styling */
.nutrition-icon {
  font-size: 14px;
  line-height: 1;
  transform: translateY(-0.5px);
}


/* GF image inside circle */
.icon-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
transform: translateX(5px);
}

.nutrition-icon,
.icon-tooltip, .icon-circle {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 5px;
}

.image-dots span {
  width: 5px;
  height: 5px;

  border-radius: 50%;
  background: rgba(255,255,255,0.4);

  transition: all 0.3s ease;
}

.image-dots span.active {
  background: var(--accent);
  transform: scale(1.2);
}


.product-image {
  position: relative;
}

.addon-column {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  overflow: visible;
}

.addon-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.addons-grid select {
  width: 100%;
  min-width: 0; 
  padding: 8px 12px;
  background: #000;
  color: #fff;
  border: 1px solid var(--accent);
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  appearance: none; 
  -webkit-appearance: none;
}

.addons-grid select option {
  color: #000;
}

.toggle-switch {
  position: relative;
  width: 32px;
  height: 16px;  
}

.slider {
  border-radius: 999px;
}

/* circle */
.slider::before {
  width: 10px;
  height: 10px;
  left: 3px;
  top: 3px;
}

/* =========================
   TOGGLE SWITCH (EXTRAS)
   ========================= */

.toggles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.toggle-label {
  color: rgba(212,175,55,0.7);
  font-size: 14px;
}

/* SWITCH */
.toggle-switch {
  position: relative;
  width: 38px;
  height: 20px;
}

.toggle-switch input {
  display: none;
}

.slider {
  position: absolute;
  inset: 0;
  background: #333;
  border-radius: 999px;
  border: 1px solid var(--accent);
  transition: 0.3s;
}

/* circle */
.slider::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 3px;
  top: 2px;
  background: var(--accent);
  border-radius: 50%;
  transition: 0.3s;
}

/* ACTIVE */
.toggle-switch input:checked + .slider {
  background: var(--accent);
}

.toggle-switch input:checked + .slider::before {
  transform: translateX(14px);
  background: #000;
}

/* active text */
.toggle-switch input:checked ~ .toggle-label {
  color: var(--accent);
}

.card-message-input {
  width: 100%;
  min-height: 70px;
  letter-spacing: 0.02em;
  background: #000;
  color: var(--accent);

  border: 1px solid var(--accent);
  border-radius: 6px;

  padding: 10px 12px;

  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;

  resize: vertical;

  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* placeholder */
.card-message-input::placeholder {
  color: rgba(212,175,55,0.5);
}

/* focus */
.card-message-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 6px rgba(212,175,55,0.3);
}

.card-message-wrapper {
  width: 100%;
  margin-top: 3px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.35s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.card-message-wrapper.active {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}

.addons-extras {
  width: 100%;
}

.cart-addon {
  margin-bottom: 4px;
  padding-left: 2px;
}

.addon-title {
  font-size: 13px;
}

.addon-message {
  font-size: 12.5px;
  color: rgba(255,255,255,0.75);
  margin-left: 10px;
  font-style: italic;
  line-height: 1.4;
}

.addons-extras {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.addons-extras label {
  display: flex;
  align-items: center;
  margin: 0;
}

/* ==================GLOBAL ADD TO CART BUTTON ========================= */

.btn.add-to-cart {
  background-color: #000 !important;
  border: 1px solid var(--accent) !important;
  color: var(--accent) !important;

  padding: 6px 16px !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.14em;

  border-radius: 999px !important;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  width: auto !important;
  height: auto !important;

  white-space: nowrap;
  line-height: 1;
}
.btn.add-to-cart:hover {
  background-color: var(--accent) !important;
  color: #000 !important;
  box-shadow: 0 6px 14px rgba(212,175,55,0.35);
}

/* ================== / GLOBAL ADD TO CART BUTTON ========================= */

.latest-text {
  display: flex;
  flex-direction: column;
}
.latest-text .add-to-cart {
  margin-top: 10px;
  align-self: flex-start;
}

/* ===== =================== SEARCH RESULTS ================================= ===== */
/* Base highlight */
.search-result b {
  position: relative;
  font-weight: 600;
  color: var(--accent);
  z-index: 1;
  overflow: hidden;
}
/* gold sweep layer */
.search-result b::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(212,175,55,0.15) 40%,
    rgba(212,175,55,0.45) 50%,
    rgba(212,175,55,0.15) 60%,
    transparent 100%
  );
  opacity: 0;
  pointer-events: none;
}
/* Dropdown entrance animation */
.search-dropdown {
  transform: translateY(-8px);
  opacity: 0;
  transition:all 0.25s ease;
}
/* When visible */
.search-dropdown[style*="flex"] {
  transform: translateY(0);
  opacity: 1;
}
/* animation */
@keyframes goldSweep {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}
.search-result b::after {
  animation: none; /* default OFF */
}
.search-result.animate b::after {
  animation: goldSweep 0.9s ease forwards;
}
.search-result b {
  opacity: 0;
  animation: fadeInHighlight 0.4s ease forwards;
}
@keyframes fadeInHighlight {
  to {
    opacity: 1;
  }
}
.search-dropdown.open {
  transform: translateY(0);
  opacity: 1;
}
.search-suggest-inline {
  padding: 8px 12px;
  font-size: 13px;
  color: #aaa;
}
.search-suggest-inline span {
  color: var(--accent);
  cursor: pointer;
}
.search-result.active {
  background: rgba(255, 215, 0, 0.08);
	border-radius: 8px;
}
/* === SEARCH ACTIVE STATE (KEYBOARD NAV) === */
.search-result.active {
  background: rgba(212, 175, 55, 0.12);
  border-radius: 10px;
}
.search-dropdown .search-result.active {
  background: rgba(212, 175, 55, 0.75) !important;
  box-shadow: 0 0 0 1px rgba(212,175,55,0.4);
}
.search-dropdown .search-result:hover {
  background: rgba(212, 175, 55, 0.58);
}

/* ===== =================== / SEARCH RESULTS ================================= ===== */


/* ===== MESSAGE CARD TEXTAREA ===== */
.card-message-wrapper textarea {
  width: 100%;
  max-width: 260px;
  min-height: 70px;

  background: #000;
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  padding: 10px 12px;

  color: var(--accent);
  font-family: var(--font-body);
  font-size: 12px;

  resize: none;

  transition: border 0.2s ease, box-shadow 0.2s ease;
}

/* Focus */
.card-message-wrapper textarea:focus {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.4),
    0 0 10px rgba(212,175,55,0.2);
}

/* Placeholder */
.card-message-wrapper textarea::placeholder {
  color: rgba(255,255,255,0.4);
  font-style: italic;
}

.search-group-title {
  font-size: 11px;
  opacity: 0.6;
  padding: 6px 10px;
  text-transform: uppercase;
}

.search-category {
  font-weight: 600;
}

.fade-in {
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  animation: fadeInUp 0.45s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== =================== LOAD MORE BUTTON ================================= ===== */
.load-more {
  opacity: 0;
  pointer-events: none;
  height: 1px;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 999px;

  padding: 6px 14px;
  font-size: 0.85rem;
  letter-spacing: 1px;

  cursor: pointer;
  transition: all 0.3s ease;
}

.load-more:hover {
  background: var(--accent);
  color: #000;
}

.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

#load-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.2);
}

.results-counter {
  text-align: center;
  margin-bottom: 20px;
  font-size: 13px;
  opacity: 0.7;
}

.load-more-wrapper {
  margin-top: 40px;
}

/* ===== =================== /LOAD MORE BUTTON ================================= ===== */

/* ===== =================== STARS ================================= ===== */
.stars-lux {
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--accent);
  white-space: nowrap;
}

.stars-lux span {
  display: inline-block;
  animation: starGlow 3s ease-in-out infinite;

  transform: translateZ(0);
  backface-visibility: hidden;
}

/* stagger timing for natural effect */
.stars-lux span:nth-child(1) { animation-delay: 0s; }
.stars-lux span:nth-child(2) { animation-delay: 0.4s; }
.stars-lux span:nth-child(3) { animation-delay: 0.8s; }
.stars-lux span:nth-child(4) { animation-delay: 1.2s; }
.stars-lux span:nth-child(5) { animation-delay: 1.6s; }

@keyframes starGlow {
  0%, 100% {
    text-shadow:
      0 0 4px rgba(212,175,55,0.4),
      0 0 8px rgba(212,175,55,0.3);
  }
  50% {
    text-shadow:
      0 0 14px rgba(212,175,55,1),
      0 0 28px rgba(212,175,55,0.8);
  }
}

.stars-lux span {
  display: inline-block;
  animation: starGlow 3s ease-in-out infinite;
  will-change: text-shadow;
}
/* ===== =================== /STARS ================================= ===== */

/* ===== Text styling ===== */
.reviews-text {
  font-size: 13px;
  margin-left: 6px;
  opacity: 0.9;
  letter-spacing: 0.3px;
}

/* ===== Hover refinement ===== */
.reviews-line:hover .stars-lux {
  animation-duration: 1.8s;
}

/* smoother overall feel */
.reviews-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.product-action .add-to-cart,
.product-action .customize-btn {

  width: 130px !important;
  height: 36px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 0 !important;
  margin: 0 !important;

  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;

  border-radius: 999px;
  white-space: nowrap;
}

.menu-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  width: auto;
}

.tooltip-link {
  font-size: 0.65rem;
  margin-top: 3px;
  display: block;
}

.tooltip-link a {
  color: var(--accent);
  text-decoration: none;
  opacity: 0.8;
}

.tooltip-link a:hover {
  opacity: 1;
  text-decoration: underline;
}

.product-row.filtered-out {
  display: none !important;
}

.filter-reset {
  display: flex;
  align-items: center;
}

#reset-filters {
  font-size: 0.8rem;
  color: var(--accent);
  cursor: pointer;
  opacity: 0.8;
  white-space: nowrap;
}

#reset-filters:hover {
  opacity: 1;
  text-decoration: underline;
}

.filter-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.85rem;
  color: var(--accent);
  cursor: pointer;
  opacity: 0.8;
}

.filter-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.filters-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.menu-filters {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.filters-toggle {
  display: flex;
  justify-content: flex-end;
  padding-right: 5px; 
}

#toggle-filters {
  font-size: 0.75rem;
  color: var(--accent);
  cursor: pointer;
  opacity: 0.8;
}

#toggle-filters:hover {
  opacity: 1;
  text-decoration: underline;
}

#results-count {
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

/* hide native select */
.hidden-select {
  display: none !important;
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;

  width: 0 !important;
  height: 0 !important;

  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;

  appearance: none !important;
  background: transparent !important;
}

select.filter-select {
  all: unset !important;
}

/* wrapper */
.custom-select-wrapper {
  position: relative;
  display: block;
  flex: 0 0 20px;
}

.custom-select-wrapper select {
  all: unset;
}

.menu-filters .custom-select,
.menu-filters .custom-select * {
  background-color: #000 !important;
}
/* main */
.custom-select {
  position: relative;
  display: inline-block;
  width: 100%;
  min-width: 180px;
  cursor: pointer;
  background: transparent;
  border: none ;
  box-shadow: none; 
}

.menu-filters select {
  appearance: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* button */
.custom-trigger {
  height: 36px;
  display: flex;
  align-items: center;
  width: 100%;
  justify-content:  space-between;

  border: 1px solid var(--accent);
  border-radius: 999px;
  box-sizing: border-box;

  padding: 6px 18px;
  padding-right: 36px;

  color: var(--accent);
  font-size: 0.85rem;

  background: transparent;

  position: relative;
  cursor: pointer;
}

.custom-trigger::after {
  content: "";
  position: absolute;

  right: 14px;
  top: 50%;
  transform: translateY(-50%);

  width: 0;
  height: 0;

  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--accent);

  pointer-events: none;
}

.custom-select.open .custom-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

/* dropdown */
.custom-options {
  background: #000;
  border: 1px solid var(--accent);
  border-radius: 10px;
  max-height: 180px;
  overflow-y: auto;

  pointer-events: auto !important;
  z-index: 999999;
}


.product-image,
.product-card,
.product-row {
  position: relative;
  z-index: 1;
}

/* items */
.custom-options div {
  background: #000;
  color: var(--accent);
  padding: 8px 12px;
  color: var(--accent);
  font-size: 0.85rem;
}

/* hover */
.custom-options div:hover {
  background-color: var(--accent) !important;
  background: var(--accent);
  color: #000;
}

.custom-select-trigger {
  background: transparent !important;
  border: 1px solid var(--accent) !important;
  border-radius: 999px;
}

#products-container > .load-more {
  display: block !important;
  margin: 40px auto !important;
  text-align: center;
}

/* ========================= BESTSELLERS CAROUSEL ========================= */
.bestsellers-carousel {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;

  scroll-snap-type: x mandatory;
}
/* hide scrollbar */
.bestsellers-carousel::-webkit-scrollbar {
  display: none;
}
/* CARD SIZE */
.bestseller-card {
  flex: 0 0 auto;
  width: clamp(100px, 40vw, 140px);
  cursor: pointer;
}
/* bestseller title */
#bestsellers-section .section-title {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  opacity: 1;
}
.bestseller-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
}
.bestseller-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Product name under bestseller carousel */
#bestsellers-section .fade-caption h4 {
  margin-top: 6px;
  font-size: 10px;
  text-align: center;
  opacity: 0.85;
}
.bestseller-card:hover img {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}
.fade-slider {
  position: relative;
  width: 100%;
  width: 100%;
  max-width: clamp(90px, 26vw, 180px);
  aspect-ratio: 4 / 5;
  margin: 0 auto;
  height: auto;
}

.dual-slider-section > div {
  min-width: 0;
}

@media (max-width: 575px) {
  .badge {
    left: -20px;
    width: 100px;
    font-size: 0.55rem;
  }
}
/* slides stacked */
.fade-slide {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  position: absolute;
  width: 100%;
  height: 100%;
}
/* active */
.fade-slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 2;
}
.fade-slide img {
  transition: transform 6s ease-in-out;
}
.fade-slide.active img {
  transform: scale(1.05);
}
/* image */
.fade-image {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  max-width: 100%;
}
.fade-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* caption */
.fade-caption {
  margin-top: 10px;
  text-align: center;
}
.dual-slider-section > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.fade-slider-block {
  width: 100%;
  text-align: center;
  gap: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ========================= FEATURED CAROUSEL ========================= */
/* Featured title */
#featured-slider .section-title {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  opacity: 1;
}
/* Featured product name */
#featured-slider .fade-caption h4 {
  margin-top: 6px;
  font-size: 10px;
  text-align: center;
  opacity: 0.85;
}

/* ========================= BESTSELLER OVERLAY========================= */
.bestseller-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 32px;
}
.bestseller-image img,
.feature-image img,
.latest-image img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;
  transition: opacity 0.8s ease;
}

.bestseller-image img.active,
.feature-image img.active,
.latest-image img.active {
  opacity: 1;
}
.bestseller-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.2),
    transparent
  );
  text-align: center;
}
.bestseller-overlay h4 {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  padding: 0px 5px;
}
.bestseller-top {
  position: absolute;
  top: 10px;
  left: 12px;

  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  padding: 6px 10px;

  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);

  border-radius: 999px;

  color: #fff;
}

/* ========================= FEATURED OVERLAY ========================= */
.feature-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 32px;
}
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.feature-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 14px;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.2),
    transparent
  );
  text-align: center;
}
.feature-overlay h4 {
  margin: 0;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  padding: 0px 5px;
}
.feature-top {
  position: absolute;
  top: 10px;
  left: 12px;

  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  padding: 6px 10px;

  background:var(--accent);
  backdrop-filter: blur(4px);

  border-radius: 999px;

  color: #fff;
}

/* ========================= QUICK VIEW CAROUSELS========================= */
#quick-view-modal {
  position: fixed;
  overflow: hidden;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  z-index: 99999;
}
#quick-view-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}
#quick-name {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
#quick-description {
  font-size: 0.95rem;
  opacity: 0.75;
  margin-bottom: 20px;
}
.quick-view-content {
  position: relative;
  background: #000;
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 24px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: visible;
}
.quick-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 32px;
  align-items: center;
  overflow: visible;
}
.quick-image-wrap {
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}
.quick-image-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.quick-close {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 34px;
  height: 34px;

  border-radius: 50%;

  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(212,175,55,0.5);
  backdrop-filter: blur(6px);
  color: var(--accent);
  font-size: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  z-index: 5;
  transition: all 0.25s ease;
}
.quick-close:hover {
  background: var(--accent);
  color: #000;
  transform: scale(1.1);
}
.quick-info {
  max-width: 420px;
  display: flex;
  flex-direction: column;
}
#quick-view-modal .addons-grid {
  margin-bottom: 20px;
  gap: 12px;
  grid-template-columns: repeat(3, max-content);
}
#quick-view-modal select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: var(--accent);
  border: none;
  border-bottom: 1px solid rgba(212,175,55,0.4);
  padding: 6px 0;
  font-size: 0.9rem;
  cursor: pointer;
}
#quick-view-modal select {

  background-image: url("data:image/svg+xml;utf8,<svg fill='%23d4af37' height='10' viewBox='0 0 20 20'><path d='M5 7l5 5 5-5'/></svg>");

  background-repeat: no-repeat;

  background-position: right 0 center;

  background-size: 12px;

}
#quick-view-modal .addon-column {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#quick-view-modal .quick-info,
#quick-view-modal .addons-wrapper,
#quick-view-modal .addons-grid,
#quick-view-modal .addon-column {
  overflow: visible !important;
}

.quick-price {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 16px;
}
.quick-actions {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: auto;
}
.quantity-selector {
  display: flex !important;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 999px;
  padding: 6px 12px;
  min-width: 90px;
  justify-content: space-between;
}
.qty-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 16px;
  cursor: pointer;
}
#quick-qty {
  min-width: 18px;
  text-align: center;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
.quick-actions .btn-primary {
  width: auto !important;
  display: inline-flex;
  flex-shrink: 0;
}
.qv-select {
  position: relative;
  display: inline-block;
  width: auto;
  max-width: 100%;
  min-width: 0;
}

.qv-selected {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: auto;
  height: 34px;
  max-width: 100%;
  white-space: nowrap;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 5px 14px;
  padding-right: 28px;
  color: var(--accent);
  font-size: 0.82rem;
  background: transparent;
  position: relative;
  cursor: pointer;
  letter-spacing: 0.3px;
}
.qv-selected::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--accent);
}

.qv-options {
  position: absolute;
  top: auto;
  bottom: auto;
  left: 0;

  background: #000;
  border: 1px solid var(--accent);
  border-radius: 10px;

  max-height: 180px;
  overflow-y: auto;

  z-index: 10000;

  opacity: 0;
  transform: translateY(-6px);

  transition: all 0.18s ease;
  pointer-events: none;
  white-space: nowrap;
}

.qv-option {
  background: #000;
  color: var(--accent);
  padding: 8px 12px;
  font-size: 0.85rem;
}

.qv-option:hover {
  background: var(--accent);
  color: #000;
}

.qv-options.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (max-width: 767px) {
  .quick-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .quick-image-wrap {
    max-width: 200px;
    margin: 0 auto;
  }
  .quick-view-content {
    text-align: center;
  }
  .quick-info {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  #quick-name,
  #quick-description {
    text-align: center;
	width: 100%;
    display: block;
  }
  #quick-price {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    margin: 0 auto;
  }
  #quick-view-modal .addons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
  }
  #quick-view-modal .qv-select {
  width: auto;
  white-space: nowrap;
}
  #quick-view-modal .addon-column {
  width: auto;
}
  .qv-select {
    width: auto;
  }
  .quick-actions {
    justify-content: center;
  }
  .quantity-selector {
    justify-content: center;
  }	
}

/* ========================= CAROUSEL BADGES ============================== */
.badge {
  position: absolute;
  top: 18px;
  left: -35px;
  width: 140px;
  text-align: center;
  padding: 6px 0;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-body);
  transform: rotate(-45deg);
  z-index: 3;
  box-shadow:
    0 6px 16px rgba(0,0,0,0.5);
}
/* MOST ORDERED */
.badge-bestseller {
  background: rgba(0,0,0,0.55);
  color: #fff;

  border: 1px solid rgba(255,255,255,0.2);

  box-shadow:
    0 6px 16px rgba(0,0,0,0.6),
    inset 0 0 0.5px rgba(255,255,255,0.25);
}
/* FEATURED */
.badge-featured {
  background: linear-gradient(
    135deg,
    #d4af37 0%,
    #f5d76e 50%,
    #c9a227 100%
  );

  color: #000;

  box-shadow:
    0 6px 16px rgba(212,175,55,0.35),
    inset 0 0 0.5px rgba(255,255,255,0.6);
}

#quick-price {
  display: flex;
  align-items: center;
  gap: 2px;
  line-height: 1;
  min-width: 60px;
}

.digit {
  overflow: hidden;
  height: 1.2em;
  display: inline-flex;
  align-items: center;
}

.digit-inner {
  display: inline-block;
  transform: translateY(0);
  transition: transform 0.3s ease;
  line-height: 1;
}

.digit-inner.roll {
  transform: translateY(-100%);
}