
body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: "Merriweather", serif;
}

/* h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
}

p{
  font-size: clamp(1rem, 1.2vw, 1.125rem);
}

body {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
} */



#v1 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#v2 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav {
    padding: 8px 16px;
    height: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.intro {
    width: 60%;
    height: 24px;
    border: 1px solid;
    padding-left: 8px;
    font-size: 8px;
}

.title {
    font-size: 32px;
}

.carticon {
    display: flex;
    font-size: 24px;
    justify-content: space-between;
    align-items: center;

}

.showfirst {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    background-color: rgb(231, 221, 221);

}

.male {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.male:hover {
    text-decoration: underline;
    text-decoration-thickness: 4px;
    background-image: url('/media/Gucci perfumes/Image_5.jpg');
    background-position: center;
    color: white;
    font-weight: 700;
    font-size: 24px;

}

.sellers {
    font-weight: 500;
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.female {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;

}

/* .adds:hover{
    
} */

.female:hover {
    background-color: #f218d5;
    color: white;
    text-decoration: underline;
    text-decoration-thickness: 4px;
    background-image: url('./static/arys/image_360.jpg');
    background-size: cover;
    color: white;
    font-weight: 700;
    font-size: 24px;
}

.adds p {
    font-size: 12px;
}

.bests {
    height: 80px;
    width: 80px;
    /* background-color: rgb(231, 221, 221); */
    background-position: center;
    background-size: contain;
    display: flex;
    flex-direction: column;
}

.bests button {
    height: 40px;
    margin-top: 8px;
    border: none;
}

.bests img {
    width: 100%;
    height: 100%;
}

/* =========================
   BESTSELLERBOX FIX (STOP BLEED + WIDER + CLEAN)
   NOTE: We override your earlier flex layout safely.
========================= */
.bestsellerbox {
    /* remove fixed height so it can contain cards properly */
    height: auto;

    display: flex;
    gap: 16px;
    flex-wrap: wrap;

    width: 100%;
    max-width: 100%;
    background: white;

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

    /* prevents horizontal bleed */
    overflow: hidden;

    /* space so it won't visually collide with advert */
    padding: 20px 16px;
    margin-bottom: 72px;
}

/* Make each best seller card wider and not tiny */
.bests {
    width: min(320px, 100%);
    height: auto;
    min-height: 320px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    padding: 16px;

    /* remove rounded corners + shadows */
    border-radius: 0;
    box-shadow: none;

    /* keep children inside */
    overflow: hidden;
}

/* Make the image fill nicely but not touch the edges */
.bests img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* Name button should not crumple */
.bests button:nth-of-type(1) {
    height: auto;
    margin-top: 12px;
    background: transparent;
    text-align: left;
    padding: 0;
    font-weight: 700;
}

/* Price pinned to bottom-right */
.bests button:nth-of-type(2) {
    position: absolute;
    right: 16px;
    bottom: 16px;

    height: auto;
    margin-top: 0;
    padding: 8px 14px;

    border-radius: 0;
}

/* Make the card position relative so price pinning works */
.bests {
    position: relative;
}

/* Keep the ::after rule harmless */
.bestsellerbox::after {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to bottom, transparent, white);
}

/* .options span{
    font-size:8px;
} */
.advert {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    /* hard separation */
    clear: both;
    margin-top: 48px;
    overflow: hidden;
}

.v {
    width: 50%;
    height: 100%;
    background-color: black;
}

.adds {
    margin-top: 32px;
    height: 128px;
    background-color: rgb(231, 221, 221);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    gap: 32px;
    transition: all 0.3s ease-in-out;
}

@keyframes blinkColorFade {
    0% {
        opacity: 1;
        color: #000000;
        /* black */
    }

    40% {
        opacity: 2;
    }

    50% {
        opacity: 0;
        color: #8a6f2f;
        /* dark gold */
    }

    90% {
        opacity: 1;
        color: #8a6f2f;
    }

    100% {
        opacity: 1;
        color: #000000;
    }
}


.adds h1 {
    font-size: 32px;
    margin-left: 2px;
    animation: blinkColorFade 8s infinite ease-in-out;
}

.adds:hover {
    background-color: black;
    font-weight: 300;
    background: white;

}

.brand-logo {
    padding: 4px;
    display: inline-block;
    font-size: 8px;
    background-color: black;
    width: 100%;
    color: white;
}

.footer {
    height: 160px;
    margin-top: 32px;
    background-color: ;
    display: flex;
    justify-content: space-between;
}

.suggestion-part {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.suggestion-part input {
    width: 70%;
    height: 32px;
    border: 2px solid;
    padding-left: 8px;
    font-size: 8px;
}

.suggestion-part button {
    width: 25%;
    height: 48px;
    border: none;
    background-color: #f218d5;
    margin-top: 4px;
    font-size: 8px;
}

.contacts {
    display: flex;
    flex-direction: column;
    width: 50%;


}

.contacts h1 {
    margin-top: 0;
    font-size: 32px;
    text-decoration: underline;
    text-decoration-thickness: 8px;
}

.options {
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-size: 4px;
}

/* .options i{
    font-size: 8px;
} */

.options span:hover {
    background-color: black;
    color: white;
}

.options span {
    padding: 4px 16px;
}

.boxes {
    width: 48%;
    height: 48%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    transition: linear ease;
}

.boxes:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    font-size: 16px;
    background-color: black;
    color: white;
}

/* ===============================
   ITEMS PAGE PAGINATION BUTTONS
================================ */

.itemsPrevBtn,
.itemsNextBtn {
  padding: 12px 26px;
  border: none;

  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.95rem;

  cursor: pointer;

  background:black;
  color: #fff;

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

/* Hover — lift effect */
.itemsPrevBtn:hover,
.itemsNextBtn:hover {
  transform: translateY(-4px);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.35);
  opacity: 0.95;
}

/* Click — press down */
.itemsPrevBtn:active,
.itemsNextBtn:active {
  transform: translateY(0);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.3);
}

