@font-face {
  font-family: 'Barlow';
  src: url('/fonts/Barlow-Regular.woff2') format('woff2'),
       url('/fonts/Barlow-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Barlow';
  src: url('/fonts/Barlow-Italic.woff2') format('woff2'),
       url('/fonts/Barlow-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
}

/* SemiBold */
@font-face {
  font-family: 'Barlow';
  src: url('/fonts/Barlow-SemiBold.woff2') format('woff2'),
       url('/fonts/Barlow-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Barlow';
  src: url('/fonts/Barlow-SemiBoldItalic.woff2') format('woff2'),
       url('/fonts/Barlow-SemiBoldItalic.woff') format('woff');
  font-weight: 600;
  font-style: italic;
}

/* Bold */
@font-face {
  font-family: 'Barlow';
  src: url('/fonts/Barlow-Bold.woff2') format('woff2'),
       url('/fonts/Barlow-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Barlow';
  src: url('/fonts/Barlow-BoldItalic.woff2') format('woff2'),
       url('/fonts/Barlow-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
}

/* TODO MAYBE SET TRANSITION TIMES FOR WHEN U CHANGE DARK TO LIGHT MODE */
    :root {
  /* Backgrounds */
  --color-background: light-dark(#F5F5F5, #4D4D4D); /* main page background - lighter dark */

  --color-dark-element-bg: light-dark(#1F2A38, #0D1117);   /* used for footer, nav bar, cards, etc. */

  /* Text */
  --color-text: light-dark(#1F2A38, #F5F5F5);              /* main text */
  --color-dark-element-text: light-dark(#F5F5F5, #E0E0E0);/* text on dark elements */

  /* Links */
  --color-link: light-dark(#000, #fff); /* subtle difference from main text */
  --color-link-on-dark: light-dark(#F5F5F5, #E0E0E0);        /* links on dark bg */
  --color-link-hover: light-dark(#007f5f, #00ff99);       /* hover/focus link color */
  --color-link-hover-on-dark: light-dark(#33cc99, #00ff99);  /* hover on dark bg */
  --color-accent: light-dark(#00897B, #26A69A);
  --color-buy: light-dark(#1dad52, #0fb84f);
  --color-buy-hover: light-dark(#17b04a, #0ca445);


    --color-blu: light-dark(#0B5BD7, #3F86FF);        /* default */
  --color-blu-hover: light-dark(#1373FF, #66A8FF);  /* hover */



  --color-accent-hover: light-dark(#00c285, #00bb80);

  --color-danger: light-dark(#d62828, #ef4444);   /* bright red for light, softer red for dark */
  --color-danger-text: light-dark(#ffffff, #ffffff);

  --color-danger-hover: light-dark(#b71c1c, #dc2626); /* darker red on hover */

 --color-danger-active: light-dark(#8a1111, #b91c1c); /* even darker red when pressed */

    --color-square-top-nav-hover: light-dark(#808080, #444444); 

  --color-white: #fff;

    --color-button-secondary: light-dark(#00a36c, #009160);

      --color-button-secondary-hover: light-dark(#00b377, #009966); /* lighter green in light mode, muted green in dark mode */


        /* Card background */
  --color-card-bg: light-dark(#ffffff, #1F2A38); /* light: white, dark: dark gray/blueish */

  --color-switch-btn: light-dark(#505050,#404040);

      --color-border: light-dark(#dddddd, #696969); /* light mode: #ddd, dark mode: slightly lighter than bg */

        --color-black: #000;

--color-button-disabled-bg: light-dark(#cccccc, #888888);  /* lighter gray in dark mode */
--color-button-disabled-text: light-dark(#757575, #f0f0f0); /* medium gray in light, lighter in dark mode */


    --color-light-dark-grey: light-dark(#e0e0e0, #696969); /* slightly darker gray in light mode, soft gray in dark */

  --color-greyer-text: light-dark(#989898, #BEBEBE); /* slightly darker gray in light mode, soft gray in dark */

  --star-color-filled: light-dark(#e69500, #ffb84d); /* darker orange in light mode, softer gold in dark */
  --star-color-empty: light-dark(#b0b0b0, #aaaaaa); /* medium gray in light mode, darker gray in dark */

  --cookie-banner-bg: light-dark(#E0E0E0, #3A3A3A);

  --color-email-banner-bg: light-dark(#fff8e1, #3b2f00);
  --color-email-banner-text: light-dark(#6a4e00, #fff2c2);
 

        --max-page-width: 1440px;
}



.hidden{ display: none !important; }


.min-height-wow{
  min-height: 7em; /* prevents layout jump when empty */
}



/* Optional for styling */
.popup-message {
    padding: 10px;
    border-radius: 5px;
  transition: opacity 0.4s ease;
}


/* Links default (assume on light background) */

.super-link {
  cursor: pointer;
  color: var(--color-link);
  text-decoration: none;
}

.star-link {
  text-decoration: none; /* remove underline */
  color: inherit; /* link inherits the color of the stars */
}


.super-link:hover {
  color: var(--color-link-hover);
}

/* Links on dark backgrounds (e.g., footer/nav) */
.dark-bg a {
  color: var(--color-link-on-dark);
  text-decoration: none;
}

.dark-bg a:hover {
  color: var(--color-link-hover-on-dark);
}

.dark-bg{
  background-color: var(--color-dark-element-bg);
  color: var(--color-dark-element-text);
}

body {
  background-color: var(--color-background);
    color: var(--color-text);
  font-family: 'Barlow', sans-serif;
}

button,
input[type="submit"],
input[type="button"]{
  cursor: pointer;
}



.btn-look-like-link {
  color: var(--color-link-on-dark);
    background: none;      /* Remove button background */
    border: none;          /* Remove border */
    font: inherit;         /* Use the same font as surrounding text */
}

.btn-look-like-link:hover {
    color: var(--color-link-hover-on-dark);
    text-decoration: none; /* Optional: remove underline on hover */
}

.btn-light-switch {
  background: var(--color-switch-btn);
  color: var(--color-link-on-dark);
  border: none;
  border-radius: 20px;
  padding: 6px 10px;
  font-size: 18px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn-light-switch:hover {
  background: var(--color-square-top-nav-hover);
  color: var(--color-link-hover-on-dark);
  transform: scale(1.05);
}

.btn-light-switch:active {
  transform: scale(0.95);
}


.btn-disabled {
      background-color: var(--color-button-disabled-bg);
  color: var(--color-button-disabled-text);
  border: none;
  cursor: not-allowed !important;
  opacity: 0.7;                                   /* slightly transparent */
  pointer-events: none;                           /* prevent clicks */
}

.btn-transparent {
  background-color: transparent;                     /* no fill */
  color: var(--color-text);                           /* normal text color */
  border: 2px solid var(--color-border);             /* neutral outline */
  padding: 0.5em 1em;
  border-radius: 6px;
  cursor: pointer;
}

/* Hover effect: subtle tinted background */
.btn-transparent:hover {
  background-color: var(--color-light-dark-grey); /* slightly darker/lighter on hover */
}

.btn-danger {

  background-color: var(--color-danger);
  color: var(--color-danger-text);
  border: none;
  transition: background 0.3s, color 0.3s, transform 0.1s;
}

.btn-danger:hover {
  background-color: var(--color-danger-hover);
  transform: translateY(-1px);
}

.btn-danger:active {
  background-color: var(--color-danger-active);
  transform: translateY(0);
}

.btn-secondary,
.btn-auth {
  background-color: var(--color-accent); 
  color: var(--color-white);        /* white text */
  transition: background 0.3s, color 0.3s;
  border: none;
}

.btn-secondary:hover,
.btn-auth:hover
{
    background-color: var(--color-button-secondary-hover);
    color: var(--color-white);           /* still white text */
}

.btn-secondary, .btn-danger {
  width: 100%;
  padding: 0.75em;
  cursor: pointer;
  font-size: 1rem;
}

/* Footer */
footer {
  padding: 2rem 1rem 1rem;
}



.footer-container {
  display: flex;
  flex-wrap: wrap; /* allows columns to wrap to next line on small screens */
  gap: 2rem;       /* space between columns */
  max-width: var(--max-page-width);
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 200px; /* grow/shrink, minimum width 200px */
  display: flex;
  flex-direction: column; /* stack inner divs vertically inside column */
  gap: 1rem;
}


.footer-column h5 {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}


.social-links {
  display: flex;       /* line them up in a row */
  gap: 12px;           /* spacing between each */
}


.social-icon {
  width: 2em;   /* scales with text size */
  height: auto;
  transition: filter 0.3s ease; /* smooth effect */
}

.social-icon:hover {
  filter: brightness(0.7); /* 30% brighter */
}


.payment-cards {
  display: flex;       /* line them up in a row */
  gap: 12px;           /* spacing between each */
}

.payment-icon {
  width: 4em;   /* scales with text size */
  height: auto;
}

.footer-beneath {
  text-align: center;   /* centers inline text and inline-block elements */
  width: 100%;          /* make sure it spans the full footer width */
  margin-top: 1rem;     /* optional spacing above */
  font-family: 'Barlow', sans-serif; /* optional: match site font */
}

/* footer end */

/* contact start */

.gap-below-2{
      margin-bottom: 2em;    /* space after each field */
}

.gap-below{
      margin-bottom: 1em;    /* space after each field */
}

.gap-above{
      margin-top: 1em;    /* space after each field */
}

.gap-above-half{
      margin-top: 0.5em;    /* space after each field */
}

.gap-below-half{
      margin-bottom: 0.5em;    /* space after each field */
}

.gap-below-qtr{
      margin-bottom: 0.25em;    /* space after each field */
}

.gap-below-eighth{
      margin-bottom: 0.12em;    /* space after each field */
}


.cool-form-field {
  display: flex;
  flex-direction: column; /* label above input */
}

.cool-input {
  padding: 0.5em;
  font-size: 1rem;
  border: 1px solid var(--color-border);
}


/* contact end */



.checkout-btn-wrapper {
  max-width: 300px; /* max size on big screens */
  width: 100%;      /* allow shrinking */
  margin: 0 auto;   /* center it */
}

.checkout-txt-wrapper {
    width: 85%;         /* 80% of the parent wrapper */
    margin: 0 auto;     /* centers the text wrapper */
}


.bskt-checkout-box{
    flex: 1 1 230px; /* same growth and shrink rules */
    min-width: 200px;
}

.checkout-order-summary-box {
    flex: 1 1 230px; /* same growth and shrink rules */
    min-width: 200px;
  padding-right: 0.75em;
  padding-bottom: 0.75em;
  padding-left: 0.75em;
}

.vertical-div{
  display: flex;
  flex-direction: column; /* stack all fields vertically */
}

.div-gaps{
  gap: 1em;
}


.align-items-start{
  align-items: flex-start;      /* center narrower inputs */
}


.align-items-center{
  align-items: center;      /* center narrower inputs */
}

.align-left {
  margin-right: auto;
}

.justify-center {
    justify-content: center;

}


.btn-auth, .btn-norm{
  padding: 0.6em 1.2em;    /* slightly bigger button */
  border-radius: 4px;
  font-size: 0.95rem;       /* slightly smaller text */
  width: auto;              /* don’t stretch */
  align-self: flex-end;     /* align to right in flex column */
}


.grid {
      flex: 1;           /* take up all remaining space */
  display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background-color: var(--color-card-bg);
  border-radius: 12px; /* curved corners */
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

/* === Top Search Bar === */


.top-search-inner {
  max-width: var(--max-page-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;       /* add space between children */
  flex-wrap: wrap; /* 🔥 lets elements drop to a new line on small screens */

}

/* Logo */
.site-logo-img {
  height: 110px;
  width: auto;
  display: block;
  margin-left: 1.5rem;
}

/* Search bar */
.site-search {
  flex: 1; /* expand to fill space */
  max-width: 600px;
  min-width: 150px;
  display: flex;
}

.site-search input[type="text"] {
  flex: 1;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  min-width: 0; /* allows shrinking below content width */
}

.site-search button {
  padding: 0.6rem 1rem;
  border: none;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.site-search button:hover {
  background-color: var(--color-button-secondary-hover);
}

/* User nav */
.user-nav {
  display: flex;
  justify-content: center;
  margin-right: 1.5rem;
}

.user-nav-main-ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  gap: 1rem; /* 🔥 adds horizontal/vertical spacing between li */
  align-items: center; /* 🔹 vertical center all li items */
}

.user-nav li {
  position: relative; /* needed so dropdown is positioned relative to this li */
}

.dropdown-menu {
  display: none;
  list-style: none;
  position: absolute;
  top: 100%; /* directly below the parent li */
  right: 0;  /* 👈 anchor it to the right edge instead of left */
  background-color: var(--color-dark-element-bg);
  color: var(--color-dark-element-text);
  min-width: 120px;
  z-index: 100;
  padding-bottom: 10px;
}


/* Dropdown link styling */
.dropdown-menu li a {
  display: block;
  padding: 5px;
  text-decoration: none;
}

/* 🔥 Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}


.user-greeting {
  display: flex;
  flex-direction: column; /* stack vertically */
}

.user-greeting .account-link {
  font-size: 0.85rem;
}




/* top categories bar */
.top-cat-nav {
  padding: 1em 0;
}

.top-cat-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* allows items to go to the next line on small screens */
  margin: 0;
  padding: 0;
}

.top-cat-nav ul li {
  margin: 0 10px;
}

.top-cat-nav ul li a {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 10px;              /* rounded edges */
  font-size: clamp(13px, 1.5vw, 18px);

}

/* Hover square */
.top-cat-nav ul li a:hover {
    background-color: var(--color-square-top-nav-hover);

}
/* end top categories bar */


.horizontal-div {
  display: flex;
  gap: 16px;             /* spacing between child divs */
  width: 95%;           /* span the screen */
  flex-wrap: wrap;
}

.horizontal-div-width-100 {
  display: flex;
  gap: 16px;             /* spacing between child divs */
  width: 100%;           /* span the screen */
  flex-wrap: wrap;
}



.div-border {
  padding: 12px;
  border: 1px solid var(--color-border);
}

.div-border-thicker {
  padding: 12px;
  border: 3px solid var(--color-border);
}


/* Left box (centered content, narrower width) */
.narrow-div {
  flex: 0 0 300px;        /* fixed width of 300px */
  display: flex;
  flex-direction: column; 
}

/* Right box takes remaining space */
.other-box {
  flex: 1;                /* fills all remaining space */
}

.page-container {
    max-width: var(--max-page-width);
  margin: 0 auto;     /* centers container */
  padding: 0 20px;    /* horizontal spacing */
}


.border-thin-black{
  border: 2px solid var(--color-black); /* change color/width as needed */
}

.border-thick-black{
  border: 4px solid var(--color-black); /* change color/width as needed */
}

.rounded {
  border-radius: 4px; 
  }

.small-padding {
    padding: 8px;    
}


.big-padding {
    padding: 20px;    
}

.wrap-content {
      display: inline-block; /* shrink-wraps around the content */
}





.more-smaller-width{
  max-width: 200px;  /* set the form width */
}

.smaller-width{
  max-width: 350px;  /* set the form width */
}

.mid-width{
  max-width: 500px;  /* set the form width */
}


.form-row {
  display: flex;
  gap: 16px;         /* spacing between columns */
  width: 100%;
}

.form-col {
  flex: 1;           /* each column takes equal space */
}

.form-col.shrink {
  flex: 0;           /* don’t expand */
  display: flex;     /* allows alignment */
  justify-content: flex-end; /* push button to the right */
}


.form-field {
  display: flex;
  flex-direction: column;
}

.wow-input {
  padding: 0.5em;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  width: 100%;
  box-sizing: border-box;
}
/* auth form start */


.wow-checkbox-input,
.wow-radio-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  margin-right: 0.25em; /* only right spacing */
}

.wow-radio-label,
.wow-checkbox-label {
  display: flex;
  align-items: center;  /* perfect vertical alignment */
  cursor: pointer;
  gap: 0.25em;          /* space between radio and text */
  margin-bottom: 0.4em; /* spacing between options */
  font-size: 1.05rem;      /* same as checkbox label */
}


.wow-fieldset {
  border: 2px solid var(--color-border); /* Change border color and thickness */
  border-radius: 8px;     /* Optional: rounded corners */
}


/* legend styling */
.wow-legend{
  font-size: 1.05rem;      /* same as checkbox label */
  margin: 0 0 0.25em 0;
}


label {
    cursor: pointer;
}

.order-header {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  flex-wrap: wrap; /* ensures it looks good on smaller screens */
}


.medium-img {
    width: 200px;
    height: 200px;
}

.bskt-img {
    width: 140px;
    height: 140px
}

.thumbnail-img {
    width: 50px;
    height: 50px;
}



/* Base star rating styles (shared) */
.star-rating-base {
  direction: rtl;
  display: inline-flex;
  unicode-bidi: bidi-override;
}

.star-rating-base input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.star-rating-base label {
  cursor: pointer;
  color: var(--star-color-empty);
}

.star-rating-base input[type="radio"]:checked ~ label {
    color: var(--star-color-filled);
}

.star-rating-base label:hover,
.star-rating-base label:hover ~ label {
    color: var(--star-color-filled);
}

/* Display-only base styles (shared, includes half stars) */
.star-rating-display-base {
  color: var(--star-color-empty);
  display: inline-flex;
}

.star-rating-display-base .full {
    color: var(--star-color-filled);
}

.star-rating-display-base .half {
  position: relative;
  color: var(--star-color-empty);
}

.star-rating-display-base .empty {
  color: var(--star-color-empty);
}

.star-rating-display-base .half::before {
  content: '★';
    color: var(--star-color-filled);
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
  pointer-events: none;
  top: 0;
}

/* Size variations */
.star-rating {
  font-size: 2rem; /* large */
}

.star-rating-small {
  font-size: 1rem; /* small */
}

.star-rating-display {
  font-size: 2rem; /* large display */
}

.star-rating-display-small {
min-height: 1.2rem; /* match the star row height */
display: flex;       /* so content aligns properly when present */
align-items: center;
font-size: 1rem; /* small display */
}


.side-bar {
  border: 1px solid var(--color-border);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* slight shadow for depth */
  padding: 16px;
  margin-bottom: 20px; /* gap below if needed */
}

.side-category {
    width: 200px;
}

.btn-toggle-categories {
 display: none; 
}

.user-menu {
    width: 250px;
}

.side-list-header h3 {
  margin: 0 0 12px 0;
  border-bottom: 2px solid var(--color-border);
  padding-bottom: 8px;
}

.side-list {
  list-style: none;
  margin: 0;
  padding: 0;
}


.side-list > li {
  margin-bottom: 6px; /* gap between top-level categories */
}

.side-list-child {
  list-style: none;
  margin: 6px 0 0 15px; /* less indent than before */
  padding: 0;
}

.side-list-child li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  padding: 3px 0;
}

.active {
  font-weight: bold;
}


/* new test below */



.product-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.product-card {
  width: 100%;
  max-width: 200px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  margin: 0 auto; /* center it in its grid cell */
}


.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;  /* tighter spacing */
  flex-grow: 1;
  padding-left: 0.5rem;  /* adds the left gap */
  padding-right: 0.5rem; /* keep balance with the right side */
}



.product-list-btn {
  display: block;       /* makes margin auto work */
  margin-top: auto;       /* push to bottom */
  margin-left: auto;      /* center horizontally */
  margin-right: auto;
  width: 95%;             /* almost full width */
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 9999px;
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 0.25em;    /* space after each field */
}

.notify-btn {
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
  background-color: var(--color-blu);
  color: var(--color-white);
}

.notify-btn:hover {
  background-color: var(--color-blu-hover); /* slightly lighter green */
  transform: scale(1.02);                    /* slight zoom effect */
}

.wish-btn {
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
  background-color: transparent;             /* no fill */
  color: var(--color-text);                           /* normal text color */
  border: 3px solid var(--color-border);             /* neutral outline */
}

.wish-btn:hover {
  transform: scale(1.01);                    /* slight zoom effect */
}

.buy-btn {
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  background-color: var(--color-buy);
  color: var(--color-white);
}


.buy-btn:hover {
  background-color: var(--color-buy-hover); /* slightly lighter green */
  transform: scale(1.02);                              /* subtle hover pop */
}

.buy-options-btn {
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  background-color: var(--color-button-secondary);
  color: var(--color-white);
}

.buy-options-btn:hover {
  background-color: var(--color-button-secondary-hover); /* slightly lighter green */
  transform: scale(1.02);                              /* subtle hover pop */
}



.text-center {
  text-align: center;
}

.margin-top-auto{
      margin-top: auto;
}

.price {
  display: block;
  font-weight: bold;
}

.price-currency {
  font-size: 1.15em;   /* smaller £ symbol */
}

.price-money {
  font-size: 1.5em;    /* main price big */
}

.price-currency-bgr {
  font-size: 1.50em;   /* smaller £ symbol */
}

.price-money-bgr {
  font-size: 2.5em;    /* main price big */
}

.price-currency-smlr {
  font-size: 0.75em;   /* smaller £ symbol */
}

.price-money-smlr {
  font-size: 1em;    /* main price big */
}


.product-list-name {
  font-size: 17px;
  font-weight: bold;
  line-height: 1.3;
}

.align-right {
  margin-left: auto;  /* pushes the element to the right */
}


.review-count {
    color: var(--color-greyer-text) !important;
  font-size: 0.875rem; /* Slightly smaller than the product name */
    margin-right: 0.3rem; /* adjust the value as needed */
}



.snippet-text {
  max-width: 60ch;   
  line-height: 1.5;  /* nicer readability */
  white-space: normal;
  overflow-wrap: break-word;
}

.product-buy-box {
  flex: 1 1 230px; /* same growth and shrink rules */
  min-width: 50px;
}

.product-images {
  display: flex;
    flex: 1 1 350px; /* grow & shrink equally, min 350px before wrapping */
  flex-direction: column;
  align-items: flex-start; /* left-align instead of center */
    min-width: 50px; /* prevent it from shrinking too tiny */

}

.product-main-image {
      width: 100%;               /* take full width of parent */
  max-width: 500px;          /* but never bigger than 500px */
  aspect-ratio: 1 / 1;       /* keeps it square */

  border: 2px solid #444;
  margin-bottom: 3px;
  border-radius: 8px;
  overflow: hidden; /* ensures cropped parts are hidden */
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* fills the square, crops excess */
  transition: 0.2s ease;
}

.product-thumbnail-gallery {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}


.product-thumbnail img {
  cursor: pointer;
  border: 1px solid var(--color-black);
  border-radius: 5px;
  transition: transform 0.2s;
}

.product-thumbnail img:hover {
  box-shadow: 0 0 2px 2px var(--color-black);
    transform: scale(1.05);
}

.chosen-product-thumbnail{
  box-shadow: 0 0 2px 2px var(--color-black);
    transform: scale(1.05);
}

.pad-equal {
    padding: 1.5em;
}

.pad-it{
  padding-right: 0.75em;
  padding-bottom: 0.75em;
  padding-left: 5em;

}

.qty-label {
  font-size: 1.3rem;        /* bigger font size */
  margin-bottom: 0.5em;      /* spacing between label and input */
}



.qty-input {
  width: 80px;             /* bigger box */
  padding: 10px 12px;      /* more space inside */
  font-size: 1.2rem;       /* bigger text */
  text-align: center;       /* center the number */
  border: 2px solid #ccc;   /* subtle border */
  border-radius: 8px;       /* rounded corners */
  outline: none;            /* remove default outline on focus */
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); /* subtle depth */
}

.bskt-qty-input {
  padding: 5px 1px;      /* more space inside */
  text-align: center;       /* center the number */
  border: 2px solid #ccc;   /* subtle border */
  border-radius: 8px;       /* rounded corners */
  outline: none;            /* remove default outline on focus */
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); /* subtle depth */
}

span.gap {
  display: inline-block; /* or block */
  margin-bottom: 1em;    /* add your gap */
}

span.gap-qtr {
  display: inline-block; /* or block */
  margin-bottom: 0.25em;    /* add your gap */
}

/* underline across whole row */
.tab-list {
  list-style: none;
  padding: 0 0 5px 0; /* pushes border 15px further down */
  display: flex;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 0;
}

.div-underline {
  border-bottom: 2px solid var(--color-border);
}

.div-overline {
  border-top: 2px solid var(--color-border);
}

.underline{
  text-decoration: underline;
  text-decoration-thickness: 3px;  /* make underline thicker */
  text-underline-offset: 8px;      /* push underline further down from text */
  }

/* each tab */
.tab-list .tab-btn {
  padding: 10px 20px;
  cursor: pointer;
  position: relative;
  font-size: 1.2rem;
}


.review-text {
  flex: 1; /* take remaining space */
  min-width: 200px; /* ensures text wraps nicely */
}

.review-text p {
  margin: 0;
  line-height: 1.4;
}

.review-col-1 {
      width: 9em; /* fixed width for date/author */

}

.pad-below {
  padding: 0 0 2em 0; /* pushes border 15px further down */
}

.subtotal {
  font-size: 1.2rem;  /* slightly bigger */
}

.delivery {
  font-size: 1.2rem;
}

.total {
  font-size: 1.6rem;  /* make total stand out more */
  font-weight: bold;  /* bold for emphasis */
}

.font-12{
    font-size: 1.2rem;
}

.font-16{
    font-size: 1.6rem;
}

.font-08{
    font-size: 0.8rem;
}





.indent {
      text-indent: 50px;
}

.em20-box {
  width: 20em;        /* fixed column width */
  white-space: normal; /* allow wrapping */
  word-wrap: break-word; /* break long words if needed */
  overflow: visible;   /* don’t hide overflow */
}

.em6-box {
  width: 6em;        /* fixed column width */
  white-space: normal; /* allow wrapping */
  word-wrap: break-word; /* break long words if needed */
  overflow: visible;   /* don’t hide overflow */
}

.div-right {
  margin-left: 2px;
}



.chkt-btns{
  margin-top: auto;       /* push to bottom */
  margin-left: auto;      /* center horizontally */
  margin-right: auto;
  width: 95%;             /* almost full width */
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  font-weight: bold;
  font-size: 0.95rem;
  margin-bottom: 0.25em;    /* space after each field */

}


.cookie-banner {
  background-color: var(--cookie-banner-bg);
    position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  text-align: center;
  padding: 1rem 1.5rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-buttons {
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

a.disabled-link {
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.6;
}



.error {
    background-color: red; /* or any color you prefer */
    color: var(--color-black);
}

.warning {
    background-color: purple;
    color: var(--color-white);
}

.success {
    background-color: green;
    color: var(--color-white);
}

.no-js {
    background-color: #ffe0e0;
    color: #990000;
    padding: 20px;
    text-align: center;
    font-size: 16px;
    border: 2px solid #cc0000;
    border-radius: 10px;
}

  .email-banner {
    background: var(--color-email-banner-bg);
    color: var(--color-email-banner-text);
  padding: 1.25rem 1.5rem;
  border: 1px solid #ffe082;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1.5rem auto;
  max-width: 800px;
  }

.dashed-border{
    border: 2px dashed black; /* Adjust color, thickness, and style as needed */
}

#loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(to right, #4facfe, #00f2fe); /* Nice gradient */
    z-index: 9999;
    transition: width 0.4s ease, opacity 0.4s ease;
}

#loading-bar.start { width: 5%; opacity: 1; }
#loading-bar.progress-25 { width: 25%; }
#loading-bar.progress-50 { width: 50%; }
#loading-bar.progress-75 { width: 75%; }
#loading-bar.progress-95 { width: 95%; }
#loading-bar.complete { width: 100%; }


.interesting-image-thumbnail {
  width: 100px;
  margin: 5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.2s;
}

.interesting-image-thumbnail:hover {
  filter: invert(100%);
  border-color: #007bff;
}

.folder-button {
  margin: 5px;
  padding: 5px 10px;
  background-color: #eaeaea;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.folder-button:hover {
  background-color: #dcdcdc;
    font-weight: bold;
}



#saveImageBtn {
  background-color: #4CAF50;         /* Green base */
  color: white;
  padding: 10px 20px;
  margin-top: 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

#interestingPreviewImage {
  max-width: 200px;
  margin-top: 10px;
  border-width: 8px;
  border-style: solid;
  border-color: coral;
}


#banner-container {
      width: 100%;
  max-width: 920px;       /* Don’t let it exceed desktop size */
  aspect-ratio: 920 / 300;
  position: relative;
  overflow: hidden;
  margin: 20px auto;      /* Center horizontally + space above/below */

}


.home-banner {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  object-fit: cover; /* fills container */
  pointer-events: none;
}

.visible-banner{
  opacity: 1;
  pointer-events: auto; /* Only the active banner is clickable */
}

/* Position the buttons just outside the banner edges */
.left-btn {
  left: calc(50% - 460px - 30px); /* 460px = half banner width, 30px = offset outside edge */
}

.right-btn {
  right: calc(50% - 460px - 30px);
}


.banner-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 50%;
  padding: 10px 16px;
  font-size: 18px;
  z-index: 10;
  user-select: none;
    opacity: 0; /* hidden by default */
  pointer-events: none; /* prevent invisible buttons from blocking hover */
    transition: opacity 0.9s ease, background-color 0.9s ease;

}

/* Show buttons when hovering the banner container */
#banner-container:hover .banner-btn {
  opacity: 1;
  pointer-events: auto; /* make them clickable */
}


.banner-msg {
  background-color: #ffeb3b; /* bright yellow */
  color: #000; /* black text */
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}



.video-wrapper {
  width: 100%;            /* make it fill its container */
  max-width: 800px;       /* optional max size */
  aspect-ratio: 16 / 9;   /* keeps the correct proportions */
  overflow: hidden;
  border-radius: 8px;     /* optional styling */
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* Initially hide the button */
#checkout-button-top-link {
  display: none;
}


@media (max-width: 1200px) {

  .top-cat-nav ul li {
     margin: 0 9px;
  }

  .top-cat-nav ul li a {
    padding: 6px 10px; /* smaller buttons */
  }

  .side-category {
      width: 150px
  }



}

@media (max-width: 992px) {
      #checkout-button-top-link {
    display: block; /* or inline-block depending on your layout */
  }


  .side-category {
      width: 120px
  }
    .user-menu {
      width: 150px
    }

  .top-cat-nav ul li {
     margin: 0 4px;
  }

  .top-cat-nav ul li a {
    padding: 3px 4px; /* smaller buttons */
  }

  .site-logo-img {
      height:70px;
  }

  .top-cat-nav ul li {
     margin: 0 4px;
  }

  .top-cat-nav ul li a {
    padding: 3px 4px; /* smaller buttons */
  }

.top-search-inner {
    gap: 1rem;
}
  .user-nav{
      font-size: 0.8rem;
  }
.user-greeting .account-link {
      font-size: 0.7rem;
}

  .user-nav ul {
      gap: 0.4rem;
  }

}



@media (max-width: 768px) {

  .btn-toggle-categories {
      display: block;
  background-color: var(--color-accent); 
  color: var(--color-white);        /* white text */
  transition: background 0.3s, color 0.3s;
  border: none;
  padding: 0.6em 1.2em;    /* slightly bigger button */
  border-radius: 4px;
  font-size: 0.95rem;       /* slightly smaller text */
  width: auto;              /* don’t stretch */
  align-self: flex-end;     /* align to right in flex column */
  margin-bottom: 1em;
  }

  .user-menu{
 display: none; 
  }
  .side-category {
      width: 110px;
 display: none; 
  }

    .side-category.open { 
    display: block;
}





    .other-div,
    .narrow-div{
            flex: 1 1 100%; /* make them full width so they stack */
    }

    .other-div{
        order: 1;

    }
      .narrow-div {
    order: 2; 
  }


.top-search-inner {
    gap: 0.5rem;
}

  .user-nav-main-ul {
    gap: 0.5rem 1rem;               /* vertical / horizontal spacing */
  }

  .btn-light-switch{

  padding: 0px 0px;
  }

  .site-logo-img {
      height:50px;
  }


}


@media (max-width: 576px) {

    .pad-it{
        padding-left: 1.5em;
    }

}

@media (max-width: 480px) {

    .pad-it{
        padding-left: 1.5em;
    }

}

@media (max-width: 320px) {


}

