/** Shopify CDN: Minification failed

Line 6:1 Unexpected "@charset"

**/
p@charset "UTF-8";

/*================ COMMON ================*/
/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
  ========================================================================== */

/**
  * 1. Correct the line height in all browsers.
  * 2. Prevent adjustments of font size after orientation changes in
  *    IE on Windows Phone and in iOS.
  */

html {
  line-height: 1.15;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

body {
  font-family: "Figree", sans-serif;
}

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

/* Custom Fonts */

p {
  font-weight: 400;
  /* ; */
  /* line-height: 30px; */
  /* letter-spacing: 0.1em; */
}

h1 {
  margin: 0;
}

h3 {
  margin-top: 0;
  /* letter-spacing: 0.1em; */
}

.hide {
  display: none !important;
}

input,
textarea,
select {
  border: 1px solid #f6f6f6;
  border-radius: 0;
  max-width: 100%;
}

/* Custom Fonts */

/* Sections
========================================================================== */

/**
* Remove the margin in all browsers (opinionated).
*/

body {
  margin: 0;
}

/**
* Add the correct display in IE 9-.
*/

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/

/* Grouping content
========================================================================== */

/**
* Add the correct display in IE 9-.
* 1. Add the correct display in IE.
*/

figcaption,
figure,
main {
  /* 1 */
  display: block;
}

/**
* Add the correct margin in IE 8.
*/

figure {
  margin: 1em 40px;
}

/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
========================================================================== */

/**
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
*/

a {
  background-color: transparent;
  /* 1 */
  -webkit-text-decoration-skip: objects;
  /* 2 */
}

/**
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
*/

b,
strong {
  font-weight: inherit;
}

/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
* Add the correct font style in Android 4.3-.
*/

dfn {
  font-style: italic;
}

/**
* Add the correct background and color in IE 9-.
*/

mark {
  background-color: #ff0;
  color: #000;
}

/**
* Add the correct font size in all browsers.
*/

/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
========================================================================== */

/**
* Add the correct display in IE 9-.
*/

audio,
video {
  display: inline-block;
}

/**
* Add the correct display in iOS 4-7.
*/

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
* Remove the border on images inside links in IE 10-.
*/

img {
  border-style: none;
}

/**
* Hide the overflow in IE.
*/

svg:not(:root) {
  overflow: hidden;
}

/* Forms
========================================================================== */

/**
* 1. Change the font styles in all browsers (opinionated).
* 2. Remove the margin in Firefox and Safari.
*/

/* button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
} */

/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/

button,
input {
  /* 1 */
  overflow: visible;
}

/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/

button,
select {
  /* 1 */
  text-transform: none;
}

/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
*    controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
*/

button,
html [type="button"],
/* 1 */
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
}

/**
* Remove the inner border and padding in Firefox.
*/

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
* Restore the focus styles unset by the previous rule.
*/

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
}

/**
* Correct the padding in Firefox.
*/

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
*    `fieldset` elements in all browsers.
*/

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
* 1. Add the correct display in IE 9-.
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/

progress {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

/**
* Remove the default vertical scrollbar in IE.
*/

textarea {
  overflow: auto;
}

/**
* 1. Add the correct box sizing in IE 10-.
* 2. Remove the padding in IE 10-.
*/

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
*/

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
========================================================================== */

/*
* Add the correct display in IE 9-.
* 1. Add the correct display in Edge, IE, and Firefox.
*/

details,
/* 1 */
menu {
  display: block;
}

/*
* Add the correct display in all browsers.
*/

summary {
  display: list-item;
}

/*================ Slate specific reset ================*/
*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0.3;
}

body,
input,
textarea,
button,
select {
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

a:focus {
  color: inherit;
}

img {
  max-width: 100%;
}

/*================ Form element helpers ================*/
form {
  margin: 0;
}

button,
input[type="submit"],
label[for] {
  cursor: pointer;
}

/* hide outline on focus for elements which are given focus by JS */
[tabindex="-1"]:focus {
  outline: none;
}

/*============================================================================
Fast Tap
enables no-delay taps (FastClick-esque) on supporting browsers
==============================================================================*/
a,
button,
[role="button"],
input,
label,
select,
textarea {
  touch-action: manipulation;
}

/*================ General layout styles ================*/

/* Start Page General */
body,
html {
  background-color: #ffffff;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  padding: 0;
}

.row {
  display: flex;
}

.col {
  position: relative;
  flex-basis: 0;
  flex-grow: 1;
}

button {
  display: inline-block;
  padding: 0;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  position: relative;
  border: none;
  background: 0 0;
  transition: 0.4s all;
}

.rte li {
  list-style: unset;
}

span.hidden {
  display: none;
}

#faqs-page {
  padding-bottom: 4rem;
}

/* End Page General */

/*============================================================================
Website Style Kit
- General styles across the website from the website style kit figma page
==============================================================================*/
/*================ Button Style Kit - Purchasing Buttons ================*/

.secondary-btn,
.primary-btn,
.quaternary-btn,
.outline-btn {
  font-family: var(--body-font-family);
  min-width: 154px;
  min-height: 48px;
  padding: 0 12px;
  font-weight: 400;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  line-height: var(--body-line-height);
  letter-spacing: var(--body-letter-spacing);
  transition: var(--button-transition-duration);
}

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

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

.secondary-btn:focus-visible {
  color: var(--secondary-foreground);
}

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

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

.primary-btn:focus-visible {
  color: var(--primary-foreground);
}

.quaternary-btn {
  background: var(--quaternary);
  color: var(--quaternary-foreground);
}

.quaternary-btn:hover,
.quaternary-btn.hover {
  background: var(--quaternary-hover);
}

.quaternary-btn:focus-visible {
  color: var(--quaternary-foreground);
}

.outline-btn {
  border: 1px solid var(--divider-color);
  color: var(--background-foreground);
  background: transparent;
}

/*================ End of Button Style Kit - Purchasing Buttons ================*/

/*============================================================================
Website Shared Styles
- Styles for elements shared across pages
==============================================================================*/

@media (min-width: 1280px) {
  .hero-content h1,
  .hero-content h3,
  .hero-content p {
    width: 100%;
    margin-bottom: 12px;
  }

  .hero-content p {
    margin-top: 0;
  }
}

/*end of Website Shared Styles */

/* Start Nav-logo styling  */

.navbar-logo path {
  fill: var(--neutral-foreground);
  transition: fill 0.1s ease-in-out;
}

.top-of-page .navbar-logo path {
  transition: fill 0.1s ease-in-out;
  fill: white;
}

/* .top-of-page:hover .navbar-logo path {
  fill: var(--background-foreground) !important;
} */

a.navbar-logo {
  width: fit-content;
  font-size: 24px;
  line-height: 0;
  transform: translateY(8px);
}

@media screen and (max-width: 1023px) {
  .top-of-page:hover .navbar-logo path {
    fill: white !important;
  }

  a.navbar-logo {
    position: absolute;
    left: 50%;
    top: -25%;
    transform: translateX(-50%) translateY(4px);
  }
}

@media (max-width: 767px) {
  a.navbar-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    top: -25%;
  }

  .top-of-page .navbar-logo > svg {
    height: 30px;
  }

  .top-of-page .mobile-nav-icons > .mobile-location-icon {
    display: none;
  }

  .top-of-page .navbar-logo path {
    fill: white;
  }

  .top-of-page:hover .navbar-logo path {
    fill: white !important;
  }
}

/* End Nav-logo styling */

/* Start Navbar styling */

.dropdown-content .dropdown-article-title {
  margin: 0;
  font-weight: 600;
}

.dropdown-content .dropdown-article-title.above-svg {
  font-weight: unset;
}

.navbar a:not(.dropdown-article-button):hover {
  /* text-decoration: underline; */
  opacity: 0.7;
}

.dropdown-article-title {
  font-weight: 600;
  font-size: var(--heading-5);
}

.dropdown-content a {
  margin-top: 0;
  margin-bottom: 0;
}

.navbar {
  background-color: var(--background);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 998;
  transition:
    transform 0.3s ease-in-out,
    background-color 0.2s ease-in-out,
    top 0.3s ease-in-out;
  padding: 12px var(--side-padding) 10px;
  height: auto;
  overflow: visible;
}

.top-of-page {
  background-color: transparent;
  color: white !important;
}

.nav-icon {
  border: none;
}

/* Normalize icon sizing so row height stays compact */
.navbar .nav-icon svg {
  height: 18px;
  width: 18px;
  /* width: auto; */
}

/* Desktop navbar search bar */
.navbar-search {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: 42px;
  min-width: 42px;
  height: 40px;
  padding: 6px 6px 6px 12px;
  background: rgba(var(--secondary-rgb, 145, 145, 145), 0.2);
  color: white;
  font-weight: 400;
  position: relative;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    width 0.25s ease,
    padding 0.25s ease,
    gap 0.25s ease;
}

.navbar-search-icon {
  z-index: 9;
}

.navbar-search-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.navbar-search path {
  fill: white;
  transition: fill 0.2s ease;
}

.navbar-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: white;
  font-size: var(--body-text);
  line-height: 1;
  min-width: 0;
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    max-width 0.25s ease;
}

.navbar-search-input::placeholder {
  color: rgba(255, 255, 255, 1);
}

.navbar-search:hover {
  background: rgba(145, 145, 145, 0.35);
  color: white;
}

.navbar-search:hover .navbar-search-input {
  color: white;
}

.navbar-search:hover .navbar-search-input::placeholder {
  color: rgba(255, 255, 255, 1);
}

.navbar-search:hover path {
  fill: white;
}

/* Keep search colors in sync with navbar active states */
.navbar.search-open .navbar-search,
.navbar:has(.dropdown-content[style*="display: block"]) .navbar-search {
  width: 320px;
  padding: 6px 12px;
  gap: 10px;
  background: var(--secondary, rgba(145, 145, 145, 1));
  color: var(--neutral-foreground);
}

.navbar.search-open .navbar-search-input,
.navbar:has(.dropdown-content[style*="display: block"]) .navbar-search-input {
  color: var(--neutral-foreground);
  max-width: 100%;
  opacity: 1;
  pointer-events: auto;
}

.navbar.search-open .navbar-search-input::placeholder,
.navbar:has(.dropdown-content[style*="display: block"])
  .navbar-search-input::placeholder {
  color: var(--background-foreground) !important;
}

.navbar:not(.top-of-page) .navbar-search path,
.navbar.search-open .navbar-search path,
.navbar:has(.dropdown-content[style*="display: block"]) .navbar-search path {
  fill: var(--neutral-foreground);
}

.top-of-page .navbar-search {
  background: rgba(145, 145, 145, 0.2);
}

/* .top-of-page .navbar-search::after,
.top-of-page .navbar-search path {
  color: var(--neutral-foreground);
  fill: var(--neutral-foreground) !important;
} */

.top-of-page .nav-item,
.top-of-page .nav-item a,
.top-of-page .navbar-link,
.top-of-page .navbar-right .nav-icon,
.top-of-page .navbar-right .nav-icon svg {
  color: white !important;
}

.top-of-page .nav-icon path,
.top-of-page .navbar-logo path {
  fill: white !important;
}

.top-of-page.dropdown-open {
  background-color: var(--background);
  color: var(--background-foreground);
}

.top-of-page.dropdown-open .nav-item,
.top-of-page.dropdown-open .nav-item a,
.top-of-page.dropdown-open .navbar-link,
.top-of-page.dropdown-open .navbar-right .nav-icon,
.top-of-page.dropdown-open .navbar-right .nav-icon svg {
  color: var(--background-foreground) !important;
}

.top-of-page.dropdown-open .nav-icon path,
.top-of-page.dropdown-open .navbar-logo path {
  fill: var(--background-foreground) !important;
}

.navbar-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.navbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.navbar-top-left,
.navbar-top-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.navbar-top-right {
  justify-content: flex-end;
}

.navbar-top-center {
  display: flex;
  justify-content: center;
}

.navbar-bottom {
  display: none;
}

.navbar-links {
  display: flex;
  height: fit-content;
  gap: 12px;
}

.navbar-links-right {
  justify-content: flex-end;
}

@media (min-width: 1024px) {
  .navbar-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 24px;
    padding-bottom: 2px;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.25); */
  }

  /* When navbar background turns white, keep the top border visible */
  /* .navbar:hover .navbar-top, */
  .navbar.search-open .navbar-top,
  .navbar:has(.dropdown-content[style*="display: block"]) .navbar-top {
    border-bottom-color: transparent;
  }

  .navbar-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding-top: 0px;
  }

  .navbar-links-left,
  .navbar-links-right {
    flex: 1;
  }

  .navbar-links-left {
    justify-content: flex-start;
  }

  .navbar-links-right {
    justify-content: flex-end;
  }

  .navbar-links-left .nav-item:first-child {
    padding-left: 0;
  }

  .navbar-links-right .nav-item:last-child,
  .navbar-links > .navbar-link:last-child {
    padding-right: 0;
  }
}

.nav-item {
  color: var(--neutral-foreground);
  height: auto;
  padding: 0 18px;
  position: relative;
}

.nav-item {
  color: var(--neutral-foreground);
  /* max-width: 150px; */
  height: 100%;
  padding: 0 25px;
  position: relative;
}

.top-of-page .nav-item {
  color: white;
}

/* .navbar.search-open .nav-link,
.navbar:has(.dropdown-content[style*="display: block"]) .nav-link,
.top-of-page .navbar-links div.nav-link {
  color: var(--background-foreground) !important;
} */

/* .top-of-page .nav-icon path {
  fill: white;
} */

.nav-item:hover {
  cursor: default;
}

.nav-item::after {
  content: "";
  position: absolute;
  pointer-events: none;
  bottom: -11px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--background-foreground);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-item:hover::after,
.nav-item:has(.dropdown-content[style*="display: block"])::after {
  opacity: 1;
}

.nav-item .navbar-link {
  display: block;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 0;
  white-space: nowrap;
  text-decoration: none;
}

.navbar-links > .navbar-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 25px;
  white-space: nowrap;
  color: var(--neutral-foreground);
  text-decoration: none;
}

.navbar-links > .navbar-link:hover {
  opacity: 0.75;
  color: inherit;
}

.top-of-page .navbar-links > .navbar-link {
  color: white;
}

.nav-item .navbar-link:hover {
  opacity: 0.75;
  color: inherit;
}

/* .navbar.search-open .nav-item .navbar-link:hover,
.navbar:has(.dropdown-content[style*="display: block"])
  .nav-item
  .navbar-link:hover,
.navbar.search-open .navbar-links > .navbar-link:hover,
.navbar:has(.dropdown-content[style*="display: block"])
  .navbar-links
  > .navbar-link:hover {
  color: var(--background-foreground);
} */

.navbar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.navbar-right .nav-icon,
.navbar-right .nav-icon svg {
  width: 20px;
  height: 20px;
}

.navbar-right .nav-icon path {
  transition: fill 0.2s ease-in-out;
  fill: var(--neutral-foreground);
}

.top-of-page .navbar-right .nav-icon path {
  fill: var(--primary-foreground);
}

.navbar--hidden {
  /* transform: translateY(-100%); */
  top: calc(var(--navbar-height) * -1);
}

.dropdown-content {
  display: none;
  position: fixed;
  min-height: var(--navbar-dropdown-height);
  height: fit-content;
  max-height: calc(100vh - var(--navbar-height, 93px));
  left: 0;
  right: 0;
  max-width: 100vw;
  box-sizing: border-box;
  background-color: var(--background);
  padding: 1.5rem var(--side-padding) 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-top: 1px solid var(--divider-color);
  cursor: default;
  flex-direction: column;
  overflow: hidden;
}

@media screen and (max-width: 1200px) {
  .dropdown-content {
    overflow: hidden;
  }
  .navbar .dropdown-container {
    min-width: 0;
    max-width: 100%;
  }
}

.dropdown-content[style*="display: block"] {
  display: flex !important;
}

.dropdown-footer {
  background-color: var(--neutral);
  margin-top: auto;
  margin-left: calc(var(--side-padding) * -1.2);
  margin-right: calc(var(--side-padding) * -1.2);
  padding: 1rem calc(var(--side-padding) * 1.2);
  width: calc(100% + var(--side-padding) * 2.4);
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.dropdown-footer .icons-socials {
  margin-top: 4px;
}

.navbar .dropdown-container {
  width: 100%;
  max-width: min(var(--max-width), 100vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding-bottom: 1.5rem;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
}

/* @media screen and (max-width: 1400px) {
  .navbar .dropdown-container {
    grid-template-columns: 1fr 244px;
  }

  .dropdown-article {
    display: none !important;
  }
} */

.dropdown-discover-container {
  display: flex;
  justify-content: space-between;
  width: calc(100% - 244px);
  gap: 2rem;
  max-width: var(--max-width);
  /* margin: 0 auto; */
  /* padding-left: calc(128px + 50px); */
}

.dropdown-discover-container > div:first-child {
  display: none;
}

.dropdown-article-wrapper {
  flex: 1;
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  margin-left: auto;
  min-height: 0;
}

/* When only one article, let it take the space of both articles */
.dropdown-article-wrapper .dropdown-article:only-child,
.dropdown-article-wrapper .dropdown-article.full-width {
  width: calc(500px + 2rem); /* 2 articles (400px each) + gap */
  max-width: calc(30vw);
  min-width: 300px;
  max-height: 100%;
}

.dropdown-split-columns .dropdown-article-wrapper .dropdown-article:only-child,
.dropdown-split-columns .dropdown-article-wrapper .dropdown-article.full-width {
  width: calc(500px + 2rem); /* 2 articles (400px each) + gap */
  max-width: calc(18vw);
  max-height: 460px;
  background-color: transparent;
  padding: 0;
}

/* Nav dropdown articles: secondary background at 50% opacity */
.navbar .dropdown-content .dropdown-article {
  background-color: color-mix(in srgb, var(--secondary) 50%, transparent);
  padding: 1.5rem;
}

.dropdown-article-wrapper .article-2.hidden {
  display: none !important;
}

.dropdown-article {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dropdown-article {
  max-height: 100%;
}

.dropdown-article-text > .dropdown-article-title,
.dropdown-article-text > p,
.dropdown-article-button-wrapper,
.dropdown-article-image-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.dropdown-article-image-link--no-link {
  pointer-events: none;
  cursor: default;
}

.dropdown-article-image {
  opacity: 0;
  /* transition: opacity 0.15s ease !important; */
}

.article-fade-out {
  opacity: 0 !important;
  /* transition: opacity 0.15s ease !important; */
}

.article-fade-in {
  opacity: 1 !important;
  /* transition: opacity 0.15s ease !important; */
}

/* 
.dropdown-article-image.article-fade-out,
.dropdown-article-image.article-fade-in {
  transition: opacity 0.15s ease !important;
} */

.navbar .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, auto));
  gap: 3rem;
  row-gap: 2.5rem;
  width: fit-content;
  height: fit-content;
  margin: 0;
}

.dropdown-discover-container .product-grid {
  grid-template-columns: repeat(4, minmax(0px, auto));
}

.dropdown-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.learn-section {
  width: 250px;
  margin-left: auto;
}

.dropdown-section .dropdown-section-header {
  margin: 0;
  font-weight: 600;
  position: relative;
  transition: 0.3s ease;
  text-decoration: none;
  color: inherit;
  line-height: var(--body-line-height);
}

.dropdown-section .dropdown-section-header::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* .dropdown-section .dropdown-section-header.hovered,
.dropdown-section .dropdown-section-header.selected {
  color: var(--background-foreground);
  opacity: 0.5;
} */

.dropdown-section .dropdown-section-header::after {
  display: none;
}

.dropdown-section .dropdown-section-header.animating::after {
  transform: scaleX(1);
}

.dropdown-section a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.dropdown-section a::after {
  display: none;
}

/* ========================================
   Category-based Dropdown Layout
   ======================================== */

/* Override dropdown container for new three-column layout – content aligned left */
.navbar .dropdown-container {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: flex-start;
}

.dropdown-primary-column {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 220px;
  max-width: 250px;
  flex-shrink: 0;
}

.dropdown-category-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.dropdown-category-group:not(:first-child) {
  margin-top: 0.75rem;
}

.dropdown-category-header {
  display: block;
}

.dropdown-category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--background-foreground);
  text-decoration: none;
  transition: opacity 0.2s ease;
  font-size: var(--body-size);
  line-height: var(--body-line-height);
  white-space: nowrap;
}

.dropdown-category-link:hover {
  opacity: 0.7;
}

.dropdown-category-link.active {
  opacity: 0.7;
}

