/* ====================
   Header
==================== */

.store-header.store-shell {
  background: #000 !important;
  color: #fff;
}

.store-header.store-shell a,
.store-header.store-shell button,
.store-header.store-shell .store-category-nav a {
  color: #fff;
}

/* Clickable website logo */
.store-header.store-shell .store-brand img {
  display: block;
  max-width: 400px !important;
  max-height: none !important;
  width: auto;
  height: auto !important;
  object-fit: contain;
}

/* ====================
   Header search
==================== */

.store-header.store-shell .store-header-search {
  display: flex;
  align-items: center;
  width: 100% !important;
  height: 54px;
  background: #303030 !important;
  border: 0 !important;
  border-radius: 999px !important;
  overflow: hidden;
}

.store-header.store-shell .store-header-search input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 54px;
  margin: 0;
  padding: 0 16px;
  line-height: 54px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  color: #fff !important;
}

.store-header.store-shell .store-header-search input[type="search"]::placeholder {
  color: #999 !important;
  opacity: 1;
}

.store-header.store-shell .store-header-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: searchfield-cancel-button !important;
  appearance: auto !important;
  filter: brightness(0) invert(1);
  margin-right: -6px !important;
  transform: scale(1.25);
  cursor: pointer;
}

.store-header.store-shell .store-header-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 56px;
  width: 56px;
  height: 54px;
  margin: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
}

.store-header.store-shell .store-header-search button svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* ====================
   Basket and account
==================== */

.store-header.store-shell .store-account-link,
.store-header.store-shell .store-basket-link {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  transition: none !important;
}


.store-header.store-shell .store-basket-count {
  color: #fff !important;
  font-size: 10px;
  font-weight: 400 !important;
  line-height: 1;
  transform: translateY(4px);
}

/* ====================
   Tooltips
==================== */

.neo-store-theme [role="tooltip"],
.neo-store-theme .tooltip,
.neo-store-theme .store-tooltip {
  background: #333 !important;
  color: #fff !important;
}

/* ====================
   Main buttons
==================== */

.neo-store-theme .button,
.neo-store-theme .store-button,
.neo-store-theme .store-checkout-link,
.neo-store-theme input[type="submit"],
.neo-store-theme input[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 32px;
  background: #44d62c !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #333 !important;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.store-header.store-shell .store-checkout-link {
  min-height: 52px;
  padding: 0 32px;
  background: #44d62c !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #333 !important;
  font-weight: 700;
}

/* ====================
   Mini-bag buttons
==================== */

.store-mini-bag .store-mini-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.store-mini-bag .store-mini-actions a {
  flex: 1;
  min-height: 50px;
  padding: 0 28px !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 700;
  text-align: center;
}

.store-mini-bag .store-mini-actions a:first-child {
  background: #333 !important;
  color: #fff !important;
}

.store-mini-bag .store-mini-actions a:last-child {
  background: #44d62c !important;
  color: #333 !important;
}

/* Free-shipping panel and Continue shopping */
.store-mini-bag .store-shipping-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.store-mini-bag .store-continue-shopping,
.store-mini-bag a.store-continue-shopping {
  display: inline-block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #333 !important;
  font-weight: 700 !important;
  line-height: 1.4;
  text-decoration: underline !important;
}

/* Quantity controls */
.store-mini-bag .store-mini-quantity-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between !important;
  width: 100%;
}

.store-mini-bag .store-shared-stepper {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  height: 44px;
  border: 0 !important;
  background: transparent !important;
}

.store-mini-bag .store-shared-stepper button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 50% !important;
  color: #333 !important;
}

.store-mini-bag .store-shared-stepper span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 44px;
  color: #333 !important;
  font-weight: 400 !important;
}

.store-mini-bag .store-shared-stepper button:disabled {
  background: #f3f3f3 !important;
  border-color: #e2e2e2 !important;
  color: #aaa !important;
}

/* Bin icon */
.store-mini-bag .store-mini-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin-left: auto;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #333 !important;
}

.store-mini-bag .store-mini-remove svg {
  width: 18px;
  height: 18px;
  stroke: #333 !important;
}

/* Close × */
.store-mini-bag [data-bag-close],
.store-mini-bag .store-mini-bag-close {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50% !important;
  color: #333 !important;
  font-size: 28px;
  line-height: 1;
}

