:root {
  --bg: #0b0d12;
  --panel: #111528;
  --card: #121a33;
  --text: #e7e9f3;
  --muted: #a6acd3;
  --line: rgba(255, 255, 255, 0.09);
  --brand: #8b5cf6;
  --brand2: #22d3ee;
  --brand3: #34cd0a;/* optional brighter green for price */
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  --r: 18px;
  --sidebar-width: 220px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body {
  padding-top: 60px;
  margin: 0;
  width: calc(100% - var(--sidebar-width));
  margin-left: (var(--sidebar-width)+10px);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: var(--bg); /* ✅ now solid color */
  color: var(--text);
  overflow-x: hidden;   /* ✅ prevents sideways scroll issues */
}
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

#statusFilter {
    width: 160px;
    min-width: 160px;
}

.header, main, .footer {
  margin-left: var(--sidebar-width);                 /* ✅ PUSH EVERYTHING RIGHT */
  width: calc(100% - var(--sidebar-width));          /* ✅ prevent overflow */
}

main.container {
  margin: 0;                 /* ✅ REMOVE centering */
  width: calc(100% - var(--sidebar-width)); /* ✅ fit beside sidebar */
  margin-left: var(--sidebar-width);
}

.header {
  position: fixed; 
  top: 0; 
  width: 100%; 
  z-index: 100;
  background: rgba(96, 3, 245, 0.603);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  
}

.header .container {
  width: min(1120px, 100%);   /* ✅ max width */

}

/* ===============================
   SIDEBAR MENU
================================= */
.sideMenu {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);                 /* ✅ always full width */
  height: 100%;
  background: rgba(17, 21, 40, 0.96);
  border-right: 1px solid var(--line);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 10px;

  z-index: 200;
}

/* ===============================
   MENU LINKS CONTAINER
================================= */
.sideMenu__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ===============================
   MENU BUTTONS (FIXED VERSION ✅)
================================= */
.sideMenu__link {
  display: flex;
  align-items: center;
  gap: 12px;

  width: 100%;
  padding: 10px 12px;

  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);

  text-decoration: none;
  color: var(--text);

  justify-content: flex-start;  /* ✅ always left aligned */
}

.menuIconImg {
  width: 30px;
  height: 30px;
  object-fit: contain;
}


.sideMenu {
    display: flex;
    flex-direction: column;
  }

  
.sideMenu__link.active {
  background: rgba(139, 92, 246, 0.25);
  border-left: 4px solid #8b5cf6;
  color: #fff;
  font-weight: 600;
}

.sideMenu__link.active .sideMenu__icon {
  transform: scale(1.1);
}


  /* ✅ pushes seal to bottom */
  .sideMenu__seal {
    margin-top: auto;
    display: flex;
    justify-content: bottom;
    padding: 0;
  }

  /* optional: scale smaller for mobile */


  #siteseal {
    position: fixed;      /* stays visible */
    bottom: 0;         /* or top: 10px if you prefer */
    left: 0;           /* ✅ move to LEFT side */
    right: auto;          /* ✅ REMOVE right positioning */
    z-index: 9999;        /* stays above everything */
    transform: scale(0.5);
    transform-origin: left;
  }

  #siteseal iframe {
    display: block;
  }


/* HOVER */

.sideMenu__link:hover {
  transform: translateX(4px);
  background: rgba(139, 92, 246, 0.2);
}


/* ===============================
   ICON
================================= */

.sideMenu__icon {
  min-width: 24px;
  font-size: 18px;
  text-align: center;
  flex-shrink: 0;
}


/* ===============================
   TEXT (FIXED ✅)
================================= */

.sideMenu__text {
  opacity: 1;                   /* ✅ always visible */
  white-space: nowrap;
}


/* MAIN HEADER LAYOUT */
.header__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* Logo | Menu | Cart */
  align-items: center;
  justify-content: space-between;
  width: 100%;
}



/* LEFT (LOGO) */
.header__left {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  justify-self: center;
}

/* CENTER (MENU) */
.menu {
  display: grid;
  justify-self: center;
  gap: 10px;
  Width: 100%;
}

