/* Import Google Fonts: Inter for body and Roboto for headings */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Roboto:wght@600;700;800&display=swap');

/* Brand colors + layout */
:root {
  --brand: #fe0075;
  --brand-600: #e6006a;
  --brand-100: #ffe0ee;
  --dark: #111;
  --muted: #6b7280;
  --light: #f8f9fa;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

.topbar {
  background: var(--brand);
  color: #fff;
  font-size: .88rem;
  padding: .5rem 0;
  letter-spacing: .03em;
}

.navbar {
  padding: .9rem 0;
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.navbar-brand img {
  height: 44px;
}

.navbar .navbar-brand {
  min-width: 160px;
  text-align: center;
}

@media (max-width: 991.98px) {
  .navbar .navbar-brand {
    margin-left: auto;
    margin-right: auto;
  }
}

.nav-link {
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--dark);
  text-transform: uppercase;
  font-size: .92rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.35rem;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

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

.icon-btn {
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  width: 40px;
  height: 40px;
}

.icon-btn svg {
  width: 50px;
}

.icon-btn:hover {
  background: rgba(254, 0, 117, 0.08);
}

.sticky-top-shadow {
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* mega menu */
.megamenu .dropdown-menu {
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0;
  border: 0;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 2rem 0;
  display: none;
}

.megamenu:hover>.dropdown-menu,
.megamenu .dropdown-menu:hover {
  display: block;
}

.brand-list {
  columns: 2;
  column-gap: 2rem;
  max-height: 420px;
}

.brand-list a {
  display: block;
  padding: .35rem 0;
  color: var(--dark);
}

.brand-list a:hover {
  color: var(--brand);
}

.product-mini .item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-mini img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: .25rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.product-mini h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.35;
}

.product-mini .price {
  font-weight: 700;
  color: var(--dark);
}

/* product card hover swap */
.product-card {
  user-select: none;
}

.product-card .media {
  position: relative;
  border-radius: .25rem;
  overflow: hidden;
  aspect-ratio: 3 / 3;
}

.product-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity .35s ease;
}

.product-card .media .img-front {
  opacity: 1;
}

.product-card .media .img-back {
  opacity: 0;
}

.product-card .media:hover .img-front {
  opacity: 0;
}

.product-card .media:hover .img-back {
  opacity: 1;
}

.product-card .quick-btn {
  position: absolute;
  left: 0;
  bottom: -50px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: #fff;
  opacity: 0;
  transform: translateY(0);
  transition: opacity .3s ease, transform .3s ease;
}

.product-card .media:hover .quick-btn {
  opacity: 1;
  transform: translateY(-60px);
}

.product-card .title {
  font-weight: 600;
  margin: .75rem 0 .25rem;
}

.product-card .price {
  font-weight: 700;
  color: #fe0075;
}

/* product carousel */
.product-carousel {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.product-carousel .product-card {
  flex: 1 1 calc(20% - 16px);
  /* 5 items per row */
}

.product-carousel .carousel-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 2;
}

.product-carousel:hover .carousel-nav {
  opacity: 1;
  pointer-events: auto;
}

.product-carousel .carousel-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.product-carousel .carousel-nav button:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.product-carousel .carousel-nav button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.product-carousel .carousel-nav button:disabled {
  opacity: 0.55;
}

.product-carousel .carousel-nav .nav-prev svg,
.product-carousel .carousel-nav .nav-next svg {
  color: var(--dark);
}

.product-carousel .carousel-nav button:hover svg {
  color: #fff;
}

.product-carousel .carousel-nav .nav-prev:disabled,
.product-carousel .carousel-nav .nav-next:disabled {
  opacity: 0.5;
}

@media (max-width: 1200px) {
  .product-carousel .product-card {
    flex: 1 1 calc(25% - 15px);
    /* 4 items */
  }
}

@media (max-width: 992px) {
  .product-carousel .product-card {
    flex: 1 1 calc(33.33% - 13.33px);
    /* 3 items */
  }
}

@media (max-width: 768px) {
  .product-carousel .product-card {
    flex: 1 1 calc(50% - 10px);
    /* 2 items */
  }
}

@media (max-width: 576px) {
  .product-carousel .product-card {
    flex: 1 1 100%;
    /* 1 item */
  }
}

/* hero slider */
.hero .slide-img {
  width: 100%;
  height: 68vh;
  object-fit: cover;
}

@media (min-width: 992px) {
  .hero .slide-img {
    height: 78vh;
  }
}

.hero .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.45));
}