.dropdown-category-link.has-children {
  cursor: pointer;
}

.category-link-arrow {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.45;
}

.category-link-arrow svg {
  width: 10px;
  height: 10px;
}

/* Secondary column for child links – collapsed when inactive so content stays left; slides open when active */
.dropdown-secondary-column {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 0;
  min-width: 0;
  padding-left: 0;
  margin-left: 0;
  border-left: 2px solid transparent;
  flex-shrink: 0;
  align-self: stretch;
  overflow: hidden;
  transition: width 0.25s ease, padding-left 0.25s ease, margin-left 0.25s ease, border-left-color 0.2s ease;
}

.dropdown-secondary-column.active {
  width: 300px;
  min-width: 300px;
  padding-left: 2rem;
  margin-left: 1rem;
  border-left-color: color-mix(in srgb, var(--divider-color) 34%, transparent);
}

.dropdown-secondary-column .dropdown-secondary-links {
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
  transition: opacity 0.2s ease, visibility 0.2s ease, top 0.2s ease;
}

.dropdown-secondary-column.active .dropdown-secondary-links {
  opacity: 1;
  visibility: visible;
}

/* Closing state: links fade out before column collapses */
.dropdown-secondary-column.closing .dropdown-secondary-links {
  opacity: 0;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  transition-delay: 0s;
}

/* Fade out/in animations for switching between parent links */
.dropdown-secondary-column.active .dropdown-secondary-links.fading-out {
  opacity: 0;
  transition: opacity 0.12s ease;
}

.dropdown-secondary-column.active .dropdown-secondary-links.fading-in {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.dropdown-split-secondary-spacer {
  height: 18px;
  flex-shrink: 0;
  transition: height 0.2s ease;
}

.dropdown-secondary-spacer {
  height: 26px;
  flex-shrink: 0;
  transition: height 0.2s ease;
}

.dropdown-secondary-links {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dropdown-secondary-links a {
  display: block;
  padding: 2px 0;
  color: var(--background-foreground);
  text-decoration: none;
  transition: opacity 0.2s ease;
  font-size: var(--body-font-size);
  line-height: var(--body-line-height);
  white-space: nowrap;
}

.dropdown-secondary-links a:hover {
  opacity: 0.7;
}

/* Responsive adjustments for category dropdown */
@media screen and (max-width: 1024px) {
  .navbar .dropdown-container {
    gap: 2rem;
  }
  
  .dropdown-primary-column {
    max-width: 200px;
  }
  
  .dropdown-secondary-column {
    width: 180px;
    padding-left: 1.5rem;
  }
}

@media screen and (max-width: 900px) {
  .dropdown-primary-column {
    max-width: 180px;
  }
  
  .dropdown-secondary-column {
    width: 160px;
    padding-left: 1rem;
  }
}

/* ========================================
   Split layout (Switches & Sockets: two columns, each with links + article)
   ======================================== */
.navbar .dropdown-container .dropdown-split-columns {
  --col-open-duration: 0.6s;
  --col-open-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --col-close-duration: 0.75s;
  --col-close-ease: cubic-bezier(0.4, 0, 0, 0.75);
  --links-duration: 0.3s;
  --links-delay: 0.1s;
  display: flex;
  gap: 4rem;
  align-items: stretch;
  width: 100%;
  max-width: var(--max-width);
}

/* Left column (Kew): size to content, don't shrink – child links opening only push the right column */
.dropdown-split-left {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 3rem;
  align-items: flex-start;
  flex: 0 0 auto;
  min-width: 0;
}

/* Right column (Grove): take remaining space; min-width so article-2 never gets squeezed when Kew child links open/close */
.dropdown-split-right {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 2rem;
  align-items: flex-start;
  flex: 1 1 0;
  min-width: min-content;
}

/* Article sits left of links – same width for both columns so they stay consistent on all desktop sizes */
.dropdown-split-columns {
  --dropdown-split-article-width: clamp(160px, 18vw, 280px);
}
.dropdown-article-wrapper--split-left,
.dropdown-article-wrapper--split-right {
  width: var(--dropdown-split-article-width);
  min-width: var(--dropdown-split-article-width);
  max-width: var(--dropdown-split-article-width);
  margin: 0;
  flex-shrink: 0;
  overflow: hidden;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    min-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
/* When opposite column's child links are open, collapse this column's article */
.dropdown-article-wrapper--split-left.collapsed,
.dropdown-article-wrapper--split-right.collapsed {
  width: 0;
  min-width: 0;
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    min-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.4s;
}
/* No gap when article is collapsed: pull links flush (cancel parent gap) */
.dropdown-article-wrapper--split-left.collapsed {
  margin-right: -3rem; /* .dropdown-split-left has gap: 3rem */
}
.dropdown-article-wrapper--split-right.collapsed {
  margin-right: -2rem; /* .dropdown-split-right has gap: 2rem */
}
.dropdown-article-wrapper--split-left:not(.collapsed),
.dropdown-article-wrapper--split-right:not(.collapsed) {
  visibility: visible;
  transition-delay: 0s;
}

.dropdown-article-wrapper--split-left .dropdown-article,
.dropdown-article-wrapper--split-right .dropdown-article {
  width: unset !important;
  min-width: 0;
}

.dropdown-split-columns .dropdown-article-title.above-svg {
  display: none !important;
}

.dropdown-split-left-links,
.dropdown-split-right-links {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: auto;
  max-width: 24rem;
  flex: 0 0 auto;
  /* min-width: 200px; */
}

/* Kew links must not shrink when child links open – only right side moves */
.dropdown-split-left .dropdown-split-left-links {
  flex-shrink: 0;
}

/* Split layout: secondary column for child links – no space when inactive; slides out and pushes right-side content when active */
.dropdown-split-secondary-column--left,
.dropdown-split-secondary-column--right {
  position: relative;
  order: 3;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 0;
  max-width: 0;
  min-width: 0;
  padding-left: 0;
  margin-left: -2rem;
  margin-right: 0;
  border-left: 2px solid transparent;
  flex-shrink: 0;
  align-self: stretch;
  overflow: hidden;
  will-change: width, max-width;
  transition:
    width var(--col-close-duration) var(--col-close-ease),
    max-width var(--col-close-duration) var(--col-close-ease),
    padding-left var(--col-close-duration) var(--col-close-ease),
    margin-left var(--col-close-duration) var(--col-close-ease),
    border-left-color var(--links-duration) ease;
}
.dropdown-split-secondary-column--left.active,
.dropdown-split-secondary-column--right.active {
  width: 200px;
  max-width: 200px;
  padding-left: 1.5rem;
  margin-left: 0;
  margin-right: 0;
  border-left-color: color-mix(in srgb, var(--divider-color) 34%, transparent);
  transition:
    width var(--col-open-duration) var(--col-open-ease),
    max-width var(--col-open-duration) var(--col-open-ease),
    padding-left var(--col-open-duration) var(--col-open-ease),
    margin-left var(--col-open-duration) var(--col-open-ease),
    border-left-color var(--links-duration) ease;
}

/* Links: hidden by default, fade in when column is active */
.dropdown-split-secondary-column--left .dropdown-secondary-links,
.dropdown-split-secondary-column--right .dropdown-secondary-links {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--links-duration) var(--col-open-ease),
    visibility var(--links-duration) ease,
    top 0.2s ease;
}
.dropdown-split-secondary-column--left.active .dropdown-secondary-links,
.dropdown-split-secondary-column--right.active .dropdown-secondary-links {
  opacity: 1;
  visibility: visible;
  transition-delay: var(--links-delay);
}

/* Closing state: links fade out before column collapses */
.dropdown-split-secondary-column--left.closing .dropdown-secondary-links,
.dropdown-split-secondary-column--right.closing .dropdown-secondary-links {
  opacity: 0;
  transition:
    opacity var(--links-duration) var(--col-open-ease),
    visibility var(--links-duration) ease;
  transition-delay: 0s;
}

/* Switching between parent links: fade out/in */
.dropdown-split-secondary-column--left .dropdown-secondary-links.fading-out,
.dropdown-split-secondary-column--right .dropdown-secondary-links.fading-out {
  opacity: 0;
  transition: opacity calc(var(--links-duration) * 0.7) var(--col-open-ease);
}
.dropdown-split-secondary-column--left .dropdown-secondary-links.fading-in,
.dropdown-split-secondary-column--right .dropdown-secondary-links.fading-in {
  opacity: 1;
  transition: opacity var(--links-duration) var(--col-open-ease);
}

.dropdown-split-columns .dropdown-category-group {
  margin-top: 0;
}
.dropdown-split-columns .dropdown-category-group:not(:first-child) {
  margin-top: 0.75rem;
}

.dropdown-article-wrapper--split-left,
.dropdown-article-wrapper--split-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 0;
}

.dropdown-article-wrapper--split-left .dropdown-article,
.dropdown-article-wrapper--split-right .dropdown-article {
  width: 100%;
  max-width: 100%;
}
.dropdown-article-wrapper--split-left .dropdown-article-text,
.dropdown-article-wrapper--split-right .dropdown-article-text,
.dropdown-article-wrapper--split-left .dropdown-article-button-wrapper,
.dropdown-article-wrapper--split-right .dropdown-article-button-wrapper {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Split layout: article image – full image visible, aligned for Kew & Grove (no forced aspect ratio) */
.dropdown-split-columns .dropdown-article-image,
.dropdown-split-columns .article-svg-inline {
  width: 100%;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  transition: opacity 0.25s ease;
}
.dropdown-split-columns .article-svg-inline svg {
  object-fit: contain;
}

/* ========================================
   Switches & Sockets v2 (Figma design): taglines, articles below columns, far-right article
   ======================================== */
.dropdown-category-group--ss-v2 .dropdown-category-tagline {
  font-size: 12px;
  margin:0 0 1rem 0;
  line-height: 1.3;
  font-weight: 400;
  min-height: 1rem;
}

.dropdown-category-group--ss-v2 .dropdown-category-header {
  letter-spacing: 2.1px;
}

/* S&S v2: align first category group headers in left and right columns to same baseline */
.dropdown-split-left--ss-v2 .dropdown-split-left-links .dropdown-category-group:first-child,
.dropdown-split-right--ss-v2 .dropdown-split-right-links .dropdown-category-group:first-child {
  margin-top: 0;
  padding-top: 0;
}

/* S&S v2: CSS Grid + subgrid so category rows align across both columns.
   Parent grid defines shared row tracks (group1 | group2 | group3 | article);
   subgrid passes them through column → column-top → links so category groups
   in the same position share the same row height automatically.
   --dropdown-split-column-gap: single source for space between column 1 (Kew) and column 2 (Grove). */
.navbar .dropdown-container .dropdown-split-columns:has(.dropdown-split-left--ss-v2) {
  --dropdown-split-column-gap: 4rem; /* space between column 1 content (links or child links) and column 2 (Grove) */
  --dropdown-split-column-min-width-closed: 80px; /* when child links are closed, column has this min-width so the gap to the next column appears wider */
  --dropdown-split-child-links-width: 200px; /* width of child links panel when open */
  --dropdown-split-inner-gap: 1.5rem; /* gap between main links and child links within a column */
  --col-open-duration: 0.45s;
  --col-close-duration: 0.5s;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto auto;
  column-gap: var(--dropdown-split-column-gap);
  row-gap: 0;
}



/* Each column: subgrid rows spanning all 4 tracks */
.dropdown-split-left--ss-v2,
.dropdown-split-right--ss-v2 {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 1 / -1;
  gap: 0;
  align-self: stretch;
}

/* When child links are closed, give the column-top a min-width so the gap to the next column appears wider (the collapsed secondary has width: 0 so we apply min-width to the container that holds both links and secondary) */
.dropdown-split-left--ss-v2:not(:has(.dropdown-split-secondary-column.active)) .dropdown-split-column-top,
.dropdown-split-right--ss-v2:not(:has(.dropdown-split-secondary-column.active)) .dropdown-split-column-top {
  min-width: var(--dropdown-split-column-min-width-closed, 280px);
}
.dropdown-split-left--ss-v2:not(:has(.dropdown-split-secondary-column.active)),
.dropdown-split-right--ss-v2:not(:has(.dropdown-split-secondary-column.active)) {
  min-width: var(--dropdown-split-column-min-width-closed, 280px);
}

/* Column-top spans the 3 link-group rows; subgrid rows + own 2-col layout: links left, secondary (child links) right.
   Both columns are auto so the links column keeps its natural width and column-top expands when child links open. */
.dropdown-split-left--ss-v2 .dropdown-split-column-top,
.dropdown-split-right--ss-v2 .dropdown-split-column-top {
  grid-row: 1 / 4;
  display: grid;
  grid-template-rows: subgrid;
  grid-template-columns: auto auto;
  column-gap: 0;
  align-items: start;
}

/* Links on the left (column 1): subgrid rows so category groups align across columns */
.dropdown-split-left--ss-v2 .dropdown-split-left-links,
.dropdown-split-right--ss-v2 .dropdown-split-right-links {
  grid-column: 1;
  grid-row: 1 / 4;
  display: grid;
  grid-template-rows: subgrid;
  align-items: start;
  padding-right: var(--dropdown-split-inner-gap, 1.5rem);
  position: relative;
}

/* Separator as pseudo-element that fades with the child links */
.dropdown-split-left--ss-v2 .dropdown-split-left-links::after,
.dropdown-split-right--ss-v2 .dropdown-split-right-links::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  background: color-mix(in srgb, var(--divider-color) 34%, transparent);
  opacity: 0;
  transition: opacity var(--col-open-duration) var(--col-open-ease);
}

/* When child links are active, separator fades in after a slight delay */
.dropdown-split-left--ss-v2 .dropdown-split-secondary-column.active ~ .dropdown-split-left-links::after,
.dropdown-split-right--ss-v2 .dropdown-split-secondary-column.active ~ .dropdown-split-right-links::after {
  opacity: 1;
  transition-delay: var(--links-delay);
}

/* When closing, separator fades out with the links */
.dropdown-split-left--ss-v2 .dropdown-split-secondary-column.closing ~ .dropdown-split-left-links::after,
.dropdown-split-right--ss-v2 .dropdown-split-secondary-column.closing ~ .dropdown-split-right-links::after {
  opacity: 0;
  transition-delay: 0s;
}

/* Secondary (child links) on the right (column 2), spans all 3 link rows.
   Border-left removed for ss-v2 -- the separator is on the links column instead.
   When not .active, override the base width/max-width/min-width: 0 so the collapsed secondary reserves space (wider gap to next column). */
.dropdown-split-left--ss-v2 .dropdown-split-secondary-column,
.dropdown-split-right--ss-v2 .dropdown-split-secondary-column {
  grid-column: 2;
  grid-row: 1 / 4;
  margin-left: 0;
  border-left: none;
  overflow: hidden;
  transition:
    width var(--col-close-duration) var(--col-close-ease),
    max-width var(--col-close-duration) var(--col-close-ease),
    margin-left var(--col-close-duration) var(--col-close-ease),
    padding-left var(--col-close-duration) var(--col-close-ease);
}
.dropdown-split-left--ss-v2 .dropdown-split-secondary-column--left:not(.active),
.dropdown-split-right--ss-v2 .dropdown-split-secondary-column--right:not(.active) {
  width: var(--dropdown-split-column-min-width-closed, 280px);
  max-width: var(--dropdown-split-column-min-width-closed, 280px);
  min-width: var(--dropdown-split-column-min-width-closed, 280px);
}

.dropdown-split-left--ss-v2 .dropdown-split-secondary-column.active,
.dropdown-split-right--ss-v2 .dropdown-split-secondary-column.active {
  width: var(--dropdown-split-child-links-width, 260px);
  max-width: var(--dropdown-split-child-links-width, 260px);
  margin-left: 0;
  padding-left: var(--dropdown-split-inner-gap, 1.5rem);
  transition:
    width var(--col-open-duration) var(--col-open-ease),
    max-width var(--col-open-duration) var(--col-open-ease),
    margin-left var(--col-open-duration) var(--col-open-ease),
    padding-left var(--col-open-duration) var(--col-open-ease);
}

.dropdown-split-left--ss-v2 .dropdown-split-left-links .dropdown-category-group:first-child,
.dropdown-split-right--ss-v2 .dropdown-split-right-links .dropdown-category-group:first-child {
  margin-top: 0;
  padding-top: 0;
}

.dropdown-split-left--ss-v2 .dropdown-split-left-links .dropdown-category-group:first-child .dropdown-category-header,
.dropdown-split-right--ss-v2 .dropdown-split-right-links .dropdown-category-group:first-child .dropdown-category-header {
  margin-top: 0;
  padding-top: 0;
}

.dropdown-split-left--ss-v2 .dropdown-split-left-links .dropdown-category-group:first-child .dropdown-category-tagline,
.dropdown-split-right--ss-v2 .dropdown-split-right-links .dropdown-category-group:first-child .dropdown-category-tagline {
  margin-top: -6px;
  margin-bottom: 0;
}


/* S&S v2: child links -- fade in after column opens */
.dropdown-split-left--ss-v2 .dropdown-split-secondary-column--left .dropdown-secondary-links,
.dropdown-split-right--ss-v2 .dropdown-split-secondary-column--right .dropdown-secondary-links {
  margin-top: 1.75rem;
  transition:
    opacity var(--links-duration) var(--col-open-ease),
    visibility var(--links-duration) ease,
    top 0.2s ease;
}

.dropdown-split-left--ss-v2 .dropdown-split-secondary-column--left.active .dropdown-secondary-links,
.dropdown-split-right--ss-v2 .dropdown-split-secondary-column--right.active .dropdown-secondary-links {
  transition-delay: var(--links-delay);
}

/* S&S v2: closing state */
.dropdown-split-left--ss-v2 .dropdown-split-secondary-column--left.closing .dropdown-secondary-links,
.dropdown-split-right--ss-v2 .dropdown-split-secondary-column--right.closing .dropdown-secondary-links {
  opacity: 0;
  transition:
    opacity var(--links-duration) var(--col-open-ease),
    visibility var(--links-duration) ease;
  transition-delay: 0s;
}

/* Swapping between child link sets: pure fade */
.dropdown-split-left--ss-v2 .dropdown-split-secondary-column--left .dropdown-secondary-links.fading-out,
.dropdown-split-right--ss-v2 .dropdown-split-secondary-column--right .dropdown-secondary-links.fading-out {
  opacity: 0;
  transition: opacity calc(var(--links-duration) * 0.7) var(--col-open-ease);
}

.dropdown-split-left--ss-v2 .dropdown-split-secondary-column--left .dropdown-secondary-links.fading-in,
.dropdown-split-right--ss-v2 .dropdown-split-secondary-column--right .dropdown-secondary-links.fading-in {
  opacity: 1;
  transition: opacity var(--links-duration) var(--col-open-ease);
}

/* Article in the last row track */
.dropdown-split-left--ss-v2 .dropdown-article-wrapper--split-left,
.dropdown-split-right--ss-v2 .dropdown-article-wrapper--split-right {
  grid-row: 4;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin-top: 1rem;
}

.dropdown-split-left--ss-v2 .dropdown-article-wrapper--split-left .dropdown-article,
.dropdown-split-right--ss-v2 .dropdown-article-wrapper--split-right .dropdown-article {
  width: 100%;
  display: flex !important; /* Keep both Kew & Grove as flex so they stay on same line when dropdown is hovered */
  flex-direction: column;
}

/* S&S v2: title above image with font-type-3-bold, no description – fixed min-height so Kew & Grove images align on same line */
.dropdown-article--ss-v2 .dropdown-article-title {
  display: none;
}
.dropdown-article--ss-v2 .dropdown-article-description,
.dropdown-article--ss-v2 .dropdown-article-text .dropdown-article-description {
  display: none !important;
}

/* S&S v2: don’t collapse the opposite article when child links open – both articles always visible below their column */
.dropdown-split-left--ss-v2 .dropdown-article-wrapper--split-left.collapsed,
.dropdown-split-right--ss-v2 .dropdown-article-wrapper--split-right.collapsed {
  width: 100%;
  min-width: 0;
  max-width: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* S&S v2: smaller images below each column (Kew & Grove) */
.dropdown-split-left--ss-v2 .dropdown-article-image,
.dropdown-split-right--ss-v2 .dropdown-article-image {
  max-height: 160px;
  object-fit: contain;
  object-position: left;
}
.dropdown-split-left--ss-v2 .article-svg-inline,
.dropdown-split-right--ss-v2 .article-svg-inline {
  min-height: 100px;
  max-height: 160px;
}

/* Short viewport: hide Kew & Grove column images so the dropdown fits */
@media (max-height: 780px) {
  .dropdown-split-left--ss-v2 .dropdown-article-wrapper--split-left,
  .dropdown-split-right--ss-v2 .dropdown-article-wrapper--split-right {
    display: none !important;
  }
}

/* Container: single-cell grid so both children share the same row height.
   Split-columns keeps its natural width; article overlays from the right. */
.navbar .dropdown-container:has(.dropdown-ss-explained) {
  display: grid;
  grid-template-columns: 1fr;
}

.navbar .dropdown-container:has(.dropdown-ss-explained) .dropdown-split-columns,
.navbar .dropdown-container:has(.dropdown-ss-explained) .dropdown-ss-explained {
  grid-area: 1 / 1;
}

.navbar .dropdown-container:has(.dropdown-ss-explained) .dropdown-split-columns {
  width: fit-content;
  min-width: 0;
  max-width: none;
  overflow: visible;
}

/* Far-right article block */
.dropdown-ss-explained {
  flex: 0 0 auto;
  width: clamp(280px, 24vw, 430px);
  max-width: 430px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-self: stretch;
  justify-content: flex-start;
  transition: opacity 0.25s ease;
  background-color: color-mix(in srgb, var(--secondary) 50%, transparent);
}

/* S&S dropdown: article overlays from the right; shares grid row height with split-columns */
.dropdown-content:has(.dropdown-ss-explained) .dropdown-ss-explained {
  position: static;
  justify-self: end;
  align-self: stretch;
  width: clamp(280px, 24vw, 370px);
  max-width: 370px;
  min-height: 0;
  overflow: hidden;
}

/* Fade article when a link column is open so overflow from child links is hidden behind the fade */
.dropdown-content:has(.dropdown-split-secondary-column--left.active) .dropdown-ss-explained,
.dropdown-content:has(.dropdown-split-secondary-column--right.active) .dropdown-ss-explained {
  opacity: 0;
  pointer-events: none;
}

/* Smaller desktop: hide "Kew and Grove explained" block and reduce column gap so nav links fit (e.g. at 1350px); keep Kew & Grove images below columns */
@media (max-width: 1350px) {
  .navbar .dropdown-container .dropdown-split-columns:has(.dropdown-split-left--ss-v2) {
    --dropdown-split-column-gap: 1.25rem;
    --dropdown-split-column-min-width-closed: 0px;
  }
  .dropdown-content:has(.dropdown-ss-explained) .dropdown-ss-explained {
    display: none !important;
  }
}

.dropdown-ss-explained-image-link {
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 1 1 0;
  min-height: 0;
  overflow: hidden;
}

a.dropdown-ss-explained-image-link:hover,
a.dropdown-article-image-link:hover {
  opacity: 1 !important;
}

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

/* Video in S&S explained block: cap height so heading/text/button fit below and don’t overlay */
.dropdown-ss-explained-video {
  width: 100%;
  flex: 0 0 auto;
  order: 0;
}

/* Nav S&S video: container for overlay controls */
.dropdown-ss-explained-video .custom-media-player {
  position: relative;
  width: 100%;
}

.dropdown-ss-explained-video .media-video {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111;
}

.dropdown-ss-explained-video .media-video video {
  width: 100%;
  height: auto;
  max-height: 320px;
  display: block;
  vertical-align: middle;
  object-fit: cover;
  object-position: center;
}

/* Controls overlay on video (not below); only play/pause + volume */
.dropdown-ss-explained-video .media-video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  z-index: 2;
  pointer-events: auto;
}

.dropdown-ss-explained-video .controls-center {
  display: none;
}

/* On-brand: match secondary-btn / about page video controls */
.dropdown-ss-explained-video .play-pause-btn,
.dropdown-ss-explained-video .volume-control .volume-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: var(--secondary);
  color: var(--secondary-foreground);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-ss-explained-video .play-pause-btn:hover,
.dropdown-ss-explained-video .volume-control .volume-btn:hover {
  background: var(--secondary-hover, var(--secondary));
  color: var(--secondary-foreground);
}

.dropdown-ss-explained-video .play-pause-btn .play-icon,
.dropdown-ss-explained-video .play-pause-btn .pause-icon,
.dropdown-ss-explained-video .volume-control .volume-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.dropdown-ss-explained-video .play-pause-btn .play-icon svg,
.dropdown-ss-explained-video .play-pause-btn .pause-icon svg {
  fill: currentColor;
}

.dropdown-ss-explained-video .volume-control .volume-btn svg {
  stroke: currentColor;
}

/* Volume popover: same width as volume button, on-brand (match about page / media-player.css) */
.dropdown-ss-explained-video .volume-control {
  position: relative;
}

.dropdown-ss-explained-video .volume-popup {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  width: 36px;
  min-width: 36px;
  box-sizing: border-box;
  background: var(--tertiary);
  padding: 10px;
  border-radius: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  pointer-events: auto;
}

.dropdown-ss-explained-video .volume-slider-container {
  width: 8px;
  height: 72px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-ss-explained-video .volume-slider-track {
  position: absolute;
  width: 8px;
  height: 72px;
  left: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0;
  pointer-events: none;
}

.dropdown-ss-explained-video .volume-slider-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--secondary);
  transform-origin: bottom;
  pointer-events: none;
  transition: height 0.1s ease;
}

