
    /* Base Styles */
    :root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-50: #f9f9f9;
    --color-gray-100: #f3f3f3;
    --color-gray-200: #e5e5e5;
    --color-gray-300: #d1d5db;
    --color-gray-400: #a3a3a3;
    --color-gray-500: #737373;
    --color-gray-600: #525252;
    --color-gray-700: #404040;
    --color-gray-800: #262626;
    --color-gray-900: #171717;
    --color-pink-500: #ec4899;
    --color-beige-50: #f9f7f4;
    --color-beige-100: #f3eee6;
    --color-beige-200: #e6dfd0;
    --color-beige-300: #d4c8b0;
    --color-beige-400: #a39781;
    --color-beige-500: #736b5a;
    --color-beige-600: #524d40;
    --color-beige-700: #403c32;
    --color-beige-800: #262621;
    --color-beige-900: #171614;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --capuccini-gold: #C09C5F;
    --capuccini-gray: #8E9196;
    --capuccini-darkgray: #1A1F2C;
    --capuccini-lightgray: #F1F0FB;
    }

        @font-face {
          font-family: 'MyCustomFont';
          src: url('/fonts/HelveticaNeueLTPro-Lt.otf') format('opentype');
        }
    
        * {
          box-sizing: border-box;
          margin: 0;
          padding: 0;
          border-width: 0;
          
        }
    body {
    font-family: 'MyCustomFont', sans-serif;
    color: var(--color-gray-900);
    background-color: var(--color-white);
    line-height: 1.5;
    font-size: 14px;
    min-height: 100%;
    width: 100%;
    overflow-x: hidden;
    position: relative;
    }

    h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0.01em;
    font-weight: 400;
    }

    a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
    }

    button {
    background: none;
    border: none;
    cursor: pointer;
    }

    ul {
    list-style: none;
    }

    img {
    max-width: 100%;
    height: auto;
    display: block;
    }


    /* Utility Classes */
    .mx-auto {
    margin-left: auto;
    margin-right: auto;
    }

    .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
    }

    .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    }

    .py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    }

    .py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
    }

    .py-8 {
    padding-top: 1rem;
    padding-bottom: 1rem;
    }

    .py-16 {
    padding-top: 2rem;
    padding-bottom: 2rem;
    }

    .px-8 {
    padding-left: 1rem;
    padding-right: 1rem;
    }

    .p-2 {
    padding: 0.5rem;
    }

    .p-3 {
    padding: 0.75rem;
    }

    .p-4 {
    padding: 1rem;
    }

    .p-8 {
    padding: 2rem;
    }

    .m-1 {
    margin: 0.25rem;
    }

    .mb-1 {
    margin-bottom: 0.25rem;
    }

    .mb-2 {
    margin-bottom: 0.5rem;
    }

    .mb-3 {
    margin-bottom: 0.75rem;
    }

    .mb-4 {
    margin-bottom: 1rem;
    }

    .mb-6 {
    margin-bottom: 1.5rem;
    }

    .mb-8 {
    margin-bottom: 1rem;
    }

    .mb-10 {
    margin-bottom: 2.5rem;
    }

    .mb-12 {
    margin-bottom: 1.5rem;
    }

    .mt-1 {
    margin-top: 0.25rem;
    }

    .mt-2 {
    margin-top: 0.5rem;
    }

    .mt-4 {
    margin-top: 1rem;
    }

    .mt-6 {
    margin-top: 1.5rem;
    }

    .mt-8 {
    margin-top: 2rem;
    }

    .mt-12 {
    margin-top: 3rem;
    }

    .mt-16 {
    margin-top: 4rem;
    }

    .mr-2 {
    margin-right: 0.5rem;
    }

    .mr-4 {
    margin-right: 1rem;
    }

    .mr-6 {
    margin-right: 1.5rem;
    }

    .ml-1 {
    margin-left: 0.25rem;
    }

    .ml-2 {
    margin-left: 0.5rem;
    }

    .ml-4 {
    margin-left: 1rem;
    }

    .mx-1\.5 {
    margin-left: 0.375rem;
    margin-right: 0.375rem;
    }

    .space-x-1 > * + * {
    margin-left: 0.25rem;
    }

    .space-x-2 > * + * {
    margin-left: 0.5rem;
    }

    .space-x-4 > * + * {
    margin-left: 1rem;
    }

    .space-x-8 > * + * {
    margin-left: 2rem;
    }

    .space-y-2 > * + * {
    margin-top: 0.5rem;
    }

    .space-y-3 > * + * {
    margin-top: 0.75rem;
    }

    .space-y-4 > * + * {
    margin-top: 1rem;
    }

    .space-y-6 > * + * {
    margin-top: 1.5rem;
    }

    .gap-2 {
    gap: 0.5rem;
    }

    .gap-4 {
    gap: 1rem;
    }

    .gap-6 {
    gap: 1.5rem;
    }

    .gap-8 {
    gap: 1rem;
    }

    .gap-12 {
    gap: 3rem;
    }

    /* Layout */
    .flex {
    display: flex;
    }

    .flex-col {
    flex-direction: column;
    }

    .flex-1 {
    flex: 1;
    }

    .flex-grow {
    flex-grow: 1;
    }

    .flex-shrink-0 {
    flex-shrink: 0;
    }

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

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

    .items-start {
    align-items: flex-start;
    }

    .justify-center {
    justify-content: center;
    }

    .justify-between {
    justify-content: space-between;
    }

    .justify-end {
    justify-content: flex-end;
    }

    .grid {
    display: grid;
    }

    .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .h-3 {
    height: 0.75rem;
    }

    .h-4 {
    height: 1rem;
    }

    .h-5 {
    height: 1.25rem;
    }

    .h-6 {
    height: 1.5rem;
    }

    .h-10 {
    height: 2.5rem;
    }

    .h-12 {
    height: 3rem;
    }

    .h-16 {
    height: 4rem;
    }

    .h-24 {
    height: 6rem;
    }

    .h-32 {
    height: 8rem;
    }

    .h-auto {
    height: auto;
    }

    .h-full {
    height: 100%;
    }

    .min-h-\[48px\] {
    min-height: 48px;
    }

    .w-3 {
    width: 0.75rem;
    }

    .w-4 {
    width: 1rem;
    }

    .w-5 {
    width: 1.25rem;
    }

    .w-6 {
    width: 1.5rem;
    }

    .w-10 {
    width: 2.5rem;
    }

    .w-12 {
    width: 3rem;
    }

    .w-14 {
    width: 3.5rem;
    }

    .w-16 {
    width: 4rem;
    }

    .w-24 {
    width: 6rem;
    }

    .w-full {
    width: 100%;
    }

    .w-1\/3 {
    width: 33.333333%;
    }

    .max-w-xs {
    max-width: 20rem;
    }

    .max-w-4xl {
    max-width: 56rem;
    }

    .max-w-5xl {
    max-width: 64rem;
    }

    .max-w-full {
    max-width: 100%;
    }

    .max-h-\[450px\] {
    max-height: 450px;
    }

    .aspect-square {
    aspect-ratio: 1 / 1;
    }

    /* Colors */
    .bg-black {
    background-color: var(--color-black);
    }

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

    .bg-gray-100 {
    background-color: var(--color-gray-100);
    }

    .bg-gray-500 {
    background-color: var(--color-gray-500);
    }

    .bg-gray-800 {
    background-color: var(--color-gray-800);
    }

    .bg-red-600 {
    background-color: var(--color-red-600);
    }

    .bg-pink-600 {
    background-color: var(--color-pink-600);
    }

    .text-white {
    color: var(--color-white);
    }

    .text-black {
    color: var(--color-black);
    }

    .text-gray-300 {
    color: var(--color-gray-300);
    }

    .text-gray-500 {
    color: var(--color-gray-500);
    }

    .text-gray-600 {
    color: var(--color-gray-600);
    }

    .bg-white\/80 {
    background-color: rgba(255, 255, 255, 0.8);
    }

    /* Typography */
    .text-xs {
    font-size: 0.75rem;
    }

    .text-sm {
    font-size: 0.875rem;
    }

    .text-base {
    font-size: 1rem;
    }

    .text-lg {
    font-size: 1.125rem;
    }

    .text-xl {
    font-size: 1.25rem;
    }

    .text-2xl {
    font-size: 1.5rem;
    }

    .text-3xl {
    font-size: 1.875rem;
    }

    .text-4xl {
    font-size: 2.25rem;
    }

    .text-5xl {
    font-size: 3rem;
    }

    .text-7xl {
    font-size: 4.5rem;
    }

    .font-medium {
    font-weight: 500;
    }

    .font-semibold {
    font-weight: 600;
    }
    .uppercase {
    text-transform: uppercase;
    }

    .tracking-wider {
    letter-spacing: 0.05em;
    }

    .italic {
    font-style: italic;
    }

    .underline {
    text-decoration: underline;
    }

    .line-through {
    text-decoration: line-through;
    }

    .align-top {
    vertical-align: top;
    }

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

    /* Borders */
    .border {
    border-width: 1px;
    }

    .border-t {
    border-top-width: 1px;
    }

    .border-b {
    border-bottom-width: 1px;
    }

    .border-gray-200 {
    border-color: var(--color-gray-200);
    }

    .border-gray-300 {
    border-color: var(--color-gray-300);
    }

    .rounded-sm {
    border-radius: 0.125rem;
    }

    .rounded-md {
    border-radius: 0.375rem;
    }

    .rounded-lg {
    border-radius: 0.5rem;
    }

    .rounded-full {
    border-radius: 9999px;
    }

    /* Other Utilities */
    .object-contain {
    object-fit: contain;
    }

    .object-cover {
    object-fit: cover;
    }

    .overflow-hidden {
    overflow: hidden;
    }

    .relative {
    position: relative;
    }

    .absolute {
    position: absolute;
    }

    .fixed {
    position: fixed;
    }

    .sticky {
    position: sticky;
    }

    .top-1\/2 {
    top: 50%;
    }

    .top-2 {
    top: 0.5rem;
    }

    .left-2 {
    left: 0.5rem;
    }

    .right-2 {
    right: 0.5rem;
    }

    .right-1 {
    right: 0.25rem;
    }

    .left-1 {
    left: 0.25rem;
    }

    .right-8 {
    right: 2rem;
    }

    .bottom-0 {
    bottom: 0;
    }

    .bottom-24 {
    bottom: 6rem;
    }

    .z-10 {
    z-index: 10;
    }

    .z-50 {
    z-index: 50;
    }

    .-top-2 {
    top: -0.5rem;
    }

    .-right-2 {
    right: -0.5rem;
    }

    .-translate-y-1\/2 {
    transform: translateY(-50%);
    }

    .shadow-lg {
    box-shadow: var(--shadow-lg);
    }

    .outline-none {
    outline: none;
    }

    .transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    }

    .transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    }

    .hover\:bg-gray-100:hover {
    background-color: var(--color-gray-100);
    }

    .hover\:bg-gray-800:hover {
    background-color: var(--color-gray-800);
    }

    .hover\:text-black:hover {
    color: var(--color-black);
    }

    .hover\:text-gray-600:hover {
    color: var(--color-gray-600);
    }

    .opacity-0 {
    opacity: 0;
    }

    .translate-y-10 {
    transform: translateY(2.5rem);
    }

    .pointer-events-none {
    pointer-events: none;
    }

    .inline-block {
    display: inline-block;
    }

    .h-\[500px\] {
    height: 400px;
    }

    .h-\[232px\] {
    height: 160px;
    }

    .basis-1\/3 {
    flex-basis: 33.333333%;
    }

    .basis-1\/4 {
    flex-basis: 25%;
    }

    /* Custom Components */

    /* Product Gallery */
    .main-image-container {
    cursor: zoom-in;
    }

    .main-image-container.zoomed {
    cursor: zoom-out;
    }

    /* Increase thumbnail size */
    .thumbnails-container button {
    width: 4rem;
    height: 4rem;
    }

    /* Increase main image container size */
    .main-image-container {
    height: 400px;
    }

    /* Ensure images scale properly */
    .thumbnails-container img,
    .main-image {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    }

    /* Zoom Modal */
    .zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    }

    .zoom-modal.open {
    display: flex;
    }

    .modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    }

    .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .zoom-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    }

    .zoom-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transition: transform 0.3s ease-out;
    cursor: zoom-in;
    }

    .zoom-image.zoomed {
    cursor: zoom-out;
    }

    .nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .prev-button {
    left: 30px;
    }

    .next-button {
    right: 30px;
    }

    .image-indicators {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    }

    .image-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    }

    .image-indicator.active {
    background-color: white;
    }

    /* Carousels */
    .carousel-content {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    }

    .carousel-item {
    flex: 0 0 auto;
    }

    .carousel-navigation {
    position: relative;
    }

    .carousel-prev,
    .carousel-next,
    .routine-carousel-prev,
    .routine-carousel-next,
    .match-carousel-prev,
    .match-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: 1px solid var(--color-gray-200);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    }

    .carousel-prev,
    .routine-carousel-prev,
    .match-carousel-prev {
    left: 10px;
    }

    .carousel-next,
    .routine-carousel-next,
    .match-carousel-next {
    right: 10px;
    margin-right: -26px
    }

    /* Ingredients Section */
    .ingredients-carousel {
    position: relative;
    overflow: hidden;
    }

    /* Add cursor: pointer to ingredient images and names */
    .ingredients-carousel .aspect-square,
    .ingredients-carousel h3 {
    cursor: pointer;
    }

    /* Complete Routine */
    .routine-carousel,
    .match-carousel {
    position: relative;
    overflow: hidden;
    }

    .routine-carousel-navigation,
    .match-carousel-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    pointer-events: none;
    }

    .routine-carousel-prev,
    .routine-carousel-next,
    .match-carousel-prev,
    .match-carousel-next {
    pointer-events: auto;
    }

    .carousel-content {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    }

    .carousel-item {
    flex: 0 0 auto;
    }

    /* Match Carousel Hover Effects */
    .buy-now-btn {
  position: static;
  width: auto;
  background-color: var(--capuccini-darkgray);
  color: white;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  opacity: 1;
  transition: opacity 0.3s, background-color 0.3s;
  margin-top: 1rem;
  margin-top: -52%;
}

/* Responsive Styles */
@media (max-width: 768px) {
  /* Small screens (e.g., phones) */
  .buy-now-btn {
    position: static;
    width: 100%;
    margin-top: 1rem;
    opacity: 1;
    display: flex;
  }
}

