/* Poppins – self-hosted (latin-ext + latin) */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-ext-300-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-300-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-ext-800-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-800-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-ext-900-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/poppins/poppins-latin-900-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f6f4f1;
  --surface: #ffffff;
  --text: #2e2e2e;
  --muted: #8a8a8a;
  --accent: #889664;
  --accent-strong: #889664;
  --font: "Poppins", "Helvetica", sans-serif;
  --radius: 18px;
  --radius-max: 999px;
  --btn-radius: var(--radius-max);
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  --max-width: 1180px;
  --logo-max-height: 44px;
  --accent-dark: #6b7a4e;
  --danger: #c0392b;
  --bg-alt: #fcfcfc;
  --footer-bg: #f8f8f8;
  --border: #e5e5e5;
  --border-subtle: #efefef;
}

html {
  scrollbar-gutter: stable;
  overflow-x: hidden;
  overflow-y: scroll;
  scrollbar-color: var(--accent-strong) var(--bg-alt);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

h3 {
  font-weight: 400;
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: var(--bg-alt);
}

body::-webkit-scrollbar-thumb {
  background: var(--accent-strong);
  border-radius: 999px;
}

body::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ── Global Button Base ─────────────────────────────────── */
.button,
a.button,
button.button,
input[type="submit"],
.wp-block-button__link,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--accent-strong);
  color: #ffffff;
  border: none;
  border-radius: var(--btn-radius);
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

.wp-block-button__link:focus-visible,
.wp-element-button:focus-visible {
  background: var(--accent-dark);
  color: #ffffff;
}

.button:hover,
a.button:hover,
button.button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--accent-dark);
  color: #ffffff;
}

.button:active,
a.button:active,
button.button:active,
input[type="submit"]:active,
.wp-block-button__link:active,
.wp-element-button:active,
.woocommerce a.button:active,
.woocommerce button.button:active,
.woocommerce input.button:active,
.woocommerce #respond input#submit:active,
.woocommerce a.button.alt:active,
.woocommerce button.button.alt:active,
.woocommerce input.button.alt:active {
  background: var(--accent-dark);
  color: #ffffff;
}

/* Remove browser focus ring on tap/click; keep it for keyboard (focus-visible) */
.button:focus:not(:focus-visible),
a.button:focus:not(:focus-visible),
button.button:focus:not(:focus-visible),
input[type="submit"]:focus:not(:focus-visible),
.wp-block-button__link:focus:not(:focus-visible),
.wp-element-button:focus:not(:focus-visible),
.woocommerce a.button:focus:not(:focus-visible),
.woocommerce button.button:focus:not(:focus-visible),
.woocommerce input.button:focus:not(:focus-visible),
.woocommerce #respond input#submit:focus:not(:focus-visible),
.woocommerce a.button.alt:focus:not(:focus-visible),
.woocommerce button.button.alt:focus:not(:focus-visible),
.woocommerce input.button.alt:focus:not(:focus-visible) {
  outline: none;
}

/* Ghost button variant */
.button.button--ghost,
a.button.button--ghost {
  background: var(--bg-alt);
  color: var(--text);
}

@media (hover: hover) {
  .button.button--ghost:hover,
  a.button.button--ghost:hover {
    background: color-mix(in srgb, var(--bg-alt) 70%, var(--muted));
    color: var(--text);
  }
}

.button.button--ghost:active,
a.button.button--ghost:active {
  background: color-mix(in srgb, var(--bg-alt) 70%, var(--muted));
  color: var(--text);
}

/* ── Global Form Input Base ─────────────────────────────── */
input[type="text"]:not(.site-search input):not(.qty-input):not(.qty),
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="url"],
input.input-text:not(.qty-input):not(.qty),
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select,
.woocommerce .select2-container--default .select2-selection--single {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.67);
  padding: 12px 20px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  width: 100%;
  box-shadow: none;
}

select,
.woocommerce form .form-row select {
  font-size: 14px;
}

textarea:not(.site-search textarea) {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  width: 100%;
  box-shadow: none;
  min-height: 100px;
  resize: vertical;
}

input[type="text"]:not(.site-search input):not(.qty-input):not(.qty):focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input.input-text:not(.qty-input):not(.qty):focus,
.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus,
textarea:not(.site-search textarea):focus {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 10%, transparent);
  background: var(--surface);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="tel"]::placeholder,
input.input-text::placeholder,
textarea::placeholder {
  color: var(--muted);
}

/* Promo Banner */
.celero-promo-banner {
    background: var(--promo-bg, #000);
    color: var(--promo-color, #fff);
    font-size: var(--promo-font-size, 14px);
    height: var(--promo-height, 40px);
    overflow: hidden;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.celero-promo-banner__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: celero-promo-scroll var(--promo-speed, 20s) linear infinite;
}

@media (hover: hover) {
  .celero-promo-banner:hover .celero-promo-banner__track {
      animation-play-state: paused;
  }
}

.celero-promo-banner__item {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.celero-promo-banner__item::after {
    content: var(--promo-delimiter, '\00B7');
    margin: 0 var(--promo-gap, 24px);
    opacity: 0.5;
}

.celero-promo-banner__item a {
    color: inherit;
    text-decoration: var(--promo-link-underline, underline);
    margin: 0 0.3em;
}

@media (hover: hover) {
  .celero-promo-banner__item a:hover {
      opacity: 0.8;
  }
}

@keyframes celero-promo-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.site-header {
  background: var(--header-bg, #e5ead1);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px 0 24px;
  display: grid;
  gap: 12px;
}

.header-row {
  display: grid;
  align-items: center;
}

.header-row--top {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px) minmax(0, 1fr);
  grid-template-areas: "brand search actions";
  column-gap: 16px;
}

.site-branding {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  grid-area: brand;
  justify-self: start;
}

.custom-logo {
  max-height: var(--logo-max-height);
  /* Prevent broader theme/global img rules from shrinking the logo differently across templates */
  max-width: none !important;
  width: auto;
  height: auto;
  display: block;
}

.site-title {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-search {
  grid-area: search;
  justify-self: center;
  width: 100%;
  max-width: 380px;
}

.site-search form {
  display: flex;
  gap: 8px;
  background: var(--surface);
  border-radius: var(--btn-radius);
  padding: 8px 12px;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.site-search input[type="search"] {
  border: none;
  outline: none;
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  background: transparent;
}

.site-search button {
  border: none;
  background: transparent;
  cursor: pointer;
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-widget-area {
  flex: 1;
  min-width: 0;
}

.header-widget-area figure {
  margin: 0;
}

.header-widget-area figure.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.header-widget-area figure.alignright {
  margin-left: auto;
}

.header-widget-area img {
  display: block;
  max-width: 100%;
  height: auto;
}

.header-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.header-account {
  position: relative;
  display: none;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.header-account i,
.header-icons i {
  font-size: 24px;
}

.header-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .header-icon:hover,
  .header-account:hover {
    color: var(--accent);
  }
}

.header-icons i {
  font-size: 24px;
}

.header-icon--cart {
  position: relative;
}

.header-icon--wishlist {
  position: relative;
}

.header-icon--wishlist .count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  pointer-events: none;
}

.header-icon--cart .count {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  pointer-events: none;
}

.header-icon--cart .count--hidden {
  display: none;
}

.header-icon--wishlist .count--hidden {
  display: none;
}

/* Account login indicator */
.account-dropdown {
  position: relative;
  cursor: pointer;
}

.account-status {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  pointer-events: none;
}

/* Account dropdown menu */
.account-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 160px;
  padding: 8px 0;
  background: var(--surface);
  border-radius: calc(var(--radius) / 2);
  box-shadow: var(--shadow);
  z-index: 100;
}

.account-dropdown:focus-within .account-dropdown__menu {
  display: block;
}

.account-dropdown__menu a {
  display: block;
  padding: 8px 16px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

@media (hover: hover) {
  .account-dropdown__menu a:hover {
    background: var(--bg);
    color: var(--accent);
  }
}

/* Sticky mobile menu */
.mobile-sticky-menu {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 12px calc(6px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
  z-index: 1102;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mobile-sticky-menu .sticky-item {
  text-decoration: none;
  color: var(--text, #111);
  display: grid;
  justify-items: center;
  gap: 5px;
  font-size: 12px;
  padding: 6px 6px;
  border-radius: var(--radius);
  transition: color 0.2s ease;
}

.sticky-icon-wrap {
  position: relative;
  display: inline-flex;
}

.sticky-icon-wrap .count {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 600;
  line-height: 14px;
  text-align: center;
  pointer-events: none;
}

.sticky-icon-wrap .count--hidden {
  display: none;
}

.mobile-sticky-menu .sticky-item i {
  font-size: 22px;
}

.mobile-sticky-menu .sticky-item:focus-visible {
  color: var(--accent-strong);
  outline: none;
}

@media (hover: hover) {
  .mobile-sticky-menu .sticky-item:hover {
    color: var(--accent-strong);
  }
}

.mobile-sticky-menu .sticky-item.is-active {
  color: var(--accent-strong);
  font-weight: 600;
}

.mobile-sticky-menu .is-placeholder {
  opacity: 0.6;
  cursor: default;
}

.mobile-sticky-menu .is-placeholder:focus-visible {
  background: none;
  color: inherit;
}

@media (hover: hover) {
  .mobile-sticky-menu .is-placeholder:hover {
    background: none;
    color: inherit;
  }
}

.site-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0px 24px 18px;
}

.nav-list-wrapper {
  position: relative;
  overflow: hidden;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  font-family: "Poppins", "Helvetica", sans-serif;
  font-size: 15px;
  width: 100%;
  max-width: 100%;
}

.nav-list__inner {
  position: relative;
}

.nav-list--scrollable {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  flex-wrap: nowrap;
  width: 100%;
  padding-inline: 12px;
  padding-block: 5px;
  gap: 10px;
  justify-content: flex-start;
  scrollbar-width: none;
}

.nav-list--scrollable::-webkit-scrollbar {
  display: none;
}

.nav-list--scrollable-wrapper {
  position: relative;
}

.nav-list-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 28px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-list-fade--left {
  left: 0;
  background: linear-gradient(
    90deg,
    var(--header-bg, #e5ead1) 0%,
    transparent 100%
  );
}

.nav-list-fade--right {
  right: 0;
  background: linear-gradient(
    270deg,
    var(--header-bg, #e5ead1) 0%,
    transparent 100%
  );
}

.nav-list-wrapper--scrollable .nav-list-fade {
  opacity: 1;
}

.nav-list-wrapper--at-start .nav-list-fade--left,
.nav-list-wrapper--at-end .nav-list-fade--right {
  opacity: 0;
}

.nav-list-wrapper--scrollable .nav-list-fade {
  opacity: 1;
}

.nav-list-wrapper--at-start .nav-list-fade--left,
.nav-list-wrapper--at-end .nav-list-fade--right {
  opacity: 0;
}

.nav-dots {
  display: none;
  justify-content: center;
  gap: 6px;
  padding: 20px 0 10px;
  flex-basis: 100%;
}

.nav-list-wrapper--scrollable .nav-dots {
  display: flex;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--muted) 22%, var(--bg));
  flex-shrink: 0;
}

.nav-dot.is-active {
  background: var(--accent-strong);
}

.nav-list .nav-item {
  position: relative;
}

.nav-list .nav-sublist {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--surface, #fff);
  border-radius: var(--radius);
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  min-width: 180px;
  z-index: 1;
  flex-direction: column;
  gap: 0;
}

.nav-list .nav-item.has-children:focus-within .nav-sublist {
  display: flex;
}

@media (hover: hover) {
  .nav-list .nav-item.has-children:hover .nav-sublist {
    display: flex;
  }
}

.nav-list .nav-sublist li {
  width: 100%;
}

.nav-list .nav-sublist .nav-link {
  width: 100%;
  padding: 6px 16px;
  border-radius: 0;
  color: var(--text);
}

.nav-list a,
.nav-link {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    text-decoration 0.2s ease;
  color: var(--nav-color, inherit);
  background: var(--nav-bg, transparent);
  text-decoration: var(--nav-underline, none);
}

.nav-list a:focus-visible,
.nav-link:focus-visible {
  color: var(--nav-hover-color, var(--accent-strong));
  background: var(--nav-hover-bg, transparent);
  text-decoration: var(--nav-hover-underline, none);
}

@media (hover: hover) {
  .nav-list a:hover,
  .nav-link:hover {
    color: var(--nav-hover-color, var(--accent-strong));
    background: var(--nav-hover-bg, transparent);
    text-decoration: var(--nav-hover-underline, none);
  }
}

.nav-list a.is-active,
.nav-link.is-active {
  background: var(--nav-active-bg, #efefef);
  color: var(--nav-active-color, var(--text));
  text-decoration: var(--nav-active-underline, none);
}

.site-main {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 80px;
}

@media (max-width: 900px) {
  .site-main {
    padding: 24px 12px 80px;
  }
}

.section-title {
  text-align: center;
  font-size: 24px;
  margin: 40px 0 24px;
}

.category-header {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  padding: 24px 24px 0;
}

.category-header__content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  width: 100%;
  text-align: var(--desc-align, left);
}

.category-header:not(.category-header--has-bg) .category-header__content {
  padding: 0;
}

.category-header__title {
  font-size: var(--title-font-size, 1.75rem);
  font-weight: var(--title-font-weight, 600);
  color: var(--title-color, inherit);
  margin: 0 0 12px;
  text-align: var(--title-align, left);
}

.category-header__description {
  font-size: var(--desc-font-size, 1rem);
  font-weight: var(--desc-font-weight, 400);
  color: var(--desc-color, var(--muted));
  line-height: 1.6;
  max-width: 720px;
  margin: 0;
  text-align: var(--desc-align, left);
}

.category-header[style*="--desc-align: center"] .category-header__description {
  margin-left: auto;
  margin-right: auto;
}

.category-header[style*="--desc-align: right"] .category-header__description {
  margin-left: auto;
}

/* Category header with background image */
.category-header--has-bg {
  --header-height: 320px;
  --header-margin-top: 0px;
  --fade-start: 40%;
  --fade-length: 60%;
  --text-bottom: 32px;
  --text-shadow-color: #ffffff;
  --text-glow-spread: 1;
  --text-glow-opacity: 1;
  position: relative;
  min-height: var(--header-height);
  max-width: none;
  margin: calc(-32px + var(--header-margin-top)) 0 32px;
  margin-left: calc(-50vw + 50%);
  padding: 0;
  display: flex;
  align-items: flex-end;
  width: 100vw;
  overflow: hidden;
}

.category-header__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black var(--fade-start),
    rgba(0, 0, 0, 0.5) calc(var(--fade-start) + var(--fade-length) * 0.5),
    transparent calc(var(--fade-start) + var(--fade-length))
  );
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black var(--fade-start),
    rgba(0, 0, 0, 0.5) calc(var(--fade-start) + var(--fade-length) * 0.5),
    transparent calc(var(--fade-start) + var(--fade-length))
  );
  z-index: 0;
}

.category-header__overlay {
  display: none;
}

.category-header--has-bg .category-header__content {
  position: relative;
  z-index: 1;
  padding-bottom: var(--text-bottom);
}

.category-header--has-bg:not(.category-header--contained) .category-header__content {
  padding-left: 48px;
  padding-right: 48px;
}

.category-header--has-bg .category-header__text {
  position: relative;
  display: inline-block;
  padding: 16px 24px;
  margin-left: -24px;
  margin-right: -24px;
}

.category-header--has-bg .category-header__text::before {
  content: '';
  position: absolute;
  inset: -16px -32px;
  backdrop-filter: blur(var(--blur-intensity, 6px));
  -webkit-backdrop-filter: blur(var(--blur-intensity, 6px));
  opacity: var(--blur-opacity, 1);
  z-index: -1;
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 20%, transparent 70%);
}

.category-header--no-blur .category-header__text::before,
.category-header--no-blur .category-header__text::after {
  display: none;
}

.category-header--has-bg .category-header__text::after {
  content: '';
  position: absolute;
  inset: -16px -32px;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, rgba(255,255,255,0.25) 0%, transparent 60%);
  z-index: -1;
}

.category-header--has-bg .category-header__title {
  color: var(--title-color, var(--text));
}

.category-header--has-bg .category-header__description {
  color: var(--desc-color, var(--text));
}

.category-header--has-bg .category-header__title,
.category-header--has-bg .category-header__description {
  text-shadow:
    0 0 calc(8px * var(--text-glow-spread)) color-mix(in srgb, var(--text-shadow-color) calc(100% * var(--text-glow-opacity)), transparent),
    0 0 calc(20px * var(--text-glow-spread)) color-mix(in srgb, var(--text-shadow-color) calc(90% * var(--text-glow-opacity)), transparent),
    0 0 calc(40px * var(--text-glow-spread)) color-mix(in srgb, var(--text-shadow-color) calc(70% * var(--text-glow-opacity)), transparent),
    0 0 calc(60px * var(--text-glow-spread)) color-mix(in srgb, var(--text-shadow-color) calc(50% * var(--text-glow-opacity)), transparent);
}

@media (max-width: 900px) {
  .category-header--has-bg {
    margin-top: calc(-24px + var(--header-margin-top));
    margin-bottom: 8px;
  }

  .category-header--has-bg:not(.category-header--contained) .category-header__content {
    padding-left: 36px;
    padding-right: 36px;
  }
}

@media (max-width: 768px) {
  .category-header--has-bg {
    min-height: calc(var(--header-height) * 0.6);
  }
}

/* Contained width variant - stays within page content width */
.category-header--contained {
  margin-left: 0;
  width: 100%;
}

/* Rounded corners variant */
.category-header--rounded {
  border-radius: var(--radius);
  overflow: hidden;
}

.category-header--rounded .category-header__bg {
  border-radius: var(--radius);
}

/* No fade variant - removes the gradient mask */
.category-header--no-fade .category-header__bg {
  -webkit-mask-image: none;
  mask-image: none;
}

.shop-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* Mobile shop toolbar — hidden on desktop */
.mobile-shop-toolbar {
  display: none;
}

.shop-sidebar {
  background: transparent;
  border-radius: var(--radius);
  box-shadow: none;
  padding: 18px;
  min-width: 0;
  overflow: hidden;
}

.shop-sidebar .widget {
  margin-bottom: 20px;
}

.shop-sidebar .widget-title {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Sale toggle (bigger variant) */
.shop-sidebar .wp-block-celero-core-sale-filter {
  font-size: 13px;
  color: var(--text);
}

.shop-sidebar .sale-toggle-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shop-sidebar .sale-toggle-label {
  font: inherit;
  color: inherit;
}

.shop-sidebar .sale-toggle-button {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 48px;
  height: 26px;
  padding: 3px;
  border: none;
  border-radius: var(--btn-radius);
  background: color-mix(in srgb, var(--bg-alt) 70%, var(--muted));
  cursor: pointer;
  transition: background 0.2s ease;
}

.shop-sidebar .sale-toggle-button .toggle-slider {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: var(--btn-radius);
  background: var(--surface);
  transition: transform 0.2s ease;
  pointer-events: none;
}

.shop-sidebar .sale-toggle-button.active {
  background: var(--accent-strong);
}

.shop-sidebar .sale-toggle-button.active .toggle-slider {
  transform: translateX(22px);
}

.shop-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shop-sidebar li {
  margin-bottom: 8px;
}

.shop-sidebar a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--text);
  font-size: 12px;
  text-decoration: none;
}

.shop-sidebar .product-categories li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.shop-sidebar .wc-block-product-categories-list-item,
.shop-sidebar .wc-block-product-categories-list-item a,
.shop-sidebar .wc-block-product-categories-list-item-count {
  font-family: inherit;
  font-size: 15px;
}

.shop-sidebar .wc-block-product-categories-list-item--active > a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--accent-strong);
}

