:root {
  /* Typography */
  --font-size-base: 1rem;
  --font-size-sm: 0.875rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-h3: 1.5rem;
  --font-size-h2: 2rem;
  --font-size-h1: 2.5rem;
  --font-size-display: 3rem;
  --font-weight-normal: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-base: 1.5;
  --line-height-heading: 1.2;
  /* Component Backgrounds */
  --bg-color-light: #f8f9fa; /* For components like breadcrumbs, feature highlights */
  --subtle-bg-color: var(--bg-color-light);
  /* A more modern and vibrant blue theme */
  --primary-color: #007bff; /* A brighter, more modern blue */
  --success-color: #198754; /* Green for success, price drops */
  --danger-color: #dc3545; /* Red for danger, price increases */
  --bs-green: var(--success-color);
  --bs-red: var(--danger-color);
  --primary-hover-color: #0069d9;
  --primary-active-color: #0062cc;
  --accent-color: var(--primary-color);
  --primary-color-contrast: #ffffff;
  --accent-hover-color: var(--primary-hover-color);
  --hero-gradient-start: #e7f1ff;
  --hero-background-color: var(--primary-color);
  --hero-gradient-color-1: rgba(0, 123, 255, 0.4);
  --hero-gradient-color-2: rgba(0, 86, 179, 0.4);
  --hero-background-image: none;
  --background-color: #ffffff; /* Pure white for a crisp, clean feel */
  --card-background-color: #ffffff;
  --card-bg-color: var(--card-background-color);
  --mega-menu-background-color: #f4f7f9;
  --header-background-gradient-end: #f4f7f9; /* Subtle gradient end for the header */
  --header-background-color: #f8f9fa; /* A very light, clean gray for the header */
  --text-color: #343a40; /* Dark gray for better readability */
  --text-heading-color: #212529; /* Even darker for headings */
  --text-muted-color: #6c757d; /* Standard muted gray */
  --link-color: var(--primary-color);
  --link-hover-color: var(--primary-hover-color);
  --border-color: #e9ecef; /* Slightly lighter border for a softer look */
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15); /* More pronounced 3D shadow */
  --box-shadow-hover: 0 8px 20px rgba(0, 123, 255, 0.2);
  /* Product Detail variables now inherit from the base theme for consistency */
  --product-detail-card-background: var(--card-background-color);
  --product-detail-border-color: var(--border-color);
  --product-detail-text-color: var(--text-color);
  --product-detail-muted-text-color: var(--text-muted-color);
  --product-detail-accent-color: var(--accent-color);
  --product-detail-primary-color: var(--primary-color);
  --product-detail-primary-bg-text-color: #ffffff;
  --product-detail-link-color: var(--primary-hover-color); /* Use a darker, more accessible blue */
  --product-detail-border-radius: var(--border-radius);
  --product-detail-box-shadow: var(--box-shadow);
  --product-detail-spacing-unit: 1rem;
  /* Price discount block colors */
  --price-discount-positive-bg: var(--success-color); /* Price increase (e.g., red) */
  --price-discount-negative-bg: var(--success-color); /* Price decrease (e.g., green) */
  /* Discount Tag Colors */
  --color-discount-tag-bg: var(--danger-color);
  --color-discount-tag-text: #ffffff;
  --contrast-color: #d9248f; /* Vibrant magenta to contrast blue */
  --contrast-hover-color: #b81e79; /* Darker magenta on hover */
  /* Page/Section specific colors */
  --color-discounts: var(--danger-color); /* A strong, vibrant red */
  --color-trending: #fd7e14; /* A vibrant orange */
  --color-coupons: var(--success-color); /* A classic, vibrant green */
  --color-datasources: #0dcaf0; /* A reliable, bright cyan */
  --color-articles: #1a5183; /* A reliable dark navy blue */
  --color-user-action: var(--primary-color); /* A theme-based color for user-specific actions */
  --color-watched: var(--color-user-action);
  --color-comparison: var(--color-user-action);
  --color-cart: var(--color-user-action);
  --color-product-cta-bg: var(--primary-color);
  --color-product-cta-text: var(--primary-color-contrast);
  /* Market-specific accent color for components like category lists */
  --market-accent-color: var(--accent-color);
}

/* Nunito Variable Font - Normal Style */
@font-face {
  font-display: swap;
  font-family: "Nunito";
  font-style: normal;
  /* Defines the range of weights this font file supports */
  font-weight: 200 1000;
  src: url("/fonts/Nunito-VariableFont_wght.ttf") format("truetype");
}
/* Nunito Variable Font - Italic Style */
@font-face {
  font-display: swap;
  font-family: "Nunito";
  font-style: italic;
  font-weight: 200 1000;
  src: url("/fonts/Nunito-Italic-VariableFont_wght.ttf") format("truetype");
}
body {
  font-family: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-normal);
  color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-heading);
  color: var(--text-heading-color, var(--text-color));
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-base);
}

/* Base styles for content-section */
.content-section {
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin: 0px auto;
  max-width: 1200px; /* Constrain width for non-wide pages */
  width: 100%;
  box-sizing: border-box;
}

/* Wide layout for homepage */
.content-section--wide {
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* Heading styles */
.content-section h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1e1e2f;
}

/* Paragraph styles for text-heavy pages */
.content-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
  margin-bottom: 1rem;
}