/* Optional: spacing between buttons */
.paginationHero {
  display: flex;
  gap: 18px;
  justify-content: center;
  align-items: center;
  margin: 24px 0;
}


.heroOptions {
    position: relative;
    width: 50%;
    height: 100%;
    font-size: 16px;
    gap: 4px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.options span i {
    font-size: 8px;
}

.heroo {
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;

}

.heroo div {
    width: 50%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.list_ofdesigners {
    width: 100%;
    height: 100%;
    background-color: #7c116e;
}

.theLg {
    background-color: rgba(255, 0, 0, 0.575);
    height: 100%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.arrowback {
    position: absolute;
    top: 0;
    margin: 0;
    width: 100%;
}

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

.arrowback i {
    padding: 8px;
}


.previewpart {
    height: 70vh;
    display: flex;

}

.previewpart div {
    margin-top: 16px;
    height: 100%;
    width: 50%;
}

.description-box {
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: 64px;
    transition: all 0.25s ease-in-out;
}

.description-box:hover {
    background-color: rgb(241, 239, 239);
}

.description-box button {
    width: fit-content;
    padding: 8px;
    border: none;
    margin-top: 16px;
    background-color: black;
    color: white;
    font-weight: 800;
    font-family: "Roboto Mono", monospace;
    transition: all ease-in;
    font-size: 8px;
}

.description-box button:hover {
    padding-right: 32px;
    transition: all 0.3s ease;
    background-color: rgb(48, 48, 48);
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.purchase-button {
    position: absolute;
    top: 85%;
    left: 85%;
}

.checkout {
    text-align: center;
    font-size: 32px;
    padding: 0;
    margin: 0;

}

.items-bought {
    height: 70vh;
    padding: 4px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.items-within div {
    width: 10%;
    height: 240px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: end;
    box-shadow: 0.5px 0.5px 1.1px -1px;
}

.items-within {
    display: flex;
    gap: 16px;
}

.items-within button {
    border: none;
    flex-wrap: wrap;
    margin-bottom: 1px;
    padding: 4px 0;
    font-family: "Roboto Mono", monospace;
    font-weight: 800;
}

.the-payments {

    display: flex;
    justify-content: end;
    gap: 8px;
    padding: 8px;
}

.the-payments button {
    height: 48px;
    border: none;
    background-color: black;
    color: white;
    padding: 8px;
    font-family: "Roboto Mono", monospace;
    font-weight: 800;
}

.preview {
    display: flex;
    gap: 8px;
    width: 100%;
    transition: all 2s ease;
    justify-content: center;
}

/* ===============================
   ITEM HOVER LIFT EFFECT
================================ */

.itemsCard {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Lift on hover */
.itemsCard:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow:
    0 20px 35px rgba(0, 0, 0, 0.15);
}

.itemsGrid {
  display: grid;
  gap: 18px;

  /* 7 items per column */
  grid-template-rows: repeat(7, minmax(130px, 1fr));
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);

  width: 100%;
  min-height: 70vh;
  padding: 20px;
  box-sizing: border-box;
}

.itemsCard {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  cursor: pointer;
}

.itemsImage {
  width: 100px;
  height: 100px;
  object-fit: cover;
  background: rgba(255,255,255,0.25);
}

.itemsMeta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

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

.itemsPill {
  padding: 8px 12px;
  border: none;
  font-weight: 600;
}

.itemsAddBtn {
  padding: 10px 14px;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

.previewItems {
    display: flex;
    flex-direction: column;
    flex: 1 1 220px;
    /* allow growth */
    max-width: 260px;
    background-color: whitesmoke;
    height: 400px;
    align-items: end;
}

.previewItems img {
    width: 100%;
    height: 90%;
    object-fit: cover;
}

.previewItems button {
    border: none;
    width: 100%;
    height: 10%;
    font-size: 8px;
    font-family: "Roboto Mono", monospace;
    font-weight: 800;
}

.previewItems button:hover {
    background-color: black;
    color: whitesmoke;
}

.previewHero {
    height: 40vh;
    width: 100%;
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.firstdiv {
    width: 25%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

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

.second_div {
    width: 75%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.second_div button {
    width: 20%;
    border: none;
    padding: 16px;
    font-size: 8px;
    font-family: "Roboto Mono", monospace;
    font-weight: 800;
}

.second_div button:hover {
    background-color: black;
    color: white;
}

.next_btn {
    align-self: flex-end;
    padding: 16px;
    width: 200px;
    font-family: "Roboto Mono", monospace;
    border: none;
    font-size: 8px;
    font-weight: 800;
}

.next_btn:hover {
    background-color: black;
    color: whitesmoke;
}

.shop_btn {
    align-self: flex-end;
    padding: 16px;
    font-family: "Roboto Mono", monospace;
    border: none;
    font-size: 8px;
    font-weight: 800;
    transition: all 0.3s ease-in-out;
}

.shop_btn:hover {
    font-size: 20px;
    background-color: black;
    color: whitesmoke;
    padding-right: 50%;
    text-align: start;
}

.see_more {
    font-size: 10px;
    align-self: flex-end;
    padding: 16px;
    font-family: "Roboto Mono", monospace;
    border: none;
    font-weight: 800;
    transition: all 0.3s ease-in-out;
}

.see_more:hover {
    padding-right: 50%;
    text-align: start;
    background-color: black;
    color: whitesmoke;
}

/* =====================================
   BEST SELLERS – SIZE ADJUSTMENT (4x2)
===================================== */

/* Force 4-column layout */
.bestsellerbox{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;

    max-width: 1200px;
    margin: 0 auto 64px auto;

    padding: 16px;
}

/* Reduce card size */
.bests{
    width: 100%;
    min-height: 260px;   /* smaller height */
    padding: 12px;
}

/* Reduce image size */
.bests img{
    height: 160px;       /* smaller image */
}

/* Tighten text spacing */
.bests button:nth-of-type(1){
    font-size: 0.9rem;
    margin-top: 8px;
}

/* Price stays neat */
.bests button:nth-of-type(2){
    padding: 6px 12px;
    font-size: 0.85rem;
}
/* =====================================================
   CHECKOUT PAGE – DEPTH HOVER EFFECT (NO SHADOWS)
   True "coming toward the screen" illusion
===================================================== */

/* Container provides 3D depth */
.items-within{
  perspective: 1200px;
}

/* Checkout item card */
.items-within > div{
  transition: transform 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Card comes toward the screen */
.items-within > div:hover{
  transform: scale(1.06);
}

/* Image inside checkout item */
.items-within > div img{
  transition: transform 0.25s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Image comes forward slightly more than card */
.items-within > div:hover img{
  transform: scale(1.12);
}

/* -------------------------------------
   SAFETY: prevent layout shift / bleed
------------------------------------- */
.items-within > div{
  overflow: hidden;
}
/* ✅ FORCE everything to stay on one row and not spread apart */
.bestseller-actions{
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important; /* ✅ stop spacing */
  gap: 10px !important;
}

/* ✅ lock the qty group into one tight row */
.qty-controls{
  display: inline-flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0px !important;                 /* ✅ remove “mystery gaps” */
  white-space: nowrap !important;
}

/* ✅ stop your global button styles from breaking these */
.qty-btn,
.qty-display,
.bestseller-price{
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* ✅ make the qty number look like a real middle block */
.qty-display{
  background: white !important;        /* ✅ show the block */
  color: black !important;
  padding: 0 16px !important;
  height: 40px !important;
}

/* ✅ keep +/- same height and tight */
.qty-btn{
  height: 40px !important;
  width: 40px !important;
}
/* =========================================
   CHECKOUT: REMOVE GAP BETWEEN IMAGE & BUTTONS
   (does NOT resize image)
========================================= */

/* override your earlier: .items-within div { height:240px; justify-content:end; } */
.items-within > div{
  height: auto !important;              /* stop fixed tall cards */
  justify-content: flex-start !important;/* stop pushing buttons to bottom */
  gap: 4px !important;                  /* tighter vertical spacing */
  padding-bottom: 6px !important;
}

/* remove extra invisible spacing under image */
.items-within > div img{
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

/* tighten buttons vertically (without changing image) */
.items-within > div button{
  margin: 0 !important;
  padding: 4px 0 !important;
  line-height: 1.1 !important;
}

/* =========================================
   CHECKOUT: REMOVE BIG EMPTY SPACE
   (does NOT change image size)
========================================= */

/* override your existing rule: .items-within div { height:240px; justify-content:end; } */
.items-within div{
  height: auto !important;
  min-height: 0 !important;
  justify-content: flex-start !important;
}

/* stop the row from stretching items */
.items-within{
  align-items: flex-start !important;
}

/* tighten spacing inside the card */
.items-within div{
  gap: 4px !important;
  padding-bottom: 6px !important;
}

/* remove any default spacing under the image */
.items-within div img{
  margin: 0 !important;
  display: block !important;
}

/* reduce vertical padding/margins on the buttons */
.items-within div button{
  margin: 0 !important;
  padding: 4px 0 !important;
  line-height: 1.1 !important;
}

/* =========================================================
   ✅ MOBILE OVERRIDES
   Rule: KEEP the main hero section orientation (.showfirst)
   Everything else can change to fit mobile cleanly
========================================================= */
@media (max-width: 768px){

  *{ box-sizing: border-box; }
  body{ overflow-x: hidden; }

  /* ✅ KEEP HERO SIDE-BY-SIDE (DO NOT CHANGE ORIENTATION) */
  .showfirst{
    flex-direction: row !important;
    height: 45vh !important;
  }
  .male, .female{
    width: 50% !important;
    height: 100% !important;
    font-size: 14px !important;
  }
  /* mobile doesn't really "hover" — prevent massive jump */
  @media (hover: none){
    .male:hover, .female:hover{
      font-size: 16px !important;
      text-decoration-thickness: 2px !important;
    }
  }

  /* ---------------- NAV: let it wrap so it doesn't squeeze */
  .nav{
    height: auto !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    padding: 10px 12px !important;
  }
  .title{ font-size: 24px !important; }
  .intro{
    width: 100% !important;
    height: 42px !important;
    font-size: 12px !important;
  }
  .introform{
    width: 100% !important;
  }
  .carticon{
    width: 100% !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    font-size: 22px !important;
  }

  /* ---------------- ADVERT: stack videos */
  .advert{
    height: auto !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 18px !important;
  }
  .v{
    width: 100% !important;
    height: 220px !important;
  }

  /* ---------------- AD BANNER: stack content */
  .adds{
    height: auto !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 14px !important;
  }
  .adds h1{ font-size: 22px !important; }
  .adds p{ font-size: 12px !important; }

  /* ---------------- BESTSELLERS:
     your file defines .bestsellerbox multiple times.
     On mobile: force a clean 2-column grid */
  .bestsellerbox{
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 12px !important;
    margin: 0 auto 36px auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .bests{
    width: 100% !important;
    min-height: 220px !important;
    padding: 10px !important;
  }
  .bests img{
    height: 135px !important;
  }
  .bests button:nth-of-type(1){
    font-size: 12px !important;
  }
  .bests button:nth-of-type(2){
    font-size: 12px !important;
    padding: 6px 10px !important;
    right: 10px !important;
    bottom: 10px !important;
  }

  /* ---------------- ITEMS PAGE:
     your .itemsGrid is "7 rows per column" with column flow.
     On mobile: switch to a normal single-column list */
  .itemsGrid{
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row !important;
    grid-auto-columns: unset !important;

    gap: 12px !important;
    padding: 12px !important;
    min-height: auto !important;
  }
  .itemsCard{
    padding: 12px !important;
    gap: 12px !important;
  }
  .itemsImage{
    width: 80px !important;
    height: 80px !important;
  }
  .itemsPill, .itemsAddBtn{
    font-size: 12px !important;
    padding: 8px 10px !important;
  }

  /* Pagination buttons full width */
  .paginationHero{
    flex-direction: column !important;
    gap: 10px !important;
    margin: 16px 0 !important;
  }
  .itemsPrevBtn, .itemsNextBtn{
    width: 100% !important;
  }

  /* ---------------- PREVIEW PAGE: stack image + text */
  .previewpart{
    height: auto !important;
    flex-direction: column !important;
  }
  .previewpart div{
    width: 100% !important;
    height: auto !important;
  }
  .description-box{
    padding: 16px !important;
  }
  .purchase-button{
    position: static !important;
    margin-top: 12px !important;
  }

  /* ---------------- PREVIEW HERO (25/75) -> stack on mobile */
  .previewHero{
    height: auto !important;
    flex-direction: column !important;
  }
  .firstdiv{
    width: 100% !important;
    height: 220px !important;
  }
  .second_div{
    width: 100% !important;
  }
  .second_div button{
    width: 100% !important;
    font-size: 12px !important;
  }

  /* ---------------- CHECKOUT PAGE:
     This is a BIG reason things crumple:
     .items-within div { width:10%; height:240px; }
     On mobile: make it a 2-column grid */
  .items-bought{
    height: auto !important;
  }

  .items-within{
    flex-wrap: wrap !important;
    gap: 12px !important;
    align-items: flex-start !important;
  }

  .items-within div{
    width: 48% !important;      /* 2 per row */
    height: auto !important;
  }

  .items-within div img{
    width: 100% !important;
    height: 150px !important;
    object-fit: cover !important;
  }

  .items-within div button{
    font-size: 11px !important;
  }

  /* payments stack nicely */
  .the-payments{
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .the-payments button{
    width: 100% !important;
    height: 46px !important;
  }

  /* ---------------- FOOTER: stack */
  .footer{
    height: auto !important;
    flex-direction: column !important;
    gap: 18px !important;
    padding: 16px !important;
  }
  .suggestion-part, .contacts{
    width: 100% !important;
  }
  .suggestion-part input{
    width: 100% !important;
    height: 42px !important;
    font-size: 12px !important;
  }
  .suggestion-part button{
    width: 100% !important;
    height: 46px !important;
    font-size: 12px !important;
  }

  /* options row: make scrollable instead of crumpling */
  .options{
    overflow-x: auto !important;
    white-space: nowrap !important;
    gap: 8px !important;
    font-size: 10px !important;
    padding-bottom: 8px !important;
  }
  .options span{
    display: inline-block !important;
    padding: 8px 12px !important;
  }
}

/* Extra-small phones */
@media (max-width: 420px){
  .bestsellerbox{
    grid-template-columns: 1fr !important; /* 1 per row */
  }
  .items-within div{
    width: 100% !important;              /* 1 per row */
  }
}