.dropdown-ss-explained-video .volume-slider {
  position: absolute;
  width: 8px;
  height: 72px;
  left: 0;
  bottom: 0;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
  writing-mode: vertical-lr;
  direction: ltr;
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.dropdown-ss-explained-video .volume-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}

/* No visible thumb: match about page – fill shows volume only */
.dropdown-ss-explained-video .volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 0;
  height: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  box-shadow: none;
}

.dropdown-ss-explained-video .volume-slider::-moz-range-track {
  width: 100%;
  height: 8px;
  background: transparent;
}

.dropdown-ss-explained-video .volume-slider::-moz-range-thumb {
  width: 0;
  height: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  box-shadow: none;
}

.dropdown-ss-explained-video .media-video video::-webkit-media-controls,
.dropdown-ss-explained-video .media-video video[controls] {
  display: none !important;
  -webkit-appearance: none;
  appearance: none;
}

.dropdown-ss-explained-heading {
  order: 1;
}

.dropdown-ss-explained-text {
  order: 2;
}

.dropdown-ss-explained-button {
  order: 3;
}

.dropdown-ss-explained-heading {
  margin: 0;
  font-weight: 600 !important;
}

.dropdown-ss-explained-text {
  margin: 0;
  /* flex: 1 1 auto; */
  height: fit-content;
}

.dropdown-ss-explained-text p {
  margin: 0;
}

.dropdown-ss-explained-button {
  align-self: flex-start;
  margin-top: auto;
  width: 100%;
  max-width: 15vw;
  display: none;
}

/* ========================================
   End Category-based Dropdown Layout
   ======================================== */

/* Responsive article visibility */
.dropdown-article.large-only {
  display: flex;
}
.dropdown-article.small-only {
  display: none;
}
/* Hide articles that haven't been populated with content yet */
.dropdown-article.not-populated {
  display: none !important;
}

@media screen and (max-width: 1400px) {
  .dropdown-article.large-only {
    display: none !important;
  }
  .dropdown-article.small-only {
    display: flex;
  }
  .dropdown-article.small-only.not-populated {
    display: none !important;
  }
}

.dropdown-article {
  width: 400px;
  max-width: 400px;
  flex-shrink: 0;
  flex-grow: 0;
  /* margin: 0 auto; */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media screen and (max-width: 1300px) {
  .navbar .product-grid {
    gap: 2rem;
  }

  .navbar .dropdown-container {
    gap: 1rem;
  }
}

.dropdown-article-image {
  width: 100%;
  aspect-ratio: auto;
  /* min-height: 180px; */
  /* max-height: 460px; */
  object-fit: cover;
}

/* Inline SVG for article images (kew-svg, grove-svg) */
.article-svg-inline {
  width: 100%;
  aspect-ratio: 3 / 2;
  min-height: 180px;
  max-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--background-color, #fff);
}

.article-svg-inline svg {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Title above SVG for special article images */
.dropdown-article-title.above-svg {
  display: block;
  margin-bottom: 0.75rem;
}

.dropdown-article-text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.dropdown-article p {
  margin: 0;
  color: var(--background-foreground);
}

/* Truncate dropdown article description to 2 lines */
.dropdown-article-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dropdown-article p br {
  display: block;
  content: "";
  margin-top: 0.5em;
}

.dropdown-article-button {
  padding: 12px 34px;
  width: fit-content;
}

.dropdown-discover-container .dropdown-article {
  width: clamp(300px, 25vw, 400px);
}

@media (max-width: 1600px) {
  [data-discover-tab="true"] .dropdown-article.article-2 {
    display: none !important;
  }
}

.dropdown-section .dropdown-section-header.animating::after {
  transform: scaleX(1);
}

.mobile-navbar {
  display: none;
}

.burger-menu {
  width: 26px;
  height: 18px;
  position: relative;
  cursor: pointer;
  z-index: 1000;
}

.burger-line {
  width: 100%;
  height: 2px;
  background-color: var(--neutral-foreground);
  position: absolute;
  transition: all 0.3s ease;
}

.top-of-page .burger-line {
  background-color: white;
}

.burger-line:nth-child(1) {
  top: 0;
}

.burger-line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger-line:nth-child(3) {
  bottom: 0;
}

.burger-menu.active .burger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger-menu.active .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.basket-icon {
  display: none;
}

.top-of-page .basket-icon path {
  fill: white !important;
  transition: 0.2s ease-in-out;
}

.mobile-menu {
  display: block;
  position: fixed;
  top: 0;
  /* left: -100%; */
  width: 84vw;
  max-width: 36rem;
  height: 100vh;
  padding: 2rem;
  background-color: var(--background);
  transition:
    transform var(--panel-slide-animation-duration) cubic-bezier(0.4, 0, 0.2, 1),
    opacity var(--panel-slide-animation-duration) ease,
    left var(--panel-slide-animation-duration) cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  opacity: 0;
  overflow-y: auto;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
}

.mobile-menu.active {
  opacity: 1;
  left: 0;
  pointer-events: auto;
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--panel-slide-animation-duration)
    cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 997;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  position: sticky;
  top: 0;
  background-color: var(--background);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.mobile-menu-links-container {
  display: none;
  flex-direction: column;
  gap: calc(20px - 12px);
}

.mobile-nested-menu-overlay {
  position: absolute;
  bottom: 0;
  /* Position below the header */
  left: 0;
  width: 100%;
  background-color: var(--background);
  transition:
    transform var(--panel-slide-animation-duration) cubic-bezier(0.4, 0, 0.2, 1),
    opacity var(--panel-slide-animation-duration) cubic-bezier(0.4, 0, 0.2, 1),
    height var(--panel-slide-animation-duration) cubic-bezier(0.4, 0, 0.2, 1);
  /* Subtract header and padding */
  z-index: 5;
  overflow-y: auto;
  padding: 1rem;
  opacity: 1;
  transform: translateX(-100%);
  height: auto;
  max-height: calc(100vh - (1rem * 2 + 21px + 2rem));
  /* Subtract header and padding */
}

.mobile-nested-menu-overlay.active {
  transform: translateX(0);
  opacity: 1;
}

.mobile-nested-menu-overlay.closing {
  transform: translateX(-100%);
  opacity: 1;
}

.mobile-nested-menu-header {
  display: flex;
  align-items: center;
  padding-bottom: 1rem;
}

.mobile-nested-menu-header .mobile-nested-menu-title {
  text-decoration: none;
}

.mobile-nested-menu-content {
  display: flex;
  flex-direction: column;
  padding: 0 2rem 4rem;
}

.mobile-nested-menu-content a {
  text-decoration: none;
  color: var(--background-foreground);
}

.mobile-nested-menu-content a:last-child {
  border-bottom: none;
}

.mobile-menu-links {
  flex-grow: 1;
  overflow-y: auto;
  padding-top: 2rem;
}

.mobile-nav-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@media screen and (min-width: 1024px) {
  .mobile-nav-icons {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .mobile-location-icon {
    display: flex;
  }

  .mobile-contact-icon,
  .mobile-account-icon {
    display: none;
  }
}

.mobile-nav-icons .nav-icon,
.mobile-nav-icons .nav-icon svg {
  height: 20px;
  width: 20px;
}

.mobile-nested-menu-content {
  flex-grow: 1;
  overflow-y: auto;
}

.mobile-menu-item {
  font-weight: 500;
}

.mobile-menu-links-container a.mobile-menu-header--link {
  text-decoration: none;
  color: inherit;
}

.mobile-submenu {
  padding-left: 1rem;
  margin-top: 1rem;
  display: none;
}

.mobile-submenu.active {
  display: block;
}

.mobile-submenu a {
  display: block;
  padding: 0.5rem 0;
  color: var(--background-foreground);
}

/* Mobile Category Group Styles */
.mobile-category-group {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}

.mobile-category-group:first-child {
  margin-top: 0;
}

.mobile-category-header {
  font-weight: 600;
  font-size: var(--body-size);
  line-height: var(--body-line-height);
  color: var(--background-foreground);
  margin-bottom: 0.5rem;
  display: block;
}

.mobile-submenu-item.has-children {
  cursor: pointer;
}

.mobile-submenu-item.has-children .mobile-submenu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-submenu-item.has-children .mobile-submenu-header span:last-child {
  transition: transform 0.2s ease;
}

.mobile-submenu-item.has-children.active .mobile-submenu-header span:last-child {
  transform: rotate(90deg);
}

.mobile-subitem-children {
  display: none;
  flex-direction: column;
  gap: 0;
  padding-left: 1rem;
  margin-top: 0.5rem;
}

.mobile-submenu-item.has-children.active .mobile-subitem-children {
  display: flex;
}

.mobile-child-link {
  display: block;
  padding: 0.35rem 0;
  color: var(--background-foreground);
  text-decoration: none;
  font-size: var(--body-size);
  line-height: var(--body-line-height);
  transition: opacity 0.2s ease;
}

.mobile-child-link:hover {
  opacity: 0.7;
}

/* Nested menu category headers (in overlay) */
.nested-category-header {
  display: block;
  font-weight: 600;
  font-size: var(--body-size);
  line-height: var(--body-line-height);
  color: var(--background-foreground);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  border-bottom: none;
}

.nested-category-header:first-child {
  margin-top: 0;
}

.mobile-nested-menu-content-items .nested-category-header + .nested-menu-item {
  margin-top: 0.25rem;
}

/* S&S Kew/Grove tab bar in mobile nested menu */
.mobile-ss-tab-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
  position: sticky;
  top: 0;
  background: var(--background);
  z-index: 1;
}

.mobile-ss-tab {
  flex: 1;
  padding: 0.75rem 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--background-foreground);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

.mobile-ss-tab.active {
  opacity: 1;
  border-bottom-color: var(--background-foreground);
}

.mobile-ss-tab-content {
  display: none;
}

.mobile-ss-tab-content.active {
  display: block;
}

.mobile-ss-tab-content .nested-category-header:first-child {
  margin-top: 0;
}

.mobile-ss-tab-content-inner {
  margin-bottom: 1rem;
}

.mobile-ss-tab-image {
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.mobile-ss-tab-image img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0;
  margin-right: auto;
  object-fit: contain;
}

@media (max-width: 1023px) {
  .navbar {
    padding: 28px var(--side-padding);
  }

  .navbar-links,
  .navbar-right {
    display: none;
  }

  .mobile-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .mobile-ss-tab-image img {
    max-width: 400px;
  }

  .navbar-container {
    position: relative;
  }

  .navbar-left {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }

  .tablet-only {
    display: block;
  }

  .mobile-nav-icons {
    display: flex;
    z-index: 1;
  }

  #basket-panel {
    max-width: 36rem;
    width: 84vw;
  }
}

.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

.tablet-only {
  display: none;
}

@media (max-width: 1023px) {
  .mobile-only {
    display: block;
  }

  .tablet-only {
    display: none;
  }

  .basket-icon,
  .basket-icon svg,
  .basket-icon svg path,
  .basket-icon g {
    display: flex;
    justify-content: flex-end;
    width: 23px;
    height: 23px;
  }

  .navbar .product-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .navbar-left {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-container {
    position: relative;
    /* For absolute positioning of children */
  }

  .desktop-only {
    display: none;
  }

  /* Ensure mobile basket is visible and properly positioned */
  .mobile-nav-icons {
    display: flex;
    z-index: 1;
  }

  .mobile-menu.active .mobile-menu-links-container {
    display: flex;
  }

  .mobile-menu.closing .mobile-menu-links-container {
    display: flex !important;
  }
}

.mobile-menu-header {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--background);
  opacity: 0;
  transform: translateX(-20px);
  /* Change Y to X translation */
  transition: all var(--panel-slide-animation-duration) ease-out;
  /* Removed delay */
}

.mobile-menu-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  padding-bottom: 1.2rem;
}

.mobile-menu-search-icon {
  width: 17px;
  height: 17px;
  margin-right: 8px;
}

.mobile-menu-search-icon path {
  fill: var(--primary);
}

.mobile-menu-search-input {
  width: 100%;
  border: none;
  border-left: 1px solid var(--divider-color);
  padding-left: 0.8rem;
  margin-left: 0.5rem;
}

.mobile-menu-search-input input {
  border: none;
  width: 100%;
  height: 24px;
  line-height: 23px;
  outline: none;
}

.mobile-menu.active .mobile-menu-header {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-links > .mobile-menu-item {
  opacity: 0;
  transform: translateX(-20px);
  transition: all var(--panel-slide-animation-duration) ease-out;
  /* Removed delay */
}

.mobile-menu.active .mobile-menu-item {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu-links-divider {
  width: 100%;
  height: 1px;
  background: var(--divider-color);
  margin: 0.5rem 0;
  margin-bottom: 12px;
}

.mobile-menu-links-divider.before-article {
  margin-bottom: 16px;
}

.mobile-nested-menu-overlay {
  position: absolute;
  bottom: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--background);
  transition:
    transform var(--panel-slide-animation-duration) cubic-bezier(0.4, 0, 0.2, 1),
    opacity var(--panel-slide-animation-duration) cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 20;
  overflow-y: auto;
  padding: 2rem 0 0;
  opacity: 1;
  transform: translateX(0);
}

.mobile-nested-menu-overlay .mobile-nested-menu-header {
  position: sticky;
  top: 0;
  background-color: var(--background);
  z-index: 1;
  padding: 10px 2rem;
  padding-left: 1rem;
}

.mobile-nested-menu-overlay {
  display: flex;
  flex-direction: column;
}

.mobile-nested-menu-content {
  flex-grow: 1;
  overflow-y: auto;
}

.mobile-nested-menu-overlay.active {
  transform: translateX(100%);
  opacity: 1;
  scale: 1;
}

.mobile-nested-menu-overlay.closing {
  transform: translateX(0);
  opacity: 1;
  scale: 1;
}

.mobile-nested-menu-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all var(--panel-slide-animation-duration)
    cubic-bezier(0.4, 0, 0.2, 1);
  /* Increased from 0.4s to 0.5s */
}

.mobile-nested-menu-overlay.active .mobile-nested-menu-header {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nested-menu-back {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0 1rem;
  height: 24px;
  transform: rotate(180deg);
}

.mobile-nested-menu-back svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-nested-menu-content a {
  opacity: 0;
  transform: translateX(-20px);
  transition: all var(--panel-slide-animation-duration) ease-out;
  /* Increased from 0.3s to 0.4s */
}

.mobile-nested-menu-content a:last-child {
  border-bottom: none;
}

.mobile-nested-menu-overlay.active .mobile-nested-menu-content a {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nested-menu-content-items {
  display: flex;
  flex-direction: column;
  gap: calc(20px - 12px);
}

.mobile-nested-menu-content-items span {
  padding: 6px 0;
}

.mobile-nested-menu-content-items a {
  padding: 6px 0;
}

.scrolled {
  background-color: var(--background);
}

body.no-scroll {
  overflow: hidden;
}

/* Add this to your existing CSS */
.navbar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Adjust opacity as needed */
  z-index: 10;
  /* Ensure it's below the dropdown but above other content */
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    pointer-events 0.3s ease;
  pointer-events: none;
}

.navbar-overlay.active {
  pointer-events: auto;
}

.mobile-nested-menu-article {
  display: flex;
  flex-direction: column;
  gap: calc(20px - 6px);
  margin-bottom: 12px;
}

.mobile-nested-menu-article .dropdown-article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.mobile-nested-menu-article .dropdown-article-text {
  padding: 1rem 0;
}

.mobile-nested-menu-article .dropdown-article-text h4 {
  margin-bottom: 0.5rem;
}

.mobile-nested-menu-article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: var(--neutral);
  margin-bottom: 4px;
}