/* Form styles for form-heavy pages */
.content-section .js-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Ensure table fits within content-section */
.content-section .custom-table {
  width: 100%;
  max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .content-section {
    padding: 1rem;
    margin: 1rem auto;
  }
  .content-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .content-section p {
    font-size: 0.9375rem;
  }
}
@media (max-width: 480px) {
  .content-section h2 {
    font-size: 1.25rem;
  }
  .content-section p {
    font-size: 0.875rem;
  }
}
.site-footer {
  background-color: var(--text-heading-color, #1a252f);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 0;
  margin-top: 4rem;
  font-size: var(--font-size-sm);
}
.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.site-footer__main {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  padding: 0 2rem 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1320px;
  margin: 0 auto;
}
.site-footer__about .logo {
  display: inline-block;
  margin-bottom: 1rem;
}
.site-footer__about .logo img {
  height: 40px;
}
.site-footer__about .tagline {
  line-height: 1.6;
  max-width: 300px;
}
.site-footer__links .site-footer__links-title {
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
}
.site-footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer__links ul li {
  margin-bottom: 0.75rem;
}
.site-footer__bottom {
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 1320px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .site-footer__main {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}
@media (max-width: 768px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .site-footer__about .logo img {
    margin: 0 auto;
  }
}
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--card-background-color, #fff);
  color: var(--text-color, #333);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1050;
  gap: 1rem;
  flex-wrap: wrap;
}
#cookie-banner button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: var(--border-radius, 4px);
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
}
#cookie-banner button:hover {
  background-color: var(--primary-hover-color);
}

.filter-bar {
  background-color: var(--card-background-color);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.filter-bar input[type=search],
.filter-bar select {
  padding: 10px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  flex-grow: 1;
}

.filter-bar input[type=search] {
  min-width: 250px;
}

.filter-bar button {
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.filter-bar button:hover {
  background-color: var(--primary-hover-color);
}

.filter-bar__browse-all-btn {
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.filter-bar__browse-all-btn:hover {
  background-color: #218838;
}

/* Site Header Styles */
.site-header {
  background-color: transparent;
  border-bottom: 1px solid var(--primary-color);
}
@media (min-width: 769px) {
  .site-header {
    top: 0;
    z-index: 990;
    background-color: var(--header-background-color, white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  }
}

.site-header__container {
  display: grid; /* Default to grid for desktop */
  grid-template-columns: auto 1fr auto auto; /* Branding | Search | Nav | Actions */
  grid-template-areas: "branding search nav user-actions";
  align-items: center;
  width: 95%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5rem 0;
  gap: 0 1.5rem; /* No row-gap, 1.5rem column-gap */
}

.site-header__left {
  /* This class is no longer used for layout but kept for responsive `display: contents` */
  /* The children are now direct grid items of .site-header__container */
  display: contents; /* Make children direct grid items */
}

.site-header__branding-link {
  text-decoration: none;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 1rem;
}

.site-header__text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-header__logo-img {
  height: 40px;
  width: auto;
}

.site-header__logo-text {
  line-height: 1;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.site-header__logo-text span {
  font-weight: 400;
  color: var(--text-color);
}
.site-header__logo-text {
  /* Style for the second part of the logo text (the first span, e.g., "sk") */
}
.site-header__logo-text span:nth-of-type(1) {
  /* Example: Make it a different color. You can change this variable or use a hex code. */
  color: var(--primary-active-color, #9b59b6);
  text-decoration: underline double;
}
.site-header__logo-text {
  /* Style for the third part of the logo text (the second span, e.g., "op") */
}
.site-header__logo-text span:nth-of-type(2) {
  color: var(--text-color); /* Keeps it the same as the default text color */
}

.site-header__tagline {
  font-size: 0.85rem;
  color: var(--text-muted-color);
  margin-top: 0.25rem;
  margin-bottom: 0;
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE 10+ and Edge */
  user-select: none; /* Standard syntax */
}

.site-header__nav {
  display: flex;
  gap: 1.5rem;
  grid-area: nav;
  align-items: center;
}

.site-header__nav a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
}
.site-header__nav a:hover, .site-header__nav a.active {
  color: var(--primary-color);
}

.site-header__search {
  /* This will be part of the search-actions area */
  grid-area: search;
  min-width: 0; /* Prevent flexbox/grid overflow */
  display: flex;
  align-items: center;
}

/* New wrapper for search and action bar to group them in the grid */
.site-header__search-actions-wrapper {
  /* This wrapper's children are now direct grid items on desktop */
  display: contents;
  min-width: 0; /* Prevents overflow */
}

.site-header__search-form {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 600px;
}
.site-header__search-form input[type=search] {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
  flex-grow: 1;
  min-width: 200px; /* Minimum width for the search input */
}
.site-header__search-form input[type=search]:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px var(--primary-color-translucent, rgba(45, 156, 219, 0.3));
}
.site-header__search-form button {
  padding: 0.5rem 1.25rem;
  background-color: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
  border-left: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}
.site-header__search-form button:hover {
  background-color: var(--primary-hover-color);
}

.site-header__actions {
  grid-area: user-actions;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-header__actions .btn {
  padding: 0.5rem 1.125rem; /* Was 8px 18px */
  text-decoration: none;
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  /* Add flex properties to align icon and text */
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  /* Secondary / Outline Button Style */
}
.site-header__actions .btn.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
.site-header__actions .btn.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}
.site-header__actions .btn {
  /* Primary / Solid Button Style */
}
.site-header__actions .btn.btn-primary, .site-header__actions .btn.btn-account {
  background-color: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
}
.site-header__actions .btn.btn-primary:hover, .site-header__actions .btn.btn-account:hover {
  background-color: var(--primary-hover-color);
  border-color: var(--primary-hover-color);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

/* Responsive adjustments for header */
/* Use a wider breakpoint to prevent crowding on tablets */
@media (max-width: 768px) {
  .site-header__container {
    display: grid; /* Use grid for mobile as well for consistency */
    grid-template-columns: 1fr auto; /* Two columns: Branding | Actions */
    grid-template-areas: "branding user-actions" "nav nav" "search search"; /* Three rows for mobile */
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    row-gap: 1rem;
  }
  .site-header__branding {
    grid-area: branding;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.5rem;
  }
  .site-header__logo-img {
    height: 45px; /* Make logo smaller on mobile for a compact look */
  }
  .site-header__text-wrapper {
    display: flex;
    flex-direction: column;
  }
  .site-header__logo-text {
    font-size: 1.5rem; /* Smaller title on mobile */
  }
  .site-header__tagline {
    display: none; /* Hide tagline on mobile to save space */
  }
  .site-header__search-actions-wrapper {
    grid-area: unset; /* Unset grid area on mobile, as nav and search are separate */
    display: contents; /* Make children direct grid items */
  }
  .site-header__nav {
    grid-area: nav;
    justify-content: center; /* Center nav links on mobile */
  }
  .site-header__search {
    grid-area: search;
    width: 100%;
  }
  .site-header__actions {
    grid-area: user-actions;
    padding-left: 0;
  }
  .site-header__actions .btn span {
    display: none;
  }
  .site-header__actions .btn {
    padding: 0.6rem;
  }
  .mobile-nav-toggle-text {
    display: none;
  }
}
.category-search-section {
  margin-bottom: 1.5rem;
}

.search-input-group {
  display: flex;
  width: 100%;
}

.search-input-group .form-control {
  flex-grow: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  height: 44px; /* Match button height */
  padding-left: 10px;
}

.search-input-group .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.landing-page-promo-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin: 2rem 0;
}

.landing-page-promo {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--border-radius-large, 12px);
  background: linear-gradient(135deg, var(--market-accent-color-subtle), var(--card-background-color));
  border: 1px solid var(--market-accent-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.landing-page-promo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.landing-page-promo__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--market-accent-color);
  color: #fff;
  border-radius: 50%;
}

.landing-page-promo__icon svg {
  width: 24px;
  height: 24px;
}

.landing-page-promo__text {
  flex-grow: 1;
}

.landing-page-promo__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 0.25rem 0;
}

.landing-page-promo__subtitle {
  font-size: 0.9rem;
  color: var(--text-muted-color);
  margin: 0;
}

.landing-page-promo__cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--market-accent-color);
  flex-shrink: 0;
}

