html {
    box-sizing: border-box;
    font-family: "Sora", monospace;
    font-size: 62.5%;
}

*, *::before, *::after {
    box-sizing: inherit;
}

  :root {
    --nt-050: #f2f2f2;
    --nt-50: #e1e0e0;
    --nt-100: #c3c1c1;
    --nt-200: #a4a2a2;
    --nt-300: #868383;
    --nt-400: #686464;
    --nt-500: #535050;
    --nt-600: #3e3c3c;
    --nt-700: #2a2828;
    --nt-800: #151414;

    --p-050: #faece8;
    --p-50: #f5d8d1;
    --p-100: #ebb2a4;
    --p-200: #e18b76;
    --p-300: #d76549;
    --p-400: #cd3e1b;
    --p-500: #a43216;
    --p-600: #7b2510;
    --p-700: #52190b;
    --p-800: #290c05;

    --s-050: #f3fae8;
    --s-50: #e7f5d1;
    --s-100: #cfeba4;
    --s-200: #b6e176;
    --s-300: #9ed749;
    --s-400: #86cd1b;
    --s-500: #6ba416;
    --s-600: #507b10;
    --s-700: #36520b;
    --s-800: #1b2905;

    --t-50: #f0e8ee;
    --t-100: #d2b9cb;
    --t-200: #b48aa9;
    --t-300: #965b87;
    --t-400: #782c64;
    --t-500: #5f134b;
    --t-600: #4a0f3a;
    --t-700: #350b2a;
    --t-800: #1f0619;

    --tc-50: #e8eef0;
    --tc-100: #b9cbd2;
    --tc-200: #8aa9b4;
    --tc-300: #5b8796;
    --tc-400: #2c6478;
    --tc-500: #134b5f;
    --tc-600: #0f3a4a;
    --tc-700: #0b2a35;
    --tc-800: #06191f;

    --success-100: #e8f1fd;
    --success-200: #a8c9f6;
    --success-300: #1a73e8;
    --success-400: #1558b0;
    --success-500: #0d3a73;

    --warning-100: #F5B27A;
    --warning-200: #E98C3C;
    --warning-300: #D46A1C;
    --warning-400: #B35414;
    --warning-500: #7A370C;

    --like-050: #fff8e0;
    --like-50: #fceeba;
    --like-100: #fae28c;
    --like-200: #f8d65d;
    --like-300: #f6cb2f;
    --like-400: #ddb116;
    --like-500: #ac8a11;
    --like-600: #7b630c;
    --like-700: #493b07;
    --like-800: #312705;
}

h1,h2,h3,h4,h5,h6 {
    color: var(--nt-600);
}

h1 {
    font-size: clamp(3rem, 2.5rem + 1vw, 6rem);
    line-height: 1.2;
}

h2 {
    font-size: clamp(2.4rem, 2rem + 0.8vw, 4.8rem);
    line-height: 1.25;
}

h3 {
    font-size: clamp(1.8rem, 1.6rem + 0.6vw, 3.6rem);
    line-height: 1.3;
}

h4 {
    font-size: clamp(1.4rem, 1.2rem + 0.4vw, 2.4rem);
    line-height: 1.4;
}

h5 {
    font-size: clamp(1.2rem, 1rem + 0.3vw, 2rem);
    line-height: 1.5;
}

h6 {
    font-size: clamp(1.1rem, 0.95rem + 0.25vw, 1.8rem);
    line-height: 1.55;
}

p {
    font-size: clamp(1rem, 0.9rem + 0.3vw, 1.6rem);
    line-height: 1.6;
    color: var(--nt-800);
}

p.small {
  font-size: clamp(0.9rem, 0.8rem + 0.25vw, 1.4rem);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.wrapper {
    display: flex;
    flex-wrap: wrap;
    padding: 0 3.6rem;
    align-items: center;
    gap: 2rem;
}

.btn-main {
    color: var(--nt-50);
    padding: 2rem 3.6rem;
    margin: 1.2rem 0rem;
    cursor: pointer;
    font-size: clamp(1.2rem, 1rem + 0.3vw, 2rem);
    font-weight: 600;
    width: 100%;
    max-width: 296px;
    background-color: var(--p-500);
    border: none;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.btn-main:hover {
    background-color: var(--p-600);
}

.landing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: auto;
  padding: 3.6rem;
  min-height: 100vh;
  background-color: var(--nt-050);
}

/*.landing .btn-main {
  text-decoration: none;
  max-width: 480px;
  width: 100%;
}*/

.hero-section {
  margin-top: 140px;
}

.mid-section {
    margin: clamp(2.4rem, 2rem + 1vw, 4rem) 0rem;
    display: flex;
    flex-direction: column;
    padding: clamp(4rem, 8rem + 2vw, 12rem) 2.4rem;
    /*padding-bottom: 0;*/
    align-items: center;
    background-color: white;
}

.section-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    margin-bottom: 4rem;
    color: var(--nt-400);
    font-size: clamp(1rem, 0.9rem + 0.3vw, 1.6rem);
}

.section-icon svg {
  fill: currentColor;
  width: 24px;
  height: auto;
}

.section-icon::after {
    content: "";
    width: 100%;                 
    height: 2px;
    background-color: currentColor;
}

.section-header {
    display: flex;
    
}

.dark-section {
    background-color: var(--p-050);
    background-color: white;
    padding-bottom: 8rem;
}

body {
    margin: 0;
    padding: 0;
}

.top-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1.6rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0px 4px 16px rgba(0,0,0,0.1);
}

.offer-bar {
    background: linear-gradient(135deg, var(--p-200), var(--p-800), var(--p-500));
    background-color: var(--t-700);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 100vw;
    background-size: 400% 400%;
    animation: gradientShift 96s ease-in-out infinite;
}

.offer-bar > * {
    color: var(--nt-50);
    text-shadow: var(--p-100);
    cursor: pointer;
}

.search-bar {
    display: flex;
    justify-content:space-between;
    align-items: center;
    width: 100vw;
    /*background: linear-gradient(to bottom, var(--p-300) 0%, var(--p-100) 30%, var(--p-050) 70%, #ffffff 100%);*/
    padding: 0 clamp(.8rem, .8rem + 1vw, 1.6rem);
    /*box-shadow: 0 1px 18px var(--nt-050);*/
    padding-bottom: 0;
}

.search-bar form {
    background-color: white;
}

.search-box {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0rem 1.2rem;
    border: 1px solid var(--nt-400);
    border-radius: 6px;
}

.search-box input {
    flex: 1;
    height: 4rem;
    color: var(--nt-300);
    border: none;
    outline: none;
    width: clamp(30rem, 30rem + 2vw, 52rem);
}