.mobile-nested-menu-article .mobile-nested-menu-article-text span {
  font-weight: 600;
}

.mobile-nested-menu-article .mobile-nested-menu-article-text p {
  margin: 2px auto;
}

.nested-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nested-menu-item span {
  padding: 0;
}

/* @media screen and (min-width: 1025px) {
  .top-of-page:hover h5,
  .top-of-page:hover p,
  .top-of-page:hover a,
  .top-of-page:hover .navbar-link,
  .top-of-page:hover .nav-icon path {
    color: var(--background-foreground) !important;
    fill: var(--background-foreground) !important;
  }
} */

/* .top-of-page:hover .navbar-right .nav-icon path {
  fill: var(--background-foreground) !important;
} */

@media (max-width: 1023px) {
  .top-of-page {
    background-color: transparent !important;
  }

  .top-of-page:hover {
    background-color: transparent !important;
  }
}

/* Add or modify in the existing CSS */

.navbar-right .nav-icon.navbar-basket path {
  transition: fill 0.2s ease-in-out;
}

/* Removed as the colour of the basket wouldn't change on search dropdown */
/* .top-of-page .navbar-right .nav-icon[href="#basket"] path {
  fill: white !important;
} */

/* .top-of-page:hover .navbar-right .nav-icon.navbar-basket path {
  fill: var(--background-foreground) !important;
} */

@media (max-width: 1023px) {
  .top-of-page .navbar-right .nav-icon.navbar-basket path {
    fill: inherit !important;
  }
}

.mobile-nav-footer,
.mobile-menu-search-input {
  display: none;
}

/* Add or modify in the existing CSS */
@media (max-width: 1023px) {
  .navbar {
    z-index: 996;
    /* Lower than the navbar overlay's z-index */
  }

  .navbar-overlay {
    z-index: 997;
    /* Ensure it's above the navbar but below mobile menu */
  }

  .mobile-nav-footer,
  .mobile-menu-search-input {
    display: block;
  }
}

/* CSS Animations (to be added to existing styles) */
@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* NEW: Animation for dropdown-content when first hovered */
@keyframes dropdownSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-content.animate-dropdown {
  animation: dropdownSlideDown 0.3s ease forwards;
}

.dropdown-article {
  position: relative;
}

.dropdown-article-text > .dropdown-article-title,
.dropdown-article-text > p,
.dropdown-article-button-wrapper,
.dropdown-article-image {
  opacity: 0;
  /* transition: opacity 0.15s ease !important; */
}

.dropdown-article-button-wrapper {
  margin-top: auto;
}

.article-fade-out {
  opacity: 0 !important;
  /* transition: opacity 0.15s ease !important; */
}

.article-fade-in {
  opacity: 1 !important;
  /* transition: opacity 0.15s ease !important; */
}

/* .dropdown-article-image.article-fade-out,
.dropdown-article-image.article-fade-in {
  transition: opacity 0.15s ease !important;
} */

.nav-item:focus-within:has(.dropdown-content[style*="display: block"])::after {
  opacity: 1;
}

/* Remove direct focus outlines */
.nav-item:focus,
.navbar-link:focus {
  outline: none;
}


/* Visually hidden text for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Updated Desktop Search Dropdown Styles for Slide Down Animation */
.desktop-search-dropdown {
  /* Remove display:none; always keep it in the DOM */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  background-color: var(--background);
  border-top: 1px solid var(--divider-color);
  padding: 20px var(--side-padding);
  z-index: 995;
  /* Start hidden: move it upward and invisible */
  opacity: 0;
  transform: translateY(-100%);
  transition:
    transform var(--panel-slide-animation-duration) cubic-bezier(0.4, 0, 0.2, 1),
    opacity var(--panel-slide-animation-duration) ease;
  /* Added shadow beneath the search bar */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  cursor: text;
}

.desktop-search-dropdown.active {
  /* When active, slide down into view */
  opacity: 1;
  transform: translateY(0);
}

/* Position search results under the navbar search bar */
.desktop-search-results {
  position: fixed;
  left: auto;
  right: auto;
  min-width: 520px;
  max-width: calc(100vw - 32px);
  padding: 0;
  display: none;
  z-index: 1001;
}

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

.desktop-search-dropdown-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.desktop-search-dropdown-icon svg,
.desktop-search-dropdown-icon {
  height: 22px;
  width: 22px;
}

/* Ensure the search input retains its appearance */
.desktop-search-input {
  width: 100%;
  height: 22px;
  padding: 10px 14px;
  margin-left: 12px;
  border: none;
  border-left: 1px solid var(--neutral-foreground);
  outline: none;
  border-radius: 0;
}

.top-of-page .desktop-search-input {
  border-left: 1px solid white;
}

.navbar.search-open .desktop-search-input,
.navbar:has(.dropdown-content[style*="display: block"]) .desktop-search-input {
  border-left-color: var(--neutral-foreground);
}

/* Updated CSS for search results dropdown */
.desktop-search-results-container {
  padding: 2rem 3rem;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  max-height: 70vh;
  overflow-y: auto;
  background: var(--background);
}

.search-results {
  display: none;
}

.search-results-header {
  margin-top: 6px;
  margin-bottom: 1.5rem;
}

.desktop-search-results-container .search-results-header {
  margin-bottom: 3rem;
}

.desktop-search-result-item {
  cursor: pointer;
}

.desktop-search-result-item:hover {
  background-color: var(--neutral);
}

.desktop-search-result-item-list {
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

#prodsearch-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 380px;
}

/* Search results: thumbnail left, details right */
#prodsearch-list .product-grid-item {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

#prodsearch-list .product-grid-item-image {
  flex: 0 0 86px;
  max-width: 86px;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}

#prodsearch-list .product-grid-item-image .image-link {
  position: relative;
  width: 100%;
  height: 100%;
}

#prodsearch-list .product-grid-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#prodsearch-list .product-grid-item-content {
  flex: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#prodsearch-list .product-grid-item-content-wrapper {
  padding: 0;
}

#prodsearch-list .add-to-cart-button-wrapper,
#prodsearch-list .add-to-cart-button {
  display: none !important;
}

.desktop-search-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  color: var(--background-foreground);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.desktop-search-close:hover,
.desktop-search-close:focus-visible {
  color: var(--primary);
}

.view-all-search {
  display: none;
}

.view-all-search a {
  max-width: fit-content;
  margin: 0 auto;
}

.desktop-search-result-item-header {
  font-weight: 600;
}

.desktop-search-result-item-list li a {
  text-decoration: none;
}

/* Ensure the navbar background remains when search is open */
.navbar.search-open {
  background-color: var(--background) !important;
}

/* Override nav link colors when search is open to ensure visibility on a white background */
.navbar.search-open .nav-item,
.navbar.search-open .nav-item a,
.navbar.search-open .navbar-link,
.navbar.dropdown-open .nav-item,
.navbar.dropdown-open .nav-item a,
.navbar.dropdown-open .navbar-link {
  color: var(--neutral-foreground) !important;
}

/* Override inline SVG icons when search is open (exclude market flag wrappers) */
.navbar.search-open
  :not(.current-location-flag):not(.location-country-flag):not(.language-country-flag):not(.flag-container)
  > svg
  path {
  fill: var(--neutral-foreground) !important;
}

/* New CSS for search results slide down animation */
.desktop-search-results {
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.desktop-search-results.active {
  opacity: 1;
  transform: translateY(0);
}

.mobile-search-overlay {
  display: none;
  position: absolute;
  top: 168px;
  /* appears just below the search element */
  left: 0;
  right: 0;
  background-color: #ffffff;
  /* white background */
  padding: 1rem;
  z-index: 1001;
  height: 100%;
  /* minimum height of 20rem */
  max-height: 84vh;
  width: 100%;
  overflow-y: auto;
}

.mobile-search-overlay.active {
  display: block;
}

#prodsearch-mobile-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  padding: 0;
}

.mobile-search-results-container {
  padding: 0 1rem;
  background: var(--background);
}

.mobile-search-overlay .search-results {
  display: none;
}

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

.mobile-search-loading {
  text-align: center;
  padding: 2rem;
  color: var(--neutral-foreground);
}

.mobile-search-overlay .view-all-search {
  text-align: center;
  margin: 2rem 0;
}

.mobile-search-overlay .view-all-search a {
  padding: 12px 24px;
  background: var(--neutral);
  color: var(--neutral-foreground);
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.mobile-search-overlay .view-all-search a:hover {
  background: var(--neutral-hover);
}

.mobile-search-results-container .help-block {
  padding: 0.5rem 0;
}

.mobile-search-results-container .mobile-search-result-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-search-results-container .mobile-search-result-item-header {
  font-weight: 600;
}

.mobile-search-results-container .mobile-search-result-item-list a {
  text-decoration: none;
  color: var(--neutral-foreground);
}

.kew-grove-warning-content {
  background-color: var(--neutral);
  padding: 1rem;
}

/* Add these styles to the existing CSS */
.panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--panel-slide-animation-duration) ease,
    visibility var(--panel-slide-animation-duration) ease;
}

.panel-overlay.active {
  opacity: 1;
  visibility: visible;
}

.basket-panel {
  position: fixed;
  top: 0;
  right: -110%;
  /* 110% is the width of the panel + basket-content padding */
  width: 40vw;
  max-width: 530px;
  min-width: 520px;
  height: 100vh;
  background-color: var(--background);
  z-index: 9999;
  transition:
    right calc(var(--panel-slide-animation-duration) * 1.1)
      cubic-bezier(0.4, 0, 0.2, 1),
    opacity var(--panel-slide-animation-duration) ease;
  opacity: 0;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  display: flex;
  opacity: 0;
  flex-direction: column;
}

.basket-panel.active {
  opacity: 1;
  right: 0;
}

.panel-header {
  display: flex;
  min-height: var(--navbar-height);
  height: var(--navbar-height);
  max-height: var(--navbar-height);
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--divider-color);
}

.basket-panel-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.basket-panel-header .basket-panel-header-text h5,
.basket-panel-header .basket-panel-header-text p {
  margin: 0;
}

.basket-products {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  /* padding: 2rem; */
}

.empty-basket-panel .basket-panel-header {
  border-bottom: none;
}

.empty-basket-panel .basket-panel-header .basket-panel-header-text {
  visibility: hidden;
}

.empty-basket-panel .basket-panel-content .basket-products {
  display: none;
}

.empty-basket-panel .basket-panel-footer {
  display: none;
}

.basket-panel-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  overflow-y: scroll;
}

.basket-panel-content-empty {
  display: none;
}

.basket-panel-content-empty.active {
  display: flex;
}

.panel-close {
  background: none;
  width: fit-content;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0.5rem;
  margin-right: -0.5rem;
}

.basket-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.basket-item {
  display: flex;
  gap: 1rem;
}

.basket-item-link {
  text-decoration: none;
}

.basket-item-image {
  width: 100px;
  height: 100px;
  aspect-ratio: 1/1;
}

.basket-item-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex: 1;
  width: 100%;
}

.basket-item-remove a {
  white-space: nowrap;
}

.basket-item-details-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-direction: column;
}

.basket-item-details-top p {
  margin: 0;
}

.basket-item-title-link {
  text-decoration: none;
}

.basket-item-title {
  font-weight: 400;
}

.basket-item-quantity-price-container {
  display: flex;
}

.basket-item-quantity-price-container .basket-item-price,
.basket-item-quantity-price-container .basket-item-remove-button {
  display: none;
}

.basket-item-price .rrp-price {
  display: initial;
}

.basket-item-quantity-remove-container {
  display: flex;
}

.basket-item-quantity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-weight: 300;
}

.basket-item-price {
  font-weight: 400;
  display: flex;
  gap: 6px;
  white-space: nowrap;
}

.basket-item-remove-button {
  font-weight: 300;
  text-decoration: none;
  white-space: nowrap;
}

.basket-item-details-bottom {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  justify-content: space-between;
  flex-direction: column;
}

.basket-item-details-bottom p {
  margin: 0;
}

.basket-panel-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--divider-color);
  margin-top: auto;
}

.checkout-button {
  width: 100%;
  text-align: center;
  background-color: var(--primary);
  color: white;
  text-decoration: none;
  display: block;
}

.payment-methods {
  margin-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: center;
  border-top: 1px solid var(--divider-color);
  padding: 1.5rem 1rem 0;
  gap: 0.5rem;
}

.payment-methods-icons .payment-icons {
  row-gap: 0;
  gap: 0;
}

/* Update existing basket icon styles */
.navbar-right .nav-icon.navbar-basket {
  position: relative;
}

.basket-subtotal {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.basket-subtotal-left {
  display: flex;
  gap: 8px;
  flex-direction: column;
}

.basket-subtotal-delivery {
  font-weight: 400;
  font-size: 12px;
}

.basket-subtotal-amount {
  color: var(--background-foreground);
}

.basket-panel-footer-buttons {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto auto;
  gap: 12px;
  width: 100%;
}

.basket-panel-footer-buttons > *:first-child {
  grid-row: 1;
  grid-column: 1;
}

.basket-panel-footer-buttons > *:nth-child(2) {
  grid-row: 2;
  grid-column: 1;
}

.basket-panel-footer-buttons > *:nth-child(3) {
  grid-row: 3;
  grid-column: 1;
}

.basket-panel-footer-buttons > *:nth-child(4) {
  grid-row: 4;
  grid-column: 1;
}

.basket-panel-footer-buttons a {
  width: 100%;
}

.project-name-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.project-name-wrapper label {
  font-size: 14px;
  font-weight: 500;
}

.project-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.project-name-input {
  min-width: 0;
  height: 100%;
  flex: 1;
  padding-left: 8px;
  border: 1px solid var(--neutral);
  background: var(--background);
  color: var(--background-foreground);
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  /* Use auto-placement and ordering to avoid gaps when project input is absent */
  .basket-panel-footer-buttons > * {
    grid-row: auto !important;
  }
  .basket-panel-footer-buttons .save-cart-btn {
    order: 1;
  }
  .basket-panel-footer-buttons .project-name-wrapper {
    order: 2;
  }
  .basket-panel-footer-buttons .view-cart-btn {
    order: 3;
  }
  .basket-panel-footer-buttons .checkout-btn {
    order: 4;
  }
}

@media screen and (min-width: 768px) {
  .basket-panel-footer-buttons {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .basket-panel-footer-buttons > *:first-child {
    grid-row: 1;
    grid-column: 1;
  }
  .basket-panel-footer-buttons > *:nth-child(2) {
    grid-row: 1;
    grid-column: 2;
  }
  .basket-panel-footer-buttons > *:nth-child(3) {
    grid-row: 2;
    grid-column: 1 / span 2;
  }
  .basket-panel-footer-buttons > *:nth-child(4) {
    grid-row: 3;
    grid-column: 1 / span 2;
  }
  /* When project name input exists, place it above checkout */
  .basket-panel-footer-buttons:has(.project-name-wrapper)
    .project-name-wrapper {
    grid-row: 2;
    grid-column: 1 / span 2;
  }
  .basket-panel-footer-buttons:has(.project-name-wrapper) .checkout-btn {
    grid-row: 3;
    grid-column: 1 / span 2;
  }
}

.terms-and-conditions {
  margin-top: 1.5rem;
}

.empty-basket {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  gap: 6px;
  padding-bottom: 85px;
}

.empty-basket-panel .empty-basket {
  display: flex;
}

@media screen and (max-width: 1023px) {
  .basket-panel {
    min-width: unset;
  }
}

@media screen and (max-width: 767px) {
  .basket-panel-header {
    height: 81px;
  }

  .basket-item {
    gap: 12px;
  }

  .basket-item-details-bottom {
    display: none;
  }

  .basket-item-details-top {
    width: 100%;
    gap: 12px;
  }

  .basket-item-quantity-price-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .basket-item-quantity-remove-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .basket-item-quantity-price-container .basket-item-price,
  .basket-item-quantity-price-container .basket-item-remove-button {
    display: flex;
  }
}

/* Location selector Panel Styles */

.location-selector-panel {
  position: fixed;
  top: 0;
  right: -110%;
  width: 40vw;
  max-width: 530px;
  min-width: 520px;
}

.location-selector-panel.active {
  right: 0;
  opacity: 1;
}

.location-selector-panel {
  position: fixed;
  top: 0;
  right: -110%;
  width: 40vw;
  max-width: 530px;
  min-width: 520px;
  height: 100dvh;
  background-color: var(--background);
  z-index: 9999;
  transition:
    right var(--panel-slide-animation-duration) cubic-bezier(0.4, 0, 0.2, 1),
    opacity var(--panel-slide-animation-duration) ease;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  display: flex;
  opacity: 0;
  flex-direction: column;
}

.location-selector-panel-header {
  display: flex;
  min-height: var(--navbar-height);
  height: var(--navbar-height);
  max-height: var(--navbar-height);
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--divider-color);
}

.location-selector-panel-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - var(--navbar-height));
  scrollbar-width: thin;
  scrollbar-color: var(--divider-color) transparent;
}

.location-selector-panel-content::-webkit-scrollbar {
  width: 6px;
}

.location-selector-panel-content::-webkit-scrollbar-track {
  background: transparent;
}

.location-selector-panel-content::-webkit-scrollbar-thumb {
  background-color: var(--divider-color);
  border-radius: 3px;
}

.location-selector-panel-content::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color);
}

.location-accordion-header,
.language-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem;
  background-color: var(--background);
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: none;
  width: 100%;
  text-align: left;
}

.location-accordion-header:hover,
.language-accordion-header:hover {
  background-color: var(--hover-background);
}

.location-accordion-title,
.language-accordion-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-color);
}

.location-accordion-arrow,
.language-accordion-arrow {
  color: var(--text-color);
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.location-accordion-arrow.expanded,
.language-accordion-arrow.expanded {
  transform: rotate(180deg);
}

.location-accordion-content,
.language-accordion-content {
  padding: 0 2rem 1.5rem 40px;
  overflow-x: visible;
}

/* Language accordion starts collapsed */
.language-accordion-content {
  display: none; /* jQuery will handle this on page load */
}

/* Location accordion starts collapsed */
.location-accordion-content {
  display: none; /* jQuery will handle this on page load */
}

/* Sub-Accordion Styles */
.location-sub-accordion {
  margin-bottom: 1rem;
  overflow: hidden;
}

.location-sub-accordion:last-child {
  margin-bottom: 0;
}

.location-sub-accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0 1rem 0;
  background-color: var(--background);
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: none;
  width: 100%;
  text-align: left;
}

.location-sub-accordion-header:hover {
  background-color: var(--hover-background);
}

.location-sub-accordion-title {
  margin: 0;
}

.location-sub-accordion-arrow {
  color: var(--text-color);
  opacity: 0.6;
  transition: transform 0.2s ease;
}

.location-sub-accordion-arrow.expanded {
  transform: rotate(180deg);
}

.location-sub-accordion-content {
  padding: 0.5rem 0 0 1rem;
}

/* Country/Language List Styles */
.location-selector-countries,
.language-selector-countries {
  display: flex;
  flex-direction: column;
}

.location-country,
.language-country {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 2px 0 1rem;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
}

.location-country:hover,
.language-country:hover {
  background-color: var(--hover-background);
  border-color: var(--accent-color);
}

.language-country[data-language] {
  border-left: 3px solid transparent;
  transition: border-left-color 0.2s ease;
}

/* Radio Button Styles */
.location-radio,
.language-radio {
  position: relative;
  opacity: 1;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  max-width: 14px !important;
  min-height: 14px !important;
  max-height: 14px !important;
  border: 2px solid var(--divider-color);
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  flex-shrink: 0;
  order: 2;
  margin-left: auto;
  outline: none;
  box-shadow: none;
}

.location-radio:checked,
.language-radio:checked {
  outline: 1px solid var(--primary);
  outline-offset: 2px;
  background-color: var(--primary);
  position: relative;
}

.location-radio:checked::after,
.language-radio:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background-color: white;
  border-radius: 50%;
}

.location-radio:hover,
.language-radio:hover {
  border-color: var(--primary-color);
}

/* Remove any default browser styling */
.location-radio::-ms-check,
.language-radio::-ms-check {
  display: none;
}