.shop-sidebar .wc-block-product-categories-list-item a {
  transition: color 0.2s ease;
}

.shop-sidebar .wc-block-product-categories-list-item a:focus-visible {
  color: var(--accent-strong);
}

@media (hover: hover) {
  .shop-sidebar .wc-block-product-categories-list-item a:hover {
    color: var(--accent-strong);
  }
}

.wc-block-product-categories-list {
  margin: 0;
  padding: 0;
}

.wc-block-product-categories-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.wc-block-product-categories-list-item-count {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.wc-block-product-categories-list-item-count::before {
  content: "(";
  margin-right: 0.3rem;
}

.wc-block-product-categories-list-item-count::after {
  content: ")";
  margin-left: 0.3rem;
}

.wc-block-product-categories-list-item a {
  flex: 1;
  min-width: 0;
}

.shop-sidebar .wp-block-woocommerce-product-filter-active {
  text-align: center;
}

.shop-sidebar .wp-block-woocommerce-product-filter-active .wp-block-buttons {
  justify-content: center;
}

.shop-sidebar
  .wp-block-woocommerce-product-filter-active
  .wp-block-button__link,
.shop-sidebar .wp-block-woocommerce-product-filter-active .wp-element-button {
  margin: 0 auto;
  width: auto !important;
  max-width: max-content;
  min-width: 0;
  padding: 10px 18px !important;
  border: none !important;
}

.shop-sidebar .celero-reset-filters-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-strong) !important;
  border: none !important;
  border-radius: var(--btn-radius);
  color: #ffffff !important;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin: 0 auto;
  width: max-content;
}

.shop-sidebar .wc-block-product-filter-clear-button,
.shop-sidebar .celero-category-reset {
  text-align: center;
  margin-top: 4px;
}

@media (hover: hover) {
  .shop-sidebar .celero-reset-filters-link:hover {
    background: var(--accent-dark) !important;
    color: #ffffff !important;
  }
}

.shop-sidebar .product-categories li .count {
  margin-left: auto;
  color: var(--muted);
  font-size: 12px;
}

.shop-sidebar .widget_price_filter .price_slider_wrapper {
  margin-top: 12px;
}

.shop-sidebar
  .widget_price_filter
  .price_slider_wrapper
  .ui-slider
  .ui-slider-range {
  background-color: #f2c94c !important;
}

.wc-block-price-filter__range-input-progress {
  --range-color: var(--wc-product-filter-price-slider, currentColor);
  --wc-product-filter-price-slider: var(--accent-strong) !important;
  background: var(--accent-strong) !important;
  background-image: none !important;
  background-color: var(--accent-strong) !important;
  box-shadow: none !important;
}

.wc-block-product-filter-price-slider__range {
  --range-color: var(--accent-strong) !important;
  --wc-product-filter-price-slider: var(--accent-strong) !important;
  color: var(--accent-strong) !important;
}

.wc-block-product-filter-price-slider__range .range-bar {
  background: var(--track-background) !important;
}

.shop-sidebar .wc-block-product-filter-price-slider__left input[type="text"],
.shop-sidebar .wc-block-product-filter-price-slider__right input[type="text"] {
  font-family: "Poppins", "Helvetica", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface, #ffffff);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius, 18px) !important;
  max-width: 100px !important;
  padding: 8px 12px;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.shop-results-header {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--muted);
}

.shop-results-header .woocommerce-result-count {
  margin: 0;
}

.shop-results-header .woocommerce-ordering {
  margin: 0 0 0 auto;
}

.shop-results-header .woocommerce-ordering select {
  width: auto;
  min-width: 0;
  max-width: 180px;
}

.shop-results .woocommerce-ordering select {
  font-family: "Poppins", "Helvetica", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface, #ffffff);
  border: 1px solid var(--border);
  border-radius: var(--radius, 18px);
  padding: 10px 34px 10px 16px;
  min-width: 0;
  line-height: 1.2;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg%20width='10'%20height='6'%20viewBox='0%200%2010%206'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M1%201l4%204%204-4'%20stroke='%23212c2f'%20stroke-width='1.5'%20fill='none'%20stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.shop-results .woocommerce-ordering select:focus-visible {
  border-color: var(--accent-strong);
  outline: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}

.shop-results .woocommerce-ordering select::-ms-expand {
  display: none;
}

/* Dim product grid while WC Blocks router navigation is in progress */
body:has(.wp-interactivity-router-loading-bar.start-animation) .shop-results {
  opacity: 0.4;
  transition: opacity 0.15s ease-out;
}

/* Smooth fade-in after router replaces the DOM */
.shop-results .woocommerce {
  animation: shopResultsAppear 0.25s ease-out;
}

@keyframes shopResultsAppear {
  from { opacity: 0; }
  to { opacity: 1; }
}

.products-grid {
  width: 100%;
}

.products-grid .woocommerce {
  width: 100%;
}

.products-grid ul.products,
.shop-results .woocommerce ul.products,
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-results .woocommerce ul.products {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 22px;
}

@media (max-width: 1100px) {
  .shop-results .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.products-grid ul.products::before,
.products-grid ul.products::after {
  display: none !important;
  content: none !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  margin: 0;
  width: auto !important;
  float: none !important;
}

.woocommerce ul.products.columns-3 li.product,
.woocommerce-page ul.products.columns-3 li.product,
.woocommerce ul.products.columns-4 li.product,
.woocommerce-page ul.products.columns-4 li.product {
  width: auto !important;
  float: none !important;
}

.product-card,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  padding: 0 0 20px;
  text-align: center;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto auto auto;
  gap: 10px;
  width: auto;
  min-width: 0;
  overflow: hidden;
}

.shop-results .woocommerce ul.products li.product {
  margin: 0 !important;
}