.hero h5 {
  letter-spacing: .15em;
  font-weight: 800;
}

.hero h2 {
  font-weight: 800;
}

.btn-brand-outline {
  border: 2px solid #fff;
  color: #fff;
  padding: .65rem 1.25rem;
  border-radius: 0;
}

.btn-brand-outline:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

/* owl dots */
.hero .owl-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
}

.owl-theme .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.75);
  opacity: 1;
  margin: 0 5px;
  border-radius: 50%;
}

.owl-theme .owl-dots .owl-dot.active span {
  background: var(--brand);
  border-color: var(--brand);
}

/* Featured menu styles */
.featured-links li+li {
  margin-top: .35rem;
}

.featured-links a {
  color: var(--dark);
}

.featured-links a:hover {
  color: var(--brand);
}

.brand-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.brand-chips a {
  border: 1px solid rgba(17, 17, 17, 0.15);
  padding: .35rem .5rem;
  font-size: .85rem;
  border-radius: 999px;
}

.brand-chips a:hover,
.offcanvas .chip:hover,
.featured-links a:hover,
.brand-list a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

/* Mobile-friendly mega menu layout */
@media (max-width: 991.98px) {
  .megamenu .dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    padding: 1rem 0;
  }

  .brand-list {
    columns: 1;
    max-height: none;
  }

  .product-mini img {
    width: 84px;
    height: 84px;
  }
}

/* Improve overlay readability on small screens */
@media (max-width: 575.98px) {
  .hero .overlay .lead {
    font-size: 1rem;
  }

  .btn-brand-outline {
    padding: .55rem 1rem;
  }

  .product-card .title {
    font-size: .95rem;
  }
}

.accordion-item .mobile-nav-accordion {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .02em;
  background: #fff;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background: #fff;
  box-shadow: none;
}

.accordion-button::after {
  background-image: none !important;
  content: "+";
  font-weight: 800;
  margin-left: auto;
  color: var(--dark);
}

.accordion-button[aria-expanded="true"]::after {
  content: "−";
  color: var(#fff);
}

/* Offcanvas mobile nav */
.mobile-nav-link {
  display: block;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .02em;
}

.accordion-item .mobile-nav-accordion {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: .02em;
  background: #fff;
  box-shadow: none;
}

.offcanvas .chip {
  border: 1px solid rgba(17, 17, 17, 0.15);
  padding: .35rem .55rem;
  border-radius: 999px;
  font-size: .85rem;
}

.offcanvas .chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.offcanvas-header {
  padding: .75rem 1rem;
}

.offcanvas-body nav a {
  color: var(--dark);
}

/* Modal UI */
#quickViewModal .btn-size {
  border: 1px solid rgba(17, 17, 17, 0.15);
  padding: .5rem 1.1rem;
  border-radius: .25rem;
  background: #fff;
  margin: .25rem;
}

#quickViewModal .btn-size.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

#quickViewModal .color-box {
  width: 44px;
  height: 44px;
  border-radius: .25rem;
  border: 2px solid var(--brand);
  background: #000;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-success {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
  border: 1px solid #16a34a;
}

/* Small tweaks */
.brand-row .h5 {
  letter-spacing: .02em;
}

.brand-row,
.brand-feature {
  border-top: 1px solid rgba(17, 17, 17, 0.06);
}

/* styles for Featured Brands */
.brand-feature .brand-card {
  display: block;
  color: var(--dark);
}

.brand-feature .brand-media {
  position: relative;
  overflow: hidden;
  border-radius: .375rem;
  aspect-ratio: 4 / 5;
}

.brand-feature .brand-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.brand-feature .brand-card:hover .brand-media img {
  transform: scale(1.04);
}

.brand-feature .brand-caption {
  text-align: center;
  margin: .5rem 0 0;
  font-weight: 600;
}

/* brand ticker (marquee-like) */
.brand-ticker {
  border-top: 1px solid rgba(17, 17, 17, 0.06);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  background: #fff;
}

.brand-ticker .container {
  padding-top: .35rem;
  padding-bottom: .35rem;
}

