/* ===== Colour palette ===== */
/* Every colour of the theme, in one place: change a value here to recolour the whole site. */
:root {
  /* Brand */
  --accent:           #4caf50;  /* footer headings, notes, focus rings */
  --accent-rgb:       76, 175, 80;
  --accent-dark:      #388e3c;
  --light-accent:     #f0f9e8;
  --highlight:        #fdbf70;  /* hover of links and buttons, badges, quote line */
  --highlight-rgb:    253, 191, 112;
  --highlight-dark:   #f8981d;  /* footer link hover */

  /* Text */
  --heading:          #22222b;  /* headings, links and strong text */
  --heading-rgb:      34, 34, 43;
  --text-dark:        #333;
  --text-muted-dark:  #555;
  --text-subtle:      #7f7f82;  /* secondary links: sidebar, footer, tabs */
  --text:             #888888;  /* body text */
  --black:            #000;
  --black-rgb:        0, 0, 0;
  --white:            #fff;
  --white-rgb:        255, 255, 255;

  /* Backgrounds, lines and greys */
  --page-bg:          #f5f5f5;
  --page-bg-rgb:      245, 245, 245;
  --topbar-bg:        #f7f7f9;
  --footer-line:      #eef2f7;
  --deal-bg:          #f9dab2;  /* Flash Sale head */
  --border-light:     #ebebeb;
  --border:           #ddd;
  --gray-mid:         #999;
  --gray:             #6c757d;

  /* Status and prices */
  --price-color:      var(--heading);
  --danger:           #dc3545;
  --stock-out:        #f00;
  --warning:          #ffc107;

  /* Shadows */
  --shadow-md:        0 10px 20px rgba(31, 51, 46, 0.05);
}

/* ===== Shape and type ===== */
/* Change here for the whole site. */
:root {
  --radius-sm:    0;     /* buttons */
  --radius-md:    0;     /* cards, panels, gallery, mini cart, thumbnails, toasts, alerts, pagination */
  --radius-pill:  30px;  /* tags */
  --radius-round: 50%;   /* avatars, counters */

  --font-family:   'Roboto', system-ui, -apple-system, sans-serif;
  --font-controls: 'limerick-regular', 'Roboto', sans-serif;  /* form fields and submit buttons */

  /* Heading sizes */
  --h1-size: 2.8125rem;
  --h2-size: 1.875rem;
  --h3-size: 1.5625rem;
  --h4-size: 1.375rem;
  --h5-size: 1.125rem;
  --h6-size: 1rem;
  --heading-line-height: 1.625;
}

/* ===== Bootstrap in theme values ===== */
:root {
  --bs-body-color: var(--text);
  --bs-body-color-rgb: 136, 136, 136;
  --bs-heading-color: var(--heading);
  --bs-link-color: var(--heading);
  --bs-link-color-rgb: var(--heading-rgb);
  --bs-link-hover-color: var(--highlight);
  --bs-link-hover-color-rgb: var(--highlight-rgb);
  --bs-secondary-color: var(--text);
  --bs-border-color: var(--border-light);
  --bs-border-radius: 0;
  --bs-border-radius-sm: 0;
  --bs-border-radius-lg: 0;
  --bs-dark-rgb: var(--heading-rgb);
  --bs-light-rgb: var(--page-bg-rgb);
}

/* ==========================================================================
   Roboto
   ========================================================================== */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/roboto-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                 U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                 U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Limerick (form fields and submit buttons)
   ========================================================================== */

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

/* ==========================================================================
   Base & Typography
   ========================================================================== */
html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background: var(--white);
  color: var(--text);
  margin: 0;
  line-height: 1.75rem;
  overflow-x: hidden;
  accent-color: var(--heading);
}

body:has(.page-home),
body:has(.page-catalog) {
  background: var(--page-bg);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-family);
  font-weight: 400;
  line-height: var(--heading-line-height);
  color: var(--heading);
}

h1, .h1 { font-size: var(--h1-size); }
h2, .h2 { font-size: var(--h2-size); }
h3, .h3 { font-size: var(--h3-size); }
h4, .h4 { font-size: var(--h4-size); }
h5, .h5 { font-size: var(--h5-size); }
h6, .h6 { font-size: var(--h6-size); }

h1.fw-bold, h2.fw-bold, h3.fw-bold, h4.fw-bold, h5.fw-bold, h6.fw-bold {
  font-weight: 400 !important;
}

strong {
  font-weight: 600;
  color: var(--heading);
}

input, select, textarea, button[type="submit"],
.form-control, .form-select {
  font-family: var(--font-controls);
}

.btn {
  border-radius: var(--radius-sm);
}

a {
  color: var(--heading);
  text-decoration: none;
  transition: color .3s;
}
a:hover,
a:active {
  color: var(--highlight);
}

blockquote {
  margin-bottom: 1.25rem;
  padding: 1.3125rem 1.875rem;
  color: var(--heading);
  border-left: 2px solid var(--highlight);
}

table, th, td {
  border-color: var(--border-light);
}

th {
  font-weight: 500;
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */
.container {
  padding-right: 15px;
  padding-left:  15px;
  margin-right: auto;
  margin-left:  auto;
}

@media (min-width: 576px) {
  .container { max-width: 540px; }
}
@media (min-width: 768px) {
  .container { max-width: 720px; }
}
@media (min-width: 992px) {
  .container { max-width: 960px; }
}
@media (min-width: 1200px) {
  .container { max-width: 1170px; }

  body:has(.page-home) .container {
    max-width: 1520px;
    padding-right: 30px;
    padding-left:  30px;
  }
}

/* ==========================================================================
   Navbar
   ========================================================================== */

/* User icons & mini-cart trigger */

/* ==========================================================================
   Dropdown (All Categories)
   ========================================================================== */
.custom-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 220px;
  padding: 10px 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  background-color: var(--white);
  border: 1px solid rgba(var(--black-rgb), .15);
  border-radius: var(--radius-sm);
  box-shadow: 0 0.5rem 1rem rgba(var(--black-rgb), .175);
}

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

.custom-dropdown .dropdown-item {
  padding: 8px 20px;
  color: var(--heading);
}

.custom-dropdown .dropdown-item:hover,
.custom-dropdown .dropdown-item:focus {
  color: var(--highlight);
  background-color: transparent;
}

