/* ── root.css ── */
/* ==========================================================================
   ROOT.CSS — single source of truth for all CSS custom properties
   Load this before any other stylesheet.
   ========================================================================== */

/* -------------------------------------------------
   DEFAULT = LIGHT THEME
   ------------------------------------------------- */
:root {
  /* FONTS */
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;

  /* DESIGN TOKENS */
  --accent: #1a1a1a;
  --accent-light: #f5f5f3;
  --on-accent: #fff;
  --surface: #ffffff;
  --bg: #f8f7f5;
  --border: rgba(0, 0, 0, 0.09);
  --border-strong: rgba(0, 0, 0, 0.18);
  --text: #1a1a1a;
  --text-muted: #666;
  --text-faint: #999;
  --surface: #ffffff;
  
  /* PALETTE */
  --red: #c0392b;
  --green: #27ae60;
  --amber: #b8730a;
  --amber-bg: #fff8ec;
  --amber-border: #e8c46a;
  --deal-bg: #edfaf4;
  --deal-border: #6ecf9d;
  --deal-text: #1a7a4a;
  --accent-hover: #333;

  /* CHECKOUT — warm parchment palette */
  --co-surface: #f9f6f1;
  --co-border: #e8e0d4;
  --co-border-inner: #ede6da;
  --co-border-alt: #e4dbd0;
  --co-accent: #8b6f47;
  --co-logged-bg: #f0f7f0;
  --co-logged-border: #c8dfc8;
  --co-logged-text: #2a5a2a;

  /* RADIUS */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;

  /* MOTION */
  --transition: 0.18s ease;

  /* SHADOWS */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.09);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 14px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.1);

  /* PAGE */
  --body-background: #ffffff;

  /* NAV */
  --nav-h: 64px;
  --nav-bg: #ffffff;
  --nav-text: #1a1a1a;
  --nav-text-muted: #555;
  --nav-text-scrolled: #000;
  --nav-bg-scrolled: transparent;
  --dropdown-background: rgba(255, 255, 255, 0.95);
  --dropdown-text: #111;
  --hamburger-background: #111;

  /* TYPOGRAPHY */
  --heading-color: #1a1a1a;
  --body-text: #333333;

  /* FOOTER */
  --footer-text: #111;
  --footer-subtext: #201e1e;
  --footer-link: #111;

  /* LINKS */
  --link-color: #4338ca;

}

/* -------------------------------------------------
   SYSTEM DARK MODE (only when no manual override)
   ------------------------------------------------- */
@media (prefers-color-scheme: dark) {
  body:not(.light-theme) {
    /* DESIGN TOKENS */
    --accent: #e0e0e0;
    --accent-light: #2a2a2a;
    --on-accent: #111;
    --surface: #1e1e1e;
    --bg: #141414;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.18);
    --text: #e6e6e6;
    --text-muted: #aaa;
    --text-faint: #8f8f8f;
    --deal-bg: #12261c;
    --deal-border: #2d6b4a;
    --deal-text: #6ecf9d;

    --accent-hover: #d0d0d0;

    /* CHECKOUT */
    --co-surface: #1e1d1d;
    --co-border: #3a3734;
    --co-border-inner: #2e2c2a;
    --co-border-alt: #332f2c;
    --co-accent: #c9a87c;
    --co-logged-bg: #1a2a1a;
    --co-logged-border: #2d4a2d;
    --co-logged-text: #6ecf6e;

    /* PAGE */
    --body-background: #171616;

    /* NAV */
    --nav-bg: #1a1a1a;
    --nav-text: #ffffff;
    --nav-text-muted: #aaa;
    --nav-text-scrolled: #ffffff;
    --nav-bg-scrolled: rgba(23, 22, 22, 0.95);
    --dropdown-background: rgba(23, 22, 22, 0.95);
    --dropdown-text: #ffffff;
    --hamburger-background: #ffffff;

    /* TYPOGRAPHY */
    --heading-color: #e6e6e6;
    --body-text: #f8f3f3;

    /* FOOTER */
    --footer-text: #e6e6e6;
    --footer-subtext: #cfcfcf;
    --footer-link: #ffffff;

    /* LINKS */
    --link-color: hsl(36, 80%, 75%);

  }
}

/* -------------------------------------------------
   MANUAL DARK THEME (user toggle)
   ------------------------------------------------- */
body.dark-theme {
  /* DESIGN TOKENS */
  --accent: #e0e0e0;
  --accent-light: #2a2a2a;
  --on-accent: #111;
  --surface: #1e1e1e;
  --bg: #141414;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #e6e6e6;
  --text-muted: #aaa;
  --text-faint: #8f8f8f;
  --deal-bg: #12261c;
  --deal-border: #2d6b4a;
  --deal-text: #6ecf9d;
  --accent-hover: #d0d0d0;

  /* CHECKOUT */
  --co-surface: #1e1d1d;
  --co-border: #3a3734;
  --co-border-inner: #2e2c2a;
  --co-border-alt: #332f2c;
  --co-accent: #c9a87c;
  --co-logged-bg: #1a2a1a;
  --co-logged-border: #2d4a2d;
  --co-logged-text: #6ecf6e;

  /* PAGE */
  --body-background: #171616;

  /* NAV */
  --nav-bg: #1a1a1a;
  --nav-text: #ffffff;
  --nav-text-muted: #aaa;
  --nav-text-scrolled: #ffffff;
  --nav-bg-scrolled: rgba(23, 22, 22, 0.95);
  --dropdown-background: rgba(23, 22, 22, 0.95);
  --dropdown-text: #ffffff;
  --hamburger-background: #ffffff;

  /* TYPOGRAPHY */
  --heading-color: #e6e6e6;
  --body-text: #f8f3f3;

  /* FOOTER */
  --footer-text: #e6e6e6;
  --footer-subtext: #cfcfcf;
  --footer-link: #ffffff;

  /* LINKS */
  --link-color: hsl(36, 80%, 75%);

}