.search-box .search-icon {
    flex-shrink: 0;
    fill: var(--p-300);
}

.profile-bar {
    display: flex;
    padding: .4rem .8rem;
    gap: 2rem;
}

.profile-bar svg path {
    fill: var(--nt-500);
}

.hamburger-btn.show-on-mobile svg {
    fill: var(--p-600);
    height : 3.2rem;
    width: 3.2rem;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 2rem;
    padding: 2rem;
    width: 100vw;
    height: 8rem;
    /*background-color: var(--nt-050);*/
}

.navbar li, a {
    list-style: none;
    text-decoration: none;
    font-size: clamp(1rem, 1rem + 0.3vw, 1.3rem);
    color: var(--nt-500);
    cursor:default;
}

.navbar li {
  position: relative;
}

.navbar li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px; /* adjust as needed */
  width: 0;
  height: 2px;
  background-color: var(--p-500);
  transition: width 0.3s ease;
}

.navbar li:hover::after {
  width: 100%;
}










/* MOBILE STYLES */ 

/* add rule: mobile menu container, slides in from right */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;   /* hidden off-screen by default */
    width: 80%;     /* adjust width as needed */
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    transition: right 0.3s ease-in-out;
    z-index: 999;   /* sits above page content */
    padding: 2rem;
}

.mobile-menu.active {
    right: 0;       /* slides into view */
}

/* add rule: style mobile menu list items */
.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;   /* spacing between items */
}

.mobile-menu ul li {
    font-size: clamp(1rem, 1rem + 0.5vw, 1.4rem);
    color: var(--nt-700);
    font-weight: 500;
    cursor: pointer;
    padding: 1rem 0;
    border-bottom: 1px solid var(--nt-50);
    transition: color 0.2s ease;
}

.mobile-menu ul li:hover {
    color: var(--p-400);   /* highlight on hover */
}

/* add rule: background overlay behind mobile menu */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8); /* semi-transparent black */
    opacity: 0;
    pointer-events: none;   /* prevent clicks when hidden */
    transition: opacity 0.3s ease-in-out;
    z-index: 998;           /* sits just below the menu */
}

/* add rule: active state for overlay */
.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;   /* allow clicks to close menu */
}

/* add rule: mobile search bar inside menu */
.mobile-search {
    margin-top: 3.2rem;
}

.mobile-search .search-box {
    display: flex;
    align-items: center;
    background-color: var(--p-700);
    border: 1px solid var(--nt-200);
    border-radius: 6px;
    padding: 0.6rem 1rem;
}

.mobile-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    color: var(--nt-50);
    outline: none;
}

.mobile-search .search-icon {
    flex-shrink: 0;
    fill: var(--p-50);
}

/* group profile items together */
.mobile-profile-bar {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-top: 8rem;
}

.mobile-profile-bar .profile-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    /*background-color: var(--nt-050);*/
    font-size: clamp(0.8rem, 0.8rem + 0.5vh, 1.2rem);
    padding: 1.4rem;
    width: 100%;
    color: var(--nt-700);
    cursor: pointer;
    /*border-radius: 6px;*/
    border-bottom: 1px solid var(--p-300);
}

.mobile-profile-bar .profile-item svg {
    flex-shrink: 0;
    fill: var(--nt-400);
}

.icon-close {
    display: none;
}

.product-page {
    display: grid;
    grid-template-columns: 2.4fr 1fr;
    margin-top: 140px;
    height: calc(100vh - 140px);
    /*padding-bottom: 2.4rem;*/
    /*gap: clamp(2rem, 2rem + 1vw, 3.2rem);*/
    /*background-color: var(--nt-050);*/
    border-bottom: 1px solid var(--nt-50);
}

.product-main-cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .8rem;
    height: 100%;
    background-color: var(--nt-050);
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    /*max-width: 72rem;
    /*overflow: hidden; */
}

.main-product-img-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 90%;
    padding: 2.4rem 0 .8rem;
    position: relative;
    transition: transform 0.4s ease, opacity 0.4s ease;
    min-width: 0;
}

.main-product-img-cont:hover .magnify-icon {
    display: block;
    opacity: 1;
}

.main-product-img {
    max-height: 500px;
    width: 100%;
    max-width: 600px;
    object-fit: contain;
    object-position: center;
    aspect-ratio: 4/3;
    transition: opacity 0.3s ease;
}

.main-product-img.fade-out {
  opacity: 0;
}

.main-product-img.fade-in {
  opacity: 1;
}

.discount-tab {
  position: absolute;
  top: 2.4rem;
  left: 0px;
  background: linear-gradient(125deg, var(--p-100), var(--p-050));
  padding: .4rem 2rem;
  margin: 0;
  font-size: clamp(.8rem, 1rem + 0.5vw, 1.6rem);
  color: var(--nt-500);
  clip-path: polygon(
    0 0,
    100% 0,
    90% 100%,
    0 100%
  );
}

.magnify-icon {
  position: absolute;
  top: 1.2rem;
  right: 1rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s ease;
  
  border-radius: 50%;
  padding: 8px;
}

.magnify-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--nt-100);
  background-color: var(--nt-600);
  padding: 8px;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .magnify-icon {
    display: block;
    opacity: 1;
  }
}

.bike-images-cont {
    display: flex;
    justify-content: flex-start;
    gap: 1.2rem;
    padding: 0 1.2rem;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    margin-bottom: .8rem;
    scroll-behavior: smooth;
    min-width: 0;
    -webkit-overflow-scrolling: touch;  /* smooth scrolling on iOS */
    scroll-snap-type: x mandatory;  /* aligns to the nearest snap point */
    scroll-padding-left: 1.2rem;  /* ensures the first image respects padding when snapping */
    touch-action: pan-x;  /* allows horizontal scrolling on touch devices */
}

.bike-images-cont:active {
  cursor: grabbing; /* enables dragging the gallery with the mouse like a touch swipe */
}

.bike-images-cont::-webkit-scrollbar {
    height: 4px;
    display: none; /* hide scrollbar by default */
}

.bike-images-cont::-webkit-scrollbar-track {
    background: var(--nt-100);
    border-radius: 4px;
}

.bike-images-cont::-webkit-scrollbar-thumb {
    background: var(--p-600);
    border-radius: 4px;
}

.bike-images-cont::-webkit-scrollbar-thumb:hover {
    background: var(--p-500);
}

.scroll-img {
  width: auto;
  height: 6.8rem;
  flex-shrink: 0;
  scroll-snap-align: start;  /* snap to the start of each image */
}

.scrollbar {
  position: relative;
  height: .4rem;
  background: var(--nt-100);
  border-radius: .4rem;
  margin-top: .8rem;
  overflow: hidden;
}