.product-card .card-media {
  position: relative;
  margin: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.product-card .onsale,
.product-card .onsale.sale-left {
  position: absolute;
  transform: none !important;
  background: var(--sale-badge-bg, var(--accent));
  color: #ffffff;
  font-size: var(--sale-badge-font-size, 9px);
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: var(--sale-badge-padding, 3px 10px);
  border-radius: var(--sale-badge-radius, 999px);
  z-index: 2;
  box-shadow: var(--sale-badge-shadow, 0 3px 8px rgba(0, 0, 0, 0.12));
  line-height: 3.236;
  min-width: 3.236em;
  min-height: 3.236em;
  text-align: center;
}

.product-card .card-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  color: #2d2d2d;
  z-index: 12;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card .card-wishlist i {
  display: block;
  font-size: 14px;
  line-height: 1;
  color: inherit;
}

.product-card .card-wishlist.is-active {
  color: var(--accent);
}

.product-card .card-wishlist:focus-visible {
  color: var(--accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
  outline: none;
}

@media (hover: hover) {
  .product-card .card-wishlist:hover {
    color: var(--accent);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
    transform: translateY(-1px);
  }
}

.product-card .card-link {
  display: grid;
  gap: 10px;
  color: inherit;
  min-width: 0;
  align-content: start;
}

.product-card .card-image-link {
  display: block;
}

.product-card .card-image {
  background: var(--bg-alt);
  border-radius: var(--radius) var(--radius) calc(var(--radius) * 0.67) calc(var(--radius) * 0.67);
  padding: 0;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  box-shadow: none;
}

.product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.product-card .card-image img[src*="placeholder"] {
  object-fit: cover;
}

.product-card .card-title,
.product-card .card-price,
.product-card .card-qty,
.product-card .card-actions {
  padding: 0 18px;
}

.product-card .woocommerce-loop-product__title {
  font-size: 1em;
  margin: 0;
  min-height: 34px;
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.product-card .price {
  font-size: 0.857em;
  color: var(--text) !important;
}

.product-card .price ins {
  font-weight: 700;
}

.product-card .price .woocommerce-Price-amount.amount,
body .product-card .price .woocommerce-Price-amount.amount {
  color: var(--text) !important;
}

.card-qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.67);
  padding: 0 12px;
  width: fit-content;
  min-width: 118px;
  height: 28px;
  margin: 0 auto;
}

.card-qty .qty-btn {
  border: none;
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  color: var(--text);
  width: 20px;
  height: 20px;
  line-height: 1;
}

.card-qty .qty-input {
  width: 42px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 16px;
  color: var(--text);
}

.card-qty .qty-input::-webkit-outer-spin-button,
.card-qty .qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.card-qty .qty-input {
  -moz-appearance: textfield;
  pointer-events: none;
  user-select: none;
}

.card-actions {
  padding: 0 18px 16px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-actions a.button,
.card-actions a.button.loading,
.card-actions a.button.added {
  background: var(--accent-strong);
  color: #fff;
  opacity: 1;
  padding: 12px 24px;
  min-width: 132px;
  min-height: 44px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.woocommerce ul.products .card-actions a.button {
  margin: 0;
}

.card-actions a.button:hover {
  background: var(--accent-dark);
}

.card-actions a.button:hover ~ .remove-from-cart:not([hidden]) {
  background: var(--accent-dark);
}

.remove-from-cart:hover {
  background: var(--accent-extra-dark, var(--accent-dark));
}

.card-actions a.button:active {
  background: var(--accent-dark);
}

.card-actions a.added_to_cart,
.card-actions .button.added::after,
.card-actions .button.loading::after {
  display: none;
}

.card-actions a.button.stock-reached {
  pointer-events: none;
  opacity: 0.5;
}

.cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.cart-icon .ph {
  font-size: 20px;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -4px;
  z-index: 3;
  background: var(--surface);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  line-height: 14px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 999px;
  text-align: center;
  pointer-events: none;
}

.cart-badge[hidden] {
  display: none;
}

.remove-from-cart {
  width: 32px;
  height: 44px;
  margin-left: -32px;
  background: var(--accent-strong);
  color: #fff;
  border: none;
  border-radius: 0 var(--btn-radius) var(--btn-radius) 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  z-index: 2;
  padding: 0 5px 0 0;
  box-sizing: border-box;
  align-self: center;
  transition: background 0.15s ease;
}

.remove-from-cart:active {
  background: var(--accent-extra-dark, var(--accent-dark));
}

.remove-from-cart[hidden] {
  display: none;
}

.product-card .card-qty .qty-input {
  font-size: 14px;
}

.product-card .card-qty {
  font-size: 14px;
  padding: 0 12px !important;
  min-width: 118px;
  height: 28px;
  gap: 8px;
}

/* Pagination */
.woocommerce-pagination,
nav.woocommerce-pagination {
  margin-top: 44px;
  display: flex;
  justify-content: center;
  border: none !important;
}

.woocommerce-pagination ul,
.woocommerce-pagination ul.page-numbers {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.woocommerce-pagination ul.page-numbers li {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  color: var(--text);
  background: color-mix(in srgb, var(--bg-alt) 70%, var(--muted));
  border: none !important;
  border-radius: 50% !important;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

@media (hover: hover) {
  .woocommerce-pagination ul.page-numbers li a:hover {
    background: color-mix(in srgb, var(--bg-alt) 70%, var(--muted));
  }
}

.woocommerce-pagination ul.page-numbers li span.current {
  background: var(--accent) !important;
  color: #ffffff !important;
  font-weight: 600;
}

.woocommerce-pagination ul.page-numbers li a.prev,
.woocommerce-pagination ul.page-numbers li a.next {
  font-size: 16px;
}

.woocommerce-pagination ul.page-numbers li span.dots {
  background: transparent;
  width: auto;
}

/* Load More / Infinite Scroll */
.celero-load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.celero-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  height: 48px;
  padding: 0 32px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}

@media (hover: hover) {
  .celero-load-more-btn:hover:not(:disabled) {
    background: var(--accent-hover, var(--accent));
    opacity: 0.9;
  }
}

.celero-load-more-btn:disabled {
  cursor: default;
  opacity: 0.7;
}

.celero-load-more-btn--loading::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: celero-load-spin 0.6s linear infinite;
}


@keyframes celero-load-spin {
  to { transform: rotate(360deg); }
}

.celero-scroll-sentinel {
  height: 1px;
  visibility: hidden;
}

.celero-fade-in {
  animation: celero-product-appear 0.4s ease-out both;
}

@keyframes celero-product-appear {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.site-footer {
  background: var(--footer-bg);
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  color: var(--muted);
}

.footer-col {
  flex: 0 0 auto;
  min-width: 220px;
}

.footer-embed {
  border-radius: var(--radius);
  overflow: hidden;
  clip-path: inset(0 round var(--radius));
}

.footer-embed iframe,
.footer-embed embed,
.footer-embed video,
.footer-col iframe,
.footer-col embed,
.footer-col video {
  display: block;
  max-width: 100%;
}

.footer-col.is-first-row {
  flex-grow: 1;
}

.footer-col.is-wrapped {
  flex-grow: 1;
}

.footer-col h4 {
  color: var(--text);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--text);
  font-size: 20px;
  transition: color 0.2s;
}

@media (hover: hover) {
  .footer-social a:hover {
    color: var(--accent);
  }
}

.footer-text {
  margin: 0 0 8px;
}

.footer-link {
  margin: 0 0 8px;
}

.footer-link a {
  color: inherit;
  text-decoration: none;
}

@media (hover: hover) {
  .footer-link a:hover {
    color: var(--accent);
    text-decoration: underline;
  }
}

.footer-contact {
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  flex-shrink: 0;
  font-size: 16px;
  color: var(--text);
}

.footer-image {
  margin: 0 0 8px;
}

.footer-image img {
  display: block;
  height: auto;
}

.footer-embed {
  margin: 0 0 8px;
}

.footer-embed iframe {
  max-width: 100%;
}

@media (max-width: 900px) {
  .footer-inner {
    padding: 32px 12px;
  }

  .footer-bottom {
    padding: 18px 12px 32px;
  }

  .footer-embed iframe {
    touch-action: pan-y;
    pointer-events: none;
  }
}

.footer-bottom {
  text-align: center;
  padding: 18px 24px 32px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .header-inner {
    padding: 12px 12px 0;
    gap: 8px;
  }

  .header-row--top {
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas: "account brand actions";
    align-items: center;
  }

  .header-account {
    display: inline-flex;
    grid-area: account;
    justify-self: start;
  }

  .site-branding {
    justify-content: center;
    justify-self: center;
  }

  .site-search {
    display: none;
  }

  .header-widget-area {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .header-icons {
    gap: 10px;
  }

  .header-icons .header-icon--wishlist,
  .header-icons .header-icon--account {
    display: none;
  }

  /* Mobile header layout: icons left, logo right */
  .celero-mobile-header-icons-left .header-row--top {
    grid-template-columns: auto auto 1fr;
    grid-template-areas: "account actions brand";
  }

  .celero-mobile-header-icons-left .site-branding {
    justify-self: end;
  }

  /* Mobile header layout: logo left, icons right */
  .celero-mobile-header-icons-right .header-row--top {
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "brand account actions";
  }

  .celero-mobile-header-icons-right .site-branding {
    justify-self: start;
  }

  .mobile-sticky-menu {
    display: grid;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .site-nav {
    padding: 0 12px 12px;
  }

  .nav-list-wrapper {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-list {
    flex-wrap: nowrap;
    gap: 16px;
    justify-content: center;
  }

  .shop-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Hide sidebar on mobile — off-screen so fixed-position WC overlay still works */
  .shop-sidebar {
    position: absolute;
    left: -9999px;
    top: -9999px;
  }

  /* Override WC's min-width:601px rules that switch overlay to inline mode.
     We need the full overlay behavior up to 900px since sidebar is off-screen.
     WC uses :where() (zero specificity), so .shop-sidebar prefix easily wins. */
  .shop-sidebar .wc-block-product-filters__open-overlay {
    display: flex;
  }

  .shop-sidebar .wc-block-product-filters__overlay {
    position: fixed;
    top: var(--wp-admin--admin-bar--height, 0px);
    right: 0;
    bottom: 0;
    left: 0;
    background-color: transparent;
    pointer-events: none;
    transition: background-color 0.5s;
  }

  .shop-sidebar .wc-block-product-filters__overlay-wrapper {
    height: 100%;
    width: 100%;
    position: relative;
  }

  .shop-sidebar .wc-block-product-filters__overlay-dialog {
    position: absolute;
    inset: 0;
    max-height: 100%;
    flex-direction: column;
    transform: translateY(100%);
    background-color: var(--wc-product-filters-overlay-background-color, var(--surface));
    color: inherit;
  }

  .shop-sidebar .wc-block-product-filters__overlay-header {
    display: flex;
    flex-flow: row-reverse;
    padding: var(--wp--preset--spacing--30, 16px) var(--wp--preset--spacing--40, 20px) 0;
  }

  .shop-sidebar .wc-block-product-filters__overlay-content {
    overflow-y: scroll;
    padding: 0 var(--wp--preset--spacing--40, 20px);
    flex-grow: 1;
  }

  .shop-sidebar .wc-block-product-filters__overlay-footer {
    display: block;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    padding: var(--wp--preset--spacing--30, 16px) var(--wp--preset--spacing--40, 20px);
  }

  .shop-sidebar .is-overlay-opened .wc-block-product-filters__overlay {
    background-color: rgba(95, 95, 95, 0.35);
    pointer-events: auto;
    z-index: 9999;
  }

  .shop-sidebar .is-overlay-opened .wc-block-product-filters__overlay-dialog {
    transform: translateY(0);
    transition: transform 0.5s;
  }

  /* Show mobile toolbar */
  .mobile-shop-toolbar {
    display: block;
    margin-bottom: 12px;
  }

  /* Row 1: filter button + sort dropdown on same line */
  .mobile-shop-toolbar__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }

  /* Filter button */
  .mobile-shop-toolbar__filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--btn-radius);
    background: var(--surface, #ffffff);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    transition: border-color 0.2s ease;
    white-space: nowrap;
  }

  .mobile-shop-toolbar__filter-btn svg {
    flex-shrink: 0;
  }

  /* Tag carousel row */
  .mobile-shop-toolbar__tags {
    --fade-size: 28px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black var(--fade-left, 0px),
      black calc(100% - var(--fade-right, 0px)),
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black var(--fade-left, 0px),
      black calc(100% - var(--fade-right, 0px)),
      transparent 100%
    );
  }

  .mobile-shop-toolbar__tags::-webkit-scrollbar {
    display: none;
  }

  /* Tag chip — matches sidebar tag chip style */
  .mobile-shop-toolbar__tag {
    flex-shrink: 0;
    scroll-snap-align: start;
    background-color: #e0e0e0;
    border: 0;
    border-radius: var(--radius);
    padding: 6px 12px;
    font-family: var(--font);
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
  }

  .mobile-shop-toolbar__tag--active {
    background-color: var(--accent-strong);
    color: #ffffff;
  }

  .mobile-shop-toolbar__tag--active::after {
    content: "\00d7";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    min-width: 16px;
    height: 16px;
    border-radius: var(--radius-max);
    background-color: rgba(255, 255, 255, 0.25);
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    color: #ffffff;
  }

  .mobile-shop-toolbar__tag--active .mobile-shop-toolbar__tag-count {
    color: #ffffff;
  }

  .mobile-shop-toolbar__tag--hidden {
    display: none;
  }

  /* Sort dropdown in the controls row */
  .mobile-shop-toolbar__controls .woocommerce-ordering {
    margin: 0;
  }

  .mobile-shop-toolbar__controls .woocommerce-ordering select {
    min-width: 0;
    width: auto;
    max-width: 180px;
  }

  /* Hide sort dropdown from results-header on mobile (it's in the toolbar now) */
  .shop-results-header .woocommerce-ordering {
    display: none;
  }

  .shop-results .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (min-width: 901px) {
  .mobile-sticky-menu {
    display: none !important;
  }

  body {
    padding-bottom: 0;
  }
}

@media (max-width: 800px) {
  .shop-results .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce-pagination ul.page-numbers {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 400px) {
  .custom-logo {
    transform: scale(0.8);
    transform-origin: center;
  }

  .shop-layout {
    gap: 0px;
  }
}

@media (max-width: 1024px) {
  .wp-block-celero-core-product-grid ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px;
  }
}

@media (max-width: 800px) {
  .wp-block-celero-core-product-grid ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ========================================
   Single Product Page
   ======================================== */

/* Product title - non-bold */
.single-product .product_title {
  font-weight: 400;
}

/* Summary card — warm organic container */
.single-product .summary.entry-summary {
  background: var(--bg-alt);
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  padding: 20px;
}

@media (min-width: 769px) {
  .woocommerce div.product {
    display: flex;
    flex-wrap: wrap;
    gap: 0 2%;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    width: 49%;
    float: none;
  }

  .single-product .summary.entry-summary {
    padding: 16px 24px;
  }
}

/* Warm dividers between summary sections */
.single-product .summary .woocommerce-product-details__short-description {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
}

/* Description typography — breathes more on mobile */
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-product-details__short-description p {
  font-size: 15px;
  line-height: 1.7;
}

.single-product .summary .stock {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
  display: flex;
  align-items: center;
}

.single-product .summary .stock::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
}

.single-product .summary .stock.in-stock::before {
  background: #6a9c59;
}

.single-product .summary .stock.out-of-stock::before {
  background: var(--danger);
}

.single-product .summary .stock.available-on-backorder::before {
  background: #d4a745;
}

/* Unit price display */
.celero-unit-price {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
}

/* Quantity input with +/- buttons */
.single-product .quantity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.67);
  padding: 0 12px;
  height: 36px;
}

.single-product .quantity .qty-btn {
  border: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  color: var(--text);
  width: 24px;
  height: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (hover: hover) {
  .single-product .quantity .qty-btn:hover {
    color: var(--accent-strong);
  }
}

.single-product .quantity input.qty {
  width: 48px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 16px;
  color: var(--text);
  -moz-appearance: textfield;
  pointer-events: none;
  user-select: none;
}

.single-product .quantity input.qty::-webkit-outer-spin-button,
.single-product .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Single product card-actions — matches archive pattern */
.single-product .card-actions {
  display: flex;
  align-items: center;
  padding: 0;
}

.single-product .card-actions .single_add_to_cart_button {
  min-width: 132px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.single-product .card-actions .single_add_to_cart_button::before {
  display: none;
}

.single-product .card-actions .single_add_to_cart_button.stock-reached {
  pointer-events: none;
  opacity: 0.5;
}

.single-product .card-actions .single_add_to_cart_button:hover {
  background: var(--accent-dark);
}

.single-product .card-actions .single_add_to_cart_button:hover ~ .remove-from-cart:not([hidden]) {
  background: var(--accent-dark);
}

/* Cart form layout */
.single-product form.cart {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.single-product .celero-single-wishlist-wrap {
  margin-top: 10px;
}

.single-product .celero-single-wishlist {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  padding: 0;
  font-family: "Poppins", "Helvetica", sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  cursor: pointer;
  transition: color 0.2s ease;
}

.single-product .celero-single-wishlist i {
  font-size: 20px;
  line-height: 1;
  color: inherit;
  border-radius: 50%;
  padding: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.single-product .celero-single-wishlist.is-active,
.single-product .celero-single-wishlist:focus-visible {
  color: var(--accent);
  outline: none;
}

@media (hover: hover) {
  .single-product .celero-single-wishlist:hover {
    color: var(--accent);
  }

  .single-product .celero-single-wishlist:hover i {
    background: color-mix(in srgb, var(--accent) 8%, transparent);
  }
}

/* Product meta (SKU, category, tags) */
.single-product .product_meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--accent) 15%, transparent);
  font-size: 14px;
  color: var(--muted);
}

.single-product .product_meta > span {
  display: block;
}

.single-product .product_meta .tagged_as,
.single-product .product_meta .posted_in {
  font-size: 0;
}

.single-product .product_meta .tagged_as::before {
  content: "Sildid: ";
  font-size: 14px;
  color: var(--muted);
}

.single-product .product_meta .posted_in::before {
  content: "Kategooria: ";
  font-size: 14px;
  color: var(--muted);
}

.single-product .product_meta .tagged_as a,
.single-product .product_meta .posted_in a {
  font-size: 12px;
  margin: 2px 3px;
}

.single-product .product_meta a {
  color: var(--text);
  text-decoration: none;
  display: inline-block;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  padding: 3px 10px;
  border-radius: var(--radius-max);
  font-size: 12px;
  margin: 2px 0;
  transition: background 0.2s ease, color 0.2s ease;
}

@media (hover: hover) {
  .single-product .product_meta a:hover {
    color: var(--accent-strong);
    background: color-mix(in srgb, var(--accent) 18%, transparent);
  }
}

/* Product gallery */
.single-product .woocommerce-product-gallery {
  position: relative;
}

.single-product .woocommerce-product-gallery__image:first-child {
  position: relative;
}

.single-product .woocommerce-product-gallery__image .onsale {
  position: absolute;
  background: var(--sale-badge-bg, var(--accent));
  color: #ffffff;
  font-size: var(--sale-single-font-size, 11px);
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: var(--sale-single-padding, 4px 12px);
  border-radius: var(--sale-badge-radius, 999px);
  z-index: 2;
  box-shadow: var(--sale-badge-shadow, 0 3px 8px rgba(0, 0, 0, 0.12));
  line-height: normal;
  min-width: 0;
  min-height: 0;
}

.single-product .woocommerce-product-gallery__wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Main image (first gallery image) */
.single-product .woocommerce-product-gallery__image:first-child {
  grid-column: 1 / -1;
}

.single-product .woocommerce-product-gallery__image:first-child img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  cursor: zoom-in;
}

/* Desktop: tighter vertical rhythm so summary card fits gallery height */
@media (min-width: 769px) {
  .single-product .summary .product_title {
    margin-bottom: 4px;
  }

  .single-product .summary .price {
    margin: 4px 0;
  }

  .single-product .summary .woocommerce-product-details__short-description {
    padding-top: 6px;
    margin-top: 6px;
    line-height: 1.5;
  }

  .single-product .summary .stock {
    padding-top: 6px;
    margin-top: 6px;
    margin-bottom: 4px;
  }

  .single-product .summary .cart {
    margin-bottom: 6px !important;
  }

  .single-product .summary .celero-single-wishlist-wrap {
    margin-top: 0;
  }

  .single-product .summary .product_meta {
    padding-top: 8px;
    margin-top: auto;
  }
}

/* Thumbnails (all images after the first) */
.single-product .woocommerce-product-gallery__image:not(:first-child) {
  display: inline-block;
}

.single-product .woocommerce-product-gallery__image:not(:first-child) img {
  width: 84px !important;
  height: 84px !important;
  object-fit: cover !important;
  border-radius: calc(var(--radius) / 2) !important;
  cursor: pointer;
  opacity: 0.6;
  filter: saturate(0.85);
  transition: opacity 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
  border: 2px solid transparent;
}

.single-product .woocommerce-product-gallery__image:not(:first-child).is-active img {
  opacity: 1;
  filter: saturate(1);
  border-color: var(--accent);
}

@media (hover: hover) {
  .single-product .woocommerce-product-gallery__image:not(:first-child):hover img {
    opacity: 1;
    filter: saturate(1);
  }
}

/* Thumbnails row container - use CSS to wrap after first child */
.single-product .woocommerce-product-gallery__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.single-product .woocommerce-product-gallery__image:first-child {
  flex: 0 0 100%;
}

.single-product .woocommerce-product-gallery__image:not(:first-child) {
  flex: 0 0 84px !important;
  width: 84px !important;
  height: 84px !important;
  overflow: hidden;
}

.single-product .woocommerce-product-gallery__image:not(:first-child) a {
  display: block;
  width: 84px !important;
  height: 84px !important;
}

/* Tabs */
.single-product .woocommerce-tabs .tabs {
  display: flex !important;
  gap: 0 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  overflow: visible !important;
  border-bottom: 1px solid var(--border) !important;
}

.single-product .woocommerce-tabs .tabs::before,
.single-product .woocommerce-tabs .tabs::after {
  display: none !important;
  content: none !important;
}

/* Tab li elements - apply background here */
.single-product .woocommerce-tabs .tabs li {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  border-top: none !important;
  border-left: none !important;
  border-right: none !important;
  border-bottom: 2px solid transparent !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  margin-bottom: -1px !important;
}

.single-product .woocommerce-tabs .tabs li::before,
.single-product .woocommerce-tabs .tabs li::after {
  display: none !important;
  content: none !important;
}

.single-product .woocommerce-tabs .tabs li:first-child {
  border-radius: 0 !important;
}

.single-product .woocommerce-tabs .tabs li:last-child {
  border-radius: 0 !important;
}

.single-product .woocommerce-tabs .tabs li.active {
  background: transparent !important;
  border-bottom-color: var(--accent) !important;
}

@media (hover: hover) {
  .single-product .woocommerce-tabs .tabs li:not(.active):hover {
    background: transparent !important;
  }
}

/* Tab links - transparent background, inherit from li */
.single-product .woocommerce-tabs .tabs li a {
  display: block !important;
  padding: 14px 28px !important;
  background: transparent !important;
  color: var(--text) !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  transition: color 0.2s ease !important;
}

.single-product .woocommerce-tabs .tabs li a::before,
.single-product .woocommerce-tabs .tabs li a::after {
  display: none !important;
  content: none !important;
}

.single-product .woocommerce-tabs .tabs li.active a {
  font-weight: 500 !important;
}

@media (hover: hover) {
  .single-product .woocommerce-tabs .tabs li:not(.active) a:hover {
    color: var(--accent-strong) !important;
  }
}

/* Tab content */
.single-product .woocommerce-Tabs-panel,
.single-product .woocommerce-tabs .panel {
  padding: 24px 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.single-product .woocommerce-Tabs-panel h2 {
  display: none; /* Remove redundant heading */
}

/* Attributes table in Lisainfo */
.single-product .shop_attributes {
  border-collapse: collapse;
  width: 100%;
}

.single-product .shop_attributes tr {
  border-bottom: 1px solid var(--border);
}

.single-product .shop_attributes tr:last-child {
  border-bottom: none;
}

.single-product .shop_attributes th,
.single-product .shop_attributes td {
  padding: 12px 0;
  font-size: 14px;
}

.single-product .shop_attributes th {
  font-weight: 500;
  text-align: left;
  width: 120px;
}

.single-product .shop_attributes td p {
  margin: 0;
}

/* Lightbox modal */
.celero-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.celero-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.celero-lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

@media (hover: hover) {
  .celero-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}

.celero-lightbox__image {
  max-width: 90vw;
  max-height: 75vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.celero-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

@media (hover: hover) {
  .celero-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}

.celero-lightbox__nav--prev {
  left: 20px;
}

.celero-lightbox__nav--next {
  right: 20px;
}

.celero-lightbox__thumbs {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  max-width: 90vw;
  overflow-x: auto;
  padding: 8px;
}

.celero-lightbox__thumb {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: calc(var(--radius) / 2);
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s ease;
  border: 2px solid transparent;
}

.celero-lightbox__thumb.is-active {
  opacity: 1;
}

@media (hover: hover) {
  .celero-lightbox__thumb:hover {
    opacity: 1;
  }
}

.celero-lightbox__thumb.is-active {
  border-color: #fff;
}

/* Mobile lightbox - full width thumbnail row */
@media (max-width: 768px) {
  .celero-lightbox {
    flex-direction: column;
    justify-content: center;
    padding: 60px 50px 90px;
  }

  .celero-lightbox__thumbs {
    left: 0;
    right: 0;
    transform: none;
    max-width: 100%;
    width: 100%;
    bottom: 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    z-index: 10;
  }

  .celero-lightbox__thumb {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
  }

  .celero-lightbox__image {
    max-width: 100%;
    max-height: 60vh;
    z-index: 1;
  }

  .celero-lightbox__nav {
    width: 44px;
    height: 44px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.6);
  }

  .celero-lightbox__nav--prev {
    left: 4px;
  }

  .celero-lightbox__nav--next {
    right: 4px;
  }

  .celero-lightbox__close {
    top: 10px;
    right: 10px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.6);
  }
}

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

/* Cart layout - two columns on desktop */
.wc-block-cart {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  align-items: start;
}

/* Override WooCommerce default sidebar layout */
.wc-block-components-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  align-items: start;
}

.wc-block-components-sidebar-layout .wc-block-components-main {
  grid-column: 1;
  width: 100% !important;
  justify-self: stretch;
}

.wc-block-components-sidebar-layout .wc-block-components-sidebar {
  grid-column: 2;
  width: 100% !important;
  justify-self: stretch;
}

/* Cart items section */
.wc-block-cart__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding-right: 0 !important;
}