.location-radio::-webkit-outer-spin-button,
.location-radio::-webkit-inner-spin-button,
.language-radio::-webkit-outer-spin-button,
.language-radio::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.location-country-label,
.language-country-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  cursor: pointer;
  padding: 0.5rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.location-country-flag,
.language-country-flag {
  font-size: 1.5rem;
  flex-shrink: 0;
  isolation: isolate;
}

/* Flag SVG layout only — do not set fill/stroke on svg * (breaks CZ/US/SE flags that use <style>, classes, or rect/polygon). */
.location-selector-panel .location-country-flag svg,
.location-selector-panel .language-country-flag svg {
  display: block;
  width: 26px;
  height: 17px;
  flex-shrink: 0;
}

.location-country-info,
.language-country-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.language-click-hint {
  font-size: 0.75rem;
  color: var(--accent-color);
  opacity: 0.7;
  font-style: italic;
}

.location-country-region {
  font-size: 0.8rem;
  color: var(--text-color);
  opacity: 0.7;
  transition: color 0.2s ease;
}

/* Submit Button Styles */
.location-selector-submit {
  margin-top: auto;
  padding: 2rem;
  background-color: var(--background);
  border-top: 1px solid var(--divider-color);
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.location-submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.location-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media screen and (max-width: 767px) {
  .location-selector-panel {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    right: -100vw;
  }

  .location-selector-panel-header {
    padding: 1rem 1.5rem;
  }

  .location-accordion-header,
  .language-accordion-header {
    padding: 1.5rem;
  }

  .location-accordion-content,
  .language-accordion-content {
    padding: 0 1.5rem 1rem 2rem;
  }

  .location-sub-accordion-header {
    padding: 0.75rem 0;
  }

  .location-selector-submit {
    padding: 1rem 1.5rem;
  }
}

/* Contact Panel Styles */
.contact-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.contact-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-panel {
  position: fixed;
  top: 0;
  right: -110%;
  width: 40vw;
  max-width: 530px;
  min-width: 520px;
  height: 100vh;
  background-color: var(--background);
  z-index: 9999;
  transition:
    right var(--panel-slide-animation-duration) cubic-bezier(0.4, 0, 0.2, 1),
    opacity var(--panel-slide-animation-duration) ease;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  display: flex;
  opacity: 0;
  flex-direction: column;
}

@media screen and (max-width: 767px) {
  .contact-panel {
    width: 100vw;
    max-width: 100vw;
    min-width: 100vw;
    right: -100vw;
  }
}

.contact-panel.active {
  right: 0;
  opacity: 1;
}

.panel-close {
  background: none;
  width: fit-content;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0.5rem;
  margin-right: -0.5rem;
}

.contact-panel-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-panel-content p {
  margin: 0;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.contact-link a {
  text-decoration: none;
}

.contact-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}

.contact-link-text.question-link a {
  text-decoration: underline;
}

.contact-link-icon svg {
  width: 100%;
  height: 100%;
}

.contact-panel-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

/* Small visual keyboard indicator - Removed */
/* .keyboard-indicator {
  display: inline-block;
  font-size: 0.7rem;
  margin-left: 0.25rem;
  opacity: 0.7;
  vertical-align: super;
} */

/* Show keyboard indicator only when element is focused or on hover - Removed */
/* .navbar-link:hover .keyboard-indicator,
.navbar-link:focus .keyboard-indicator {
  opacity: 1;
} */

/* End Navbar styling */

/* Globe with current location flag styling */
.globe-with-flag {
  position: relative;
  display: inline-block;
}

.current-location-flag {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 8px;
  border-radius: 1px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.current-location-flag svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Ensure the flag is visible on different backgrounds */
.navbar .current-location-flag {
  /* border removed for cleaner appearance */
}

/* CRITICAL: Ensure flags are visible and maintain their colors */
.current-location-flag {
  isolation: isolate;
  z-index: 1000;
  position: absolute !important;
  bottom: -4px !important;
  right: -8px !important;
  width: 20px !important;
  height: 12px !important;
  border-radius: 0 !important;
  overflow: hidden !important;
  box-shadow: none !important;
  background: transparent !important;
}

.current-location-flag svg {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* CRITICAL: Force flag colors to be visible regardless of .top-of-page state */
.top-of-page .current-location-flag svg *,
.top-of-page:hover .current-location-flag svg *,
.top-of-page:has(.dropdown-content[style*="display: block"])
  .current-location-flag
  svg
  *,
.navbar .current-location-flag svg *,
.navbar.top-of-page .current-location-flag svg *,
.navbar.top-of-page:hover .current-location-flag svg *,
.current-location-flag svg * {
  fill: revert-layer !important;
  color: revert-layer !important;
  stroke: revert-layer !important;
}

/* Additional override to ensure SVG fill attributes work */
.current-location-flag svg path,
.current-location-flag svg rect,
.current-location-flag svg polygon,
.current-location-flag svg circle,
.current-location-flag svg g {
  fill: revert-layer !important;
}

/* NUCLEAR OPTION: Catch any remaining navbar hover states that might affect flags */
/* .navbar:hover .current-location-flag svg *,
.navbar.top-of-page:hover .current-location-flag svg *,
.top-of-page .navbar:hover .current-location-flag svg *,
.top-of-page:hover .navbar .current-location-flag svg *,
.top-of-page:hover .navbar:hover .current-location-flag svg * {
  fill: revert-layer !important;
  color: revert-layer !important;
  stroke: revert-layer !important;
} */

/* Fallback: Force flag visibility if other methods fail */
.current-location-flag svg {
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
}

.current-location-flag svg * {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure flag container is properly positioned */
.current-location-flag {
  background: transparent !important;
}

/* CSS custom properties for flag colors (for reference only) */
.current-location-flag {
  --flag-blue: #004990;
  --flag-white: #fff;
  --flag-red: #d31245;
  --flag-green: #006c35;
  --flag-black: #000000;
  --flag-red-alt: #a81e32;
  --flag-navy: #012169;
  --flag-red-gb: #c8102e;
}

/* Mobile adjustments */
@media only screen and (max-width: 767px) {
  .current-location-flag {
    width: 10px;
    height: 7px;
    bottom: -1px;
    right: -1px;
  }
}

/* Start mobile nav footer styling */

.mobile-nav-footer > .footer-links {
  display: flex;
  flex-direction: column;
  gap: calc(20px - 12px);
}

.mobile-nav-footer > .footer-links > a {
  padding: 6px 0;
  text-decoration: none;
  font-weight: 500;
}

.mobile-nav-footer > .mobile-menu-links-divider {
  margin: 14px 0;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.2s ease-in-out;
}

.footer-links > a.footer-link > div.footer-link-icon,
.footer-links > a.footer-link > div.footer-link-icon svg {
  width: 20px;
  height: 20px;
  transform: scale(0.92);
}

.footer-links > a.footer-link > div.footer-link-icon path {
  fill: var(--background-foreground);
}

.mobile-menu-logo path {
  fill: var(--background-foreground);
}

.mobile-menu-burger-close path {
  fill: var(--background-foreground);
}

.mobile-nested-menu-back path {
  fill: var(--background-foreground);
}

/* End mobile nav footer styling */

/* Start Footer styling */

footer {
  padding-top: 240px;
  margin-top: 20px;
  background-color: var(--background);
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: -1;
  overflow: hidden;
}

.footer-spacer {
  height: 1px;
}

footer .cls-1 {
  fill: var(--tertiary);
  stroke: unset;
  stroke-linecap: unset;
  stroke-linejoin: unset;
  stroke-width: unset;
}

body main,
body main#MainContent {
  margin-bottom: var(--footer-height, 0px);
  background-color: var(--background);
}

footer ul,
footer li {
  margin: 0;
  padding: 0;
}

.newsletter {
  width: 100%;
  border-top: 1px solid var(--divider-color);
  border-bottom: 1px solid var(--divider-color);
  padding: 2rem var(--side-padding);
}

.newsletter-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background-color: var(--background);
}

.newsletter-content {
  width: 50%;
  color: var(--background-foreground);
}

.newsletter-content h2 {
  font-size: 30px;
  margin: 0;
}

footer .newsletter-form {
  width: 46%;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

footer .newsletter-form-input {
  width: 100%;
  color: var(--background-foreground);
}

.newsletter-form-input #newsletter-email {
  border-radius: 0;
}

.newsletter-form-input-container-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.newsletter-form-input-container {
  width: 100%;
  max-width: 340px;
}

.newsletter-form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  text-align: left;
}

.newsletter-form-checkbox input[type="checkbox"]#trade-tick {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  padding: 0;
  margin: 2px 0 auto 0;
}

.newsletter-form input {
  margin-top: 6px;
  width: 100%;
  padding: 1rem;
  border: 1px solid var(--divider-color);
  height: 48px;
}

.newsletter-form button {
  height: 48px;
  padding: 1rem;
  border: 0;
  color: var(--neutral-foreground);
  background-color: var(--neutral);
}

footer .newsletter-form-success {
  transform: translateY(50%);
  transition: transform 0.3s ease;
}

.footer-container {
  width: 100%;
}

.footer-top-container {
  width: 100%;
  padding: 0 var(--side-padding);
  background-color: var(--neutral);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  background-color: var(--neutral);
  color: var(--neutral-foreground);
  padding: 3rem 0;
  margin: 0 auto;
}

.footer-top.mobile-only {
  display: none;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: var(--divider-color);
}

.footer-bottom-container {
  width: 100%;
  padding: 0 var(--side-padding);
  background-color: var(--neutral);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 1rem;
  padding: 1rem 0;
  background-color: var(--neutral);
}

.footer-bottom-top {
  display: flex;
  gap: 12px;
  padding: 0.5rem 0;
  align-items: center;
  padding-right: 0;
  color: var(--neutral-foreground);
}

.footer-bottom-top small {
  white-space: nowrap;
}

.footer-bottom-bottom {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.5rem 0;
  padding-left: 0;
  color: var(--neutral-foreground);
}

.social-icon {
  height: 22px;
  width: 22px;
}

.mobile-social-icons {
  display: none;
}

.logo-and-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.logo-footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  /* width: 171px; */
  /* height: 45px; */
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  width: 74%;
  max-width: 50rem;
  color: var(--neutral-foreground);
}

.link-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.link-title {
  font-weight: 700;
}

.link-container a {
  text-decoration: none;
}

.social-media ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 0;
}

.social-media ul li a {
  display: inline-block;
  max-width: 20px;
}

@media screen and (max-width: 1023px) {
  footer {
    padding-top: 0;
    z-index: 0;
    position: static;
  }

  footer .newsletter-form {
    width: 100%;
  }

  .newsletter-container {
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-content {
    width: 100%;
  }

  .newsletter-content h2 {
    font-size: 22px;
  }

  .newsletter-form-input {
    width: 100%;
  }

  .newsletter-form button {
    width: 164px;
  }

  .footer-top.desktop-only {
    display: none;
  }

  .footer-top.mobile-only {
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
  }

  /* Mobile Accordion Styles */
  .mobile-accordion {
    width: 100%;
  }

  footer .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    height: 44px;
  }

  .accordion-title {
    font-weight: 700;
  }

  .accordion-arrow {
    transition: transform 0.3s ease;
  }

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

  .accordion-content {
    display: none;
    /* Important for jQuery slideUp/slideDown */
    flex-direction: column;
    margin-bottom: 12px;
  }

  .accordion-content.active {
    max-height: 500px;
    /* Adjust based on content */
    opacity: 1;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
  }

  .accordion-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    opacity: 1 !important;
    /* Force visibility */
    visibility: visible !important;
    transition: opacity 0.2s ease-in;
    height: 44px;
  }

  .footer-bottom {
    padding: 0;
    flex-direction: column-reverse;
    gap: 0;
  }

  .footer-bottom-top {
    padding: 1rem;
  }

  .footer-bottom-top small {
    display: none;
  }

  .footer-bottom-bottom {
    width: 100%;
    flex-direction: column-reverse;
    gap: 7px;
    padding: 2rem var(--side-padding);
  }

  .divider-mobile {
    width: 100%;
    height: 1px;
    background: var(--divider-color);
  }

  .mobile-social-icons {
    display: flex;
  }

  .mobile-social-icons .icons-socials {
    height: 22px;
  }

  .mobile-social-icons svg {
    width: 22px;
    height: 22px;
  }
}

/* Responsive Social Icons with Fluid Scaling */
.social-media ul li a,
.mobile-social-icons svg,
.mobile-social-icons .icons-socials {
  /* Base size with fluid scaling */
  height: clamp(16px, 4vw + 10px, 24px);
  max-width: 100%;
  max-height: 100%;
}

/* Additional responsive tweaks for very small screens */
@media screen and (max-width: 375px) {
  .social-media ul li a,
  .mobile-social-icons svg,
  .mobile-social-icons .icons-socials {
    width: clamp(14px, 3vw + 8px, 20px);
    height: clamp(14px, 3vw + 8px, 20px);
  }
}

/* End Footer styling */

/* Start Contact Options */

.contact-options__title-wrapper {
  padding-top: 2rem;
}

.contact-options__title-wrapper > * {
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-options__title-wrapper p {
  margin: 0;
}

.contact-options .contact-options-wrapper__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  row-gap: 36px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.contact-options .contact-options-wrapper__items.flex-layout {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  grid-template-columns: none;
  gap: 0;
  padding: 4rem 0;
}

.contact-options
  .contact-options-wrapper__items.flex-layout
  .contact-options-wrapper__item {
  flex: 1;
  min-width: calc(33.333% - 1rem);
}

.contact-options .contact-options-wrapper__item {
  width: 100%;
  max-width: 360px;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

/* Hide accordion elements on desktop */
.contact-options-accordion-button,
.contact-options-accordion-content {
  display: none;
}

.contact-options .contact-options-wrapper__item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-options
  .contact-options-wrapper__item-content
  .contact-learn-more-btn {
  margin-top: 1rem;
  width: 100%;
}

.contact-options
  .contact-options-wrapper__item-content
  .contact-learn-more-btn.show-on-desktop-false {
  display: none;
}

.contact-options .contact-options-wrapper__item-icon {
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: visible;
  box-sizing: content-box;
}

.contact-options .contact-options-wrapper__item-icon path {
  stroke: var(--divider-color);
}

.contact-options .contact-options-wrapper__item-icon svg {
  height: 36px;
  width: auto;
  flex-shrink: 0;
  display: block;
  box-sizing: border-box;
}

.contact-options
  .contact-options-wrapper__item-icon.icon-customer-experience
  svg {
  width: 55px;
  height: auto;
}

/* .contact-options .contact-options-wrapper__item-icon.icon-email svg {
  width: auto;
  height: 48px;
} */

.contact-options .contact-options-wrapper__item-icon.icon-designed-us svg {
  height: 47px;
  width: auto;
}

.contact-options .contact-options-wrapper__item-title {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.contact-options .contact-options-wrapper__item-tooltip-wrapper {
  margin-top: 2px;
  cursor: pointer;
}

.contact-options .contact-options-wrapper__item-tooltip-trigger:hover {
  opacity: 0.5;
}

.contact-options .contact-options-wrapper__item-tooltip-trigger {
  position: relative;
  top: -1px;
  display: inline-flex;
}

.contact-options .contact-options-wrapper__item-tooltip-trigger svg {
  width: 12px;
  height: 12px;
}

.contact-options .contact-options-wrapper__item-description p {
  margin-top: 0;
}

.contact-options .contact-options-wrapper__item-tooltip-content {
  display: none !important;
}

.contact-options-wrapper__item-tooltip-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
}

.contact-options-wrapper__item-tooltip-overlay:not(.active) {
  transition:
    opacity 0.3s ease-in-out,
    visibility 0s linear 0.3s;
}

.contact-options-wrapper__item-tooltip-overlay.active {
  opacity: 1;
  visibility: visible;
}

.contact-options .contact-options-wrapper__item-tooltip-content .close-button {
  cursor: pointer;
  padding: 10px;
}

.contact-options .contact-options-wrapper__item-tooltip-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-options .contact-options-wrapper__item-tooltip-content-title {
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
}

.contact-options .contact-options-wrapper__item-tooltip-content-body {
  margin: 1rem 0 2rem;
}

@media screen and (max-width: 1250px) {
  .contact-options .contact-options-wrapper__items {
    grid-template-columns: repeat(2, 1fr);
    justify-content: unset;
  }

  .contact-options .contact-options-wrapper__item {
    max-width: unset;
  }

  .contact-options .contact-options-wrapper__items.flex-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media screen and (max-width: 1023px) {
  /* Hide desktop layout on tablet */
  .contact-options .contact-options-wrapper__item-icon,
  .contact-options .contact-options-wrapper__item-content {
    display: none;
  }

  /* Remove grid layout on tablet/mobile */
  .contact-options .contact-options-wrapper__items {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: column;
    gap: 0;
  }

  .contact-options .contact-options-wrapper__items.flex-layout {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-wrap: wrap;
    grid-template-columns: none;
    gap: 0;
    padding: 2rem 0 0;
  }

  .contact-options
    .contact-options-wrapper__items.flex-layout
    .contact-options-wrapper__item {
    max-width: 100%;
  }

  /* Show accordion elements on tablet */
  .contact-options-accordion-button {
    display: flex;
  }

  .contact-options-accordion-content {
    display: none;
  }

  .contact-options-wrapper__item {
    width: 100%;
  }

  .contact-options-accordion-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--neutral-foreground);
  }

  .contact-options-accordion-title {
    flex: 1;
  }

  .contact-options-accordion-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }

  .contact-options-accordion-icon svg {
    width: 12px;
    height: 12px;
  }

  .contact-options-accordion-icon.open {
    transform: rotate(90deg);
  }

  .contact-options-accordion-content {
    display: none;
    padding-bottom: 1.5rem;
  }

  .contact-options-accordion-description {
    margin-bottom: 1rem;
  }

  .contact-options-accordion-description p {
    margin: 0;
  }

  .contact-options-accordion-content .contact-learn-more-btn {
    width: 100%;
  }

  .contact-options
    .contact-options-wrapper__item-content
    .contact-learn-more-btn.show-on-desktop-false {
    display: flex;
  }

  .contact-options-wrapper .slick-next {
    right: -30px;
  }

  .contact-options-wrapper .slick-prev {
    left: -30px;
  }

  .slick-next:before {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }

  .slick-prev:before {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
  }

  .slick-next:before,
  .slick-prev:before {
    content: "";
    border: solid var(--neutral-foreground);
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
    opacity: 1;
    color: var(--neutral-foreground);
  }

  .slick-next.slick-disabled:before,
  .slick-prev.slick-disabled:before {
    opacity: 0;
  }
}

.slick-dots li button::before,
.slick-dots li.slick-active button::before {
  color: var(--tertiary);
}

@media screen and (max-width: 767px) {
  .contact-options__title-wrapper {
    padding-top: 0;
    padding-bottom: 2.5rem;
  }

  .contact-options-wrapper__items {
    gap: 0;
  }

  .contact-options .contact-options-wrapper__item {
    max-width: 100%;
    width: 100%;
    padding: 0;
  }

  .contact-options-wrapper__item-icon {
    margin-bottom: 1rem;
  }

  .contact-options-wrapper__item-title-tooltip-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-options-wrapper__item-description p {
    text-align: center;
  }

  .contact-options .contact-options-wrapper__items.flex-layout {
    padding: 0 0 0;
  }
}

.global-tooltip-container {
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 500px;
  height: 100vh;
  background: var(--background);
  color: var(--background-foreground);
  z-index: 1000;
  transform: translateX(100%);
  opacity: 0;
  transition:
    transform var(--panel-slide-animation-duration) cubic-bezier(0.4, 0, 0.2, 1),
    opacity var(--panel-slide-animation-duration) cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 30px;
  overflow-y: auto;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
}

.global-tooltip-container.active {
  transform: translateX(0);
  opacity: 1;
}

.contact-options-wrapper__item-tooltip-overlay {
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
}

.tooltip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tooltip-learn-more {
  margin-top: 2.5rem;
}

.global-tooltip-container .close-button {
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
}

.slick-prev,
.slick-next {
  z-index: 1;
  width: 40px;
  height: 40px;
}

.slick-prev:before,
.slick-next:before {
  content: "";
  border: solid var(--neutral-foreground);
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 3px;
  opacity: 1;
}

.slick-prev:before {
  transform: rotate(135deg);
}

.slick-next:before {
  transform: rotate(-45deg);
}

.slick-disabled:before {
  opacity: 0.25;
}

/* End Contact Options */

#MainContent {
  min-height: 100%;
  position: relative;
}

li {
  list-style: none;
}