.scrollbar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--p-600);
  border-radius: .4rem;
  transition: width 0.08s linear, transform 0.08s linear;
}

.bike-sale-details-cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    justify-self: center;   
    max-width: 360px;
    min-width: 320px;
    height: 100%;
    padding: 2rem 2.8rem;
    overflow-y: auto;
    min-height: 0;
}

.bike-sale-details-cont .btn-main {
    width: 100%;
}

.name-and-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 2.8rem;
}

.name-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.name-box > * {
    margin: 0;
    color: var(--nt-500);
    font-weight: 400;
}

.price-cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.price-cont * {
    margin: 0;
    color: var(--nt-400);
}

.old-price {
  text-decoration: line-through;
  font-size: clamp(1.2rem, 1.4rem + 0.25vw, 1.6rem);
}

.color-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.color-box-cont {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: .2rem 0rem;
  gap: .8rem;
}

.color-box-cont p {
  margin: 0;
}

.color-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  padding: .4rem 0 .8rem;
}

.color { 
    width: 2.4rem;       
    height: 2.4rem; 
    border-radius: 50%;      
    border: 4px solid var(--nt-100);
    cursor: pointer; 
} 

.color.active { 
  border: 4px solid var(--p-400);
}

.color.copper {
  background-color: var(--p-500);
} 

.color.silver {
  background-color: #bbbbbb; 
}

.color.lavender {
  background-color: #bbbded;
}

.color.cobalt-blue {
  background-color: #1f30ad;
}

.color.mars-red {
  background-color: #b24630;
}

.color.spaceship-green {
  background-color: #69765b;
}

.color.escape-green {
  background-color: #3c4c45;
}

.color.jet-black {
  background-color: rgb(63, 63, 63);
}

.color.mocha {
  background-color: #553a45;
}

.color.ivory-white {
  background-color: #d6d3c9;
}

.color.royal-amethyst {
  background-color: #66404f;
}

.red { color: var(--tc-300); }
.blue { color: var(--success-300); }
.green { color: var(--s-400); } 
.orange { color: var(--warning-300); } 
.gray { color: var(--nt-300); }
.black { color: var(--nt-800); }
.transparent { color: transparent; }

.color-name {
  margin: 0;
  color: var(--nt-500);
  padding-right: 6%;
}


.availability-box {
    display: flex;
    flex-direction: column;
    padding: .4rem 0;
    justify-content: center;
    color: var(--s-300);
    font-weight: 400;
    width: 100%;
}

.availability {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.availability-color {
    width: 1rem; 
    height: 1rem; 
    border-radius: 50%; 
    background-color: currentColor;
}

.availability-info p {
  margin: 0;
  font-size: clamp(0.8rem, 0.8rem + 0.3vw, 1.4rem);
  font-style: italic;
  color: var(--nt-800);
}

.availability-info {
  color: inherit;
}

.notify-dropdown, .pre-order-dropdown {
  width: 100%;
  background-color: var(--nt-050);
  border: 0px solid var(--nt-200);
  border-radius: 4px;

  max-height: 0;       /* collapsed by default */
  overflow: hidden;    /* hide content when collapsed */
  opacity: 0;          /* optional fade */
  transition: max-height 0.3s ease-in, opacity 0.3s ease-in;
  margin-top: .2rem;       /* no margin when collapsed */
  padding: 0;          /* no padding when collapsed */
}

.notify-dropdown.open, .pre-order-dropdown.open {
  max-height: 150px;   /* enough to fit content */
  opacity: 1;
  padding: 1rem;       /* padding only when open */
}

.notify-dropdown.open p, .pre-order-dropdown.open p {
  margin-top: 0;
  color: var(--nt-600);
}


.notify-buttons {
  display: flex; 
  gap: 1rem; 
} 

.notify-buttons button { 
  flex: 1; /* two equal columns */ 
  padding: 0.75rem; 
  font-size: 1rem; 
  cursor: pointer; 
  border-radius: 4px;
  border: 1px solid var(--nt-300);
}

.notify-yes, .pre-order-yes {
  background-color: var(--p-400);
  color: var(--nt-050);
}

.notify-yes:hover, .pre-order-yes:hover {
  background-color: var(--p-500);
}

.notify-cancel, .pre-order-cancel {
  color: var(--nt-500);
}



.size-box-wrapper {
    display: flex;
    gap: 1.6rem;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: .4rem;
}

.size-box-inner {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: .8rem;
    padding: 0rem;
}

.sizing-cont {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.size-box-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: .4rem;
    gap: .8rem;
}

.size-box {
    padding: .4rem;
    border: 1px solid var(--nt-300);
    border-radius: 10px;
    width: 4rem;
    height: auto;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    background-color: white;
}

.size-box:hover {
    background-color: var(--p-050);
}

.size-box.active {
    border: 3px solid var(--p-300);
    /*background-color: var(--p-050);*/
}

.sizing-guide {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-start;
    gap: .2rem;
    color: var(--s-300);
    font-size: clamp(1rem, 0.9rem + 0.25vw, 1.4rem);
    text-decoration: underline;
    cursor: pointer;
}

.arrow-up {
    display: none;
}

.sizing-menu {
    width:auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    max-height: 0; /* collapsed by default */ 
    overflow: hidden; /* hide content when collapsed */ 
    transition: max-height 0.3s ease-in; /* smooth roll down */
}

.sizing-menu.open { 
    max-height: 170px; /* expand enough to fit content */ 
}

.size-row-cont {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
}

.size-row {
    display: flex;
    gap: .8rem;
}

.size-label {
    display: flex;
    justify-content: center;
    border: 1px solid var(--nt-600);
    /*padding: .1rem;*/
    width: 2.4rem;
    border-radius: 8px;
    color: var(--nt-050);
    background-color: var(--s-300);
}

.toggle-measurement-unit .unit-toggle {
    display: flex;
    border: 1px solid var(--nt-300);
    border-radius: 2rem; /* pill shape */
    overflow: hidden;
    width: fit-content;
    margin: 1rem auto 0; /* center it */
}

.toggle-measurement-unit .unit-option {
    flex: 1;
    padding: .6rem 1.2rem;
    text-align: center;
    cursor: pointer;
    background-color: var(--nt-050);
    color: var(--nt-800);
    transition: background-color 0.3s, color 0.3s;
}

.toggle-measurement-unit .unit-option.active {
    background-color: var(--p-400); /* highlight color */
    color: white;
}

.quantity-cont {
    display: grid;
    grid-template-rows: 1fr 1.6fr;
    width: 100%;
    border: 1px solid var(--nt-50);
    border-radius: 6px;
    padding: .4rem 1.2rem;
}

.quantity-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.quantity-box button {
    background-color: white;
    border: none;
    border-radius: 4px;
    font-size: 2.4rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-shadow: 2px 4px 16px rgba(0,0,0,0.2);
}

.quantity {
    width: 4.4rem;
    text-align: center;
    border: 1px solid var(--nt-300);
    background-color: var(--nt-400);
    color: var(--nt-050);
    /*font-size: 1.6rem;*/
    padding: 0.2rem;
}

.payment-options-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: .8rem;
    gap: 0.8rem;
    width: 100%;
}