body.dark-theme .dropdown-menu {
  background: var(--dropdown-background);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.6);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* -------------------------------------------------
   MANUAL LIGHT THEME (explicit override)
   ------------------------------------------------- */
body.light-theme {
  /* DESIGN TOKENS */
  --accent: #1a1a1a;
  --accent-light: #f5f5f3;
  --surface: #ffffff;
  --bg: #f8f7f5;
  --border: rgba(0, 0, 0, 0.09);
  --border-strong: rgba(0, 0, 0, 0.18);
  --text: #1a1a1a;
  --text-muted: #666;
  --text-faint: #999;
  --on-accent: #fff;
  --accent-hover: #333;

  /* CHECKOUT */
  --co-surface: #f9f6f1;
  --co-border: #e8e0d4;
  --co-border-inner: #ede6da;
  --co-border-alt: #e4dbd0;
  --co-accent: #8b6f47;
  --co-logged-bg: #f0f7f0;
  --co-logged-border: #c8dfc8;
  --co-logged-text: #2a5a2a;

  /* PAGE */
  --body-background: #ffffff;

  /* NAV */
  --nav-bg: #ffffff;
  --nav-text: #1a1a1a;
  --nav-text-muted: #555;
  --nav-text-scrolled: #000;
  --nav-bg-scrolled: transparent;
  --dropdown-background: rgba(255, 255, 255, 0.95);
  --dropdown-text: #111;
  --hamburger-background: #111;

  /* TYPOGRAPHY */
  --heading-color: #1a1a1a;
  --body-text: #333333;

  /* FOOTER */
  --footer-text: #111;
  --footer-subtext: #201e1e;
  --footer-link: #111;

}

/* ── fonts.css ── */
/* Corinthia, DM Sans and Playfair Display load from Google Fonts in header.php;
   Cormorant Garamond and Jost (checkout only) load on the checkout page. */
.corinthia-regular {
  font-family: "Corinthia", cursive;
  font-weight: 400;
}

.corinthia-bold {
  font-family: "Corinthia", cursive;
  font-weight: 700;
}
p {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2rem;
}

a {
  text-decoration: none;
  color: inherit;
}
.corinthia-regular {
  font-family: "Corinthia", cursive;
  font-weight: 400;
}

.corinthia-bold {
  font-family: "Corinthia", cursive;
  font-weight: 700;
}

/* ------------  fully responsive typography system  START  --------------------- */

h1 {
  font-size: clamp(1.8rem, 2.5vw + 1rem, 2.4rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}
h2,
h3,
h4,
h5,
h6 {
  font-size: clamp(1.3rem, 2vw + 0.9rem, 2rem);
  line-height: 1.25;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

p {
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.125rem);
  line-height: 1.6;
  margin-bottom: 1rem;
}

small {
  font-size: clamp(0.8rem, 0.3vw + 0.7rem, 0.9rem);
  line-height: 1.4;
}
/* ------------  fully responsive typography system  END  --------------------- */
/* ── base.css ── */
/* =======================================================================
   BASE RESET
   ======================================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: var(--body-background, #fff);
  color: var(--body-text, #333);
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden; /* Prevent horizontal scroll / anti-aliasing gap */
}

img,
video {
  max-width: 100%;
  height: auto;
}

.italic {
  font-style: italic;
}

/* =======================================================================
    HERO SECTION
    ======================================================================= */
/* =======================================================================
   HERO SECTION
   ======================================================================= */

.hero-image {
  position: relative;
  width: 100%;
  height: 100vh; /* cinematic desktop */
  min-height: 400px; /* prevents collapse on mobile */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--body-background, #fff); /* letterbox space blends with the page in both themes */
}

/* Hero images */
.hero-image img.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* never crop, at any screen size */
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.hero-image img.hero-img.active {
  opacity: 1;
}

/* Overlay */
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Prev / next arrows (buttons are added by the slideshow script in index.php) */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-nav:hover,
.hero-nav:focus-visible {
  background: rgba(0, 0, 0, 0.65);
}

.hero-prev {
  left: 1.25rem;
}

.hero-next {
  right: 1.25rem;
}

.hero-prev::before {
  content: "‹";
}

.hero-next::before {
  content: "›";
}

/* Dot indicators, on a dark pill so they show on light and dark backgrounds */
.hero-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.6rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.hero-dot.active {
  background: #fff;
  border-color: #fff;
}

/* =======================================================================
   MOBILE HERO
   ======================================================================= */
@media (max-width: 768px) {
  .hero-image {
    /* Match the box to the photos (most are 3:2) instead of 70vh, which left
       large empty bands above and below landscape images on phones */
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
    overflow: hidden;
  }

  .hero-nav {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }

  .hero-dots {
    bottom: 0.6rem;
  }

  .hero-image img.hero-img {
    object-fit: contain; /* show full image horizontally */
    width: 100%;
    height: 100%; /* keep absolute positioning for JS fade */
    position: absolute; /* keep absolute for fade/slider */
  }

}

/* Mobile Safari fix (desktop-width only, so it doesn't undo the mobile sizing above) */
@supports (-webkit-touch-callout: none) {
  @media (min-width: 769px) {
    .hero-image {
      height: 100vh; /* stable viewport height */
    }
  }
}
/* =======================================================================
   ABOUT SECTIONS
   ======================================================================= */
.about {
  padding: 20px;
  margin: auto;
  max-width: 800px;
}

.about h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

.about p {
  color: var(--text-muted);
  text-align: justify;
}

.landing.about {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 20px;
  line-height: 1.8;
  color: var(--text);
}