/* Mobile */
@media (max-width: 991.98px) {
  .custom-dropdown {
    position: static;
    width: 100%;
    margin: 10px 0;
    box-shadow: none;
    border: none;
    background: transparent;
  }
  
}

/* ==========================================================================
   Mini-cart
   ========================================================================== */
.mini-cart-list {
  margin: 0;
}

.mini-cart .cart-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.mini-cart .cart-item:first-child {
  border-top: 1px solid var(--border-light);
}

.mini-cart-remove {
  flex: 0 0 1.875rem;
  margin-right: .9375rem;
  color: var(--heading);
  font-size: 1.75rem;
  line-height: 1;
  text-align: center;
  transition: transform .3s;
}

.mini-cart-remove:hover {
  color: var(--heading);
  transform: rotate(90deg);
}

.mini-cart-image {
  flex: 0 0 5.625rem;
  margin-right: 1.875rem;
}

.mini-cart-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--border-light);
}

.mini-cart-title {
  flex: 1 1 auto;
  min-width: 0;
}

.mini-cart-qty {
  flex: 0 0 12.5rem;
  margin-left: auto;
  text-align: center;
}

.mini-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0 0;
}

.mini-cart-total strong {
  letter-spacing: .04em;
}

.mini-cart-amount {
  font-size: 1.125rem;
  color: var(--heading);
}

.mini-cart-buttons {
  display: flex;
  gap: 10px;
  margin: 0;
}

.mini-cart-button {
  flex: 1 1 0;
  margin-top: .625rem;
  padding: 0 1rem;
  background: var(--heading);
  color: var(--white);
  line-height: 50px;
  text-align: center;
  transition: opacity .3s;
}

.mini-cart-button:hover {
  color: var(--white);
  opacity: .8;
}

.mini-cart .empty-cart {
  margin: 0;
  padding: 10px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 575.98px) {
  .mini-cart-image {
    flex-basis: 4rem;
    margin-right: 1rem;
  }

  .mini-cart-qty {
    flex-basis: auto;
    margin-left: 1rem;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
  background-color: var(--heading);
  border-color: var(--heading);
  color: var(--white);
  --bs-btn-color: var(--white);
  --bs-btn-bg: var(--heading);
  --bs-btn-border-color: var(--heading);
  --bs-btn-hover-color: var(--white);
  --bs-btn-hover-bg: var(--highlight);
  --bs-btn-hover-border-color: var(--highlight);
  --bs-btn-active-color: var(--white);
  --bs-btn-active-bg: var(--highlight);
  --bs-btn-active-border-color: var(--highlight);
  --bs-btn-disabled-color: var(--white);
  --bs-btn-disabled-bg: var(--heading);
  --bs-btn-disabled-border-color: var(--heading);
  --bs-btn-focus-shadow-rgb: var(--heading-rgb);
  transition: background-color .3s, border-color .3s;
}

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

.btn-outline-primary {
  color: var(--heading);
  border-color: var(--heading);
  --bs-btn-color: var(--heading);
  --bs-btn-border-color: var(--heading);
  --bs-btn-hover-color: var(--white);
  --bs-btn-hover-bg: var(--highlight);
  --bs-btn-hover-border-color: var(--highlight);
  --bs-btn-active-color: var(--white);
  --bs-btn-active-bg: var(--highlight);
  --bs-btn-active-border-color: var(--highlight);
  --bs-btn-disabled-color: var(--heading);
  --bs-btn-disabled-border-color: var(--heading);
  --bs-btn-focus-shadow-rgb: var(--heading-rgb);
  transition: background-color .3s, border-color .3s, color .3s;
}

.btn-outline-primary:hover {
  background-color: var(--highlight);
  color: var(--white);
  border-color: var(--highlight);
}

/* ==========================================================================
   Product Card (index, catalog)
   ========================================================================== */
.product-card {
  text-align: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .3s;
  background: var(--white);
}

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

.product-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: var(--white);
}

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

.product-card-title {
  font-size: 1rem;
  transition: color .3s;
}

.product-card a:hover .product-card-title {
  color: var(--highlight);
}

.product-card .price {
  margin-bottom: .75rem;
  font-size: .875rem;
}

.product-card-actions {
  border-top: 1px solid var(--border-light);
}

.product-card-actions .btn {
  display: block;
  width: 100%;
  height: 50px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-subtle);
  font-size: 1rem;
  line-height: 50px;
}

.product-card-actions .btn:hover,
.product-card-actions .btn:focus-visible {
  background: transparent;
  color: var(--highlight);
}

.stock-label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 4.6875rem;
  height: 1.1875rem;
  overflow: hidden;
  background: var(--stock-out);
  color: var(--white);
  font-size: .625rem;
  line-height: 1.1875rem;
  text-align: center;
  white-space: nowrap;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}

.product-card:hover .stock-label {
  opacity: 0;
  transform: translateY(0);
}

.catalog-grid {
  --bs-gutter-x: 30px;
  --bs-gutter-y: 30px;
}

.catalog-toolbar {
  min-height: 29px;
  margin-bottom: 30px;
}

.catalog-toolbar .small {
  font-size: 1rem;
}

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

.sale-badge {
  background: var(--highlight);
  color: var(--white);
  font-size: .625rem;
  line-height: 1.1875rem;
  padding: 0 .5rem;
  border-radius: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
}

/* ==========================================================================
   PRODUCT CATALOG
   ========================================================================== */
.filter-card {
  margin-bottom: 60px;
}

.filter-title {
  padding: 0;
  margin: 0 0 1.125rem;
  font-size: var(--h5-size);
  cursor: pointer;
}

.sidebar-search .filter-title {
  cursor: default;
}

.sidebar-search-form {
  display: flex;
  min-width: 0;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-search-form:focus-within {
  border-bottom-color: var(--heading);
}

.sidebar-search-form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 50px;
  margin: 0;
  padding: 7px 0 9px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--heading);
  font-size: .875rem;
  -webkit-appearance: none;
  appearance: none;
}

.sidebar-search-form input:focus,
.sidebar-search-form input:focus-visible {
  outline: none;
  border-radius: 0;
}

.sidebar-search-form button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 50px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--text-subtle);
  transition: color .3s;
}

.sidebar-search-form button:hover {
  color: var(--highlight);
}

.sidebar-search-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.sidebar-banner {
  margin-bottom: 60px;
}