.payment-options-cont{
    min-width: 33.8px;
    max-width: 33.8px;
    height: 25.3px;
    border-radius: 5px;
    border: 1px solid var(--nt-100);
}

.payment-options-cont img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.btn-sec {
    padding: 1.8rem 8rem;
    margin: .8rem 0rem;
    cursor: pointer;
    color: var(--nt-400);
    font-size: 1.4rem;
    font-weight: 600;
    border: 1px solid var(--nt-50);
    border-radius: 8px;
    background-color: var(--p-50);
}

.block {
    padding: 1.6rem 3.2rem;
    border: none;
    height: 6rem;
    cursor: pointer;
    background-color: white;
    width: 100%;
}

.with-img {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .8rem;
}

.with-img.active {
  background-color: var(--nt-050);
  color: var(--nt-600);
}

.with-img svg {
  fill: var(--nt-300)
}

.wishlist-box {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    width: 100%;
    margin-top: 2rem;
}

.wishlist-box button {
    border: 1px solid var(--nt-200);
    border-radius: 16px;
    padding: .2rem;
    cursor: pointer;
    color: var(--nt-500);
    height: 4.8rem;
    cursor: pointer;
}

.part-description-cont {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: .8rem;
    width: 80%;
    column-gap: 6rem;
    row-gap: .2rem;
}

/*.part-description-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .8rem;
}*/

.part-description {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--nt-50);
}

.part {
    display: flex;
    flex: 1;
    align-items: flex-start;
}

.part p {
    font-weight: 600;
    color: var(--nt-500);
}

.description {
    display: flex;
    flex: 3;
    align-items: flex-start;
}

.show-on-mobile {
    display: none;
}

/* add rule: prevent body scroll when menu is active */
body.lock-scroll {
    overflow: hidden;
}

.btn-mid-section {
    padding: 1.6rem 3.2rem;
    margin-top: 4rem;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 600;
    background-color: var(--p-500);
    color: var(--nt-050);
    border: none;
    border-radius: 8px;
    text-align: center;
}

.btn-mid-section:hover {
    background-color: var(--p-600);
}

.divider {
    padding: .1rem;
    background-color: var(--nt-200);
    margin: 94px 0 44px 0;
}

@media (max-width: 1024px) {
    .product-page {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
        min-height: auto;
        margin-top: 12rem;
        border-bottom: none;
    }

    .product-main-cont {
        width: 100%;
        max-width: 100%;
        gap: 1rem;
        margin-bottom: 1.2rem;
        padding: 1.6rem;
        height: auto;
        overflow: visible;
        min-height: auto;
    }

    .bike-images-cont {
        max-width: 100%;
        padding: 0 0.8rem;
        margin-bottom: 1rem;
    }

    .bike-sale-details-cont {
        width: 100%;
        max-width: 560px;
        margin-top: 8.8rem;
        margin-bottom: 0;
        padding: 3.6rem;
        gap: 1.2rem;
        flex: none;
        flex-basis: auto;
        height: auto;
        overflow-y: visible;
        min-height: auto;
        border: 1px solid var(--p-200);
        border-radius: 1.6rem;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }
}


@media (max-width: 768px) {
    .wrapper {
        padding: 2.8rem 1.6rem;
    }

    .search-bar {
      height: 7.2rem;
    }

    .main-product-img {
        width: 100%;
    }

    .product-page {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: auto;
        margin-top: 11.2rem;
    }

    .product-main-cont {
        width: 100%;
        max-width: 100%;
        gap: 1rem;
        margin-bottom: 1.2rem;
        padding: 1.6rem;
        height: auto;
    }

    .bike-images-cont {
        max-width: 100%;
        padding: 0 0.8rem;
        margin-bottom: 1rem;
    }

    .bike-images-cont::-webkit-scrollbar {
    height: 2px;
    }

    .bike-sale-details-cont {
        width: 100%;
        max-width: 520px;
        margin-bottom: 0;
        margin-top: 6rem;
        gap: 1.2rem;
        flex: none;
        flex-basis: auto;
        height: auto;
        overflow-y: visible;
        border: none;
        box-shadow: none;
    }

    .part-description-cont {
        grid-template-columns: 1fr;
        width: 100%;
        column-gap: 0;
        row-gap: .6rem;
        padding: 0.8rem;
    }

    .availability-box, .sizing-guide {
       padding: 0; 
    }

    .quantity-cont {
        flex-direction: column;
        align-items: center;
    }

    .hide-on-mobile {
        display: none;
    }

    .show-on-mobile {
        display: block;
        padding: 0 2rem;
    }

    .notify-buttons {
        flex-direction: column; 
    } 
}

@media (max-width: 460px) {
  .offer-bar {
    height: 2.8rem;
  }

  .offer-bar > * {
    margin: 0;
    font-size: 14px;
  }

  .search-bar {
    height: 4.8rem;
  }

  .product-page {
    margin-top: 76px;
  }
}

@media (max-width: 420px) {
    .bike-images-cont {
      justify-content: flex-start;
      padding: 0 0.6rem;
      gap: 0.8rem;
    }

    .product-main-cont {
        padding: 1rem;
        gap: 0.8rem;
    }

    .bike-sale-details-cont {
        padding: 1.2rem;
    }

    .scroll-img {
        height: 60px;
    }
}



@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}



/* Remove default web counters
/* Chrome, Safari, Edge */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}




/* ========================================
   CAROUSEL STYLING
   ======================================== */

/* Main carousel container - holds arrows and items */
.carousel {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2rem + 1vw, 3rem);
  width: 100%;
  max-width: 1200px;
  margin: 0;
}

.carousel {
    margin: 0;
    padding: 8px 0;
}

.carousel-items {
  display: flex;
  gap: clamp(1rem, 1.5rem + 0.5vw, 1.6rem);
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  padding: 0.5rem 0;
  scrollbar-width: none;   /* Hide the default scrollbar */
  scroll-snap-type: x mandatory;  /* snap horizontally */
}

.carousel-items.small {
    padding: 0;
    justify-content: center;
}

/* Hide scrollbar for Chrome and Safari */
.carousel-items::-webkit-scrollbar {
  display: none;
}