/* Ensure cart items table fills available space */
.wc-block-cart-items {
  width: 100%;
}

/* Hide redundant cart title */
.wc-block-cart .wc-block-cart__main-content > .wp-block-heading,
.wc-block-cart .wc-block-components-order-summary__heading {
  display: none;
}

/* Cart table styling */
.wc-block-cart-items {
  border: none !important;
  border-collapse: separate;
  border-spacing: 0 16px;
}

.wc-block-cart-items thead {
  display: none; /* Hide table headers */
}

/* Each cart item as a card */
.wc-block-cart-items__row {
  position: relative;
  overflow: visible;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid !important;
  grid-template-columns: 90px 1fr auto;
  gap: 20px;
  padding: 20px 44px 20px 24px;
  align-items: start;
  margin-bottom: 16px;
}

.wc-block-cart-items__row:last-child {
  margin-bottom: 0;
}

/* Make cart items fill available width */
.wc-block-cart__main,
.wc-block-components-main {
  width: 100%;
}

.wc-block-cart-items {
  width: 100%;
  table-layout: fixed;
}

.wc-block-cart-items__row td {
  padding: 0 !important;
  border: none !important;
  vertical-align: top;
}

/* Product image cell */
.wc-block-cart-items__row .wc-block-cart-item__image {
  width: 90px;
  height: 90px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  flex-shrink: 0;
}

.wc-block-cart-items__row .wc-block-cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wc-block-cart-items__row .wc-block-cart-item__image a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Product details cell */
.wc-block-cart-items__row .wc-block-cart-item__product {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

/* Product name */
.wc-block-cart .wc-block-components-product-name {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  line-height: 1.3;
}

@media (hover: hover) {
  .wc-block-cart .wc-block-components-product-name:hover {
    color: var(--accent-strong);
  }
}

/* Product price */
.wc-block-cart-item__prices {
  font-size: 14px;
  color: var(--text);
}

.wc-block-cart-item__prices .wc-block-components-product-price__regular {
  color: var(--muted);
  text-decoration: line-through;
  margin-right: 8px;
}

/* Product description — hidden on mobile for compactness */
@media (max-width: 900px) {
  .wc-block-cart-item__product-details,
  .wc-block-components-product-metadata {
    display: none;
  }
}

/* Product inner wrap — flex column so quantity pushes to bottom */
.wc-block-cart-item__wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

/* Quantity and remove row */
.wc-block-cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
}

/* Quantity input styling */
.wc-block-cart-item__quantity .wc-block-components-quantity-selector {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.67);
  padding: 0;
  height: 32px;
  overflow: hidden;
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector input {
  width: 40px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  -moz-appearance: textfield;
  padding: 0;
  height: 100%;
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector input::-webkit-outer-spin-button,
.wc-block-cart-item__quantity .wc-block-components-quantity-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector button {
  border: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  color: var(--text);
  width: 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

@media (hover: hover) {
  .wc-block-cart-item__quantity .wc-block-components-quantity-selector button:hover {
    color: var(--accent-strong);
  }
}

.wc-block-cart-item__quantity .wc-block-components-quantity-selector button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Hide the original "Remove Item" text link — replaced by injected X button */
.wc-block-cart-item__remove-link {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* Injected X (close) button — replaces "Remove Item" text */
.celero-cart-remove-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(204, 68, 68, 0.08);
  border: 1.5px solid rgba(204, 68, 68, 0.25);
  cursor: pointer;
  color: var(--danger);
  font-size: 18px;
  padding: 0;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, opacity 0.15s ease;
  z-index: 2;
}

@media (hover: hover) {
  .celero-cart-remove-btn:hover {
    color: #fff;
    background: var(--danger);
    border-color: var(--danger);
  }
}

/* Spin feedback when X button is clicked */
@keyframes celero-remove-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(180deg); }
}

.celero-cart-remove-btn.is-removing {
  color: #fff;
  background: var(--danger);
  border-color: var(--danger);
  animation: celero-remove-spin 0.3s ease-in-out;
  pointer-events: none;
}

/* Swipe-to-delete backdrop — positioned behind active swipe row */
.celero-cart-swipe-backdrop {
  display: none;
  position: absolute;
  right: 0;
  width: calc(100% - var(--radius));
  background: var(--danger);
  align-items: center;
  justify-content: flex-end;
  padding-right: 28px;
  box-sizing: border-box;
  color: #fff;
  font-size: 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  z-index: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}

.celero-cart-swipe-backdrop.is-commit {
  background: color-mix(in srgb, var(--danger) 80%, black);
}

@media (max-width: 900px) {
  /* Swipeable rows on mobile */
  .wc-block-cart-items__row {
    transition: transform 0.25s ease;
    will-change: transform;
    z-index: 1;
  }

  /* Suppress focus outlines triggered by swipe-to-delete on mobile */
  .wc-block-cart *:focus {
    outline: none;
    -webkit-tap-highlight-color: transparent;
  }

  /* X button smaller on mobile */
  .celero-cart-remove-btn {
    width: 24px;
    height: 24px;
    font-size: 14px;
    top: 10px;
    right: 10px;
  }

  /* Hide X button during swipe */
  .celero-swipe-active .celero-cart-remove-btn {
    opacity: 0;
    pointer-events: none;
  }
}

/* Swipe peek hint animation */
@keyframes celero-swipe-peek {
  0%   { transform: translateX(0); }
  40%  { transform: translateX(-20px); }
  100% { transform: translateX(0); }
}

.celero-swipe-peek {
  animation: celero-swipe-peek 0.8s ease-in-out 0.5s both;
}

/* Total price cell — aligned to bottom, height matches quantity selector for visual centering */
.wc-block-cart-items__row .wc-block-cart-item__total {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  white-space: nowrap;
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 32px;
}

/* Summary sidebar */
.wc-block-cart__sidebar {
  position: sticky;
  top: 24px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  min-width: 0;
}

/* Summary title */
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-heading-block,
.wc-block-cart__sidebar .wc-block-cart__totals-title {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border);
}

/* Coupon accordion */
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-coupon-form-block {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.wc-block-cart__sidebar .wc-block-components-totals-coupon__button,
.wc-block-cart__sidebar .wc-block-components-panel__button {
  background: none;
  color: var(--text);
  border-radius: 0;
  padding: 8px 0;
  width: 100%;
}

@media (hover: hover) {
  .wc-block-cart__sidebar .wc-block-components-totals-coupon__button:hover,
  .wc-block-cart__sidebar .wc-block-components-panel__button:hover {
    background: none;
    color: var(--text);
  }
}

.wc-block-cart__sidebar .wc-block-components-panel__button svg {
  flex-shrink: 0;
}

/* Totals wrapper */
.wc-block-cart__sidebar .wc-block-components-totals-wrapper {
  margin: 0;
  padding: 0;
}

/* Totals rows */
.wc-block-cart__sidebar .wc-block-components-totals-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 12px 0;
  font-size: 14px;
  gap: 8px;
}

.wc-block-cart__sidebar .wc-block-components-totals-item__label {
  color: var(--text);
}

.wc-block-cart__sidebar .wc-block-components-totals-item__value {
  font-weight: 500;
  color: var(--text);
  text-align: right;
  white-space: nowrap;
}

.wc-block-cart__sidebar .wc-block-components-totals-item__description {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--muted);
}

.wc-block-cart__sidebar .wc-block-components-totals-item__description:empty {
  display: none;
}

/* Shipping row */
.wc-block-cart__sidebar .wc-block-components-totals-shipping {
  border-bottom: 1px solid var(--border-subtle);
}