.sidebar-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.filter-title .fa-chevron-down {
  font-size: .75rem;
  line-height: inherit;
  color: var(--text-subtle);
}

.filter-content {
  padding: 0;
}

.form-check-label {
  font-size: 0.95rem;
  cursor: pointer;
}

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

.filter-link-item {
    margin: 12.5px 0 10px;
    font-size: 1rem;
}

.filter-link-item a {
    color: var(--text-subtle);
    display: block;
}

.filter-link-item a:hover {
    color: var(--highlight);
}

.filter-link-item a.active {
    color: var(--heading);
}

/* ==========================================================================
   PRODUCT PAGE
   ========================================================================== */

.product-gallery .main-image {
    height: 450px;
    overflow: hidden;
    background: var(--white);
    border-radius: var(--radius-md);
}

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

.product-gallery .thumbs .col-3 {
    height: auto;
}

.product-gallery .thumbs img.thumb {
    width: 100%;
    max-width: 100px;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: var(--page-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 5px;
    box-sizing: border-box;
}

.product-gallery .thumb {
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.2s;
}

.product-gallery .thumb.active,
.product-gallery .thumb:hover {
    opacity: 1;
    border-color: var(--heading) !important;
}

/* ──────────────────────────────────────────────
   pagination LinkPager
─────────────────────────────────────────────── */

.pagination {
  --pg-color: var(--text-subtle);
  --pg-bg: transparent;
  --pg-active-color: var(--heading);
  --pg-radius: var(--radius-md);
  --pg-gap: 6px;
  --bs-pagination-active-bg: transparent;
  --bs-pagination-active-border-color: transparent;
  --bs-pagination-active-color: var(--heading);
  margin: 2.5rem 0 1.5rem !important;
  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 !important;
}

.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: 1rem;
  font-weight: 400;
  line-height: 1;
  color: var(--pg-color);
  background-color: var(--pg-bg);
  border: 0;
  border-radius: var(--pg-radius);
  transition: color .3s;
  text-decoration: none;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border-radius: var(--pg-radius);
}

.page-link:hover {
  background-color: transparent;
  color: var(--highlight);
}

.page-item.active .page-link {
  background-color: transparent !important;
  color: var(--pg-active-color) !important;
}

.page-item.disabled .page-link {
  color: var(--gray-mid);
  background-color: transparent;
  cursor: not-allowed;
  opacity: 0.75;
}

.page-item.prev .page-link,
.page-item.next .page-link {
  min-width: 46px;
  font-size: 1.1rem;
  padding: 0 10px;
}

@media (max-width: 575.98px) {
  .pagination {
    --pg-gap: 4px;
    margin: 1.5rem 0 1rem !important;
  }

  .page-link,
  .page-item.disabled .page-link {
    min-width: 34px;
    height: 34px;
    font-size: 0.9rem;
    padding: 0 8px;
  }

  

  
}

/* ==========================================================================
   GENERAL
   ========================================================================== */

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

.cart-item {
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item-img {
  width:  80px;
  height: 80px;
  object-fit: contain;
  background: var(--page-bg);
  border-radius: var(--radius-md);
  flex-shrink: 0;
  padding: 4px;
  box-sizing: border-box;
}
.qty-input {
  max-width: 180px;
}
.cart-summary {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}
.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;
}

.form-section {
  margin-bottom: 24px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 2rem;
}

/* Toasts: a white card, a stripe and an icon by type; success in the brand colour */
.site-toast {
  --toast-accent: var(--accent-dark);
  width: min(360px, calc(100vw - 2rem));
  z-index: 1055;
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--toast-accent);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(var(--black-rgb), 0.12);
}

.site-toast-success { --toast-accent: var(--accent-dark); }
.site-toast-danger  { --toast-accent: var(--danger); }
.site-toast-warning { --toast-accent: var(--warning); }
.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: 1rem;
  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 {
  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: .875rem;
}
.error-support a {
  color: var(--accent);
}

.profile-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.order-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}
.order-item:last-child {
  border-bottom: none;
}
.avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-round);
  border: 4px solid var(--light-accent);
}

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

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

.order-header {
  background: var(--page-bg);
  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(--page-bg);
  border-radius: var(--radius-md);
}

.status-badge {
  font-size: 0.9rem;
  padding: 0.5em 1em;
}

/* ==========================================================================
   Profile Edit Page
   ========================================================================== */

.profile-sidebar {
  background: var(--white);
  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: all 0.2s;
}

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

.avatar-preview {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: var(--radius-round);
  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(--black);
  border-radius: var(--radius-round);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
}

/* ==========================================================================
   Notifications Page (Account section)
   ========================================================================== */

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

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

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

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

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

/* ==========================================================================
   ORDER CONFIRMATION PAGE
   ========================================================================== */

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

.navbar-nav .nav-link {
  padding: 10px 16px;
  white-space: nowrap;
  border-radius: var(--radius-md);
  transition: all 0.2s;
}

.navbar-nav .nav-link:hover {
  background: none;
}

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

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

/* ==========================================================================
   MOBILE
   ========================================================================== */
@media (max-width: 991.98px) {
  .sidebar {
    margin-bottom: 2rem;
  }
}

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
  background: var(--topbar-bg);
  color: var(--text);
  font-size: .875rem;
  padding: 10px 0;
}

.flags-row {
  display: flex;
  align-items: center;
  min-height: 28px;
}

.flag-link {
  display: inline-flex;
  margin: 0 3px;
}

.flag-link img {
  display: block;
  width: 25px;
  height: auto;
}

.top-bar-promo {
  text-align: right;
}

@media (max-width: 767.98px) {
  .top-bar {
    padding: 0;
  }

  .top-bar .container {
    justify-content: center !important;
  }

  .flags-row {
    justify-content: center;
    width: 100%;
    min-height: 30px;
  }

  .top-bar-promo {
    width: calc(100% + 30px);
    margin: 0 -15px;
    padding: 6px 15px;
    background: var(--light-accent);
    color: var(--text-dark);
    text-align: center;
    line-height: 1.4;
  }
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar-main {
  background: var(--white);  
  padding: 12px 0;
}

.navbar-main .navbar-brand {
  color: var(--text-dark) !important;
  font-weight: bold;
}

.navbar-main .navbar-brand {
  padding: 0;
}

.navbar-main .navbar-brand img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
}