.card {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: .2rem;
    min-width: 238px;
    max-width: 238px;
    margin-left: 1.2rem;
    height: 448px;
    border-radius: 0.8rem;
    /*overflow: hidden;*/
    /*box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);*/
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid var(--nt-050);
    position: relative;
    /*background-color: var(--nt-050);*/
}

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

.card.small:hover {
    transform: none;
    box-shadow: none;
}

.card-img-cont {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    background-color: white;
    min-height: 150px;
    height: 240px;
    border-bottom: 1px solid var(--);
    background-color: var(--nt-050);
}

.card-img-cont.small {
    min-height: 16px;
}

.card-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  object-position: center;
  overflow:hidden;
  margin-top: 12px;
}

.card-img.small {
    margin: 0;
}

.card-discount {
  font-size: 1.2rem;
  color: var(--nt-050);
  text-align: center;
  margin: 0;
  padding: .2rem .8rem;
  background-color: var(--p-300);
  /*border: 1px solid var(--nt-100);*/
  display: none;
  position: absolute;
  left: -12px;
  top: 8px;
  clip-path: polygon(
    0 0,
    100% 0,
    90% 100%,
    0 100%
  );
}

.card-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0 1rem 1rem 1rem;
  /*min-height: 80px;*/
}

.card-product {
  font-size: clamp(1rem, 1rem + 0.3vw, 1.3rem);
  color: var(--nt-600);
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  padding-top: 1.2rem;
  height: 60px;
}

.card-price-cont {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.card-price-cont p {
    margin: 0;
}

.card-old-price {
    text-decoration: line-through;
    color: var(--nt-200);
    font-weight: 200;
}

.card-price {
  font-size: clamp(1.4rem, 1.5rem + 0.3vw, 2.4rem);
  color: var(--p-500);
  font-weight: 600;
  margin: 0;
}

.carousel-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-start;
    gap: 0.5rem;
    padding: 1rem 1.2rem;
    margin-top: 2.4rem;
    width: 12rem;
    background-color: var(--t-400);
    color: var(--nt-50);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(0.9rem, 0.8rem + 0.3vw, 1.4rem);
    position: absolute;
    bottom: 0;
    left: 0rem;
}

.carousel-btn:hover {
    background-color: var(--t-500);
}

.carousel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(2.5rem, 4rem, 5rem);
  height: clamp(2.5rem, 4rem, 5rem);
  border-radius: 50%;
  border: 1px solid var(--p-500);
  background-color: white;
  color: var(--p-500);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-arrow.small {
    width: 24px;
    height: 24px;
}

.carousel-arrow:hover {
  background-color: var(--p-050);
 /*transform: scale(1.1);*/
}

/* Arrow button active/click effect */
.carousel-arrow:active {
 transform: scale(0.95);
}

.carousel-arrow svg {
    fill: var(--nt-500)
}

.carousel-arrow-left {
  order: -1;
}

.carousel-arrow-right {
  order: 1;
}

/* Scroll bar container - shows progress */
.carousel-scrollbar {
  width: 100%;
  height: 4px;
  background-color: var(--nt-100);
  border-radius: 2px;
  margin-top: 2rem;
  overflow: hidden;
}

.carousel-scrollbar.small {
    margin: 0;
}

/* Scroll bar fill - animates with carousel position */
.carousel-scrollbar-fill {
  height: 100%;
  background-color: var(--p-500);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s ease-out;
}

/* ========================================
   RESPONSIVE CAROUSEL STYLING
   ======================================== */

  @media (max-width: 1024px) {
    .carousel {
        max-width: 924px;
    }

    .card {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }
  }
  
   @media (max-width: 768px) {
  .carousel {
    gap: 1rem;
  }

  .card {
    height: 424px;
    gap: .2rem;
    min-width: 220px;
    max-width: 220px;
    cursor: pointer;
    border: 1px solid var(--nt-50);
  }

  .card-info {
    gap: .8rem;
  }

  .carousel-arrow {
    width: 2.5rem;
    height: 2.5rem;
    display: none;
  }

  .carousel-arrow svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .carousel {
    gap: 0.5rem;
  }

  .card {
    height: 400px;
  }

  .card-img-cont {
    min-height: 120px;
    padding: 0.8rem;
  }

  .card-img {
    max-width: 100%;
  }

  .card-discount {
    font-size: 1rem;
  }

  .card-product {
    font-size: 1.1rem;
  }

  .card-info {
    gap: .2rem;
  }

  .carousel-arrow {
    width: 2rem;
    height: 2rem;
  }

  .carousel-arrow svg {
    width: 16px;
    height: 16px;
  }
}




/* ========================================
   BIKES PAGE STYLING
   ======================================== */

.bikes-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3rem, 3rem + 1.5vw, 5rem);
  padding: clamp(2.4rem, 2.4rem + 1.2vw, 4rem);
  max-width: 1500px;
  margin: 14rem auto 0;
  width: 100%;
}

.bikes-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1rem;
}

.bikes-header h2 {
  margin: 0;
  font-size: clamp(2.4rem, 2rem + 0.8vw, 4.8rem);
  letter-spacing: -0.5px;
}

.bikes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: clamp(8rem, 8rem + 2vw, 16rem);
  column-gap: clamp(2rem, 1.6rem + 1vw, 2.8rem);
  width: 100%;
}

.bikes-grid .card {
  min-width: 280px;
  max-width: 280px;
  height: 440px;
  border: 1px solid var(--nt-100);
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.bikes-grid .card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--nt-200);
}

.bikes-grid .card-img-cont {
  min-height: 160px;
  height: 240px;
  border-radius: 1rem 1rem 0 0;
}

.bikes-grid .card-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  /*gap: 2.4rem;*/
  padding: 1.6rem 1.4rem 1.4rem 1.4rem;
  height: 144px;
}