.landing-page-promo__cta svg {
  width: 1em;
  height: 1em;
  transition: transform 0.2s ease;
}

.category-header {
  margin-bottom: 1.25rem;
}
.category-header__title {
  font-size: var(--font-size-h3);
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}
.category-header__description {
  font-size: var(--font-size-base);
  color: var(--text-muted-color);
}

.active-filters-display {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background-color: var(--accent-background-color);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.active-filters-display__label {
  margin-right: 10px;
  color: var(--text-color);
  font-weight: bold;
}
.active-filters-display__pill {
  background-color: var(--primary-color);
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  font-size: var(--font-size-sm);
}
.active-filters-display__pill-remove {
  margin-left: 8px;
  color: white !important;
  text-decoration: none;
  font-weight: bold;
  line-height: 1;
  opacity: 0.7;
}
.active-filters-display__pill-remove:hover {
  opacity: 1;
}
.active-filters-display__clear-all {
  margin-left: auto;
  color: var(--text-muted-color);
  text-decoration: none;
  font-size: var(--font-size-sm);
}
.active-filters-display__clear-all:hover {
  text-decoration: underline;
}

.category-content-wrapper {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.25rem;
}
@media (max-width: 991.98px) {
  .category-content-wrapper {
    flex-direction: column;
    gap: 1.25rem;
  }
}

.filters-column {
  flex: 0 0 280px;
}
@media (max-width: 991.98px) {
  .filters-column {
    flex-basis: auto;
    width: 100%;
  }
}

.filters-section {
  padding: 1.25rem;
  background-color: var(--card-background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}
.filters-section__title {
  font-size: var(--font-size-h3);
  margin-top: 0;
  margin-bottom: 1.25rem;
  color: var(--text-color);
}

.filter-group {
  border-bottom: 1px solid var(--border-color-subtle);
  margin-bottom: 1.25rem;
}
.filter-group__title {
  font-size: var(--font-size-lg);
  margin-bottom: 10px;
  color: var(--text-color);
}
.filter-group__title-button {
  /* Reset button styles */
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
  /* Layout */
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  /* Appearance */
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.75rem;
}
.filter-group__toggle-icon {
  width: 1em;
  height: 1em;
  transition: transform 0.2s ease-in-out;
  flex-shrink: 0;
  margin-left: 0.5rem;
}
.filter-group__content {
  max-height: 500px; /* A large enough value for the expanded state */
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}
.filter-group.is-collapsible:not(.is-expanded) .filter-group__content {
  max-height: 0;
}
.filter-group.is-collapsible:not(.is-expanded) .filter-group__toggle-icon {
  transform: rotate(-90deg);
}
.filter-group__options-scrollable {
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  padding: 10px;
  border-radius: var(--border-radius);
}
.filter-group__option-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  margin: 0.1rem -0.5rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.filter-group__option-label:hover {
  background-color: var(--background-color-light);
}
.filter-group__option-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.filter-group__option-item {
  margin-bottom: 5px;
}
.filter-group__option-link {
  color: var(--primary-color);
  text-decoration: none;
}
.filter-group__option-link:hover, .filter-group__option-link--active {
  text-decoration: underline;
}
.filter-group__option-link--active {
  font-weight: bold;
}

.filters-actions {
  margin-top: 1.25rem;
}
.filters-actions__clear-link {
  color: var(--text-muted-color);
  text-decoration: none;
  font-size: var(--font-size-sm);
}
.filters-actions__clear-link:hover {
  text-decoration: underline;
}

.products-column {
  flex: 1;
  min-width: 0;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.products-header__title {
  font-size: var(--font-size-h2);
  margin: 0;
  color: var(--text-color);
}
.products-header__count {
  color: var(--text-muted-color);
  font-size: var(--font-size-sm);
}

.sort-options-wrapper {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sort-options-wrapper label {
  margin-right: 8px;
  font-size: var(--font-size-sm);
  color: var(--text-muted-color);
}
.sort-options-wrapper select {
  padding: 8px 10px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  background-color: var(--card-background-color);
  color: var(--text-color);
  font-size: var(--font-size-sm);
}

.category-message {
  text-align: center;
  color: var(--text-muted-color);
  padding: 30px 0;
  background-color: var(--card-background-color);
  border-radius: var(--border-radius);
  margin-top: 20px;
}
.category-message--prominent {
  font-size: var(--font-size-lg);
  padding: 40px 0;
}
.category-message--subtle {
  font-size: var(--font-size-base);
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: var(--box-shadow);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  list-style: none;
  display: none;
  position: absolute;
  padding-left: 0;
  background-color: var(--card-background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  min-width: 12rem;
  z-index: 1001;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu-end {
  right: 0;
  left: auto;
}

.dropdown-item {
  display: block;
  padding: 0.5rem 1.25rem;
  clear: both;
  font-weight: 400;
  color: var(--text-color);
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.dropdown-item:hover, .dropdown-item:focus {
  color: var(--primary-color);
  background-color: var(--background-color);
  text-decoration: none;
}
.dropdown-item.disabled, .dropdown-item:disabled {
  color: var(--text-muted-color);
  pointer-events: none;
  background-color: transparent;
}

.dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .dropdown {
    position: static;
  }
  .dropdown-menu {
    top: 60px;
    left: 0;
    width: 100vw;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
}
/*
 * Alerts
 *
 * A unified, accessible component for site-wide notifications.
 * Replaces flash_message.scss, error_messages.scss, and components/alert.scss.
 *
 * Usage:
 * <div class="alert alert--success" role="alert">
 *   <span>Your profile was updated successfully!</span>
 *   <button class="alert__close" aria-label="Dismiss message">&times;</button>
 * </div>
 */
.alert {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: var(--border-radius, 8px);
  font-size: 1rem;
  font-weight: 500;
}
.alert--success {
  background-color: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}
.alert--error {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}
.alert--warning {
  background-color: #fff3cd;
  color: #856404;
  border-color: #ffeeba;
}
.alert--info {
  background-color: #d1ecf1;
  color: #0c5460;
  border-color: #bee5eb;
}

.alert-heading {
  color: inherit;
  font-size: 1.25rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.alert:has(.alert-heading) {
  display: block;
}

.alert p {
  margin-bottom: 1rem;
  line-height: 1.5;
}
.alert p:last-child {
  margin-bottom: 0;
}

.alert hr {
  border-top: 1px solid; /* Let the color be inherited */
  opacity: 0.25;
  margin: 1rem 0;
}

.alert__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  padding: 0 0 0 1.5rem;
}
.alert__close:hover {
  opacity: 1;
}

/* Shared button styles */
.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

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

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

.btn-secondary {
  background: var(--text-muted-color);
  color: white;
}

.btn-secondary:hover {
  background: var(--text-color);
}

#homepageSearchForm {
  position: relative;
  z-index: 975;
}

#autocompleteSuggestions {
  display: none;
  position: absolute;
  z-index: 999;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background-color: var(--card-background-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow-y: auto;
  max-height: 500px;
  padding: 0.5rem;
}

#autocompleteSuggestions.is-visible {
  display: block;
}

#autocomplete-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 100;
  display: none;
}

#autocomplete-overlay.is-visible {
  display: block;
}

body.autocomplete-is-open {
  overflow: hidden;
}

.autocomplete-header {
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted-color);
  background-color: var(--background-color);
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.autocomplete-suggestion {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out;
}
.autocomplete-suggestion.highlighted, .autocomplete-suggestion:hover {
  background-color: var(--accent-color-subtle, #f0f2f5);
  color: var(--accent-color-dark, var(--text-color));
}
.autocomplete-suggestion img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 12px;
  flex-shrink: 0;
  border-radius: 4px;
}
.autocomplete-suggestion .title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 12px;
}
.autocomplete-suggestion .price {
  font-weight: 600;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: auto;
}
.autocomplete-suggestion .price .price-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
}
.autocomplete-suggestion .price .price-line {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.autocomplete-suggestion .price .historical-price-line {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-muted-color);
}
.autocomplete-suggestion .price .thirty-days-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: bold;
  color: var(--text-muted-color);
  border: 1px solid var(--text-muted-color);
  border-radius: 3px;
  width: 14px;
  height: 14px;
  line-height: 1;
  flex-shrink: 0;
}
.autocomplete-suggestion .price .price-historical {
  font-size: 0.8em;
  color: var(--text-muted-color);
  font-weight: normal;
}
.autocomplete-suggestion .price .price-current--sale {
  font-weight: 700;
  color: var(--danger-color, #e53e3e);
}
.autocomplete-suggestion .price .price-current {
  font-weight: 600;
  color: var(--text-color);
}
.autocomplete-suggestion .price .discount-badge {
  background-color: var(--danger-color, #e53e3e);
  color: #fff;
  padding: 2px 5px;
  border-radius: var(--border-radius-sm, 3px);
  font-size: 0.7em;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1;
}

.autocomplete-section-separator {
  border-top: 1px solid var(--border-color);
  margin: 0.75rem 0;
}

.autocomplete-static-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.static-suggestion-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-radius: var(--border-radius);
  background-color: var(--card-background-color);
  border: 1px solid var(--border-color);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.static-suggestion-card:hover, .static-suggestion-card.highlighted {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow);
  background-color: var(--card-background-color);
}
.static-suggestion-card .icon-wrapper {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.static-suggestion-card .text-wrapper .title {
  font-weight: var(--font-weight-semibold);
  font-size: 0.95rem;
  margin: 0 0 0.1rem 0;
  color: var(--text-heading-color);
}
.static-suggestion-card .text-wrapper .subtitle {
  font-size: 0.8rem;
  color: var(--text-muted-color);
  margin: 0;
  line-height: 1.3;
}
.static-suggestion-card--fire .icon-wrapper {
  background-color: hsla(from var(--color-discounts) h s l/0.15);
  color: var(--color-discounts);
}
.static-suggestion-card--star .icon-wrapper {
  background-color: hsla(from var(--color-trending) h s l/0.15);
  color: var(--color-trending);
}
.static-suggestion-card--tag .icon-wrapper {
  background-color: hsla(from var(--color-coupons) h s l/0.15);
  color: var(--color-coupons);
}
.static-suggestion-card--articles .icon-wrapper {
  background-color: hsla(from var(--color-articles) h s l/0.15);
  color: var(--color-articles);
}

.autocomplete-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.autocomplete-icon--fire {
  -webkit-mask-image: url("/image/icon/fire.svg");
  mask-image: url("/image/icon/fire.svg");
}

.autocomplete-icon--star {
  -webkit-mask-image: url("/image/icon/star.svg");
  mask-image: url("/image/icon/star.svg");
}

.autocomplete-icon--tag {
  -webkit-mask-image: url("/image/icon/tag.svg");
  mask-image: url("/image/icon/tag.svg");
}

.autocomplete-icon--folder {
  -webkit-mask-image: url("/image/icon/folder.svg");
  mask-image: url("/image/icon/folder.svg");
}

.autocomplete-icon--articles {
  -webkit-mask-image: url("/image/icon/articles.svg");
  mask-image: url("/image/icon/articles.svg");
}

.trending-suggestion .bi-arrow-up-right {
  margin-right: 10px;
  color: #6c757d;
  flex-shrink: 0;
}

.article-suggestion,
.category-suggestion {
  text-decoration: none;
  color: var(--text-color);
}
.article-suggestion .autocomplete-icon,
.category-suggestion .autocomplete-icon {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
  background-color: var(--text-muted-color);
}
.article-suggestion .autocomplete-icon--category,
.category-suggestion .autocomplete-icon--category {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Styles for the search input clear button in the site header */
.site-header__input-wrapper {
  position: relative;
  display: flex;
  flex-grow: 1;
}

.search-input-with-clear {
  padding-right: 2.5rem;
}
.search-input-with-clear::-webkit-search-cancel-button, .search-input-with-clear::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-clear-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-muted-color);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 0.75rem;
  height: 100%;
  display: none;
}
.search-clear-btn:hover {
  color: var(--text-color);
}
.search-clear-btn {
  right: 0;
}

.flash-messages-container {
  z-index: 1050; /* High z-index to appear above other content */
}

.flash-message {
  position: relative;
  padding: 1rem 2.5rem 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: var(--border-radius, 8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: black;
  font-weight: 500;
  animation: fadeInRight 0.4s ease-out;
}

.flash-close-btn {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  padding: 0;
  font-weight: bold;
}

.flash-close-btn:hover {
  opacity: 1;
}

.flash-success {
  background-color: #28a745;
  border-color: #23923d;
}

.flash-error {
  background-color: #dc3545;
  border-color: #c82333;
}

.flash-info {
  background-color: #17a2b8;
  border-color: #1591a5;
}

.flash-warning {
  background-color: #ffc107;
  border-color: #e0a800;
  color: #212529;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* Suggested path: assets/_scss/components/_horizontal-scroller.scss */
.horizontal-scroll-container {
  position: relative;
  /* By default, the wrapper has overflow. But we make an exception for the mega menu on desktop. */
}
.horizontal-scroll-container .horizontal-scroll-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  /* For smooth momentum-based scrolling on touch devices */
  -webkit-overflow-scrolling: touch;
  /* Add padding so content doesn't sit under the arrows */
  /* Hide the native scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}
.horizontal-scroll-container .horizontal-scroll-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Opera */
}
.horizontal-scroll-container .horizontal-scroll-item {
  /* Prevents items from shrinking */
  flex: 0 0 auto;
  /* This is the key to equal heights:
     Make the item a flex container so its child (the card) can stretch to 100% height. */
  display: flex;
  align-items: stretch; /* Explicitly set, though it's the default */
}
.horizontal-scroll-container .scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  /* 1. Arrows are completely hidden by default. */
  opacity: 0;
  visibility: hidden;
}
.horizontal-scroll-container .scroll-arrow:hover {
  background-color: white;
  transform: translateY(-50%) scale(1.1);
}
.horizontal-scroll-container .scroll-arrow {
  /* 2. Position arrows INSIDE the container to prevent clipping. */
}
.horizontal-scroll-container .scroll-arrow.prev-arrow {
  left: 0.5rem;
}
.horizontal-scroll-container .scroll-arrow.next-arrow {
  right: 0.5rem;
}
.horizontal-scroll-container {
  /* 3. Visibility Logic:
     - Show arrows permanently if the scroller is scrollable (has .is-visible class from JS).
  */
}
.horizontal-scroll-container .scroll-arrow.is-visible {
  opacity: 1;
  visibility: visible;
}

.homepage-tabs {
  margin: 3rem 0;
}
.homepage-tabs__nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}
.homepage-tabs__tab-btn {
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-muted-color);
  transition: all 0.2s ease-in-out;
  transform: translateY(1px);
}
.homepage-tabs__tab-btn:hover {
  color: var(--text-color);
}
.homepage-tabs__tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}
.homepage-tabs__content .tab-pane {
  display: none;
  position: relative;
  min-height: 200px;
  animation: fadeIn 0.4s ease;
}
.homepage-tabs__content .tab-pane.active {
  display: block;
}
.homepage-tabs .tab-pane-message {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted-color);
  font-size: 1.1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .homepage-tabs__nav {
    gap: 0;
    justify-content: space-around;
  }
  .homepage-tabs__tab-btn {
    padding: 0.75rem 0.5rem;
    font-size: 1rem;
    flex-grow: 1;
  }
}
.featured-category-section {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}
.featured-category-section:last-child {
  border-bottom: none;
}
.featured-category-section__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
}
.featured-category-section__title {
  font-size: var(--font-size-h2);
  color: var(--text-heading-color);
  margin: 0;
}
.featured-category-section__view-all {
  font-weight: 600;
  color: var(--primary-color);
  text-decoration: none;
}
.featured-category-section__view-all:hover {
  text-decoration: underline;
}
.featured-category-section__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 992px) {
  .featured-category-section__content {
    grid-template-columns: 3fr 1fr;
  }
}
.featured-category-section__articles .article-teaser-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
body { /* Fallback background color in case the image doesn't load */
  background-color: var(--background-color);
  background-image: radial-gradient(ellipse 120% 600px at 50% -495px, var(--header-background-color, white) 600px, transparent 600.5px);
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1320px;
  margin: 1rem auto;
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 1200px) {
  .container {
    padding: 0 1rem;
  }
}
@media (max-width: 768px) {
  .container {
    margin: 0.625rem auto; /* 10px, reduced vertical margin for mobile */
    padding: 0 0.75rem; /* Reduced horizontal padding for mobile */
  }
}
/* Refactored styles for category sections */
.category-section {
  margin-bottom: 2.5rem;
}