.navbar-main .nav-link {
  color: var(--heading) !important;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--heading) !important;
}

@media (min-width: 992px) {
  .navbar-main {
    padding: 0;
  }

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

  .navbar-main .navbar-nav > .nav-item > .nav-link {
    padding: 32px 19px;
  }

  .navbar-main .navbar-collapse {
    justify-content: center;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-main .navbar-brand img {
    max-width: 252px;
  }
}

/* Header icons: search, cart, menu */
.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--heading);
  transition: color .3s;
}

.header-icon:hover,
.header-icon:focus-visible {
  color: var(--highlight);
}

.navbar-main .navbar-toggler.header-icon:focus {
  box-shadow: none;
}

.header-icon-svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.header-count {
  position: absolute;
  top: 9px;
  right: 4px;
  min-width: .875rem;
  min-height: .875rem;
  padding: .1875rem .125rem .125rem .1875rem;
  border-radius: var(--radius-round);
  background: var(--highlight);
  color: var(--white);
  font-size: .625rem;
  font-weight: 500;
  line-height: .59375rem;
  text-align: center;
}

/* Site windows: search and cart */
html.site-modal-open,
html.site-modal-open body {
  overflow: hidden;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 1090;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 60px;
  background: rgba(var(--white-rgb), .965);
}

.site-modal[hidden] {
  display: none;
}

.site-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 35px 30px 0;
}

.site-modal-title {
  font-size: var(--h3-size);
  line-height: var(--heading-line-height);
  color: var(--heading);
}

.site-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--heading);
  transition: color .3s;
}

.site-modal-close:hover {
  color: var(--highlight);
}

.site-modal-close-svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.site-modal .container {
  margin-top: 100px;
}

.search-modal-form {
  display: flex;
}

.search-modal-input {
  flex: 1 1 auto;
  min-width: 0;
  height: 50px;
  margin: 0;
  padding: 7px 15px 9px 35px;
  border: 1px solid var(--highlight);
  border-right: 0;
  border-radius: 0;
  background: var(--white);
  color: var(--heading);
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
}

.search-modal-input::-webkit-search-decoration,
.search-modal-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.search-modal-input:focus,
.search-modal-input:focus-visible {
  outline: none;
  border-radius: 0;
}

.search-modal-submit {
  flex: 0 0 170px;
  height: 50px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: var(--highlight);
  color: var(--white);
  font-size: 1rem;
  transition: background-color .3s;
}

.search-modal-submit:hover {
  background: var(--heading);
}

@media (max-width: 991.98px) {
  .navbar-main {
    padding: 9px 0;
  }

  .site-modal .container {
    margin-top: 70px;
  }
}

@media (max-width: 767.98px) {
  .site-modal {
    padding-bottom: 30px;
  }

  .site-modal .container {
    margin-top: 30px;
  }

  .site-modal-head {
    padding: 15px 15px 0;
  }

  .search-modal-input {
    padding-left: 15px;
  }

  .search-modal-submit {
    flex-basis: 110px;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  margin-top: 42px;
  background: var(--white);
  color: var(--text-dark);
}

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

.footer .row {
  --bs-gutter-x: 30px;
}

.footer-inner {
  padding: 60px 0 0;
  border-top: 1px solid var(--footer-line);
}

.footer-col {
  margin-bottom: 30px;
}

.footer-title {
  margin: 0 0 20px;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

.footer-menu {
  margin: 0;
}

.footer-contact {
  margin: 0 0 .5rem;
}

.footer-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 36px;
}

.footer-tags .tag {
  font-size: .85rem;
  color: var(--text-dark);
}

.site-info {
  padding: 24px 0 30px;
  border-top: 1px solid var(--border);
  text-align: center;
}

@media (max-width: 767.98px) {
  .footer {
    margin-top: 2px;
  }

  .footer-inner {
    padding-top: 40px;
  }

  .footer-tags {
    gap: 6px 20px;
  }

  .site-info {
    padding: 20px 0;
  }
}

/* ==========================================================================
   Tags Block - Wide version
   ========================================================================== */
.tag {
    display: inline-block;
    padding: 0;
    color: var(--text-subtle);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    transition: color .3s;
    line-height: 1.75;
}

.tag:hover {
    color: var(--highlight-dark);
}


/* ==========================================================================
   Carousels (home): pages side by side, scrolled by arrows, dots or a swipe
   ========================================================================== */

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-page {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  border-left: 1px solid transparent;
  scroll-snap-align: start;
}

.carousel-arrows {
  display: flex;
  gap: 10px;
}

.carousel-prev,
.carousel-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--heading);
  transition: color .3s;
}

.carousel-prev:hover,
.carousel-next:hover {
  color: var(--highlight);
}

.carousel-arrow-svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-round);
  background: var(--border);
}

.carousel-dots button[aria-current="true"] {
  background: var(--highlight);
}

/* ==========================================================================
   Home (the WordPress composition: a left column of widgets, the main column, features)
   ========================================================================== */

.home-layout {
  padding-top: 30px;
}

.home-layout > .container > .row {
  --bs-gutter-x: 30px;
}

.home-box {
  background: var(--white);
}

.home-menu {
  padding: 22px 30px;
}

.home-menu a {
  display: block;
  padding: 5.5px 0;
  color: var(--heading);
}

.home-menu a:hover {
  color: var(--highlight);
}

.home-sale-banner,
.home-list-box,
.home-deal,
.home-testimonials {
  display: block;
  margin-top: 50px;
}

.home-sale-banner img,
.home-slide img,
.home-banner img,
.home-article-banner img,
.home-post img {
  display: block;
  width: 100%;
  height: auto;
}

/* Product lists: 4 products a page */
.home-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-list-title {
  margin: 0;
}

.home-list-item {
  display: flex;
  align-items: center;
  padding: 25px 0 20px;
  border-bottom: 1px solid var(--border-light);
  line-height: 24px;
}

.home-list-image {
  flex: 0 0 80px;
  margin-right: 20px;
}

.home-list-image img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.home-list-text {
  min-width: 0;
}

.home-list-name {
  display: block;
  color: var(--text-subtle);
}

.home-list-price {
  display: block;
  margin-top: 8px;
  color: var(--heading);
}

.home-list-plain .home-list-text {
  flex: 1 1 auto;
}