.bikes-grid .card-product {
  font-size: clamp(1.2rem, 1.2rem + 0.2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  padding-top: 0;
  /*height: auto;*/
  color: var(--nt-700);
}

.bikes-grid .card-price-cont {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.bikes-grid .card-price {
  font-size: clamp(1.6rem, 1.6rem + 0.4vw, 2rem);
  color: var(--p-500);
  font-weight: 600;
  margin: 0;
  line-height: 1;
}

.bikes-grid .card-old-price {
  text-decoration: line-through;
  color: var(--nt-300);
  font-weight: 300;
  font-size: clamp(1rem, 0.8rem + 0.4vw, 1.2rem);
  margin: 0;
}

/* ========================================
   RESPONSIVE BIKES PAGE STYLING
   ======================================== */

/* Large devices (1200px+) - 4 cards per row */
@media (min-width: 1400px) {
  .bikes-grid {
    justify-content: center;
  }
}

/* Medium-large devices (1024px - 1399px) - 3 cards per row */
@media (max-width: 1399px) {
  .bikes-page {
    max-width: 1100px;
  }

  .bikes-grid .card {
    min-width: 290px;
    max-width: 290px;
    height: 456px;
  }

  .bikes-grid .card-img-cont {
    height: 250px;
  }
}

/* Tablets (768px - 1023px) - 2 cards per row */
@media (max-width: 1023px) {
  .bikes-page {
    gap: clamp(2.4rem, 2.4rem + 1vw, 3.5rem);
    padding: clamp(2rem, 2rem + 1vw, 3rem);
    max-width: 900px;
  }

  .bikes-header h2 {
    font-size: clamp(2rem, 1.8rem + 0.6vw, 3.6rem);
  }

  .bikes-grid {
    gap: clamp(1.8rem, 2rem + 0.8vw, 2.8rem);
  }

  .bikes-grid .card {
    min-width: 310px;
    max-width: 310px;
    border-radius: 1rem;
  }

  .bikes-grid .card-img-cont {
    height: 260px;
    border-radius: 1rem 1rem 0 0;
  }

  .bikes-grid .card-info {
    padding: 1.5rem 1.3rem;
  }
}

/* Small tablets/large mobile (480px - 767px) - 1-2 cards per row */
@media (max-width: 767px) {
  .bikes-page {
    gap: clamp(2rem, 2rem + 1vw, 2.8rem);
    padding: clamp(1.6rem, 1.6rem + 1vw, 2.4rem);
    max-width: 100%;
  }

  .bikes-header h2 {
    font-size: clamp(1.8rem, 1.6rem + 0.5vw, 2.8rem);
  }

  .bikes-grid {
    gap: clamp(1.6rem, 1.8rem + 0.5vw, 2.4rem);
    justify-content: space-around;
  }

  .bikes-grid .card-info {
    height: 124px;
  }

  .bikes-grid .card {
    /*min-width: calc(50% - 1rem);*/
    max-width: calc(50% - 1rem);
    height: 408px;
    border-radius: 0.8rem;
    margin: 0;
  }

  .bikes-grid .card-img-cont {
    height: 220px;
    border-radius: 0.8rem 0.8rem 0 0;
  }

  .bikes-grid .card-info {
    padding: 1.2rem 1rem;
    gap: 1rem;
  }

  .bikes-grid .card-product {
    line-height: 1.4;
  }

  .bikes-grid .card-price {
    font-size: 1.6rem;
  }

  .bikes-grid .card-old-price {
    font-size: 0.95rem;
  }
}

@media (max-width: 479px) {
  .bikes-page {
    gap: 1.8rem;
    padding: 1.4rem;
    max-width: 100%;
    margin-top: 108px;
  }

  .bikes-header h2 {
    font-size: clamp(1.6rem, 1.4rem + 0.4vw, 2.4rem);
  }

  .bikes-grid {
    gap: 1.4rem;
    justify-content: center;
  }

  .bikes-grid .card {
    min-width: calc(90% - 1rem);
    max-width: calc(50% - 1rem);
    height: 372px;
    border-radius: 0.8rem;
  }

  .bikes-grid .card-info {
    height: 108px;
  }

  .bikes-grid .card-img-cont {
    height: 200px;
    border-radius: 0.8rem 0.8rem 0 0;
  }

  .bikes-grid .card-info {
    padding: 1rem 1rem;
  }

  .bikes-grid .card-product {
    line-height: 1.3;
  }

  .bikes-grid .card-price {
    font-size: 1.4rem;
  }

  .bikes-grid .card-old-price {
    font-size: 0.9rem;
  }
}







/* ============= FOOTER STYLES ============= */

.footer {
  background-color: var(--nt-800);
  color: var(--nt-050);
  padding: clamp(4rem, 4rem + 2vw, 6rem) clamp(1.6rem, 1.6rem + 1vw, 3.6rem);
  margin-top: clamp(4rem, 4rem + 2vw, 8rem);
  margin-top: 12rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 2rem + 2vw, 4rem);
  max-width: 1400px;
  margin: 0 auto;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.footer-title {
  font-size: clamp(1.2rem, 1rem + 0.3vw, 1.8rem);
  color: var(--p-300);
  margin: 0;
  font-weight: 600;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-list li {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.4rem);
}

.footer-list a {
  color: var(--nt-050);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-list a:hover {
  color: var(--p-300);
}

.newsletter-section {
  flex: 1;
  min-width: 250px;
}

.newsletter-text {
  color: var(--nt-050);
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.2rem);
  margin: 0 0 1.6rem 0;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-input {
  padding: clamp(0.8rem, 0.8rem + 0.2vw, 1.2rem);
  border: 1px solid var(--nt-600);
  border-radius: 6px;
  background-color: var(--nt-700);
  color: var(--nt-050);
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.4rem);
  font-family: inherit;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.newsletter-input::placeholder {
  color: var(--nt-400);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--p-300);
  background-color: var(--nt-600);
}

.newsletter-btn {
  padding: clamp(0.8rem, 0.8rem + 0.2vw, 1.2rem);
  background-color: var(--p-500);
  color: var(--nt-050);
  border: none;
  border-radius: 6px;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.4rem);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: inherit;
}

.newsletter-btn:hover {
  background-color: var(--p-600);
  transform: translateY(-2px);
}

.newsletter-btn:active {
  transform: translateY(0);
}

.social-section {
  flex: 1;
  min-width: 200px;
}

.social-icons {
  display: flex;
  gap: 1.6rem;
  align-items: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--nt-700);
  color: var(--nt-050);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.social-icon svg {
  width: 2rem;
  height: 2rem;
}

.social-icon.facebook:hover {
  background-color: #1877f2;
  color: white;
  transform: scale(1.1);
}

.social-icon.instagram:hover {
  background: linear-gradient(135deg, #fd5949 0%, #d6249f 45%, #285AEB 60%);
  color: white;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: clamp(2rem, 2rem + 1vw, 4rem);
  padding-top: clamp(2rem, 2rem + 1vw, 3rem);
  border-top: 1px solid var(--nt-700);
  font-size: clamp(0.85rem, 0.8rem + 0.2vw, 1.2rem);
  color: var(--nt-400);
}

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

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 3rem;
  }

  .footer-section {
    min-width: 100%;
  }

  .newsletter-form {
    flex-direction: row;
    gap: 0.8rem;
  }

  .newsletter-input {
    flex: 1;
  }

  .newsletter-btn {
    min-width: 100px;
  }

  .social-icons {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: clamp(2.4rem, 2.4rem + 1vw, 3.6rem) clamp(1.2rem, 1.2rem + 1vw, 1.6rem);
  }

  .footer-container {
    gap: 2rem;
  }

  .footer-title {
    font-size: clamp(1rem, 0.9rem + 0.2vw, 1.4rem);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    width: 100%;
  }

  .newsletter-btn {
    width: 100%;
  }

  .social-icon {
    width: 3.6rem;
    height: 3.6rem;
  }

  .social-icon svg {
    width: 1.8rem;
    height: 1.8rem;
  }

  .social-icons {
    gap: 1.2rem;
  }
}