/* RIGHT (CART / ACTIONS) */
.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;  /* ✅ pushes content to right edge */
  justify-self: end;      /* ✅ fill the entire column */
}

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

    padding: 12px 0;              /* ✅ same vertical size as .menuLink */
    height: auto;

    border-radius: 16px;
    font-size: 15px;              /* ✅ match menuLink */
    font-weight: 600;

    border: 1px solid var(--line);
    background: rgba(17, 21, 40, 0.7);
    color: var(--text);

    box-shadow: 0 4px 12px rgba(0,0,0,0.4);

    min-width: 140px;             /* ✅ makes it similar width */
    transition: all 0.2s ease;

    width: 100%;
  }



#cartTotalHeader {
  margin-left: 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand3);
}


/* Header menu buttons */
.menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* ✅ equal width */
  gap: 10px;
  width: 100%;   /* ✅ correct */
  max-width: 1000px; /* ✅ prevents excessive stretching on large screens */
  justify-self: center;
 }

.menuLink {
  width: 100%;              /* ✅ fill each grid column */
  text-align: center;
  padding: 6px 10px;   /* ✅ more vertical padding, less horizontal */
  font-size: 14px;
  font-weight: 600;
  min-height: unset;   /* ✅ consistent height */
  height: auto;    /* ✅ allows height to grow with padding */ 
  display: flex;
  align-self: center;
  justify-content: center;

  border-radius: 16px;

  font-size: 15px;         /* ✅ larger text */
  font-weight: 600;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  border: 1px solid var(--line);
  background: rgba(17, 21, 40, 0.7);
  color: var(--text);
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
  padding: 12px 0; /* ✅ more vertical padding, no horizontal padding since flex handles it */
}

.menuLink:hover {
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(139, 92, 246, 0.35);
  transform: translateY(-1px);
}

.menuLink:active {
  transform: translateY(0px);
  background: rgba(34, 211, 238, 0.16);
  border-color: rgba(34, 211, 238, 0.35);
}

/* Accessibility: keyboard focus ring */
.menuLink:focus-visible {
  outline: 2px solid rgba(34, 211, 238, 0.6);
  outline-offset: 2px;
}

/* SEARCH ROW (UNDER EVERYTHING) */
.header__bottom {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  margin-left: 10px;
}

.header__bottom .input {
  width: 360px;
}

html {
  scroll-behavior: smooth;
}

#shop {
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  padding: 10px;
}

#storeName {
  display: inline-block;
  max-width: 160px;      /* ✅ controls wrapping width */
  word-break: keep-all;
  white-space: normal;   /* ✅ allows wrapping */
  overflow-wrap: break-word;
  line-height: 1.1;
}

.logo {
  height: 100px;
  width: auto;
  flex-shrink: 0;   /* ✅ prevents logo squishing */
}

.brand span {
  word-break: break-word;   /* ✅ allows text wrapping */
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0; 
  font-size: 20px; 
  letter-spacing: 0.2px; 
}

.sub { 
  margin: 4px 0 0; 
  color: var(--muted); 
  font-size: 13px; 
}

.controls {
  margin: 18px 0 16px;
  display: flex; gap: 12px; 
  align-items: center; 
  justify-content: space-between; 
  flex-wrap: wrap;
}

.controls__left { 
  display: flex; 
  gap: 10px; 
  flex-wrap: wrap; 
}

.input, .select {
  background: rgba(17, 21, 40, 0.8);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  outline: none;
}
.input { 
  width: 260px; 
}

.select { 
  min-width: 180px; 
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  padding-bottom: 40px;
} 

.card {
  width: 100%;
  background: linear-gradient(180deg, rgba(18, 26, 51, 0.95), rgba(17, 21, 40, 0.95));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transition: transform .15s ease, border-color .15s ease;
  cursor: pointer;
} 
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;   /* ✅ fills vertical space */
}

.card:hover { 
  transform: translateY(-3px); 
  border-color: rgba(139, 92, 246, 0.35); 
}

.card__img {
  width: 100%;
  height: 250px;
  object-fit: contain;   /* ✅ no cropping */
  background: rgba(0,0,0,0.25); /* ✅ gives contrast */
  padding: 8px;         /* ✅ prevents edge cutoff */
}

.card__title { 
  margin: 0; 
  font-size: 16px; 
  font-weight: 700; 
  text-align: center; 
}