.home-list-facts {
  display: block;
  margin-top: 2px;
  font-size: .875rem;
  line-height: 1.4;
  color: var(--text);
}

/* price and its cart button on one line, so the button reads as part of its product */
.home-list-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-top: 8px;
}

.home-list-buy .home-list-price {
  margin-top: 0;
}

.home-list-cart {
  white-space: nowrap;
}

.home-list-stock {
  font-size: .875rem;
  color: var(--stock-out);
}

.home-list-box {
  padding: 25px 30px 10px;
  background: var(--white);
}

.home-list-box .home-list-title {
  font-size: var(--h5-size);
}

.home-list-section .home-list-head {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.home-list-section .home-list-title,
.home-section-title {
  font-size: var(--h3-size);
  text-transform: uppercase;
}

.home-list-plain .home-list-head {
  justify-content: center;
}

/* Flash Sale */
.home-deal {
  background: var(--white);
}

.home-deal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  background: var(--deal-bg);
}

.home-deal-head .carousel-prev,
.home-deal-head .carousel-next {
  background: var(--white);
}

.home-deal-title {
  margin: 0;
  font-size: var(--h5-size);
}

/* Testimonials */
.home-testimonials {
  padding: 50px 35px 30px;
  background: var(--highlight);
  color: var(--white);
  text-align: center;
}

.home-testimonial blockquote {
  margin: 0 0 25px;
  padding: 0;
  border: 0;
  color: var(--white);
}

.home-testimonial figcaption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  font-size: 1.25rem;
}

.home-testimonial img {
  width: 73px;
  height: 73px;
  border-radius: var(--radius-round);
}

.home-testimonials .carousel-dots button {
  background: rgba(var(--white-rgb), .5);
}

.home-testimonials .carousel-dots button[aria-current="true"] {
  background: var(--white);
}

/* Main column */
.home-slider {
  position: relative;
}

.home-slide {
  position: relative;
  display: block;
}

.home-slide-button {
  position: absolute;
  left: 50%;
  bottom: 40px;
  padding: 8px 24px;
  border: 1px solid var(--white);
  color: var(--white);
  font-family: var(--font-controls);
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: background-color .3s, color .3s;
}

.home-slide:hover .home-slide-button {
  background: var(--white);
  color: var(--heading);
}

.home-slider-arrow {
  position: absolute;
  bottom: 15px;
  width: 32px;
  height: 32px;
  border: 1px solid var(--white);
  background: rgba(var(--black-rgb), .2);
  color: var(--white);
}

.home-slider .carousel-prev {
  right: 52px;
}

.home-slider .carousel-next {
  right: 15px;
}

.home-section-title {
  margin: 40px 0 0;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-light);
}

.home-products {
  margin-top: 25px;
  padding: 20px 30px 10px;
}

.home-banner {
  position: relative;
  display: block;
  margin-top: 30px;
  overflow: hidden;
}

.home-banner img {
  transition: transform .5s;
}

.home-banner:hover img {
  transform: scale(1.04);
}

.home-banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 0 40px;
  color: var(--white);
  text-align: right;
}

.home-banner-left .home-banner-text {
  align-items: flex-start;
  padding-left: 60px;
  text-align: left;
}

.home-banner-title {
  font-size: 2.25rem;
  line-height: 1.2;
}

.home-banner-sub {
  border-bottom: 1px solid var(--white);
  line-height: 1.6;
}

.home-columns,
.home-banners,
.home-posts {
  --bs-gutter-x: 30px;
  margin-top: 30px;
}

.home-banners {
  margin-top: 20px;
}

.home-banners .home-banner-text {
  max-width: 100%;
}

.home-text {
  margin-top: 40px;
}

.home-text h1 {
  margin-bottom: 1rem;
}

.home-text h2 {
  margin: 2rem 0 1rem;
  font-size: var(--h3-size);
}

.home-text h3 {
  margin: 1.5rem 0 .5rem;
  font-size: var(--h5-size);
}

.home-post {
  display: block;
  height: 100%;
  padding-bottom: 25px;
  background: var(--white);
  text-align: center;
}

.home-post img {
  aspect-ratio: 1024 / 690;
  object-fit: cover;
}

.home-post-cat {
  display: block;
  margin: 20px 20px 8px;
  color: var(--text-subtle);
  font-size: .75rem;
  text-transform: uppercase;
}

.home-post-title {
  display: block;
  margin: 0 20px;
  color: var(--heading);
  font-size: var(--h5-size);
  line-height: 1.625;
}

.home-post:hover .home-post-title {
  color: var(--highlight);
}

/* Features */
.home-features {
  margin-top: 70px;
  padding: 40px 0 30px;
  background: var(--white);
}

.home-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 15px;
}

.home-feature-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  fill: var(--heading);
}

.home-feature h3 {
  margin: 0 0 9px;
  font-size: var(--h5-size);
}

.home-feature p {
  margin: 0;
  color: var(--text-subtle);
}

.home-article-banner {
  margin-top: 30px;
}

@media (max-width: 991.98px) {
  .home-main {
    margin-top: 50px;
  }
}

@media (max-width: 767.98px) {
  .home-banner-title {
    font-size: 1.25rem;
  }

  .home-banner-sub {
    font-size: .8125rem;
  }

  .home-banner-text {
    padding: 0 15px;
    gap: 4px;
  }

  .home-banner-left .home-banner-text {
    padding-left: 15px;
  }

  .home-slide-button {
    bottom: 15px;
    padding: 4px 14px;
    font-size: .8125rem;
  }

  .home-columns > *,
  .home-banners > *,
  .home-posts > * {
    margin-bottom: 30px;
  }

  .home-products {
    padding: 10px 15px;
  }
}

/* ==========================================================================
   Content pages (about, shipping, payment, faq, terms, disclaimer, returns, contact)
   ========================================================================== */

.content-page h2 {
  margin: 2.5rem 0 1rem;
  font-size: var(--h3-size);
}

.content-page h3,
.content-page h4 {
  margin: 1.5rem 0 .5rem;
  font-size: var(--h5-size);
}

.content-page :is(h2, h3, h4):first-child {
  margin-top: 0;
}

.content-section {
  margin-bottom: 2.5rem;
}

.content-section > :last-child,
.content-callout > :last-child {
  margin-bottom: 0;
}