.store-mini-bag [data-bag-close] svg,
.store-mini-bag .store-mini-bag-close svg {
  stroke: #333 !important;
  fill: #333 !important;
}

/* Keep the uploaded logo at a visible fixed width. */
.store-header.store-shell .store-brand {
  display: block !important;
  width: 250px !important;
  min-width: 250px !important;
  height: auto !important;
}

.store-header.store-shell .store-brand img {
  display: block !important;
  width: 250px !important;
  min-width: 250px !important;
  max-width: 250px !important;
  height: auto !important;
}

/* Align mini-bag quantity controls. */
.store-mini-bag .store-shared-stepper {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 !important;
  border: 0 !important;
}

.store-mini-bag .store-shared-stepper span {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Centre mini-bag action button labels. */
.store-mini-bag .store-mini-actions a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

/* Centre the basket quantity within its icon. */
.store-header.store-shell .store-basket-count {
  transform: none !important;
}

/* Joined quantity stepper. */
.store-mini-bag .store-shared-stepper {
  display: grid !important;
  grid-template-columns: 44px 40px 44px !important;
  align-items: stretch !important;
  gap: 0 !important;
  height: 44px !important;
  overflow: hidden !important;
  background: #fff !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 6px !important;
}

.store-mini-bag .store-shared-stepper button,
.store-mini-bag .store-shared-stepper span {
  width: auto !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}

.store-mini-bag .store-shared-stepper span {
  border-left: 1px solid #d9d9d9 !important;
  border-right: 1px solid #d9d9d9 !important;
}

/* Keep all three mini-cart stepper sections equal. */
.store-mini-bag .store-shared-stepper button {
  min-width: 0 !important;
  font-size: 24px !important;
  line-height: 1 !important;
  overflow: hidden !important;
}

/* Align each mini-cart item into two consistent rows. */
.store-mini-bag .store-mini-item {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) auto !important;
  grid-template-areas:
    "image title price"
    "image controls controls" !important;
  column-gap: 12px !important;
  row-gap: 10px !important;
  align-items: start !important;
}

.store-mini-bag .store-mini-image-link {
  grid-area: image !important;
  align-self: center !important;
}

.store-mini-bag .store-mini-item > div {
  display: contents !important;
}

.store-mini-bag .store-mini-item > div > strong {
  grid-area: title !important;
  align-self: center !important;
}

.store-mini-bag .store-mini-item > strong:last-child {
  grid-area: price !important;
  align-self: center !important;
  white-space: nowrap;
}

.store-mini-bag .store-mini-quantity {
  grid-area: controls !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-width: 0;
}

/* Keep product names and prices on the same top baseline. */
.store-mini-bag .store-mini-item > strong:last-child {
  align-self: start !important;
}

/* Keep the mini-cart price inside the item grid. */
.store-mini-bag .store-mini-item > strong:last-child {
  position: static !important;
  top: auto !important;
  right: auto !important;
  pointer-events: auto !important;
}

/* Definitive mini-cart item layout. */
.store-mini-bag .store-mini-item {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) auto !important;
  grid-template-areas:
    "image title price"
    "image controls controls" !important;
  gap: 10px 12px !important;
  align-items: start !important;
}

.store-mini-bag .store-mini-image-link {
  grid-area: image !important;
  align-self: center !important;
}

.store-mini-bag .store-mini-item > div { display: contents !important; }

.store-mini-bag .store-mini-item > div > strong {
  grid-area: title !important;
  align-self: start !important;
}

.store-mini-bag .store-mini-item > strong:last-child {
  position: static !important;
  grid-area: price !important;
  align-self: start !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

.store-mini-bag .store-mini-quantity {
  grid-area: controls !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  height: 44px !important;
}

.store-mini-bag .store-shared-stepper {
  display: grid !important;
  grid-template-columns: 44px 40px 44px !important;
  width: 130px !important;
  min-width: 130px !important;
  height: 44px !important;
  gap: 0 !important;
  overflow: hidden !important;
  border: 1px solid #d9d9d9 !important;
  border-radius: 6px !important;
  background: #fff !important;
}

.store-mini-bag .store-shared-stepper button,
.store-mini-bag .store-shared-stepper span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: auto !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #333 !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

.store-mini-bag .store-shared-stepper span {
  border-left: 1px solid #d9d9d9 !important;
  border-right: 1px solid #d9d9d9 !important;
  font-size: 16px !important;
}

.store-mini-bag .store-mini-remove {
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  margin-left: auto !important;
}

/* Precisely centre the quantity plus and minus glyphs. */
.store-mini-bag .store-shared-stepper button {
  position: relative !important;
  color: transparent !important;
}

.store-mini-bag .store-shared-stepper button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #333;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transform: translate(-50%, -50%);
}