.category-section__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-section__title {
  font-size: var(--font-size-h2);
  color: var(--text-heading-color);
  margin: 0;
  padding: 0;
  border-bottom: none;
}

/* "View all in category" button */
.category-section__view-all-btn {
  display: inline-block;
  padding: 0.625rem 1.25rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  transition: background-color 0.3s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.category-section__view-all-btn:hover {
  background-color: var(--primary-hover-color);
  transform: translateY(-2px);
}

/* Modernized Styles for Root Categories Section */
.root-categories-section {
  background-color: var(--card-background-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 3rem;
}

.root-categories-section__title {
  font-size: var(--font-size-h3);
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: var(--text-heading-color);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
}

.root-categories-section__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.root-categories-section__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--background-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  transition: all 0.2s ease-in-out;
}

.root-categories-section__item a:hover {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center; /* Center pagination block */
  padding-left: 0;
  list-style: none;
  border-radius: var(--border-radius);
  margin-top: 2rem; /* Space above pagination (was 30px) */
  margin-bottom: 1.5rem; /* Space below pagination (was 20px) */
}

.page-item {
  margin: 0 3px; /* Spacing between page items */
}

.page-item .page-link {
  position: relative;
  display: block;
  padding: 0.65rem 0.95rem; /* Slightly adjusted padding */
  line-height: 1.25;
  color: var(--primary-color);
  background-color: var(--card-background-color);
  border: 1px solid var(--border-color);
  text-decoration: none;
  border-radius: var(--border-radius); /* Apply border-radius to links */
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.page-item .page-link:hover {
  z-index: 2;
  color: var(--primary-hover-color);
  background-color: #e9ecef; /* Light hover background */
  border-color: #dee2e6;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 500;
}

.page-item.disabled .page-link {
  color: var(--text-muted-color);
  pointer-events: none;
  cursor: auto;
  background-color: var(--card-background-color);
  border-color: var(--border-color);
}

.page-link .sr-only {
  /* Screen reader only text */
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none;
}

.d-none {
  display: none !important;
}

.breadcrumb {
  margin-bottom: 1rem;
  padding: 0;
  background-color: transparent;
  border: none;
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  margin: 0 0.75rem;
  color: var(--text-muted-color, #6c757d);
  font-weight: normal;
}
.breadcrumb-item a {
  color: var(--text-muted-color, #6c757d);
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}
.breadcrumb-item a:hover {
  color: var(--text-color, #2c3e50);
  text-decoration: underline;
}
.breadcrumb-item.active {
  color: var(--text-color, #2c3e50);
  font-weight: 500;
  pointer-events: none;
}

@media (max-width: 768px) {
  .breadcrumb {
    padding: 0.6rem 0;
  }
  .breadcrumb-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 0.75rem;
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
  .breadcrumb-list::-webkit-scrollbar {
    display: none;
  }
  .breadcrumb-item {
    white-space: nowrap;
  }
}
/* _mega_menu.scss */
.main-nav-container {
  --menu-height: 3.5rem;
  background-color: var(--background-color);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--box-shadow-sm);
  position: relative;
}

.mega-menu-container {
  margin: 0 auto;
  max-width: var(--container-max-width, 1270px);
}

.mega-menu-container.horizontal-scroll-container {
  position: relative;
}
.mega-menu-container.horizontal-scroll-container .horizontal-scroll-wrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* Hide the native scrollbar */
  scrollbar-width: none; /* Firefox */
}
.mega-menu-container.horizontal-scroll-container .horizontal-scroll-wrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, and Opera */
}

/*
==============================================
  DESKTOP MEGA MENU
==============================================
*/
@media (max-width: 992px) {
  .mega-menu-container {
    display: none;
  }
}
.mega-menu {
  display: flex;
  list-style: none;
  max-width: 1320px;
  min-height: var(--menu-height);
  align-items: stretch;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  background-color: hsla(0, 0%, 100%, 0.95);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--box-shadow-sm);
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
  font-size: 1.5rem;
  color: var(--text-color);
  opacity: 0;
  visibility: hidden;
}
.scroll-arrow:hover {
  transform: translateY(-50%) scale(1.1);
  background-color: white;
}
.scroll-arrow.prev-arrow {
  left: 0.5rem;
}
.scroll-arrow.next-arrow {
  right: 0.5rem;
}

/* Show arrows when hovering over the container */
.horizontal-scroll-container:hover .scroll-arrow.is-visible {
  opacity: 1;
  visibility: visible;
}

.mega-menu-item {
  position: static;
  border-bottom: 2px solid transparent;
  transition: border-bottom-color 0.2s;
}
.mega-menu-item:not(:last-child) {
  border-right: 1px solid var(--border-color);
}
.mega-menu-item .mega-menu-item-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 100%;
  padding: 0rem 0.8rem;
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s, background-color 0.2s;
  white-space: nowrap;
  text-align: center;
}
.mega-menu-item .mega-menu-arrow {
  width: 0.7em;
  height: 0.7em;
  transition: transform 0.2s ease-in-out;
  flex-shrink: 0;
}
.mega-menu-item .mega-menu-icon {
  display: inline-flex;
  align-items: center;
}
.mega-menu-item .mega-menu-icon.icon-mask {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.mega-menu-item .mega-menu-icon img {
  height: 20px;
}
.mega-menu-item:hover {
  border-bottom-color: var(--primary-color);
}
.mega-menu-item:hover > .mega-menu-item-link, .mega-menu-item:focus-within > .mega-menu-item-link {
  color: var(--primary-color);
}
.mega-menu-item:hover > .mega-menu-panel {
  display: block;
}
.mega-menu-item.is-open .mega-menu-arrow {
  transform: rotate(-180deg);
}
.mega-menu-item .mega-menu-item-link .mega-menu-icon {
  background-color: currentColor;
}

.mega-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--card-background-color, #fff);
  border: 1px solid var(--border-color);
  border-top: none;
  box-shadow: var(--box-shadow);
  padding: 1.5rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1001;
}

.mega-menu-panel-wrapper {
  max-width: var(--container-max-width, 1200px);
  margin: 0 auto;
}

.mega-menu-item--all-categories .mega-menu-panel-wrapper {
  max-width: 1400px;
}

.mega-menu-panel-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: flex-start;
}