.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-shipping-block {
  border-bottom: 1px solid var(--border-subtle);
}

/* Estimated total - larger */
.wc-block-cart__sidebar .wc-block-components-totals-footer-item {
  font-size: 16px;
  font-weight: 600;
  padding: 16px 0 0;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}

.wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-weight: 600;
  font-size: 16px;
}

/* Checkout button container */
.wc-block-cart__sidebar .wc-block-cart__submit,
.wc-block-cart__sidebar .wp-block-woocommerce-proceed-to-checkout-block {
  margin-top: 20px;
}

.wc-block-cart__sidebar .wc-block-cart__submit-container {
  width: 100%;
}

/* Cart checkout button — wide override */
.wc-block-cart__sidebar .wc-block-cart__submit-button,
.wc-block-cart__sidebar .wc-block-components-button {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
}

.wc-block-cart__sidebar .wc-block-components-button__text {
  color: #ffffff;
}

/* Remove sidebar divider lines */
.wc-block-cart__sidebar .wc-block-cart__totals-title,
.wc-block-cart__sidebar .wc-block-components-totals-wrapper,
.wc-block-cart__sidebar .wc-block-components-totals-shipping,
.wc-block-cart__sidebar .wc-block-components-totals-footer-item,
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block,
.wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-totals-block {
  border: none !important;
}

/* Cart SAVE badge — amber/gold accent pill */
.wc-block-components-product-badge.wc-block-components-sale-badge {
  background: #f5d060;
  color: #2d2d2d;
  border: none;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Mobile: single column layout */
@media (max-width: 900px) {
  .wc-block-cart,
  .wc-block-components-sidebar-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wc-block-components-sidebar-layout .wc-block-components-main,
  .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    grid-column: 1;
  }

  .wc-block-cart__sidebar {
    position: static;
  }

  /* Remove padding that causes width mismatch */
  .wc-block-cart__main {
    padding: 0 !important;
  }

  .wc-block-cart-items__row {
    grid-template-columns: 70px 1fr auto;
    gap: 12px;
    padding: 16px 36px 16px 16px !important;
  }

  .wc-block-cart-items__row .wc-block-cart-item__image {
    width: 70px;
    height: 70px;
  }

  /* Hide unit price and sale badge on mobile - only show line total */
  .wc-block-cart-items__row .wc-block-cart-item__prices,
  .wc-block-cart-items__row .wc-block-components-sale-badge {
    display: none;
  }

  /* Position line total vertically centered on mobile */
  .wc-block-cart-items__row .wc-block-cart-item__total {
    align-self: center;
    text-align: right;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    height: auto;
  }

  /* Quantity stays near title on mobile, left-aligned like title */
  /* High specificity to override WooCommerce cart.css */
  .wc-block-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity {
    margin-top: 4px;
    align-self: flex-start;
  }

  /* Remove bottom margin on selector that inflates quantity cell height */
  .wc-block-cart-item__quantity .wc-block-components-quantity-selector {
    margin-bottom: 0;
  }

  .wc-block-cart-items__row .wc-block-cart-item__total .wc-block-components-product-price__value {
    font-weight: 500 !important;
    font-size: 14px;
  }

  /* Sidebar padding on mobile */
  .wc-block-cart__sidebar {
    padding: 12px !important;
    margin: 0;
  }
}

/* Mobile checkout button styling */
@media (max-width: 900px) {
  /* Ensure checkout button is visible and styled on mobile */
  .wc-block-cart .wc-block-cart__submit,
  .wc-block-cart .wp-block-woocommerce-proceed-to-checkout-block {
    display: block !important;
    margin-top: 20px;
  }

  .wc-block-cart .wc-block-components-button,
  .wc-block-cart .wc-block-cart__submit-button {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }

  /* Add bottom padding for mobile sticky nav */
  .wc-block-cart {
    padding-bottom: 20px;
  }

  /* Stack sticky checkout button above the mobile footer nav */
  .wc-block-cart .wc-block-cart__submit-container--sticky {
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }

  /* Remove table border-spacing on mobile — rows use margin instead */
  .wc-block-cart-items {
    border-spacing: 0;
  }

  /* Gap between cart item rows */
  .wc-block-cart-items__row {
    margin-bottom: 12px;
  }

  .wc-block-cart-items__row:last-child {
    margin-bottom: 0;
  }

}

/* ========================================
   WooCommerce Notices
   ======================================== */

/* Base notice style — white card matching site design */
.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  background: var(--surface);
  border: none;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 24px;
  margin: 0 0 24px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  list-style: none;
  outline: none;
}

.woocommerce-info::before,
.woocommerce-message::before,
.woocommerce-error::before {
  display: none;
}

.woocommerce-error {
  border-left-color: var(--danger);
}

.woocommerce-error li {
  list-style: none;
  margin-bottom: 8px;
}

.woocommerce-error li:last-child {
  margin-bottom: 0;
}

/* Links inside notices */
.woocommerce-info a,
.woocommerce-message a,
.woocommerce-error a {
  color: var(--accent-strong);
  font-weight: 500;
  text-decoration: none;
}

@media (hover: hover) {
  .woocommerce-info a:hover,
  .woocommerce-message a:hover,
  .woocommerce-error a:hover {
    text-decoration: underline;
  }
}

/* Buttons inside notices */
.woocommerce-message .button,
.woocommerce-info .button {
  float: right;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}

@media (hover: hover) {
  .woocommerce-message .button:hover,
  .woocommerce-info .button:hover {
    background: var(--accent-dark);
    text-decoration: none;
  }
}

/* Empty cart — return to shop */
.return-to-shop {
  margin-top: 24px;
}

.return-to-shop .button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

@media (hover: hover) {
  .return-to-shop .button:hover {
    background: var(--accent-dark);
  }
}

/* ========================================
   Checkout Page
   ======================================== */

/* Two-column checkout layout */
form.checkout.woocommerce-checkout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  align-items: stretch;
}

/* Coupon toggle - styled and positioned above columns */
.woocommerce-checkout .woocommerce-form-coupon-toggle {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
}

/* Login/coupon notices - full width above columns */
.woocommerce-checkout .woocommerce-form-login-toggle,
.woocommerce-checkout .woocommerce-form-coupon-toggle {
  grid-column: 1 / -1;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  background: none;
  border: none;
  border-left: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
  color: var(--text);
  font-size: 14px;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
  display: none;
}

.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
  color: var(--accent-strong);
  font-weight: 500;
  text-decoration: none;
}

@media (hover: hover) {
  .woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info a:hover,
  .woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a:hover {
    text-decoration: underline;
  }
}

/* Hidden login/coupon forms */
.woocommerce-checkout .woocommerce-form-login,
.woocommerce-checkout .checkout_coupon {
  grid-column: 1 / -1;
  background: var(--surface);
  border-radius: var(--radius) !important;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 16px;
  border: none !important;
}

/* Billing form container - left column as single card */
.woocommerce-checkout #customer_details {
  grid-column: 1;
  grid-row: 1;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  width: 100%;
  float: none;
  padding: 0;
}

/* Remove individual card styling - now part of parent card */
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin-bottom: 24px;
}

.woocommerce-checkout .woocommerce-additional-fields {
  margin-bottom: 0;
}

/* Section headings */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 20px 0;
  padding: 0;
}

/* Form rows */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper > p,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper > p {
  width: 100%;
}

/* Full width fields */
.woocommerce-checkout .form-row-wide,
.woocommerce-checkout #billing_country_field,
.woocommerce-checkout #billing_address_1_field,
.woocommerce-checkout #billing_address_2_field,
.woocommerce-checkout #shipping_country_field,
.woocommerce-checkout #shipping_address_1_field,
.woocommerce-checkout #shipping_address_2_field {
  grid-column: 1 / -1;
}

/* Form field styling */
.woocommerce-checkout .form-row {
  margin: 0;
  padding: 0;
}

.woocommerce-checkout .form-row .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

.woocommerce-checkout .form-row label {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
  display: block;
}

.woocommerce-checkout .form-row label .required {
  color: var(--danger);
}

.woocommerce-checkout .form-row label .optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}

/* Input fields - pill style */
/* Checkout form inputs now inherit from global rules */

/* Select2 dropdown styling */
.woocommerce-checkout .select2-container--default .select2-selection--single {
  height: auto;
  min-height: 46px;
  display: flex;
  align-items: center;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.4;
  color: var(--text);
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  right: 16px;
}

/* Checkbox styling */
.woocommerce-checkout .form-row.woocommerce-validated input[type="checkbox"],
.woocommerce-checkout .form-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid var(--border);
  margin-right: 10px;
  accent-color: var(--accent-strong);
}

/* Ship to different address section - integrated into card */
.woocommerce-checkout .woocommerce-shipping-fields {
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin-bottom: 24px;
}

.woocommerce-checkout .woocommerce-shipping-fields > h3 {
  display: none;
}

.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 16px 0;
  background: transparent;
  border-top: 1px solid var(--border-subtle);
  border-radius: 0;
  box-shadow: none;
}

.woocommerce-checkout .woocommerce-shipping-fields #ship-to-different-address label {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin: 0;
}

/* Order review - right column wrapper stretches to match left */
.woocommerce-checkout #order_review_heading {
  display: none;
}

.woocommerce-checkout #order_review {
  grid-column: 2;
  grid-row: 1;
  align-self: flex-start;
  position: sticky !important;
  top: 24px;
}

/* Order review card styling */
.woocommerce-checkout .woocommerce-checkout-review-order {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

/* Add "Sinu tellimus" title via CSS */
.woocommerce-checkout .woocommerce-checkout-review-order::before {
  content: "Sinu tellimus";
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 20px 0;
}

/* Order table */
.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-bottom: 20px;
  border: none !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table thead th {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  padding: 0 0 12px 0;
  border: none;
  text-align: left;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table thead th:last-child {
  text-align: right;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--text);
  padding: 12px 0;
  border: none !important;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-name {
  font-weight: 400;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-name .product-quantity {
  color: var(--muted);
  font-weight: 500;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tbody .product-total,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot th {
  font-weight: 500;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .order-total td {
  font-size: 16px;
  font-weight: 600;
  border-bottom: none;
  padding-top: 16px;
}

/* Shipping & pickup rows — stack label + content for full width */
.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-totals {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-totals th {
  width: 100%;
  text-align: left;
  padding-bottom: 4px;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot .woocommerce-shipping-totals td {
  width: 100%;
  text-align: left;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.montonio-pickup-point {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot tr.montonio-pickup-point td {
  width: 100%;
  text-align: left;
}

.woocommerce-checkout .woocommerce-shipping-methods {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-checkout .woocommerce-shipping-methods li,
.woocommerce ul#shipping_method li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.woocommerce-checkout .woocommerce-shipping-methods li label,
.woocommerce ul#shipping_method li label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  font-size: 14px;
  cursor: pointer;
}

.woocommerce-checkout .woocommerce-shipping-methods li input[type="radio"],
.woocommerce ul#shipping_method li input[type="radio"] {
  margin-right: 10px;
  flex-shrink: 0;
  accent-color: var(--accent-strong);
}

/* Montonio pickup point dropdown — hide native select to prevent FOUC */
.woocommerce-checkout .montonio-shipping-pickup-point-dropdown {
  position: absolute;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.woocommerce-checkout .montonio-pickup-point-select-wrapper {
  max-width: 100%;
  overflow: visible;
}

.woocommerce-checkout .montonio-pickup-point-select-wrapper label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.woocommerce-checkout .montonio-pickup-point-select-wrapper label .required {
  color: #e2401c;
  text-decoration: none;
}

/* Searchable pickup point dropdown */
.celero-pickup-search {
  position: relative;
  width: 100%;
}

.celero-pickup-search__field {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.67);
  padding: 12px 40px 12px 20px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.celero-pickup-search--open .celero-pickup-search__field {
  cursor: text;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 256 256'%3E%3Cpath d='M229.66 218.34l-50.07-50.06a88.11 88.11 0 1 0-11.31 11.31l50.06 50.07a8 8 0 0 0 11.32-11.32ZM40 112a72 72 0 1 1 72 72 72.08 72.08 0 0 1-72-72Z' fill='%23999'/%3E%3C/svg%3E");
  border-color: var(--accent-strong);
  outline: none;
  box-shadow: 0 0 0 2px rgba(107, 142, 35, 0.15);
}

.celero-pickup-search__field:focus {
  border-color: var(--accent-strong);
  outline: none;
  box-shadow: 0 0 0 2px rgba(107, 142, 35, 0.15);
}

.celero-pickup-search__field::placeholder {
  color: var(--muted, #999);
}

.celero-pickup-search__panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 100;
  overflow: hidden;
}

.celero-pickup-search--open .celero-pickup-search__panel {
  display: block;
}

.celero-pickup-search__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 250px;
  overflow-y: auto;
}

.celero-pickup-search__option {
  padding: 10px 16px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid var(--border-light, rgba(0, 0, 0, 0.04));
}

.celero-pickup-search__option:last-child {
  border-bottom: none;
}

.celero-pickup-search__option:hover {
  background: var(--bg-alt, #f5f5f5);
}

.celero-pickup-search__option--selected {
  color: var(--accent-strong);
}

.celero-pickup-search__empty {
  padding: 16px;
  font-family: var(--font);
  font-size: 13px;
  color: var(--muted, #999);
  text-align: center;
}

/* Payment methods */
.woocommerce-checkout #payment {
  background: transparent;
  border-radius: 0;
  margin-top: 20px;
  padding-top: 0;
  border-top: none;
}

.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
  border: none;
}

.woocommerce-checkout #payment ul.payment_methods li {
  margin-bottom: 12px;
  padding: 0;
  background: transparent;
}

.woocommerce-checkout #payment ul.payment_methods li label {
  display: flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}

.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
  margin-right: 12px;
  accent-color: var(--accent-strong);
}

.woocommerce-checkout #payment ul.payment_methods li img {
  max-height: 24px;
  margin-left: 8px;
}

/* Payment method description */
.woocommerce-checkout #payment div.payment_box {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 16px;
  margin: 12px 0 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.woocommerce-checkout #payment div.payment_box::before {
  display: none;
}

/* Terms and conditions */
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin: 20px 0;
  padding: 0;
}

.woocommerce-privacy-policy-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.woocommerce-privacy-policy-text a {
  color: var(--accent-strong);
  text-decoration: underline;
}

/* Privacy policy modal */
.celero-privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.celero-privacy-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.celero-privacy-modal__content {
  background: var(--surface);
  border-radius: var(--radius);
  max-width: 700px;
  width: 90vw;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.celero-privacy-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.celero-privacy-modal__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.celero-privacy-modal__close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: var(--btn-radius);
  background: var(--accent-strong);
  cursor: pointer;
  font-size: 16px;
  color: #fff;
  display: grid;
  place-items: center;
  transition: background 0.15s ease;
  flex-shrink: 0;
}

@media (hover: hover) {
  .celero-privacy-modal__close:hover {
    background: var(--accent-dark);
  }
}

.celero-privacy-modal__close:active {
  background: var(--accent-dark);
}

.celero-privacy-modal__body {
  padding: 24px;
  overflow-y: auto;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text, #1f2937);
}

.celero-privacy-modal__body h2,
.celero-privacy-modal__body h3 {
  margin-top: 24px;
  margin-bottom: 8px;
}

.celero-privacy-modal__body p {
  margin-bottom: 12px;
}

.celero-privacy-modal__loading {
  text-align: center;
  padding: 40px;
  color: var(--muted, #6b7280);
}

.celero-privacy-modal__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  flex-shrink: 0;
}

.celero-privacy-modal__footer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 32px;
  background: var(--accent-strong);
  color: #fff;
  border: none;
  border-radius: var(--btn-radius);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.15s ease;
}

@media (hover: hover) {
  .celero-privacy-modal__footer-close:hover {
    background: var(--accent-dark);
  }
}

.celero-privacy-modal__footer-close:active {
  background: var(--accent-dark);
}

@media (max-width: 768px) {
  .celero-privacy-modal__content {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    height: 100dvh;
    border-radius: 0;
  }

  .celero-privacy-modal__header {
    padding-top: max(20px, env(safe-area-inset-top));
  }

  .celero-privacy-modal__footer {
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }

  .celero-privacy-modal__body {
    padding: 16px;
  }
}

.woocommerce-checkout .form-row.place-order {
  margin: 0;
  padding: 0;
}

/* Place order button — wide override */
.woocommerce-checkout #place_order {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
}

