/* ===== Colour palette ===== */

:root {
  /* Brand */
  --accent:          #70a903;
  --accent-rgb:      112, 169, 3;
  --accent-dark:     #5c8b02;
  --accent-dark-rgb: 92, 139, 2;
  --light-accent:    rgba(112, 169, 3, 0.14);

  /* Text */
  --text:            #afafb0;
  --text-muted-dark: #afafb0;
  --text-subtle:     #8f8f90;
  --btn-text:        #fff;
  --white:           #fff;
  --white-rgb:       255, 255, 255;
  --black-rgb:       0, 0, 0;

  /* Backgrounds and lines */
  --dark:            #484848;
  --gray:            #8f8f90;
  --gray-light:      #afafb0;
  --light:           #141516;
  --border:          #3a3b3d;
  --border-light:    #3a3b3d;
  --border-mid:      #3a3b3d;
  --accordion-arrow: #afafb0;
  --bg-page:         #141516;
  --bg-tabs:         #141516;
  --footer-bg:       #141516;
  --footer-text:     #afafb0;

  /* Status and prices */
  --danger:          #f35b20;
  --danger-rgb:      243, 91, 32;
  --star-color:      #f5b50a;
  --warning-strong:  #a67c00;
  --warning-bar-bg:   #ffd700;
  --warning-bar-text: #1a1a1a;
  --price-color:     #70a903;
  --old-price-color: #8f8f90;

  /* Shadows */
  --shadow-rgb:      0, 0, 0;
  --shadow-sm:       0 4px 15px rgba(var(--shadow-rgb), 0.06);
  --shadow-md:       0 12px 24px rgba(var(--accent-rgb), 0.25);
  --shadow-float:    0 12px 34px rgba(var(--shadow-rgb), 0.14); /* floating boxes: toasts, skip link */

  /* Bootstrap */
  --bs-primary:         var(--accent);
  --bs-primary-rgb:     var(--accent-rgb);
  --bs-success:         var(--accent);
  --bs-success-rgb:     var(--accent-rgb);
  --bs-link-color:      var(--accent);
  --bs-link-color-rgb:  var(--accent-rgb);
  --bs-link-hover-color: var(--white);
  --bs-link-hover-color-rgb: var(--white-rgb);
  --bs-danger:          var(--danger);
  --bs-danger-rgb:      var(--danger-rgb);

  --page-bg:         #202122;
  --surface:         #141516;
  --line:            #3a3b3d;
  --muted:           #8f8f90;
  --field-bg:        rgba(255, 255, 255, 0.2);
  --header-control:  #2c2d2f;
  --secondary-nav-bg:   #242527;
  --secondary-nav-line: #303133;

  /* Bootstrap, dark */
  --bs-body-bg:         var(--page-bg);
  --bs-body-color:      var(--text);
  --bs-heading-color:   var(--white);
  --bs-border-color:    var(--line);
  --bs-secondary-color: var(--text);
  --bs-light-rgb:       32, 33, 34;
}

/* ==========================================================================
   Main Stylesheet - Optimized Version
   ========================================================================== */

/* ==========================================================================
   Variables & Reset
   ========================================================================== */

:root {
  /* Transitions */
  --transition:      all 0.2s ease;
  --transition-slow: all 0.25s ease;

  /* Border radius */
  --radius-xs:  3px;   /* small accents: badges, focus outlines */
  --radius-sm:  3px;   /* buttons, nav elements */
  --panel-padding: 33px 50px;
  --top-flags-width: 275px;
  --radius-md:  5px;   /* cards, images, inputs */
  --radius-lg:  5px;  /* larger blocks, tabs, pagination */
  --radius-xl:  5px;  /* hero, large cards */

  /* Font sizes */
  --fs-xxs: 0.8rem;   /* smallest: sale badge, form labels */
  --fs-xs:  0.9rem;   /* small text: badges, filter items */
  --fs-sm:  0.85rem;  /* secondary text: labels, breadcrumbs, metadata */
  --fs-base: 0.95rem; /* slightly smaller base: filter links, page controls */
  --fs-lg:  1.1rem;   /* slightly larger: section labels, form inputs */

  /* Breakpoints */
  --bp-sm: 576px;
  --bp-md: 768px;
  --bp-lg: 992px;
  --bp-xl: 1200px;

  /* Typography */
  --font-family: 'Play', sans-serif;
  --line-height: 1.5;

  /* Layout */
  --container-max:    1400px;
  --container-max-xl: 1600px;
}

/* ==========================================================================
   Base & Typography
   ========================================================================== */

html,
body {
  overflow-x: hidden;
}

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

body {
  font-family: var(--font-family);
  background: var(--page-bg);
  color: var(--text);
  margin: 0;
  line-height: var(--line-height);
  accent-color: var(--accent);
  font-size: 16px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */

.container {
  max-width: var(--container-max);
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 1920px) {
  .container {
    max-width: var(--container-max-xl);
  }
}

/* ==========================================================================
   Top Bar
   ========================================================================== */

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar-main {
  background: var(--dark);
  padding: 12px 0;
}

.navbar-brand {
  color: var(--white);
  font-weight: bold;
}

.nav-link {
  color: var(--white);
  padding: 10px 16px;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(var(--white-rgb), 0.1);
}

.navbar-nav {
  flex-wrap: wrap;
  gap: 6px 12px;
  row-gap: 8px;
}

@media (min-width: 1200px) {
  .navbar-nav {
    flex-wrap: nowrap;
  }
}

@media (max-width: 1199px) {
  .navbar-nav {
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }
  .nav-link {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
  }
}

.user-icons > a {
  color: var(--white);
  transition: var(--transition);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.user-icons > a:hover {
  background: rgba(var(--white-rgb), 0.1);
  color: var(--accent);
}

.search-form input.form-control {
  min-width: 200px;
}

.search-form .form-control {
  min-height: 44px;
}

.navbar-main .user-icons > a,
.search-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.navbar-main .navbar-toggler {
  min-height: 44px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1080;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  box-shadow: var(--shadow-float);
}

form.search-form.d-lg-none {
  background: var(--dark);
  padding-bottom: 6px;
  margin-bottom: -6px;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   Dropdown (All Categories)
   ========================================================================== */

.navbar-main .dropdown-menu {
  min-width: 220px;
  border: 1px solid rgba(var(--black-rgb), .12);
  box-shadow: 0 8px 24px rgba(var(--black-rgb), .12);
  border-radius: var(--radius-sm);
}

.navbar-main .dropdown-item {
  padding: 8px 20px;
  color: var(--text);
}

.navbar-main .dropdown-item:hover,
.navbar-main .dropdown-item:focus {
  color: var(--white);
  background-color: var(--accent);
}

/* ==========================================================================
   Mini-cart
   ========================================================================== */

.mini-cart {
  display: none;
  position: absolute;
  top: 130%;
  right: 0;
  z-index: 1050;
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(var(--black-rgb), 0.2);
  padding: 15px;
}

.mini-cart.show {
  display: block;
}

.mini-cart-items {
  max-height: max(180px, calc(100vh - 320px));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mini-cart .cart-item {
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.mini-cart .cart-item + .cart-item {
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
}

.mini-cart .cart-total {
  font-weight: bold;
  border-top: 1px solid var(--border-light);
  padding-top: 10px;
  margin-top: 4px;
}

.mini-cart .empty-cart {
  color: var(--text-subtle);
}

@media (max-width: 576px) {
  .mini-cart {
    width: 90vw;
    right: 5vw;
    left: auto;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-primary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--btn-text);
  --bs-btn-color: var(--btn-text);
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-color: var(--btn-text);
  --bs-btn-hover-bg: var(--accent-dark);
  --bs-btn-hover-border-color: var(--accent-dark);
  --bs-btn-active-color: var(--btn-text);
  --bs-btn-active-bg: var(--accent-dark);
  --bs-btn-active-border-color: var(--accent-dark);
  --bs-btn-disabled-color: var(--btn-text);
  --bs-btn-disabled-bg: var(--accent);
  --bs-btn-disabled-border-color: var(--accent);
  --bs-btn-focus-shadow-rgb: var(--accent-rgb);
}

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

.btn-primary:active,
.btn-primary.active,
.btn-primary:active:focus {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--btn-text);
}

.btn-modern {
  background: var(--accent);
  color: var(--btn-text);
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: background-color 0.2s ease, transform 0.12s ease;
}

.btn-modern:hover {
  background: var(--accent-dark);
  color: var(--btn-text);
  transform: translateY(-2px);
}

.btn-modern:active {
  background: var(--accent-dark);
  color: var(--btn-text);
  transform: translateY(0);
}

.btn-modern:focus,
.btn-modern:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(var(--accent-rgb), 0.35);
}

.btn-outline-primary {
  color: var(--accent);
  border-color: var(--accent);
  --bs-btn-color: var(--accent-dark);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-color: var(--btn-text);
  --bs-btn-hover-bg: var(--accent);
  --bs-btn-hover-border-color: var(--accent);
  --bs-btn-active-color: var(--btn-text);
  --bs-btn-active-bg: var(--accent-dark);
  --bs-btn-active-border-color: var(--accent-dark);
  --bs-btn-disabled-color: var(--accent-dark);
  --bs-btn-disabled-border-color: var(--accent);
  --bs-btn-focus-shadow-rgb: var(--accent-rgb);
}

.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary:active:focus {
  background-color: var(--accent);
  color: var(--btn-text);
  border-color: var(--accent);
}

/* ==========================================================================
   Product Card
   ========================================================================== */

.product-card {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 180px;
  object-fit: contain;
  background: var(--light);
  padding: 15px;
}

.price {
  color: var(--price-color);
  font-weight: 400;
  font-size: 1.25rem;
}

.old-price {
  text-decoration: line-through;
  color: var(--old-price-color);
  font-size: 1rem;
  margin-left: 8px;
}

.stars {
  color: var(--star-color);
  font-size: 1rem;
}

.sale-badge {
  background: var(--danger);
  color: var(--white);
  font-size: var(--fs-xxs);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
}

/* ==========================================================================
   Product Catalog / Filters
   ========================================================================== */

.filter-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  background: var(--surface);
}

.filter-title {
  background: var(--light-accent);
  padding: 12px 18px;
  margin: 0;
  font-size: var(--fs-lg);
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
}

.filter-content {
  padding: 15px 18px;
}

.form-check-label {
  font-size: var(--fs-base);
  cursor: pointer;
}

.offcanvas-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.filter-link-item {
  padding: 6px 0;
  font-size: var(--fs-base);
}

.filter-link-item.parent {
  font-weight: 600;
  margin-bottom: 4px;
}

.filter-link-item.child {
  font-weight: normal;
  color: var(--text-muted-dark);
}

.filter-link-item a {
  color: inherit;
  display: block;
  transition: color 0.2s;
}

.filter-link-item a:hover,
.filter-link-item a.active {
  color: var(--accent);
  text-decoration: underline;
}

/* ==========================================================================
   Product Page Gallery
   ========================================================================== */

.product-gallery .main-image {
  height: 450px;
  overflow: hidden;
  background: var(--bg-page);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(var(--black-rgb), 0.1);
}

.product-gallery .main-image img#mainProductImage {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-gallery .thumbs .col-3 {
  height: 100px;
  padding: 0;
}

.thumb {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: var(--bg-page);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-sm);
  padding: 5px;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.thumb.active,
.thumb:hover {
  opacity: 1;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.3);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
  --pg-color: var(--text);
  --pg-bg: var(--surface);
  --pg-hover-bg: var(--surface);
  --pg-active-bg: var(--accent);
  --pg-active-color: var(--btn-text);
  --pg-border: var(--line);
  --pg-radius: var(--radius-sm);
  --pg-gap: 6px;
  --bs-pagination-active-bg: var(--accent);
  --bs-pagination-active-border-color: var(--accent);
  --bs-pagination-active-color: var(--btn-text);
  margin: 2.5rem 0 1.5rem;
  flex-wrap: wrap;
  gap: var(--pg-gap);
  justify-content: center;
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(var(--accent-rgb), 0.25);
}