.mega-menu-column {
  flex: 1 1 200px;
  min-width: 180px;
}

.mega-menu-column-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.mega-menu-column-header .mega-menu-icon {
  width: 1.2em;
  height: 1.2em;
  background-color: var(--text-muted-color);
}
.mega-menu-column-header a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
}
.mega-menu-column-header a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.mega-menu-category-name {
  flex-grow: 1;
}

.mega-menu-category-count {
  font-size: 0.8em;
  color: var(--text-muted-color);
  font-weight: 400;
}

.mega-menu-sub-list {
  list-style: none;
  margin: 0.5rem 0 0 0;
  padding-left: 0;
}

.mega-menu-sub-item a {
  padding: 0.4rem 0.5rem;
  margin: 0 -0.5rem;
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--text-color);
  border-radius: var(--border-radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.mega-menu-sub-item a:hover {
  color: var(--primary-color);
  background-color: var(--background-color-light);
}

.mega-menu-featured-articles {
  border-top: 1px solid var(--border-color);
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.mega-menu-featured-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted-color);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mega-menu-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.mega-menu-article-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  color: var(--text-color);
  border-radius: var(--border-radius-sm);
  transition: background-color 0.2s ease;
}
.mega-menu-article-item:hover {
  background-color: var(--background-color-light);
}
.mega-menu-article-item:hover .mega-menu-article-title {
  color: var(--primary-color);
}