.content-callout {
  margin-bottom: 1.5rem;
  padding: 1.3125rem 1.875rem;
  border-left: 2px solid var(--highlight);
  color: var(--heading);
}

.content-step {
  padding: .75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-round);
  background: var(--heading);
  color: var(--white);
  font-size: .875rem;
}

.content-feature {
  padding-top: 1.5rem;
  border-top: 2px solid var(--heading);
}

.content-feature-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.content-feature-link:hover h2 {
  color: var(--highlight);
}

.content-page [id] {
  scroll-margin-top: 1.5rem;
}

.content-cta {
  padding: 3rem 1.5rem;
  background: var(--heading);
  color: rgba(var(--white-rgb), .8);
}

.content-page .content-cta h2 {
  margin-top: 0;
  color: var(--white);
}

.content-cta-btn {
  background: var(--highlight);
  border-color: var(--highlight);
  color: var(--white);
}

.content-cta-btn:hover,
.content-cta-btn:focus-visible {
  background: var(--white);
  border-color: var(--white);
  color: var(--heading);
}

/* Blog */
/* Blog list, archives and posts (kable) */
.blog-intro { margin-bottom: 2.75rem; }
.blog-list-item + .blog-list-item { margin-top: 2.75rem; }
.blog-list-image { display: block; overflow: hidden; }
.blog-list-image img { display: block; width: 100%; height: auto; aspect-ratio: 570 / 315; object-fit: cover; transition: transform .48s; }
.blog-list-image:hover img { transform: scale(1.05); }
.blog-list-title { margin: 0 0 .5rem; font-size: var(--h5-size); font-weight: 400; line-height: var(--heading-line-height); }
.blog-list-title a { color: var(--heading); text-decoration: none; }
.blog-list-title a:hover { color: var(--highlight); }
.blog-list-excerpt { margin-bottom: .75rem; }
.read-more { position: relative; padding: .1875rem 0 .125rem; border-bottom: 1px solid var(--heading); color: var(--heading); text-decoration: none; }
.read-more:hover { border-bottom-style: dashed; color: var(--heading); }

.blog-single-image { display: block; }
.blog-post-meta { display: flex; justify-content: center; align-items: center; gap: 0 1.5rem; padding-top: 9px; font-size: .75rem; text-transform: uppercase; color: var(--text-subtle); }
.blog-post-meta a { color: var(--text-subtle); text-decoration: none; }
.blog-post-meta a:hover { color: var(--highlight); }
.blog-content { margin-top: 23px; }
.blog-content img { max-width: 100%; height: auto; border-radius: var(--radius-md); margin: 16px 0; }
.blog-content h2 { margin: 0; font-size: var(--h2-size); font-weight: 400; line-height: var(--heading-line-height); }
.blog-content h3 { margin: 0; font-size: var(--h3-size); font-weight: 400; line-height: var(--heading-line-height); }
.blog-content h4 { margin: 0; font-size: var(--h4-size); font-weight: 400; line-height: var(--heading-line-height); }
.blog-content p  { margin: 0 0 16px; }
.blog-content ul, .blog-content ol { margin: 0 0 16px; padding-left: 24px; }
.blog-content blockquote { border-left: 4px solid var(--highlight); padding: 8px 16px; color: var(--text-muted-dark); margin: 16px 0; }
.blog-content blockquote p:last-child { margin-bottom: 0; }
.blog-content figure { margin: 16px 0; }
.blog-post-footer { margin-top: 3.75rem; }
.blog-post-tags { margin: 0; }
.blog-post-tags-title { padding-right: .3125rem; color: var(--heading); }
.blog-post-tags a { color: var(--text-subtle); text-decoration: none; }
.blog-post-tags a:hover { color: var(--highlight); }
.blog-post-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.blog-post-nav a { display: inline-flex; align-items: center; color: var(--heading); text-decoration: none; }
.blog-post-nav a:hover { color: var(--highlight); }
.blog-post-nav a[rel=next] { margin-left: auto; }
.blog-post-nav-icon { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.blog-post-nav a[rel=prev] .blog-post-nav-icon { margin-right: .9375rem; }
.blog-post-nav a[rel=next] .blog-post-nav-icon { margin-left: .9375rem; }

.btn-icon-svg { width: 1.25em; height: 1.25em; fill: currentColor; vertical-align: -.25em; }

.blog-recent-posts { margin: 0; }
.blog-recent-posts li { position: relative; margin: 12.5px 0; padding-left: 1.875rem; }
.blog-recent-icon { position: absolute; left: 0; top: .3rem; width: 1rem; height: 1rem; fill: var(--text-subtle); }
.blog-recent-posts a { color: var(--text-subtle); text-decoration: none; }
.blog-recent-posts a:hover,
.blog-recent-posts a.active { color: var(--highlight); }

@media (max-width: 767.98px) {
  .blog-list-image { margin-bottom: 1rem; }
}
@media (max-width: 991.98px) {
  .blog-sidebar { margin-top: 3rem; }
}

/* Blog comments */
.blog-comments { margin-top: 2.5rem; }
.blog-comments-title { margin-bottom: 0; font-size: 1.5625rem; font-weight: 400; color: var(--heading); }
.blog-comment-list { margin: 0; padding-left: 0; list-style: none; }
.blog-comment { display: flex; align-items: flex-start; margin-top: 1.875rem; padding-bottom: 1.6875rem; border-bottom: 1px solid var(--border-light); }
.blog-comment-avatar { flex: 0 0 3.125rem; width: 3.125rem; height: 3.125rem; fill: var(--border); }
.blog-comment-avatar-figure { fill: var(--white); }
.blog-comment-text { flex: 1 1 auto; min-width: 0; padding-left: 1.25rem; }
.blog-comment-author { font-size: 1rem; text-transform: capitalize; color: var(--heading); }
.blog-comment-date { font-size: 0.75rem; }
.blog-comment-text p { margin: 0.875rem 0 1.25rem; }
.blog-comments-closed { margin: 1.875rem 0 0; padding: 0.875rem 1.25rem; border: 1px solid var(--border-light); border-radius: var(--radius-sm); }

@media (min-width: 768px) {
  .blog-comments { margin-top: 3.9375rem; }
}

/* Warning bar */
#warningBar {
  background: var(--warning);
  color: var(--heading);
  font-size: 0.85rem;
  position: relative;
  text-align: center;
  padding: 1rem 3rem 1rem 1rem;
}
#warningBar strong { color: var(--black); }
#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: var(--radius-round);
  width: 1.6rem;
  height: 1.6rem;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: var(--heading);
  padding: 0;
}
#warningBar button:hover {
  background-color: rgba(var(--black-rgb), 0.12);
  border-color: rgba(var(--black-rgb), 0.7);
}