/* Coupon form in checkout */
.woocommerce-checkout .checkout_coupon {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.woocommerce-checkout .checkout_coupon p.form-row {
  flex: 0 0 auto;
  margin: 0;
  width: auto;
}

.woocommerce-checkout .checkout_coupon .form-row label {
  display: none;
}

.woocommerce-checkout .checkout_coupon .form-row input {
  width: 250px;
  height: 44px;
  padding: 0 20px;
  font-size: 16px;
  box-sizing: border-box;
}

.woocommerce-checkout .checkout_coupon button.button {
  padding: 0 24px;
  height: 44px;
  white-space: nowrap;
}

/* Mobile checkout */
@media (max-width: 900px) {
  form.checkout.woocommerce-checkout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin-bottom: 12px;
  }

  .woocommerce-checkout #customer_details {
    grid-column: 1;
    grid-row: auto;
    padding: 12px;
  }

  .woocommerce-checkout #order_review {
    grid-column: 1;
    grid-row: auto;
    position: static;
  }

  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .woocommerce-checkout .woocommerce-billing-fields,
  .woocommerce-checkout .woocommerce-shipping-fields,
  .woocommerce-checkout .woocommerce-additional-fields,
  .woocommerce-checkout .woocommerce-checkout-review-order {
    padding: 12px;
  }

  .woocommerce-checkout .woocommerce-form-login,
  .woocommerce-checkout .checkout_coupon {
    padding: 12px;
  }

  .woocommerce-checkout .checkout_coupon {
    flex-direction: column;
  }

  .woocommerce-checkout .checkout_coupon .form-row-last {
    width: 100%;
  }

  .woocommerce-checkout .checkout_coupon button.button {
    width: 100%;
  }
}

/* My Account – login, register & reset password mobile */
@media (max-width: 900px) {
  .woocommerce-account .woocommerce form.login,
  .woocommerce-account .woocommerce form.register,
  .woocommerce-account .woocommerce form.lost_reset_password {
    padding: 16px;
  }
}

/* My Account – login, register & reset password centered cards */
.woocommerce-account .woocommerce form.login,
.woocommerce-account .woocommerce form.register,
.woocommerce-account .woocommerce form.lost_reset_password {
  background: var(--surface);
  border: none;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  max-width: 480px;
  margin: 0 auto;
}

/* My Account – single-card login/register toggle */
.woocommerce-account #customer_login {
  max-width: 480px;
  margin: 0 auto;
}

.woocommerce-account #customer_login .col-1,
.woocommerce-account #customer_login .col-2 {
  float: none;
  width: auto;
}

.woocommerce-account #customer_login .col-2 {
  display: none;
}

.woocommerce-account #customer_login.show-register .col-1 {
  display: none;
}

.woocommerce-account #customer_login.show-register .col-2 {
  display: block;
}

.woocommerce-account #customer_login .col-1 > h2,
.woocommerce-account #customer_login .col-2 > h2 {
  text-align: center;
  margin-bottom: 24px;
}

/* My Account – toggle link between login/register */
.celero-auth-toggle {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

.celero-auth-toggle a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
  cursor: pointer;
}

@media (hover: hover) {
  .celero-auth-toggle a:hover {
    text-decoration: underline;
  }
}

.woocommerce-account .woocommerce > h2 {
  text-align: center;
}

/* My Account – hide "Remember Me" (always forced on server-side) */
.woocommerce .woocommerce-form-login .woocommerce-form-login__rememberme {
  display: none;
}

/* My Account – two-column grid layout (only when nav present, i.e. logged in) */
.woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

/* My Account – navigation card */
.woocommerce-account .woocommerce-MyAccount-navigation {
  grid-row: 1;
  grid-column: 1;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  float: none;
  width: auto;
}

/* My Account – navigation list */
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-MyAccount-navigation ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: calc(var(--radius) / 2);
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

@media (hover: hover) {
  .woocommerce-MyAccount-navigation ul li a:hover {
    background: var(--bg);
    color: var(--accent);
  }
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a[aria-current="page"],
.woocommerce-MyAccount-navigation ul:not(:has(.is-active)) .woocommerce-MyAccount-navigation-link--dashboard a {
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  font-weight: 500;
}

/* My Account – navigation icons */
.woocommerce-MyAccount-navigation ul li a::before {
  font-family: "Phosphor";
  font-size: 20px;
  line-height: 1;
  flex-shrink: 0;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before { content: "\e2c2"; }
.woocommerce-MyAccount-navigation-link--orders a::before { content: "\e390"; }
.woocommerce-MyAccount-navigation-link--edit-address a::before { content: "\e316"; }
.woocommerce-MyAccount-navigation-link--payment-methods a::before { content: "\e1d2"; }
.woocommerce-MyAccount-navigation-link--edit-account a::before { content: "\e4c2"; }
.woocommerce-MyAccount-navigation-link--wishlist a::before { content: "\e2a8"; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "\e42a"; }

/* My Account – logout separator */
.woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--bg);
}

/* My Account – logout danger styling */
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: var(--danger);
}

@media (hover: hover) {
  .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
    color: var(--danger);
    background: rgba(192, 57, 43, 0.08);
  }
}

/* My Account – content card */
.woocommerce-account .woocommerce-MyAccount-content {
  grid-row: 1;
  grid-column: 2;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  float: none;
  width: auto;
  min-width: 0;
}

/* My Account – mobile single column */
@media (max-width: 900px) {
  .woocommerce-account .woocommerce:has(.woocommerce-MyAccount-navigation) {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Remove clearfix pseudo-elements that create phantom grid gaps */
  .woocommerce-account .woocommerce::before,
  .woocommerce-account .woocommerce::after {
    display: none;
  }

  /* Hide view titles on mobile — nav bar already shows the current page */
  .celero-account-view__title {
    display: none;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-content {
    grid-row: auto;
    grid-column: 1;
    min-width: 0;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 16px;
  }

  /* Nav card: sticky + tighter padding on mobile */
  .woocommerce-account .woocommerce-MyAccount-navigation {
    padding: 12px;
    position: sticky;
    top: 8px;
    z-index: 10;
    overflow-anchor: none;
  }

  /* Nav list: 3-column icon grid */
  .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  /* Nav items: equal height rows */
  .woocommerce-MyAccount-navigation ul li {
    display: flex;
  }

  /* Nav items: vertical icon + label */
  .woocommerce-MyAccount-navigation ul li a {
    flex-direction: column;
    text-align: center;
    padding: 12px 8px;
    font-size: 12px;
    gap: 4px;
    width: 100%;
  }

  /* Icons: larger in grid mode */
  .woocommerce-MyAccount-navigation ul li a::before {
    font-size: 24px;
  }

  /* NOTE: Mobile hover disabled globally via @media (hover: hover) wrapping */

  /* Remove logout separator on mobile (inline grid cell) */
  .woocommerce-MyAccount-navigation-link--customer-logout {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
  }

  /* --- Sub-page collapsible nav --- */

  /* Collapsed: tighter nav card padding */
  .woocommerce-account .woocommerce-MyAccount-navigation:has(ul:has(.is-active):not(.nav-expanded)) {
    padding: 8px 12px;
  }

  /* Collapsed: convert grid to flex row */
  .woocommerce-MyAccount-navigation ul:has(.is-active):not(.nav-expanded) {
    display: flex;
    align-items: center;
  }

  /* Collapsed: hide non-active items */
  .woocommerce-MyAccount-navigation ul:has(.is-active):not(.nav-expanded) li:not(.is-active) {
    display: none;
  }

  /* Collapsed: active item as horizontal bar */
  .woocommerce-MyAccount-navigation ul:has(.is-active):not(.nav-expanded) li.is-active a {
    flex-direction: row;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    padding: 4px 40px 4px 12px;
    gap: 8px;
    width: 100%;
    background: none;
    color: var(--text);
    font-weight: 400;
  }

  /* Collapsed: icon size reset */
  .woocommerce-MyAccount-navigation ul:has(.is-active):not(.nav-expanded) li.is-active a::before {
    font-size: 20px;
  }

  /* Collapsed: chevron indicator */
  .woocommerce-MyAccount-navigation ul:has(.is-active):not(.nav-expanded) li.is-active a::after {
    content: "\e136";
    font-family: "Phosphor";
    font-size: 16px;
    position: absolute;
    right: 12px;
    color: var(--text-light);
    transition: transform 0.2s ease;
  }

  /* Collapsed: position context for chevron */
  .woocommerce-MyAccount-navigation ul:has(.is-active):not(.nav-expanded) li.is-active {
    position: relative;
    width: 100%;
  }

  /* Expanded: hide chevron on active item */
  .woocommerce-MyAccount-navigation ul.nav-expanded li.is-active a::after {
    content: none;
  }
}

/* My Account – password-change fieldset reset */
.woocommerce-account fieldset {
  border: none;
  padding: 0;
  margin: 24px 0 0;
}

.woocommerce-account fieldset legend {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  padding: 0;
  margin-bottom: 16px;
}

/* My Account – Address cards */
.celero-addresses__intro {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.celero-addresses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.celero-address-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
}

.celero-address-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.celero-address-card__icon {
  font-family: "Phosphor";
  font-size: 20px;
  color: var(--accent);
  line-height: 1;
}

.celero-address-card__icon::before {
  content: "\e2c2";
}

.celero-address-card__icon--shipping::before {
  content: "\e4b4";
}

.celero-address-card__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  flex: 1;
}

.button--sm {
  padding: 6px 16px;
  font-size: 13px;
}

.celero-address-card__body {
  font-style: normal;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

.celero-address-card__empty {
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .celero-addresses {
    grid-template-columns: 1fr;
  }

  .celero-address-card {
    padding: 12px;
  }
}

/* My Account – Edit address form */
.celero-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 8px;
}

@media (hover: hover) {
  .celero-back-link:hover {
    color: var(--accent);
  }
}

.woocommerce-address-fields .form-row {
  margin-bottom: 8px;
}

.woocommerce-address-fields .form-row label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.woocommerce-address-fields button[name="save_address"] {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .woocommerce-address-fields button[name="save_address"] {
    width: 100%;
  }
}

/* My Account – Dashboard Hub Grid */
.celero-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Dashboard card base */
.celero-dashboard-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
}

.celero-dashboard-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.celero-dashboard-card h3 i {
  font-size: 20px;
  color: var(--accent);
}

/* Dashboard card header (title + "view all" link) */
.celero-dashboard-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.celero-dashboard-card__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
}

@media (hover: hover) {
  .celero-dashboard-card__link:hover {
    text-decoration: underline;
  }
}

.celero-dashboard-card__empty {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}

/* Dashboard greeting */
.celero-dashboard-greeting {
  grid-column: 1 / -1;
  margin: 0 0 -4px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}

/* Shop CTA card – full width, accent background */
.celero-dashboard-card--shop {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--accent);
  color: #fff;
  transition: background 0.15s ease;
}

@media (hover: hover) {
  .celero-dashboard-card--shop:hover {
    background: var(--accent-dark);
    color: #fff;
  }
}

.celero-dashboard-card--shop:active {
  background: var(--accent-dark);
  color: #fff;
}

.celero-dashboard-card--shop > i {
  font-size: 36px;
  flex-shrink: 0;
}

.celero-dashboard-card--shop > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.celero-dashboard-card--shop strong {
  font-size: 18px;
  font-weight: 600;
}

.celero-dashboard-card--shop span {
  font-size: 14px;
  opacity: 0.85;
}

.celero-dashboard-card__btn {
  background: var(--surface);
  color: var(--accent);
  flex-shrink: 0;
}

@media (hover: hover) {
  .celero-dashboard-card--shop:hover .celero-dashboard-card__btn {
    background: var(--surface);
    color: var(--accent-dark);
  }
}

.celero-dashboard-card--shop:active .celero-dashboard-card__btn {
  background: var(--surface);
  color: var(--accent-dark);
}

/* Recent Orders list */
.celero-dashboard-orders {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  row-gap: 8px;
}

.celero-dashboard-orders li {
  display: contents;
}

.celero-dashboard-orders li a {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  align-items: center;
  column-gap: 12px;
  padding: 10px 12px;
  background: var(--surface);
  border-radius: calc(var(--radius) - 4px);
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  transition: box-shadow 0.15s ease;
}

@media (hover: hover) {
  .celero-dashboard-orders li a:hover {
    box-shadow: var(--shadow);
  }
}

.celero-dashboard-orders__number {
  font-weight: 600;
  white-space: nowrap;
  min-width: 42px;
}

.celero-dashboard-orders__date {
  color: var(--muted);
}

.celero-dashboard-orders__status {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--bg);
  white-space: nowrap;
  min-width: 80px;
  text-align: center;
}

.celero-dashboard-orders__status--completed {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent-dark);
}

.celero-dashboard-orders__status--processing {
  background: rgba(52, 152, 219, 0.15);
  color: #2980b9;
}

.celero-dashboard-orders__status--on-hold {
  background: rgba(243, 156, 18, 0.15);
  color: #e67e22;
}

.celero-dashboard-orders__status--cancelled,
.celero-dashboard-orders__status--failed {
  background: rgba(192, 57, 43, 0.1);
  color: var(--danger);
}

.celero-dashboard-orders__status--pending {
  background: rgba(149, 165, 166, 0.15);
  color: #7f8c8d;
}

.celero-dashboard-orders__status--refunded {
  background: rgba(142, 68, 173, 0.12);
  color: #7d3c98;
}

/* Wishlist card */
.celero-dashboard-card--wishlist {
  display: flex;
  align-items: center;
  gap: 16px;
  transition: box-shadow 0.15s ease;
}