/* Start Modal General */
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 800;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.modal-body {
  max-height: 100vh;
  padding: 5px 8px 5px;
  padding-bottom: 5px;
  position: fixed;
  top: 6.25rem;
  right: 7.4%;
  margin: 0;
  /* box-shadow: -2px 4px 11px 0px rgba(71, 71, 71, 0.39);
  -webkit-box-shadow: -2px 4px 11px 0px rgba(71, 71, 71, 0.39);
  -moz-box-shadow: -2px 4px 11px 0px rgba(71, 71, 71, 0.39); */
  border-radius: 0 0 15px 15px;
}

.modal-load {
  margin-top: 15px;
  margin-bottom: 15px;
}

.modal-header h3 {
  margin-top: 25px;
  text-align: center;
  /* letter-spacing: 0.1em; */
  text-decoration-line: none;
  margin-bottom: 10px;
}

.modal-body {
  max-width: 95%;
}

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

.modal-item {
  padding: 10px;
  display: flex;
  position: relative;
  padding-top: 16px;
  padding-bottom: 0;
}

.modal-image {
  width: 120px;
  height: 120px;
  min-width: 120px;
  background-repeat: round;
  cursor: pointer;
}

.modal-product {
  margin-left: 20px;
  width: 80.4%;
}

.modal-product p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
}

.modal-product .sku {
  font-weight: 400;
}

.modal-buttons button::before {
  display: none;
}

.modal-buttons a:active {
  border-color: rgba(128, 130, 135, 0.8);
}

.popup-price-and-stock {
  position: inherit;
  width: 30%;
}

@media (max-width: 767.98px) {
  .in-basket .modal-product {
    flex-direction: column;
  }

  .modal-product {
    margin-left: 14px;
  }

  .modal-view-bag {
    margin: 0.8rem 0 2rem 0;
    padding: 0 4rem;
  }

  .popup-price-and-stock {
    position: absolute;
    right: 3%;
    bottom: 43%;
  }

  .modal-close {
    top: 14px;
  }

  .modal-body {
    padding: 6px 12px;
    left: 0;
    right: 0;
    margin: auto;
  }

  .modal-product {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .tablet-only {
    display: block;
  }

  .modal-body {
    right: 18px;
  }
}

.in-basket .modal-product {
  align-items: flex-end;
}

.modal-close svg {
  width: 16px;
  height: 16px;
}

.modal-item .modal-image {
  width: 120px;
  height: 120px;
  min-width: 120px;
  margin-top: 0;
}

.in-basket .modal-image {
  width: 100px;
  height: 100px;
  min-width: 100px;
  margin-top: 0;
}

/* End Modal General */

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  /* Firefox */
}

/* End Form Style */

/* CONTACT FORM PAGE SETTINGS */

.page-title {
  text-align: center;
  position: relative;
}

/* End Search Page CSS */

#prodsearch-list {
  padding: 0 !important;
}

/* End Search widget Homepage */

/* Start Story Blocks */
.story-blocks {
  width: 100%;
}

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

.story-blocks .flex-container:last-child {
  padding-bottom: 0;
}

/* Product card styling */

.product-grid-item {
  display: flex;
  flex-direction: column;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.product-grid-item:focus {
  pointer-events: none;
}

.product-grid-item:focus-visible {
  pointer-events: auto;
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
}

.product-grid-item-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  position: relative;
  overflow: visible;
}

/* fallback for browsers that *don’t* understand aspect-ratio */
@supports not (aspect-ratio: 1) {
  .product-grid-item-image::before {
    content: "";
    float: left;
    padding-top: 100%;
    /* 1 : 1 square */
  }

  .product-grid-item-image::after {
    /* clear the float */
    content: "";
    display: block;
    clear: both;
  }
}

.product-grid-item-image img {
  width: 100%;
}

.product-grid-item-image .image-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* height: calc(100% - 48px); */
}

#prodsearch-list .product-grid-item-image .image-link {
  height: calc(100% - 48px);
}

.add-to-cart-button-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: clip;
  transition: overflow 1s ease-in-out 1s;
  height: 48px;
}

.add-to-cart-button {
  position: absolute;
  left: 0;
  right: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: none;
  width: 100%;
  transform: translateY(100%);
  bottom: 0;
  z-index: 1;
}

.primary-btn.add-to-cart-button.quickbuy {
  width: 100%;
}

.add-to-cart-button:focus {
  outline: var(--focus-outline);
  outline-offset: var(--focus-outline-offset);
  bottom: 0;
  transform: translateY(0);
}

.product-grid-item-image:hover .add-to-cart-button,
.product-grid-item-image:focus-within .add-to-cart-button {
  bottom: 0;
  transform: translateY(0);
}

.product-grid-item-image:focus-within .add-to-cart-button-wrapper {
  overflow: visible;
}

/* Remove default focus outline */
.product-grid-item:focus:not(:focus-visible),
.add-to-cart-button:focus:not(:focus-visible) {
  outline: none;
}

.product-grid-item-image:hover .add-to-cart-button {
  bottom: 0;
  /* Slide up on hover */
}

.product-grid-item-image:focus-within .add-to-cart-button {
  bottom: 0;
  /* Slide up on focus-within */
}

.product-grid-item-content {
  /* height: 100%; */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 8px;
  text-decoration: none;
}

.product-grid-item-content:hover {
  color: var(--background-foreground);
}

.product-grid-item-content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 2px;
}

.jdgm-star.jdgm--on,
.jdgm-star.jdgm--off {
  padding-right: 6px !important;
}

.product-grid-item-price {
  font-weight: 700;
}

.mobile-add-to-cart-button {
  display: none;
}

@media screen and (max-width: 1023px) {
  .mobile-add-to-cart-button {
    display: flex;
    flex: 1;
  }

  .product-grid-item-image .image-link {
    height: calc(100%);
  }

  .mobile-add-to-cart-button button {
    width: 100%;
    background: var(--background);
    color: var(--background-foreground);
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: none;
    border: 1px solid var(--divider-color);
    margin-top: auto;
  }

  .add-to-cart-button-wrapper {
    display: none;
  }
}

/* Collection filters */

.collection-filters-mobile {
  position: sticky;
  top: 0;
  display: none;
  background-color: var(--background);
  z-index: 9;
  transition:
    transform 0.3s ease-in-out,
    background-color 0.2s ease-in-out,
    top 0.3s ease-in-out;
}

.collection-filters-mobile.is-sticky {
  background-color: var(--background);
  top: 0;
}

.collection-filters-mobile.scrolling-up {
  top: 80px;
}

@media screen and (min-width: 768px) {
  .collection-filters-mobile.scrolling-up {
    top: var(--navbar-height);
  }
}

.collection-filters {
  height: var(--sub-navbar-banner-height);
  position: sticky;
  top: 0;
  z-index: 9;
  padding: 0 var(--side-padding);
  border-top: 1px solid var(--divider-color);
  border-bottom: 1px solid var(--divider-color);
  transition:
    transform 0.3s ease-in-out,
    background-color 0.2s ease-in-out,
    top 0.3s ease-in-out;
  box-sizing: content-box;
}

.filters-title-container {
  display: flex;
  background-color: var(--background);
  gap: 10px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.collection-filters.is-sticky {
  background-color: var(--background);
  top: 0;
}

.collection-filters.is-sticky .filter-group-display {
  background-color: var(--background);
  color: var(--background-foreground);
}

.collection-filters.scrolling-up {
  top: var(--navbar-height);
}

.collection-filters facet-filters-form {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

#FacetFiltersForm {
  display: flex;
  gap: 2rem;
  height: var(--sub-navbar-banner-height);
  margin: 0;
}

.filters-title {
  display: flex;
  align-items: center;
  min-width: 170px;
  width: 170px;
}

.filter-group {
  position: relative;
  min-width: 170px;
  height: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-group-summary.active-filter ~ .filter-group,
.filter-group:has(.filter-group-summary.active-filter) {
  margin-bottom: -1px;
  border-bottom: 1px solid var(--background-foreground);
}

.filter-group-summary {
  padding: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

/* .filter-group-summary.active-filter {
    border-bottom: 1px solid var(--primary);
  } */

.filter-group-summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--background-foreground);
  border-bottom: 2px solid var(--background-foreground);
  transform: rotate(45deg);
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.filter-group[open] .filter-group-summary::after {
  transform: rotate(-135deg);
}

.kew-grove-tabs {
  display: flex;
  align-items: center;
  height: var(--sub-navbar-banner-height);
  gap: 0;
  margin-left: auto;
}

.kew-grove-tabs .icon-info-button {
  margin-right: 1rem;
  display: flex;
  align-items: center;
}

.kew-grove-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  opacity: 0.5;
  cursor: pointer;
  margin-bottom: 0px;
  min-width: 44px;
  min-height: 44px;
  height: calc(100% + 2px);
  padding: 0 3rem;
  border: 1px solid var(--divider-color);
  border-left: none;
}

.kew-grove-tabs .kew-collection-tab {
  border-left: 1px solid var(--divider-color);
}

.kew-grove-tab.active {
  opacity: 1;
  background: var(--primary);
  color: var(--background);
}

.kew-grove-tab span {
  white-space: nowrap;
}

.mobile-kew-grove-tabs {
  display: flex;
  justify-content: space-between;
}

.mobile-kew-grove-tabs .kew-grove-tab {
  padding: 26px 0;
  width: 100%;
}

/* @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  } */

.filter-group-display {
  position: absolute;
  top: 80%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid var(--divider-color);
  z-index: 10;
  padding: calc(1rem - 8px) 0;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  visibility: hidden;
}

.custom-select-header span,
span.filter-option-text {
  user-select: none;
}

.filter-group[open] .filter-group-display {
  animation: slideDown 0.2s ease forwards;
  pointer-events: all;
  visibility: visible;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-group-display__header {
  display: none;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.filter-group-display__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 300px;
  overflow-y: auto;
}

.filter-group-display__list-item input {
  height: 18px;
  width: 18px;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 1rem;
  cursor: pointer;
}

.filter-option:hover {
  opacity: 0.5;
}

input[type="checkbox"],
input[type="radio"] {
  border-radius: 0;
  min-width: 18px;
  max-width: 18px;
  min-height: 18px;
  max-height: 18px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid var(--divider-color);
  position: relative;
  cursor: pointer;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]:checked,
input[type="radio"]:checked {
  background-color: var(--tertiary);
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

input[type="radio"]:checked::after {
  display: none;
}

.filter-group-display__submit {
  margin-top: 1rem;
  text-align: right;
}

.active-filters {
  display: none;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.active-filters__remove-filter {
  background: #f5f5f5;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.active-filters__clear {
  color: #666;
  text-decoration: underline;
}

@media screen and (min-width: 1024px) {
  .collection-filters-mobile {
    display: none;
  }
}

@media (max-width: 1023px) {
  .collection-filters {
    display: none;
  }

  .collection-filters-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem var(--side-padding);
    border-top: 1px solid var(--divider-color);
    border-bottom: 1px solid var(--divider-color);
  }
}

.mobile-filters-button {
  background: none;
  width: fit-content;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Update panel styles to ensure proper animation */
.mobile-filters-panel {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 84vw;
  max-width: 36rem;
  background: var(--background);
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform var(--panel-slide-animation-duration) ease-in-out;
  display: flex;
  flex-direction: column;
  visibility: visible;
  pointer-events: none;
}

/* Update active state */
.mobile-filters-panel.active {
  transform: translateX(0);
  pointer-events: auto;
}

/* Add closing animation class */
.mobile-filters-panel.closing {
  transform: translateX(-100%);
}

/* Header Styles */
.mobile-filters-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem var(--side-padding) 1rem;
}

.filter-by-title {
  padding: 2rem var(--side-padding);
  margin: 0;
  border-bottom: 1px solid var(--divider-color);
}

.mobile-filters-close {
  background: none;
  color: var(--primary);
  width: fit-content;
  border: none;
  cursor: pointer;
}

/* Content Styles */
.mobile-filters-content {
  flex: 1;
  overflow-y: auto;
}

.mobile-filter-group {
  padding: 0 var(--side-padding);
  border-bottom: 1px solid var(--divider-color);
}

.mobile-filter-group-summary {
  padding: 26px 3px 26px 0;
  /* 3px is for the accordion arrow */
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-filter-group-summary div {
  display: flex;
  gap: 0.5rem;
}

.mobile-filter-group-summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--background-foreground);
  border-bottom: 2px solid var(--background-foreground);
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

.mobile-filter-group[open] .mobile-filter-group-summary::after {
  transform: rotate(-135deg);
}

.mobile-filter-options-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 1rem;
}

.mobile-filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding: 0.75rem 0;
  cursor: pointer;
}

.mobile-filter-option input[type="checkbox"],
.mobile-filter-option input[type="radio"] {
  border-radius: 0;
  min-width: 18px;
  max-width: 18px;
  min-height: 18px;
  max-height: 18px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid var(--primary);
  position: relative;
  cursor: pointer;
  margin: 0;
}

.mobile-filter-option input[type="radio"] {
  border-radius: 50%;
}

.mobile-filter-option input[type="checkbox"]:checked,
.mobile-filter-option input[type="radio"]:checked {
  background-color: var(--tertiary);
}

.mobile-filter-option input[type="checkbox"]:checked::after,
.mobile-filter-option input[type="radio"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Footer Styles */
.mobile-filters-footer {
  padding: 2rem var(--side-padding);
  border-top: 1px solid var(--divider-color);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-filters-clear,
.mobile-filters-apply {
  flex: 1;
  width: 100%;
}

.mobile-filters-apply {
  background: var(--primary);
  border: none;
  color: white;
}

/* Active States */
.mobile-filters-panel.active {
  transform: translateX(0);
  visibility: visible;
}

.mobile-filter-group-summary.active-filter {
  color: var(--background-foreground);
}

/* Add overlay styles */
.mobile-filters-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--panel-slide-animation-duration) ease-in-out,
    visibility var(--panel-slide-animation-duration) ease-in-out;
}

.mobile-filters-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-filters-overlay.closing {
  opacity: 0;
}

.total-filters-count {
  display: none;
  color: var(--background-foreground);
  margin-right: 4px;
}

.filter-count {
  margin-left: 4px;
}

/* Remove default Safari disclosure triangle */
.filter-group-summary::-webkit-details-marker,
.mobile-filter-group-summary::-webkit-details-marker {
  display: none;
}

/* For older Safari versions */
.filter-group-summary,
.mobile-filter-group-summary {
  list-style: none;
  width: 100%;
  height: 100%;
}

/* .filter-option[style*="display: none"] {
    display: none;
  } */

.filter-group-display__list-item:has(.filter-option[style*="display: none"]) {
  display: none;
}

/* Product reviews */

#product-reviews-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--neutral);
  text-align: center;
  border-top: 1px solid var(--divider-color);
  border-bottom: 1px solid var(--divider-color);
}

@media (min-width: 768px) and (orientation: landscape) {
  #product-reviews-section {
    margin: 2rem 0;
    padding: 2rem var(--side-padding);
  }
}

#product-reviews-section .review-section {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

#product-reviews-section .review-item {
  margin-bottom: 2rem;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

#product-reviews-header-container .review-count {
  margin: 0;
}

#product-reviews-section .product-reviews-title {
  font-size: var(--body-text);
  font-family: var(--body-font-family);
  font-weight: 700;
}

#product-reviews-section .review-stars .half {
  position: relative;
}

#product-reviews-section .review-stars .half:after {
  content: "★";
  position: absolute;
  left: 0;
  width: 50%;
  overflow: hidden;
}

#product-reviews-section .review-stars .empty {
  color: #ddd;
}

#product-reviews-section .review-title {
  margin: 0.5rem 0;
  text-transform: uppercase;
}

#product-reviews-section .review-error,
#product-reviews-section .no-reviews {
  color: #dc3545;
  padding: 1rem;
  border: 1px solid currentColor;
}

/* Add these styles for the carousel */
#product-reviews-section .reviews-carousel {
  position: relative;
}

#product-reviews-section .reviews-carousel .slick-list {
  padding: 20px 0;
}

#product-reviews-section .reviews-carousel .slick-dots {
  bottom: -30px;
  z-index: 1;
  left: 0;
  right: 0;
}

#product-reviews-section .reviews-carousel .slick-track {
  display: flex !important;
  align-items: stretch;
  min-height: 300px;
}

#product-reviews-section .review-slide {
  height: auto;
  padding: 0 15px;
  display: flex !important;
}

#product-reviews-section .review-item {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 4rem;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--divider-color);
}

#product-reviews-section .review-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
}

#product-reviews-section .review-images {
  order: 1;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.review-images img {
  max-width: 100px;
  max-height: 100px;
  object-fit: cover;
}

.review-title {
  order: 2;
  margin: 0;
}

.review-item .review-rating {
  order: 3;
}

.review-author {
  text-transform: uppercase;
}

.review-content {
  order: 4;
  margin-bottom: 1rem;
  text-align: center;
}

.review-footer {
  order: 5;
  display: flex;
  justify-content: space-between;
}

.review-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

/* Judge.me star styling */
.jdgm-star {
  font-size: 12px;
  margin: 0 2px;
}

.jdgm--on:before {
  content: "★";
}

.jdgm--half:before {
  content: "⯨";
  color: #ffd700;
}

.jdgm--off:before {
  content: "★";
  color: #ddd;
}

/* Add margin between stars */
.jdgm-star {
  margin-right: 2px !important;
}

/* Remove margin from last star */
.jdgm-star:last-child {
  margin-right: 0 !important;
}

.slick-dots li:only-child {
  display: none;
}

.slick-dots li button::before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Add spacing between stars */
.review-rating svg {
  margin: 0 2px;
}

.review-rating svg:last-child {
  margin-right: 0;
}

.jdgm-verified-wrapper {
  display: none !important;
}

.jdgm-medals-wrapper.jdgm-widget {
  background-color: transparent !important;
}

/* Review card styles */
.review-card {
  display: block;
  flex-direction: column;
  padding: 4.5rem 1.5rem;
  border: 1px solid var(--divider-color);
  height: auto;
  text-align: center;
  justify-content: center;
  margin: 0.5rem;
}

.review-title {
  margin: 0.5rem 0;
}

.review-footer {
  display: flex;
  justify-content: center;
}

.review-images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.review-images img {
  max-width: 120px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
}

/* Kew Grove modal styling */

.modal-overlay-kew-grove {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content-kew-grove {
  background: var(--neutral);
  color: var(--neutral-foreground);
  padding: 40px 60px 40px;
  position: relative;
  width: fit-content;
  animation: modalSlideIn 0.5s ease-out;
  width: fit-content;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: scroll;
}

.modal-content-kew-grove h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 24px;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.kew-grove-wrapper {
  display: grid;
  grid-template-columns: repeat(2, calc(50% - 2rem));
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.kew-grove-container {
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
  max-width: 24rem;
  height: 100%;
}

.kew-grove-heading {
  font-style: normal;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin: 0;
  margin-top: 10px;
}

.kew-grove-container p {
  margin-bottom: 12px;
}

.kew-grove-button {
  margin-top: auto;
  width: fit-content;
  padding: 0 24px;
}

.modal-kew-grove-tabs {
  display: none;
  padding: 0 60px;
}

@media screen and (max-width: 1023px) {
  .kew-grove-container svg {
    width: 100%;
    height: fit-content;
  }
}

@media screen and (max-width: 767px) {
  .modal-content-kew-grove {
    padding: 40px 0 60px;
  }

  .kew-grove-wrapper {
    display: none;
  }

  .modal-content-kew-grove h2 {
    padding: 0 60px;
  }

  .modal-kew-grove-tabs {
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--divider-color);
    border-bottom: 1px solid var(--divider-color);
    display: flex;
    justify-content: space-between;
    padding: 0;
  }

  .kew-grove-button {
    padding: 1.5rem 0;
    width: 100%;
    font-weight: 300;
  }

  .kew-grove-container {
    max-width: 100%;
  }
}

/* Start Select Box Styling */
select.styledselect {
  background-color: white;
  display: inline-block;
  font: inherit;
  line-height: 1.5em;
  padding: 0.2em 2.5em 0.2em 0.2em;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
}

@media only screen and (min-width: 768px) {
  /* For desktop: */
  .desktop-hide {
    display: none !important;
  }
}

/* Print Settings */
@media print {
  html,
  body {
    background-color: #e6e6e6 !important;
  }

  #newsletter {
    display: none !important;
  }

  #shopify-section-footer {
    background: none !important;
    background-color: var(--secondary) !important;
  }

  .mobile-menu,
  .mobileheader {
    display: none !important;
  }

  .desktop-hide {
    display: none !important;
  }
}