.page-item {
  margin: 0;
}

.page-link,
.page-item.disabled .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1;
  color: var(--pg-color);
  background-color: var(--pg-bg);
  border: 1px solid var(--pg-border);
  border-radius: var(--pg-radius);
  transition: all 0.18s ease;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(var(--black-rgb), 0.06);
}

.page-link:hover {
  background-color: var(--pg-hover-bg);
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.18);
}

.page-item.active .page-link {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--btn-text);
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(var(--accent-rgb), 0.3);
  transform: translateY(-1px);
}

.page-item.disabled .page-link {
  color: var(--muted);
  background-color: transparent;
  border-color: var(--line);
  cursor: not-allowed;
  opacity: 0.75;
  box-shadow: none;
  transform: none;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link,
.page-item.prev .page-link,
.page-item.next .page-link {
  border-radius: var(--pg-radius);
  min-width: 46px;
  font-size: var(--fs-lg);
  padding: 0 10px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  background: var(--light-accent);
  padding: 40px 0;
}

/* ==========================================================================
   General Components
   ========================================================================== */

.newsletter {
  background: var(--light-accent);
  padding: 60px 0;
  text-align: center;
}

.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 30px;
}

.footer a {
  color: var(--footer-text);
}

.footer a:hover {
  color: var(--white);
}

.footer-copy {
  color: var(--text-subtle);
  font-size: var(--fs-sm);
}

/* ==========================================================================
   Cart Page
   ========================================================================== */

.cart-item {
  padding: 20px 0;
}

.cart-item + .cart-item {
  border-top: 1px solid var(--border-mid);
}

.cart-item--bonus {
  background: var(--light-accent);
}

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  padding: 4px;
}

.qty-input {
  max-width: 180px;
  width: 140px;
}

.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  top: 20px;
}

.cart-empty-message {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--text-subtle);
  font-size: 1.3rem;
}

.cart-item .price {
  margin-bottom: 0;
}

.cart-item h6 {
  margin-bottom: 0.6rem;
}

.promo-coupon-widget {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 576px) {
  .qty-input {
    width: 120px;
  }
  .qty-input input[type="number"] {
    font-size: 1rem;
    padding: 0.5rem 0.25rem;
  }
  .qty-input .btn {
    width: 35px;
  }
  .cart-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    align-items: start;
    position: static;
    padding-right: 0;
  }
  .cart-item > .me-3 {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
  .cart-item > .flex-grow-1 {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    padding-right: 2rem;
  }
  .cart-item .flex-grow-1 .d-flex {
    flex-wrap: wrap;
    row-gap: 0.4rem;
  }
  .cart-item .js-remove-item {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    position: static;
    transform: none;
    margin: 0 !important;
    padding: 0;
  }
}

/* ==========================================================================
   Checkout Page - Refinements
   ========================================================================== */

.checkout-page .form-control,
.checkout-page .form-select {
  border-color: var(--border-mid);
  font-size: var(--fs-lg);
  padding: 0.65rem 1rem;
  transition: var(--transition);
  background: var(--field-bg);
}

.checkout-page .form-control:focus,
.checkout-page .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.08);
}

.checkout-page .card-title {
  font-weight: 500;
  font-size: var(--fs-lg);
  letter-spacing: -0.2px;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.checkout-page .form-check {
  padding-left: 1.8rem;
}

.checkout-page .form-check-input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  margin-left: -1.8rem;
  border: 1.5px solid var(--border-mid);
  cursor: pointer;
}

.checkout-page .form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}

.checkout-page .form-check-input:focus {
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.2);
  border-color: var(--accent);
}

.checkout-page .form-check-label {
  font-weight: 400;
  color: var(--white);
  font-size: var(--fs-xs);
}

#billingFields .form-control,
#billingFields .form-select {
  background: var(--field-bg);
}

.checkout-page .alert-info {
  background: var(--light-accent);
  border: none;
  border-left: 3px solid var(--accent);
  color: var(--white);
  font-size: var(--fs-sm);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-lg);
}

.checkout-page .alert-info i {
  color: var(--accent);
}

.checkout-page .breadcrumb {
  font-size: var(--fs-sm);
}

.checkout-page .breadcrumb-item a {
  color: var(--gray);
  text-decoration: none;
}

.checkout-page .breadcrumb-item a:hover {
  color: var(--accent-dark);
}

.checkout-page .breadcrumb-item.active {
  color: var(--white);
  font-weight: 500;
}

.checkout-page .form-label {
  font-weight: 450;
  color: var(--text-muted-dark);
  font-size: var(--fs-xxs);
  margin-bottom: 0.3rem;
  letter-spacing: 0.2px;
}

.checkout-page .invalid-feedback {
  font-size: 0.7rem;
  color: var(--danger);
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .checkout-page .card-body {
    padding: 1.5rem !important;
  }
}

/* ==========================================================================
   Toast Notifications
   ========================================================================== */