.hidden {
    display: none;
}






/* ============= COMPARE LIGHTBOX STYLING ============= */

.compare-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
}

.compare-lightbox {
  background-color: white;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.compare-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--nt-100);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--nt-800);
  z-index: 10000;
  padding: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.compare-close-btn:hover {
  background-color: var(--nt-100);
}

.compare-container {
  display: flex;
  gap: 0;
  flex: 1;
  overflow: hidden;
  position: relative;
}

.compare-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-y: auto;
}

.compare-header {
  position: sticky;
  top: 0;
  background-color: var(--nt-700);
  z-index: 100;
  padding: 1.6rem;
  border-bottom: 1px solid var(--nt-200);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.compare-side-left {
  border-right: 1px solid var(--nt-200);
}

/* Title styling - inherits from existing h2 */
.compare-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--p-100);
  text-align: center;
  line-height: 1.3;
  word-break: break-word;
}

/* Price container - inherits title styling */
.compare-price-cont {
  display: flex;
  justify-content: center;
  align-items: center;
}

.compare-price-cont .price-cont {
  padding: 0;
}

.compare-price-cont .price-cont > *, span.new-price {
  text-align: center;
  color: var(--nt-100);
  font-size: 20px;
  font-weight: 600;
}

.compare-content-cont {
  flex: 1; 
  display: flex; 
  flex-direction: column; 
}

.compare-content-cont .magnify-icon {
  display: none;
}

.compare-content-cont .discount-tab {
  display: none;
}

.compare-img {
  padding: .8rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--nt-050);
}

.compare-img img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.compare-content {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
}

/* Ensure wrapper content stacks properly */
.compare-content .wrapper {
  display: flex;
  flex-direction: column;
}

.compare-content .wrapper.mid-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* spacing between sections */
  padding-top: 2rem;
}

.compare-content .wrapper.mid-section > * {
  width: 100%;
}

/* Optional: description container */
.compare-content .part-description-cont {
  display: block;
}

.compare-divider {
  width: 1px;
  background-color: var(--p-600);
  flex-shrink: 0;
}

/* Loading indicator */
.compare-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
}

.compare-loader {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.spinner {
  border: 4px solid var(--nt-200);
  border-top: 4px solid var(--p-600);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  animation: spin 1s linear infinite;
}

.compare-loader-text {
  color: var(--nt-600);
  font-size: 0.95rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


@media (max-width: 1024px) {
    .compare-price-cont span.new-price {
      font-size: 15px;
    }
}

@media (max-width: 768px) {
  .compare-lightbox {
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .compare-container {
    flex-direction: column;
  }

  .compare-side {
    border-right: none;
    border-bottom: 1px solid var(--nt-200);
  }

  .compare-side:last-of-type {
    border-bottom: none;
  }

  .compare-header {
    padding: 1.25rem;
    gap: 0.8rem;
  }

  .compare-header .compare-title {
    font-weight: 400;
    color: var(--p-100);
  }

  .compare-content {
    padding: 1.25rem;
  }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .compare-lightbox {
    max-width: 100vw;
    max-height: 100vh;
  }

  .compare-close-btn {
    top: 0.75rem;
    right: 0.75rem;
  }

  .compare-header {
    padding: 1rem;
    gap: 0.5rem;
  }

  .compare-title {
    font-size: 1.1rem;
  }

  .compare-price-cont .price-cont > *{
    font-size: 1rem;
  }

  .compare-img {
    
    padding: 0.75rem;
  }

  .compare-content {
    padding: 1rem;
  }

  .compare-container {
    max-height: calc(100vh - 4rem);
  }
}







/* ========================================
       FULLSCREEN MAGNIFICATION STYLING
   ======================================== */
.main-product-img-cont.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--nt-050);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.main-product-img-cont.fullscreen .magnify-icon {
  display: none !important;
}

.main-product-img-cont.fullscreen > div:first-child {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}

.main-product-img-cont.fullscreen img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  width: auto;
  height: auto;
}

.main-product-img-cont.fullscreen .discount-tab{
  display: none !important;
}

.disabled {
  opacity: 0.1 !important;
  pointer-events: none !important;
}

.magnify-icons-cont {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10000;
}

.magnify-icons-cont.hidden {
  display: none !important;
}

.magnify-icons-cont svg {
  width: 40px;
  height: 40px;
  background-color: #ffff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  fill: var(--nt-400);
  cursor: pointer;
  transition: opacity 0.2s ease;
  pointer-events: auto;
}

.magnify-icons-cont svg.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.magnify-icons-cont .close-icon {
  position: absolute;
  right: 2rem;
  top: 2rem;
  cursor: pointer;
}

.magnify-icons-cont .arrow-left,
.magnify-icons-cont .arrow-right {
  position: absolute;
  cursor: pointer;
  transition: opacity 0.2s ease;
  top: 50%;
  transform: translateY(-50%);
}

.magnify-icons-cont .arrow-left {
  left: 2rem;
}

.magnify-icons-cont .arrow-right {
  right: 2rem;
}

@media (max-width: 1024px) {
  .magnify-icons-cont {
    position: absolute;
    top: 90vh;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    max-width: 232px;
    max-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    background-color: transparent;
    pointer-events: auto;
  }

  .magnify-icons-cont svg {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .magnify-icons-cont .close-icon {
    position: static;
    left: auto;
    transform: none;
    top: auto;
    cursor: pointer;
  }

  .magnify-icons-cont .close-icon svg {
    width: 52px;
    height: 52px;
    padding: 12px;
  }

  .magnify-icons-cont .arrow-left,
  .magnify-icons-cont .arrow-right {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    cursor: pointer;
  }
}

@media (max-width: 480px) {
  .magnify-icons-cont {
    top: 85vh;
    max-width: 200px;
    gap: 1rem;
  }

  .magnify-icons-cont svg {
    width: 32px;
    height: 32px;
    padding: 4px;
  }

  .magnify-icons-cont .close-icon svg {
    width: 44px;
    height: 44px;
    padding: 6px;
  }
}




/* ========================================
   WHATSAPP CONTACT FORM STYLING
   ======================================== */

.whatsapp-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: clamp(2rem, 2rem + 2vw, 4rem);
  background-color: var(--nt-050);
  margin-top: 72px;
}

.whatsapp-content {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 2rem + 1vw, 3rem);
  background-color: white;
  padding: clamp(3.2rem, 3.2rem + 2vw, 4.8rem);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
}