.mega-menu-article-image img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  background-color: var(--background-color);
}

.mega-menu-article-title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.25rem 0;
  transition: color 0.2s ease;
}

.mega-menu-article-date {
  font-size: 0.75rem;
  color: var(--text-muted-color);
}

.desktop-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}
.desktop-menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* _mobile_menu.scss */
/*
==============================================
  MOBILE MENU
==============================================
*/
.mobile-nav {
  display: none;
}

/* --- Media query to switch between desktop and mobile --- */
@media (max-width: 992px) {
  .mobile-nav {
    display: block;
  }
}
.mobile-nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 1rem;
  height: var(--menu-height);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-color);
}

.mobile-nav-toggle-icon,
.mobile-nav-toggle-icon::before,
.mobile-nav-toggle-icon::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-color);
  position: relative;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.mobile-nav-toggle-icon::before {
  transform: translateY(-8px);
}

.mobile-nav-toggle-icon::after {
  transform: translateY(6px);
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 300px;
  max-width: 80%;
  background-color: var(--card-background-color);
  box-shadow: var(--box-shadow);
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1050;
  overflow-y: auto; /* enable scrolling */
  box-sizing: border-box; /* include padding in height */
  padding-top: var(--menu-height);
}

.mobile-nav-header {
  top: 0;
  left: 0;
  height: var(--menu-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  background-color: var(--card-background-color);
  border-bottom: 1px solid var(--border-color);
  z-index: 1051;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.mobile-nav-close {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--text-muted-color);
}
.mobile-nav-close:hover {
  color: var(--text-color);
}

.mobile-nav.is-open .mobile-nav-panel,
.mobile-nav.is-open .mobile-nav-header {
  padding-top: 15px;
  transform: translateX(0);
}

.mobile-nav.is-open .mobile-nav-toggle-icon {
  background-color: transparent;
}
.mobile-nav.is-open .mobile-nav-toggle-icon::before {
  transform: translateY(0) rotate(45deg);
}
.mobile-nav.is-open .mobile-nav-toggle-icon::after {
  transform: translateY(-2px) rotate(-45deg);
}

.mobile-menu, .mobile-submenu, .mobile-submenu-level-2 {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-item, .mobile-submenu-item {
  position: relative;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-item > a {
  display: block;
  padding: 0.8rem 1rem;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600; /* Make parent items bolder */
}

.mobile-submenu-item > a {
  display: block;
  padding: 0.8rem 1rem 0.8rem 1.5rem; /* Indent child items */
  text-decoration: none;
  color: var(--text-muted-color); /* Slightly mute child item color */
  font-weight: 400; /* Normal weight for child items */
}

.mobile-submenu-item-level-2 a {
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  font-size: 0.85rem;
  display: block;
  text-decoration: none;
  color: var(--text-muted-color);
  font-weight: 400;
}

.mobile-submenu, .mobile-submenu-level-2 {
  display: none;
  background-color: var(--background-color);
}

.mobile-menu-item.is-open > .mobile-submenu,
.mobile-submenu-item.is-open > .mobile-submenu-level-2 {
  display: block;
}

.mobile-accordion-toggle {
  position: absolute;
  right: 0;
  top: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
}
.mobile-accordion-toggle::before, .mobile-accordion-toggle::after {
  content: "";
  position: absolute;
  background-color: var(--text-muted-color);
  transition: transform 0.25s ease-out;
  top: 50%;
  left: 50%;
}
.mobile-accordion-toggle::before {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.mobile-accordion-toggle::after {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.is-open > .mobile-accordion-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.is-open > .mobile-accordion-toggle::before {
  transform: translate(-50%, -50%) rotate(90deg);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1049;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-nav.is-open .mobile-nav-overlay {
  opacity: 1;
  visibility: visible;
}

/*
 * Styles for the ActionBar component.
 * This component displays primary user actions in the header.
 */
.action-bar {
  width: 100%;
  display: flex;
  margin-top: 0;
}

.action-bar__list {
  display: flex;
  align-items: center;
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
  padding-top: 2px;
  flex-wrap: wrap;
  justify-content: flex-start;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.action-bar__list::-webkit-scrollbar {
  display: none;
}

.action-bar__item {
  flex: 0 0 auto;
}

.action-bar__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem;
  border-radius: 50%;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s, transform 0.2s ease-out, box-shadow 0.2s ease-out;
  white-space: nowrap;
  border: 1px solid transparent;
  position: relative;
  z-index: 1;
  color: var(--text-color);
}
.action-bar__link:hover, .action-bar__link.active {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px -2px hsla(from currentColor h s l/0.4);
  z-index: 2;
  background-color: var(--background-color-light);
}
.action-bar__link .badge {
  position: absolute;
  top: -2px;
  right: -2px;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.25em 0.5em;
  color: white;
  background-color: var(--accent-color, #e74c3c) !important;
  border-radius: 10em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-background-color, white);
  margin-left: 0 !important;
}

.action-bar__icon {
  width: 1.3em;
  height: 1.3em;
  background-color: currentColor;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.action-bar__link:hover .action-bar__icon,
.action-bar__link.active .action-bar__icon {
  transform: scale(1.1) rotate(-5deg);
}

.action-bar__icon--bell {
  -webkit-mask-image: url("/image/icon/bell.svg");
  mask-image: url("/image/icon/bell.svg");
}

.action-bar__icon--scale {
  -webkit-mask-image: url("/image/icon/scale-balance.svg");
  mask-image: url("/image/icon/scale-balance.svg");
}

.action-bar__icon--cart {
  -webkit-mask-image: url("/image/icon/cart.svg");
  mask-image: url("/image/icon/cart.svg");
}

.action-bar__icon--fire {
  -webkit-mask-image: url("/image/icon/fire.svg");
  mask-image: url("/image/icon/fire.svg");
}

.action-bar__icon--tag {
  -webkit-mask-image: url("/image/icon/tag.svg");
  mask-image: url("/image/icon/tag.svg");
}

.action-bar__icon--star {
  -webkit-mask-image: url("/image/icon/star.svg");
  mask-image: url("/image/icon/star.svg");
}

.action-bar__icon--articles {
  -webkit-mask-image: url("/image/icon/articles.svg");
  mask-image: url("/image/icon/articles.svg");
}

.action-bar__icon--shop {
  -webkit-mask-image: url("/image/icon/shop.svg");
  mask-image: url("/image/icon/shop.svg");
}

@media (min-width: 1025px) {
  .action-bar__list {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
}
.page-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-color);
  text-align: left;
  background-color: var(--card-background-color);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}
.page-header__image-wrapper {
  flex-shrink: 0;
}
.page-header__image {
  display: block;
  height: 150px;
  width: 150px;
  object-fit: contain;
  border-radius: var(--border-radius);
}
.page-header__content {
  flex-grow: 1;
  min-width: 0;
}
.page-header__animation {
  display: none;
  position: relative;
  width: 150px;
  height: 90px;
  flex-shrink: 0;
  margin-left: auto;
}
@media (min-width: 992px) {
  .page-header__animation {
    display: block;
  }
}
.page-header__anim-shape {
  position: absolute;
  border-radius: 50%;
  background-color: hsla(from var(--primary-color) h s l/0.08);
  animation: float 6s ease-in-out infinite;
}
.page-header__anim-shape--1 {
  width: 70px;
  height: 70px;
  top: 5%;
  left: 15%;
  animation-delay: 0s;
}
.page-header__anim-shape--2 {
  width: 30px;
  height: 30px;
  top: 55%;
  left: 55%;
  animation-delay: -2s;
  background-color: hsla(from var(--primary-color) h s l/0.15);
}
.page-header__anim-shape--3 {
  width: 45px;
  height: 45px;
  top: 25%;
  left: 75%;
  animation-delay: -4s;
}
.page-header .page-title {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  margin: 0 0 0.25rem 0;
}
.page-header .page-description__text {
  font-size: var(--font-size-base);
  color: var(--text-muted-color);
  margin: 0 0 0.5rem 0;
  max-width: 75ch;
}
.page-header .page-last-updated {
  font-size: var(--font-size-sm);
  color: var(--text-muted-color);
  margin: 0;
}
@media (max-width: 767px) {
  .page-header {
    gap: 1rem;
    padding: 0.75rem 1rem;
  }
  .page-header__image {
    height: 60px;
    width: 60px;
  }
  .page-header .page-title {
    font-size: var(--font-size-h4);
  }
  .page-header .page-description__text {
    font-size: var(--font-size-sm);
    margin-bottom: 0.25rem;
  }
  .page-header .page-last-updated {
    font-size: var(--font-size-xs);
  }
}
.page-header--discounts .page-header__anim-shape {
  background-color: hsla(from var(--color-discounts) h s l/0.08);
}
.page-header--discounts .page-header__anim-shape--2 {
  background-color: hsla(from var(--color-discounts) h s l/0.15);
}
.page-header--trending .page-header__anim-shape {
  background-color: hsla(from var(--color-trending) h s l/0.08);
}
.page-header--trending .page-header__anim-shape--2 {
  background-color: hsla(from var(--color-trending) h s l/0.15);
}
.page-header--coupons .page-header__anim-shape {
  background-color: hsla(from var(--color-coupons) h s l/0.08);
}
.page-header--coupons .page-header__anim-shape--2 {
  background-color: hsla(from var(--color-coupons) h s l/0.15);
}
.page-header--articles .page-header__anim-shape {
  background-color: hsla(from var(--color-articles) h s l/0.08);
}
.page-header--articles .page-header__anim-shape--2 {
  background-color: hsla(from var(--color-articles) h s l/0.15);
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px) scale(1.05);
  }
  100% {
    transform: translateY(0px);
  }
}

/*# sourceMappingURL=extension_1.css.map */