.site-toast {
  --toast-accent: var(--accent-dark);
  width: min(360px, calc(100vw - 2rem));
  z-index: 1055;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--toast-accent);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-float);
}

.site-toast-success {
  --toast-accent: var(--accent-dark);
}

.site-toast-danger {
  --toast-accent: var(--danger);
}

.site-toast-warning {
  --toast-accent: var(--warning-strong);
}

.site-toast-info {
  --toast-accent: var(--gray);
}

.site-toast.is-clickable {
  cursor: pointer;
}

.site-toast-icon {
  flex: 0 0 auto;
  margin: 15px 0 0 14px;
  font-size: 1.25rem;
  color: var(--toast-accent);
}

.site-toast .toast-body {
  flex: 1 1 auto;
  padding: 14px 12px;
  font-size: var(--fs-base);
  line-height: 1.45;
}

.site-toast-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: -1px -1px 0 0;
  background-size: .75rem;
}

/* ==========================================================================
   Error Page
   ========================================================================== */

.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.error-code-wrap {
  margin-bottom: 1.5rem;
}

.error-code {
  font-size: clamp(5rem, 15vw, 9rem);
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
  display: block;
}

.error-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 1rem 0 1.5rem;
}

.error-message {
  font-size: 1.25rem;
  color: var(--text-muted-dark);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.error-search {
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.error-search .form-control,
.error-search .btn {
  min-height: 44px;
}

.error-support {
  color: var(--gray);
  font-size: var(--fs-xs);
}

.error-support a {
  color: var(--accent);
}

/* ==========================================================================
   FAQ Page
   ========================================================================== */

/* ==========================================================================
   Profile & Account Pages
   ========================================================================== */

.profile-sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border-light);
  min-height: 500px;
}

.profile-sidebar .nav-link {
  color: var(--text-muted-dark);
  padding: 1rem 1.5rem;
  border-radius: 0;
  border-left: 4px solid transparent;
  transition: var(--transition);
}

.profile-sidebar .nav-link:hover,
.profile-sidebar .nav-link.active {
  background: var(--light-accent);
  color: var(--accent-dark);
  border-left-color: var(--accent);
}

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--light-accent);
}

.avatar-preview {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--light-accent);
}

.avatar-upload {
  position: relative;
  display: inline-block;
}

.avatar-upload input[type="file"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.avatar-upload .upload-btn {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: var(--accent);
  color: var(--btn-text);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  cursor: pointer;
}

/* ==========================================================================
   Orders History Page
   ========================================================================== */

.order-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.order-header {
  background: var(--bg-page);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.order-body {
  padding: 1.5rem;
}

.order-item-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: var(--bg-page);
  border-radius: var(--radius-sm);
}

.status-badge {
  font-size: var(--fs-xs);
  padding: 0.5em 1em;
}

/* ==========================================================================
   Notifications Page
   ========================================================================== */

.notification-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
  transition: background 0.2s;
}

.notification-item:hover {
  background: var(--bg-page);
}

.notification-item.unread {
  background: var(--light-accent);
  border-left: 4px solid var(--accent);
}

.notification-time {
  font-size: var(--fs-sm);
  color: var(--text-subtle);
}

.notification-icon {
  width: 42px;
  height: 42px;
  background: var(--light-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-dark);
  flex-shrink: 0;
}

/* ==========================================================================
   Focus & Accessibility
   ========================================================================== */

.page-link:focus-visible,
.btn-primary:focus-visible,
.nav-link:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .product-card:hover {
    transform: none;
  }
}

/* ==========================================================================
   Mobile Responsive Overrides
   ========================================================================== */

@media (max-width: 576px) {
  .container {
    padding-right: 12px;
    padding-left: 12px;
  }
  .hero {
    padding: 20px 0;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .product-img {
    max-height: 180px;
  }
  .search-form {
    width: 100%;
    margin-bottom: 10px;
  }
  .user-icons {
    justify-content: center;
    width: 100%;
  }
  .error-code {
    font-size: 6rem;
  }
  .error-title {
    font-size: 2rem;
  }
  .pagination {
    --pg-gap: 4px;
    margin: 1.5rem 0 1rem;
  }
  .page-link,
  .page-item.disabled .page-link {
    min-width: 34px;
    height: 34px;
    font-size: var(--fs-xs);
    padding: 0 8px;
  }
  .page-item.prev .page-link,
  .page-item.next .page-link {
    min-width: 40px;
  }
}

@media (max-width: 991px) {
  .sidebar {
    margin-bottom: 2rem;
  }
  .profile-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    min-height: auto;
  }
}

/* ==========================================================================
   Product Tabs
   ========================================================================== */

#productTabs {
  border-bottom: none;
  background: var(--bg-tabs);
  border-radius: var(--radius-lg);
  padding: 4px;
  gap: 2px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#productTabs .nav-link {
  color: var(--gray);
  font-weight: 600;
  font-size: var(--fs-xs);
  border: none;
  border-radius: var(--radius-md);
  padding: 9px 22px;
  white-space: nowrap;
  background: none;
  transition: color 0.15s, background 0.15s, box-shadow 0.15s;
}

#productTabs .nav-link:hover {
  color: var(--white);
  background: rgba(var(--white-rgb), 0.1);
}

#productTabs .nav-link.active {
  color: var(--accent);
  background: var(--surface);
  box-shadow: 0 1px 6px rgba(var(--black-rgb), 0.10);
}

.tab-content {
  padding-top: 1.75rem;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.tab-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-mid);
  color: var(--white);
}

.navbar-main .nav-link {
  color: var(--white);
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--accent);
  background: rgba(var(--white-rgb), 0.1);
}

#warningBar {
  background: var(--warning-bar-bg);
  color: var(--warning-bar-text);
  font-size: var(--fs-sm);
  position: relative;
  text-align: center;
  padding: 0.6rem 3rem 0.6rem 1rem;
}

#warningBar strong {
  color: var(--btn-text);
}

#warningBar button {
  position: absolute;
  top: 50%;
  right: 0.6rem;
  transform: translateY(-50%);
  background: none;
  border: 2px solid rgba(var(--black-rgb), 0.4);
  border-radius: 50%;
  width: 1.6rem;
  height: 1.6rem;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--warning-bar-text);
  padding: 0;
}

#warningBar button:hover {
  background-color: rgba(var(--black-rgb), 0.12);
  border-color: rgba(var(--black-rgb), 0.7);
}

.bb-tabs-section {
  padding: 32px 0 40px;
}

.bb-tab-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.bb-tab-link {
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.bb-tab-link:hover {
  color: var(--bs-primary);
}

.bb-tab-link.active {
  color: var(--bs-danger);
  font-weight: 600;
}

.bb-tab-panel {
  display: none;
}

.bb-tab-panel.active {
  display: block;
}

.product-qty {
  width: 130px;
  flex-shrink: 0;
}

.product-qty input[type="number"]::-webkit-inner-spin-button,
.product-qty input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-qty input[type="number"] {
  -moz-appearance: textfield;
}

.freeship-progress {
  padding: 0.5rem 0.75rem;
  background: var(--light-accent);
  border-radius: 6px;
  color: var(--text-muted-dark);
}

.freeship-progress .fa-truck,
.freeship-progress strong {
  color: var(--accent-dark);
}

@media (max-width: 991.98px) {
  #productTabs.nav-tabs {
    display: none;
  }
  #productTabsContent {
    border-bottom: 1px solid var(--border-light);
  }
  .tab-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0.95rem 0;
    border: 0;
    border-top: 1px solid var(--border-light);
    background: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted-dark);
    cursor: pointer;
  }
  .tab-accordion-header .acc-chevron {
    flex: none;
    width: 9px;
    height: 9px;
    margin-left: 0.75rem;
    border-right: 2px solid var(--accordion-arrow);
    border-bottom: 2px solid var(--accordion-arrow);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }
  .tab-accordion-header.active {
    color: var(--text);
  }
  .tab-accordion-header.active .acc-chevron {
    transform: rotate(-135deg);
    border-color: var(--accent);
  }
  #productTabsContent > .tab-pane {
    display: none;
  }
  #productTabsContent > .tab-pane.acc-open {
    display: block;
    opacity: 1;
    padding: 0 0 1.1rem;
  }
}

/* ==========================================================================
   Bootstrap components in theme colours
   ========================================================================== */

.btn-link {
  --bs-btn-focus-shadow-rgb: var(--accent-rgb);
}