.whatsapp-content .btn-main {
  max-width: none;
}

.whatsapp-subtitle {
  color: var(--nt-600);
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.4rem);
  margin: 0;
  line-height: 1.6;
}

.whatsapp-content h1 {
  margin: 0;
  font-size: clamp(2rem, 1.8rem + 0.5vw, 3rem);
  color: var(--nt-700);
}

/* Customer Details Form Container */
.customer-details {
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 1.6rem + 0.5vw, 2.4rem);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.form-group label {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.4rem);
  font-weight: 600;
  color: var(--nt-700);
  text-transform: capitalize;
}

.form-group input,
.form-group textarea {
  padding: clamp(1rem, 1rem + 0.3vw, 1.4rem);
  border: 1px solid var(--nt-200);
  border-radius: 6px;
  font-family: inherit;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.4rem);
  color: var(--nt-800);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--nt-400);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--p-500);
  box-shadow: 0 0 0 3px var(--p-050);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
  font-family: inherit;
}

.whatsapp-send {
  margin-top: 1rem;
  width: 100%;
}

/* Confirmation Preview Styles */
.confirmation-preview {
  display: flex;
  flex-direction: column;
  gap: clamp(1.6rem, 1.6rem + 0.5vw, 2.4rem);
  padding: clamp(1.6rem, 1.6rem + 1vw, 2.4rem);
  background-color: var(--nt-050);
  border-radius: 6px;
  border: 1px solid var(--nt-200);
}

.preview-item {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.preview-item label {
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.4rem);
  font-weight: 600;
  color: var(--nt-700);
}

.preview-value {
  padding: clamp(1rem, 1rem + 0.3vw, 1.4rem);
  background-color: white;
  border-radius: 6px;
  border: 1px solid var(--nt-100);
  color: var(--nt-800);
  margin: 0;
  word-break: break-word;
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.4rem);
}

.preview-editable {
  padding: clamp(1rem, 1rem + 0.3vw, 1.4rem);
  background-color: white;
  border: 2px solid var(--p-200);
  border-radius: 6px;
  color: var(--nt-800);
  font-family: inherit;
  font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.4rem);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

.preview-editable::placeholder {
  color: var(--nt-400);
}

.preview-editable:focus {
  outline: none;
  border-color: var(--p-500);
}

.preview-editable:hover {
  border-color: var(--p-300);
}

/* Confirmation Buttons */
.confirmation-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.whatsapp-confirm {
  width: 100%;
}

.btn-secondary {
  padding: clamp(1rem, 1rem + 0.3vw, 1.4rem) clamp(1.6rem, 1.6rem + 0.5vw, 2.4rem);
  background-color: var(--nt-100);
  color: var(--nt-700);
  border: 1px solid var(--nt-300);
  border-radius: 8px;
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.6rem);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.btn-secondary:hover {
  background-color: var(--nt-200);
  border-color: var(--nt-400);
}

.whatsapp-back {
  width: 100%;
}


/* ========================================
   WHATSAPP RESPONSIVE STYLING
   ======================================== */

@media (max-width: 1024px) {
  .whatsapp-content {
    padding: clamp(2.4rem, 2.4rem + 1vw, 3.6rem);
    gap: clamp(1.6rem, 1.6rem + 0.8vw, 2.4rem);
  }
}

@media (max-width: 768px) {
  .whatsapp-container {
    padding: clamp(1.6rem, 1.6rem + 1vw, 2.4rem);
    min-height: calc(100vh - 100px);
  }

  .whatsapp-content {
    padding: clamp(2rem, 2rem + 1vw, 3rem);
    gap: clamp(1.4rem, 1.4rem + 0.5vw, 2rem);
    border-radius: 6px;
  }

  .whatsapp-content h1 {
    font-size: clamp(1.6rem, 1.4rem + 0.5vw, 2.4rem);
  }

  .whatsapp-subtitle {
    font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.2rem);
  }

  .customer-details {
    gap: clamp(1.4rem, 1.4rem + 0.3vw, 2rem);
  }

  .form-group label {
    font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.2rem);
  }

  .form-group input,
  .form-group textarea {
    padding: clamp(0.9rem, 0.9rem + 0.2vw, 1.2rem);
    font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.2rem);
  }

  .form-group textarea {
    min-height: 120px;
  }

  .confirmation-preview {
    gap: clamp(1.2rem, 1.2rem + 0.3vw, 1.8rem);
    padding: clamp(1.2rem, 1.2rem + 0.5vw, 1.8rem);
  }

  .preview-value {
    padding: clamp(0.9rem, 0.9rem + 0.2vw, 1.2rem);
    font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.2rem);
  }

  .confirmation-buttons {
    gap: 0.8rem;
  }

  .btn-secondary {
    padding: clamp(0.9rem, 0.9rem + 0.2vw, 1.2rem) clamp(1.4rem, 1.4rem + 0.3vw, 2rem);
    font-size: clamp(0.9rem, 0.85rem + 0.2vw, 1.4rem);
    border-radius: 6px;
  }
}

@media (max-width: 480px) {
  .whatsapp-container {
    padding: 1.2rem;
    min-height: calc(100vh - 90px);
  }

  .whatsapp-content {
    padding: 1.6rem;
    gap: 1.2rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }

  .whatsapp-content h1 {
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
  }

  .whatsapp-subtitle {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }

  .customer-details {
    gap: 1.2rem;
  }

  .form-group {
    gap: 0.6rem;
  }

  .form-group label {
    font-size: 0.95rem;
  }

  .form-group input,
  .form-group textarea {
    padding: 0.9rem;
    font-size: 0.95rem;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .whatsapp-send {
    margin-top: 0.8rem;
    padding: 1rem;
    font-size: 1rem;
  }

  .confirmation-preview {
    gap: 1rem;
    padding: 1.2rem;
  }

  .preview-item label {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }

  .preview-value {
    padding: 0.9rem;
    font-size: 0.95rem;
  }

  .confirmation-buttons {
    gap: 0.8rem;
    margin-top: 0.8rem;
  }

  .whatsapp-confirm,
  .whatsapp-back {
    padding: 1rem;
    font-size: 1rem;
  }

  .btn-secondary {
    padding: 0.9rem 1.2rem;
    font-size: 1rem;
  }
}






/* ============= HEARTS STYLES ============= */


.likes {
  position: fixed; 
  animation: floatUp 3s ease-out forwards; 
  opacity: 0.9;
  pointer-events: none;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1); 
    opacity: 1; 
  } 
  
  100% {
    transform: translateY(-200px) translateX(var(--drift)) scale(0.7); 
    opacity: 0; 
  } 
}