:root {
  --font-primary: "Afacad Flux", sans-serif;  /* default font */
  --font-secondary: 'Poiret One', sans-serif;       /* secondary font */
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

body {
  padding-top: 110px; /* same as navbar height */
  font-family: "Afacad Flux", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
  "slnt" 0;
  background: #FCF5EF; /* #FDF2F1; */

.page-content {
    margin-top: 0px; /* default for md and above */
}

@media (max-width: 767.98px) { /* below md */
    .page-content {
        margin-top: -20px;
    }
}

@media (max-width: 550.98px) { /* below sm */
    .page-content {
        margin-top: -40px;
    }
}


/* FLASH MESSAGES */
.flash-message {
  position: fixed;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1050;
  width: fit-content;
  text-align: center;
  padding-left: 2rem;
  padding-right: 2rem;
  border-radius: 30px;
  font-size: 1.2rem;
}

.footer-color {
    background-color: #eab676;
}
.footer-text-color {
    color: #333
}




/* ----------- NAVBAR ------------*/

/* Make the dropdown container rounded */
.dropdown-menu {
  border-radius: 35px !important;
  overflow: hidden; /* ensures inner items respect rounding */
  padding: 0;
}

/* Dropdown items styling */
.dropdown-menu .dropdown-item {
    padding-left: 2rem;
    padding-right: 1rem;
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
    transition: background-color 0.2s, color 0.2s;
}

/* Hovered item color */
.dropdown-menu .dropdown-item:hover {
    background-color: #66cdaa;
    color: white; /* optional for readability */
}

/* Selected / active item color */
.dropdown-menu .dropdown-item.active,
.dropdown-menu .dropdown-item:active {
    background-color: #ff8800;
    color: white; /* ensures text is readable */
}

/* Optional: custom search input styling inside dropdown */
.dropdown-menu-search input.form-control[type="search"] {
    font-family: 'Poiret One', cursive !important;
    outline: none;
    box-shadow: none;
}
/* Profile row hover: green */
.dropdown-menu table tr.profile-row td:hover {
    background-color: #66cdaa !important;
}

.dropdown-menu table tr.profile-row td:hover a {
    color: white !important;
}

/* Logout row hover: darker red */
.dropdown-menu table tr.logout-row td:hover {
    background-color: #c00000 !important; /* dark red hover */
}

.dropdown-menu table tr.logout-row td:hover a {
    color: white !important;
}

/* NAVBAR */
.navbar {
    padding-top: 0.5rem !important;   /* adjust top/bottom padding */
    padding-bottom: 0.5rem !important;
    /* max-height: 100px !important;       /* or whatever fits your design */
}

.navbar-nav .nav-item {
    margin-right: 30px; /* space between items */
    font-family: 'Afacad Flux', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
}


/* --- Navbar styles --- */
.navbar-brand img {
  height: 90px;
}

/* --- Responsive adjustments --- */
@media (max-width: 768px) {
  .navbar-brand img {
    height: 60px !important;
  }
}

/* Desktop >= 992px (lg) */
.desktop-only { display: flex !important; }
.d-block.d-lg-none { display: none !important; }

/* Mobile < 992px */
@media (max-width: 991.98px) {
    .desktop-only { display: none !important; }
    .d-block.d-lg-none { display: block !important; }
}


/* UNDERLINE HOVERED TEXT */
.hover-underline {
  position: relative;
  text-decoration: none; /* remove default underline */
  color: inherit;
}

.hover-underline::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px; /* thickness of the underline */
  left: 0;
  bottom: 0.2rem;
  background-color: currentColor; /* same color as text */
  transition: width 0.3s ease;
}

.hover-underline:hover::after {
  width: 100%;
}


/* -------- SMALL SCREENS NAVBAR ADJUSTMENT---------- */
/* Shrink navbar elements on screens 550px or smaller */
@media (max-width: 550px) {
  /* Logo */
  .navbar-brand img {
    height: 50px !important; /* shrink from 80px to 60px */
  }

  /* Search button icon */
  .nav-item > .nav-link img[alt="Search"] {
    height: 16px !important; /* shrink from 25px to 16px */
  }
  .dropdown-menu form button img {
    height: 14px !important; /* shrink magnifier inside dropdown */
  }

  /* Currency button */
  #currencyDropdown {
    font-size: 0.5rem !important; /* slightly smaller text */
    padding: 0.25rem 0.5rem !important;
  }

  /* Cart icon */
  #cartDropdown img {
    height: 15px !important; /* shrink from 25px to 15px */
  }

  /* Reduce spacing between right-side buttons */
  .col-4.d-flex.justify-content-end.gap-3 {
    gap: 0.5rem !important;
  }
}