/* Hover Effects for Desktop */
@media (min-width: 769px) {
  /* Medium screens and up */
  .buy-now-btn {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    opacity: 0;
    margin-top: -45%;
  }
}

    .match-carousel .carousel-item .group:hover .primary-image {
    display: none;
    }

    .match-carousel .carousel-item .group:hover .secondary-image {
    display: block;
    }

    .match-carousel .carousel-item .group:hover .buy-now-btn {
    opacity: 1;
    display: block;
    }

    .secondary-image {
    display: none;
    }

    .buy-now-btn {
    display: none;
    }

    /* Ingredients Modal */
    .ingredients-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    }

    .ingredients-modal.open {
    display: flex;
    }

    .ingredients-modal-content {
    position: relative;
    width: 80%;
    max-width: 600px;
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    }

    .close-ingredients-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: white;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .thumbnail-active {
    border: 2px solid var(--color-black);
    }

    /* Modals for Ingredients */
    .ingredient-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    }

    .ingredient-modal.open {
    display: flex;
    }

    .ingredient-modal-content {
    position: relative;
    width: 80%;
    max-width: 600px;
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    }

    .close-ingredient-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: white;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    /* Modal styles */
    .page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
    }

    .page-overlay.active {
    opacity: 1;
    pointer-events: auto;
    }

    .shopping-modal {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 420px;
    max-width: 90%;
    background-color: var(--color-white);
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.2);
    }

    .shopping-modal.active {
    transform: translateX(0);
    }

    .modal-top {
    background: rgba(229, 231, 235);
    padding: 2.5rem 1rem 1rem 1rem;
    position: relative;
    }

    .modal-top h3 {
    margin: 0;
    font-size: 1rem;
    margin-top: 1rem;
    }

    .modal-top p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    }

    #modalClose {
    position: absolute;
    right: 1rem;
    top: 0.8rem;
    cursor: pointer;
    font-size: 1.5rem;
    }

    .modal-contentc {
    padding: 1.5rem;
    }

    .retailer-list {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    }

    .retailer-item {
    flex: 1;
    min-width: 100px;
    text-align: center;
    }

    .brand-logo {
    border: 2px solid var(--color-black);
    border-radius: 8px;
    padding: 5px;
    transition: transform 0.3s ease;
    width: 50%;
    height: 50%;
    object-fit: contain;
    }

    .brand-logo:hover {
    border-color: var(--color-pink-500);
    transform: scale(1.05);
    }

    /* Promo Banner Carousel */
    .promo-banner-carousel {
    background-color: var(--color-black);
    color: var(--color-white);
    position: relative;
    }

    .promo-carousel {
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    }

    .promo-carousel-content {
    position: relative;
    width: 100%;
    height: 40px;
    display: flex;
    }

    .promo-carousel-item {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    padding: 0.5rem;
    }

    .promo-carousel-item.active {
    opacity: 1;
    }

    .promo-text {
    font-size: 0.875rem;
    text-align: center;
    }

    /* Header Styles */
    .header {
    position: sticky;
    top: 0;
    background: var(--color-white);
    z-index: 40;
    }

    .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    }

    .header-search {
    flex: 1;
    }

    .search-container {
    max-width: 245px;
    cursor: pointer;
    }

    .search-input-container {
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: 2px solid var(--color-gray-300);
    }

    .search-placeholder {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-900);
    font-weight: 500;
    flex-grow: 1;
    }

    .header-logo {
    flex: 1;
    text-align: center;
    }

    .logo-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-black);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    }

    .logo-text sup {
    font-size: 0.7em;
    }

    .header-icons {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    }

    .icon-link {
    position: relative;
    transition: opacity 0.3s;
    }

    .icon-link:hover {
    opacity: 0.7;
    }

    .icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--color-gray-500);
    color: var(--color-white);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    }

    /* Navigation Styles */
    .header-nav {
    position: relative;
    padding: 0rem 0;
    }

    .nav-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    }

    .nav-item {
    position: relative;
    }

    .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    position: relative;
    }

    .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: burlywood;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
    }

    .nav-item:hover .nav-link::after {
    transform: scaleX(1);
    }

    .pink-text {
    color: var(--color-pink-500);
    }

    /* Navigation Dropdown */
    .nav-dropdown1 {
    position: absolute;
    left: -760px;
    top: 100%;
    width: 100vw;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-md);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    }

    .nav-dropdown2 {
    position: absolute;
    left: -885px;
    top: 100%;
    width: 100vw;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-md);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    }

    .nav-item:hover .nav-dropdown1 {
    opacity: 1;
    visibility: visible;
    }

    .nav-item:hover .nav-dropdown2 {
    opacity: 1;
    visibility: visible;
    }

    .dropdown-container {
    display: flex;
    padding: 2rem 0;
    max-width: 1280px;
    margin: 0 auto;
    }

    .dropdown-sidebar {
    width: 20%;
    padding-right: 2rem;
    border-right: 1px solid var(--color-gray-200);
    }

    .dropdown-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    }

    .dropdown-categories a {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-gray-600);
    transition: color 0.3s;
    }

    .dropdown-categories a:hover {
    color: var(--color-black);
    border-bottom: 2px solid var(--color-black);
    padding-bottom: 0.25rem;
    }

    .dropdown-categories a.active {
    color: var(--color-black);
    border-bottom: 2px solid var(--color-black);
    padding-bottom: 0.25rem;
    }

    .dropdown-content {
    width: 100%;
    padding-left: 2rem;
    display: flex;
    }

    .dropdown-columns {
    width: 66.67%;
    display: flex;
    }

    .dropdown-column {
    width: 50%;
    padding: 0 1rem;
    }

    .dropdown-column ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    }

    .dropdown-column a {
    font-size: 0.875rem;
    text-transform: uppercase;
    transition: text-decoration 0.3s;
    }

    .dropdown-column a:hover {
    text-decoration: underline;
    }

    .dropdown-image {
    width: 50.33%;
    }

    .dropdown-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    }
    @media (max-width: 1024px) {
    .nav-dropdown1 {
    margin-left: -532%;
    left: 0 !important;
    width: 100vw !important;
    }
    .nav-dropdown2 {
    margin-left: -730%;
    left: 0 !important;
    width: 100vw !important;
    }
    .dropdown-container {
    display: flex;
    flex-direction: row; /* Horizontal layout again */
    flex-wrap: wrap;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 2rem;
    box-sizing: border-box;
    }

    .dropdown-sidebar {
    width: 20%;
    border-right: 1px solid var(--color-gray-200);
    padding-right: 1rem;
    margin-bottom: 0;
    }

    .dropdown-content {
    width: 80%;
    padding-left: 2rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    }

    .dropdown-columns {
    width: 60%;
    flex-direction: column;
    }

    .dropdown-column {
    width: 100%;
    }

    .dropdown-image {
    width: 40%;
    max-width: 300px;
    }

    .dropdown-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    }
    }

    /* Default hero slider styles */
    .hero-slider {
    position: relative;
    height: 90vh;
    overflow: hidden;
    }

    .hero-slides {
    height: 100%;
    width: 100%;
    }

    .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
    pointer-events: none;
    }

    .hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    }

    .hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 7s;
    }

    .hero-slide.active .hero-slide-bg {
    transform: scale(1);
    }

    .hero-slide:not(.active) .hero-slide-bg {
    transform: scale(1.05);
    }

    .hero-slide-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
    }

    .hero-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1.5rem;
    z-index: 1;
    }

    /* Desktop layout */
    @media (min-width: 768px) {
    .hero-content {
    max-width: 50%;
    margin-left: 50rem;
    }
    }

    /* Hero text elements */
    .hero-subtitle,
    .hero-title,
    .hero-description,
    .hero-sub-description,
    .hero-button {
    transform: translateY(2rem);
    opacity: 0;
    transition: transform 1s, opacity 1s;
    }

    .hero-title {
    transition-delay: 0.2s;
    }
    .hero-description {
    transition-delay: 0.4s;
    }
    .hero-sub-description {
    transition-delay: 0.6s;
    }
    .hero-button {
    transition-delay: 0.8s;
    }

    .hero-slide.active .hero-subtitle,
    .hero-slide.active .hero-title,
    .hero-slide.active .hero-description,
    .hero-slide.active .hero-sub-description,
    .hero-slide.active .hero-button {
    transform: translateY(0);
    opacity: 1;
    }

    .hero-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-black);
    margin-bottom: 1rem;
    font-weight: 300;
    }

    .hero-title {
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-black);
    margin-bottom: 1rem;
    line-height: 1.2;
    }

    .hero-description {
    font-size: 1rem;
    color: var(--color-black);
    margin-bottom: 0.5rem;
    max-width: 32rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    }

    .hero-sub-description {
    font-size: 0.925rem;
    color: var(--color-black);
    margin-bottom: 1.5rem;
    max-width: 32rem;
    }

    .hero-button {
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 1.5rem 2rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s;
    width: 35%;
    }

    .hero-button:hover {
    background-color: var(--color-gray-800);
    }

    .arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s;
    }

    .hero-button:hover .arrow {
    transform: translateX(0.25rem);
    }

    /* Controls and dots */
    .hero-controls {
    position: absolute;
    bottom: 2.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    }

    .hero-dots {
    display: flex;
    gap: 0.75rem;
    }

    .hero-dot {
    width: 3rem;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.4);
    transition: background-color 0.3s, width 0.3s;
    }

    .hero-dot.active {
    background-color: var(--color-white);
    }

    .hero-nav {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    }

    .hero-prev {
    left: 1.5rem;
    }

    .hero-next {
    right: 1.5rem;
    }

    .hero-nav:hover {
    background-color: rgba(255, 255, 255, 0.4);
    }

    /* ========================
Responsive for Mobile (up to 767px)
======================== */
@media (max-width: 767px) {
  .hero-slider {
    height: 70vh; /* Adjust height for mobile */
  }
  
  .hero-slide-bg {
    background-size: cover;
    background-position: center center;
    transform: scale(1.05); /* Slightly larger zoom for mobile */
  }
  
  .hero-slide.active .hero-slide-bg {
    transform: scale(1);
  }
  
  .hero-slide:not(.active) .hero-slide-bg {
    transform: scale(1.1); /* More zoom for inactive slides on mobile */
  }
  
  .hero-content {
    max-width: 100%;
    margin-left: 0;
    padding: 0 1rem;
    text-align: center;
    align-items: center;
  }
  
  .hero-subtitle {
    font-size: 0.875rem;
  }
  
  .hero-title {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 0.85rem;
    max-width: 100%;
  }
  
  .hero-sub-description {
    font-size: 0.8rem;
    max-width: 100%;
    margin-bottom: 1rem;
  }
  
  .hero-button {
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    width: auto;
    max-width: 200px;
  }
  
  .hero-nav {
    width: 2.5rem;
    height: 2.5rem;
    display: none; /* Optionally hide arrows on mobile */
  }
  
  .hero-dot {
    width: 2rem;
    height: 2px;
  }
  
  .hero-controls {
    bottom: 1.5rem;
  }
}