.card__meta {
  display: flex;
  flex-direction: column;
  align-items: center;   /* ✅ center everything */
  gap: 4px;
}

/* Default tumbler text */
.defaultTumbler {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Price wrapper */
.priceWrap {
  text-align: center;
}

/* Price styling (optional upgrade) */
.price {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand3);
}

.badge {
  font-size: 12px; color: var(--muted);
  border: 1px solid var(--line);
  padding: 8px 2px; border-radius: 999px;
    display: none;   /* ✅ hides category */
}

.price { 
  font-weight: 700; 
}

.compare { 
  margin-left: 8px; 
  color: var(--muted); 
  text-decoration: line-through; 
  font-size: 13px; 
}

.card__desc { 
  margin: 0; 
  color: var(--muted); 
  font-size: 13px; 
  line-height: 1.35; 
}

.card__actions {
  display: none;
  justify-content: center;   /* ✅ center horizontally */
  gap: 10px;
  margin-top: auto;          /* ✅ pushes to bottom */
  padding: 10px 0 12px;   /* ✅ clean balanced spacing */
}

.card__actions .btn {
  flex: 1;
  max-width: 120px;
}

.btn {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
  background: rgba(17, 21, 40, 0.8);
  color: var(--text);
  cursor: pointer;
}

.btn--primary {
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  border-color: transparent;
  font-weight: 700;
}

.btn--ghost { 
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  border-color: transparent;
  font-weight: 700;
}

.btn--emailorder {
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  border-color: transparent;
  color: white; 
  font-weight: 700;
}


.btn[data-view] {
  background: linear-gradient(90deg,var(--brand), var(--brand2)); 
  border-color: transparent;
  color: white;
  opacity: 0.8;
}

.btn[data-view]:hover {
  opacity: 1;
}

.btn[data-add] {
  background: linear-gradient(90deg, var(--brand2), var(--brand)); /* ✅ orange gradient */
  border-color: transparent;
  color: white;
  opacity: 0.8;
}

.btn[data-add]:hover {
  opacity: 1;
}

.pill {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(139, 92, 246, 0.35);
  font-size: 12px;
}

.muted { 
  color: var(--muted); 
}

.small { 
  font-size: 12px; 
}
#shop {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 10px;
}

.productSection {
  width: 100%;
  scroll-margin-top: 120px; 
}

.productSection__title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 12px;
  background: rgba(139,92,246,.15);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.productSection__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.productSection__grid.collapsed {
  display: none;
}

.modal {
  position: fixed;
  left: var(--sidebar-width);
  top: 0;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: flex-start;
  padding-left: var(--sidebar-width);
  z-index: 300;   /* ✅ ABOVE header */
}

.modal[aria-hidden="false"] { 
  display: flex;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: var(--sidebar-width);                /* ✅ start after sidebar */
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
}

.modal__panel {
  position: relative;
  margin: 10px;
  padding: 10px;
  width: min(980px, calc(100% - 240px));

  max-height: min(86vh, 860px);
  overflow: auto;

  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(17, 21, 40, 0.96);
  box-shadow: var(--shadow);
}

.modal__panel--wide { 
  width: min(1100px, calc(100% - 240px)); 
}


.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 32px;            /* ✅ normal size */
  height: 32px;
  padding: 0;

  font-size: 18px;        /* ✅ standard X size */
  font-weight: 700;

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

  border-radius: 8px;
  background: transparent;
  border: none;
  box-shadow: none;

  min-width: unset;       /* ✅ overrides .iconbtn */
}


.modal__content { 
  display: grid; 
  grid-template-columns: 1.05fr 0.95fr; 
  gap: 16px; 
  padding: 16px; 
}

.gallery__main {
  width: 100%;
  height: 600px;
  object-fit: contain;  /* ✅ no crop here either */
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  padding: 8px;
}

.gallery__thumbs { 
  display: flex; 
  gap: 10px; 
  margin-top: 10px; 
  flex-wrap: wrap; 
}

.thumb {
  width: 72px; height: 54px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  cursor: pointer;
  opacity: 0.9;
}

.thumb:hover { 
  opacity: 1; 
  border-color: rgba(34, 211, 238, 0.35); 
}