.landing.about h2 {
  margin-bottom: 30px;
  text-align: center;
  font-family: "Corinthia", cursive;
}

.top-margin-2 {
  margin-top: 2rem;
}

/* ── nav.css ── */
/* =======================================================================
   NAVBAR BASE
   ======================================================================= */
.header {
  text-align: center;
  padding: 32px;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;

}

/* Reset dropdown toggle button */
.dropdown-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.dropdown-toggle:focus {
  outline: 2px solid var(--nav-text-hover, var(--nav-text-muted));
  outline-offset: 2px;
}
.navbar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #000; /* match hero background or navbar scrolled color */
  z-index: 1002;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  padding: 0 1.5rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  color: var(--nav-text);

  /* Add transform to transition */
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;

  border: none;
  box-shadow: none;
}
.navbar.hidden {
  transform: translateY(-100%);
}

/* Logo / Company name */
.company-name {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
  padding: 0.5rem 0;
  color: var(--nav-text);
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.5rem;
  font-weight: 500;
  color: var(--nav-text);
  transition: color 0.3s ease;
  line-height: 1.2;
  gap: 0.4rem;
  cursor: pointer;
}

.nav-item:hover,
.nav-item:focus-visible {
  color: var(--nav-text-hover, var(--nav-text-muted));
  outline: none;
  text-decoration: underline;
}

/* =======================================================================
   NAVBAR SCROLLED STATE
   ======================================================================= */
.navbar.scrolled {
  background-color: var(--nav-bg-scrolled);
}

.navbar.scrolled .company-name,
.navbar.scrolled .nav-item {
  color: var(--nav-text-scrolled);
}

/* =======================================================================
   NAV LINKS LAYOUT
   ======================================================================= */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
}

.nav-links > li {
  display: flex;
  align-items: center;
}

/* =======================================================================
   DROPDOWN
   ======================================================================= */
.dropdown {
  flex: 0 0 auto;
  position: relative;
}

.caret {
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.4rem;
  align-self: center;
  transition: transform 0.3s ease;
}

.dropdown.open .caret {
  transform: rotate(225deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  list-style: none;
  display: none;
  flex-direction: column;
  background: var(--dropdown-bg, var(--dropdown-background));
  padding-left: 0 !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1001;
  user-select: none;
}

.dropdown-menu li {
  padding: 0.5rem 1rem;
}

.dropdown-menu .nav-item {
  color: var(--dropdown-text);
}

.dropdown:hover .dropdown-menu {
  display: flex;
  animation: dropdownSlideDown 0.3s ease forwards;
}

@keyframes dropdownSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =======================================================================
   THEME TOGGLE
   ======================================================================= */
.header {
  align-items: center;
}

.header .nav-links {
  order: 1;
}

.theme-toggle {
  order: 2;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--nav-text);
  transition: color 0.3s ease, transform 0.3s ease;
  padding: 0;
}

.header .hamburger {
  order: 3;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--nav-text-hover, var(--nav-text-muted));
  transform: scale(1.1);
  outline: none;
}

.theme-icon {
  display: inline-block;
  line-height: 1;
}

@media (min-width: 768px) {
  .theme-toggle {
    font-size: 1.5rem;
    padding: 0.5rem;
    margin-left: 1rem;
    border-radius: 50%;
    background-color: transparent;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
    transform: scale(1.2);
  }

  .theme-icon {
    display: inline-block;
    transition: transform 0.3s ease;
  }

  .theme-toggle:hover .theme-icon {
    transform: rotate(20deg);
  }
}

@media (max-width: 814px) {
  .theme-toggle {
    margin-left: auto;
    margin-right: 1rem;
  }
}

/* =======================================================================
   HAMBURGER (MOBILE)
   ======================================================================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background: var(--hamburger-background);
  border-radius: 2px;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    background 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Update hamburger colors on scroll */
.navbar.scrolled .hamburger span {
  background: var(--hamburger-background);
}

/* =======================================================================
   MOBILE NAV
   ======================================================================= */
@media (max-width: 814px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    flex-direction: column;
    background: var(--dropdown-background);
    width: 300px;
    height: auto;
    z-index: 4000;
    padding: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 0.3s ease,
      transform 0.3s ease;
  }

  .nav-links.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .hamburger {
    display: flex;
  }

  /* Mobile dropdown */
  .dropdown-menu {
    position: static;
    display: block;
    max-height: 0;
    width: 100%;
    min-width: 200px;
    overflow: hidden;
    opacity: 0;
    transition:
      max-height 0.3s ease,
      opacity 0.3s ease;
  }

  .dropdown-menu li {
    padding: 0.75rem 1rem;
  }

  .dropdown.open .dropdown-menu {
    max-height: 500px;
    opacity: 1;
  }

  .dropdown > .nav-item,
  .nav-item {
    width: 100%;
    justify-content: space-between;
  }

  .nav-links > li {
    width: 100%;
  }
}

/* ── mystyles.css ── */
.hidden {
  display: none;
}
.center {
  margin: auto;
  text-align: center;
}

footer {
  padding: 10px 20px;
  font-family: 'Helvetica Neue', sans-serif;
  color: var(--footer-text);
  max-width: 1200px;
  margin: 40px auto 0 auto;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  gap: 20px;
}

.footer section,
.footer .email-contact {
  flex: 1 1 1;
  min-width: 200px;
}

/* Company name: a <p>, not a heading, so it doesn't break the page's heading
   order; sized to match the h3 it replaced */
.footer-brand {
  font-size: clamp(1.3rem, 2vw + 0.9rem, 2rem);
  line-height: 1.25;
  margin-bottom: 0.9rem;
}