/* ========================
Responsive for Tablet (768px - 1024px)
======================== */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-slider {
    height: 80vh;
  }
  
  .hero-slide-bg {
    background-size: cover;
    background-position: center center;
    transform: scale(1.03);
  }
  
  .hero-slide.active .hero-slide-bg {
    transform: scale(1);
  }
  
  .hero-slide:not(.active) .hero-slide-bg {
    transform: scale(1.05);
  }
  
  .hero-content {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
    text-align: center;
    align-items: center;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
    max-width: 100%;
  }
  
  .hero-sub-description {
    font-size: 0.875rem;
    max-width: 100%;
  }
  
  .hero-button {
    padding: 1.25rem 2rem;
    font-size: 0.8rem;
    width: auto;
  }
  
  .hero-nav {
    width: 2.75rem;
    height: 2.75rem;
  }
  
  .hero-prev {
    left: 1rem;
  }
  
  .hero-next {
    right: 1rem;
  }
  
  .hero-dot {
    width: 2.5rem;
  }
}



    /* Collections Section */
    .collections-section {
    padding: 4rem 0;
    background-color: var(--color-white);
    }

    .section-header {
    text-align: center;
    margin-bottom: 3rem;
    }

    .section-title {
    font-size: 2.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
    }

    .section-subtitle {
    font-size: 3rem;
    font-weight: 300;
    }

    .collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    }

    @media (min-width: 768px) {
    .collections-grid {
    grid-template-columns: repeat(3, 1fr);
    }
    }

    @media (min-width: 1024px) {
    .collections-grid {
    grid-template-columns: repeat(6, 1fr);
    }
    }

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

    .collection-link {
    display: block;
    }

    .collection-image {
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 1;
    }

    .collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    }

    .collection-link:hover .collection-image img {
    transform: scale(1.05);
    }

    .collection-name {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    }

    .collection-description {
    font-size: 0.75rem;
    color: var(--color-gray-600);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    }

    /* Featured Products Section */
    .featured-products-section {
    padding: 4rem 0;
    background-color: var(--color-gray-50);
    }

    .product-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    }

    @media (min-width: 768px) {
    .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    }

    .product-card {
    position: relative;
    transition: box-shadow 0.3s;
    }

    .product-card:hover {
    box-shadow: var(--shadow-md);
    }

    .product-image-container {
    position: relative;
    overflow: hidden;
    }

    .wishlist-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
    color: var(--color-black);
    }

    .product-tag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: var(--color-white);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    z-index: 5;
    }

    .product-image-link {
    display: block;
    }

    .product-image {
    width: 100%;
    height: 16rem;
    object-fit: contain;
    padding: 1rem;
    transition: opacity 0.5s;
    }

    .add-to-cart-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-black);
    opacity: 0;
    transition: opacity 0.3s;
    }

    .product-card:hover .add-to-cart-overlay {
    opacity: 1;
    }

    .add-to-cart-button {
    width: 100%;
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 0.75rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.3s;
    }

    .add-to-cart-button:hover {
    background-color: var(--color-gray-800);
    }

    .product-info {
    text-align: center;
    padding: 1rem 0.5rem;
    }

    .product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-gray-600);
    margin-bottom: 0.25rem;
    font-weight: 500;
    }

    .product-name {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    }

    .product-name a:hover {
    text-decoration: underline;
    }

    .product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    }

    .current-price {
    font-weight: 500;
    }

    .original-price {
    color: var(--color-gray-500);
    text-decoration: line-through;
    }

    .discount-badge {
    font-size: 0.75rem;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 0 0.25rem;
    }

    .section-action {
    text-align: center;
    margin-top: 2.5rem;
    }

    .btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 1.5rem 2rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.3s;
    }

    .btn-primary:hover {
    background-color: var(--color-gray-800);
    }

    /* Brand Story Section */
    .brand-story-section {
    padding: 4rem 0;
    background-color: var(--color-white);
    }

    .section-description {
    max-width: 36rem;
    margin: 0 auto;
    color: var(--color-gray-600);
    }

    .brand-story-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    }

    @media (min-width: 768px) {
    .brand-story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    }

    .brand-story-item {
    text-align: center;
    }

    .brand-image-container {
    overflow: hidden;
    margin-bottom: 1.5rem;
    }

    .brand-image-container img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
    transition: transform 0.5s;
    }

    .brand-story-item:hover .brand-image-container img {
    transform: scale(1.05);
    }

    .brand-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    }

    .brand-description {
    color: var(--color-gray-600);
    }

    /* Promotional Banner */
    .promo-banner {
    padding: 0;
    }

    .promo-banner-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    @media (min-width: 768px) {
    .promo-banner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    }

    .promo-banner-image {
    height: 24rem;
    background-color: var(--color-gray-100);
    }

    @media (min-width: 768px) {
    .promo-banner-image {
    height: auto;
    }
    }

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

    .promo-banner-content {
    background-color: var(--color-gray-100);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
    }

    @media (min-width: 768px) {
    .promo-banner-content {
    padding: 5rem;
    }
    }

    .promo-banner-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    }

    @media (min-width: 768px) {
    .promo-banner-title {
    font-size: 2.5rem;
    }
    }

    .promo-banner-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    }

    /* Budget Products Section */
    .budget-products-section {
    padding: 4rem 0;
    background-color: var(--color-white);
    }

    .section-subtitle {
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--color-gray-600);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    }

    .budget-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-gray-200);
    }

    .budget-tab {
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 500;
    padding: 0.75rem 0;
    color: var(--color-gray-500);
    transition: color 0.3s;
    position: relative;
    }

    .budget-tab:hover {
    color: var(--color-black);
    }

    .budget-tab.active {
    color: var(--color-black);
    border-bottom: 2px solid var(--color-black);
    margin-bottom: -1px;
    }

    .budget-products-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    }

    @media (min-width: 768px) {
    .budget-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    }

    /* New Products Banner */
    .new-products-banner {
    padding: 0;
    }

    .new-products-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    @media (min-width: 768px) {
    .new-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    }

    .new-products-image {
    order: 2;
    height: 24rem;
    }

    @media (min-width: 768px) {
    .new-products-image {
    order: 1;
    height: auto;
    }
    }

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

    .new-products-content {
    order: 1;
    background-color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
    }

    @media (min-width: 768px) {
    .new-products-content {
    order: 2;
    padding: 5rem;
    }
    }

    .new-products-subtitle {
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    }

    .new-products-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    }

    @media (min-width: 768px) {
    .new-products-title {
    font-size: 2.5rem;
    }
    }

    .new-products-heading {
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 0.5rem;
    }

    .new-products-text {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    }

    /* Footer Styles */
    .footer {
    background-color: var(--color-black);
    color: var(--color-white);
    }

    .footer-main {
    padding: 3rem 0;
    }

    .footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    }

    .footer-logo-img {
    width: 35%;
    }

    .footer-language {
    margin-bottom: 2.5rem;
    }

    .footer-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    }

    .arrow-icon {
    transform: rotate(90deg);
    }

    .footer-links {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    }

    @media (min-width: 768px) {
    .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    }

    .footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    }

    .footer-link {
    font-size: 0.875rem;
    transition: opacity 0.3s;
    }

    .footer-link:hover {
    opacity: 0.7;
    }

    .footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    }

    .social-link {
    color: var(--color-white);
    transition: opacity 0.3s;
    }

    .social-link:hover {
    opacity: 0.7;
    }

    .footer-divider {
    border-top: 1px solid var(--color-gray-700);
    margin-bottom: 1.5rem;
    }

    .footer-copyright {
    text-align: center;
    font-size: 0.875rem;
    }

    .scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--color-beige-600);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 40;
    }

    .scroll-to-top:hover {
    background-color: var(--color-beige-700);
    }

    /* Search Modal */
    .search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    z-index: 50;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    transition: transform 0.3s;
    }

    .search-modal.active {
    transform: translateY(0);
    }

    .search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    }

    .search-modal-logo {
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    
    letter-spacing: 0.05em;
    }

    .search-modal-logo sup {
    font-size: 0.7em;
    }

    .search-modal-input {
    flex: 1;
    margin: 0 2rem;
    }

    .search-modal-input-container {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-gray-300);
    }

    .search-modal-input-field {
    flex: 1;
    padding: 0.5rem;
    font-size: 1rem;
    border: none;
    outline: none;
    background-color: transparent;
    }

    .clear-search-button {
    color: var(--color-gray-400);
    opacity: 0;
    transition: opacity 0.3s;
    }

    .search-modal-input-field:not(:placeholder-shown) ~ .clear-search-button {
    opacity: 1;
    }

    .search-modal-close {
    color: var(--color-gray-500);
    transition: color 0.3s;
    }

    .search-modal-close:hover {
    color: var(--color-gray-700);
    }

    .recent-searches {
    padding: 1rem 0;
    }

    .recent-searches-title {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    
    }

    .recent-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    }

    .recent-search-tag {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    background-color: var(--color-gray-100);
    border-radius: 9999px;
    transition: background-color 0.3s;
    }

    .recent-search-tag:hover {
    background-color: var(--color-gray-200);
    }

    .search-results {
    padding: 1.5rem 0;
    border-top: 1px solid var(--color-gray-200);
    display: none;
    }

    .search-results.active {
    display: block;
    }

    /* Custom Product Display Adaptations */
    .product-card:hover .product-image {
    opacity: 0;
    }

    .product-image-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s;
    }

    .product-card:hover .product-image-container::after {
    opacity: 1;
    background-image: attr(data-hover url);
    }

    /* Make carousel work with JavaScript */
    .carousel-slide {
    flex: 0 0 25%;
    min-width: 25%;
    padding: 0 0.5rem;
    scroll-snap-align: start;
    }

    @media (max-width: 1024px) {
    .carousel-slide {
    flex: 0 0 33.33%;
    min-width: 33.33%;
    }
    }

    @media (max-width: 768px) {
    .carousel-slide {
    flex: 0 0 50%;
    min-width: 50%;
    }
    }

    @media (max-width: 480px) {
    .carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    }
    }

    /* Products Grid */
    .products-grid {
    display: grid;
    gap: 1.5rem;
    }

    .products-grid.grid-view {
    grid-template-columns: repeat(4, 1fr);
    }

    .products-grid.list-view {
    grid-template-columns: 1fr;
    }

    .product-card {
    position: relative;
    overflow: hidden;
    }

    .product-image-container {
    position: relative;
    border: 1px solid #f5f5f5;
    aspect-ratio: 1/1;
    overflow: hidden;
    }

    .product-image,
    .product-image-secondary {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0rem;
    transition: opacity 0.3s;
    }

    .product-image-secondary {
    opacity: 0;
    }

    .product-card:hover .product-image {
    opacity: 0;
    }

    .product-card:hover .product-image-secondary {
    opacity: 1;
    }

    .product-iconic {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: white;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #e5e5e5;
    z-index: 1;
    }

    .product-out-of-stock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    }

    .product-out-of-stock span {
    color: var(--capuccini-gray);
    font-weight: 500;
    font-size: 0.875rem;
    }

    .product-wishlist {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1;
    color: var(--capuccini-gray);
    transition: color 0.3s;
    }

    .product-wishlist.active {
    color: #e53e3e;
    }

    .product-wishlist:hover {
    color: #e53e3e;
    }

    .product-add-to-cart {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background-color: var(--capuccini-darkgray);
    color: white;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s;
    }

    .product-card:hover .product-add-to-cart {
    opacity: 1;
    }

    .product-add-to-cart:hover {
    background-color: var(--color-black);
    }

    .product-info {
    text-align: center;
    padding: 1rem 0;
    }

    .product-name {
    margin-bottom: 0.25rem;
    }

    .product-price {
    color: #555;
    }

    /* Progress Bar */
    .progress-bar-container {
    margin: 2.5rem auto;
    text-align: center;
    max-width: 32rem;
    }

    .progress-text {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    }

    .progress-track {
    width: 100%;
    height: 0.5rem;
    background-color: var(--color-gray-200);
    border-radius: 9999px;
    overflow: hidden;
    }

    .progress-fill {
    height: 100%;
    background-color: var(--capuccini-gold);
    width: 0;
    }

    /* Pagination */
    .pagination {
    display: flex;
    justify-content: center;
    margin: 3rem 0 1.5rem;
    }

    .pagination-list {
    display: flex;
    gap: 0.25rem;
    }

    .pagination-item {
    min-width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
    font-size: 0.875rem;
    }

    .pagination-item:hover {
    background-color: #f5f5f5;
    }

    .pagination-item.active {
    background-color: var(--color-black);
    color: var(--color-white);
    }

    .pagination-dots {
    min-width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    }

    /* Newsletter Popup */
    .newsletter-popup {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 20;
    background-color: var(--color-white);
    border-radius: 9999px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .popup-content {
    position: relative;
    }

    .close-popup {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background-color: #f5f5f5;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    }

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

    .popup-heading {
    font-weight: 700;
    }

    /* Scroll To Top */
    .scroll-to-top {
    position: fixed;
    bottom: 2.5rem;
    left: 2.5rem;
    z-index: 20;
    background-color: var(--capuccini-gold);
    color: var(--color-white);
    padding: 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    }

    .scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    }

    /* Overlay */
    .overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 40;
    display: none;
    }

    /* Responsive */
    @media (max-width: 992px) {
    .products-grid.grid-view {
    grid-template-columns: repeat(3, 1fr);
    }
    }

    @media (max-width: 768px) {
    .search-content {
    grid-template-columns: 1fr;
    }

    .products-grid.grid-view {
    grid-template-columns: repeat(2, 1fr);
    }

    .header-content {
    flex-direction: column;
    gap: 1rem;
    }

    .search-container,
    .logo,
    .header-icons {
    width: 100%;
    }

    .search-container {
    order: 2;
    }

    .logo {
    order: 1;
    }

    .header-icons {
    order: 3;
    justify-content: center;
    }

    .nav-menu {
    flex-wrap: wrap;
    }
    }

    @media (max-width: 576px) {
    .products-grid.grid-view {
    grid-template-columns: 1fr;
    }

    .toolbar {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    }

    .toolbar-right {
    width: 100%;
    justify-content: space-between;
    }

    .sort-button {
    min-width: 180px;
    }

    .newsletter-popup {
    bottom: 1rem;
    right: 1rem;
    }

    .scroll-to-top {
    bottom: 1rem;
    left: 1rem;
    }
    }

    /* he Section */
    .he-section {
    background-color: var(--color-white);
    padding: 2.5rem 0 4rem;
    }

    .he-container {
    max-width: 1780px;
    padding: 0.5rem 0.5rem;
    }

    .he-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    }

    .he-image {
    width: 100%;
    margin-bottom: 2rem;
    }

    .he-image img {
    width: 100%;
    height: 100%;
    }

    .he-text {
    width: 100%;
    padding: 0;
    }

    .he-text h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    }

    .he-text p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    }

    .he-buy-now-btn {
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 0.75rem 2.5rem;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 2.5rem;
    transition: background-color 0.2s ease;
    }

    .he-buy-now-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    }

    /* Product Grid for Timexpert Hydraluronic */
    .he-product-container {
    position: relative;
    width: 100%;
    margin-top: 2rem;
    }

    .he-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: relative;
    }

    /* Product Card for Timexpert Hydraluronic */
    .he-product-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    }

    .he-product-image-container {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    }

    .he-product-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: rgba(229, 231, 235);
    border: 1px solid #e6e6e6;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    z-index: 10;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    }

    .he-favorite-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 10;
    background-color: rgba(229, 231, 235);
    border: none;
    border-radius: 50%;
    padding: 0.375rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    }

    .he-favorite-btn:hover {
    background-color: rgba(229, 231, 235);
    }

    .he-heart-icon {
    width: 20px;
    height: 20px;
    stroke: #777;
    fill: none;
    transition: fill 0.2s ease, stroke 0.2s ease;
    }

    .he-favorite .he-heart-icon {
    fill: rgba(229, 231, 235);
    stroke: var(--color-black);
    }

    .he-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    }

    .he-product-image.second-image {
    opacity: 0;
    }

    .he-product-card:hover .he-product-image.second-image {
    opacity: 1;
    }

    .he-product-card:hover .he-product-image:not(.second-image) {
    opacity: 0;
    }

    .he-add-to-cart {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 0.75rem;
    font-weight: 500;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border: none;
    cursor: pointer;
    z-index: 10;
    }

    .he-product-card:hover .he-add-to-cart {
    opacity: 1;
    }

    .he-product-card:hover .he-product-badge {
    opacity: 1;
    }

    .he-product-details {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    }

    .he-product-category {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #777;
    margin-bottom: 0.25rem;
    }

    .he-product-name {
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    }

    .he-product-price-container {
    display: flex;
    align-items: center;
    }

    .he-current-price {
    font-size: 1rem;
    font-weight: 600;
    }

    .he-original-price {
    font-size: 0.875rem;
    color: #777;
    text-decoration: line-through;
    margin-left: 0.5rem;
    }

    .he-discount-badge {
    margin-left: 0.5rem;
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    }

    /* Navigation Buttons for Timexpert Hydraluronic */
    .he-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    cursor: pointer;
    z-index: 20;
    transition: background-color 0.2s ease;
    }

    .he-nav-button:hover {
    background-color: var(--color-white);
    }

    .he-nav-button-prev {
    left: 0rem;
    }

    .he-nav-button-next {
    right: 0rem;
    }

    /* Toast Notifications */
    .toast-container {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
    }

    .toast {
    background-color: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    padding: 1rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    max-width: 350px;
    animation: fade-in 0.3s ease;
    }

    .toast-header {
    font-weight: 500;
    margin-bottom: 0.25rem;
    }

    .toast-description {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
    }

    .toast-action {
    align-self: flex-end;
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    }

    @keyframes fade-in {
    0% {
    opacity: 0;
    transform: translateY(10px);
    }
    100% {
    opacity: 1;
    transform: translateY(0);
    }
    }

    /* Responsive Styling */
    @media (min-width: 768px) {
    .he-content {
    flex-direction: row;
    align-items: stretch;
    }

    .he-image {
    width: 50%;
    margin-bottom: 0;
    }

    .he-text {
    width: 50%;
    padding-left: 2.5rem;
    }

    .he-text h1 {
    font-size: 3.75rem;
    }
    }

  /* Skincare Routine Section */
    .skincare-routine-section {
  padding: 6rem 0;
}