.ticker-item {
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dark);
  opacity: 0.9;
  padding: .25rem .75rem;
  white-space: nowrap;
}

/* events section styling */
.events-section .events-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: .25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.events-section h2 {
  letter-spacing: .01em;
}

.events-section p {
  line-height: 1.65;
}

@media (max-width: 991.98px) {
  .events-section .events-media {
    --bs-aspect-ratio: 60%;
  }
}

/* marquee styling */
.marquee-wrap {
  border-top: 1px solid rgba(17, 17, 17, 0.06);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
  background: #fff;
  padding: .4rem 0;
}

.marquee-wrap marquee {
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dark);
  opacity: 0.9;
}

@media (max-width: 575.98px) {
  .marquee-wrap marquee {
    font-size: .8rem;
  }
}

/* Reviews, Newsletter and Footer styles */
.section-reviews h3 {
  letter-spacing: .01em;
}

.review .avatar-initial {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--light);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stars .star {
  fill: #f5c518;
  margin-right: 2px;
}

.section-newsletter .newsletter-form .form-control {
  background: #fff;
}

.section-newsletter .newsletter-form .form-control::placeholder {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.site-footer .footer-links a {
  color: var(--muted);
}

.site-footer .footer-links a:hover {
  color: var(--dark);
}

.site-footer .social {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  border: 1px solid rgba(17, 17, 17, 0.15);
}

.site-footer .social:hover {
  background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 991.98px) {
  .section-newsletter .newsletter-form {
    gap: .5rem;
  }
}

/* unify primary actions to brand color */
.btn-dark {
  background-color: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
}

.btn-dark:hover,
.btn-dark:focus {
  background-color: var(--brand-600) !important;
  border-color: var(--brand-600) !important;
  color: #fff !important;
  box-shadow: 0 0 0 0.2rem rgba(254, 0, 117, 0.15) !important;
}

/* ensure focus states across site meet a11y and match brand */
/* a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
} */

/* brands carousel */
.brands-carousel {
  position: relative;
}

.brands-carousel .carousel-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 2;
}

.brands-carousel:hover .carousel-nav {
  opacity: 1;
  pointer-events: auto;
}

.brands-carousel .carousel-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.brands-carousel .carousel-nav button:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.brands-carousel .carousel-nav button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.brands-carousel .carousel-nav button:disabled {
  opacity: 0.55;
}

.brands-carousel .carousel-nav .nav-prev svg,
.brands-carousel .carousel-nav .nav-next svg {
  color: var(--dark);
}

.brands-carousel .carousel-nav button:hover svg {
  color: #fff;
}

.brands-carousel .carousel-nav .nav-prev:disabled,
.brands-carousel .carousel-nav .nav-next:disabled {
  opacity: 0.5;
}

/* ticker carousel */
.ticker-carousel {
  position: relative;
}

.ticker-carousel .carousel-nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 2;
}

.ticker-carousel:hover .carousel-nav {
  opacity: 1;
  pointer-events: auto;
}

.ticker-carousel .carousel-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.ticker-carousel .carousel-nav button:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.ticker-carousel .carousel-nav button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.ticker-carousel .carousel-nav button:disabled {
  opacity: 0.55;
}

.ticker-carousel .carousel-nav .nav-prev svg,
.ticker-carousel .carousel-nav .nav-next svg {
  color: var(--dark);
}

.ticker-carousel .carousel-nav button:hover svg {
  color: #fff;
}

.ticker-carousel .carousel-nav .nav-prev:disabled,
.ticker-carousel .carousel-nav .nav-next:disabled {
  opacity: 0.5;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
  /* Base styles for both buttons */
  background: #f0f0f0;
  /* Default background color */
  border: none;
  /* Remove default border */
  padding: 10px;
  /* Adjust padding for size */
  font-size: 18px;
  /* Arrow size */
  position: absolute;
  /* Absolute positioning for placement */
  top: 50%;
  /* Center vertically */
  transform: translateY(-50%);
  /* Adjust for vertical centering */
  cursor: pointer;
  /* Pointer cursor on hover */
  transition: background 0.3s ease;
  /* Smooth background transition */
  background-size: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Position the previous (left) button */
.owl-carousel .owl-nav button.owl-prev {
  left: 10px;
  /* Position on the left side */
}

/* Position the next (right) button */
.owl-carousel .owl-nav button.owl-next {
  right: 10px;
  /* Position on the right side */
}

/* Hover effect with pink background */
.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
  background: #fe0075;
  /* Pink background on hover */
  color: #fff;
  /* Optional: white text/icon color on hover */
}