@media only screen and (max-width: 767px) {
  /* For mobile phones: */
  #sign-up button {
    display: block;
    margin: auto;
    margin-top: 5px;
    text-align: center;
  }

  .subcol-heading {
    padding: 10px 15px 25px 10px !important;
  }

  /* Start Mobile Navigation Settings */
  .sub-items-image {
    display: none;
  }

  .mainmenu .sub-menu {
    padding-right: 10px !important;
  }

  /* End Mobile Navigation Settings */

  /* Start Login Page Template */

  .cart-col .qty-select {
    .toggle {
      width: 22px;
    }

    input {
      width: 25px;
    }
  }

  .cart-item-actions {
    width: 70%;
  }

  .cart-item-image {
    width: 18%;
  }

  .cart-footer {
    display: block;
  }

  /* End Cart Page */

  /* Modal settings */
  #quick-buy .modal-body {
    width: 95% !important;
  }

  .mobile-hide {
    display: none !important;
  }
}

/* Navigation Menu Settings */

/*================ MODULES ================*/
/*================ Site Header ================*/

.container {
  position: relative;
}

/* Start Grid Rules */
.one-half {
  width: calc(100% / 2);
}

.one-third {
  width: calc(100% / 3);
}

.one-fourth {
  width: calc(100% / 4);
}

.one-fifth {
  width: calc(100% / 5);
}

.one-sixth {
  width: calc(100% / 6);
}

/* End Mobile Homepage Fixes */

.jdgm-widget.jdgm-widget {
  background-color: white;

  textarea,
  input {
    padding-left: 5px;
  }
}

a.jdgm-write-rev-link,
.jdgm-submit-rev,
.jdgm-submit-question,
.jdgm-ask-question-btn {
  background: #f5f5f5;
  border: 0.5px solid #f5f5f5;
  border-radius: 3px;
  box-sizing: border-box;
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
  line-height: 23px;
  text-align: center;
  padding: 2px 25px;
  display: inline-block;
}

a.jdgm-write-rev-link:hover,
.jdgm-submit-rev:hover,
.jdgm-submit-question:hover,
.jdgm-ask-question-btn:hover {
  background: transparent;
  border-color: transparent;
}

a.jdgm-write-rev-link:active,
.jdgm-submit-rev:active,
.jdgm-submit-question:active,
.jdgm-ask-question-btn:active {
  border-color: #f5f5f5;
}

/* .jdgm-star {
  color: #818387 !important;
} */

.jdgm-rev__icon::after,
.jdgm-rev__buyer-badge {
  background-color: #818387 !important;
}

.stockarea {
  width: 100%;
}

.prodcolimg img {
  width: 100%;
}

.cor-relative {
  position: relative;
}

.cor-absolute {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
}

/*Home Page*/

.hero-main-section .hero-section {
  height: calc(100vh - 26px);
}

.template-page .hero-main-section .hero-section {
  height: calc(70vh - 26px);
}

.hero-main-section .hero-inner.cor-relative {
  height: 100%;
  overflow: hidden;
}

.hero-main-section .hero-inner.cor-relative .Hero-images {
  height: 100%;
  line-height: 0;
}

.hero-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 10px;
  text-align: center;
}

.hero-content .hero-content-inner {
  width: 100%;
  padding: 0 1rem;
}

.hero-content .hero-content-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  padding-bottom: 1rem;
}

@media (min-width: 768px) {
  .hero-content .hero-content-inner {
    max-width: 40%;
    align-items: unset;
  }
}

@media (min-width: 1279px) {
  .hero-content .hero-content-inner {
    max-width: 30%;
    align-items: unset;
  }
}

.hero-main-section .hero-inner.cor-relative .Hero-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content p {
  margin-top: 0;
}

.product-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-images {
  height: 100%;
}

/* Start Probably don't need this */
a.new-btn {
  font-style: normal;
  font-weight: 400 !important;
  text-decoration: unset !important;
  background: #fff;
  padding: 2px 16px 2px;
  margin-top: 18px;
  display: inline-block;
  border-radius: 3px;
  position: relative;
  transition: 0.4s all;
  min-width: 110px;
  text-align: center;
}

a.new-btn span {
  position: relative;
}

a.new-btn:hover {
  background: #f5f5f5;
  font-weight: 700;
}

a.read-btn {
  font-weight: 300;
  text-align: center;
  color: #808287;
  margin-top: 4px;
  display: inline-block;
  text-decoration: underline;
}

/* End Probably don't need this */

.review-content ul.slick-dots {
  bottom: 20px !important;
}

.slick-dots li button {
  width: var(--carousel-dot-size);
  height: var(--carousel-dot-size);
  font-size: var(--carousel-dot-size);
}

.slick-dots li button::before {
  width: var(--carousel-dot-size);
  height: var(--carousel-dot-size);
  font-size: var(--carousel-dot-size);
}

.copytext.text-center {
  padding-bottom: 10px;
  text-align: center;
}

@media (min-width: 1280px) {
  .template-index .copytext.text-center {
    padding-top: 0px;
    margin-top: -7px;
  }
}

.copytext.text-center small {
  font-style: normal;
  font-weight: normal;
}

@media (max-width: 1199.98px) {
  .hero-main-section .hero-section {
    height: auto;
  }

  /* .hero-content .hero-content-inner {
    max-width: 60%;
  } */
  .hero-content {
    padding-bottom: 20px;
  }

  .two-main-section .box-inner,
  .two-main-section .box-col {
    height: auto;
  }

  .modal {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 800;
    transition-property:
      background-color,
      backdrop-filter,
      -webkit-backdrop-filter;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
}

@media (max-width: 767px) {
  .modal {
    background-color: #fff !important;
  }
}

@media (max-width: 1023.98px) {
  .hero-main-section .hero-section {
    height: 75vh;
  }

  /* .hero-content .hero-content-inner {
    max-width: 80%;
  } */
}

.gallery-feed a.container {
  text-decoration: none;
}

@media (max-width: 767.98px) {
  body,
  main#MainContent {
    padding: 0;
  }

  .hero-content {
    padding-bottom: 100px;
  }

  .hero-main-section .hero-section {
    height: calc(92vh - 12px);
  }

  .template-page .hero-main-section .hero-section {
    height: calc(75vh - 12px);
  }

  .hero-main-section .hero-section.video-active {
    height: auto;
  }

  .product-content .product-content-inner p {
    margin-top: 10px;
    margin-bottom: 12px;
  }

  /* Probaly don't need this */
  .product-content .product-content-inner p + a.new-btn {
    margin-bottom: 28px;
    margin-top: 0;
  }

  .hero-content p br {
    display: none;
  }

  .product-section {
    padding: 0px 6px;
  }

  .product-content {
    align-items: flex-end;
    justify-content: center;
  }

  .product-content .product-content-inner {
    max-width: 80%;
    text-align: center;
  }

  /* Probaly don't need this */
  a.new-btn {
    margin-bottom: 18px;
    margin-top: 9px;
    font-weight: bold;
    padding: 0px 8.5px;
  }

  .product-one-section .product-content {
    padding-left: 0;
    padding-right: 0;
    justify-content: center !important;
  }
}

/*Product Page*/

@media (max-width: 1199.98px) {
  .about-content-inner {
    max-width: 600px;
    width: 100%;
  }
}

@media (max-width: 1023.98px) {
  .story-blocks .flex-container:last-child p {
    margin-bottom: 10px;
  }

  .about-content-inner {
    max-width: 100%;
  }
}

/*about css end*/

/* Hide Write a review button */
a.jdgm-write-rev-link {
  display: none !important;
}

.jdgm-rev__prod-link-prefix,
.jdgm-rev__author {
  text-transform: capitalize;
}

.contact-row label {
  margin-bottom: 5px;
}

.about-img-inner .img-full img {
  vertical-align: middle;
}

@media (max-width: 767.98px) {
  .toggle span {
    line-height: 10px !important;
  }

  .toggle.minus span {
    line-height: 9px !important;
  }

  .blog-inner {
    text-align: left !important;
  }

  .about-content .p-tag a {
    text-align: left !important;
  }

  .product-top .product-title {
    max-width: 85%;
  }
}

.jdgm-rev__icon::after,
.jdgm-rev__buyer-badge {
  display: none !important;
}

.jdgm-ask-question-btn,
.jdgm-submit-question,
.jdgm-submit-rev,
a.jdgm-write-rev-link {
  background: #f5f5f5;
  border: 0.5px solid #f5f5f5 !important;
  border-radius: 3px;
  box-sizing: border-box !important;
  font-style: normal;
  font-weight: 700;
  line-height: 23px !important;
  text-align: center !important;
  padding: 2px 25px !important;
  display: inline-block !important;
}

a.jdgm-ask-question-btn {
  display: none !important;
}

a.jdgm-write-rev-link {
  display: none !important;
}

@media only screen and (min-width: 768px) {
  .mainheader {
    position: relative;
    z-index: 900;
  }
}

.nav-item {
  transition: unset;
}

footer {
  margin-top: 0;
}

.transparent-header .child_link:hover {
  color: #999;
  opacity: 0.7;
}

/****** transparent header styles ******/

/* Scoped: avoid flattening all SVGs (e.g. flags in panels/dialogs) under .transparent-header */
.transparent-header.active .navbar .nav-icon svg path,
.transparent-header.active .mobile-nav-icons .nav-icon svg path,
.transparent-header.active .navbar-logo svg path,
.nav-item.nav-item-basket a,
.transparent-header.active a {
  fill: #474747;
}

/* Start Probably don't need this */
.cartpopitem {
  padding-bottom: 2.2px;
  padding-top: 2.2px;
  align-items: center;
}

.new-menu-main .cartpop-image img {
  width: 88px;
  height: 88px;
  display: block;
  object-fit: cover;
}

.new-menu-main .cartpop-image {
  max-width: 88px;
  width: 100%;
  width: 100%;
}

.new-menu-main .cart-pop-item {
  display: flex;
  flex-wrap: wrap;
  max-width: 88%;
  width: 100%;
  justify-content: space-between;
  padding: 0px;
}

.total-info small {
  font-weight: 400;
  white-space: wrap;
}

.new-menu-main .cart-pop-item .product-info-basket {
  max-width: 70%;
  width: 100%;
  padding-left: 14px;
}

.new-menu-main .cart-pop-item .qty-info,
.new-menu-main .cart-pop-item .total-info {
  max-width: 20%;
  width: 100%;
  text-align: right;
}

.cartpop-totals {
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-end;
  text-align: right;
  margin-top: 24px;
  margin-bottom: 0px;
}

.cartpop-totals .dropdown-article-title.main-title {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.new-menu-main .cartpop.sub-menu .cartpop-footer {
  width: 100%;
  margin-left: auto;
  border-top: 1px solid #474747;
  margin-right: 0;
  margin-top: 10px;
}

.basket-desktop .cartpopitem {
  border-bottom: none;
}

/* End Probably don't need this */

@media (max-width: 1199.98px) {
  .mobile-menu .active-search {
    margin-top: 18px;
    position: relative;
  }
}

.jdgm-star {
  font-family: "JudgemeStar" !important;
}

.slide-item {
  position: relative;
  height: 100%;
}

.slick-slider {
  width: 100%;
  height: 100%;
}

.qty-select .toggle {
  vertical-align: middle;
  position: relative;
  cursor: pointer;
  background-color: transparent;
  text-align: center;
  width: 30px;
  font-size: 15px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 0;
  height: 32px;
}

/* search changes */

.template-article .about-inner ol li {
  list-style: decimal;
}

@media only screen and (max-width: 767px) {
  .product-section .banner-content {
    padding-bottom: 3rem;
  }
}

.modal-body .atb-row-one {
  display: flex;
  margin-top: 5px;
  right: 10px;
}

.in-basket .atb-row-one {
  right: 20px;
}

.modaladdtocart:disabled {
  cursor: wait;
}

.modal-item {
  padding: 16px 0px 0;
}

.modal-image {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 3px;
}

@media only screen and (min-width: 768px) {
  .modal-body .atb-row-one {
    right: 0;
  }

  .modal-header {
    margin-top: 0%;
  }

  .modal-image {
    width: 120px;
    height: 120px;
    min-width: 120px;
  }

  .in-basket .modal-image {
    width: 120px;
    height: 120px;
    min-width: 120px;
  }

  #cart-added .qty-select > input {
    text-align: center;
    font-weight: 600;
  }

  .modal-load .primary-btn {
    min-width: 10;
  }
}

@media only screen and (max-width: 767px) {
  .in-basket .atb-row-one {
    right: auto;
    left: 7.5rem;
    bottom: 0.2rem !important;
  }

  .modal-load > p {
    margin-top: 2rem;
    margin-bottom: 1rem;
  }

  .modal-header h3 {
    margin-top: 20px;
  }

  .modal-product p {
    flex-wrap: nowrap;
    gap: 3px;
  }

  .modal-load {
    margin-top: 10px;
    margin-bottom: 24px;
  }

  .modal-body {
    min-height: 500px;
  }

  .modal-buttons {
    line-height: 20px;
  }
}

.modal-upsell-container {
  display: flex;
  flex-direction: column;
  background-color: #f1f1f1;
  border-radius: 10px;
  padding: 10px 10px 20px 10px;
}

.modal-upsell-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.upsell-item .modal-product {
  flex-direction: column;
}

@media only screen and (min-width: 768px) {
  .modal-item {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .in-basket.modal-item > div {
    margin-top: auto;
    margin-bottom: auto;
  }

  .modal-load .item,
  .modal-load span.price {
    margin-top: 5px;
  }

  .upsell-item {
    display: flex;
    padding: 0 0.6rem;
  }

  .upsell-item .modal-image {
    width: 120px;
    height: 120px;
  }

  .upsell-item .modal-product {
    margin: 0;
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    margin-left: 20px;
  }

  .modal-product p {
    flex-wrap: nowrap;
  }

  .modal-body {
    width: 500px;
    max-height: 100vh;
    height: fit-content;
    background-color: #ffffff !important;
    transition-property:
      background-color,
      backdrop-filter,
      -webkit-backdrop-filter;
    backdrop-filter: saturate(180%) blur(16px);
    -webkit-backdrop-filter: saturate(180%) blur(16px);
  }

  .modal-header h3 {
    margin-top: 25px;
    margin-bottom: 5px;
  }

  .modal-product .sku {
    margin-bottom: auto;
  }

  .added-product {
    max-width: 300px;
  }

  .added-product.modal-product {
    align-items: flex-start;
  }

  .added-product .popup-top-line {
    column-gap: 6px;
  }
}

@media only screen and (min-width: 1000px) {
  .modal-body {
    width: 490px;
  }
}

@media (min-width: 768px) and (max-width: 1279px) {
  .mainheader:not(.menufix) .mobile-logo {
    padding-top: 10px;
  }
}

.template-landing-page {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 6px 0;
}

.template-landing-page > .fade-up-in-view:first-of-type {
  transform: translateY(0);
  opacity: 0;
}

.template-landing-page > .fade-up-in-view:first-of-type.in-view {
  transform: translateY(0);
  opacity: 1;
}

.mobile-video {
  display: block;
}

.tablet-video {
  display: none;
}

.desktop-video {
  display: none;
}

@media screen and (min-width: 768px) {
  .template-landing-page {
    gap: 12px;
    padding: 0px;
  }
}

.template-landing-page.buying-guide-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-block: 0;
  padding-bottom: 4rem;
}

@media screen and (min-width: 768px) {
  .template-landing-page.buying-guide-layout {
    gap: 2rem;
    padding: 0;
    padding-bottom: 4rem;
  }
}

body.iframe #onetrust-consent-sdk,
body.local #onetrust-consent-sdk,
#ot-sdk-btn-floating.ot-floating-button button,
#ot-sdk-btn-floating .ot-floating-button__front.custom-persistent-icon {
  display: none !important;
}

#onetrust-banner-sdk.otCenterRounded {
  border-radius: 0 !important;
}

#onetrust-banner-sdk.otCenterRounded {
  background: var(--tertiary) !important;
  color: var(--tertiary-foreground) !important;
}

#onetrust-consent-sdk #onetrust-pc-btn-handler,
#onetrust-consent-sdk
  #onetrust-pc-btn-handler.cookie-setting-link#onetrust-consent-sdk
  #onetrust-pc-btn-handler,
#onetrust-consent-sdk #onetrust-pc-btn-handler.cookie-setting-link {
  background: var(--tertiary) !important;
  color: var(--tertiary-foreground) !important;
}

/* Onetrust button styling */
#onetrust-banner-sdk #onetrust-accept-btn-handler,
#onetrust-banner-sdk #onetrust-reject-all-handler,
#onetrust-banner-sdk #onetrust-pc-btn-handler {
  border-radius: 0 !important;
  font-size: var(--body-font-size) !important;
  letter-spacing: var(--body-letter-spacing) !important;
  padding: 18px 22px !important;
  min-width: fit-content !important;
}

#onetrust-banner-sdk #onetrust-policy-text,
#onetrust-banner-sdk .ot-b-addl-desc,
#onetrust-banner-sdk .ot-gv-list-handler {
  font-size: var(--body-font-size) !important;
  letter-spacing: var(--body-letter-spacing) !important;
  line-height: var(--body-line-height) !important;
}

body:not(.menufix-active) #cart-added > .modal-body {
  top: 5.39rem;
}

img {
  display: block;
}

.pagination {
  text-align: center;
}

/* HUBSPOT FORM */
.contact-form-modal__form-wrapper .hbspt-form {
  width: 100%;
  overflow: auto;
}

.contact-form-modal__form-wrapper .hs-form-private,
.section-meta-gen-form__form .hs-form-private {
  display: flex;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 10px;
  padding: 0 1rem;
}

.contact-form-modal__form-wrapper .hs-form-private input,
.contact-form-modal__form-wrapper .hs-form-private textarea,
.contact-form-modal__form-wrapper .hs-form-private select,
.section-meta-gen-form__form .hs-form-private select,
.section-meta-gen-form__form .hs-form-private input,
.section-meta-gen-form__form .hs-form-private textarea {
  width: 100%;
  border-radius: 0;
  height: 3rem;
}

.contact-form-modal__form-wrapper .hs-form-private span {
  font-weight: 400;
}

.contact-form-modal__form-wrapper .hbspt-form input,
.contact-form-modal__form-wrapper .hbspt-form select,
.section-meta-gen-form__form input,
.section-meta-gen-form__form select {
  width: 100%;
  height: 3rem;
  background: none;
  text-align: left;
  font-family: var(--font-family-body);
  letter-spacing: var(--letter-spacing-body);
}

.contact-form-modal__form-wrapper .field,
.contact-form-modal__form-wrapper .hs-form-private textarea {
  width: 100%;
}

.contact-form-modal__form-wrapper .hs_firstname,
.contact-form-modal__form-wrapper .hs_lastname,
.contact-form-modal__form-wrapper .hs_email,
.contact-form-modal__form-wrapper .hs_phone,
.section-meta-gen-form__form .hs_firstname,
.section-meta-gen-form__form .hs_lastname,
.section-meta-gen-form__form .hs_email,
.section-meta-gen-form__form .hs_phone {
  width: calc(50% - 6px);
}

@media screen and (max-width: 767px) {
  .contact-form-modal__form-wrapper .hs_firstname,
  .contact-form-modal__form-wrapper .hs_lastname,
  .contact-form-modal__form-wrapper .hs_email,
  .contact-form-modal__form-wrapper .hs_phone {
    width: 100%;
  }
}

.hs-error-msgs {
  margin-top: 0;
}

.hbspt-form p,
.hs-form-field {
  text-align: left;
}

.hbspt-form .hs-form-booleancheckbox input {
  height: 1rem;
  width: 1rem;
  width: fit-content;
  margin: 0;
}

.hbspt-form .hs-form-booleancheckbox p {
  padding: 0;
  display: block;
}

.inputs-list {
  padding-left: 0;
}

.hs-form-booleancheckbox-display {
  display: flex;
  align-items: center;
}

.hs-submit input {
  background-color: var(--neutral);
  color: var(--neutral-foreground);
  display: inline-block;
  font-weight: 400;
  text-align: center;
  height: 48px;
  width: 250px;
  margin: 0;
  border: none;
  min-width: fit-content;
  padding: 0 2rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.hs-submit input:hover {
  background-color: var(--background);
  color: var(--background-foreground);
}

.hs-submit input:focus {
  border: 1px solid #f5f5f5;
}

@media screen and (max-width: 767px) {
  .footer.copytext {
    flex-direction: column-reverse;
  }

  #footer-social-icons .social-media > ul {
    padding: 0;
  }

  .social-media ul li:last-of-type a {
    margin-right: 0;
  }
}