.detail__title { margin: 2px 0 6px; font-size: 22px; text-align: center; }
.detail__short { margin: 0; color: var(--muted); line-height: 1.45; }
.detail__price { margin: 10px 0 12px; }
.label { display: block; margin: 8px 0 6px; color: var(--muted); font-size: 12px; }
.detail__row { margin: 10px 0; }
.detail__cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 6px; }
.detail__section { margin-top: 14px; }
.detail__desc { color: var(--muted); line-height: 1.55; }

.list { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }

.callout {
  margin-top: 16px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(34, 211, 238, 0.08);
  color: var(--muted);
}

.drawer {
   position: fixed; 
   inset: 0; 
   display: none; 
   z-index: 200; 
  }

.drawer[aria-hidden="false"] { 
  display: block; 
}

.drawer__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65); /* slightly darker */
}

.drawer__panel {
  display: flex;
  flex-direction: column;

  position: fixed;
  top: 0;                  /* ✅ full screen */
  left: 50%;
  transform: translateX(-50%);

  width: 100%;
  max-width: 640px;
  height: 100vh;

  background: rgba(35, 40, 75, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  scroll-behavior: smooth;
  overflow-y: auto;   /* ✅ allows scrolling if content exceeds viewport */
}

.drawer__panel::after {
  content: "";
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 24px;

  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  pointer-events: none;
}

.drawer__panel::before {

  bottom: 10px;
  right: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.drawer__header { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 14px; 
  border-bottom: 1px solid var(--line); }

.drawer__header .iconbtn {
  width: 32px;
  height: 32px;
  min-width: unset;

  padding: 4px;              /* ✅ small padding */
  font-size: 16px;           /* ✅ normal icon size */

  border-radius: 8px;

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

.drawer__footer {
  padding: 10px;
  border-top: 1px solid var(--line);
  padding-bottom: 20px;   /* ✅ prevents cutoff */
  display: grid;
  gap: 6px;
}

.cart {
  padding: 2px;
  display: grid;
  gap: 2px;
}

.cart--active {
  border: 3px solid #22d3ee;   /* ✅ bright outline */
  background: rgba(34, 211, 238, 0.1);
}

.cart__badge {
  background: #22d3ee;
  color: black;
  font-size: 11px;
  font-weight: 800;
  transform: none;
}

.cart--bounce {
  animation: cartBounce 0.4s ease;
}

@keyframes cartBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.cartItem { 
  border: none; 
  border-bottom: 2px solid rgba(255,255,255,0.25); /* ✅ more visible */
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-radius: 0px; 
  padding: 8px; 
  display: grid; 
  gap: 4px; 
}

.cartItem button {
  width: 28px;            /* ✅ normal size */
  height: 28px;
  padding: 0;

  font-size: 16px;        /* ✅ smaller icon/text */
  font-weight: 600;

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

  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--line);
  box-shadow: none;

  min-width: unset;       /* ✅ overrides .iconbtn */
}

.cartItem__unitPrice {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
}

.cartItem__price {
  font-weight: 700;
  text-align: right;
  min-width: 60px;
}

.cartItem__row--top {
  display: grid;
  grid-template-columns: 48px 1fr auto auto; /* ✅ add extra column */
  align-items: center;
  gap: 8px;
}

.cartItem__img {width: 48px; height: 48px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,0.2);}
.cartItem__info {min-width: 0; /* prevents overflow */}
.cartItem__name { font-weight: 14px; }
.cartItem__meta { color: var(--muted); font-size: 11px; }
.qty { display: flex; gap: 6px; align-items: center; }
.qty button { padding: 6px 10px; border-radius: 12px; }
.totals { display: flex; justify-content: space-between; align-items: center; }

.media { padding: 18px; display: grid; gap: 14px; }
.mediaCard { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: rgba(18, 26, 51, 0.7);}
.mediaCard__title { padding: 12px 12px 0; margin: 0; font-size: 14px; color: var(--muted); }
.mediaCard__body { padding: 12px; }
.media iframe, .media video { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 14px; }


.sectionTitle {
  font-size: 20px;
  margin-bottom: 12px;
  
}

/* Reviews */
.reviews {
  background: rgba(17, 21, 40, 0.6);
  padding: 16px;
  border-radius: 18px;
  gap: 10px;
  margin-left: 10px;
}


.reviews__list {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px;
}

.reviewCard {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 10px;
  background: white;
  color: #111;
  gap: 10px;
}

.reviewName {
  font-weight: 700;
  font-size: 14px;
}

.reviewRating {
  color: gold;
  font-size: 13px;
  font-weight: 600;
  min-width: 30px;   /* ✅ smaller width */
  padding: 6px 8px;  /* ✅ tighter spacing */
}

.reviewMessage {
  font-size: 13px;
  color: #444;
  margin-top: 4px;
}
.reviewForm .input,
.reviewForm .textarea {
  width: 100%;
}

.reviewForm {
  display: grid;
  max-width: 600px;
  width: 100%;
  gap: 8px;
}

/* Contact Form */
.contactLayout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 10px;
}