footer .company-name {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons li a {
  display: inline-block;
  width: 40px;
  height: 40px;
}

.social-icon {
  width: 100%;
  height: 100%;
}

.email-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-icon i {
  font-size: 1.5rem;
  color: #c837ab;
}

.contact-details h2 {
  font-size: 1rem;
  margin: 0;
}

.contact-info {
  display: block;
  font-size: 0.9rem;
  color: var(--footer-link);
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85rem;
  color: var(--footer-subtext);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .email-contact {
    flex-direction: column;
    align-items: center;
  }

  .contact-icon i {
    margin-bottom: 5px;
  }

  .social-icons {
    justify-content: center;
  }
}

/* // -------- End of the Footer Stylings -------- // */

.breadcrumb-nav {
  width: 100%; /* full container width */
  margin-left: 2rem;
  margin-top: 6rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: flex-start;}

.breadcrumbs {
  max-width: 1200px;
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}
@media screen and (min-width: 715px) {
  .breadcrumbs {
    max-width: 50%;
    margin: auto;
  }
}
/* customer pages  */

.layout {
  flex: 1;
  display: flex;
  min-height: 0;}
aside.sideNav {
  width: 100px;
  margin-left: 0.4rem;
  overflow-y: auto;
}
.sideNav ul {
  list-style: none;
}

.sideNav ul li {
  margin: 1rem 0;
  padding: 1rem;
}
.sideNav ul li a {
  text-decoration: none;
}
.dashboard {
  display: flex;
  flex-direction: column;
  width: 600px;
  margin: auto;
}
@media screen and (min-width: 715px) {
  .dashboard {
    width: 800px;
  }
}
.invoice-container {
  display: flex;
  flex-direction: column;
  margin: auto;
}
.invoice-middle {
  padding-top: 2rem;
  border-top: solid 1px grey;
  padding-bottom: 2rem;
  border-bottom: grey solid 1px;
}
.invoice-item {
  padding-top: 2rem;
  border-top: solid 1px grey;
  padding-bottom: 2rem;
}

/* Breadcrumbs */
.breadcrumb-nav {
  padding: 10px 20px;
}

.breadcrumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 14px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
}

.breadcrumbs a {
  color: var(--link-color);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Contact box */

.contact-icon i {
  font-size: 32px;
  color: #0077cc;
}

.contact-title {
  font-size: 20px;
  margin-bottom: 6px;
}

.contact-info {
  font-size: 16px;
  color: var(--footer-link);
  text-decoration: none;
}

.contact-info:hover {
  text-decoration: underline;
}

/* Loading overlay (contact form) */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-content {
  text-align: center;
  color: #fff;
  font-family: sans-serif;
}

.loader-spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  margin: 0 auto 1rem;
  animation: spin 0.8s linear infinite;
}

.loader-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff; /* bright white */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); /* subtle shadow for contrast */
  margin-top: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.category-card a {
    display: block;
    padding: 15px 25px;
    background-color: var(--accent-light);
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    color: var(--text);
    transition: background-color 0.3s ease;
}

.category-card a:hover {
    background-color: var(--border-strong);
}

/* Section title */
.center {
  text-align: center;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text);
}

/* Labels and inputs */

.input {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}
.input:focus {
  border-color: #0077cc;
  outline: none;
}

/* Error messages */
.err-msg {
  color: #d9534f;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

/* Checkbox */
input[type="checkbox"] {
  margin-right: 0.5rem;
}

/* Submit button */

.submit-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0f4c81;
  color: white;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.submit-btn:hover {
  background-color: #093b66;
}

/* Thank-you page */
.thank-you-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 2rem;
  background-color: var(--bg);
}

.thank-you-card {
  background-color: var(--surface);
  padding: 2.5rem 3rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.thank-you-card h1 {
  font-size: 2rem;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.thank-you-card p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text);
}


/* ── gallery.css ── */
.weddings {
    display: flex;
    flex-direction: column;
    align-items: center;    
    margin: auto;
    padding: 20px;
    max-width: 800px;;
}
/* ============================
   GALLERY GRID
   ============================ */
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  position: relative;
  z-index: 0;
  overflow: visible;
  max-width: 1200px;
  margin: auto;
}

/* Mobile-first: single column */
.column {
  flex: 100%;
  max-width: 100%;
  position: relative;
  overflow: visible;
  z-index: 1;
}

.column img {
  width: 100%;
  max-width: 1200px;
  margin-top: 8px;
  padding: .5rem;
  vertical-align: middle;
  transform-origin: center center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 2;
}

.column img:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

/* Two columns */
@media screen and (min-width: 600px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Four columns */
@media screen and (min-width: 800px) {
  .column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
  }
}
.gallery {
  column-count: 4;
  column-gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery picture {
  break-inside: avoid;
  display: block;
  margin-bottom: 16px;
}

.gallery img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1200px) {
  .gallery {
    column-count: 3;
  }
}
@media (max-width: 800px) {
  .gallery {
    column-count: 2;
  }
}
@media (max-width: 500px) {
  .gallery {
    column-count: 1;
  }
}

/* ============================
   MODAL OVERLAY
   ============================ */
.modal {
  display: none;
  position: fixed;
  z-index: 99999; /* raise above mobile nav */
  padding-top: 40px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
}

/* ============================
   MODAL CONTENT
   ============================ */
.modal-content {
  position: relative;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 90%;
  height: 80%;
}

.modal-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ============================
   CLOSE BUTTON (X)
   ============================ */
.close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100000; /* stays above modal content */
  line-height: 1;
  user-select: none;
  transition: opacity 0.2s ease;
}

.close:hover {
  opacity: 0.7;
}

/* Mobile adjustments */
@media screen and (max-width: 599px) {
  .close {
    font-size: 32px;
    top: 10px;
    right: 15px;
  }
}