.basket-item-price-wrapper {
  display: flex;
  gap: 6px;
}

.rrp-price {
  position: relative;
  margin-left: auto;
  width: fit-content;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .rrp-price {
    margin-left: initial;
  }
}

.rrp-price:after {
  border-top: 2px solid #474747;
  position: absolute;
  content: "";
  right: 0;
  top: 50%;
  left: 0;
}

.is-b2b .rrp-price,
.is-b2b.rrp-price {
  display: initial;
}

.not-b2b .rrp-price {
  display: none;
}

@media screen and (min-width: 768px) {
  .basket-item-price-wrapper .rrp-price.mobile-only {
    display: none;
  }

  .not-b2b .basket-item-price-wrapper .rrp-price.mobile-only {
    display: none;
  }

  .basket-item-price-wrapper .rrp-price.desktop-only {
    display: initial;
  }

  .not-b2b .basket-item-price-wrapper .rrp-price.desktop-only {
    display: none;
  }
}

.hs_cfs_bag_exchange {
  width: 100% !important;
  flex: 0 0 100% !important;
}

.hs-richtext.hs-main-font-element,
.hs_submit.hs-submit,
.hs_what_product_category_are_you_interested_in_,
.hs-what_product_category_are_you_interested_in_ {
  width: 100% !important;
}

.hs-form-checkbox-display {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  cursor: pointer;
}

.hs-form-checkbox-display input[type="checkbox"] {
  flex-shrink: 0 !important;
  margin: 0 !important;
  margin-top: 2px !important;
}

.hs_trade_or_retail {
  width: 100% !important;
}

/*====== Start Section stylings ======*/

/* Start Section image split */

.section-image-split {
  display: flex;
  flex-direction: column;
  padding: 0.5rem var(--side-padding);
}

.split-header-section > h3 {
  font-weight: 700;
  text-align: center;
  margin-bottom: 0;
  margin-top: 0.25rem;
}

.split-header-section > p {
  text-align: center;
  margin-top: 0rem;
}

.split-image-section {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.split-image-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.split-image-block > img {
  width: 100%;
}

.split-text-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.split-text-section > h4 {
  font-weight: 700;
  text-align: center;
  text-transform: none;
  margin-bottom: 0;
  margin-top: 0;
}

.split-text-section p {
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
  margin-top: 0.25rem;
}

.section-image-split .read-more-btn {
  margin-top: 0.5rem;
}

@media screen and (min-width: 768px) {
  .section-image-split {
    padding: calc(4rem - 12px) var(--side-padding) 4rem;
  }

  .split-image-section {
    flex-direction: row;
    gap: 12px;
  }

  .split-header-section > h3 {
    margin-bottom: 0.5rem;
  }

  .split-text-section {
    align-items: start;
    width: 100%;
    height: 100%;
  }

  .split-text-section > h4 {
    font-weight: 700;
    text-align: left;
  }

  .split-text-section > p {
    text-align: left;
    padding: 0;
  }

  .section-image-split .read-more-btn-container {
    margin-top: auto;
  }
}

/* End Section image split */

/* Start Section reviews carousel */

.review-text,
.reviewer-text {
  font-family: var(--body-font-family);
  width: 75%;
  margin: auto;
}

.review-text {
  font-weight: 300;
  margin-bottom: 1rem;
}

.reviewer-text {
  font-weight: 400;
  text-transform: uppercase;
  font-style: normal;
}

.review-inner {
  height: 320px;
  margin: 0 0 2rem;
  background-color: var(--neutral);
}

.review-carousel-section .slick-slider {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: auto;
}

.review-content,
.review-content-inner {
  height: 100%;
}

@media (min-width: 768px) and (orientation: landscape) {
  .review-text,
  .reviewer-text {
    width: 100%;
  }

  .review-inner {
    margin: 0 0 4rem;
    background-color: var(--neutral);
  }

  .review-carousel-section .slick-slider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40%;
    margin: auto;
  }
}

.section-reviews-carousel .review-content {
  height: 100%;
  display: flex;
  background: var(--neutral);
  color: var(--neutral-foreground);
}

.section-reviews-carousel .review-content-inner {
  margin: auto;
  max-width: 500px;
  width: 100%;
  height: 100%;
}

.section-reviews-carousel .review-content-inner > .slick-slider {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100% - 2rem);
}

.slide-item p,
.slide-item h3 {
  text-align: center;
}

/* End Section reviews carousel */

/* Start Section text & image */

.section-text-image {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--side-padding);
  max-width: var(--max-width);
  margin: 0 auto;
}

@media screen and (min-width: 1024px) {
  .section-text-image--image-left {
    flex-direction: row-reverse;
  }

  .section-text-image--image-left .section-text-image__text {
    padding-right: 0;
    padding-left: var(--side-padding);
  }
}

.section-text-image__text {
  width: 50%;
  padding-right: var(--side-padding);
}

.section-text-image__image {
  width: 50%;
}

.section-text-image__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 1023px) {
  .section-text-image {
    flex-direction: column;
    gap: calc(1rem + 1rem);
  }

  .section-text-image.section-text-image--mobile-text-below {
    flex-direction: column-reverse;
  }

  .section-text-image__text {
    width: 100%;
    padding-right: 0;
  }

  .section-text-image__image {
    width: 100%;
  }

  .section-text-image__image img {
    width: 100%;
  }
}

.btn-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: fit-content;
  margin-top: 1rem;
}

/* End Section text & image */

/* Start Section banner aligned text */

.section-banner-aligned-text {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-banner-aligned-text__image img {
  width: 100%;
}

.section-banner-aligned-text .section-banner-aligned-text__image {
  width: 100%;
}

@media screen and (max-width: 1023px) {
  .section-banner-aligned-text .section-banner-aligned-text__text > h2 {
    font-size: 28px;
  }

  .section-banner-aligned-text .section-banner-aligned-text__image img {
    width: 100%;
  }

  .section-banner-aligned-text .section-banner-aligned-text__text > * {
    width: unset;
  }

  .section-banner-aligned-text .section-banner-aligned-text__text {
    justify-content: flex-end;
    align-items: center;
  }
}

@media screen and (max-width: 768px) {
  .section-banner-aligned-text .section-banner-aligned-text__text > * {
    text-align: center;
  }
}

/* End Section banner aligned text */

/* Start Section gallery feed */

.gallery-feed {
  text-align: left;
  padding: 20px;
}

.gallery-feed h2 {
  text-align: left;
  margin: 0;
  font-size: 20px;
}

.gallery-feed-images {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 10px;
}

.gallery-feed-image {
  flex: 0 0 auto;
  width: calc((100% - 30px) / 4);
  min-width: 300px;
}

.gallery-feed-image img {
  width: 100%;
  aspect-ratio: 1/1;
  height: auto;
  object-fit: cover;
}

.gallery-feed {
  border-top: 1px solid var(--divider-color);
}

@media (min-width: 768px) and (orientation: landscape) {
  .gallery-feed {
    border-top: none;
  }
}

.gallery-feed .container {
  width: 100%;
}

.gallery-feed .gallery-header {
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .gallery-feed .container {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .gallery-feed {
    aspect-ratio: 1024/600;
    padding: 0 20px;
  }

  .gallery-feed h2 {
    margin: 0;
  }

  .gallery-feed .spacer {
    height: 28.8px;
  }

  .gallery-feed .gallery-feed-images {
    padding-bottom: 0;
  }

  .gallery-feed .gallery-header,
  .gallery-feed .spacer {
    flex-grow: 1;
  }

  .gallery-feed .gallery-header {
    display: flex;
    align-items: center;
    margin-bottom: 0;
  }
}

@media (min-width: 1024px) {
  .gallery-feed {
    width: 100%;
    padding: 0 max(var(--side-padding), calc(100vw - var(--max-width)) / 2);
    padding-bottom: 0;
  }
}

@media (min-width: 1280px) {
  .gallery-feed {
    aspect-ratio: 1920/700;
  }
}

/* End Section gallery feed */

/* Start Section still have questions */

.still-have-questions__title {
  margin-bottom: 0;
}

.still-have-questions__description {
  margin-top: 6px;
}

/* End Section still have questions */

/* Start Section reasons to buy */

@media (max-width: 767px) {
  .reasons-to-buy {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
}

.reasons-to-buy__title-wrapper {
  padding-top: 2.5rem;
}

.reasons-to-buy__title-wrapper p {
  margin: 0;
}

.reasons-to-buy .reasons-buy-wrapper__items {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.reasons-to-buy .reasons-buy-wrapper__item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.reasons-to-buy .reasons-buy-wrapper__item-content .contact-learn-more-btn {
  margin-top: 1rem;
}

.reasons-to-buy .reasons-buy-wrapper__item-icon {
  margin-bottom: 26px;
}

.reasons-to-buy .reasons-buy-wrapper__item-icon path {
  stroke: var(--divider-foreground);
}

.reasons-to-buy .reasons-buy-wrapper__item-icon,
.reasons-to-buy .reasons-buy-wrapper__item-icon svg {
  height: 48px;
}

.reasons-to-buy .reasons-buy-wrapper__item-icon.icon-customer-experience svg {
  width: 55px;
}

.reasons-to-buy .reasons-buy-wrapper__item-icon.icon-email svg {
  width: 56px;
}

.reasons-to-buy .reasons-buy-wrapper__item-icon.icon-designed-us svg {
  height: 47px;
}

.reasons-to-buy .reasons-buy-wrapper__item-title {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.reasons-to-buy .reasons-buy-wrapper__item-tooltip-wrapper {
  margin-top: 2px;
}

.reasons-to-buy .reasons-buy-wrapper__item-tooltip-trigger:hover {
  opacity: 0.5;
}

.reasons-to-buy .reasons-buy-wrapper__item-tooltip-trigger {
  position: relative;
  top: 2.5px;
  display: inline-flex;
  cursor: pointer;
  z-index: 1;
}

.reasons-to-buy .reasons-buy-wrapper__item-tooltip-trigger svg {
  width: 15px;
  height: 16px;
  opacity: 0.75;
  z-index: -1;
}

.reasons-to-buy .reasons-buy-wrapper__item-description p {
  margin-top: 0;
}

.reasons-to-buy .reasons-buy-wrapper__item-tooltip-content {
  display: none !important;
}

.reasons-to-buy .reasons-buy-wrapper__item-tooltip-content .close-button {
  cursor: pointer;
  padding: 10px;
}

.reasons-to-buy .reasons-buy-wrapper__item-tooltip-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reasons-to-buy .reasons-buy-wrapper__item-tooltip-content-title {
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
}

.reasons-to-buy .reasons-buy-wrapper__item-tooltip-content-body {
  margin: 1rem 0 2rem;
}

@media screen and (max-width: 1023px) {
  .reasons-to-buy .reasons-buy-wrapper__item {
    max-width: unset;
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 36px;
  }

  .reasons-to-buy .reasons-buy-wrapper__item-icon {
    margin-bottom: 0;
  }

  .reasons-to-buy .reasons-buy-wrapper__item-content {
    margin-top: 0.5rem;
    flex: unset;
  }

  .reasons-buy-wrapper .slick-next {
    right: -30px;
  }

  .reasons-buy-wrapper .slick-prev {
    left: -30px;
  }

  .reasons-buy-wrapper .slick-next:before {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }

  .reasons-buy-wrapper .slick-prev:before {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
  }

  .reasons-buy-wrapper .slick-next:before,
  .reasons-buy-wrapper .slick-prev:before {
    content: "";
    border: solid var(--neutral-foreground);
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
    opacity: 1;
    color: var(--neutral-foreground);
  }

  .reasons-buy-wrapper .slick-next.slick-disabled:before,
  .reasons-buy-wrapper .slick-prev.slick-disabled:before {
    opacity: 0;
  }
}

.reasons-buy-wrapper__item-tooltip-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
}

.reasons-buy-wrapper__item-tooltip-overlay:not(.active) {
  transition:
    opacity 0.3s ease-in-out,
    visibility 0s linear 0.3s;
}

.reasons-buy-wrapper__item-tooltip-overlay.active {
  opacity: 1;
  visibility: visible;
}

.global-tooltip-container {
  position: fixed;
  top: 0;
  right: 0;
  width: 90vw;
  max-width: 500px;
  height: 100vh;
  background: var(--background);
  color: var(--background-foreground);
  z-index: 1000;
  transform: translateX(100%);
  opacity: 0;
  transition:
    transform var(--panel-slide-animation-duration) cubic-bezier(0.4, 0, 0.2, 1),
    opacity var(--panel-slide-animation-duration) cubic-bezier(0.4, 0, 0.2, 1);
  padding: 10px 30px;
  overflow-y: auto;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
}

.global-tooltip-container.active {
  transform: translateX(0);
  opacity: 1;
}

.reasons-to-buy .reasons-buy-wrapper__item-tooltip-overlay {
  transition:
    opacity 0.3s ease-in-out,
    visibility 0.3s ease-in-out;
}

.reasons-to-buy .tooltip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.reasons-to-buy .tooltip-learn-more {
  margin-top: 2.5rem;
}

.reasons-to-buy .close-button {
  cursor: pointer;
  padding: 8px;
  margin-right: -8px;
}

.reasons-to-buy .slick-prev,
.reasons-to-buy .slick-next {
  z-index: 1;
  width: 40px;
  height: 40px;
}

.reasons-to-buy .slick-prev:before,
.reasons-to-buy .slick-next:before {
  content: "";
  border: solid var(--neutral-foreground);
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 3px;
  opacity: 1;
}

.reasons-to-buy .slick-prev:before {
  transform: rotate(135deg);
}

.reasons-to-buy .slick-next:before {
  transform: rotate(-45deg);
}

.reasons-to-buy .slick-disabled:before {
  opacity: 0.25;
}

/* End Section reasons to buy */

/* Start Section banner text */

.banner-text {
  margin: 0 auto;
}

/* End Section banner text */

/* Section text hero */

.section-text-hero {
  width: 100%;
  padding: calc(2rem + var(--navbar-height)) var(--side-padding) 1.5rem;
}

.section-imageless-banner__container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-text-hero__content {
  max-width: 500px;
}

@media screen and (max-width: 1023px) {
  .section-text-hero {
    text-align: center;
  }

  .section-text-hero__content {
    max-width: unset;
  }
}

/*====== End Section stylings ======*/

.basket-panel-content-empty {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  gap: 6px;
  padding-bottom: 85px;
}

.basket-panel-content-empty.active {
  display: flex;
}

.empty-basket-panel .basket-panel-content-empty {
  display: flex;
}

.empty-basket-panel .basket-panel-content .basket-products {
  display: none;
}

.empty-basket-panel .basket-panel-footer {
  display: none;
}

/* Inspire page */

.inspire-banner-image__image img {
  width: 100%;
}

/* Basket count styles */
.basket-count {
  display: none;
  position: absolute;
  bottom: -12px;
  right: -12px;
  background-color: var(--tertiary);
  color: var(--primary-foreground);
  font-size: 12px;
  font-weight: 600;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

.navbar-right .nav-icon.navbar-basket,
.mobile-nav-icons .nav-icon.navbar-basket {
  position: relative;
}

.navbar .cls-1 {
  stroke-width: 0;
}

/* Start Section hairline */
.section-hairline {
  width: 100%;
  height: 1px;
  background-color: var(--divider-color);
}

/* Hide count when cart is empty */
.basket-count:empty {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Small newsletter form */

.newsletter-form,
.newsletter-form label,
.newsletter-form input[type="email"] {
  color: var(--text-color);
}

.banner .newsletter-form input[type="email"] {
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  color: var(--background-foreground);
}

.banner .newsletter-form input[type="checkbox"] {
  border: 1px solid var(--text-color);
}
.newsletter-form input[type="email"]:focus {
  border-color: var(--text-color);
}
.newsletter-form-checkbox label {
  color: var(--text-color);
}

@media screen and (max-width: 767px) {
  .banner .newsletter-form-input-container-wrapper {
    justify-content: center;
    max-width: 340px;
    margin: 0 auto;
  }

  .banner .newsletter-form input[type="email"] {
    text-align: center;
  }

  .banner .newsletter-form button {
    width: 100%;
  }

  .banner .newsletter-form-checkbox {
    justify-content: center;
  }
}

@media screen and (max-width: 1024px) {
  .banner.mid-collection-banner .newsletter-form-input-container-wrapper {
    justify-content: center;
    max-width: 340px;
    margin: 0 auto;
  }

  .banner.mid-collection-banner .newsletter-form input[type="email"] {
    text-align: center;
  }

  .banner.mid-collection-banner .newsletter-form button {
    width: 100%;
  }

  .banner.mid-collection-banner .newsletter-form-checkbox {
    justify-content: center;
  }
}

/* Submitted state styles */
.newsletter-form {
  position: relative;
  overflow: visible;
}

.newsletter-form.submitted {
  pointer-events: none;
}

.newsletter-form.submitted .newsletter-form-input,
.newsletter-form.submitted .newsletter-form-checkbox {
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
}

/* Checkmark bubble */
.newsletter-form-checkmark-bubble {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--text-color);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 2;
  margin-top: -30px;
}

.newsletter-form.submitted .newsletter-form-checkmark-bubble {
  display: flex;
  animation: checkmarkBubbleFadeIn 0.4s ease forwards;
}

@keyframes checkmarkBubbleFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.newsletter-form-checkmark-bubble svg {
  width: 30px;
  height: 30px;
}

.newsletter-form-checkmark-bubble path {
  stroke: var(--text-color) !important;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  animation: checkmarkDraw 0.5s ease 0.4s forwards;
}

@keyframes checkmarkDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* Slide out animation */
.newsletter-form.submitted .newsletter-form-checkmark-bubble {
  animation:
    checkmarkBubbleFadeIn 0.4s ease forwards,
    checkmarkBubbleSlideOut 0.6s ease 1s forwards;
}

@keyframes checkmarkBubbleSlideOut {
  to {
    transform: translate(-150%, -50%);
    opacity: 0;
  }
}

/* Success message */
.newsletter-form-success {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: none;
  opacity: 0;
  text-align: left;
  z-index: 1;
  pointer-events: auto;
  user-select: text;
}

.newsletter-form.submitted .newsletter-form-success {
  display: block;
  animation: successMessageReveal 0.5s ease 1.2s forwards;
}

@keyframes successMessageReveal {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.newsletter-form-success-message {
  margin-bottom: 0.5rem;
  pointer-events: auto;
  user-select: text;
}

.newsletter-form-success-link {
  width: fit-content;
  max-width: 80%;
  margin: 0 auto 0 0;
  pointer-events: auto;
  cursor: pointer;
  color: var(--secondary-foreground);
  background: var(--secondary);
}

.newsletter-form-success-link:hover {
  background: var(--secondary-hover);
}

.newsletter-form-success-link:active,
.newsletter-form-success-link:focus,
.newsletter-form-success-link:focus-visible {
  color: var(--secondary-foreground);
  background: var(--secondary);
}

.newsletter-form.submitted .newsletter-form-success-link {
  opacity: 1;
}

/* Newsletter form success message */

/* Start Section hairline */
.section-hairline {
  width: 100%;
  height: 1px;
  background-color: var(--divider-color);
}

/* Fade Up In View Animation - Scroll-triggered via Intersection Observer */

/* Base state: elements with this class start invisible */
.fade-up-in-view {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.fade-up-in-view.only-fade-in {
  opacity: 0;
  transform: translateY(0);
}

.fade-up-in-view.not-first-header {
  opacity: 1;
  transform: translateY(0);
}

/* When element enters viewport, JavaScript adds this class */
.fade-up-in-view.in-view {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-in-view.only-fade-in.in-view {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-in-view.not-first-header.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Respect user's motion preferences */
@media (prefers-reduced-motion: reduce) {
  .fade-up-in-view {
    opacity: 1;
    transform: translateY(0);
    transition: none;
  }

  .fade-up-in-view.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Keyframe animations */
@keyframes fadeUpIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUpInLoad {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hide count when cart is empty */
.basket-count:empty {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#shopify-section-about {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
}

/* Environmental policy page */

.space-between-page {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding-bottom: 2rem;
}

/* Careers page */

#shopify-section-careers-page {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media screen and (max-width: 1024px) {
  #shopify-section-careers-page {
    gap: 2rem;
  }
}

/* Accessibility */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.basket-rrp-amount {
  text-decoration: line-through;
  font-weight: 400;
}