.contactFormSection {
  margin-top: 0;
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(17, 21, 40, 0.6);
  box-shadow: var(--shadow);
}

#contact{
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  background: rgba(17, 21, 40, 0.6);
  box-shadow: var(--shadow);
}

.contactFormSection .input {
  width: 100%;
  max-width: 100%;
}

.captchaContainer {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.captchaLabel {
  display: block;
  text-align: center;
  padding: 12px;
  margin: 0;
  margin-bottom: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
}

#captchaAnswer {
  margin-top: 0;
  width: 100%;
}

.BizIconImg {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.businessInfo {
  margin-left: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#resultCount {
  font-size: 16px;   /* ✅ increase size */
  font-weight: 600;  /* optional: make it bolder */
}


.customOrder__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.customOrder {
  margin-top: 28px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(17, 21, 40, 0.6);
}

.customOrder__preview {
  margin-top: 12px;
}

.tumblerGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
  gap: 10px;
  margin-top: 10px;
}

.tumblerOption {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: 0.15s ease;
  background: rgba(255,255,255,0.03);
}

.tumblerOption img {
  width: 100%;
  height: 90px;
  object-fit: contain;
}

.tumblerOption p {
  font-size: 11px;
  margin-top: 4px;
}

.tumblerOption:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.tumblerOption.active {
  border: 2px solid var(--brand2);
  background: rgba(34, 211, 238, 0.15);
}

.customForm {
  display: grid;
  gap: 2px;
  max-width: 520px;
  margin-top: 20px; /* ✅ pushes form below the tumbler images */
}

.customForm label {
  font-size: 12px;
  color: var(--muted);
}

.colorInput {
  height: 44px;
  padding: 4px 6px;
  min-width: 120px;
}

.basePreview {
  text-align: center;
  margin: 10px 0;
}

.basePreview img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  margin-bottom: 4px;
}

.tumblerGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.tumblerOption {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: .15s;
}

.tumblerOption img {
  width: 80px;
  height: 90px;
  object-fit: contain;
}

.tumblerOption.active {
  border: 2px solid var(--brand2);
  background: rgba(34,211,238,0.15);
}

.tumblerOption:hover {
  transform: translateY(-2px);
}

.footer {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  margin-left: (var(--sidebar-width) + 10px);
  padding: 20px 0;
  background: linear-gradient(180deg, #0f172a, #0b0d12);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#orderMessage {
  color: #22c55e;  /* green (success) */
}

#orderMessage.error {
  color: #ef4444;  /* red (error) */
}

.formRow {
  display: flex;
  align-items: center;
  gap: 2px;   /* ✅ reduce horizontal spacing */
  margin-bottom: 2px;  /* ✅ tighter vertical spacing */
}

.formRow label {
  width: 120px;   /* ✅ fixed width for alignment */
  font-size: 12px;
  color: var(--muted);
}

.formRow input {
  padding: 2px;   /* ✅ smaller height */
  height: 34px;       /* ✅ consistent height */
}

.formRow select {
  flex: 1;          /* ✅ makes dropdown fill remaining space */
  height: 34px;     /* ✅ matches input height */
  padding: 6px 8px;
}

.formRow input,
.formRow select,
.formRow textarea {
  flex: 1;        /* ✅ input takes remaining space */
}


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

.cart::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
}