.carousel-container {
  position: relative;
}

.carousel-content {
  overflow: hidden;
  margin: 0 -1rem;
  scroll-snap-type: x mandatory;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.routine-item {
  flex: 0 0 100%;
  padding: 0 1rem;
  transition: transform 0.3s ease;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .routine-item {
    flex: 0 0 50%;
  }
}

@media (min-width: 768px) {
  .routine-item {
    flex: 0 0 33.333%;
  }
}

@media (min-width: 1024px) {
  .routine-item {
    flex: 0 0 20%;
  }
}

.routine-item-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0.5rem;
}

.routine-image-container {
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1;
  margin-bottom: 1rem;
  overflow: hidden;
  cursor: pointer;
}

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

.routine-title {
  
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.routine-subtitle {
  
  font-size: 1.25rem;
}

.routine-more-button {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.routine-more-button:hover {
  transform: translateX(5px);
}

.routine-description {
  margin-top: 1rem;
  background-color: var(--color-beige);
  padding: 1rem;
  border-radius: 0.375rem;
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.routine-description.show {
  max-height: 200px;
  opacity: 1;
}

.routine-description button {
  margin-top: 0.75rem;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  width: 100%;
  font-size: 0.875rem;
}

.carousel-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  width: 100%;
}

.carousel-button {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.carousel-button:hover {
  background-color: #f9f9f9;
}

.carousel-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---------- Mobile Responsiveness Enhancements ---------- */
@media (max-width: 480px) {
  .skincare-routine-section {
    padding: 2rem 0.5rem;
  }

  .carousel-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0; /* Remove outer gap */
  }

  .carousel-track {
    flex-wrap: nowrap;
    width: max-content;
    gap: 0; /* Remove flex gap if present */
  }

  .routine-item {
    flex: 0 0 90%;
    padding: 0 0.5rem;
  }

  .routine-item-content {
    padding: 0;
    margin-left: -40px;
  }

  .routine-image-container {
    margin-bottom: 0.5rem;
  }

  .routine-title,
  .routine-subtitle {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }

  .routine-more-button {
    font-size: 1rem;
    margin-top: 0.25rem;
  }

  .routine-description {
    font-size: 0.75rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
  }

  .routine-description button {
    font-size: 0.75rem;
    padding: 0.5rem;
  }

  .carousel-button {
    width: 2rem;
    height: 2rem;
  }
}
    /* Product Showcase Section */
    .product-showcase-section {
    padding: 6rem 0;
    }

    .product-showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    }

    @media (min-width: 1024px) {
    .product-showcase-grid {
    grid-template-columns: 1fr 1fr;
    }
    }

    .product-showcase-image img {
    width: 500%;
    height: 100%;
    object-fit: cover;
    }

    .product-showcase-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    }

    .product-showcase-content h2 {
    
    font-size: 2rem;
    margin-bottom: 1rem;
    }

    @media (min-width: 768px) {
    .product-showcase-content h2 {
    font-size: 2.5rem;
    }
    }

    .product-showcase-content p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    }

    .buy-button-container {
    margin-bottom: 2rem;
    }

    .buy-now-button {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 1.5rem 2rem;
    font-weight: 500;
    }

    .buy-now-button:hover {
    background-color: #333;
    }

    /* Updated Product Carousel Styles */
    .product-carousel-container {
    position: relative;
    margin-top: 2rem;
    }

    .product-carousel-content {
    overflow: hidden;
    margin: 0 -0.5rem;
    }

    .product-carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    }

    .product-item {
    flex: 0 0 calc(50% - 1rem);
    padding: 0 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    background-color: var(--color-white);
    text-align: center;
    position: relative;
    }

    @media (min-width: 640px) {
    .product-item {
    flex: 0 0 calc(33.333% - 1rem);
    }
    }

    @media (min-width: 768px) {
    .product-item {
    flex: 0 0 calc(25% - 1rem);
    }
    }

    .product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    }

    .product-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid #d1d1d1;
    border-radius: 0.125rem;
    margin-right: 0.5rem;
    }

    .product-favorite {
    color: #a0a0a0;
    }

    .product-favorite:hover {
    color: var(--color-black);
    }

    .product-image-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    }

    .product-image {
    width: 100%;
    height: auto;
    transition: all 0.3s;
    }

    .product-cart-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
    background-color: rgba(0, 0, 0, 0.1);
    }

    .product-image-container:hover .product-cart-overlay {
    opacity: 1;
    }

    .add-to-cart-button {
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    }

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

    .product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    }

    .product-name {
    
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    }

    .product-price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    }

    .product-price {
    font-weight: 500;
    }

    .product-original-price {
    color: #888;
    text-decoration: line-through;
    font-size: 0.875rem;
    }

    .product-discount {
    font-size: 0.75rem;
    font-weight: 500;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 0.125rem 0.375rem;
    }

    .product-carousel-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    }

    .product-carousel-button {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    }

    .product-carousel-button:hover {
    background-color: #f9f9f9;
    }

    .product-carousel-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    }

    /* Announcement Bar */
    .announcement {
    background-color: var(--color-black);
    color: var(--color-white);
    text-align: center;
    padding: 0.5rem;
    font-size: 0.875rem;
    }

    /* Header Styles */
    .header {
    position: sticky;
    top: 0;
    background: var(--color-white);
    z-index: 40;
    }

    .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    }

    .header-search {
    flex: 1;
    }

    .search-container {
    max-width: 245px;
    cursor: pointer;
    }

    .search-input-container {
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: 2px solid var(--color-gray-300);
    }

    .search-placeholder {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-900);
    font-weight: 500;
    flex-grow: 1;
    }

    .header-logo {
    flex: 1;
    text-align: center;
    }

    .logo-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-black);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    }

    .logo-text sup {
    font-size: 0.7em;
    }

    .header-icons {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    }

    .icon-link {
    position: relative;
    transition: opacity 0.3s;
    }

    .icon-link:hover {
    opacity: 0.7;
    }

    .icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--color-gray-500);
    color: var(--color-white);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    }

    /* Navigation Styles */
    .header-nav {
    position: relative;
    padding: 0rem 0;
    }

    .nav-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    }

    .nav-item {
    position: relative;
    }

    .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    position: relative;
    }

    .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: burlywood;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
    }

    .nav-item:hover .nav-link::after {
    transform: scaleX(1);
    }

    .pink-text {
    color: var(--color-pink-500);
    }


    /* Toolbar */
    .toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    }

    .filter-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-gray-200);
    font-size: 0.875rem;
    }

    .toolbar-right {
    display: flex;
    gap: 1rem;
    align-items: center;
    }

    /* Sort Dropdown */
    .sort-dropdown {
    position: relative;
    }

    .sort-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 220px;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-gray-200);
    font-size: 0.875rem;
    }

    .sort-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--color-white);
    border: 1px solid var(--color-gray-200);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 10;
    }

    .sort-option {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.3s;
    }

    .sort-option:hover {
    background-color: #f9f9f9;
    }

    /* View Toggle */
    .view-toggle {
    display: flex;
    border: 1px solid var(--color-gray-200);
    }

    .view-toggle-btn {
    padding: 0.5rem;
    color: var(--capuccini-gray);
    transition: background-color 0.3s, color 0.3s;
    }

    .view-toggle-btn.active {
    background-color: #f5f5f5;
    color: var(--color-gray-900);
    }

    /* Filter Sidebar */
    .filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 320px;
    background-color: var(--color-white);
    z-index: 50;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
    }

    .filter-sidebar.open {
    transform: translateX(0);
    }

    .filter-sidebar-content {
    padding: 1.5rem;
    }

    .filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-gray-200);
    }

    .filter-header h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    }

    .filter-count {
    font-size: 0.875rem;
    color: var(--capuccini-gray);
    }

    .close-filter {
    color: var(--capuccini-gray);
    transition: color 0.3s;
    }

    .close-filter:hover {
    color: var(--color-gray-900);
    }

    .filter-categories {
    margin-bottom: 2rem;
    }

    .filter-category {
    border-bottom: 1px solid var(--color-gray-200);
    padding: 0.5rem 0;
    }

    .category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.5rem 0;
    font-weight: 500;
    text-align: left;
    }

    .chevron {
    transition: transform 0.3s;
    }

    .category-header[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
    }

    .category-options {
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
    display: none;
    }

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

    .filter-option {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    }

    .filter-checkbox {
    margin-right: 0.75rem;
    width: 1rem;
    height: 1rem;
    }

    .filter-option label {
    font-size: 0.875rem;
    cursor: pointer;
    }

    .filter-option label:hover {
    color: var(--color-black);
    }

    .filter-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    }

    .apply-filters {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 0.75rem;
    transition: background-color 0.3s;
    }

    .apply-filters:hover {
    background-color: var(--color-gray-900);
    }

    .clear-filters {
    border: 1px solid var(--color-gray-200);
    padding: 0.75rem;
    transition: background-color 0.3s;
    }

    .clear-filters:hover {
    background-color: #f9f9f9;
    }

    /* Products Grid */
    .products-grid {
    display: grid;
    gap: 1.5rem;
    }

    .products-grid.grid-view {
    grid-template-columns: repeat(4, 1fr);
    }

    .products-grid.list-view {
    grid-template-columns: 1fr;
    }

    .product-card {
    position: relative;
    overflow: hidden;
    }

    .product-image-container {
    position: relative;
    border: 1px solid #f5f5f5;
    aspect-ratio: 1/1;
    overflow: hidden;
    }

    .product-image,
    .product-image-secondary {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0rem;
    transition: opacity 0.3s;
    }

    .product-image-secondary {
    opacity: 0;
    }

    .product-card:hover .product-image {
    opacity: 0;
    }

    .product-card:hover .product-image-secondary {
    opacity: 1;
    }

    .product-iconic {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: var(--color-white);
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--color-gray-200);
    z-index: 1;
    }

    .product-out-of-stock {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 2;
    }

    .product-out-of-stock span {
    color: var(--capuccini-gray);
    font-weight: 500;
    font-size: 0.875rem;
    }

    .product-wishlist {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1;
    color: var(--capuccini-gray);
    transition: color 0.3s;
    }

    .product-wishlist.active {
    color: #e53e3e;
    }

    .product-wishlist:hover {
    color: #e53e3e;
    }

    .product-add-to-cart {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background-color: var(--capuccini-darkgray);
    color: var(--color-white);
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s;
    }

    .product-card:hover .product-add-to-cart {
    opacity: 1;
    }

    .product-add-to-cart:hover {
    background-color: var(--color-black);
    }

    .product-info {
    text-align: center;
    padding: 1rem 0;
    }

    .product-name {
    margin-bottom: 0.25rem;
    }

    .product-price {
    color: var(--color-gray-600);
    }

    /* Progress Bar */
    .progress-bar-container {
    margin: 2.5rem auto;
    text-align: center;
    max-width: 32rem;
    }

    .progress-text {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    }

    .progress-track {
    width: 100%;
    height: 0.5rem;
    background-color: var(--color-gray-200);
    border-radius: 9999px;
    overflow: hidden;
    }

    .progress-fill {
    height: 100%;
    background-color: var(--capuccini-gold);
    width: 0;
    }

    /* Pagination */
    .pagination {
    display: flex;
    justify-content: center;
    margin: 3rem 0 1.5rem;
    }

    .pagination-list {
    display: flex;
    gap: 0.25rem;
    }

    .pagination-item {
    min-width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
    font-size: 0.875rem;
    }

    .pagination-item:hover {
    background-color: #f5f5f5;
    }

    .pagination-item.active {
    background-color: var(--color-black);
    color: var(--color-white);
    }

    .pagination-dots {
    min-width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    }

    /* Newsletter Popup */
    .newsletter-popup {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    z-index: 20;
    background-color: var(--color-white);
    border-radius: 9999px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .popup-content {
    position: relative;
    }

    .close-popup {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background-color: #f5f5f5;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    line-height: 1;
    }

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

    .popup-heading {
    font-weight: 700;
    }

    /* Scroll To Top */
    .scroll-to-top {
    position: fixed;
    bottom: 2.5rem;
    left: 2.5rem;
    z-index: 20;
    background-color: var(--capuccini-gold);
    color: var(--color-white);
    padding: 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    }

    .scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    }

    /* Overlay */
    .overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 40;
    display: none;
    }

    /* Responsive */
    @media (max-width: 992px) {
    .products-grid.grid-view {
    grid-template-columns: repeat(3, 1fr);
    }
    }

    @media (max-width: 768px) {
    .search-content {
    grid-template-columns: 1fr;
    }

    .products-grid.grid-view {
    grid-template-columns: repeat(2, 1fr);
    }

    .header-content {
    flex-direction: column;
    gap: 1rem;
    }

    .search-container,
    .logo,
    .header-icons {
    width: 100%;
    }

    .search-container {
    order: 2;
    }

    .logo {
    order: 1;
    }

    .header-icons {
    order: 3;
    justify-content: center;
    }

    .nav-menu {
    flex-wrap: wrap;
    }
    }

    @media (max-width: 576px) {
    .products-grid.grid-view {
    grid-template-columns: 1fr;
    }

    .toolbar {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    }

    .toolbar-right {
    width: 100%;
    justify-content: space-between;
    }

    .sort-button {
    min-width: 180px;
    }

    .newsletter-popup {
    bottom: 1rem;
    right: 1rem;
    }

    .scroll-to-top {
    bottom: 1rem;
    left: 1rem;
    }
    }

    /* Footer Grid */
    .footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background-color: var(--color-black);
    color: var(--color-white);
    }

    .subscribe-container {
    background-color: #f2f2f2;
    padding: 40px;
    max-width: 500px;
    }

    .subscribe-container h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-black);
    }

    .subscribe-container p {
    margin: 10px 0;
    font-size: 14px;
    color: var(--color-black);
    }

    .subscribe-container strong {
    font-weight: 600;
    }

    .subscribe-form {
    margin-top: 20px;
    }

    .input-wrapper {
    position: relative;
    margin-bottom: 20px;
    }

    .input-wrapper input[type="email"] {
    width: 100%;
    padding: 10px 40px 10px 0;
    border: none;
    border-bottom: 2px solid var(--color-black);
    background: transparent;
    font-size: 16px;
    outline: none;
    }

    .input-wrapper button {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 0 12px;
    font-size: 22px;
    background: none;
    border: none;
    color: var(--color-black);
    cursor: pointer;
    }

    .checkbox-wrapper {
    font-size: 13px;
    margin-bottom: 15px;
    }

    .checkbox-wrapper input[type="checkbox"] {
    margin-right: 8px;
    }

    .checkbox-wrapper a {
    color: var(--color-black);
    text-decoration: underline;
    }

    .captcha-note {
    font-size: 12px;
    color: var(--color-gray-600);
    }

    .captcha-note a {
    color: var(--color-black);
    text-decoration: underline;
    }

    .footer-main {
    padding: 40px;
    }

    .he-product-image-container {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
    }

    .he-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    opacity: 1;
    }

    .he-product-image.second-image {
    opacity: 0;
    }

    .he-product-card:hover .he-product-image.second-image {
    opacity: 1;
    }

    .he-product-card:hover .he-product-image:not(.second-image) {
    opacity: 0;
    }

    /* Base Styles */
    :root {
    --color-black: #000000;
    --color-white: #ffffff;
    /* Other color variables */
    }

    /* Responsive Styles */
    @media (max-width: 576px) {
    /* Small screens (e.g., phones) */
    .header-content {
    flex-direction: column;
    gap: 1rem;
    }

    .search-container,
    .logo,
    .header-icons {
    width: 100%;
    }

    .search-container {
    order: 2;
    }

    .logo {
    order: 1;
    }

    .header-icons {
    order: 3;
    justify-content: center;
    }

    .nav-menu {
    flex-wrap: wrap;
    }

    .products-grid.grid-view {
    grid-template-columns: 1fr;
    }

    .toolbar {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    }

    .toolbar-right {
    width: 100%;
    justify-content: space-between;
    }

    .sort-button {
    min-width: 180px;
    }

    .newsletter-popup {
    bottom: 1rem;
    right: 1rem;
    }

    .scroll-to-top {
    bottom: 1rem;
    left: 1rem;
    }
    }

    @media (min-width: 577px) and (max-width: 768px) {
    /* Medium screens (e.g., tablets) */
    .products-grid.grid-view {
    grid-template-columns: repeat(2, 1fr);
    }

    .search-content {
    grid-template-columns: 1fr;
    }

    .products-grid.grid-view {
    grid-template-columns: repeat(2, 1fr);
    }

    .header-content {
    flex-direction: row;
    gap: 1rem;
    }

    .search-container,
    .logo,
    .header-icons {
    width: auto;
    }

    .search-container {
    order: 1;
    }

    .logo {
    order: 2;
    }

    .header-icons {
    order: 3;
    justify-content: flex-end;
    }

    .nav-menu {
    flex-wrap: nowrap;
    }
    }

    @media (min-width: 769px) and (max-width: 992px) {
    /* Large screens (e.g., small laptops) */
    .products-grid.grid-view {
    grid-template-columns: repeat(3, 1fr);
    }
    }

    @media (min-width: 993px) {
    /* Extra large screens (e.g., desktops) */
    .products-grid.grid-view {
    grid-template-columns: repeat(4, 1fr);
    }

    .search-content {
    grid-template-columns: repeat(2, 1fr);
    }
    }

    /* Header Styles */
    .header {
    position: sticky;
    top: 0;
    background: var(--color-white);
    z-index: 40;
    }

    .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    }

    .header-search {
    flex: 1;
    }

    .search-container {
    max-width: 245px;
    cursor: pointer;
    }

    .search-input-container {
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: 2px solid var(--color-gray-300);
    }

    .search-placeholder {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-900);
    font-weight: 500;
    flex-grow: 1;
    }

    .header-logo {
    flex: 1;
    text-align: center;
    }

    .logo-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-black);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    }

    .logo-text sup {
    font-size: 0.7em;
    }

    .header-icons {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    }

    .icon-link {
    position: relative;
    transition: opacity 0.3s;
    }

    .icon-link:hover {
    opacity: 0.7;
    }

    .icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--color-gray-500);
    color: var(--color-white);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    }

    /* Navigation Styles */
    .header-nav {
    position: relative;
    padding: 0rem 0;
    }

    .nav-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    }

    .nav-item {
    position: relative;
    }

    .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    position: relative;
    }

    .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: burlywood;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
    }

    .nav-item:hover .nav-link::after {
    transform: scaleX(1);
    }

    .pink-text {
    color: var(--color-pink-500);
    }

    /* Footer Styles */
    .footer {
    background-color: var(--color-black);
    color: var(--color-white);
    }

    .footer-main {
    padding: 3rem 0;
    }

    .footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    }

    .footer-logo-img {
    width: 35%;
    }

    .footer-language {
    margin-bottom: 2.5rem;
    }

    .footer-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    }

    .arrow-icon {
    transform: rotate(90deg);
    }

    .footer-links {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    }

    @media (min-width: 768px) {
    .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    }

    .footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    }

    .footer-link {
    font-size: 0.875rem;
    transition: opacity 0.3s;
    }

    .footer-link:hover {
    opacity: 0.7;
    }

    .footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    }

    .social-link {
    color: var(--color-white);
    transition: opacity 0.3s;
    }

    .social-link:hover {
    opacity: 0.7;
    }

    .footer-divider {
    border-top: 1px solid var(--color-gray-700);
    margin-bottom: 1.5rem;
    }

    .footer-copyright {
    text-align: center;
    font-size: 0.875rem;
    }

    .scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--color-beige-600);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 40;
    }

    .scroll-to-top:hover {
    background-color: var(--color-beige-700);
    }

    /* Other responsive styles for different sections */
    .collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    }

    @media (min-width: 768px) {
    .collections-grid {
    grid-template-columns: repeat(3, 1fr);
    }
    }

    @media (min-width: 1024px) {
    .collections-grid {
    grid-template-columns: repeat(6, 1fr);
    }
    }

    .product-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    }

    @media (min-width: 768px) {
    .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    }

    .brand-story-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    }

    @media (min-width: 768px) {
    .brand-story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    }

    .promo-banner-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    @media (min-width: 768px) {
    .promo-banner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    }

    .budget-products-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    }

    @media (min-width: 768px) {
    .budget-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    }

    .new-products-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    @media (min-width: 768px) {
    .new-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    }

    /* Ensure the footer grid is responsive */
    .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    }

    @media (min-width: 768px) {
    .footer-grid {
    grid-template-columns: 1fr 2fr;
    }
    }
    /* Header Styles */
    .header {
    position: sticky;
    top: 0;
    background: var(--color-white);
    z-index: 40;
    }

    .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    }

    .header-search {
    flex: 1;
    }

    .search-container {
    max-width: 245px;
    cursor: pointer;
    }

    .search-input-container {
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: 2px solid var(--color-gray-300);
    }

    .search-placeholder {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-900);
    font-weight: 500;
    flex-grow: 1;
    }

    .header-logo {
    flex: 1;
    text-align: center;
    }

    .logo-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-black);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    }

    .logo-text sup {
    font-size: 0.7em;
    }

    .header-icons {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    }

    .icon-link {
    position: relative;
    transition: opacity 0.3s;
    }

    .icon-link:hover {
    opacity: 0.7;
    }

    .icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--color-gray-500);
    color: var(--color-white);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    }

    /* Navigation Styles */
    .header-nav {
    position: relative;
    padding: 0rem 0;
    }

    .nav-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    }

    .nav-item {
    position: relative;
    }

    .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    position: relative;
    }

    .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: burlywood;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
    }

    .nav-item:hover .nav-link::after {
    transform: scaleX(1);
    }

    .pink-text {
    color: var(--color-pink-500);
    }


    /* Responsive Styles */
    @media (max-width: 768px) {
    .header-top {
    flex-direction: column;
    align-items: flex-start;
    }

    .header-search,
    .header-logo,
    .header-icons {
    width: 100%;
    margin-bottom: 1rem;
    }

    .header-search {
    order: 2;
    }

    .header-logo {
    order: 1;
    text-align: left;
    }

    .header-icons {
    order: 3;
    justify-content: flex-start;
    }

    .nav-list {
    flex-direction: column;
    gap: 0.5rem;
    }

    .nav-item {
    width: 100%;
    }

    .nav-dropdown1,
    .nav-dropdown2 {
    left: 0;
    width: 100%;
    }
    }
    /* Skincare Routine Section */
    .skincare-routine-section {
    padding: 6rem 0;
    }

    .carousel-container {
    position: relative;
    }

    .carousel-content {
    overflow: hidden;
    margin: 0 -1rem;
    }

    .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    margin-left: 50px;
    margin-right: 50px;
    }

    .routine-item {
    flex: 0 0 100%;
    padding: 0 1rem;
    transition: transform 0.3s ease;
    }

    @media (min-width: 640px) {
    .routine-item {
    flex: 0 0 50%;
    }
    }

    @media (min-width: 768px) {
    .routine-item {
    flex: 0 0 33.333%;
    }
    }

    @media (min-width: 1024px) {
    .routine-item {
    flex: 0 0 20%;
    }
    }

    .routine-item-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    }

    .routine-image-container {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 1rem;
    overflow: hidden;
    cursor: pointer;
    }

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

    .routine-title {
    
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    }

    .routine-subtitle {
    
    font-size: 1.25rem;
    }

    .routine-more-button {
    margin-top: 0.5rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    }

    .routine-more-button:hover {
    transform: translateX(5px);
    }

    .routine-description {
    margin-top: 1rem;
    background-color: var(--color-beige);
    padding: 1rem;
    border-radius: 0.375rem;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .routine-description.show {
    max-height: 200px;
    opacity: 1;
    }

    .routine-description button {
    margin-top: 0.75rem;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    width: 100%;
    font-size: 0.875rem;
    }

    .carousel-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    width: 100%;
    }

    .carousel-button {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    }

    .carousel-button:hover {
    background-color: #f9f9f9;
    }

    .carousel-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    }

    /* Base Styles */
    :root {
    --color-black: #000000;
    --color-white: #ffffff;
    /* Other color variables */
    }

    /* Responsive Styles */
    @media (max-width: 576px) {
    /* Small screens (e.g., phones) */
    .header-content {
    flex-direction: column;
    gap: 1rem;
    }

    .search-container,
    .logo,
    .header-icons {
    width: 100%;
    }

    .search-container {
    order: 2;
    }

    .logo {
    order: 1;
    }

    .header-icons {
    order: 3;
    justify-content: center;
    }

    .nav-menu {
    flex-wrap: wrap;
    }
    }

    @media (min-width: 577px) and (max-width: 768px) {
    /* Medium screens (e.g., tablets) */
    .products-grid.grid-view {
    grid-template-columns: repeat(2, 1fr);
    }

    .search-content {
    grid-template-columns: 1fr;
    }

    .products-grid.grid-view {
    grid-template-columns: repeat(2, 1fr);
    }

    .header-content {
    flex-direction: row;
    gap: 1rem;
    }

    .search-container,
    .logo,
    .header-icons {
    width: auto;
    }

    .search-container {
    order: 1;
    }

    .logo {
    order: 2;
    }

    .header-icons {
    order: 3;
    justify-content: flex-end;
    }

    .nav-menu {
    flex-wrap: nowrap;
    }
    }

    @media (min-width: 769px) and (max-width: 992px) {
    /* Large screens (e.g., small laptops) */
    .products-grid.grid-view {
    grid-template-columns: repeat(3, 1fr);
    }
    }

    @media (min-width: 993px) {
    /* Extra large screens (e.g., desktops) */
    .products-grid.grid-view {
    grid-template-columns: repeat(4, 1fr);
    }

    .search-content {
    grid-template-columns: repeat(2, 1fr);
    }
    }

    /* Header Styles */
    .header {
    position: sticky;
    top: 0;
    background: var(--color-white);
    z-index: 40;
    }

    .header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    }

    .header-search {
    flex: 1;
    }

    .search-container {
    max-width: 245px;
    cursor: pointer;
    }

    .search-input-container {
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: 2px solid var(--color-gray-300);
    }

    .search-placeholder {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-gray-900);
    font-weight: 500;
    flex-grow: 1;
    }

    .header-logo {
    flex: 1;
    text-align: center;
    }

    .logo-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-black);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-block;
    }

    .logo-text sup {
    font-size: 0.7em;
    }

    .header-icons {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    }

    .icon-link {
    position: relative;
    transition: opacity 0.3s;
    }

    .icon-link:hover {
    opacity: 0.7;
    }

    .icon-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background-color: var(--color-gray-500);
    color: var(--color-white);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    }

    /* Navigation Styles */
    .header-nav {
    position: relative;
    padding: 0rem 0;
    }

    .nav-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    }

    .nav-item {
    position: relative;
    }

    .nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
    position: relative;
    }

    .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: burlywood;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s;
    }

    .nav-item:hover .nav-link::after {
    transform: scaleX(1);
    }

    .pink-text {
    color: var(--color-pink-500);
    }


    /* Footer Styles */
    .footer {
    background-color: var(--color-black);
    color: var(--color-white);
    }

    .footer-main {
    padding: 3rem 0;
    }

    .footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    }

    .footer-logo-img {
    width: 35%;
    }

    .footer-language {
    margin-bottom: 2.5rem;
    }

    .footer-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    }

    .arrow-icon {
    transform: rotate(90deg);
    }

    .footer-links {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    }

    @media (min-width: 768px) {
    .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    }

    .footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    }

    .footer-link {
    font-size: 0.875rem;
    transition: opacity 0.3s;
    }

    .footer-link:hover {
    opacity: 0.7;
    }

    .footer-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    }

    .social-link {
    color: var(--color-white);
    transition: opacity 0.3s;
    }

    .social-link:hover {
    opacity: 0.7;
    }

    .footer-divider {
    border-top: 1px solid var(--color-gray-700);
    margin-bottom: 1.5rem;
    }

    .footer-copyright {
    text-align: center;
    font-size: 0.875rem;
    }

    .scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--color-beige-600);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 40;
    }

    .scroll-to-top:hover {
    background-color: var(--color-beige-700);
    }

    /* Other responsive styles for different sections */
    .collections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    }

    @media (min-width: 768px) {
    .collections-grid {
    grid-template-columns: repeat(3, 1fr);
    }
    }

    @media (min-width: 1024px) {
    .collections-grid {
    grid-template-columns: repeat(6, 1fr);
    }
    }

    .product-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.5rem;
    }

    @media (min-width: 768px) {
    .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    }

    .brand-story-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    }

    @media (min-width: 768px) {
    .brand-story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    }

    .promo-banner-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    @media (min-width: 768px) {
    .promo-banner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    }

    .budget-products-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    }

    @media (min-width: 768px) {
    .budget-products-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    }

    .new-products-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    @media (min-width: 768px) {
    .new-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    }

    /* Ensure the footer grid is responsive */
    .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    }

    @media (min-width: 768px) {
    .footer-grid {
    grid-template-columns: 1fr 2fr;
    }
    }
    /* Base Styles */
    :root {
    --color-black: #000000;
    --color-white: #ffffff;
    /* Other color variables */
    }

    /* Responsive Styles */
    @media (max-width: 768px) {
    /* Small screens (e.g., phones) */
    .header-content {
    flex-direction: column;
    gap: 1rem;
    }

    .search-container,
    .logo,
    .header-icons {
    width: 100%;
    }

    .search-container {
    order: 2;
    }

    .logo {
    order: 1;
    }

    .header-icons {
    order: 3;
    justify-content: center;
    }

    .nav-menu {
    flex-wrap: wrap;
    }

    .products-grid.grid-view {
    grid-template-columns: 1fr;
    }

    .toolbar {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    }

    .toolbar-right {
    width: 100%;
    justify-content: space-between;
    }

    .sort-button {
    min-width: 180px;
    }

    .newsletter-popup {
    bottom: 1rem;
    right: 1rem;
    }

    .scroll-to-top {
    bottom: 1rem;
    left: 1rem;
    }
    }

    @media (min-width: 769px) and (max-width: 992px) {
    /* Medium screens (e.g., tablets) */
    .products-grid.grid-view {
    grid-template-columns: repeat(2, 1fr);
    }
    }

    @media (min-width: 993px) {
    /* Large screens (e.g., desktops) */
    .products-grid.grid-view {
    grid-template-columns: repeat(4, 1fr);
    }
    }

    /* Mobile Navigation */
    .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background-color: var(--color-white);
    z-index: 45;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 2rem 1rem;
    }

    .mobile-nav.active {
    transform: translateX(0);
    }

    /* Mobile Search Bar */
    .mobile-search-bar {
    display: none;
    margin-top: 1rem;
    }

    /* Mobile Header */
    .mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    }

    /* Mobile Menu Button */
    .mobile-menu-button {
    padding: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    }

    /* Mobile Icons */
    .mobile-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    }

    /* Mobile Navigation Items */
    .mobile-nav-item {
    margin-top: 2rem;
    margin-bottom: 1rem;
    }

    /* Mobile Navigation Links */
    .mobile-nav-link {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-gray-200);
    font-size: 1rem;
    font-weight: 500;
    }

    /* Mobile Navigation Arrows */
    .mobile-nav-arrow {
    transition: transform 0.3s;
    }

    /* Mobile Submenu */
    .mobile-submenu {
    display: none;
    padding-left: 1rem;
    margin-top: 0.5rem;
    }

    /* Mobile Navigation Active State */
    .mobile-nav-item.active .mobile-submenu {
    display: block;
    }

    /* Mobile Submenu Items */
    .mobile-submenu-item {
    padding: 1.0rem 0px;
    font-size: 20px;
    font-weight: 600;
    }

    /* Mobile Navigation Footer */
    .mobile-menu-footer {
    margin-top: auto;
    padding: 1rem;
    border-top: 1px solid var(--color-gray-200);
    }

    /* Mobile Navigation Footer Links */
    .mobile-menu-footer a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-black);
    }

    /* Mobile Navigation Footer Icons */
    .mobile-menu-footer a span:first-child {
    margin-right: 0.5rem;
    }

    /* Mobile Navigation Close Button */
    .close-menu-button {
    font-size: 1.5rem;
    cursor: pointer;
    }

    /* Mobile Search Bar */
    .mobile-search-bar {
    padding: 1rem;
    }

    /* Mobile Search Input */
    .mobile-search-bar input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 0.25rem;
    }

    /* Mobile Search Close Button */
    .close-search-button {
    position: absolute;
    right: 1rem;
    color: var(--color-gray-500);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    }

    /* Mobile Search Modal */
    .search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    z-index: 60;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    }

    /* Mobile Search Modal Active State */
    .search-modal.active {
    transform: translateY(0);
    }

    /* Mobile Search Modal Header */
    .search-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid var(--color-gray-200);
    }

    /* Mobile Search Modal Logo */
    .search-modal-logo {
    font-size: 1.5rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    }

    /* Mobile Search Modal Input */
    .search-modal-input {
    width: 100%;
    padding: 1rem;
    }

    /* Mobile Search Modal Input Container */
    .search-modal-input-container {
    position: relative;
    display: flex;
    align-items: center;
    }

    /* Mobile Search Modal Input Field */
    .search-modal-input-field {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 0.25rem;
    }

    /* Mobile Search Modal Clear Button */
    .clear-search-button {
    position: absolute;
    right: 1rem;
    color: var(--color-gray-400);
    background: none;
    border: none;
    cursor: pointer;
    }

    /* Mobile Search Modal Close Button */
    .search-modal-close {
    position: absolute;
    right: 1rem;
    color: var(--color-gray-500);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    }

    /* Mobile Search Modal Recent Searches */
    .recent-searches {
    padding: 1rem;
    }

    /* Mobile Search Modal Recent Searches Title */
    .recent-searches-title {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    }

    /* Mobile Search Modal Recent Search Tags */
    .recent-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    }

    /* Mobile Search Modal Recent Search Tag */
    .recent-search-tag {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    background-color: var(--color-gray-100);
    border-radius: 9999px;
    }

    /* Mobile Search Modal Search Results */
    .search-results {
    padding: 1rem;
    }
    /* Responsive header visibility */
    @media (min-width: 769px) {
    .mobile-only {
    display: none;
    }
    }

    @media (max-width: 768px) {
    .desktop-only {
    display: none;
    }

    /* Additional mobile-specific styles if needed */
    .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 50;
    }
    }
    .mobile-nav-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
    }
    .mobile-search-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #000;
    }


    .mobile-search-modal.active {
    display: flex;
    }

    .mobile-search-input {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    }
    /* Mobile Search Container */
    .mobile-search-container {
    display: flex;
    align-items: center;
    margin-right: 10px;
    }

    /* Mobile Search Input */
    .mobile-search-container input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    }

    /* Mobile Search Button */
    .mobile-search-container button {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    }
    /* Mobile Search Modal */
    .mobile-search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    }

    .mobile-search-modal.active {
    display: flex;
    }

    .mobile-search-modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    }

    .mobile-search-modal-close {
    position: absolute;
    top: -4rem;
    right: 0rem;
    background-color: white;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .mobile-search-input-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    }

    .mobile-search-input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    }

    .mobile-search-button {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    }

    .mobile-search-results {
    margin-top: 1rem;
    }
    /* Add this to your CSS */
    .mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    color: var(--color-black);
    padding: 0.5rem;
    }

    .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    background-color: var(--color-white);
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    padding: 2rem 1rem;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .mobile-nav.active {
    transform: translateX(0);
    }

    .hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    }

    .mobile-search-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    }


    @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

    /* Base Styles */
    * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-color: #e5e7eb;
    }

    body {
    color: #333;
    background-color: #fff;
    line-height: 1.5;
    font-size: 16px;
    }

    h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    }

    a {
    color: inherit;
    text-decoration: none;
    }

    img {
    max-width: 100%;
    height: auto;
    }

    button {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    }

    input {
    font-family: inherit;
    }

    /* Utility Classes */
    .container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    max-width: 1580px;
    }

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

    .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
    }

    .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    }

    .py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    }

    .py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
    }

    .py-8 {
    padding-top: 1rem;
    padding-bottom: 1rem;
    }

    .py-16 {
    padding-top: 2rem;
    padding-bottom: 2rem;
    }

    .px-8 {
    padding-left: 1rem;
    padding-right: 1rem;
    }

    .p-2 {
    padding: 0.5rem;
    }

    .p-3 {
    padding: 0.75rem;
    }

    .p-4 {
    padding: 1rem;
    }

    .p-8 {
    padding: 2rem;
    }

    .m-1 {
    margin: 0.25rem;
    }

    .mb-1 {
    margin-bottom: 0.25rem;
    }

    .mb-2 {
    margin-bottom: 0.5rem;
    }

    .mb-3 {
    margin-bottom: 0.75rem;
    }

    .mb-4 {
    margin-bottom: 1rem;
    }

    .mb-6 {
    margin-bottom: 1.5rem;
    }

    .mb-8 {
    margin-bottom: 1rem;
    }

    .mb-10 {
    margin-bottom: 2.5rem;
    }

    .mb-12 {
    margin-bottom: 1.5rem;
    }

    .mt-1 {
    margin-top: 0.25rem;
    }

    .mt-2 {
    margin-top: 0.5rem;
    }

    .mt-4 {
    margin-top: 1rem;
    }

    .mt-6 {
    margin-top: 1.5rem;
    }

    .mt-8 {
    margin-top: 2rem;
    }

    .mt-12 {
    margin-top: 3rem;
    }

    .mt-16 {
    margin-top: 4rem;
    }

    .mr-2 {
    margin-right: 0.5rem;
    }

    .mr-4 {
    margin-right: 1rem;
    }

    .mr-6 {
    margin-right: 1.5rem;
    }

    .ml-1 {
    margin-left: 0.25rem;
    }

    .ml-2 {
    margin-left: 0.5rem;
    }

    .ml-4 {
    margin-left: 1rem;
    }

    .mx-1\.5 {
    margin-left: 0.375rem;
    margin-right: 0.375rem;
    }

    .space-x-1 > * + * {
    margin-left: 0.25rem;
    }

    .space-x-2 > * + * {
    margin-left: 0.5rem;
    }

    .space-x-4 > * + * {
    margin-left: 1rem;
    }

    .space-x-8 > * + * {
    margin-left: 2rem;
    }

    .space-y-2 > * + * {
    margin-top: 0.5rem;
    }

    .space-y-3 > * + * {
    margin-top: 0.75rem;
    }

    .space-y-4 > * + * {
    margin-top: 1rem;
    }

    .space-y-6 > * + * {
    margin-top: 1.5rem;
    }

    .gap-2 {
    gap: 0.5rem;
    }

    .gap-4 {
    gap: 1rem;
    }

    .gap-6 {
    gap: 1.5rem;
    }

    .gap-8 {
    gap: 1rem;
    }

    .gap-12 {
    gap: 3rem;
    }

    /* Layout */
    .flex {
    display: flex;
    }

    .flex-col {
    flex-direction: column;
    }

    .flex-1 {
    flex: 1;
    }

    .flex-grow {
    flex-grow: 1;
    }

    .flex-shrink-0 {
    flex-shrink: 0;
    }

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

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

    .items-start {
    align-items: flex-start;
    }

    .justify-center {
    justify-content: center;
    }

    .justify-between {
    justify-content: space-between;
    }

    .justify-end {
    justify-content: flex-end;
    }

    .grid {
    display: grid;
    }

    .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .h-3 {
    height: 0.75rem;
    }

    .h-4 {
    height: 1rem;
    }

    .h-5 {
    height: 1.25rem;
    }

    .h-6 {
    height: 1.5rem;
    }

    .h-10 {
    height: 2.5rem;
    }

    .h-12 {
    height: 3rem;
    }

    .h-16 {
    height: 4rem;
    }

    .h-24 {
    height: 6rem;
    }

    .h-32 {
    height: 8rem;
    }

    .h-auto {
    height: auto;
    }

    .h-full {
    height: 100%;
    }

    .min-h-\[48px\] {
    min-height: 48px;
    }

    .w-3 {
    width: 0.75rem;
    }

    .w-4 {
    width: 1rem;
    }

    .w-5 {
    width: 1.25rem;
    }

    .w-6 {
    width: 1.5rem;
    }

    .w-10 {
    width: 2.5rem;
    }

    .w-12 {
    width: 3rem;
    }

    .w-14 {
    width: 3.5rem;
    }

    .w-16 {
    width: 4rem;
    }

    .w-24 {
    width: 6rem;
    }

    .w-full {
    width: 100%;
    }

    .w-1\/3 {
    width: 33.333333%;
    }

    .max-w-xs {
    max-width: 20rem;
    }

    .max-w-4xl {
    max-width: 56rem;
    }

    .max-w-5xl {
    max-width: 64rem;
    }

    .max-w-full {
    max-width: 100%;
    }

    .max-h-\[450px\] {
    max-height: 450px;
    }

    .aspect-square {
    aspect-ratio: 1 / 1;
    }

    /* Colors */
    .bg-black {
    background-color: #000;
    }

    .bg-white {
    background-color: #fff;
    }

    .bg-gray-100 {
    background-color: #f3f4f6;
    }

    .bg-gray-500 {
    background-color: #6b7280;
    }

    .bg-gray-800 {
    background-color: #1f2937;
    }

    .bg-red-600 {
    background-color: #dc2626;
    }

    .bg-pink-600 {
    background-color: #db2777;
    }

    .text-white {
    color: #fff;
    }

    .text-black {
    color: #000;
    }

    .text-gray-300 {
    color: #d1d5db;
    }

    .text-gray-500 {
    color: #6b7280;
    }

    .text-gray-600 {
    color: #4b5563;
    }

    .bg-white\/80 {
    background-color: rgba(255, 255, 255, 0.8);
    }

    /* Typography */
    .text-xs {
    font-size: 0.75rem;
    }

    .text-sm {
    font-size: 0.875rem;
    }

    .text-base {
    font-size: 1rem;
    }

    .text-lg {
    font-size: 1.125rem;
    }

    .text-xl {
    font-size: 1.25rem;
    }

    .text-2xl {
    font-size: 1.5rem;
    }

    .text-3xl {
    font-size: 1.875rem;
    }

    .text-4xl {
    font-size: 2.25rem;
    }

    .text-5xl {
    font-size: 3rem;
    }

    .text-7xl {
    font-size: 4.5rem;
    }

    .font-medium {
    font-weight: 500;
    }

    .font-semibold {
    font-weight: 600;
    }

    .uppercase {
    text-transform: uppercase;
    }

    .tracking-wider {
    letter-spacing: 0.05em;
    }

    .italic {
    font-style: italic;
    }

    .underline {
    text-decoration: underline;
    }

    .line-through {
    text-decoration: line-through;
    }

    .align-top {
    vertical-align: top;
    }

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

    /* Borders */
    .border {
    border-width: 1px;
    }

    .border-t {
    border-top-width: 1px;
    }

    .border-b {
    border-bottom-width: 1px;
    }

    .border-gray-200 {
    border-color: #e5e7eb;
    }

    .border-gray-300 {
    border-color: #d1d5db;
    }

    .rounded-sm {
    border-radius: 0.125rem;
    }

    .rounded-md {
    border-radius: 0.375rem;
    }

    .rounded-lg {
    border-radius: 0.5rem;
    }

    .rounded-full {
    border-radius: 9999px;
    }

    /* Other Utilities */
    .object-contain {
    object-fit: contain;
    }

    .object-cover {
    object-fit: cover;
    }

    .overflow-hidden {
    overflow: hidden;
    }

    .relative {
    position: relative;
    }

    .absolute {
    position: absolute;
    }

    .fixed {
    position: fixed;
    }

    .sticky {
    position: sticky;
    }

    .top-1\/2 {
    top: 50%;
    }

    .top-2 {
    top: 0.5rem;
    }

    .left-2 {
    left: 0.5rem;
    }

    .right-2 {
    right: 0.5rem;
    }

    .right-1 {
    right: 0.25rem;
    }

    .left-1 {
    left: 0.25rem;
    }

    .right-8 {
    right: 2rem;
    }

    .bottom-0 {
    bottom: 0;
    }

    .bottom-24 {
    bottom: 6rem;
    }

    .z-10 {
    z-index: 10;
    }

    .z-50 {
    z-index: 50;
    }

    .-top-2 {
    top: -0.5rem;
    }

    .-right-2 {
    right: -0.5rem;
    }

    .-translate-y-1\/2 {
    transform: translateY(-50%);
    }

    .shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

    .outline-none {
    outline: none;
    }

    .transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    }

    .transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    }

    .hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
    }

    .hover\:bg-gray-800:hover {
    background-color: #1f2937;
    }

    .hover\:text-black:hover {
    color: #000;
    }

    .hover\:text-gray-600:hover {
    color: #4b5563;
    }

    .opacity-0 {
    opacity: 0;
    }

    .translate-y-10 {
    transform: translateY(2.5rem);
    }

    .pointer-events-none {
    pointer-events: none;
    }

    .inline-block {
    display: inline-block;
    }

    .h-\[500px\] {
    height: 400px;
    }

    .h-\[232px\] {
    height: 160px;
    }

    .basis-1\/3 {
    flex-basis: 33.333333%;
    }

    .basis-1\/4 {
    flex-basis: 25%;
    }

    /* Custom Components */

    /* Product Gallery */
    .main-image-container {
    cursor: zoom-in;
    }

    .main-image-container.zoomed {
    cursor: zoom-out;
    }

    /* Increase thumbnail size */
    .thumbnails-container button {
    width: 4rem;
    height: 4rem;
    }

    /* Increase main image container size */
    .main-image-container {
    height: 400px;
    }

    /* Ensure images scale properly */
    .thumbnails-container img,
    .main-image {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    }

    /* Zoom Modal */
    .zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    }

    .zoom-modal.open {
    display: flex;
    }

    .modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    }

    .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .zoom-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    }

    .zoom-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transition: transform 0.3s ease-out;
    cursor: zoom-in;
    }

    .zoom-image.zoomed {
    cursor: zoom-out;
    }

    .nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .prev-button {
    left: 30px;
    }

    .next-button {
    right: 30px;
    }

    .image-indicators {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    }

    .image-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    }

    .image-indicator.active {
    background-color: white;
    }

    /* Carousels */
    .carousel-content {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    }

    .carousel-item {
    flex: 0 0 auto;
    }

    .carousel-navigation {
    position: relative;
    }

    .carousel-prev,
    .carousel-next,
    .routine-carousel-prev,
    .routine-carousel-next,
    .match-carousel-prev,
    .match-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: 1px solid #e5e7eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    }

    .carousel-prev,
    .routine-carousel-prev,
    .match-carousel-prev {
    left: 10px;
    }

    .carousel-next,
    .routine-carousel-next,
    .match-carousel-next {
    right: 10px;
    margin-right: -26px
    }

    /* Ingredients Section */
    .ingredients-carousel {
    position: relative;
    overflow: hidden;
    }

    /* Add cursor: pointer to ingredient images and names */
    .ingredients-carousel .aspect-square,
    .ingredients-carousel h3 {
    cursor: pointer;
    }

    /* Complete Routine */
    .routine-carousel,
    .match-carousel {
    position: relative;
    overflow: hidden;
    }

    .routine-carousel-navigation,
    .match-carousel-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    pointer-events: none;
    }

    .routine-carousel-prev,
    .routine-carousel-next,
    .match-carousel-prev,
    .match-carousel-next {
    pointer-events: auto;
    }

    .carousel-content {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    }

    .carousel-item {
    flex: 0 0 auto;
    }

    /* Match Carousel Hover Effects */
    .buy-now-btn{
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    background-color: #1A1F2C;
    color: white;
    padding: 0.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s;
    margin-top: -45%;
    }

    .match-carousel .carousel-item .group:hover .primary-image {
    display: none;
    }

    .match-carousel .carousel-item .group:hover .secondary-image {
    display: block;
    }

    .match-carousel .carousel-item .group:hover .buy-now-btn {
    opacity: 1;
    display: block;
    }

    .secondary-image {
    display: none;
    }

    .buy-now-btn {
    display: none;
    }

    /* Responsive */
    @media (min-width: 768px) {
    .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:flex-row {
    flex-direction: row;
    }

    .md\:w-1\/4 {
    width: 25%;
    }

    .md\:w-3\/4 {
    width: 75%;
    }

    .md\:text-2xl {
    font-size: 1.5rem;
    }

    .md\:text-4xl {
    font-size: 2.25rem;
    }

    .md\:flex {
    display: flex;
    }

    .md\:basis-1\/3 {
    flex-basis: 33.333333%;
    }

    .md\:basis-1\/4 {
    flex-basis: 25%;
    }

    .md\:mb-16 {
    margin-bottom: 4rem;
    }
    }

    @media (min-width: 1024px) {
    .lg\:text-5xl {
    font-size: 3rem;
    }

    .lg\:text-6xl {
    font-size: 3.75rem;
    }

    .lg\:basis-1\/3 {
    flex-basis: 33.333333%;
    }

    .lg\:basis-1\/4 {
    flex-basis: 25%;
    }

    .lg\:gap-16 {
    gap: 4rem;
    }
    }

    @media (min-width: 640px) {
    .sm\:flex-row {
    flex-direction: row;
    }
    }

    /* Ingredients Modal */
    .ingredients-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    }

    .ingredients-modal.open {
    display: flex;
    }

    .ingredients-modal-content {
    position: relative;
    width: 80%;
    max-width: 600px;
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    }

    .close-ingredients-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: white;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .thumbnail-active {
    border: 2px solid #000;
    }

    /* Modals for Ingredients */
    .ingredient-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    }

    .ingredient-modal.open {
    display: flex;
    }

    .ingredient-modal-content {
    position: relative;
    width: 80%;
    max-width: 600px;
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    }

    .close-ingredient-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: white;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    /* Modal styles */
    .page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
    }

    .page-overlay.active {
    opacity: 1;
    pointer-events: auto;
    }

    .shopping-modal {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 420px;
    max-width: 90%;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.2);
    }

    .shopping-modal.active {
    transform: translateX(0);
    }

    .modal-top {
    background: rgba(229, 231, 235);
    padding: 2.5rem 1rem 1rem 1rem;
    position: relative;
    }

    .modal-top h3 {
    margin: 0;
    font-size: 1rem;
    margin-top: 1rem;
    }

    .modal-top p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    }

    #modalClose {
    position: absolute;
    right: 1rem;
    top: 0.8rem;
    cursor: pointer;
    font-size: 1.5rem;
    }

    .modal-contentc {
    padding: 1.5rem;
    }

    .retailer-list {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    }

    .retailer-item {
    flex: 1;
    min-width: 100px;
    text-align: center;
    }

    .brand-logo {
    border: 2px solid #000;
    border-radius: 8px;
    padding: 5px;
    transition: transform 0.3s ease;
    width: 50%;
    height: 50%;
    object-fit: contain;
    }

    .brand-logo:hover {
    border-color: #ff4f81;
    transform: scale(1.05);
    }

    @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

    /* Base Styles */
    * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-color: #e5e7eb;
    }

    body {
    color: #333;
    background-color: #fff;
    line-height: 1.5;
    font-size: 16px;
    }

    h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    }

    a {
    color: inherit;
    text-decoration: none;
    }

    img {
    max-width: 100%;
    height: auto;
    }

    button {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    }

    input {
    font-family: inherit;
    }

    /* Utility Classes */
    .container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    max-width: 1550px;
    }

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

    .px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
    }

    .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    }

    .py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    }

    .py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
    }

    .py-8 {
    padding-top: 1rem;
    padding-bottom: 1rem;
    }

    .py-16 {
    padding-top: 2rem;
    padding-bottom: 2rem;
    }

    .px-8 {
    padding-left: 1rem;
    padding-right: 1rem;
    }

    .p-2 {
    padding: 0.5rem;
    }

    .p-3 {
    padding: 0.75rem;
    }

    .p-4 {
    padding: 1rem;
    }

    .p-8 {
    padding: 2rem;
    }

    .m-1 {
    margin: 0.25rem;
    }

    .mb-1 {
    margin-bottom: 0.25rem;
    }

    .mb-2 {
    margin-bottom: 0.5rem;
    }

    .mb-3 {
    margin-bottom: 0.75rem;
    }

    .mb-4 {
    margin-bottom: 1rem;
    }

    .mb-6 {
    margin-bottom: 1.5rem;
    }

    .mb-8 {
    margin-bottom: 1rem;
    }

    .mb-10 {
    margin-bottom: 2.5rem;
    }

    .mb-12 {
    margin-bottom: 1.5rem;
    }

    .mt-1 {
    margin-top: 0.25rem;
    }

    .mt-2 {
    margin-top: 0.5rem;
    }

    .mt-4 {
    margin-top: 1rem;
    }

    .mt-6 {
    margin-top: 1.5rem;
    }

    .mt-8 {
    margin-top: 2rem;
    }

    .mt-12 {
    margin-top: 3rem;
    }

    .mt-16 {
    margin-top: 4rem;
    }

    .mr-2 {
    margin-right: 0.5rem;
    }

    .mr-4 {
    margin-right: 1rem;
    }

    .mr-6 {
    margin-right: 1.5rem;
    }

    .ml-1 {
    margin-left: 0.25rem;
    }

    .ml-2 {
    margin-left: 0.5rem;
    }

    .ml-4 {
    margin-left: 1rem;
    }

    .mx-1\.5 {
    margin-left: 0.375rem;
    margin-right: 0.375rem;
    }

    .space-x-1 > * + * {
    margin-left: 0.25rem;
    }

    .space-x-2 > * + * {
    margin-left: 0.5rem;
    }

    .space-x-4 > * + * {
    margin-left: 1rem;
    }

    .space-x-8 > * + * {
    margin-left: 2rem;
    }

    .space-y-2 > * + * {
    margin-top: 0.5rem;
    }

    .space-y-3 > * + * {
    margin-top: 0.75rem;
    }

    .space-y-4 > * + * {
    margin-top: 1rem;
    }

    .space-y-6 > * + * {
    margin-top: 1.5rem;
    }

    .gap-2 {
    gap: 0.5rem;
    }

    .gap-4 {
    gap: 1rem;
    }

    .gap-6 {
    gap: 1.5rem;
    }

    .gap-8 {
    gap: 1rem;
    }

    .gap-12 {
    gap: 3rem;
    }

    /* Layout */
    .flex {
    display: flex;
    }

    .flex-col {
    flex-direction: column;
    }

    .flex-1 {
    flex: 1;
    }

    .flex-grow {
    flex-grow: 1;
    }

    .flex-shrink-0 {
    flex-shrink: 0;
    }

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

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

    .items-start {
    align-items: flex-start;
    }

    .justify-center {
    justify-content: center;
    }

    .justify-between {
    justify-content: space-between;
    }

    .justify-end {
    justify-content: flex-end;
    }

    .grid {
    display: grid;
    }

    .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .h-3 {
    height: 0.75rem;
    }

    .h-4 {
    height: 1rem;
    }

    .h-5 {
    height: 1.25rem;
    }

    .h-6 {
    height: 1.5rem;
    }

    .h-10 {
    height: 2.5rem;
    }

    .h-12 {
    height: 3rem;
    }

    .h-16 {
    height: 4rem;
    }

    .h-24 {
    height: 6rem;
    }

    .h-32 {
    height: 8rem;
    }

    .h-auto {
    height: auto;
    }

    .h-full {
    height: 100%;
    }

    .min-h-\[48px\] {
    min-height: 48px;
    }

    .w-3 {
    width: 0.75rem;
    }

    .w-4 {
    width: 1rem;
    }

    .w-5 {
    width: 1.25rem;
    }

    .w-6 {
    width: 1.5rem;
    }

    .w-10 {
    width: 2.5rem;
    }

    .w-12 {
    width: 3rem;
    }

    .w-14 {
    width: 3.5rem;
    }

    .w-16 {
    width: 4rem;
    }

    .w-24 {
    width: 6rem;
    }

    .w-full {
    width: 100%;
    }

    .w-1\/3 {
    width: 33.333333%;
    }

    .max-w-xs {
    max-width: 20rem;
    }

    .max-w-4xl {
    max-width: 56rem;
    }

    .max-w-5xl {
    max-width: 64rem;
    }

    .max-w-full {
    max-width: 100%;
    }

    .max-h-\[450px\] {
    max-height: 450px;
    }

    .aspect-square {
    aspect-ratio: 1 / 1;
    }

    /* Colors */
    .bg-black {
    background-color: #000;
    }

    .bg-white {
    background-color: #fff;
    }

    .bg-gray-100 {
    background-color: #f3f4f6;
    }

    .bg-gray-500 {
    background-color: #6b7280;
    }

    .bg-gray-800 {
    background-color: #1f2937;
    }

    .bg-red-600 {
    background-color: #dc2626;
    }

    .bg-pink-600 {
    background-color: #db2777;
    }

    .text-white {
    color: #fff;
    }

    .text-black {
    color: #000;
    }

    .text-gray-300 {
    color: #d1d5db;
    }

    .text-gray-500 {
    color: #6b7280;
    }

    .text-gray-600 {
    color: #4b5563;
    }

    .bg-white\/80 {
    background-color: rgba(255, 255, 255, 0.8);
    }

    /* Typography */
    .text-xs {
    font-size: 0.75rem;
    }

    .text-sm {
    font-size: 0.875rem;
    }

    .text-base {
    font-size: 1rem;
    }

    .text-lg {
    font-size: 1.125rem;
    }

    .text-xl {
    font-size: 1.25rem;
    }

    .text-2xl {
    font-size: 1.5rem;
    }

    .text-3xl {
    font-size: 1.875rem;
    }

    .text-4xl {
    font-size: 2.25rem;
    }

    .text-5xl {
    font-size: 3rem;
    }

    .text-7xl {
    font-size: 4.5rem;
    }

    .font-medium {
    font-weight: 500;
    }

    .font-semibold {
    font-weight: 600;
    }

    .uppercase {
    text-transform: uppercase;
    }

    .tracking-wider {
    letter-spacing: 0.05em;
    }

    .italic {
    font-style: italic;
    }

    .underline {
    text-decoration: underline;
    }

    .line-through {
    text-decoration: line-through;
    }

    .align-top {
    vertical-align: top;
    }

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

    /* Borders */
    .border {
    border-width: 1px;
    }

    .border-t {
    border-top-width: 1px;
    }

    .border-b {
    border-bottom-width: 1px;
    }

    .border-gray-200 {
    border-color: #e5e7eb;
    }

    .border-gray-300 {
    border-color: #d1d5db;
    }

    .rounded-sm {
    border-radius: 0.125rem;
    }

    .rounded-md {
    border-radius: 0.375rem;
    }

    .rounded-lg {
    border-radius: 0.5rem;
    }

    .rounded-full {
    border-radius: 9999px;
    }

    /* Other Utilities */
    .object-contain {
    object-fit: contain;
    }

    .object-cover {
    object-fit: cover;
    }

    .overflow-hidden {
    overflow: hidden;
    }

    .relative {
    position: relative;
    }

    .absolute {
    position: absolute;
    }

    .fixed {
    position: fixed;
    }

    .sticky {
    position: sticky;
    }

    .top-1\/2 {
    top: 50%;
    }

    .top-2 {
    top: 0.5rem;
    }

    .left-2 {
    left: 0.5rem;
    }

    .right-2 {
    right: 0.5rem;
    }

    .right-1 {
    right: 0.25rem;
    }

    .left-1 {
    left: 0.25rem;
    }

    .right-8 {
    right: 2rem;
    }

    .bottom-0 {
    bottom: 0;
    }

    .bottom-24 {
    bottom: 6rem;
    }

    .z-10 {
    z-index: 10;
    }

    .z-50 {
    z-index: 50;
    }

    .-top-2 {
    top: -0.5rem;
    }

    .-right-2 {
    right: -0.5rem;
    }

    .-translate-y-1\/2 {
    transform: translateY(-50%);
    }

    .shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    }

    .outline-none {
    outline: none;
    }

    .transition-colors {
    transition-property: color, background-color, border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    }

    .transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    }

    .hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
    }

    .hover\:bg-gray-800:hover {
    background-color: #1f2937;
    }

    .hover\:text-black:hover {
    color: #000;
    }

    .hover\:text-gray-600:hover {
    color: #4b5563;
    }

    .opacity-0 {
    opacity: 0;
    }

    .translate-y-10 {
    transform: translateY(2.5rem);
    }

    .pointer-events-none {
    pointer-events: none;
    }

    .inline-block {
    display: inline-block;
    }

    .h-\[500px\] {
    height: 400px;
    }

    .h-\[232px\] {
    height: 160px;
    }

    .basis-1\/3 {
    flex-basis: 33.333333%;
    }

    .basis-1\/4 {
    flex-basis: 25%;
    }

    /* Custom Components */

    /* Product Gallery */
    .main-image-container {
    cursor: zoom-in;
    }

    .main-image-container.zoomed {
    cursor: zoom-out;
    }

    /* Increase thumbnail size */
    .thumbnails-container button {
    width: 4rem;
    height: 4rem;
    }

    /* Increase main image container size */
    .main-image-container {
    height: 400px;
    }

    /* Ensure images scale properly */
    .thumbnails-container img,
    .main-image {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    }

    /* Zoom Modal */
    .zoom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    }

    .zoom-modal.open {
    display: flex;
    }

    .modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    }

    .close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .zoom-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    }

    .zoom-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    transition: transform 0.3s ease-out;
    cursor: zoom-in;
    }

    .zoom-image.zoomed {
    cursor: zoom-out;
    }

    .nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .prev-button {
    left: 30px;
    }

    .next-button {
    right: 30px;
    }

    .image-indicators {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    }

    .image-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    }

    .image-indicator.active {
    background-color: white;
    }

    /* Carousels */
    .carousel-content {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    }

    .carousel-item {
    flex: 0 0 auto;
    }

    .carousel-navigation {
    position: relative;
    }

    .carousel-prev,
    .carousel-next,
    .routine-carousel-prev,
    .routine-carousel-next,
    .match-carousel-prev,
    .match-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: 1px solid #e5e7eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    }

    .carousel-prev,
    .routine-carousel-prev,
    .match-carousel-prev {
    left: 10px;
    }

    .carousel-next,
    .routine-carousel-next,
    .match-carousel-next {
    right: 10px;
    margin-right: -26px
    }

    /* Ingredients Section */
    .ingredients-carousel {
    position: relative;
    overflow: hidden;
    }

    /* Add cursor: pointer to ingredient images and names */
    .ingredients-carousel .aspect-square,
    .ingredients-carousel h3 {
    cursor: pointer;
    }

    /* Complete Routine */
    .routine-carousel,
    .match-carousel {
    position: relative;
    overflow: hidden;
    }

    .routine-carousel-navigation,
    .match-carousel-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    pointer-events: none;
    }

    .routine-carousel-prev,
    .routine-carousel-next,
    .match-carousel-prev,
    .match-carousel-next {
    pointer-events: auto;
    }

    .carousel-content {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    }

    .carousel-item {
    flex: 0 0 auto;
    }

    /* Match Carousel Hover Effects */
    .buy-now-btn{
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    background-color: #1A1F2C;
    color: white;
    padding: 0.75rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s;
    margin-top: -45%;
    }

    .match-carousel .carousel-item .group:hover .primary-image {
    display: none;
    }

    .match-carousel .carousel-item .group:hover .secondary-image {
    display: block;
    }

    .match-carousel .carousel-item .group:hover .buy-now-btn {
    opacity: 1;
    display: block;
    }

    .secondary-image {
    display: none;
    }

    .buy-now-btn {
    display: none;
    }

    /* Responsive */
    @media (min-width: 768px) {
    .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:flex-row {
    flex-direction: row;
    }

    .md\:w-1\/4 {
    width: 25%;
    }

    .md\:w-3\/4 {
    width: 75%;
    }

    .md\:text-2xl {
    font-size: 1.5rem;
    }

    .md\:text-4xl {
    font-size: 2.25rem;
    }

    .md\:flex {
    display: flex;
    }

    .md\:basis-1\/3 {
    flex-basis: 33.333333%;
    }

    .md\:basis-1\/4 {
    flex-basis: 25%;
    }

    .md\:mb-16 {
    margin-bottom: 4rem;
    }
    }

    @media (min-width: 1024px) {
    .lg\:text-5xl {
    font-size: 3rem;
    }

    .lg\:text-6xl {
    font-size: 3.75rem;
    }

    .lg\:basis-1\/3 {
    flex-basis: 33.333333%;
    }

    .lg\:basis-1\/4 {
    flex-basis: 25%;
    }

    .lg\:gap-16 {
    gap: 4rem;
    }
    }

    @media (min-width: 640px) {
    .sm\:flex-row {
    flex-direction: row;
    }
    }

    /* Ingredients Modal */
    .ingredients-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    }

    .ingredients-modal.open {
    display: flex;
    }

    .ingredients-modal-content {
    position: relative;
    width: 80%;
    max-width: 600px;
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    }

    .close-ingredients-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: white;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .thumbnail-active {
    border: 2px solid #000;
    }

    /* Modals for Ingredients */
    .ingredient-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    }

    .ingredient-modal.open {
    display: flex;
    }

    .ingredient-modal-content {
    position: relative;
    width: 80%;
    max-width: 600px;
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    }

    .close-ingredient-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: white;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    /* Modal styles */
    .page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
    z-index: 999;
    }

    .page-overlay.active {
    opacity: 1;
    pointer-events: auto;
    }

    .shopping-modal {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 420px;
    max-width: 90%;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    z-index: 1000;
    box-shadow: -2px 0 12px rgba(0, 0, 0, 0.2);
    }

    .shopping-modal.active {
    transform: translateX(0);
    }

    .modal-top {
    background: rgba(229, 231, 235);
    padding: 2.5rem 1rem 1rem 1rem;
    position: relative;
    }

    .modal-top h3 {
    margin: 0;
    font-size: 1rem;
    margin-top: 1rem;
    }

    .modal-top p {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    }

    #modalClose {
    position: absolute;
    right: 1rem;
    top: 0.8rem;
    cursor: pointer;
    font-size: 1.5rem;
    }

    .modal-contentc {
    padding: 1.5rem;
    }

    .retailer-list {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    }

    .retailer-item {
    flex: 1;
    min-width: 100px;
    text-align: center;
    }

    .brand-logo {
    border: 2px solid #000;
    border-radius: 8px;
    padding: 5px;
    transition: transform 0.3s ease;
    width: 50%;
    height: 50%;
    object-fit: contain;
    }

    .brand-logo:hover {
    border-color: #ff4f81;
    transform: scale(1.05);
    }

    .carousel-content {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;

        scrollbar-width: none; 
        -ms-overflow-style: none;
    }

    .carousel-content::-webkit-scrollbar {
        display: none;
    }

    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      overflow-x: hidden;
    }