@media (hover: hover) {
  .celero-dashboard-card--wishlist:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
}

.celero-dashboard-card--wishlist > i {
  font-size: 28px;
  color: var(--accent);
  flex-shrink: 0;
}

.celero-dashboard-card--wishlist > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.celero-dashboard-card--wishlist strong {
  font-size: 15px;
  font-weight: 600;
}

.celero-dashboard-card--wishlist span {
  font-size: 13px;
  color: var(--muted);
}

/* Preferences card */
.celero-dashboard-card--preferences h3 {
  margin-bottom: 16px;
}

.celero-dashboard-card--preferences label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.celero-dashboard-card--preferences select {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 34px 10px 16px;
  max-width: 320px;
  width: 100%;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg%20width='10'%20height='6'%20viewBox='0%200%2010%206'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20d='M1%201l4%204%204-4'%20stroke='%23212c2f'%20stroke-width='1.5'%20fill='none'%20stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.celero-dashboard-card--preferences select:focus-visible {
  border-color: var(--accent-strong);
  outline: 0;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent);
}

.celero-dashboard-card--preferences form > :last-child {
  margin-bottom: 0;
}

.celero-dashboard-card--preferences .button {
  margin-top: 12px;
}

.celero-sort-lock label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
}

.celero-sort-lock input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent-strong);
  cursor: pointer;
}

.celero-sort-lock__hint {
  display: block;
  margin-top: 4px;
  margin-left: 24px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* Dashboard – mobile */
@media (max-width: 900px) {
  .celero-dashboard-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .celero-dashboard-card {
    padding: 12px;
  }

  .celero-dashboard-card--shop {
    grid-column: 1;
    flex-wrap: wrap;
  }

  .celero-dashboard-card__btn {
    width: 100%;
    text-align: center;
  }

}

/* Wishlist (My Account) */
.woocommerce-account .celero-wishlist {
  display: grid;
  gap: 18px;
}

.woocommerce-account .celero-wishlist__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* Wishlist ghost buttons override */
.woocommerce-account .celero-wishlist__actions .button--ghost,
.woocommerce-account .celero-wishlist__item-actions .button--ghost {
  background: var(--bg-alt);
  color: var(--text);
}

@media (hover: hover) {
  .woocommerce-account .celero-wishlist__actions .button--ghost:hover,
  .woocommerce-account .celero-wishlist__item-actions .button--ghost:hover {
    background: color-mix(in srgb, var(--bg-alt) 70%, var(--muted));
    color: var(--text);
  }
}

.woocommerce-account .celero-wishlist__empty,
.woocommerce-account .celero-wishlist__item {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.woocommerce-account .celero-wishlist__empty {
  padding: 24px;
  display: grid;
  gap: 12px;
  justify-items: start;
}

.woocommerce-account .celero-wishlist__list {
  display: grid;
  gap: 12px;
}

.woocommerce-account .celero-wishlist__item {
  padding: 16px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.woocommerce-account .celero-wishlist__thumb {
  display: block;
  width: 88px;
  height: 88px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
}

.woocommerce-account .celero-wishlist__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.woocommerce-account .celero-wishlist__meta {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.woocommerce-account .celero-wishlist__title {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
}

@media (hover: hover) {
  .woocommerce-account .celero-wishlist__title:hover {
    color: var(--accent-strong);
  }
}

.woocommerce-account .celero-wishlist__price {
  font-size: 15px;
}

.woocommerce-account .celero-wishlist__stock {
  font-size: 13px;
}

.woocommerce-account .celero-wishlist__stock.is-in-stock {
  color: #3e7d3e;
}

.woocommerce-account .celero-wishlist__stock.is-out-of-stock {
  color: var(--danger);
}

.woocommerce-account .celero-wishlist__item-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

@media (max-width: 900px) {
  .woocommerce-account .celero-wishlist__item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .woocommerce-account .celero-wishlist__thumb {
    width: 72px;
    height: 72px;
  }

  .woocommerce-account .celero-wishlist__item-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .woocommerce-account .celero-wishlist__empty {
    padding: 12px;
  }
}

/* ── Address autocomplete dropdown ── */
.celero-autocomplete-wrapper {
  position: relative;
  width: 100%;
}

.celero-autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 calc(var(--radius) / 2) calc(var(--radius) / 2);
  max-height: 280px;
  overflow-y: auto;
  display: none;
  box-shadow: var(--shadow);
}

.celero-autocomplete-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.15s;
}

.celero-autocomplete-item:last-child {
  border-bottom: none;
}

.celero-autocomplete-item.celero-autocomplete-active {
  background-color: var(--bg);
}

@media (hover: hover) {
  .celero-autocomplete-item:hover {
    background-color: var(--bg);
  }
}

/* ── Scroll to Top ────────────────────────────────────── */
.scroll-to-top {
  --stt-bg: var(--accent);
  --stt-icon: #ffffff;
  --stt-radius: var(--radius);
  --stt-size: 48px;
  --stt-offset: 20px;
  --stt-offset-side: 20px;
  --stt-hover-bg: var(--accent-dark);
  --stt-hover-icon: var(--stt-icon);

  position: fixed;
  bottom: var(--stt-offset);
  z-index: 200;
  width: var(--stt-size);
  height: var(--stt-size);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stt-bg);
  color: var(--stt-icon);
  border: none;
  border-radius: var(--stt-radius);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease;
  box-shadow: var(--shadow);
  padding: 0;
  line-height: 1;
}

.scroll-to-top i {
  font-size: calc(var(--stt-size) * 0.45);
}

.scroll-to-top.stt-right {
  right: var(--stt-offset-side);
}

.scroll-to-top.stt-left {
  left: var(--stt-offset-side);
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (hover: hover) {
  .scroll-to-top:hover {
    background: var(--stt-hover-bg);
    color: var(--stt-hover-icon);
  }
}

.scroll-to-top:active {
  background: var(--stt-hover-bg);
  color: var(--stt-hover-icon);
}

/* ── 404 Error Page ───────────────────────────────────── */
.error-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px 0;
}

.error-404 > i {
  font-size: 80px;
  color: var(--muted);
  margin-bottom: 8px;
}

.error-404 > h1 {
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
}

.error-404 > p {
  font-size: 16px;
  color: var(--muted);
  max-width: 480px;
  margin: 0 0 32px;
  line-height: 1.6;
}

.error-404__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.error-404-widgets {
  margin-top: 24px;
}

@media (max-width: 900px) {
  .error-404 {
    padding: 24px 12px 0;
  }

  .scroll-to-top {
    bottom: calc(76px + env(safe-area-inset-bottom) + var(--stt-offset));
  }
}

/* My Account – view title (shared across all sub-pages) */
.celero-account-view__title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 16px;
}

/* ========================================
   My Account – Orders List
   ======================================== */

.celero-orders-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto auto auto;
  row-gap: 8px;
}

.celero-orders-list li {
  display: contents;
}

.celero-orders-list li a {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  align-items: center;
  column-gap: 12px;
  padding: 12px 14px;
  background: var(--bg);
  border-radius: calc(var(--radius) - 4px);
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  transition: box-shadow 0.15s ease;
}

@media (hover: hover) {
  .celero-orders-list li a:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  }
}

.celero-orders-list__number {
  font-weight: 600;
  white-space: nowrap;
  min-width: 42px;
}

.celero-orders-list__date {
  color: var(--muted);
  white-space: nowrap;
}

.celero-orders-list__products {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 13px;
}

.celero-orders-list__status {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--bg);
  white-space: nowrap;
  min-width: 80px;
  text-align: center;
}

.celero-orders-list__status--completed {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent-dark);
}

.celero-orders-list__status--processing {
  background: rgba(52, 152, 219, 0.15);
  color: #2980b9;
}

.celero-orders-list__status--on-hold {
  background: rgba(243, 156, 18, 0.15);
  color: #e67e22;
}

.celero-orders-list__status--cancelled,
.celero-orders-list__status--failed {
  background: rgba(192, 57, 43, 0.1);
  color: var(--danger);
}

.celero-orders-list__status--pending {
  background: rgba(149, 165, 166, 0.15);
  color: #7f8c8d;
}

.celero-orders-list__status--refunded {
  background: rgba(142, 68, 173, 0.12);
  color: #7d3c98;
}

.celero-orders-list__total {
  font-weight: 600;
  white-space: nowrap;
  min-width: 72px;
  text-align: right;
}

.celero-orders-list__items {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  width: 52px;
  text-align: right;
}

.celero-orders-list__arrow {
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 900px) {
  .celero-orders-list {
    grid-template-columns: auto 1fr auto auto;
  }

  .celero-orders-list li a {
    column-gap: 8px;
    padding: 16px 12px;
    font-size: 13px;
  }

  .celero-orders-list__items,
  .celero-orders-list__arrow,
  .celero-orders-list__products {
    display: none;
  }

  .celero-orders-list__date {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .celero-orders-list__status {
    font-size: 11px;
    padding: 2px 8px;
  }
}

/* Orders pagination */
.woocommerce-MyAccount-content .woocommerce-pagination {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

/* ========================================
   My Account – View Order Page
   ======================================== */

/* Order status badge */
.woocommerce-MyAccount-content mark.order-status {
  font-size: 12px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--bg);
}

.woocommerce-MyAccount-content mark.order-status--completed {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent-dark);
}

.woocommerce-MyAccount-content mark.order-status--processing {
  background: rgba(52, 152, 219, 0.15);
  color: #2980b9;
}

.woocommerce-MyAccount-content mark.order-status--on-hold {
  background: rgba(243, 156, 18, 0.15);
  color: #e67e22;
}

.woocommerce-MyAccount-content mark.order-status--cancelled,
.woocommerce-MyAccount-content mark.order-status--failed {
  background: rgba(192, 57, 43, 0.1);
  color: var(--danger);
}

.woocommerce-MyAccount-content mark.order-status--pending {
  background: rgba(149, 165, 166, 0.15);
  color: #7f8c8d;
}

.woocommerce-MyAccount-content mark.order-status--refunded {
  background: rgba(142, 68, 173, 0.12);
  color: #7d3c98;
}

/* Order details section */
.woocommerce-MyAccount-content .woocommerce-order-details {
  margin: 0;
}

.woocommerce-MyAccount-content .woocommerce-order-details__title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 16px 0 16px;
}