.cityStateZipFields {
  display: flex;
  gap: 6px;
  flex: 1;
}

.cityStateZipFields input {
  flex: 1;
}

/* Optional sizing for better proportions */
.cityStateZipFields input:nth-child(1) {
  flex: 2; /* City bigger */
}

.cityStateZipFields input:nth-child(2) {
  flex: 1; /* State */
  max-width: 70px;
}

.cityStateZipFields input:nth-child(3) {
  flex: 1; /* Zip */
  max-width: 90px;
}

.card__imgWrap {
  position: relative;
  cursor: pointer;
}

.card__imgWrap:hover {
    transform: scale(1.02);
}

.statusBadge {
    position: absolute;
    top: 10px;
    right: 10px;

    padding: 6px 10px;

    border-radius: 999px;

    color: white;
    font-size: 11px;
    font-weight: 700;

    box-shadow: 0 2px 8px rgba(0,0,0,.25);

    z-index: 10;
}

.statusBadge--instock {
    background: #22c55e;
}

.statusBadge--takingorders {
    background: #eb2323;
}

.statusBadge--custom {
    background: #8b5cf6;
}

.statusBadge--soldout {
    background: #000000;
}

/* optional: slightly dim image */
.soldOut img {
  filter: brightness(0.6);
}

@keyframes fadeInOverlay {
  from {
    opacity: 0;
    transform: scale(0.95);   /* ✅ slight zoom effect */
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes fadeInRibbon {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-25deg) scale(0.9);
  }
  to {
    opacity: 0.7;
    transform: translate(-50%, -50%) rotate(-25deg) scale(1);
  }
}