.btn-close {
  --bs-btn-close-focus-shadow: 0 0 0 0.25rem rgba(var(--accent-rgb), 0.25);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: rgba(var(--accent-rgb), 0.6);
  box-shadow: 0 0 0 0.25rem rgba(var(--accent-rgb), 0.25);
}

.form-check-input:checked {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}

.nav-link:focus-visible {
  box-shadow: 0 0 0 0.25rem rgba(var(--accent-rgb), 0.25);
}

.table-success {
  --bs-table-bg: var(--light-accent);
  --bs-table-border-color: rgba(var(--accent-rgb), 0.35);
  --bs-table-color: var(--text);
}

/* ==========================================================================
   Product cards: buttons of one row on one line
   ========================================================================== */

.product-card > a {
  flex-grow: 1;
}

/* ==========================================================================
   Text pages and catalogue descriptions
   ========================================================================== */

.page-content {
  color: var(--text);
  line-height: 1.75;
  overflow-wrap: break-word;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 0.8rem;
}

.page-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.6rem 0 0.6rem;
}

.page-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.3rem 0 0.5rem;
}

.page-content p {
  margin: 0 0 1rem;
}

:is(.page-content, .rich-text) :is(p, li) {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.page-content ul,
.page-content ol {
  margin: 0 0 1.1rem 1.3rem;
  padding: 0;
}

.page-content li {
  margin-bottom: 0.45rem;
}

.page-content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.page-content blockquote {
  border-left: 4px solid var(--accent);
  background: var(--light-accent);
  padding: 0.9rem 1.1rem;
  margin: 1.5rem 0;
}

.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.page-content th,
.page-content td {
  border: 1px solid var(--border-mid);
  padding: 0.5rem 0.7rem;
  vertical-align: top;
}

.page-content > :first-child {
  margin-top: 0;
}

@media (max-width: 399.98px) {
  .page-content th,
  .page-content td {
    padding: 0.4rem;
    overflow-wrap: anywhere;
  }
}

/* ===== Product card (one partial for catalog, widgets and related products) ===== */

.card-stock-note {
  margin: 0 0 .5rem;
  font-size: .85rem;
  text-align: center;
  opacity: .7;
}

.sidebar .filter-count {
  opacity: .65;
  font-size: .85em;
}

/* ===== A-Z lists: brands, substances ===== */

.terms-page {
  padding: var(--panel-padding);
  background: var(--surface);
  border-radius: var(--radius-md);
}

.terms-index {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 1.5rem 0 .5rem;
}

.terms-index a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 4px 8px;
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--text);
}

.terms-index a:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.terms-group {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.terms-group-letter {
  margin: 0 0 .5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.terms-group-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.terms-group-list li {
  padding: .2rem 0;
  break-inside: avoid;
}

.terms-group-list .count {
  font-size: var(--fs-sm);
  color: var(--gray);
}

@media (min-width: 576px) {
  .terms-group-list {
    columns: 2;
    column-gap: 2rem;
  }
}

@media (min-width: 992px) {
  .terms-group-list {
    columns: 3;
  }
}

/* ===== Checkout: Place Order while the order is being sent ===== */

.checkout-page .btn-primary[data-checkout-guard] {
  --bs-btn-disabled-opacity: .9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  letter-spacing: 0;
  transition: none;
}

.checkout-page .btn-primary[data-checkout-guard]::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  margin-right: 12px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: checkout-sending .8s linear infinite;
}

.checkout-page .btn-primary[data-checkout-guard]::after {
  content: attr(data-sending);
  min-width: 0;
  font-size: clamp(14px, 4.4vw, var(--bs-btn-font-size));
  line-height: calc(var(--bs-btn-font-size) * var(--bs-btn-line-height));
}

@keyframes checkout-sending {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-page .btn-primary[data-checkout-guard]::before {
    animation: none;
  }
}

/* ===== Touch targets on phones (44px) ===== */

@media (max-width: 767.98px) {
  .btn {
    --bs-btn-padding-y: .5625rem;
  }
  .btn-sm {
    --bs-btn-padding-y: .65625rem;
  }
  .form-control,
  .form-select {
    min-height: 44px;
  }
  .js-qty-minus,
  .js-qty-plus {
    min-width: 44px;
  }
  .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
  .breadcrumb-item a {
    display: inline-block;
    padding: 12px 6px;
    margin: -12px -6px;
  }
  .terms-group-list li {
    padding: 0;
  }
  .terms-group-list li > a {
    display: inline-block;
    padding: 10px 0;
  }
}

/* ===== Play, the font of the original site ===== */

@font-face {
  font-family: 'Play';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url('../fonts/play-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Play';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url('../fonts/play-700.woff2') format('woff2');
}

/* ===== Thin strip at the top of the screen: fixed on desktop, a normal block above the header on phones ===== */

.top-notice-bar {
  padding: 5px 0;
  background: var(--page-bg);
  color: var(--white);
  font-size: .7rem;
  letter-spacing: .5px;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.top-notice-bar span {
  color: inherit;
}

.top-notice-bar strong {
  color: inherit;
  font-weight: 700;
}

.top-notice-bar i {
  margin-right: 5px;
  color: var(--accent);
}

.top-notice-sep {
  margin: 0 8px;
}

@media (min-width: 992px) {
  body {
    padding-top: 22px;
  }
  .top-notice-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    height: 22px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
  }
  .top-notice-inner { display: grid; grid-template-columns: var(--top-flags-width) minmax(0, 1fr) var(--top-flags-width); align-items: center; height: 22px; }
  .top-notice-text { grid-column: 2; overflow: hidden; }
  .top-flags { grid-column: 3; justify-content: flex-end; }
}

#main-content > section.py-5 + section.py-5,
#main-content > section.pb-5 + section.py-5 {
  padding-top: 0 !important;
}

/* ===== Site header: the logo is the first column, everything else stands to its right ===== */

.site-header {
  padding: 12px 0;
  background: var(--page-bg);
}

.site-header .site-header-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "logo actions"
    "search search"
    "menu menu";
  gap: 10px 12px;
  align-items: center;
}

.site-logo {
  grid-area: logo;
  margin: 0;
  padding: 0;
}

.site-logo img {
  display: block;
  width: 110px;
  height: auto;
}

.site-header-actions {
  grid-area: actions;
}

.site-header form.site-search-mobile {
  grid-area: search;
  margin: 0;
  padding: 0;
  background: transparent;
}

.site-header .navbar-collapse {
  grid-area: menu;
}

.header-main-menu .navbar-nav {
  gap: 0;
}

.header-main-menu .nav-link {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 0;
}

.header-main-menu .nav-link:active,
.header-main-menu .nav-link.active,
.header-main-menu .nav-link.show {
  background: var(--accent);
  color: var(--white);
}

@media (hover: hover) {
  .header-main-menu .nav-link:hover {
    background: var(--accent);
    color: var(--white);
  }
}

.header-secondary ul {
  display: inline-flex;
  align-items: center;
  height: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--secondary-nav-bg);
  border: 1px solid var(--secondary-nav-line);
  border-radius: var(--radius-md);
}

.header-secondary li {
  position: relative;
  height: 100%;
}

.header-secondary li + li::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 1px;
  height: 14px;
  background: var(--line);
  transform: translateY(-50%);
}

.header-secondary a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 22px;
  color: var(--text);
  font-size: 14px;
  text-decoration: none;
}

.header-secondary a:hover {
  color: var(--accent);
}

@media (min-width: 992px) {
  .site-header .site-header-grid {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: "logo . . ."
      "logo secondary search cart"
      "logo main main main"
      "logo . . .";
    gap: 0 16px;
  }
  .site-header .navbar-collapse.collapse {
    display: contents !important;
  }
  .site-logo {
    align-self: start;
    margin-top: -8px;
    margin-left: 4px;
    margin-right: -12px;
  }
  .site-logo img {
    width: 130px;
  }
  .header-main-menu {
    grid-area: main;
    margin-top: 10px;
  }
  .header-secondary {
    grid-area: secondary;
  }
  .site-search {
    grid-area: search;
    margin: 0;
  }
  .user-icons {
    grid-area: cart;
  }
  .header-main-menu .navbar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    background: var(--dark);
    border-radius: var(--radius-md);
  }
  .header-main-menu .nav-item {
    flex: 1 1 auto;
  }
  .header-main-menu .nav-item + .nav-item {
    border-left: 1px solid rgba(var(--white-rgb), 0.12);
  }
  .header-main-menu .nav-item:first-child .nav-link {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
  }
  .header-main-menu .nav-item:last-child .nav-link {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
  }
  .site-header .header-main-menu .navbar-nav .nav-link {
    padding: 12px 10px;
    font-size: 13px;
    text-align: center;
  }
}