/* COLOR SELECTOR */
.color-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: 12rem;
  gap: 0;
  border-radius: 1.6rem;
  overflow: hidden;
}

/* color boxes fill the grid cells */
.color-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;

  /* only inner borders */
  border-right: 1px solid #999;
  border-bottom: 1px solid #999;
}

/* remove right border on last column */
.color-box:nth-child(5),
.color-box:nth-child(10) {
  border-right: none;
}

/* remove bottom border on last row */
.color-box:nth-child(n+6) {
  border-bottom: none;
}

.color-box.selected {
  outline: 2px solid #555; /* thicker highlight when selected */
  transform: scale(1.05);
}

.color-box input {
  display: none;
}

.color-box:hover {
  transform: scale(1.06);
  z-index: 1;
}




/* FONT */

.fake-bold {
    font-weight: 700; /* normal weight */
    text-shadow:
    0 0 0.5px currentColor,
    0 0 0.5px currentColor;
}

.poiret-one-regular {
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.afacad-flux {
    font-family: "Afacad Flux", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
    "slnt" 0;
}
.macondo-regular {
  font-family: "Macondo", cursive;
  font-weight: 400;
  font-style: normal;
}

.overlock-regular {
  font-family: "Overlock", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.overlock-bold {
  font-family: "Overlock", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.overlock-black {
  font-family: "Overlock", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.overlock-regular-italic {
  font-family: "Overlock", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.overlock-bold-italic {
  font-family: "Overlock", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.overlock-black-italic {
  font-family: "Overlock", sans-serif;
  font-weight: 900;
  font-style: italic;
}

// <weight>: Use a value from 300 to 900
// <uniquifier>: Use a unique and descriptive class name

.merienda {
  font-family: "Merienda", cursive;
  font-weight: 400;
}

.snippet-regular {
  font-family: "Snippet", sans-serif;
  font-weight: 400;
  font-style: normal;
}




/* SIDEBAR */
.sidebar {
  position: sticky;
  top: 0rem; /* distance from top before it sticks */
  max-height: 100vh;   /* or calc(100vh - top offset) */
  overflow-y: auto; /* only if sidebar has long content */
  color: inherit;
  /* Firefox */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Chrome, Safari, Edge */
.sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar .nav-link {
  color: inherit;
}

.menu .divider {
  border-bottom: 1px solid #ccc;
  margin: 5px 0;
  list-style: none; /* removes bullet */
  height: 0;
}



/* Product grid layout */
.grid-item {
  /* border: 1px solid #ddd; */
  padding: 10px;
}

.carousel {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
  overflow: hidden;
}

.card img,
.carousel img {
  width: 100%;
  height: 300px; /* or whatever uniform height you like */
  object-fit: cover; /* fills the box and crops overflow */
  object-position: center;
}

.card {
  border-radius: 0.55rem;
}

.breadcrumb.text-secondary .breadcrumb-item a {
  color: inherit; /* inherit from parent .breadcrumb */
  text-decoration: none; /* optional: remove underline */
}

.breadcrumb.text-secondary .breadcrumb-item.active {
  color: inherit;
  font-weight: 500; /* optional for emphasis */
}

.row.align-items-baseline.mb-3 .col-md-9.text-end {
  padding-right: 0.75rem; /* or margin-right: 0.75rem; */
}





/* ACCORDION */
.accordion-button.afacad-flux {
  font-size: 0.9rem; /* smaller font */
  padding: 0.5rem 1rem; /* less tall buttons */
    color: #666;

}

.accordion-body-text {
  font-family: "Poiret One", sans-serif;
  font-size: 0.85rem; /* smaller body font */
  line-height: 1.4;
  border-radius: 0;
  overflow: visible;
}

.accordion-body-text .accordion-item {
  border: none;
  border-bottom: 1px solid #dee2e6;
  box-shadow: none;
}

.accordion-body-text .accordion-item:last-child {
  border-bottom: none;
}

/* Round top corners of first accordion item */
.accordion-item:first-child {
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  overflow: hidden; /* to clip child elements */
}

.accordion-item:first-child .accordion-button {
  border-top-left-radius: 2rem !important;
  border-top-right-radius: 2rem !important;
}

/* Round bottom corners of last accordion item */
.accordion-item:last-child {
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
  overflow: hidden;
}

/* Change expanded button background color */
.accordion-button:not(.collapsed) {
    background-color: rgba(251, 231, 216, 1);

  /* background-color: #66cdaa; /* green when expanded */
  color: #666;
}

/* Optional: border color of expanded item */
.accordion-item {
  border: 1px solid #2e8b57;
  border-bottom: 1px solid #dee2e6;
}





/* === GLOBAL BUTTON STYLING === */
.admin-buttons-overlay {
    position: absolute;
    top: 10px;        /* distance from top of image */
    right: 10px;      /* distance from right edge */
    z-index: 20;      /* above carousel images */
}
.admin-buttons-overlay .btn {
    opacity: 0.85;    /* slightly transparent */
}
.admin-buttons-overlay .btn:hover {
    opacity: 1;       /* fully visible on hover */
}




/* Base button reset */
.btn {
  position: relative;
  display: inline-block;
  padding: 0.6em 1.5em;

  background-color: white;
  color: grey;
  border: 0px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 8px rgba(255,255,255,1);
  font-style: italic;
  font-weight: 200;

  /* color: #fff;
  background: #2e8b57; /* base leaf green */
  border: none;
  border-radius: 2em 1em 2em 1em; /* TL TR BR BL */
  overflow: hidden;
  /* font-weight: 500;
  letter-spacing: 0.3px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* subtle base shadow */

  transition:
    background 0.3s ease,
    transform 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    border-radius 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    box-shadow 0.3s ease;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: rgba(255, 165, 0, 0.3); /* orange shine */
  transform: skewX(-25deg) translateX(100%);
  transition: transform 0.4s ease;
}

.btn:hover {
  background: #ff8800; /* hover orange */
  border-radius: 2em 0.3em 2em 0.3em; /* Sharpen TR + BL */
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); /* stronger hover shadow */
}

.btn:hover::before {
  transform: skewX(-25deg) translateX(0);
}

.btn:active {
  transform: scale(0.97);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25); /* pressed shadow */
}

/* OUTLINE BUTTON VARIANT */
/* Outline version of your fancy button */
.btn-outline {
  position: relative;
  display: inline-block;
  padding: 0.6em 1.5em;

  background-color: white;
  color: grey;
  border: 0px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 8px rgba(255,255,255,1);
  font-style: italic;
  font-weight: 200;
  border: 2px solid rgba(241, 221, 206, 0.5);

  /* color: #2e8b57; /* base leaf green text */
  /* background: transparent; /* no fill */
  /* border: 2px solid #2e8b57; */
  border-radius: 2em 1em 2em 1em;
  overflow: hidden;
  /* font-weight: 500; */
  letter-spacing: 0.3px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    border-radius 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    box-shadow 0.3s ease;
}

/* Orange shine */
.btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: rgba(255, 165, 0, 0.3);
  transform: skewX(-25deg) translateX(100%);
  transition: transform 0.4s ease;
}

/* Hover effects */
.btn-outline:hover {
  background: rgba(255, 136, 0, 0.1); /* soft orange tint */
  color: #ff8800; /* text changes to orange */
  border-color: #ff8800;
  border-radius: 2em 0.3em 2em 0.3em;
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.btn-outline:hover::before {
  transform: skewX(-25deg) translateX(0);
}

/* Active state */
.btn-outline:active {
  transform: scale(0.97);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}




/* CIRCULAR BUTTON */
.btn-circle {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;       /* fixed width for circle */
  height: 2.5rem;      /* fixed height for circle */

  background-color: white;
  color: grey;
  border: 0px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 8px rgba(255,255,255,1);
  font-style: italic;
  font-weight: 200;
  border: 1px solid rgba(255, 165, 0, 0.3);

  /* color: #fff;
  background: #2e8b57; /* base leaf green */
  /* border: none; */
  border-radius: 50%;   /* makes it a circle */
  overflow: hidden;
  font-weight: 700;
  letter-spacing: 0.3px;
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* subtle base shadow */
  transition:
    background 0.3s ease,
    transform 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    border-radius 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55),
    box-shadow 0.3s ease;
  flex-shrink: 0;
}

.btn-circle::before {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  width: 60%;
  height: 100%;
  background: rgba(255, 165, 0, 0.3); /* orange shine */
  transform: skewX(-25deg) translateX(100%);
  transition: transform 0.4s ease;
}

.btn-circle:hover {
  background: #ff8800; /* hover orange */

  color: white;

  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); /* stronger hover shadow */
}

.btn-circle:hover::before {
  transform: skewX(-25deg) translateX(0);
}

.btn-circle:active {
  transform: scale(0.97);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25); /* pressed shadow */
}
.btn-disabled-style {
    pointer-events: none;  /* Prevent click */
    opacity: 0.2;          /* Make it look disabled */
    background-color: #6c757d; /* Bootstrap secondary gray */
    color: #fff;           /* Text color */
}

/* MOON BUTTON */
.moon {
  background-color: #222;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 4px solid #222;
  /* I set 2 shadows where the first one doesn't have blur and spread for firefox fix. */
  box-shadow: inset 0px 16px #999, inset 0px 16px 1px 1px #999;
  -moz-box-shadow: inset 0px 16px #999, inset 0px 16px 1px 1px #999;
}




/* TOGGLE ON/OFF IPHONE BUTTON */

/* Hide default checkbox */
.form-check-input[type="checkbox"] {
  display: none;
}

/* Toggle track */
.toggle {
  position: relative;
  display: inline-block;
  width: 3rem;        /* 48px */
  height: 1.5rem;     /* 24px */
  border-radius: 0.75rem; /* half of height */

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

  /* background: #2e8b57; /* leaf green OFF */
  cursor: pointer;
  box-shadow: 0 0.15rem 0.325rem rgba(0,0,0,0.2); /* 2.4px 10px */
  transition: background 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

/* Knob */
.toggle::before {
  content: "";
  position: absolute;
  top: 0.15rem;       /* 2.4px */
  left: 0.15rem;      /* 2.4px */
  width: 1.2rem;      /* 19.2px */
  height: 1.2rem;     /* 19.2px */
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0.075rem 0.225rem rgba(0,0,0,0.3); /* 1.2px 3.6px */
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Shine effect */
.toggle::after {
  content: "";
  position: absolute;
  top: 0;
  right: -6px;
  width: 60%;
  height: 100%;
  background: rgba(255,165,0,0.3);
  transform: skewX(-25deg) translateX(100%);
  transition: transform 0.4s ease;
}

/* Checked (ON) state */
.form-check-input:checked + .toggle {
  background: #ff8800; /* orange ON color */
  box-shadow: 0 0.225rem 0.675rem rgba(255,165,0,1); /* 3.6px 10.8px */
}

.form-check-input:checked + .toggle::before {
  transform: translateX(1.5rem); /* fixed parentheses syntax */
}

.form-check-input:checked + .toggle::after {
  transform: skewX(-25deg) translateX(0);
}

/* Optional hover effect */
.toggle:hover {
  box-shadow: 0 0.225rem 0.975rem rgba(255,165,0,1);
}

/* Center the toggle vertically in flex containers */
.form-check {
  display: flex;
  align-items: center;
}

.toggle {
  vertical-align: middle;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  top: 0; /* reset any weird offset */
}

/* SAMLLER TOGGLE IPHONE BTN */
/* Hide default checkbox for this toggle */
.form-check-input[type="checkbox"] {
  display: none;
}

/* Toggle track — 70 % of original size */
.toggle-small {
  position: relative;
  display: inline-block;
  width: 2.1rem;          /* 3 rem × 0.7  ≈ 33.6 px */
  height: 1.05rem;        /* 1.5 rem × 0.7 ≈ 16.8 px */
  border-radius: 0.525rem;
  background: #2e8b57;    /* leaf-green OFF */
  cursor: pointer;
  box-shadow: 0 0.105rem 0.44rem rgba(0,0,0,0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

/* Knob */
.toggle-small::before {
  content: "";
  position: absolute;
  top: 0.105rem;
  left: 0.105rem;
  width: 0.84rem;
  height: 0.84rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0.0525rem 0.1575rem rgba(0,0,0,0.3);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* Shine effect */
.toggle-small::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: rgba(255,165,0,0.3);
  transform: skewX(-25deg) translateX(100%);
  transition: transform 0.4s ease;
}

/* Checked (ON) state */
.form-check-input:checked + .toggle-small {
  background: #ff8800; /* orange ON */
  box-shadow: 0 0.1575rem 0.4725rem rgba(0,0,0,0.3);
}

.form-check-input:checked + .toggle-small::before {
  transform: translateX(1.05rem);
}

.form-check-input:checked + .toggle-small::after {
  transform: skewX(-25deg) translateX(0);
}

/* Hover */
.toggle-small:hover {
  box-shadow: 0 0.1575rem 0.4725rem rgba(0,0,0,0.3);
}

/* Flex alignment helper */
.form-check {
  display: flex;
  align-items: center;
}

.toggle-small {
  vertical-align: middle;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  top: 0;
}


/* Tic-Tac shaped smaller button */
.btn-tictac {
  position: relative;
  display: inline-block;
  padding: calc(0.6em * 0.6) calc(1.5em * 0.6); /* 60% of original padding */

  background-color: white;
  color: grey;
  border: 0px solid rgba(255,255,255,0.2);
  box-shadow: 0 0 8px rgba(255,255,255,1);
  font-style: italic;
  font-weight: 200;

  /* color: #fff;
  background: #2e8b57; /* base leaf green */
  border: none;
  border-radius: 2em; /* perfectly rounded pill shape */
  overflow: hidden;
  /* font-weight: 500;
  letter-spacing: 0.3px;
  font-size: 0.8em; /* scale text to 60% */
  /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
  transition: background 0.3s ease,
              transform 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55),
              border-radius 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55),
              box-shadow 0.3s ease;
}

.btn-tictac::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: rgba(255, 165, 0, 0.3); /* orange shine */
  transform: skewX(-25deg) translateX(100%);
  transition: transform 0.4s ease;
}

.btn-tictac:hover {
  background: #ff8800; /* hover orange */
  border-radius: 2em; /* keep perfectly round corners */
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.btn-tictac:hover::before {
  transform: skewX(-25deg) translateX(0);
}

.btn-tictac:active {
  transform: scale(0.97);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

/* CONTACT FORM BTN */
.btn-custom-green {
    background-color: seagreen;
    border-color: seagreen;  /* optional, matches Bootstrap button */
    color: white;
}

.btn-custom-green:hover,
.btn-custom-green:focus,
.btn-custom-green:active,
.btn-custom-green:active:focus {
    background-color: #FFFFFF; /* slightly darker for hover/active */
    border-color: #FFFFFF;
    transition:
        background 0.3s ease,
        transform 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55),
        border-radius 0.25s cubic-bezier(0.68, -0.55, 0.27, 1.55),
        box-shadow 0.3s ease;
}

.btn-custom-green::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: rgba(255, 165, 0, 0.3); /* orange shine */
  transform: skewX(-25deg) translateX(100%);
  transition: transform 0.4s ease;
}

.btn-custom-gree:hover {
  background: #ff8800; /* hover orange */
  border-radius: 2em 0.3em 2em 0.3em; /* Sharpen TR + BL */
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); /* stronger hover shadow */
}



/* DETAIL PAGE THUMBNAILS COLUMN */

/* scrollable column */
.scrollable-column {
  height: 41rem;
  overflow-y: auto;
  overflow-x: hidden;

  /* hide scrollbar for all browsers */
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE / Edge */
}
.scrollable-column::-webkit-scrollbar {
  display: none;               /* Chrome / Safari */
}

/* Apply vertical fade */
.scrollable-column {
    -webkit-mask-image: linear-gradient(to bottom,
                                        rgba(0,0,0,0) 0%,
                                        rgba(0,0,0,1) 40px,
                                        rgba(0,0,0,1) calc(100% - 50px),
                                        rgba(0,0,0,0) 100%);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;

    mask-image: linear-gradient(to bottom,
                                rgba(0,0,0,0) 0%,
                                rgba(0,0,0,1) 40px,
                                rgba(0,0,0,1) calc(100% - 50px),
                                rgba(0,0,0,0) 100%);
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
}



/* SEARCH TABLE STYLE */

/* Hover effect */
.clickable-table:hover {
  /* background-color: #66cdaa;  /* Green color on hover */
  background-color: #FCD8AE;

  cursor: pointer;            /* Change cursor to pointer on hover */
  transition: background-color 0.3s ease;  /* Smooth transition */
}

/* Focused (clicked) effect */
.clickable-table:active {
  background-color: #66cdaa;  /* Green color on click */
}

/* Ensure clickable area has no padding/margin around the table */
.clickable-table {
  padding: 0;      /* Remove any internal padding */
  margin: 0;       /* Remove margin */
  border: none;    /* No border */
  width: 100%;     /* Full width */
  text-decoration: none; /* No underline */
  color: inherit;  /* Inherit text color from parent element */
  border-radius: 4px 4px 4px 4px;  /* Rounded top corners */

}

/* First table (rounded top corners) */
.first-table:hover, .first-table:active {
  border-radius: 4px 4px 4px 4px;  /* Rounded top corners */
}

/* Last table (rounded bottom corners) */
.clickable-table:last-of-type:hover, .clickable-table:last-of-type:active {
  border-radius: 4px 4px 20px 20px;  /* Rounded bottom corners */
}

/* Ensure table cells have no padding or margin for tight fit */
table td {
  padding: 0;
  margin: 0;
}

/* Optional: Style the hr element to separate the tables */
hr {
  margin: 0;
  border: none;
  border-top: 1px solid #ccc;  /* Optional: Border between tables */
}


.card {
  background-color: #FCE7D8; /* #FFF9F5 */
}

/* ID's */
#refund-return,
#general-terms,
#cancellation,
#custom-orders,
#goods-services,
#healing,
#care {
  scroll-margin-top: 140px; /* adjust based on your navbar height */
}