/* ==========================================================================
   Mobile header fixes
   ========================================================================== */

@media (min-width: 992px) {
  .navbar-collapse {
    order: 2;
    flex-grow: 1;
  }
  .navbar-mobile-controls {
    order: 3;
  }
}

.tab-content img,
.catalog-description img { max-width: 100%; height: auto; }
.tab-content table { max-width: 100%; display: block; overflow-x: auto; }

/* Product page */

.product-title {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: var(--heading-line-height);
}

.product-short-description {
  margin-top: 11px;
}

.product-short-description b,
.product-short-description strong {
  color: inherit;
}

.product-detail-price {
  margin: 47px 0 15px;
  color: var(--price-color);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1.75rem;
}

.product-detail-price .old-price {
  margin: 0 8px 0 0;
  font-size: 1.5rem;
}

.product-detail-actions {
  margin-top: 35px;
}

.product-stock.out-of-stock {
  margin: 35px 0 0;
  color: var(--stock-out);
}

.product-meta {
  margin-top: 28px;
}

.product-meta-line {
  display: block;
  padding: 14px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.product-meta-line + .product-meta-line {
  border-top: 0;
}

.product-meta-line a {
  color: var(--text-subtle);
}

.product-meta-line a:hover {
  color: var(--highlight);
}

.product-qty {
  height: 50px;
  border: 1px solid var(--border-light);
}

.product-qty .btn,
.product-qty .form-control {
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--heading);
  font-size: 1.125rem;
  font-weight: 400 !important;
}

.product-qty .btn {
  font-family: Arial, sans-serif;
}

.product-qty .btn:hover {
  color: var(--highlight);
}

.product-qty .form-control:focus {
  box-shadow: none;
}

.product-detail-actions .js-add-to-cart {
  height: 50px;
  font-family: var(--font-controls);
  font-size: 1rem;
  padding-left: 30px !important;
  padding-right: 30px !important;
}

/* Product tabs */

#productTabs {
  justify-content: center;
  gap: 0 1.875rem;
  border-bottom: 0;
}
#productTabs .nav-link {
  padding: 0 0 .25rem;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: none;
  color: var(--text-subtle);
}
#productTabs .nav-link:hover {
  color: var(--highlight);
}
#productTabs .nav-link.active {
  color: var(--heading);
  border-bottom-color: var(--heading);
}

.product-tabs {
  padding-top: 65px;
  border-top: 1px solid var(--border-light);
}

.product-tabs-content > .tab-pane {
  margin-top: 23px;
  padding-top: 39px;
}

#description > p {
  padding: 0 50px;
}

#description > ul,
#description > ol {
  margin-left: 50px;
  margin-right: 50px;
}

#ingredients,
#reviews {
  padding-left: 50px;
  padding-right: 50px;
}

.tab-content .product-attributes {
  display: table;
  width: 100%;
  margin: 4px 0 28px;
  border-collapse: collapse;
  border-top: 1px solid var(--border-light);
}

.product-attributes th,
.product-attributes td {
  padding: 10px 15px 11px;
  border: 0;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.product-attributes th {
  width: 46%;
  text-align: right;
  font-weight: 500;
  color: var(--heading);
}

.product-attributes td {
  text-align: left;
  color: var(--text);
}

.product-reviews-title {
  margin-bottom: 3px;
  font-size: 1.25rem;
}

.product-reviews-empty {
  margin-bottom: 43px;
}

@media (max-width: 991.98px) {
  .product-tabs {
    padding-top: 30px;
  }

  .product-tabs-content > .tab-pane {
    margin-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 767.98px) {
  #description > p {
    padding: 0;
  }

  #description > ul,
  #description > ol {
    margin-left: 0;
    margin-right: 0;
  }

  #ingredients,
  #reviews {
    padding-left: 0;
    padding-right: 0;
  }
}

.related-title {
  margin-bottom: 3.125rem;
  font-size: 2.25rem;
  text-align: center;
}

@media (max-width: 420px) {
  #productTabs .nav-link {
    padding-left: 0.45rem;
    padding-right: 0.45rem;
    font-size: 0.85rem;
  }
}

/* ──────────────────────────────────────────────
   footer: long unbreakable strings
─────────────────────────────────────────────── */

.footer-contact a,
footer a[href^="mailto:"],
footer a[href^="http"] {
  overflow-wrap: anywhere;
}

/* The order total is the one number a buyer looks for: same heading colour on the cart and on
   the checkout, where it used to inherit two different greys. */
.js-cart-total {
  color: var(--heading);
}

/* Skip link: the first Tab stop, shown only while focused */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1080;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--heading);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(var(--black-rgb), 0.18);
}

/* Free-shipping note under the Shipping line (cart, checkout summary) */
.freeship-progress {
  padding: 0.5rem 0.75rem;
  background: var(--page-bg);
  border-radius: var(--radius-md);
  color: var(--text);
}

.freeship-progress .fa-truck {
  color: var(--highlight);
}

.freeship-progress strong {
  color: var(--heading);
}

/* Cart and checkout in the kable look: flat boxes, dark titles, grey remove links */
.checkout-card {
  border: 1px solid var(--border-light);
  box-shadow: none;
}

.checkout-card .card-title {
  color: var(--heading);
  font-size: var(--h5-size);
}

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

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

.cart-remove:hover {
  color: var(--highlight);
}

/* ===== Order pages: thank-you and failed payment ===== */
.order-notice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.order-notice-icon {
  color: var(--accent);
  font-size: var(--h3-size);
  line-height: 1.2;
}

.order-notice-failed {
  border-left-color: var(--danger);
}

.order-notice-failed .order-notice-icon {
  color: var(--danger);
}