/* ============================
   NAVIGATION ARROWS
   ============================ */
.navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 1000;
}

.prev,
.next {
  cursor: pointer;
  color: white;
  font-size: 40px;
  padding: 16px;
  user-select: none;
  transition: opacity 0.2s ease;
}

.prev:hover,
.next:hover {
  opacity: 0.7;
}

/* Mobile arrow adjustments */
@media screen and (max-width: 599px) {
  .prev,
  .next {
    font-size: 32px;
    padding: 12px;
  }
}

/* ============================
   MOBILE MODAL OPTIMIZATION
   ============================ */
@media screen and (max-width: 599px) {
  .modal-content {
    max-width: 95%;
    height: 70%;
  }
}
/* ── shop.css ── */

    .shop-page {
        max-width: 1280px;
        width: 100%;
        margin: 0 auto;
        padding: 0 16px 60px;
    }

    .shop-search-bar {
        display: flex;
        gap: 10px;
        align-items: center;
        margin-bottom: 24px;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-md);
        padding: 0 14px;
        box-shadow: var(--shadow-card);
    }

    .shop-search-bar svg {
        width: 16px;
        height: 16px;
        color: var(--text-muted);
        flex-shrink: 0;
    }

    .shop-search-bar input {
        flex: 1;
        border: none;
        outline: none;
        background: none;
        font-family: var(--font-body);
        font-size: 14px;
        color: var(--text);
        padding: 13px 0;
    }

    .shop-search-bar input::placeholder {
        color: var(--text-faint);
    }

    .shop-search-bar button {
        background: var(--accent);
        color: var(--on-accent);
        border: none;
        border-radius: var(--radius-sm);
        font-family: var(--font-body);
        font-size: 13px;
        font-weight: 500;
        padding: 7px 16px;
        cursor: pointer;
        transition: opacity var(--transition);
        white-space: nowrap;
    }

    .shop-search-bar button:hover {
        opacity: .85;
    }

    .shop-grid {
        display: grid;
        grid-template-columns: 220px 1fr;
        gap: 24px;
        align-items: start;
    }

    .shop-sidebar {
        position: sticky;
        top: calc(var(--nav-h) + 16px);
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        padding: 20px;
        box-shadow: var(--shadow-card);
    }

    .sidebar-title {
        font-family: var(--font-display);
        font-size: 17px;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 18px;
        padding-bottom: 12px;
        border-bottom: 1px solid var(--border);
    }

    .filter-section {
        margin-bottom: 22px;
    }

    .filter-section:last-of-type {
        margin-bottom: 0;
    }

    .filter-section-label {
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--text-faint);
        margin-bottom: 8px;
        display: block;
    }

    /* ✅ Subtle "back" hint when categories are scoped to a top category */
    .filter-section-sublabel {
        font-size: 11px;
        color: var(--text-faint);
        margin-bottom: 6px;
        display: block;
        font-style: italic;
    }

    .filter-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 7px 10px;
        border-radius: var(--radius-sm);
        font-size: 13.5px;
        color: var(--text-muted);
        text-decoration: none;
        transition: background var(--transition), color var(--transition);
        cursor: pointer;
    }

    .filter-link:hover {
        background: var(--accent-light);
        color: var(--text);
    }

    .filter-link.active {
        background: var(--accent);
        color: var(--on-accent);
        font-weight: 500;
    }

    
    .filter-radio {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .filter-radio label {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 7px 10px;
        border-radius: var(--radius-sm);
        font-size: 13.5px;
        color: var(--text-muted);
        cursor: pointer;
        transition: background var(--transition);
    }

    .filter-radio label:hover {
        background: var(--accent-light);
        color: var(--text);
    }

    .filter-radio input[type="radio"] {
        accent-color: var(--accent);
        cursor: pointer;
    }

    .price-inputs {
        display: flex;
        gap: 8px;
        align-items: center;
    }

    .price-inputs input {
        flex: 1;
        padding: 8px 10px;
        border: 1px solid var(--border-strong);
        border-radius: var(--radius-sm);
        font-family: var(--font-body);
        font-size: 13px;
        color: var(--text);
        background: var(--accent-light);
        outline: none;
        transition: border-color var(--transition);
    }

    .price-inputs input:focus {
        border-color: var(--accent);
    }

    .price-sep {
        font-size: 13px;
        color: var(--text-faint);
        flex-shrink: 0;
    }

    .sidebar-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 20px;
        padding-top: 16px;
        border-top: 1px solid var(--border);
    }

    .btn-apply-filter {
        width: 100%;
        padding: 10px;
        background: var(--accent);
        color: var(--on-accent);
        border: none;
        border-radius: var(--radius-sm);
        font-family: var(--font-body);
        font-size: 13.5px;
        font-weight: 500;
        cursor: pointer;
        transition: opacity var(--transition);
    }

    .btn-apply-filter:hover {
        opacity: .85;
    }

    .btn-reset-filter {
        width: 100%;
        padding: 8px;
        background: none;
        color: var(--text-muted);
        border: 1px solid var(--border-strong);
        border-radius: var(--radius-sm);
        font-family: var(--font-body);
        font-size: 13px;
        cursor: pointer;
        transition: color var(--transition), border-color var(--transition);
    }

    .btn-reset-filter:hover {
        color: var(--text);
        border-color: var(--accent);
    }

    .shop-main {
        min-width: 0;
        width: 100%;
        overflow: hidden;
    }

    .shop-grid>* {
        min-width: 0;
    }

    .filter-trigger {
        display: none;
        align-items: center;
        gap: 8px;
        padding: 10px 16px;
        background: var(--surface);
        border: 1px solid var(--border-strong);
        border-radius: var(--radius-md);
        font-family: var(--font-body);
        font-size: 14px;
        font-weight: 500;
        color: var(--text);
        cursor: pointer;
        box-shadow: var(--shadow-card);
        width: 100%;
        margin-bottom: 16px;
        transition: background var(--transition);
    }

    .filter-trigger:hover {
        background: var(--accent-light);
    }

    .filter-trigger svg {
        width: 16px;
        height: 16px;
    }

    .filter-trigger .filter-badge {
        margin-left: auto;
        background: var(--accent);
        color: var(--on-accent);
        border-radius: 20px;
        font-size: 11px;
        padding: 2px 7px;
        font-weight: 600;
    }

    @media (max-width: 900px) {
        .shop-grid {
            grid-template-columns: 1fr;
        }

        .shop-sidebar {
            display: none;
        }

        .filter-trigger {
            display: flex;
        }
    }

    .shop-top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 14px;
        gap: 12px;
        flex-wrap: wrap;
    }

    .shop-heading {
        font-family: var(--font-display);
        font-size: 22px;
        font-weight: 600;
        color: var(--text);
    }

    .shop-heading small {
        font-family: var(--font-body);
        font-size: 13px;
        font-weight: 400;
        color: var(--text-faint);
        margin-left: 8px;
    }

    .sort-select {
        padding: 8px 12px;
        border: 1px solid var(--border-strong);
        border-radius: var(--radius-sm);
        font-family: var(--font-body);
        font-size: 13px;
        color: var(--text);
        background: var(--surface);
        cursor: pointer;
        outline: none;
        transition: border-color var(--transition);
    }

    .sort-select:focus {
        border-color: var(--accent);
    }

    .active-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 16px;
    }

    .tag-pill {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: var(--accent-light);
        border: 1px solid var(--border-strong);
        border-radius: 20px;
        padding: 4px 10px 4px 12px;
        font-size: 12.5px;
        color: var(--text);
        font-family: var(--font-body);
    }

    .tag-pill a {
        color: var(--text-faint);
        text-decoration: none;
        font-size: 14px;
        line-height: 1;
        transition: color var(--transition);
    }

    .tag-pill a:hover {
        color: var(--red);
    }

    .drawer-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 1000;
        background: rgba(0, 0, 0, .45);
        opacity: 0;
        transition: opacity .25s ease;
    }

    .drawer-overlay.open {
        opacity: 1;
    }

    .filter-drawer {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        bottom: 0;
        z-index: 1001;
        width: min(320px, 90vw);
        background: var(--surface);
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform .28s cubic-bezier(.4, 0, .2, 1);
        box-shadow: 4px 0 24px rgba(0, 0, 0, .12);
    }

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

    .drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px 14px;
        border-bottom: 1px solid var(--border);
        position: sticky;
        top: 0;
        background: var(--surface);
        z-index: 1;
    }

    .drawer-header h3 {
        font-family: var(--font-display);
        font-size: 18px;
        font-weight: 600;
    }

    .drawer-close {
        background: none;
        border: none;
        cursor: pointer;
        color: var(--text-muted);
        padding: 4px;
        display: flex;
        align-items: center;
        transition: color var(--transition);
    }

    .drawer-close:hover {
        color: var(--text);
    }

    .drawer-close svg {
        width: 20px;
        height: 20px;
    }

    .drawer-body {
        padding: 20px;
    }

    .drawer-body .filter-section {
        margin-bottom: 24px;
    }

    .product-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        width: 100%;
    }

    @media (min-width: 500px) {
        .product-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 700px) {
        .product-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (min-width: 1000px) {
        .product-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    .product-card {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius-lg);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
        box-shadow: var(--shadow-card);
        animation: cardIn .3s ease both;
    }

    @keyframes cardIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

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

    .product-card:hover {
        box-shadow: var(--shadow-hover);
        transform: translateY(-2px);
        border-color: rgba(0, 0, 0, .14);
    }

    .product-card.sold-out {
        opacity: .7;
    }

    .card-img-wrap {
        position: relative;
        overflow: hidden;
        aspect-ratio: 4 / 3;
        background: #efefed;
    }

    .card-img-wrap a {
        display: block;
        height: 100%;
    }

    .card-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
        transition: transform .35s ease;
    }

    .product-card:hover .card-img-wrap img {
        transform: scale(1.04);
    }

    .sold-out-badge {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0, 0, 0, .62);
        color: #fff;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .07em;
        text-transform: uppercase;
        padding: 6px 14px;
        border: 1.5px solid rgba(255, 255, 255, .55);
        border-radius: 4px;
        pointer-events: none;
        white-space: nowrap;
    }

    .card-category-tag {
        position: absolute;
        top: 10px;
        left: 10px;
        background: rgba(255, 255, 255, .9);
        border-radius: 20px;
        font-size: 11px;
        font-weight: 500;
        color: #555;
        padding: 3px 9px;
        backdrop-filter: blur(4px);
    }

    .card-body {
        padding: 13px 14px 14px;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .card-name {
        font-size: 14px;
        font-weight: 500;
        color: var(--text);
        margin-bottom: 5px;
        line-height: 1.35;
        min-height: calc(1.35em * 2);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .card-name a {
        color: inherit;
        text-decoration: none;
    }

    .card-name a:hover {
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    .card-price {
        font-size: 15px;
        font-weight: 600;
        color: var(--text);
        margin-bottom: 12px;
    }

    .card-price .currency {
        font-weight: 400;
        font-size: 12px;
        color: var(--text-muted);
    }

    .card-actions {
        display: flex;
        gap: 7px;
        margin-top: auto;
        align-items: stretch;
    }

    .btn-detail {
        flex: 1;
        padding: 9px 8px;
        border: 1.5px solid rgba(0, 0, 0, .35);
        border-radius: var(--radius-sm);
        background: none;
        color: var(--text);
        font-family: var(--font-body);
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: all var(--transition);
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .btn-detail:hover {
        background: var(--accent);
        color: var(--on-accent);
        border-color: var(--accent);
    }

    .btn-cart {
        flex: 1;
        padding: 9px 8px;
        border: none;
        border-radius: var(--radius-sm);
        background: var(--accent);
        color: var(--on-accent);
        font-family: var(--font-body);
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        transition: opacity var(--transition);
        white-space: nowrap;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .btn-cart:hover:not(:disabled) {
        opacity: .82;
    }

    .btn-cart:disabled {
        background: #bbb;
        cursor: not-allowed;
    }

    .empty-state {
        grid-column: 1/-1;
        text-align: center;
        padding: 60px 20px;
        color: var(--text-muted);
    }

    .empty-state svg {
        width: 48px;
        height: 48px;
        opacity: .2;
        margin-bottom: 16px;
    }

    .empty-state h3 {
        font-family: var(--font-display);
        font-size: 20px;
        margin-bottom: 8px;
        color: var(--text);
    }

    .empty-state p {
        font-size: 14px;
    }

    .empty-state a {
        color: var(--text);
        font-weight: 500;
    }

    .pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        margin-top: 36px;
        flex-wrap: wrap;
    }

    .page-item {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        border: 1px solid var(--border);
        border-radius: var(--radius-sm);
        font-family: var(--font-body);
        font-size: 13.5px;
        color: var(--text-muted);
        text-decoration: none;
        background: var(--surface);
        transition: all var(--transition);
        box-shadow: var(--shadow-card);
    }

    .page-item:hover {
        background: var(--accent-light);
        color: var(--text);
        border-color: var(--border-strong);
    }

    .page-item.active {
        background: var(--accent);
        color: var(--on-accent);
        border-color: var(--accent);
        font-weight: 500;
    }

    .page-item.disabled {
        opacity: .3;
        pointer-events: none;
    }

    .page-item svg {
        width: 14px;
        height: 14px;
    }

    .page-ellipsis {
        font-size: 14px;
        color: var(--text-faint);
        padding: 0 4px;
        line-height: 36px;
    }

    @media (max-width: 768px) {

        .btn-cart,
        .btn-detail {
            font-size: 12px;
        }
    }

    @media (max-width: 560px) {
        .shop-top-bar {
            gap: 8px;
        }

        .shop-heading {
            font-size: 18px;
        }

        .shop-heading small {
            display: block;
            margin: 2px 0 0;
        }

        .sort-select {
            font-size: 12px;
            padding: 7px 9px;
        }

        .card-body {
            padding: 10px 11px 12px;
        }

        .card-name {
            font-size: 13px;
        }

        .card-price {
            font-size: 14px;
            margin-bottom: 10px;
        }

        .card-actions {
            flex-direction: column;
            gap: 6px;
        }

        .btn-cart {
            flex: unset;
            width: 100%;
            font-size: 11px;
            padding: 9px 6px;
            order: 1;
        }

        .btn-detail {
            display: inline-flex;
            flex: unset;
            width: 100%;
            font-size: 11px;
            padding: 8px 6px;
            order: 2;
        }
    }

    body.drawer-open {
        overflow: hidden;
    }


/* ── forms.css ── */
.contact_title {
  font-size: 2.5rem;
  margin: 4rem auto 1rem auto;
  max-width: 400px;
  text-align: center;
}
/* Layout wrapper */
.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 2em auto;
  padding: 2rem 1rem;
}
.contact-layout h2 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Contact form and info share consistent spacing */
.contact-form
 {
  width: 100%;
}

/* Two-column layout on larger screens */
@media (min-width: 850px) {
  .contact-layout {
    position: relative;
  }

  .contact-layout {
    gap: 3em;
    align-items: stretch;  }

}

/* Form container */
.contact-form form {
  display: block;
  width: 100%;
}
.hidden {
  display: none;
}
/* Newsletter checkbox alignment */
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--body-text);
}
input[type="checkbox"] {
  margin-right: 0.5rem;
}
.checkbox-row input[type="checkbox"] {
  position: relative;
  top: -4px;}

label[for="newsletter"] {
  color: var(--body-text);
  margin-bottom: 1rem;
  display: inline-block;
}

/* Grid layout for inputs */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1em;
}