/* Order details table */
.woocommerce-MyAccount-content table.woocommerce-table--order-details {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: calc(var(--radius) * 0.56) calc(var(--radius) * 0.56) 0 0;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tbody tr:first-child td:first-child {
  border-radius: calc(var(--radius) * 0.5) 0 0 0;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tbody tr:first-child td:last-child {
  border-radius: 0 calc(var(--radius) * 0.5) 0 0;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details thead {
  display: none;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tbody td {
  padding: 14px 8px;
  border: none;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tbody tr + tr td {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tbody .product-name {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tbody .product-name a {
  flex: 1;
  color: var(--text);
  text-decoration: underline;
}

@media (hover: hover) {
  .woocommerce-MyAccount-content .woocommerce-table--order-details tbody .product-name a:hover {
    color: var(--accent-strong);
  }
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tbody .product-name .product-price-qty {
  white-space: nowrap;
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tbody .product-name .product-quantity {
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tbody .product-total {
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
  font-weight: 500;
  width: 1%;
  padding-left: 4px;
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tbody .product-name {
  padding-right: 4px;
}

.woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot {
  display: table-caption;
  caption-side: bottom;
  border: 1px solid var(--border);
  border-radius: 0 0 calc(var(--radius) * 0.56) calc(var(--radius) * 0.56);
  overflow: hidden;
}

.woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr {
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid var(--bg);
}

.woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot td,
.woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot th {
  padding: 14px 8px;
  border: none;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  background: var(--surface);
}

.woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot th {
  flex: 1;
}

.woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot td {
  white-space: nowrap;
}

.woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot td {
  text-align: right;
  color: var(--text);
  white-space: nowrap;
}

.woocommerce-MyAccount-content table.woocommerce-table--order-details tbody tr:last-child td {
  padding-bottom: 16px;
}

.woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr:first-child td,
.woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr:first-child th {
  padding-top: 20px;
}

.woocommerce-MyAccount-content table.woocommerce-table--order-details tfoot tr:last-child {
  border-bottom: none;
}

/* Actions row in order details tfoot */
.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot .order-actions--heading {
  font-weight: 500;
  color: var(--text);
}

.woocommerce-MyAccount-content .woocommerce-table--order-details tfoot .order-actions-button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--btn-radius);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.2s;
}

@media (hover: hover) {
  .woocommerce-MyAccount-content .woocommerce-table--order-details tfoot .order-actions-button:hover {
    background: var(--accent-dark);
  }
}

/* Customer details (addresses) */
.woocommerce-MyAccount-content .woocommerce-customer-details {
  margin: 0;
  padding-top: 24px;
  border-top: none;
}

.woocommerce-MyAccount-content .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.woocommerce-MyAccount-content .woocommerce-columns--addresses::before,
.woocommerce-MyAccount-content .woocommerce-columns--addresses::after {
  display: none;
}

.woocommerce-MyAccount-content .woocommerce-columns--addresses .woocommerce-column {
  background: none;
  border-radius: 0;
  padding: 0;
  float: none;
  width: auto;
}

.woocommerce-MyAccount-content .woocommerce-column__title {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.woocommerce-MyAccount-content .woocommerce-customer-details address {
  font-style: normal;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  border: none;
  padding: 0;
}

.woocommerce-MyAccount-content .woocommerce-customer-details--phone,
.woocommerce-MyAccount-content .woocommerce-customer-details--email {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Order notes */
.woocommerce-MyAccount-content .woocommerce-OrderUpdates {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.woocommerce-MyAccount-content .woocommerce-OrderUpdate {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.woocommerce-MyAccount-content .woocommerce-OrderUpdate:last-child {
  border-bottom: none;
}

.woocommerce-MyAccount-content .woocommerce-OrderUpdate-meta {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 4px;
}

.woocommerce-MyAccount-content .woocommerce-OrderUpdate-description p {
  font-size: 14px;
  margin: 0;
}

@media (max-width: 900px) {
  .woocommerce-MyAccount-content .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Order Thank You Page
   ======================================== */

.celero-thankyou {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* Success banner */
.celero-thankyou__banner {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 32px;
  text-align: center;
  margin-bottom: 24px;
}

.celero-thankyou__banner > i {
  font-size: 52px;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
}

.celero-thankyou__banner h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.celero-thankyou__banner > p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 16px;
}

.celero-thankyou__banner > a.celero-thankyou__btn {
  margin: 32px 0 0;
}

.celero-thankyou__banner-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.celero-thankyou__banner-info i {
  font-size: 16px;
  vertical-align: -2px;
  margin-right: 4px;
  color: var(--accent);
}

.celero-thankyou__banner-info a {
  color: var(--accent-strong);
  font-weight: 500;
  text-decoration: underline;
}

@media (hover: hover) {
  .celero-thankyou__banner-info a:hover {
    text-decoration: underline;
  }
}

/* Error banner variant */
.celero-thankyou__banner--error > i {
  color: var(--danger);
}

.celero-thankyou__banner-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}

/* Order details card */
.celero-thankyou__card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 24px;
}

/* Order summary strip */
.celero-thankyou__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.celero-thankyou__summary-item {
  flex: 0 0 auto;
  padding: 0 20px;
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.celero-thankyou__summary-item--email {
  flex: 1 1 0;
  min-width: 0;
}

.celero-thankyou__summary-item:first-child {
  padding-left: 0;
}

.celero-thankyou__summary-item:last-child {
  border-right: none;
  padding-right: 0;
}

.celero-thankyou__summary-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.celero-thankyou__summary-item strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* Payment method notice inside card */
.celero-thankyou__card > .woocommerce-info,
.celero-thankyou__card > p:not(:empty) {
  font-size: 13px;
  color: var(--muted);
  background: var(--bg);
  border: none;
  border-left: none;
  border-radius: calc(var(--radius) * 0.56);
  padding: 12px 16px;
  margin: 0 0 24px;
  box-shadow: none;
}

.celero-thankyou__card > .woocommerce-info::before {
  display: none;
}

/* Order details section within the card */
.celero-thankyou__card .woocommerce-order-details {
  margin: 0;
}

.celero-thankyou__card .woocommerce-order-details__title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 16px;
}

/* Order details table — modern clean style */
.celero-thankyou__card table.woocommerce-table--order-details {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: calc(var(--radius) * 0.56) calc(var(--radius) * 0.56) 0 0;
}

.celero-thankyou__card .woocommerce-table--order-details tbody tr:first-child td:first-child {
  border-radius: calc(var(--radius) * 0.5) 0 0 0;
}

.celero-thankyou__card .woocommerce-table--order-details tbody tr:first-child td:last-child {
  border-radius: 0 calc(var(--radius) * 0.5) 0 0;
}

.celero-thankyou__card .woocommerce-table--order-details thead {
  display: none;
}

.celero-thankyou__card .woocommerce-table--order-details tbody td {
  padding: 14px 8px;
  border: none;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
}

.celero-thankyou__card .woocommerce-table--order-details tbody tr + tr td {
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.celero-thankyou__card .woocommerce-table--order-details tbody .product-name {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.celero-thankyou__card .woocommerce-table--order-details tbody .product-name a {
  flex: 1;
  color: var(--text);
  text-decoration: underline;
}

@media (hover: hover) {
  .celero-thankyou__card .woocommerce-table--order-details tbody .product-name a:hover {
    color: var(--accent-strong);
  }
}

.celero-thankyou__card .woocommerce-table--order-details tbody .product-name .product-price-qty {
  white-space: nowrap;
  color: var(--muted);
  font-weight: 400;
  font-size: 13px;
}

.celero-thankyou__card .woocommerce-table--order-details tbody .product-name .product-quantity {
  color: var(--muted);
  font-weight: 400;
  white-space: nowrap;
}

.celero-thankyou__card .woocommerce-table--order-details tbody .product-total {
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
  font-weight: 500;
  width: 1%;
  padding-left: 4px;
}

.celero-thankyou__card .woocommerce-table--order-details tbody .product-name {
  padding-right: 4px;
}

.celero-thankyou__card table.woocommerce-table--order-details tfoot {
  display: table-caption;
  caption-side: bottom;
  border: 1px solid var(--border);
  border-radius: 0 0 calc(var(--radius) * 0.56) calc(var(--radius) * 0.56);
  overflow: hidden;
}

.celero-thankyou__card table.woocommerce-table--order-details tfoot tr {
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid var(--bg);
}

.celero-thankyou__card table.woocommerce-table--order-details tfoot td,
.celero-thankyou__card table.woocommerce-table--order-details tfoot th {
  padding: 14px 8px;
  border: none;
  font-size: 14px;
  color: var(--text);
  font-weight: 600;
  background: var(--surface);
}

.celero-thankyou__card table.woocommerce-table--order-details tfoot th {
  flex: 1;
}

.celero-thankyou__card table.woocommerce-table--order-details tfoot td {
  white-space: nowrap;
}

.celero-thankyou__card table.woocommerce-table--order-details tfoot td {
  text-align: right;
  color: var(--text);
  white-space: nowrap;
}

.celero-thankyou__card table.woocommerce-table--order-details tbody tr:last-child td {
  padding-bottom: 16px;
}

.celero-thankyou__card table.woocommerce-table--order-details tfoot tr:first-child td,
.celero-thankyou__card table.woocommerce-table--order-details tfoot tr:first-child th {
  padding-top: 20px;
}

.celero-thankyou__card table.woocommerce-table--order-details tfoot tr:last-child {
  border-bottom: none;
}

/* Customer details (addresses) within the card */
.celero-thankyou__card .woocommerce-customer-details {
  margin: 0;
  padding-top: 24px;
  border-top: none;
}

.celero-thankyou__card .woocommerce-columns--addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.celero-thankyou__card .woocommerce-columns--addresses::before,
.celero-thankyou__card .woocommerce-columns--addresses::after {
  display: none;
}

.celero-thankyou__card .woocommerce-columns--addresses .woocommerce-column {
  background: none;
  border-radius: 0;
  padding: 0;
  float: none;
  width: auto;
}

.celero-thankyou__card .woocommerce-column__title {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
}

.celero-thankyou__card .woocommerce-customer-details address {
  font-style: normal;
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  border: none;
  padding: 0;
}

.celero-thankyou__card .woocommerce-customer-details--phone,
.celero-thankyou__card .woocommerce-customer-details--email {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* Continue shopping CTA */
.celero-thankyou__cta {
  text-align: center;
}

.celero-thankyou__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-strong);
  color: #fff;
  border: none;
  border-radius: var(--btn-radius);
  padding: 14px 32px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

@media (hover: hover) {
  .celero-thankyou__btn:hover {
    background: var(--accent-dark);
    color: #fff;
  }
}

.celero-thankyou__btn:active {
  background: var(--accent-dark);
  color: #fff;
}

.celero-thankyou__btn--outline {
  background: transparent;
  color: var(--accent-strong);
  border: 2px solid var(--accent-strong);
}

@media (hover: hover) {
  .celero-thankyou__btn--outline:hover {
    background: var(--accent-strong);
    color: #fff;
  }
}

.celero-thankyou__btn--outline:active {
  background: var(--accent-strong);
  color: #fff;
}

.celero-thankyou__btn i {
  font-size: 18px;
}

/* Thank you – account creation */
.celero-thankyou__account-cta {
  transition: all 0.3s ease;
}

.celero-thankyou__account-created {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  margin-top: 8px;
}

.celero-thankyou__account-created > i {
  font-size: 32px;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}

.celero-thankyou__account-created strong {
  font-size: 16px;
  display: block;
  margin-bottom: 4px;
}

.celero-thankyou__account-created p {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 16px;
}

.celero-thankyou__account-created .celero-thankyou__btn {
  margin: 0;
}

.celero-thankyou__account-created .celero-thankyou__btn i {
  color: inherit;
}

.celero-thankyou__account-form {
  margin-top: 12px;
}

.celero-thankyou__account-form label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
}

.celero-thankyou__account-form-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.celero-thankyou__account-form-row input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
}

.celero-thankyou__account-form-row input:focus {
  outline: none;
  border-color: var(--accent);
}

.celero-thankyou__account-form-row .celero-thankyou__btn {
  margin: 0;
  white-space: nowrap;
}

.celero-thankyou__account-error {
  font-size: 13px;
  color: var(--danger);
  margin: 8px 0 0;
}

.celero-thankyou__account-error a {
  color: var(--accent-strong);
  font-weight: 500;
}

/* Mobile responsive */
@media (max-width: 600px) {
  .celero-thankyou {
    padding: 0 0 40px;
  }

  .celero-thankyou__banner {
    padding: 28px 20px;
    margin-bottom: 12px;
  }

  .celero-thankyou__banner > i {
    font-size: 40px;
  }

  .celero-thankyou__banner h2 {
    font-size: 20px;
  }

  .celero-thankyou__card {
    padding: 20px 16px;
    margin-bottom: 12px;
  }

  .celero-thankyou__summary {
    flex-direction: column;
    gap: 12px;
  }

  .celero-thankyou__summary-item,
  .celero-thankyou__summary-item--email {
    flex: 0 0 auto;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 0 0 12px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .celero-thankyou__summary-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .celero-thankyou__card .woocommerce-columns--addresses {
    grid-template-columns: 1fr;
  }

  .celero-thankyou__account-form-row {
    flex-direction: column;
  }

  .celero-thankyou__account-created {
    padding: 20px 16px;
  }
}

/* ── Mini Cart Bottom Sheet ── */

.mini-cart-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, 0.4);
  z-index: 1100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mini-cart-overlay.is-open {
  display: block;
  opacity: 1;
}

.mini-cart-sheet {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  max-height: 70vh;
  min-height: 250px;
  background: var(--surface);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
  z-index: 1101;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  overflow: hidden;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.mini-cart-sheet.is-visible {
  display: flex;
}

.mini-cart-sheet.is-open {
  transform: translateY(0);
}

.mini-cart-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.mini-cart-handle {
  display: flex;
  justify-content: center;
  padding: 10px 0 2px;
  flex-shrink: 0;
}

.mini-cart-handle::after {
  content: '';
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.2);
}

.mini-cart-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--text, #111);
}

.mini-cart-total {
  margin-left: auto;
  font-weight: 700;
  font-size: 16px;
  color: var(--text, #111);
}

.mini-cart-items {
  overflow: hidden;
  position: relative;
}

.mini-cart-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 1;
  background: var(--surface);
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
}

.mini-cart-row img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: calc(var(--radius) / 2);
  background: var(--bg-alt);
}

.mini-cart-row-info {
  min-width: 0;
}

.mini-cart-row-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text, #111);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-cart-row-qty {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.mini-cart-row-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--text, #111);
  white-space: nowrap;
}

.mini-cart-overflow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-strong);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.mini-cart-overflow[aria-hidden] {
  border-bottom: none;
  min-height: 45px;
}

.mini-cart-overflow:active {
  background: rgba(0, 0, 0, 0.03);
}

.mini-cart-footer {
  padding: 12px 16px;
  flex-shrink: 0;
}

.mini-cart-checkout {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  border-radius: var(--btn-radius);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease;
}

.mini-cart-checkout:active {
  background: var(--accent-dark);
}


/* Swipe-to-delete backdrop for mini cart */
.mini-cart-swipe-backdrop {
  display: none;
  position: absolute;
  right: 0;
  width: 100%;
  background: var(--danger);
  color: #fff;
  font-size: 22px;
  align-items: center;
  justify-content: flex-end;
  padding-right: 24px;
  z-index: 0;
  cursor: pointer;
  transition: background 0.15s ease;
}

.mini-cart-swipe-backdrop.is-commit {
  background: color-mix(in srgb, var(--danger) 80%, black);
}

.mini-cart-row.celero-swipe-active {
  z-index: 1;
  user-select: none;
  -webkit-user-select: none;
}

/* Loading state */
.mini-cart-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  color: var(--muted);
  font-size: 14px;
}

/* Hide mini cart on desktop */
@media (min-width: 901px) {
  .mini-cart-overlay,
  .mini-cart-sheet {
    display: none !important;
  }
}

/* ── Language Switcher ── */
.celero-lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.celero-lang-current {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: none;
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  color: var(--text);
}

.celero-lang-caret {
  font-size: 12px;
  transition: transform 0.2s ease;
}

.celero-lang-switcher[data-open] .celero-lang-caret {
  transform: rotate(180deg);
}

.celero-lang-flag {
  display: inline-block;
  width: 20px;
  height: 14px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.celero-lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 100;
  min-width: max-content;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: var(--bg, #fff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.celero-lang-switcher[data-open] .celero-lang-dropdown {
  display: block;
}

.celero-lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  transition: background 0.15s ease;
}

.celero-lang-option:hover {
  background: var(--bg-alt, #f5f5f5);
}

/* Flag backgrounds using emoji fallback (SVGs added in Task 13) */
.celero-flag-ee { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Crect width='900' height='200' fill='%230072CE'/%3E%3Crect y='200' width='900' height='200' fill='%23000'/%3E%3Crect y='400' width='900' height='200' fill='%23fff'/%3E%3C/svg%3E"); }
.celero-flag-gb { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='s'%3E%3Cpath d='M0 0v30h60V0z'/%3E%3C/clipPath%3E%3CclipPath id='t'%3E%3Cpath d='M30 15h30v15zv15H0zH0V0zV0h30z'/%3E%3C/clipPath%3E%3Cg clip-path='url(%23s)'%3E%3Cpath d='M0 0v30h60V0z' fill='%23012169'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0 0l60 30m0-30L0 30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30 0v30M0 15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/g%3E%3C/svg%3E"); }
.celero-flag-us { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 190 100'%3E%3Crect fill='%23bf0a30' width='190' height='100'/%3E%3Cg fill='%23fff'%3E%3Crect y='7.69' width='190' height='7.69'/%3E%3Crect y='23.08' width='190' height='7.69'/%3E%3Crect y='38.46' width='190' height='7.69'/%3E%3Crect y='53.85' width='190' height='7.69'/%3E%3Crect y='69.23' width='190' height='7.69'/%3E%3Crect y='84.62' width='190' height='7.69'/%3E%3C/g%3E%3Crect fill='%233c3b6e' width='76' height='53.85'/%3E%3C/svg%3E"); }
.celero-flag-ru { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 600'%3E%3Crect width='900' height='200' fill='%23fff'/%3E%3Crect y='200' width='900' height='200' fill='%230039A6'/%3E%3Crect y='400' width='900' height='200' fill='%23D52B1E'/%3E%3C/svg%3E"); }
.celero-flag-fi { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1800 1100'%3E%3Crect width='1800' height='1100' fill='%23fff'/%3E%3Crect y='400' width='1800' height='300' fill='%23003580'/%3E%3Crect x='500' width='300' height='1100' fill='%23003580'/%3E%3C/svg%3E"); }
.celero-flag-de { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3'%3E%3Crect width='5' height='1'/%3E%3Crect y='1' width='5' height='1' fill='%23D00'/%3E%3Crect y='2' width='5' height='1' fill='%23FFCE00'/%3E%3C/svg%3E"); }
.celero-flag-se { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Crect width='16' height='10' fill='%23006AA7'/%3E%3Crect x='5' width='2' height='10' fill='%23FECC00'/%3E%3Crect y='4' width='16' height='2' fill='%23FECC00'/%3E%3C/svg%3E"); }

@media (max-width: 900px) {
  .celero-lang-switcher {
    order: -1;
  }
  .celero-lang-label {
    display: none;
  }
  .celero-lang-caret {
    display: none;
  }
  .celero-lang-current {
    padding: 4px;
    border: none;
  }
  .celero-lang-dropdown {
    right: auto;
    left: 0;
  }
}