/* video hero styles */
.video-hero {
  position: relative;
  min-height: 70vh;
  background: #000;
  overflow: hidden;
}

@media (min-width: 992px) {
  .video-hero {
    min-height: 78vh;
  }
}

.video-hero .video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55));
  padding: 2rem;
}

.video-hero .eyebrow {
  letter-spacing: .14em;
}

.video-hero h1 {
  font-weight: 800;
  line-height: 1.1;
}

.video-hero .btn-brand-outline {
  border-width: 2px;
}

/* small-screen readability tweaks */
@media (max-width: 575.98px) {
  .video-hero .overlay {
    padding: 1.25rem;
  }

  .video-hero h1 {
    font-size: 1.75rem;
  }
}

.marquee-dark {
  background-color: #e6006a;
  color: #fff;
}

/* new-page-product-to-card */
.product-page {
  font-family: 'Roboto', sans-serif;
}

.product-page .product-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 500px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.product-page .product-img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-page .swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-block;
  border: 2px solid #ddd;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.product-page .swatch.active {
  border-color: #fe0075;
  box-shadow: 0 0 0 3px rgba(254, 0, 117, 0.3);
}

.product-page .variant-button {
  min-width: 60px;
  text-align: center;
  border-radius: 8px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.product-page .variant-button:hover {
  background-color: #fe0075;
  color: #fff;
}

.product-page .quantity-selector {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-page .quantity-selector input {
  width: 70px;
  text-align: center;
  border-radius: 8px;
}

.product-page .quantity-selector button {
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #fe0075;
  color: #fe0075;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.product-page .quantity-selector button:hover {
  background-color: #fe0075;
  color: #fff;
}

.product-page .product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fe0075;
}

.product-page .in-stock {
  color: #28a745;
  font-weight: 500;
  font-size: 0.9rem;
}

.product-page .product-title {
  font-weight: 700;
  color: #1a1a1a;
}

.product-page .btn-add-to-cart {
  background-color: #fe0075;
  border-color: #fe0075;
  border-radius: 8px;
  padding: 12px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
  color: #fff;
}

.product-page .btn-add-to-cart:hover {
  background-color: #e60067;
  transform: translateY(-2px);
}

.product-page .accordion-button {
  font-weight: 500;
  color: #1a1a1a;
}

.product-page .accordion-button:not(.collapsed) {
  background-color: #fe0075;
  color: #fff;
}

.product-page .accordion-button:focus {
  box-shadow: none;
  border-color: #fe0075;
}

.product-page .modal-content {
  border: none;
  border-radius: 12px;
  overflow: hidden;
}

.product-page .modal-img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

@media (max-width: 768px) {
  .product-page .product-img {
    max-height: 400px;
  }

  .product-page .variant-button {
    min-width: 50px;
  }

  .product-page .quantity-selector input {
    width: 60px;
  }
}

#product-details {
  position: sticky;
  top: 0;
}


:root {
  --brand-primary: #fe0075;
  --brand-primary-dark: #d10061;
  --brand-neutral-900: #1a1a1a;
  --brand-neutral-800: #333333;
  --brand-neutral-500: #808080;
  --brand-neutral-200: #cccccc;
  --brand-neutral-50: #f8f9fa;
}