@media (min-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-grid .full {
    grid-column: 1 / -1;
  }
}

/* Input and textarea styling */
input,
textarea {
  width: 90%;
  padding: 0.75rem;
  border: 2px solid #a2a2a2;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  box-sizing: border-box;
  margin: auto;
}
textarea {
  resize: vertical;
  min-height: 220px;
}
@media (min-width: 700px) {
  textarea {
    width: 95%;
  }
}

input:focus,
textarea:focus {
  border-color: #0077cc;
  outline: none;
  background-color: #f9f9f9;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Error styling */
.input-error {
  border-color: red;
  background-color: #ffecec;
}

.err-msg {
  color: red;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Newsletter row */
.form-grid .checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem 0;
}

/* Checkbox itself */
.checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  accent-color: #0077cc;}

/* Label wraps and fills remaining space */
.checkbox label {
  flex: 1;
  font-weight: 500;
  line-height: 1.4;
}

/* Submit button */
.submit-btn {
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
}

.submit-btn:hover {
  background-color: #005fa3;
}

/* =============================== RESPONSIVE =============================== */

.thank-you-card {
  margin-top: 8em;
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: auto;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}
.thank-you-card h1 {
  font-size: 2.5rem;
  margin: 6rem auto;
}
.contact_form h1 {
  font-size: 2.5rem;
  margin: 2rem auto 1rem auto;
  max-width: 400px;
}
/* ----------------------------------------------------
   LOADER OVERLAY (shared)
---------------------------------------------------- */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(28, 27, 27, 0.8);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader-content {
  text-align: center;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem auto;
  border: 6px solid #393333;
  border-top-color: #007bff; /* spinner color */
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-text {
  font-size: 1.1rem;
  color: var(--text);
}


/* ── cart.css ── */
/* ── Tokens ───────────────────────────────────────────── */
:root {
  --accent: #1a1a1a;
  --accent-light: #f5f5f3;
  --surface: #ffffff;
  --bg: #f8f7f5;
  --border: rgba(0, 0, 0, 0.09);
  --border-strong: rgba(0, 0, 0, 0.18);
  --text: #1a1a1a;
  --text-muted: #666;
  --text-faint: #999;
  --red: #c0392b;
  --green: #27ae60;
  --amber: #b8730a;
  --amber-bg: #fff8ec;
  --amber-border: #e8c46a;
  --deal-bg: #edfaf4;
  --deal-border: #6ecf9d;
  --deal-text: #1a7a4a;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --transition: 0.18s ease;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.09);
}

/* ── Page wrapper ────────────────────────────────────── */
.cart-page {
  font-family: var(--font-body);
  background: var(--bg);
  min-height: 100vh;
}

/* ── Main container ──────────────────────────────────── */
.cart-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

/* ── Page heading ────────────────────────────────────── */
.cart-heading {
  font-family: var(--font-display);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.cart-heading span {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-faint);
  margin-left: 10px;
}

/* ── Greeting Cards deal banner ──────────────────────── */
.deal-banner {
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--amber-border);
  background: var(--amber-bg);
}

.deal-banner.deal-active {
  background: var(--deal-bg);
  border-color: var(--deal-border);
}

.deal-banner-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}