/* ===============================
   MOBILE
================================= */
@media (max-width: 768px) {
  
  :root {
    --sidebar-width: 70px;
    --header-height: 140px;
  }

  .sideMenu {
    width: 70px !important;
    padding: 8px 6px;
  }

  .sideMenu__text,
  #storeName {
    display: none !important;
  }

  .sideMenu__link {
    justify-content: center !important;
    padding: 12px 0 !important;
    gap: 0 !important;
  }

  .sideMenu__icon {
    min-width: 0 !important;
    width: auto !important;
    font-size: 24px !important;
  }

  .menuIconImg {
    width: 26px !important;
    height: 26px !important;
  }

  main.container,
  .footer {
    margin-left: 70px !important;
    width: 100% !important;
  }

  main.container {
    margin-top: var(--header-height);   /* ✅ match your header height */
    margin-left: var(--sidebar-width);
  }

  .menu {
    max-width: 100%;
  }

  .header__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
  }

  .logo {
    height: 50px;
  }

  .menu {
    grid-column: 1 / -1;   /* ✅ move menu to new row */
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* ✅ 3 across */
    gap: 6px;
    margin-top: 6px;
  }

  /* ✅ smaller buttons */
  .menuLink {
    font-size: 12px;
    padding: 6px 4px;
    width: 100%;
  }

  .header {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 0;
    align-items: stretch;
  }

  /* ===============================
     HEADER BOTTOM LAYOUT
  =============================== */
  .header__bottom {
    display: flex;
    flex-direction: column;        /* ✅ stack into rows */
    align-items: stretch;
    width: 100%;
    margin-left: 8px;
  }

  /* ===============================
     SEARCH ROW (TOP)
  =============================== */
  #searchInput {
    width: 100%;                  /* ✅ full width */
  }

  /* ===============================
     FILTER ROW (BOTTOM)
  =============================== */
  .header__filters {
    display: flex;
    gap: 6px;
    align-items: center;
    justify-content: space-between; /* ✅ evenly spread */
    width: 100%;
  }

  /* Dropdowns */
  .header__filters .select {
    flex: 1;                      /* ✅ share available space */
    min-width: 0;                 /* ✅ prevents overflow */
    height: 34px;
    padding: 6px 8px;
  }

  /* Result count */
  #resultCount {
    font-size: 12px;
    white-space: nowrap;
  }


  .header.input,
  .header.select {
    width: 100%;   /* ✅ full width */
  }

  #storeName {
    display: none;   /* ✅ hides store name on mobile */
  }

  /* ✅ Remove body offset entirely */
  body {
    padding-left: 0;
    padding-top: 0;
    margin-left: (var(--sidebar-width))
  }

  /* ✅ Sidebar */
  .sideMenu {
    width: var(--sidebar-width);
    height: 100%;
    z-index: 100;
  }

  main,
  .footer, 
  .header {
    margin-left: 0;
    width: 100%;
    padding-left: 0;   /* ✅ prevents inner spacing gap */
    margin-left: 0;
    width: 100%;
    left: var(--sidebar-width);
  }
  

    .drawer {
    z-index: 9999;   /* above side menu */
  }

  .drawer__overlay {
    z-index: 10000;
  }

  .drawer__panel {
    top: 0px;
    height: 100vh;
    width: 95%;
    max-width: 95%;
    z-index: 10001;
    left: 50%;
    transform: translateX(-50%);
    overflow-y: scroll;   /* ✅ WHOLE cart scrolls */
    -webkit-overflow-scrolling: touch; /* ✅ smooth scrolling on iOS */
    border-radius: 0;
  }

  .drawer__panel::-webkit-scrollbar {
    width: 6px;
  }

  .drawer__panel::-webkit-scrollbar-track {
    background: transparent;
  }

  .drawer__panel::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
  }

  .drawer__footer .formRow {
    flex-direction: row;        /* ✅ stay side-by-side */
    align-items: center;
    gap: 6px;
  }

  .drawer__footer .formRow label {
    width: 90px;                /* ✅ smaller label width */
    font-size: 11px;
  }

  .drawer__footer .formRow input {
    flex: 1;
  }

  .drawer__footer .formRow {
    flex-direction: row;   /* ✅ keep inline */
    align-items: center;
  }

  .drawer__footer .formRow label {
    width: 80px;           /* ✅ consistent label width */
  }


  .drawer__footer .cityStateZipFields {
    display: flex;
    flex-direction: row;     /* ✅ force same row */
    flex-wrap: nowrap;       /* ✅ PREVENT wrapping */
    gap: 4px;
    width: 100%;
  }

  .drawer__footer .cityStateZipFields input {
    min-width: 0;            /* ✅ CRITICAL: allows shrinking */
  }

  /* size balance */
  .drawer__footer .cityStateZipFields input:nth-child(1) {
    flex: 2;                 /* City bigger */
  }

  .drawer__footer .cityStateZipFields input:nth-child(2) {
    flex: 1;
    max-width: 60px;         /* State */
  }

  .drawer__footer .cityStateZipFields input:nth-child(3) {
    flex: 1;
    max-width: 90px;         /* Zip */
  }

  .cityStateZipFields {
    flex-direction: row;   /* ✅ keep inline */
    gap: 4px;
  }

  .cityStateZipFields input {
    min-width: 0;          /* ✅ prevents overflow */
  }

  .formRow {
    flex-direction: column;
    align-items: flex-start;
  }

  .formRow label {
    width: 100px;   /* ✅ slightly smaller */
    font-size: 11px;
    line-height: 1;
  }

  .customOrder__layout {
    grid-template-columns: 1fr;
  }

  .tumblerGrid {
    grid-template-columns: repeat(2, 1fr); /* ✅ 2 columns on mobile */
  }

  .customForm {
    max-width: 100%;
  }

  .card { 
    grid-column: auto; 
  }
  
  .modal {
    justify-content: center;
    padding-left: 0 !important;   /* ✅ ignore sidebar offset */
  }

  .modal__panel {
    width: 100% !important;       /* ✅ full width */
    max-width: 100% !important;

    margin-left: 0 !important;    /* ✅ ignore sidebar push */
    margin-top: 80px;             /* ✅ below header */

    border-radius: 16px;
  }

    .modal__overlay {
    left: 0 !important;   /* ✅ cover full screen */
    right: 0 !important;
  }

  .modal__content { 
    grid-template-columns: auto; /* ✅ 2 columns on mobile */ 
  }

  .gallery__main {
    height: 260px;          /* ✅ smaller image */
    max-height: 300px;
    object-fit: contain;
  }

  /* stack layout for better spacing */
  .modal__content {
    grid-template-columns: 1fr;
    gap: 10px;
  }

   .modal__close {
    position: absolute;
    top: 10px;
    right: 10px;

    width: 32px;            /* ✅ normal size */
    height: 32px;
    padding: 0;

    font-size: 18px;        /* ✅ standard icon size */
    font-weight: 700;

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

    border-radius: 8px;
    background: transparent;
    border: none;
    box-shadow: none;
    cursor: pointer;
  }


  .card {
    grid-column: auto;   /* ✅ prevents forced full-width cards */
  }

  .input { width: 100%; }

  .statusBadge {
        top: 4px;
        right: 4px;

        padding: 2px 5px;

        font-size: 8px;
        line-height: 1.1;
    }

  .productSection__grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    width: 100% !important;
    gap: 10px;
  }

  .productSection__grid > .card {
    width: 100% !important;
    min-width: 0;
  }

  .card__title {
    min-height: 48px;
  }

  .card__imgWrap {
    width: 100%;
    height: 160px;
  }


  .card {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .card__imgWrap {
    height: 170px;
    overflow: hidden;
  }

  .card__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .card__title {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .card__desc {
    display: none;
  }

  .card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
  }


  #shop {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
  }


  .tumblerGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);   /* ✅ ALWAYS 3 columns */
    gap: 8px;
  }

  .menuLink {
    padding: 10px 14px;
    font-size: 14px;
    HEIGHT: 34px; /* ✅ slightly taller for mobile */
  }
  .footer{
    z-index: 999;
  }
  /* Make footer full width layout */
  .footer__content {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .contactLayout {
    display: flex;
    flex-direction: column;
  }

  #messageUs {
    order: 1;
  }

  #contact {
    order: 2;
    margin-top: 20px;
  }