.store-mini-bag .store-shared-stepper button:first-child::after { content: "−"; }
.store-mini-bag .store-shared-stepper button:last-child::after { content: "+"; }

/* Equal, centrally aligned quantity cells. */
.store-mini-bag .store-shared-stepper {
  grid-template-columns: repeat(3, 54px) !important;
  width: 162px !important;
  min-width: 162px !important;
}

.store-mini-bag .store-shared-stepper span {
  display: grid !important;
  place-items: center !important;
  transform: translateY(-1px);
}

/* Compact quantity stepper. */
.store-mini-bag .store-shared-stepper {
  grid-template-columns: 45px 40px 45px !important;
  width: 130px !important;
  min-width: 130px !important;
}

/* Category submenu colours. */
#store-category-menu details > ul,
#store-category-menu details > ul li {
  background: #000 !important;
  border-color: #333 !important;
}

#store-category-menu details > ul a {
  color: #fff !important;
}

/* Category navigation interactions. */
#store-category-menu > ul > li > a,
#store-category-menu > ul > li > details > summary {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 180ms ease, color 180ms ease;
}

#store-category-menu > ul > li > a:hover,
#store-category-menu > ul > li > a:focus-visible,
#store-category-menu > ul > li > details > summary:hover,
#store-category-menu > ul > li > details > summary:focus-visible {
  background-size: 100% 1px;
}

#store-category-menu > ul > li > details > summary {
  list-style: none;
}

#store-category-menu > ul > li > details > summary::-webkit-details-marker {
  display: none;
}

#store-category-menu > ul > li > details > summary::after {
  content: "▸";
  display: inline-block;
  margin-left: 7px;
  font-size: 0.8em;
  line-height: 1;
  transition: transform 180ms ease;
}

#store-category-menu > ul > li > details[open] > summary::after {
  transform: rotate(90deg);
}

#store-category-menu > ul > li > details[open] > ul {
  transform-origin: top left;
  animation: store-submenu-in 180ms ease-out both;
}

@keyframes store-submenu-in {
  from { opacity: 0; transform: translateY(-8px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Simplified category navigation effects. */
#store-category-menu > ul > li > a,
#store-category-menu > ul > li > details > summary {
  background-image: none;
  transition: none;
}

#store-category-menu > ul > li > a:hover,
#store-category-menu > ul > li > a:focus-visible,
#store-category-menu > ul > li > details > summary:hover,
#store-category-menu > ul > li > details > summary:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

#store-category-menu > ul > li > details[open] > ul {
  animation: store-submenu-fade 180ms ease-out both;
}

@keyframes store-submenu-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Plain category submenu behaviour. */
#store-category-menu > ul > li > details > summary::after,
#store-category-menu > ul > li > details[open] > summary::after {
  transform: none;
  transition: none;
}

#store-category-menu > ul > li > details[open] > ul {
  animation: none;
  transform: none;
}


/* Green back-to-top control. */
.store-back-to-top,
[data-back-to-top],
.back-to-top {
  background: #44d62c !important;
  border-color: #44d62c !important;
  color: #111 !important;
}

.store-back-to-top svg,
[data-back-to-top] svg,
.back-to-top svg {
  stroke: currentColor !important;
}


/* Back-to-top control. */
.store-back-top {
  background: #44d62c !important;
  border-color: #44d62c !important;
  color: #111 !important;
}
.store-back-top svg { stroke: currentColor !important; }


/* Footer social icons. */
.store-footer-social a {
  background: #44d62c !important;
  border-color: #44d62c !important;
  color: #111 !important;
}
.store-footer-social a svg { stroke: currentColor !important; }
.store-footer-social a svg [fill="currentColor"] { fill: currentColor !important; }

/* Category submenu link labels. */
#store-category-menu details > ul > li:last-child > a {
  font-size: 0 !important;
}
#store-category-menu details > ul > li:last-child > a::after {
  content: "View All";
  font-size: 1rem;
}

/* Hide category submenu indicators. */
#store-category-menu > ul > li > details > summary::after {
  display: none !important;
  content: none !important;
}