.deal-banner-text {
  flex: 1;
  min-width: 0;
}

.deal-banner-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 2px;
}

.deal-banner.deal-active .deal-banner-title {
  color: var(--deal-text);
}

.deal-banner-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* Progress pips */
.deal-pips {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.deal-pip {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: background var(--transition);
}

.deal-pip.pip-filled {
  background: #e8a020;
}

.deal-pip.pip-active {
  background: var(--green);
}

/* ── Cart items list ─────────────────────────────────── */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

/* ── Single cart row ─────────────────────────────────── */
.cart-row {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 14px;
  align-items: start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.cart-row:hover {
  box-shadow: var(--shadow-md);
}

/* ── Product image ───────────────────────────────────── */
.cart-row-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--accent-light);
  flex-shrink: 0;
}

.cart-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Row body ────────────────────────────────────────── */
.cart-row-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.cart-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cart-row-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  text-decoration: none;
}

.cart-row-name:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cart-row-subtotal {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Size & unit price row */
.cart-row-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cart-row-size {
  font-size: 12px;
  font-weight: 500;
  background: var(--accent-light);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 2px 9px;
  color: var(--text-muted);
}

.cart-row-unit-price {
  font-size: 12.5px;
  color: var(--text-faint);
}

.price-was {
  text-decoration: line-through;
  color: var(--text-faint);
  margin-right: 2px;
}

.discount-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  background: var(--deal-bg);
  border: 1px solid var(--deal-border);
  color: var(--deal-text);
  border-radius: 20px;
  padding: 2px 8px;
}