@media (min-width: 1200px) {
  .site-logo img {
    width: 150px;
  }
  .site-header .header-main-menu .navbar-nav .nav-link {
    padding: 15px 16px;
    font-size: 15px;
  }
}

/* ===== The look of the original site: blocks, forms, buttons ===== */

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: var(--white);
  font-weight: 700;
}

.btn {
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-transform: uppercase;
}

.btn-outline-dark {
  --bs-btn-color: var(--white);
  --bs-btn-border-color: var(--white);
  --bs-btn-hover-bg: var(--accent);
  --bs-btn-hover-border-color: var(--accent);
  --bs-btn-hover-color: var(--white);
  --bs-btn-active-bg: var(--accent-dark);
  --bs-btn-active-border-color: var(--accent-dark);
}

.form-control,
.form-select {
  background-color: var(--field-bg);
  background-clip: border-box;
  border-color: transparent;
  border-radius: var(--radius-md);
  color: var(--white);
}

.form-control:focus,
.form-select:focus {
  background-color: var(--field-bg);
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(var(--accent-rgb), .25);
  color: var(--white);
}

.form-control::placeholder {
  color: var(--text);
  opacity: 1;
}

.form-select option {
  background: var(--surface);
  color: var(--white);
}

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

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

.breadcrumb {
  --bs-breadcrumb-font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-tabs {
  --bs-nav-tabs-border-color: var(--line);
}

.nav-tabs .nav-link {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-tabs .nav-link.active {
  background: var(--surface);
  border-color: var(--line) var(--line) var(--surface);
  color: var(--accent);
}

.footer p {
  color: var(--footer-text);
}

.review-item {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.review-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: .4rem;
}

.review-head strong {
  color: var(--white);
}

.review-item p {
  margin: 0;
}

/* ==========================================================================
   Blog
   ========================================================================== */

.video-responsive {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 1.5rem 0;
}

.video-responsive iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 6px;
}

.read-more {
  margin: 1.5rem 0;
}

.read-more > summary {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

.read-more[open] > summary {
  font-size: 0;
}

.read-more[open] > summary::after {
  content: "Hide";
  font-size: 1.125rem;
}

.article-products {
  margin: 1.75rem 0;
}

.article-products-single {
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.page-body .article-products a,
.blog-article-body .article-products a {
  color: var(--white);
  text-decoration: none;
}

.page-body .article-products a:hover,
.blog-article-body .article-products a:hover {
  color: var(--accent);
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .2s ease;
}

.blog-card:hover {
  border-color: var(--accent);
}

.blog-card-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.1rem 1.25rem 1.25rem;
}

.blog-card-body time {
  color: var(--muted);
  font-size: .85rem;
  margin-bottom: .4rem;
}

.blog-card-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 .6rem;
}

.blog-card-body h2 a {
  color: var(--white);
  text-decoration: none;
}

.blog-card-body h2 a:hover {
  color: var(--accent);
}

.blog-card-body p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--muted);
}

@media (max-width: 575.98px) {
  .blog-article h1,
  .blog-article-body {
    font-size: 1rem;
  }
  .blog-article-body h2 {
    font-size: 1.4rem;
  }
}

.catalog-description {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Home
   ========================================================================== */

.home-slider {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.home-slider img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2048 / 744;
  object-fit: cover;
}

.home-slide-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.home-hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 80%;
  max-width: 600px;
  padding: 20px 40px;
  transform: translate(-50%, -50%);
  background-color: rgba(var(--black-rgb), .6);
  border-radius: var(--radius-md);
  text-align: center;
}

.home-hero-text h2 {
  margin: 0 0 10px;
  font-size: 2rem;
  text-transform: uppercase;
}

.home-hero-text p {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 1.2rem;
}

.home-slider .carousel-indicators {
  z-index: 3;
}

[data-bs-theme=dark] .home-slider .carousel-control-prev-icon,
[data-bs-theme=dark] .home-slider .carousel-control-next-icon {
  filter: drop-shadow(0 0 3px rgba(var(--black-rgb), .9));
}

[data-bs-theme=dark] .home-slider .carousel-indicators [data-bs-target] {
  background-color: var(--white);
}

.home-slider .carousel-control-prev,
.home-slider .carousel-control-next {
  opacity: .9;
}

@media (min-width: 1200px) {
  }

@media (max-width: 575.98px) {
  .home-slider img {
    height: 240px;
    aspect-ratio: auto;
  }
  .home-hero-text {
    top: 44%;
    width: 88%;
    padding: 10px 12px;
  }
  .home-hero-text h2 {
    margin-bottom: 2px;
    font-size: 1.15rem;
  }
  .home-hero-text p {
    margin-bottom: 8px;
    font-size: .85rem;
  }
}

.card {
  --bs-card-bg: var(--surface);
  --bs-card-color: var(--text);
  --bs-card-border-color: var(--line);
}

.card-title {
  color: var(--white);
}

.site-header .search-form .form-control,
.site-header .search-form .btn {
  height: 44px;
  min-height: 44px;
}

.site-header .search-form .form-control {
  background-color: var(--header-control);
  border-color: var(--line);
}

.site-header .search-form .form-control:focus {
  background-color: var(--header-control);
  border-color: var(--accent);
}

.site-header .search-form .btn {
  width: 44px;
  padding: 0;
  border-radius: var(--radius-md);
}

.site-header .header-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  background: var(--header-control);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 20px;
}