.product-grid {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Header Toolbar Styling */
.pg-toolbar {
  color: var(--brand-neutral-800);
  padding: 1rem 0;
  z-index: 1000;
}

.pg-toolbar .btn-link {
  color: var(--brand-neutral-800) !important;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
  /* Reduced from 0.85rem */
  transition: color 0.2s ease;
  padding: 0.25rem 0.5rem;
}

.pg-toolbar .btn-link:hover {
  color: var(--brand-primary) !important;
}

.pg-toolbar .dropdown-menu {
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  font-size: 0.75rem;
  /* Reduced from 0.85rem */
  min-width: 10rem;
}

.pg-toolbar .dropdown-item {
  font-size: 0.75rem;
  /* Reduced from 0.85rem */
  padding: 0.5rem 1rem;
  color: var(--brand-neutral-800);
  transition: background-color 0.2s ease;
}

.pg-toolbar .dropdown-item:hover {
  background-color: var(--brand-neutral-50);
  color: var(--brand-primary);
}

.pg-toolbar .dropdown-item.active {
  background-color: var(--brand-primary);
  color: white;
}

.pg-toolbar .btn-group .btn {
  border-color: var(--brand-neutral-200);
  color: var(--brand-neutral-800);
  background-color: white;
  font-size: 0.75rem;
  /* Reduced from 0.85rem */
}

.pg-toolbar .btn-group .btn:hover,
.pg-toolbar .btn-group .btn.active {
  background-color: var(--brand-neutral-50);
  border-color: var(--brand-neutral-200);
}

.pg-toolbar .dropdown-toggle::after {
  content: none;
}

.pg-toolbar .btn-link .bi {
  font-size: 0.65rem;
  /* Reduced from 0.75rem */
  margin-left: 0.25rem;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.pg-toolbar .btn-link:hover .bi {
  transform: rotate(180deg);
}

/* CSS Grid for Product Cards */
.product-grid-container {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  /* 8 columns for large screens */
  gap: 1rem;
}

/* Responsive breakpoints */
@media (max-width: 991.98px) {
  .product-grid-container {
    grid-template-columns: repeat(3, 1fr);
    /* 3 columns for small screens */
    gap: 1rem;
  }
}

@media (max-width: 575.98px) {
  .product-grid-container {
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns for extra-small */
    gap: 0.75rem;
  }
}

/* Fixed Aspect Ratio for Images */
.product-grid .pg-media-container {
  position: relative;
  width: 100%;
  padding-top: 125%;
  background: white;
  overflow: hidden;
  border-radius: 6px;
  /* Slightly smaller for smaller cards */
}

.product-grid .pg-media-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-grid .pg-card:hover .pg-media-container img {
  transform: scale(1.05);
}

/* Carousel Controls */
.product-grid .pg-control {
  width: auto;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 5;
}

.product-grid .pg-card:hover .pg-control {
  opacity: 1;
}

.product-grid .pg-control .pg-control-icon {
  display: inline-flex;
  width: 30px;
  /* Reduced from 36px */
  height: 30px;
  /* Reduced from 36px */
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s ease;
}

.product-grid .pg-control:hover .pg-control-icon {
  background: rgba(0, 0, 0, 0.9);
}

.product-grid .carousel-control-prev,
.product-grid .carousel-control-next {
  width: 18%;
}

.product-grid .carousel-control-prev-icon,
.product-grid .carousel-control-next-icon {
  display: none;
}

/* Card Styling */
.product-grid .pg-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 6px;
  /* Slightly smaller */
  overflow: hidden;
  background: white;
}

.product-grid .pg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  /* Slightly smaller shadow */
}

.product-grid .pg-badge {
  position: absolute;
  top: 8px;
  /* Adjusted for smaller cards */
  right: 8px;
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  background-color: var(--brand-primary);
  color: white;
  border-radius: 4px;
  font-size: 0.65rem;
  /* Reduced from 0.75rem */
  z-index: 10;
}

.product-grid .pg-cart {
  position: absolute;
  left: 8px;
  bottom: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-radius: 9999px;
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  /* Reduced from 0.875rem */
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(254, 0, 117, 0.3);
  z-index: 10;
}

.product-grid .pg-cart:hover {
  background-color: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  transform: scale(1.05);
}

.product-grid .pg-card:hover .pg-cart {
  opacity: 1;
  transform: translateY(0);
}

.product-grid .pg-price-now {
  font-weight: 700;
  font-size: 0.75rem;
  /* Reduced to 12px (0.75rem) */
  color: var(--brand-primary);
}

.product-grid .pg-price-old {
  color: var(--brand-neutral-500);
  text-decoration: line-through;
  font-size: 0.65rem;
  /* Reduced from 0.85rem */
}

.product-grid .card-title {
  font-size: 0.75rem;
  /* Reduced to 12px */
  margin-bottom: 0.25rem;
}

.product-grid .small.text-muted {
  font-size: 0.65rem;
  /* Reduced for product codes */
}

.pg-toolbar .btn-group {
  margin-top: 0.5rem;
}