/* ── Qty + remove controls ───────────────────────────── */
.cart-row-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.qty-group {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}

.qty-btn {
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--transition),
    color var(--transition);
  line-height: 1;
}

.qty-btn:hover {
  background: var(--accent-light);
  color: var(--text);
}

.qty-value {
  width: 36px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0;
  line-height: 32px;
  background: none;
}

.btn-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-faint);
  padding: 6px 0;
  transition: color var(--transition);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-remove:hover {
  color: var(--red);
}

/* ── Summary card ────────────────────────────────────── */
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.cart-summary-row:last-of-type {
  border-bottom: none;
}

.cart-summary-discount {
  color: var(--deal-text);
  font-weight: 500;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 0;
  margin-top: 4px;
  border-top: 2px solid var(--accent);
}

.cart-summary-total .label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.cart-summary-total .amount {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

/* ── Action buttons ──────────────────────────────────── */
.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.btn-checkout:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.btn-checkout svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px;
  background: none;
  color: var(--text-muted);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-continue:hover {
  border-color: var(--accent);
  color: var(--text);
  background: var(--accent-light);
}

.btn-continue svg {
  width: 14px;
  height: 14px;
}

/* ── Empty state ─────────────────────────────────────── */
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.cart-empty svg {
  width: 52px;
  height: 52px;
  opacity: 0.15;
  margin-bottom: 18px;
}

.cart-empty h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text);
  margin-bottom: 8px;
}

.cart-empty p {
  font-size: 14px;
  margin-bottom: 24px;
}

.cart-empty a {
  display: inline-block;
  padding: 11px 28px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  transition: opacity var(--transition);
}

.cart-empty a:hover {
  opacity: 0.85;
}

/* ── Tablet: side-by-side layout ─────────────────────── */
@media (min-width: 640px) {
  .cart-row {
    grid-template-columns: 96px 1fr;
  }

  .cart-row-img {
    width: 96px;
    height: 96px;
  }

  .cart-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
    align-items: start;
  }

  .cart-summary {
    position: sticky;
    top: 20px;
  }

  .cart-actions {
    margin-top: 16px;
  }
}

/* ── Desktop refinements ─────────────────────────────── */
@media (min-width: 860px) {
  .cart-container {
    padding: 28px 24px 80px;
  }

  .cart-row-img {
    width: 104px;
    height: 104px;
  }

  .cart-layout {
    grid-template-columns: 1fr 320px;
    gap: 32px;
  }
}