.order-overview {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.order-overview li {
  padding: .25rem 1.875rem;
  border-right: 1px dashed var(--border);
  font-size: .75rem;
  text-transform: uppercase;
}

.order-overview li:first-child {
  padding-left: 0;
}

.order-overview li:last-child {
  border-right: 0;
}

.order-overview strong {
  display: block;
  margin-top: .25rem;
  color: var(--heading);
  font-size: var(--h6-size);
  text-transform: none;
}

.order-item-title {
  font-size: var(--h6-size);
}

.order-info dt {
  color: var(--heading);
  font-weight: 500;
}

.order-info dd {
  margin-bottom: 1rem;
}

.order-info dd:last-child {
  margin-bottom: 0;
}

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

@media (max-width: 767.98px) {
  .order-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }

  .order-overview li {
    padding: .75rem 0;
    border-right: 0;
    border-bottom: 1px dashed var(--border);
  }
}

/* ===== 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: var(--radius-round);
  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);
  }
}

/* Product page: quantity stepper next to Add to Cart (1..99, site.js sends it) */
.product-qty { width: 150px; flex-shrink: 0; }
/* Phones: the stepper and the button stay on one row, the button takes the rest of it */
@media (max-width: 575.98px) {

  .footer-partner {
    font-size: .8125rem;
  }

  .page-item.prev .page-link, .page-item.next .page-link {
    min-width: 40px;
  }

  .page-item:not(.prev):not(.next):not(.active):not(:nth-child(-n+3)):not(:nth-last-child(-n+3)) {
    display: none;
  }

  .qty-input {
    width: 120px !important;
  }

  .qty-input input[type="number"] {
    font-size: 1rem;
    padding: 0.5rem 0.25rem;
  }

  .qty-input .btn {
    width: 35px;
  }

  .error-code {
    font-size: 6rem;
  }

  .error-title {
    font-size: 2rem;
  }

  .blog-comment-avatar {
    flex-basis: 2.5rem; width: 2.5rem; height: 2.5rem;
  }

  .product-detail-actions { flex-wrap: nowrap !important; gap: .75rem !important; }
  .product-detail-actions .product-qty { width: 130px; }
  .product-detail-actions .js-add-to-cart { flex: 1 1 auto; min-width: 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; }

/* Product tabs collapse into an accordion on mobile (headers injected by JS) */
@media (max-width: 991.98px) {

  .custom-dropdown .dropdown-item {
    padding: 12px 20px;
  }

  .profile-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    min-height: auto;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 2px;
    width: 100%;
  }

  .navbar-nav .nav-link {
    width: 100%;
    text-align: left;
    padding: 12px 20px;
  }

  #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: 400;
    color: var(--text-subtle);
    cursor: pointer;
  }
  .tab-accordion-header .acc-chevron {
    flex: none;
    width: 9px;
    height: 9px;
    margin-left: 0.75rem;
    border-right: 2px solid var(--gray-mid);
    border-bottom: 2px solid var(--gray-mid);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }
  #productTabsContent > .tab-accordion-header { display: flex; }
  #productTabsContent > .tab-accordion-header:first-child { border-top: 0; }
  .tab-accordion-header .acc-chevron { display: inline-block; }
  .tab-accordion-header.active { color: var(--heading); }
  .tab-accordion-header.active .acc-chevron { transform: rotate(-135deg); border-color: var(--heading); }
  #productTabsContent > .tab-pane { display: none !important; }
  #productTabsContent > .tab-pane.acc-open { display: block !important; opacity: 1; padding: 0 0 1.1rem; }
}

/* Description callouts ("See info about ...") and tables: product and category texts */
#description blockquote,
.catalog-description blockquote {
  margin: 1.5rem 0;
}

#description blockquote p:last-child,
.catalog-description blockquote p:last-child {
  margin-bottom: 0;
}

#description table,
.catalog-description table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

#description th,
#description td,
.catalog-description th,
.catalog-description td {
  border: 1px solid var(--border-light);
  padding: 0.9375rem;
}

/* ==========================================================================
   Breadcrumbs and page title band
   ========================================================================== */

.breadcrumb {
  --bs-breadcrumb-divider: '\203A';
  --bs-breadcrumb-divider-color: var(--text);
  --bs-breadcrumb-item-active-color: var(--text);
}

.page-header {
  position: relative;
  z-index: 1;
  margin-bottom: -24px;
  padding: 24px 0 22px;
  text-align: center;
}

.page-header h1 {
  margin: 0;
  font-size: 3rem;
  line-height: 1.2;
}

.page-header .breadcrumb {
  justify-content: center;
  padding: 4.5px 0 0 2px;
}

.page-header-post h1 {
  font-size: var(--h2-size);
  line-height: var(--heading-line-height);
}

.page-header-pattern,
.page-header-post,
.page-header-crumbs {
  background: var(--topbar-bg) radial-gradient(var(--border) 1.1px, transparent 1.4px) 0 0 / 18px 18px;
}

.page-header-crumbs {
  padding: 14px 0;
}

.page-header-crumbs .breadcrumb {
  padding: 0;
}

.page-lede {
  margin: 0;
  text-align: center;
}

@media (max-width: 767.98px) {
  .page-header {
    padding: 18px 0 16px;
  }

  .page-header-crumbs {
    padding: 10px 0;
  }

  .page-header h1 {
    font-size: var(--h2-size);
  }

}

/* ==========================================================================
   Bootstrap components in theme colours (no Bootstrap blue in pressed, focus or checked states)
   ========================================================================== */

.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: var(--heading);
  box-shadow: 0 0 0 1px var(--heading);
}

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

.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-dark);
}

/* ==========================================================================
   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-sm);
}

/* Reduced motion for vestibular disorders */
@media (prefers-reduced-motion: reduce) {

  .checkout-page .btn-primary[data-checkout-guard]::before {
    animation: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .product-card:hover {
    transform: none;
  }
}

/* ===== Touch targets on phones (44px) ===== */
@media (max-width: 767.98px) {

  .navbar-main .navbar-brand {
    flex: 1 1 0%;
    min-width: 0;
  }

  .navbar-main .navbar-brand img {
    max-height: 50px;
    max-width: min(100%, 300px);
    width: auto;
    height: auto;
  }

  #productTabs {
    flex-wrap: nowrap;
  }

  #productTabs .nav-link {
    white-space: nowrap;
  }

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

  .catalog-grid {
    --bs-gutter-x: 15px;
    --bs-gutter-y: 15px;
  }

  .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;
  }
}