.sideMenu {
    display: flex;
    flex-direction: column;
  }

  /* ✅ pushes seal to bottom */
  .sideMenu__seal {
    margin-top: auto;
    display: flex;
    justify-content: center;
    padding: 10px 0;
  }

  /* optional: scale smaller for mobile */


  #siteseal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: auto;
    z-index: 9999;
    transform: scale(0.4);
    transform-origin: left;

  }



  /* ✅ Ensure wrapper doesn't center it */
  .footer__content > div {
    text-align: left !important;
    width: 100%;
  }

}

@media (max-width: 1024px) {
  #shop {
    grid-template-columns: repeat(3, 1fr);  /* tablets */
  }
}


/* Discount code controls */
.discountBox{margin:8px 0;padding:12px;border:1px solid var(--line);border-radius:14px}.discountBox__controls{display:flex;gap:8px;flex-wrap:wrap}.discountBox__controls .input{flex:1;min-width:160px;text-transform:uppercase}.discountMessage{min-height:18px;margin:6px 0 0;font-size:12px}.discountMessage--success,.totals--discount{color:#6ee7b7}.discountMessage--error{color:#fca5a5}


/* Discount removal cleanup */
#cartDiscountRow[hidden], #removeDiscountBtn[hidden] { display: none !important; }

/* =========================================================
   PRODUCT BADGES - FINAL OVERRIDES
   Matches markup generated by app.js
========================================================= */
.card__imgWrap {
  position: relative;
}

.productBadges {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  z-index: 50 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 6px !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  opacity: 1 !important;
  pointer-events: none;
}

.productBadge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 6px 10px !important;
  margin: 0 !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
  opacity: 1 !important;
  filter: none !important;
  box-shadow: 0 3px 10px rgba(0,0,0,.4) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.35) !important;
  white-space: nowrap !important;
}

.productBadge--new {
  background: #f59e0b !important;
  background-color: #f59e0b !important;
  border-color: #fbbf24 !important;
  color: #111827 !important;
}

.productBadge--instock {
  background: #16a34a !important;
  background-color: #16a34a !important;
}

.productBadge--taking {
  background: #dc2626 !important;
  background-color: #dc2626 !important;
}

.productBadge--custom {
  background: #7c3aed !important;
  background-color: #7c3aed !important;
}

.productBadge--soldout {
  background: #111827 !important;
  background-color: #111827 !important;
}

@media (max-width: 768px) {
  .productBadges {
    top: 4px !important;
    right: 4px !important;
    gap: 3px !important;
  }

  .productBadge {
    padding: 3px 6px !important;
    font-size: 8px !important;
  }
}