.site-header .header-cart:hover,
.site-header .header-cart:focus,
.site-header .header-cart.show {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.header-cart-count {
  top: -7px;
  right: -9px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid var(--page-bg);
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
}

.site-header .navbar-toggler {
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--header-control);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.site-header .navbar-toggler-icon {
  width: 24px;
  height: 24px;
}

/* ===== Text inside its containers ===== */

.checkout-item-text h6 {
  margin-bottom: .25rem;
}

.checkout-item-text small {
  display: block;
  color: var(--text);
}

.checkout-summary {
  top: 20px;
}

.checkout-summary hr {
  margin: 1rem 0;
}

.checkout-thumb {
  width: 80px;
  height: 80px;
  border: 1px solid var(--line);
  object-fit: cover;
}

.checkout-help {
  background: var(--surface);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.checkout-help i {
  color: var(--accent);
}

.checkout-total span:last-child {
  color: var(--accent);
}

.captcha-image {
  cursor: pointer;
}

.cart-empty-message p {
  margin-bottom: 1.5rem;
}

.cart-summary h5 {
  margin-bottom: 1.5rem;
}

.cart-summary > p {
  margin-bottom: 0;
  color: var(--text);
  font-size: .875em;
  text-align: center;
}

.qty-input .js-qty-input {
  font-size: 1.1rem;
  font-weight: 700;
}

.order-thanks h1 {
  color: var(--accent);
  font-size: calc(1.475rem + 2.7vw);
  line-height: 1.2;
}

.order-thanks > p {
  margin-bottom: 1.5rem;
}

.order-thanks > h1 + p {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 300;
}

.order-page .card-header h5 {
  margin-bottom: 0;
}

.order-total h4,
.order-total h5 {
  margin-bottom: 0;
}

.order-total h4 {
  color: var(--accent);
}

.order-items {
  margin-bottom: 0;
}

.order-items th:nth-child(2),
.order-items td:nth-child(2) {
  text-align: center;
}

.order-items th:nth-child(n+3),
.order-items td:nth-child(n+3) {
  text-align: right;
}

.order-items td:last-child {
  font-weight: 700;
}

.order-items small {
  display: block;
  color: var(--text);
}

.order-address p {
  margin-bottom: .5rem;
}

.order-address p:last-child {
  margin-bottom: 0;
}

.order-failed-card h1 {
  margin-bottom: 1.5rem;
  color: var(--bs-danger);
  font-size: calc(1.425rem + 2.1vw);
  line-height: 1.2;
}

.order-failed-card > p {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.order-failed-card > h1 + p {
  font-size: var(--fs-lg);
  font-weight: 300;
  line-height: 1.6;
}

.order-failed-help p {
  color: var(--text);
}

.product-info-col h1 {
  margin-bottom: 1rem;
}

.product-info-col h2.price {
  margin-bottom: 1.5rem;
  text-align: center;
}

.product-info-col .price small {
  color: var(--accent-dark);
}

.product-info-col > p {
  margin-bottom: 1.5rem;
  color: var(--white);
  font-size: var(--fs-lg);
  font-weight: 300;
  line-height: 1.6;
}

#reviews > p {
  color: var(--text);
}

.related-products > .container > h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.mini-cart-thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.mini-cart .empty-cart p {
  color: var(--text);
}

.mini-cart-item-text p {
  margin-bottom: 0;
  color: var(--text);
  font-size: .875em;
}

.mini-cart-item-text p:first-child {
  margin-bottom: .25rem;
  color: inherit;
  font-weight: 700;
}

.filter-content small {
  color: var(--text);
}

.products-widget > .container > h2 {
  margin-bottom: 3rem;
  text-align: center;
}

.best-sellers .card-title {
  margin-bottom: 0;
  padding: 1rem;
  border-bottom: var(--bs-border-width) solid var(--bs-border-color);
}

.bs-rank {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: .75rem;
}

.bs-thumb {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}

.bs-tag {
  font-size: .65rem;
}

.bs-substance {
  font-size: .75rem;
}

.promo-coupon-widget h5.card-title {
  margin-bottom: 1rem;
}

.promo-coupon-widget small {
  color: var(--text);
}

.page-breadcrumbs .breadcrumb {
  margin-bottom: 0;
}

.footer ul {
  padding-left: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .cart-page > .container > h2,
  .related-products > .container > h3 {
    text-align: left;
  }
}

@media (min-width: 992px) {
  .product-info-col h2.price {
    text-align: left;
  }
}

@media (min-width: 1200px) {
  .order-thanks h1 {
    font-size: 3.5rem;
  }
  .order-failed-card h1 {
    font-size: 3rem;
  }
  }

@media (max-width: 991.98px) {
  .header-secondary { padding: 10px 0 2px; text-align: center; }
  .header-secondary a { padding: 0 12px; }
}

/* ===== Product card ===== */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: none;
  text-align: center;
  transition: border-color .2s ease, transform .2s ease;
}
.product-card:hover { border-color: var(--white); box-shadow: none; transform: none; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .product-card:hover { transform: translateY(-3px); }
}
.product-card > a { display: flex; flex-direction: column; flex-grow: 1; color: var(--white); text-decoration: none; }
.product-card .product-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  background: var(--white);
  border-radius: 0;
  object-fit: contain;
}
.product-card-body { display: flex; flex-direction: column; flex-grow: 1; padding: 14px 16px 0; }
.product-card .product-card-title { display: flex; align-items: center; justify-content: center; min-height: calc(1.3em * 2); margin: 0 0 auto; color: var(--white); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.product-card .stars { margin: 10px 0 6px; font-size: 1.25rem; letter-spacing: 2px; line-height: 1; }
.product-card .price { margin: 0; color: var(--accent); font-size: 1.25rem; font-weight: 400; line-height: 1.3; }
.product-card .old-price { color: var(--muted); font-size: .9rem; text-decoration: line-through; }
.product-card-foot { padding: 12px 16px 16px; }
.product-card-foot .btn { display: block; width: 100%; padding: 9px 10px; font-size: 12px; }
.product-card-foot .btn-outline-secondary { --bs-btn-color: var(--text); --bs-btn-border-color: var(--muted); }
.product-card .card-stock-note { margin: 0 0 .5rem; color: var(--muted); font-size: .85rem; opacity: 1; }
@media (max-width: 575.98px) {
  .product-card-body { padding: 10px 12px 0; }
  .product-card-foot { padding: 10px 12px 12px; }
  .product-card .product-card-title { font-size: .92rem; }
  .product-card .stars { font-size: 1.1rem; letter-spacing: 1px; }
  .product-card .price { font-size: 1.1rem; }
}

/* ===== Home ===== */
.home-section { padding: 2.75rem 0; }
.home-intro { padding-top: 3.5rem; }
.home-head { margin-bottom: 2.5rem; text-align: center; }
.home-head h1,
.home-head h2 { margin: 0 0 .5rem; font-size: calc(1.5rem + 1.2vw); text-transform: none; }
.home-head h1 span { color: var(--accent); }
.home-head p { margin: 0; font-size: 1.1rem; }
.home-head p:first-child { margin-bottom: .75rem; color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .7em; text-transform: uppercase; }
.home-tile { display: block; height: 100%; padding: 1.75rem 1rem; color: var(--white); text-align: center; text-decoration: none; }
.home-tile i { display: block; margin-bottom: 1.1rem; font-size: 2.75rem; transition: color .2s ease; }
.home-tile h3 { margin: 0 0 1.1rem; font-size: 1.05rem; text-transform: uppercase; }
.home-tile .btn { padding: 5px 14px; font-size: 11px; }
.home-tile:hover { color: var(--white); }
.home-tile:hover i { color: var(--accent); }
.home-tiles > div + div { border-left: 1px solid var(--line); }
.home-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 2rem; }
.home-banner { padding: 1rem 0; }
.home-banner img { display: block; width: 100%; max-width: 960px; height: auto; margin: 0 auto; border-radius: var(--radius-md); }
.home-text h2 { position: relative; margin: 0 0 1.25rem; padding-bottom: .8rem; font-size: 1.55rem; line-height: 1.3; text-transform: uppercase; }
.home-text h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; background: var(--accent); }
.home-text p { margin: 0 0 1rem; line-height: 1.7; }
.home-text p,
.home-text li > span,
.home-blog .blog-card-body p { text-align: justify; }
@media (max-width: 575.98px) {
  .home-text p,
  .home-text li > span,
  .home-blog .blog-card-body p { hyphens: auto; }
}
.home-text a:not(.btn) { color: var(--accent); }
.home-text a:not(.btn):hover { color: var(--white); }
.home-text strong { color: var(--white); }
.home-text blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; background: var(--surface); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.home-text blockquote p { margin: 0; color: var(--white); }
.home-narrow { max-width: 900px; }
.home-narrow .home-cta { justify-content: flex-start; }
.home-why { padding: 1.75rem; background: var(--surface); border-radius: var(--radius-md); }
.home-why h2 { font-size: 1.25rem; }
.home-why ul { margin: 0; padding: 0; list-style: none; }
.home-why li { display: flex; gap: 14px; padding: .9rem 0; border-top: 1px solid var(--line); line-height: 1.5; }
.home-why li:first-child { border-top: 0; padding-top: 0; }
.home-why li:last-child { padding-bottom: 0; }
.home-why i { flex: 0 0 26px; margin-top: 3px; color: var(--accent); font-size: 1.2rem; text-align: center; }
.home-types { margin-bottom: 1.5rem; }
.home-card { height: 100%; padding: 1.5rem; background: var(--surface); border-radius: var(--radius-md); }
.home-card > i,
.contact-card > i { display: block; margin-bottom: .9rem; color: var(--accent); font-size: 1.75rem; }
.home-card p:last-child { margin-bottom: 0; }
.home-story img { float: left; width: 42%; max-width: 220px; height: auto; margin: .25rem 1.25rem .75rem 0; border-radius: var(--radius-md); }
.home-story h2 { font-size: 1.25rem; }
.home-columns { margin-bottom: 1rem; }
.home-checks { display: grid; gap: 10px 24px; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.home-checks li { display: flex; gap: 10px; color: var(--white); }
.home-checks i { margin-top: 5px; color: var(--accent); }
.home-media img { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; border-radius: var(--radius-md); }
.home-steps { display: grid; gap: 16px; margin: 0 0 1.5rem; padding: 0; list-style: none; counter-reset: home-step; }
.home-steps li { position: relative; padding: 1.25rem 1.25rem 1.25rem 4rem; background: var(--surface); border-radius: var(--radius-md); counter-increment: home-step; }
.home-steps li::before { content: counter(home-step); position: absolute; top: 1.15rem; left: 1.25rem; width: 32px; height: 32px; background: var(--accent); border-radius: 50%; color: var(--white); font-weight: 700; line-height: 32px; text-align: center; }
.home-steps p { margin: 0; }
.home-advice { margin-top: 1.5rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.home-advice h3 { margin: 0 0 .9rem; color: var(--white); font-size: 1.1rem; text-transform: uppercase; }
.home-advice h3 i { margin-right: 10px; color: var(--accent); }
.home-advice ol { margin: 0 0 1rem; padding-left: 1.25rem; color: var(--white); }
.home-advice li { margin-bottom: .35rem; }
.home-advice p:last-child { margin: 0; }
@media (min-width: 768px) {
  .home-checks { grid-template-columns: repeat(2, 1fr); }
  .home-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .home-columns { column-count: 2; column-gap: 40px; }
  .home-columns p { break-inside: avoid; }
  .home-checks { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  .home-tiles > div:nth-child(odd) { border-left: 0; }
  .home-tiles > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ===== Page hero ===== */
.page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  margin-bottom: 2.5rem;
  padding: 2rem 1.25rem;
  background: linear-gradient(rgba(var(--black-rgb), .6), rgba(var(--black-rgb), .6)), url('../img/bg-hero.jpg') center 30% / cover no-repeat;
  border-radius: var(--radius-md);
  text-align: center;
}
.page-hero h1 { margin: 0; color: var(--white); font-size: calc(1.5rem + 1.8vw); line-height: 1.15; }
.page-hero p { max-width: 720px; margin: .75rem 0 0; color: var(--white); font-size: 1.1rem; }
@media (max-width: 767.98px) {
  .page-hero { min-height: 150px; margin-bottom: 1.5rem; }
}

/* ===== Breadcrumbs ===== */
.page-breadcrumbs .breadcrumb { --bs-breadcrumb-divider: "\25B8"; --bs-breadcrumb-divider-color: var(--white); --bs-breadcrumb-item-active-color: var(--white); }
.page-breadcrumbs .breadcrumb-item a { color: var(--white); text-decoration: underline; }
.page-breadcrumbs .breadcrumb-item a:hover { color: var(--accent); }
@media (min-width: 768px) {
  .page-breadcrumbs .breadcrumb { justify-content: flex-end; }
}

/* ===== Catalog ===== */
.catalog-head { display: flex; justify-content: flex-end; margin-bottom: 1.5rem; color: var(--text); font-size: .95rem; }
.sidebar .filter-card { margin-bottom: 1.75rem; overflow: visible; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.sidebar .filter-title { margin: 0 0 .5rem; padding: 16px 22px; background: var(--accent); border: 0; border-radius: var(--radius-md); color: var(--white); cursor: default; font-size: 1.35rem; font-weight: 700; text-transform: uppercase; }
.sidebar .filter-content { padding: 0; background: transparent; }
.sidebar .filter-link-item { margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.sidebar .filter-link-item a { display: flex; align-items: center; gap: 10px; padding: 11px 4px; color: var(--white); font-size: 1rem; font-weight: 400; text-decoration: none; }
.sidebar .filter-link-item a::before { content: "\25B8"; color: var(--muted); font-size: .8rem; }
.sidebar .filter-link-item a:hover,
.sidebar .filter-link-item a.active,
.sidebar .filter-link-item a:hover::before,
.sidebar .filter-link-item a.active::before { color: var(--accent); }
.sidebar-banner img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); }
.sidebar .filter-count { margin-left: auto; color: var(--muted); font-size: .85rem; }
.catalog-description { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }

/* ===== Product ===== */
.product-gallery .main-image img { display: block; width: 100%; background: var(--white); border-radius: var(--radius-md); }
.product-info-col h1 { margin-bottom: .75rem; font-size: 1.75rem; line-height: 1.25; text-align: left; }
.product-info-col .stars-row { justify-content: flex-start; }
.product-info-col .stars { font-size: 1.1rem; letter-spacing: 1px; }
.product-info-col h2.price { margin-bottom: 1rem; color: var(--accent); font-size: 1.75rem; font-weight: 400; text-align: left; }
.product-info-col > p { margin-bottom: 1.5rem; color: var(--text); font-size: 1.05rem; font-weight: 400; line-height: 1.5; }
.product-info-col .btn-modern { background: var(--accent); border: 0; border-radius: var(--radius-sm); color: var(--white); font-size: .9rem; font-weight: 700; text-transform: uppercase; }
.product-info-col .btn-modern:hover { background: var(--accent-dark); color: var(--white); }
.product-info-col hr { margin: 1.25rem 0; border-color: var(--line); opacity: 1; }
.product-info-col .small a { color: var(--accent); }
.product-info-col .small p { margin-bottom: .4rem; font-size: .95rem; }
.product-info-col .small strong { color: var(--text); font-weight: 400; }
@media (max-width: 767.98px) {
  .product-info-col h1,
  .product-info-col h2.price,
  .product-info-col > p { text-align: center; }
  .product-info-col .stars-row { justify-content: center; }
}
#productTabs { padding: 0 0 12px; background: none; border-radius: 0; gap: 34px; }
#productTabs .nav-link { padding: 0; background: none; box-shadow: none; color: var(--white); font-size: .95rem; font-weight: 700; text-transform: uppercase; }
#productTabs .nav-link:hover,
#productTabs .nav-link.active { background: none; box-shadow: none; color: var(--accent); }
.product-tabs .tab-content { padding: var(--panel-padding); border: 0; border-radius: var(--radius-md); }
.product-tabs .tab-content h4 { border-bottom-color: var(--line); font-size: 1.15rem; }
.product-tabs .rich-text a { color: var(--accent); }
.review-item:first-of-type { border-top: 0; }
.review-notice { display: flex; align-items: flex-start; gap: .6rem; margin: 0 0 1rem; padding: .75rem 1rem; background: var(--page-bg); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.review-notice i { color: var(--accent); line-height: inherit; }
.review-notice p { margin: 0; color: var(--text); }
@media (max-width: 991.98px) {
  .product-tabs .tab-content { padding: 4px 18px; }
  .tab-accordion-header { color: var(--white); font-weight: 700; text-transform: uppercase; }
  .tab-accordion-header:first-of-type { border-top: 0; }
  .tab-content > .tab-accordion-header,
  .tab-content > .tab-accordion-header.active { display: flex; }
  .tab-accordion-header.active { color: var(--accent); }
  #productTabsContent { border-bottom: 0; }
}

/* ===== Shop pages ===== */
.page-hero-small { min-height: 130px; margin-bottom: 2rem; padding: 1.25rem; }
.page-hero-small h1 { font-size: calc(1.35rem + 1vw); }
.cart-empty-message h1 { font-size: 1.5rem; }
.cart-page .cart-item { margin-bottom: 12px; padding: 16px 20px; background: var(--surface); border-radius: var(--radius-md); }
.cart-page .cart-item + .cart-item { border-top: 0; }
.cart-page .cart-item--bonus { background: rgba(var(--accent-rgb), .12); }
.cart-item-img { background: var(--white); }
.cart-summary { border: 0; }
.cart-summary h5,
.checkout-page .card-title,
.order-page .card-header h5 { color: var(--white); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; }
.checkout-page .card { background: var(--surface); border: 0; border-radius: var(--radius-md); }
.order-page .card { background: var(--surface); border-radius: var(--radius-md); }
.order-page .card-header { background: transparent; border-bottom: 1px solid var(--line); }
.order-items { --bs-table-bg: transparent; --bs-table-color: var(--text); --bs-table-border-color: var(--line); --bs-table-hover-bg: rgba(var(--white-rgb), .04); --bs-table-hover-color: var(--white); }
.order-items th { color: var(--white); font-size: .8rem; font-weight: 700; text-transform: uppercase; }
.order-items th,
.order-items td { padding: 12px 16px; }
.order-items .table-success { --bs-table-bg: rgba(var(--accent-rgb), .12); --bs-table-color: var(--text); }
.order-page .badge.bg-warning { color: var(--surface); }

/* ===== Text pages ===== */
.page-body,
.blog-article { max-width: 920px; margin: 0 auto; padding: var(--panel-padding); background: var(--surface); border-radius: var(--radius-md); overflow-wrap: anywhere; }
.blog-article h1 { position: relative; margin: 0 0 .85rem; padding-bottom: .8rem; font-size: 2rem; line-height: 1.25; }
.blog-article h1::after,
.page-body h2::after,
.blog-article-body h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; background: var(--accent); }
.blog-article-meta { margin-bottom: 1.5rem; color: var(--muted); font-size: .9rem; }
.blog-article-hero { margin-bottom: 1.75rem; }
.blog-article-hero img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); }
.page-body,
.blog-article-body { font-size: 1.05rem; line-height: 1.7; }
.page-body h2,
.blog-article-body h2 { position: relative; margin: 2.25rem 0 1.1rem; padding-bottom: .7rem; color: var(--white); font-size: 1.4rem; font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.page-body h3,
.blog-article-body h3 { margin: 1.75rem 0 .75rem; color: var(--white); font-size: 1.2rem; font-weight: 700; line-height: 1.35; }
.page-body h4,
.page-body h5,
.page-body h6,
.blog-article-body h4,
.blog-article-body h5,
.blog-article-body h6 { margin: 1.5rem 0 .5rem; color: var(--accent); font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.page-body > :first-child,
.blog-article-body > :first-child { margin-top: 0; }
.page-body p,
.blog-article-body p { margin: 0 0 1.05rem; }
.page-body strong,
.blog-article-body strong { color: var(--white); }
.page-body a strong,
.blog-article-body a strong { color: inherit; }
.page-body ul,
.blog-article-body ul { margin: 0 0 1.05rem; padding: 0; list-style: none; }
.page-body ul > li,
.blog-article-body ul > li { position: relative; padding-left: 1.4rem; }
.page-body ul > li::before,
.blog-article-body ul > li::before { content: "\25B8"; position: absolute; left: 2px; color: var(--accent); }
.page-body ol,
.blog-article-body ol { margin: 0 0 1.05rem; padding-left: 1.6rem; }
.page-body ol > li::marker,
.blog-article-body ol > li::marker { color: var(--accent); font-weight: 700; }
.page-body li,
.blog-article-body li { margin-bottom: .45rem; }
.page-body a,
.blog-article-body a { color: var(--accent); text-decoration: underline; }
.page-body a:hover,
.blog-article-body a:hover { color: var(--white); }
.page-body img,
.blog-article-body img { display: block; max-width: 100%; height: auto; margin: 1.5rem auto; border-radius: var(--radius-md); }
.page-body figure,
.blog-article-body figure { margin: 1.5rem 0; }
.page-body figure img,
.blog-article-body figure img { margin-bottom: .5rem; }
.page-body figcaption,
.blog-article-body figcaption { color: var(--muted); font-size: .9rem; text-align: center; }
.page-body blockquote,
.blog-article-body blockquote { margin: 1.5rem 0; padding: 1rem 1.25rem; background: var(--page-bg); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.page-body blockquote p:last-child,
.blog-article-body blockquote p:last-child { margin-bottom: 0; }
.page-body table,
.blog-article-body table { display: block; width: 100%; margin: 0 0 1.25rem; overflow-x: auto; border-collapse: collapse; }
.page-body td,
.page-body th,
.blog-article-body td,
.blog-article-body th { padding: .55rem .8rem; border: 1px solid var(--line); }
.page-body th,
.blog-article-body th { background: var(--accent); color: var(--white); font-weight: 700; }
.page-body tr:nth-child(even) td,
.blog-article-body tr:nth-child(even) td { background: var(--page-bg); }
.page-body hr,
.blog-article-body hr { margin: 2rem 0; border-color: var(--line); opacity: 1; }
.page-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.page-features > div { padding: 1.1rem 1.2rem; background: var(--page-bg); border-top: 3px solid var(--accent); border-radius: var(--radius-sm); }
.page-features p { font-size: .98rem; line-height: 1.55; }
.page-features p:first-child { color: var(--white); font-weight: 700; text-transform: uppercase; }
.page-features p:last-child { margin-bottom: 0; }
@media (max-width: 767.98px) {
  .page-body,
  .blog-article { padding: 22px 16px; }
  .blog-article h1 { font-size: 1.6rem; }
}
@media (max-width: 767.98px) {
  .terms-page { padding: 22px 16px; }
}

/* ===== Contact page ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.contact-card { display: flex; flex-direction: column; padding: 2rem; background: var(--surface); border-radius: var(--radius-md); }
.contact-card h2 { margin: 0 0 .9rem; color: var(--white); font-size: 1.15rem; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.contact-card p,
.contact-note p { margin: 0 0 1rem; line-height: 1.65; }
.contact-card .btn { align-self: flex-start; }
.contact-card > .btn { margin-top: auto; }
.contact-option + .contact-option { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.contact-note { padding: 1.5rem 2rem; background: var(--surface); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.contact-note h2 { margin: 0 0 .75rem; color: var(--white); font-size: 1.05rem; font-weight: 700; text-transform: uppercase; }
.contact-note i { margin-right: .6rem; color: var(--accent); }
.contact-note p:last-child { margin-bottom: 0; }
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
  .contact-card { padding: 1.4rem; }
  .contact-note { padding: 1.25rem; }
  .contact-card .btn { width: 100%; }
}

/* ===== Footer ===== */
.footer h5 { position: relative; margin: 0 0 1.1rem; padding-bottom: .7rem; color: var(--white); font-size: .95rem; font-weight: 700; line-height: 1.35; text-transform: uppercase; }
.footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; background: var(--accent); }
.footer-brand img { display: block; width: 120px; height: auto; margin-bottom: 1.1rem; }
.footer-brand p { margin-bottom: .9rem; line-height: 1.65; }
.footer-brand p a { text-decoration: underline; }
.footer-brand i { margin-right: .5rem; color: var(--accent); }
@media (max-width: 991.98px) {
  .footer-brand img { margin-right: auto; margin-left: auto; }
  .footer-brand p:last-child { text-align: center; }
}
.footer-nav ul { margin: 0; }
.footer-nav li { position: relative; padding: .22rem 0 .22rem 1.1rem; }
.footer-nav li::before { content: "\25B8"; position: absolute; left: 0; color: var(--accent); font-size: .75rem; line-height: 2.1; }
.footer-labs ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0; }
.footer-labs a { display: flex; align-items: center; gap: .6rem; padding: .75rem .85rem; background: var(--page-bg); border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--white); font-size: .92rem; font-weight: 700; text-decoration: none; transition: border-color .2s ease; }
.footer-labs a:hover { border-color: var(--white); color: var(--white); }
.footer-labs i { color: var(--accent); }

/* ===== Shop links in text pages ===== */
.top10-shop { margin: 1.75rem 0 2rem; padding: 1.25rem 1.5rem; background: var(--page-bg); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.top10-shop > p { margin: 0 0 .8rem; color: var(--white); font-weight: 700; text-transform: uppercase; }
.page-body .top10-shop ol { margin: 0; columns: 2 200px; column-gap: 2rem; }
.page-body .top10-shop li { margin-bottom: .35rem; break-inside: avoid; }
.page-body .top10-shop a { font-weight: 700; }
.shop-links { margin: 1.25rem 0 2rem; }
.shop-links > p { margin: 0 0 .6rem; color: var(--white); font-weight: 700; }
.page-body .shop-links ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; }
.page-body .shop-links li { margin: 0; padding: 0; }
.page-body .shop-links li::before { content: none; }
.page-body .shop-links a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border: 1px solid var(--accent); border-radius: var(--radius-sm); color: var(--accent); font-size: .9rem; font-weight: 700; line-height: 1.3; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.page-body .shop-links a:hover { background: var(--accent); color: var(--white); }
.shop-links span { color: var(--muted); font-weight: 400; }
.page-body .shop-links a:hover span { color: var(--white); }
.top10-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.page-body .top10-cta a { text-decoration: none; }
.page-body .top10-cta .btn-primary,
.page-body .top10-cta a:hover { color: var(--white); }

/* ===== Language versions ===== */
.top-flags { display: flex; align-items: center; gap: 5px; }
.top-flags a { display: block; line-height: 0; opacity: .85; transition: opacity .2s ease; }
.top-flags a:hover { opacity: 1; }
.top-flags img { width: 20px; height: 15px; }
@media (max-width: 991.98px) {
  .top-notice-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .top-flags { order: -1; flex-wrap: wrap; justify-content: center; }
}
@media (min-width: 992px) {
  .top-flags { opacity: var(--top-flags-opacity, 1); transition: opacity .15s linear; }
  .top-flags img { width: 18px; height: 13.5px; }
  .is-scrolled .top-flags { visibility: hidden; }
}

/* ===== Home texts of the family sites ===== */
.home-text h3 { margin: 1.5rem 0 .75rem; color: var(--white); font-size: 1.2rem; font-weight: 700; }
.home-text > ul,
.home-text > ol,
.home-text > div > ul,
.home-text > div > ol { margin: 0 0 1rem; padding: 0 0 0 1.5rem; }
.home-text > ul,
.home-text > div > ul { list-style: none; padding-left: 0; }
.home-text > ul > li,
.home-text > div > ul > li { position: relative; padding-left: 1.4rem; margin-bottom: .45rem; }
.home-text > ul > li::before,
.home-text > div > ul > li::before { content: "\25B8"; position: absolute; left: 2px; color: var(--accent); }
.home-text > ol > li::marker,
.home-text > div > ol > li::marker { color: var(--accent); font-weight: 700; }
.home-text img { display: block; max-width: 100%; height: auto; margin: 1.5rem auto; border-radius: var(--radius-md); }
.min-order-note { color: var(--text); }
.min-order-note i { color: var(--accent); }