/* === Responsive Fixes === */
html, body {
  overflow-x: hidden;
  width: 100%;
}
/* Hero section mobile fix */
@media (max-width: 768px) {
  .hero-content {
    margin-left: 0 !important;
    padding: 0 1rem;
    max-width: 100% !important;
    text-align: center;
    align-items: center;
  }

  .nav-list {
    flex-direction: column;
    gap: 1rem;
  }
}



/* ===== Hero Image and Layout Responsive Fixes ===== */
.hero-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.hero-text {
  flex: 1 1 300px;
}

.hero-image {
  flex: 1 1 300px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero-wrapper {
    flex-direction: column;
    padding: 1rem;
  }

  .hero-text, .hero-image {
    width: 100%;
    text-align: center;
  }
}


/* Navigation Dropdown */
    .nav-dropdown1 {
    position: absolute;
    left: -760px;
    top: 100%;
    width: 100vw;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-md);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    }

    .nav-dropdown2 {
    position: absolute;
    left: -885px;
    top: 100%;
    width: 100vw;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-gray-200);
    box-shadow: var(--shadow-md);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    }

    .nav-item:hover .nav-dropdown1 {
    opacity: 1;
    visibility: visible;
    }

    .nav-item:hover .nav-dropdown2 {
    opacity: 1;
    visibility: visible;
    }

    .dropdown-container {
    display: flex;
    padding: 2rem 0;
    max-width: 1280px;
    margin: 0 auto;
    }

    .dropdown-sidebar {
    width: 20%;
    padding-right: 2rem;
    border-right: 1px solid var(--color-gray-200);
    }

    .dropdown-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    }

    .dropdown-categories a {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-gray-600);
    transition: color 0.3s;
    }

    .dropdown-categories a:hover {
    color: var(--color-black);
    border-bottom: 2px solid var(--color-black);
    padding-bottom: 0.25rem;
    }

    .dropdown-categories a.active {
    color: var(--color-black);
    border-bottom: 2px solid var(--color-black);
    padding-bottom: 0.25rem;
    }

    .dropdown-content {
    width: 100%;
    padding-left: 2rem;
    display: flex;
    }

    .dropdown-columns {
    width: 66.67%;
    display: flex;
    }

    .dropdown-column {
    width: 50%;
    padding: 0 1rem;
    }

    .dropdown-column ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    }

    .dropdown-column a {
    font-size: 0.875rem;
    text-transform: uppercase;
    transition: text-decoration 0.3s;
    }

    .dropdown-column a:hover {
    text-decoration: underline;
    }

    .dropdown-image {
    width: 50.33%;
    }

    .dropdown-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    }
    @media (max-width: 1024px) {
    .nav-dropdown1 {
    margin-left: -532%;
    left: 0 !important;
    width: 100vw !important;
    }
    .nav-dropdown2 {
    margin-left: -730%;
    left: 0 !important;
    width: 100vw !important;
    }
    .dropdown-container {
    display: flex;
    flex-direction: row; /* Horizontal layout again */
    flex-wrap: wrap;
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 2rem;
    box-sizing: border-box;
    }

    .dropdown-sidebar {
    width: 20%;
    border-right: 1px solid var(--color-gray-200);
    padding-right: 1rem;
    margin-bottom: 0;
    }

    .dropdown-content {
    width: 80%;
    padding-left: 2rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    }

    .dropdown-columns {
    width: 60%;
    flex-direction: column;
    }

    .dropdown-column {
    width: 100%;
    }

    .dropdown-image {
    width: 40%;
    max-width: 300px;
    }

    .dropdown-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    }
    }.buy-now-btn {
  position: absolute;
    bottom: 108px;
    left: 16px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    font-size: 0.875rem;
    text-align: center;
    padding: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

/* Show on hover (for desktop) */
.group:hover .buy-now-btn {
  opacity: 1;
}

/* Always show on mobile */
@media (max-width: 768px) {
  .buy-now-btn {
    opacity: 1;
  }
}

html {
        zoom: 90%;
    }