/*
Theme Name: Albin Child
Template: albin
Version: 1.0.0
*/

/* ── Breadcrumb ── */
.breadcrumb-separator {
  color: #72736E !important;
}

/* ── Breadcrumb ── */
body.product-template-default .storefront-breadcrumb {
  padding: 32px 0 0 0 !important;
}

.storefront-breadcrumb .col-full {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}

@media (min-width: 992px) {
  body.single-product.product-template-default .site-content .content-area {
    margin-top: 32px !important;
    margin-bottom: 0;
  }
}

/* ── Constrain content width on large screens ── */
@media (min-width: 1200px) {
  body .col-full {
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 4rem !important;
    padding-right: 4rem !important;
    box-sizing: border-box;
  }
}

/* ── Hide prev/next product navigation on PDP ── */
.product-template-default .next[rel="next"],
.product-template-default .prev[rel="prev"],
.product-template-default div.next,
.product-template-default div.prev {
  display: none !important;
}

/* ── Figtree as base font on PDP, Cart and Checkout ── */
body.single-product,
body.woocommerce-cart,
body.woocommerce-checkout {
  font-family: 'Figtree', sans-serif !important;
}

body.single-product *,
body.woocommerce-cart *,
body.woocommerce-checkout * {
  font-family: inherit;
}

/* ── Figtree in header and footer across all pages ── */
.site-header,
.site-header *,
.site-footer,
.site-footer * {
  font-family: 'Figtree', sans-serif !important;
}

.site-header .header-top .left .item {
  opacity: 1 !important;
  font-size: 1.3rem !important;
  color: #fff !important;
  margin-right: 24px !important;
}
.site-header .header-top .left .item .icon {
  display: inline-flex !important;
  margin-right: 6px !important;
  margin-bottom: 5px !important;
}

/* Custom footer — layout aligned with Parketa Sala footer reference */
.discount-form {
  display: none !important;
}

.custom-footer {
  background: #fff;
  margin-top: 0;
  padding: 80px 0;
  border-top: 1px solid #D8D8D7;
  border-bottom: 0;
  box-shadow: none;
}

.custom-footer__inner {
  padding-top: 9rem;
  padding-bottom: 9rem;
}

.custom-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.55fr) minmax(0, 0.82fr);
  column-gap: clamp(2.4rem, 5.2vw, 5.6rem);
  row-gap: 0;
  align-items: start;
}

.custom-footer-brand {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-width: 0;
}

.custom-footer-heading--col2 {
  grid-column: 2;
  grid-row: 1;
}

.custom-footer-heading--col3 {
  grid-column: 3;
  grid-row: 1;
}

.custom-footer-body--col2 {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  padding: 0;
}

.custom-footer-body--col3 {
  grid-column: 3;
  grid-row: 2;
  margin: 0;
  padding: 0;
}

.custom-footer-heading {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 19.6px !important;
  color: #0A0D04 !important;
  padding-bottom: 16px !important;
  margin-bottom: 20px !important;
}

/* Separate underlines per column (gap between Produkti / Noderīgi) */
.custom-footer-heading.custom-footer-heading--col2,
.custom-footer-heading.custom-footer-heading--col3 {
  padding-bottom: 0.75rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid #e0e0e0;
}

.custom-footer-logo {
  display: inline-block;
  line-height: 0;
}

.custom-footer-logo img {
  max-width: 170px;
  width: 100%;
  height: auto;
  display: block;
}

.custom-footer-contacts {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  margin: 24px 0 !important;
  font-style: normal !important;
}

.custom-footer-contacts a {
  color: #555650 !important;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 19.6px !important;
  text-decoration-line: underline !important;
  text-decoration-style: solid !important;
  text-decoration-skip-ink: auto !important;
  text-decoration-thickness: auto !important;
  text-underline-offset: auto !important;
  text-underline-position: from-font !important;
  transition: all 0.5s ease;
}

.custom-footer-contacts a:hover,
.custom-footer-contacts a:focus-visible {
  color: #F5821F !important;
}

.custom-footer-contacts span {
  color: #666666;
  font-size: 1.5rem;
  line-height: 1.45;
  font-weight: 400;
}

.custom-footer-contacts a.custom-footer-contact-address,
.custom-footer-contacts a.custom-footer-contact-address:hover,
.custom-footer-contacts a.custom-footer-contact-address:focus-visible {
  text-decoration: none !important;
  color: #666666;
}

.custom-footer-menu,
.custom-footer-split-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.custom-footer-menu a,
.custom-footer-split-menu a {
  color: #0a0d04;
  font-size: 16px;
  line-height: 22.4px;
  font-weight: 400;
  text-decoration: none;
  font-family: 'Onest', sans-serif;
  transition: all 0.5s ease;
}

.custom-footer-menu a:hover,
.custom-footer-menu a:focus-visible,
.custom-footer-split-menu a:hover,
.custom-footer-split-menu a:focus-visible {
  color: #e37207;
}

.custom-footer-menu a:focus-visible,
.custom-footer-split-menu a:focus-visible,
.custom-footer-contacts a:focus-visible,
.custom-footer-socials__link:focus-visible {
  outline: 2px solid #e37207;
  outline-offset: 2px;
}

.custom-footer-menu li,
.custom-footer-split-menu li {
  margin-bottom: 16px;
}

.custom-footer-menu li:last-child,
.custom-footer-split-menu li:last-child {
  margin-bottom: 0;
}

.custom-footer-split-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem 3.6rem;
}

/* Social row uses uploaded icon artwork directly (no extra ring/padding styling) */
.custom-footer-socials-nav {
  margin-top: 2.65rem;
}

.custom-footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-footer-socials__item {
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}

.custom-footer-socials__link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.custom-footer-socials__icon {
  display: inline-block;
  line-height: 0;
}

.custom-footer-socials__link img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  max-width: none;
  filter: none;
  opacity: 1;
}

.custom-footer-socials__link:hover img {
  opacity: 0.88;
}

.custom-footer-bottom {
  background: #fff !important;
  padding-bottom: 40px !important;
  padding-top: 0 !important;
}

.custom-footer-bottom__inner {
  padding-top: 0;
  padding-bottom: 0;
}

.custom-footer-bottom__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  border-top: 1px solid #e6e6e6;
  padding-top: 40px !important;
}

.custom-footer-bottom__copyright,
.custom-footer-bottom__developer {
  color: #666;
  font-size: 1.4rem;
  line-height: 1.45;
}

.custom-footer-bottom__copyright {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-self: start;
  color: #555650;
  font-family: 'Onest', sans-serif;
  font-size: 14px !important;
  font-style: normal;
  font-weight: 400 !important;
  line-height: 19.6px !important;
}

.custom-footer-bottom__year {
  font-size: 1.4rem;
  line-height: 1.45;
}

.custom-footer-bottom__text,
.custom-footer-bottom__text p {
  display: inline;
  margin: 0;
  padding: 0;
  font-size: 1.4rem;
  line-height: 1.45;
}

.custom-footer-bottom__menu {
  justify-self: center;
}

.custom-footer-bottom__menu ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.9rem 2.2rem;
  margin: 0;
  padding: 0;
}

.custom-footer-bottom__menu li {
  margin: 0;
}

.custom-footer-bottom__menu a {
  color: #555650;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  transition: all 0.5s ease;
}

.custom-footer-bottom__menu a:hover,
.custom-footer-bottom__menu a:focus-visible {
  color: #F5821F;
}

.custom-footer-bottom__developer {
  justify-self: end;
  text-align: right;
}

.custom-footer-bottom__developer p {
  margin: 0;
  color: #555650;
  text-align: right;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
}

.custom-footer-bottom__copyright a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.custom-footer-bottom__developer a {
  color: #555650;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 19.6px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  transition: all 0.5s ease;
}
.custom-footer-bottom__developer a:hover,
.custom-footer-bottom__developer a:focus-visible {
  color: #F5821F;
}

/* Keep all bottom-row content at one visual text size (including WYSIWYG HTML). */
.custom-footer-bottom__copyright,
.custom-footer-bottom__copyright *,
.custom-footer-bottom__menu,
.custom-footer-bottom__menu *,
.custom-footer-bottom__developer,
.custom-footer-bottom__developer * {
  font-size: 1.4rem;
  line-height: 1.45;
  font-weight: 400;
}

@media (max-width: 991px) {
  .custom-footer {
    padding: 5rem 3rem 2rem;
  }

  .custom-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto auto auto;
    row-gap: 0;
  }

  .custom-footer-brand {
    grid-column: 1;
    grid-row: auto;
    justify-self: center;
    text-align: center;
  }

  .custom-footer-heading.custom-footer-heading--col2 {
    grid-column: 1;
    grid-row: 2;
    margin-top: 2.6rem !important;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1.05rem;
  }

  .custom-footer-heading.custom-footer-heading--col3 {
    grid-column: 1;
    grid-row: 4;
    margin-top: 2.6rem !important;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1.05rem;
  }

  .custom-footer-body--col2 {
    grid-column: 1;
    grid-row: 3;
  }

  .custom-footer-body--col3 {
    grid-column: 1;
    grid-row: 5;
  }

  .custom-footer-split-menu {
    grid-template-columns: 1fr 1fr;
    gap: 2.8rem 3.6rem;
  }

  .custom-footer__inner {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .custom-footer-contacts {
    align-items: center;
  }

  .custom-footer-socials {
    justify-content: center;
  }

  footer > .discount-form {
    padding-top: 6rem;
    padding-bottom: 7.5rem;
  }

  .custom-footer-bottom__inner {
    padding-top: 0;
    padding-bottom: 0;
  }

  .custom-footer-bottom__row {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 1.2rem;
    padding-top: 2.2rem;
  }

  .custom-footer-bottom__copyright,
  .custom-footer-bottom__menu,
  .custom-footer-bottom__developer {
    justify-self: center;
    text-align: center;
  }
}

@media (max-width: 559px) {
  .custom-footer-split-menu {
    grid-template-columns: 1fr 1fr;
    gap: 0 1.8rem;
  }

  .custom-footer-menu li,
  .custom-footer-split-menu li {
    margin-bottom: 0.35rem;
  }

  .custom-footer__inner {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  footer > .discount-form {
    padding-top: 5rem;
    padding-bottom: 6.5rem;
  }
}

@media (max-width: 379px) {
  .custom-footer-split-menu {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.site-header .header-top .left .item .label {
  color: #FFFFFF;
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
}
.site-header .header-top .left .item .label * {
  color: #fff;
  font-size: inherit;
  line-height: 1.2;
}

.site-header .header-top .left .item .label p {
  opacity: 1;
}

.site-header .header-top .left .extra-contact-item .label,
.site-header .header-top .left .extra-contact-item .label * {
  color: #fff !important;
}

.site-header .header-top .left .item .label a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-header .header-top .right .item {
  font-size: 1.3rem;
}

.site-header .header-top .right .work-time .work-time-label {
  color: rgba(255, 255, 255, 0.7) !important;
  margin-right: 0px !important;
  font-size: 14px !important;
  line-height: 14px !important;
}

.site-header .header-top .right .work-time .work-time-value {
  color: #E3E3E3 !important;
  font-size: 14px !important;
  line-height: 14px !important;
}

.site-header .header-top .right .language-switcher {
  margin-left: 24px !important;
}
.site-header .header-top .right .language-switcher .language_switcher {
  top: 0;
  padding: 0;
  position: relative;
}

.site-header .header-top .right .language-switcher .language_switcher .language_code:before {
  display: none;
}

.site-header .language_switcher .language_code:before {
  display: none !important;
}

.site-header .header-top .right .language-switcher .language_switcher .language_code {
  display: flex;
  align-items: center;
}

.site-header .header-top .right .language-switcher .language_switcher .language_flag {
  width: 18px !important;
  height: 12px !important;
  object-fit: cover !important;
  margin-right: 0 !important;
}

.site-header .header-top .right .language-switcher .language_switcher .language_text {
  color: #E3E3E3 !important;
  font-size: 14px !important;
  line-height: 14px !important;
  text-transform: none !important;
  margin-left: 8px !important;
  font-weight: 400 !important;
}

.site-header .header-top .right .language-switcher .language_switcher .language_chevron {
  color: #fff;
  margin-left: 0.6rem;
  font-size: 1.2rem;
}
.site-header .header-top .language_chevron svg {
  width: 10px !important;
  height: auto !important;
  fill: #E3E3E3 !important;
  margin-bottom: 1px !important;
  margin-left: 2px !important;
}

.site-header .header-top .right .language-switcher .language_switcher .sub_languages {
  display: none;
  z-index: 30;
  position: absolute;
  top: 100%;
  right: 0;
  width: auto;
  min-width: 74px;
  background: #000;
  border: 1px solid #333;
  border-radius: 3px;
}

.site-header .header-top .right .language-switcher .language_switcher:hover .sub_languages,
.site-header .header-top .right .language-switcher .language_switcher:focus-within .sub_languages,
.site-header .header-top .right .language-switcher .language_switcher .sub_languages:hover {
  display: block;
}

.site-header .header-top .right .language-switcher .language_switcher .sub_languages:before {
  display: none;
}

.site-header .header-top .right .language-switcher .language_switcher .sub_languages a {
  display: flex;
  align-items: center;
  color: #fff;
  padding: 0.5rem 0.7rem;
  white-space: nowrap;
}


.site-header .header-bottom .header-bottom-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 2rem;
}

@media (min-width: 1200px) {
  .site-header,
  .site-header.not-home,
  .site-header.scrolled {
    background-color: #fff !important;
    box-shadow: none;
    margin-top: 0 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }
}

/* Prevent sticky/fixed header behavior from parent scripts/styles */
.site-header.scrolled,
.home .site-header.scrolled,
.site-header.not-home,
.site-header {
  position: relative !important;
  top: auto !important;
  box-shadow: none !important;
}

.site-header .header-bottom {
  background: #fff !important;
  border-top: none;
  border-bottom: none;
  padding: 16px 0 !important;
}

.site-header .header-bottom .header-bottom-left {
  justify-self: start;
}

.site-header .header-bottom .header-bottom-middle {
  justify-self: center;
}

.site-header .header-bottom .header-bottom-right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.site-header .header-bottom .header-search-form form {
  margin: 0;
}

/* Middle bar: pill search + icon inside (reference design) */
.site-header .header-bottom .header-search-form {
  position: relative;
}

.site-header .header-bottom .header-search-form .woocommerce-product-search {
  position: relative;
  display: block;
  margin: 0;
}

.site-header .header-bottom .header-search-form .exit-icon {
  display: none !important;
}

.site-header .header-bottom .header-search-form input.search-field[type="search"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 260px;
  max-width: 320px;
  box-sizing: border-box;
  margin: 0;
  padding: 0.75rem 3rem 0.75rem 1.35rem;
  font-size: 1.4rem;
  line-height: 1.3;
  color: #555650 !important;
  background: #fff;
  border: 1px solid #72736E !important;
  border-radius: 999px;
  box-shadow: none;
}

.site-header .header-bottom .header-search-form input.search-field[type="search"]::placeholder {
  color: #555650 !important;
  font-size: 16px !important;
  line-height: 16px !important;
  font-weight: 400 !important;
  opacity: 1;
}

.site-header .header-bottom .header-search-form input.search-field[type="search"]:focus {
  outline: none;
  border-color: #72736e;
}

/* Parent hides .search-icon in header-bottom on desktop — show it inside the inline form */
@media (min-width: 1200px) {
  .site-header .header-bottom .header-search-form input.search-field[type="search"] {
    padding: 12px 20px !important;
    height: 40px !important;
    width: 288px !important;
    min-width: unset;
    max-width: unset;
  }
  .site-header .header-bottom .header-search-form button.search-submit {
    display: block !important;
    position: absolute;
    right: 17px !important;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
    padding: 0;
    width: 18px;
    height: 18px;
    border: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 17'%3E%3Cpath d='M16.457 15.484l-4.046-4.208a6.841 6.841 0 001.61-4.412A6.872 6.872 0 007.157 0 6.872 6.872 0 00.294 6.864a6.872 6.872 0 006.863 6.863 6.79 6.79 0 003.933-1.242l4.076 4.24c.17.177.4.275.646.275a.896.896 0 00.645-1.516zm-9.3-13.693a5.079 5.079 0 015.074 5.073 5.079 5.079 0 01-5.074 5.073 5.079 5.079 0 01-5.073-5.073A5.079 5.079 0 017.157 1.79z' fill='%2321231B'/%3E%3C/svg%3E");
  }
}

.site-header .header-bottom .secondary-navigation ul.menu {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .header-bottom .secondary-navigation ul.menu > li > a {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #0A0D04 !important;
  text-decoration: none !important;
  letter-spacing: 0.01em !important;
  line-height: 16px !important;
  transition: all 0.5s ease;
}

.site-header .header-bottom .secondary-navigation ul.menu > li > a:hover,
.site-header .header-bottom .secondary-navigation ul.menu > li > a:focus {
  color: #F58220 !important;
}

/* Text logo: orange caps like reference */
.site-header .header-bottom .header-bottom-middle .beta.site-title {
  margin: 0;
}

.site-header .header-bottom .header-bottom-middle .beta.site-title a {
  color: #e37207 !important;
  font-weight: 700;
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-header .header-bottom .header-bottom-middle .beta.site-title a:hover {
  color: #c96106 !important;
}

.site-header .header-bottom .custom-header-logo img {
  max-height: 48px;
  width: auto;
}

/* Cart: outline icon + orange badge (reference) */
.site-header .header-bottom .header-bottom-right .cart-contents-new {
  margin: 0 !important;
}

.site-header .header-bottom .header-bottom-right .cart-contents-new .cart-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 25 23' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%232d2d2d' fill-rule='nonzero'%3E%3Cpath d='M12.198 20.66c0-1.278-1.065-2.315-2.378-2.315-1.313 0-2.378 1.037-2.378 2.316s1.065 2.316 2.378 2.316c1.312-.002 2.376-1.038 2.378-2.316zm-3.913 0c0-.825.687-1.494 1.535-1.494.847 0 1.534.67 1.534 1.495 0 .825-.687 1.494-1.534 1.494s-1.534-.67-1.535-1.494zM18.625 22.977c1.313 0 2.377-1.037 2.377-2.316 0-1.28-1.064-2.316-2.377-2.316-1.313 0-2.378 1.037-2.378 2.316.002 1.278 1.065 2.314 2.378 2.316zm0-3.81c.847 0 1.534.668 1.534 1.494 0 .825-.687 1.494-1.534 1.494-.848 0-1.535-.669-1.535-1.494.001-.825.688-1.494 1.535-1.495zM.422.821h2.572c.846-.003 1.568.597 1.697 1.412l2.036 12.528c.192 1.215 1.268 2.11 2.53 2.105h12.586a.417.417 0 0 0 .422-.41.416.416 0 0 0-.422-.412H9.257c-.846.004-1.568-.597-1.697-1.412l-.346-2.13h12.89c1.092 0 2.063-.673 2.42-1.677l2.392-6.723a.402.402 0 0 0-.054-.373.426.426 0 0 0-.344-.173H5.76l-.236-1.451C5.332.89 4.256-.005 2.994 0H.422A.416.416 0 0 0 0 .41c0 .228.189.411.422.411zm23.504 3.557l-2.198 6.177a1.717 1.717 0 0 1-1.624 1.126H7.08L5.893 4.378h18.033z'/%3E%3C/g%3E%3C/svg%3E");
  width: 24px !important;
  height: 24px !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.site-header .header-bottom .header-bottom-right .cart-contents-new .cart_quantity {
  background: #e37207 !important;
  min-width: 22px !important;
  width: auto !important;
  height: 17px !important;
  font-weight: 600 !important;
  color: #0A0D04 !important;
  line-height: 12px !important;
  font-size: 12px !important;
  top: -7px !important;
  right: -9px !important;
  border-radius: 32px !important;
  padding: 5px 6px 4px !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

@media (min-width: 1200px) {
  .site-header .header-bottom .site-branding.header-bottom-middle {
    padding: 0.9rem 0 !important;
    float: none;
  }
}

.site-header .header-top {
  height: 52px !important;
  background-color: #0A0D04 !important;
}

@media (max-width: 1199px) {
  .site-header .header-top {
    display: block;
    height: auto;
    padding: 0.6rem 0;
  }

  .site-header .header-top .col-full {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.6rem;
    justify-content: space-between;
  }

  .site-header .header-top .left,
  .site-header .header-top .right {
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
  }

  .site-header .header-bottom {
    padding: 1.2rem 0;
  }

  .site-header .header-bottom .header-bottom-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 0;
    align-items: center;
  }

  .site-header .header-bottom .header-bottom-middle {
    position: static;
    transform: none;
  }

  .site-header .header-bottom .header-search-form input.search-field[type="search"] {
    min-width: 180px;
    max-width: 240px;
  }
}

@media (min-width: 1200px) {
  /* Keep desktop middle row clean: no mobile controls */
  .site-header .mobile-right {
    display: none !important;
  }

  /* Push left/right to edges and pin logo in true center */
  .site-header .header-bottom .header-bottom-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    width: 100%;
  }

  .site-header .header-bottom .header-bottom-left {
    flex: 1 1 0;
    display: flex;
    justify-content: flex-start;
    min-width: 0;
  }

  .site-header .header-bottom .header-bottom-right {
    flex: 1 1 0;
    display: flex;
    justify-content: flex-end;
    min-width: 0;
  }

  .site-header .header-bottom .header-bottom-middle {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    z-index: 2;
  }
}

/* Requested cart icon */
.site-header .header-bottom .header-bottom-right .cart-contents-new .cart-icon {
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='20' viewBox='0 0 16 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20V4H4C4 2.9 4.39167 1.95833 5.175 1.175C5.95833 0.391666 6.9 0 8 0C9.1 0 10.0417 0.391666 10.825 1.175C11.6083 1.95833 12 2.9 12 4H16V20H0ZM2 18H14V6H12V9H10V6H6V9H4V6H2V18ZM6 4H10C10 3.45 9.8 2.98333 9.4 2.6C9.01667 2.2 8.55 2 8 2C7.45 2 6.975 2.2 6.575 2.6C6.19167 2.98333 6 3.45 6 4Z' fill='%230A0D04'/%3E%3C/svg%3E");
}

/* Bottom header section: primary menu + CTA button */
.site-header .header-main-row {
  border-top: 1px solid #D8D8D7 !important;
  border-bottom: 1px solid #D8D8D7 !important;
  background: #fff !important;
}

.site-header .header-main-row .header-main-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  padding: 1.5rem 4rem !important;
}

.site-header .header-main-row .header-main-left {
  min-width: 0;
  flex: 1 1 auto;
}

.site-header .header-main-row .header-main-left .main-navigation {
  width: 100%;
  margin: 0;
  padding: 0;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin: 0;
  padding: 0 !important;
  padding-left: 0 !important;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li {
  padding: 0 !important;
  margin: 0 !important;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li:not(:last-child),
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li:not(:last-child) {
  margin-right: 24px !important;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li:last-child,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li:last-child {
  padding: 0 !important;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li > a,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li > a {
  color: #0a0d04 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  padding: 0 !important;
  line-height: 16px !important;
}

.site-header .main-navigation ul.sub-menu .menu-item a,
.site-header .main-navigation ul.sub-menu li.current-menu-item a {
  margin-bottom: 1rem !important;
  display: block !important;
  text-align: left !important;
  color: #0a0d04 !important;
  transition: 0.3s all !important;
  position: relative !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  padding: 0 !important;
  line-height: 16px !important;
}

.site-header .main-navigation ul.sub-menu .menu-item a:hover,
.site-header .main-navigation ul.sub-menu li.current-menu-item a:hover {
  color: #F58220 !important;
}

/* Fix primary-menu dropdown positioning in the new bottom row */
.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children {
  position: relative;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children > a:after,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children > a:after {
  position: static !important;
  transform: none !important;
  margin-left: 0.6rem;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children > a > svg,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children > a > svg,
.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children > a > .menu-percent-icon,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children > a > .menu-percent-icon {
  margin-left: 4px;
}
.sub-menu .menu-chevron-icon {
  margin-bottom: -3px;
  margin-left: 3px;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li > .sub-menu,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li > .sub-menu {
  top: calc(100% + 15px) !important;
  left: 0 !important;
  min-width: 0 !important;
  width: max-content;
  max-width: min(90vw, 760px);
  padding: 2.2rem 2.4rem;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover:after,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover:after {
  bottom: -15px;
  border-width: 0 8px 10px 8px;
}

/* Keep hover active while moving into submenu after adding offset */
.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children::before,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 16px;
}

/* Remove orange underline for dropdown items without child menus */
.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu > .menu-item:not(.menu-item-has-children) > a:after,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu > .menu-item:not(.menu-item-has-children) > a:after {
  display: none !important;
  content: none !important;
  border: 0 !important;
}

/* Cancel parent-enforced oversized dropdown columns */
.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu {
  min-width: 0 !important;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu > .menu-item,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu > .menu-item {
  min-width: 170px !important;
}

/* Keep mega-menu columns readable (prevents text collapsing into narrow stacks) */
.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu:not(.is-submenu),
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu:not(.is-submenu) {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu:not(.is-submenu) > .menu-item,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu:not(.is-submenu) > .menu-item {
  flex: 0 0 auto;
  min-width: 170px !important;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu > .menu-item > a,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu > .menu-item > a {
  white-space: normal;
  word-break: normal;
  overflow-wrap: normal;
}

/* Simple dropdown variant (no child columns): compact list like parent header */
.site-header .header-main-row .header-main-left .main-navigation ul.menu > li > .sub-menu.is-submenu,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li > .sub-menu.is-submenu {
  display: none;
  width: auto;
  min-width: 220px !important;
  max-width: 360px;
  padding: 1.8rem 2rem;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu.is-submenu,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu.is-submenu {
  display: block;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu.is-submenu > .menu-item,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu.is-submenu > .menu-item {
  min-width: 0 !important;
  margin: 0;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu.is-submenu .menu-item > a,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu.is-submenu .menu-item > a {
  font-weight: 400;
  margin: 0 0 1rem !important;
  pointer-events: all;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu.is-submenu .menu-item:last-child > a,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu.is-submenu .menu-item:last-child > a {
  margin-bottom: 0 !important;
}

/* Structure-based fallback:
   1) default all dropdowns to compact list
   2) switch to mega layout only when nested submenus exist */
.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu {
  display: block;
  width: auto;
  min-width: 220px !important;
  max-width: 360px;
  padding: 1.8rem 2rem;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu > .menu-item,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu > .menu-item {
  min-width: 0 !important;
  margin: 0;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu > .menu-item > a,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu > .menu-item > a {
  font-weight: 400;
  margin: 0 0 1rem !important;
  pointer-events: all;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu > .menu-item:last-child > a,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu > .menu-item:last-child > a {
  margin-bottom: 0 !important;
}

/* Mega mode only if second-level columns actually exist */
.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu:has(> .menu-item > .sub-menu),
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu:has(> .menu-item > .sub-menu) {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2rem;
  width: max-content;
  min-width: 0 !important;
  max-width: min(90vw, 760px);
  padding: 2.2rem 2.4rem;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu:has(> .menu-item > .sub-menu) > .menu-item,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu:has(> .menu-item > .sub-menu) > .menu-item {
  flex: 0 0 auto;
  min-width: 170px !important;
}

.site-header .header-main-row .header-main-left .main-navigation ul.menu > li.menu-item-has-children:hover > .sub-menu:has(> .menu-item > .sub-menu) > .menu-item > a,
.site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li.menu-item-has-children:hover > .sub-menu:has(> .menu-item > .sub-menu) > .menu-item > a {
  font-weight: 600;
  margin-bottom: 2.8rem !important;
  pointer-events: none;
}

.site-header .header-main-row .header-main-right {
  flex: 0 0 auto;
}

.site-header .header-main-row .header-main-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 45px !important;
  padding: 0 20px !important;
  border-radius: 8px !important;
  background: #0A0D04 !important;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  border: 1px solid #0A0D04 !important;
  transition: all 0.5s ease !important;
}

.site-header .header-main-row .header-main-button:hover,
.site-header .header-main-row .header-main-button:focus {
  color: #0A0D04 !important;
  background: #fff !important;
}

@media (max-width: 1199px) {
  .site-header .header-main-row {
    display: block;
  }

  .site-header .header-main-row .header-main-grid {
    padding: 1rem 2rem !important;
    gap: 1rem;
  }

  .site-header .header-main-row .header-main-left .main-navigation ul.menu > li:not(:last-child),
  .site-header .header-main-row .header-main-left .main-navigation ul.nav-menu > li:not(:last-child) {
    margin-right: 2rem !important;
  }
}

/* Keep custom header rows active below desktop breakpoint */
@media (max-width: 1199px) {
  .site-header {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
  }

  .site-header .mobile-right,
  .site-header .mobile-nav {
    display: none !important;
  }
}

/* Mobile: revert to parent-like default behavior, keep desktop intact */
@media (max-width: 1199px) {
  .site-header .header-top,
  .site-header .header-main-row {
    display: none !important;
  }

  .site-header .language_switcher {
    padding: 1rem 0.1rem 1rem 0.1rem;
  }

  /* Hide custom desktop-only sections in middle row on mobile */
  .site-header .header-bottom .header-bottom-left,
  .site-header .header-bottom .header-bottom-right {
    display: none !important;
  }

  .site-header .header-bottom {
    padding: 1.2rem 0;
  }

  .site-header .header-bottom .header-bottom-grid {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    position: relative;
  }

  .site-header .header-bottom .header-bottom-middle {
    position: static !important;
    transform: none !important;
    margin: 0;
    padding: 0 !important;
  }

  .site-header .header-bottom .custom-header-logo img {
    max-height: 42px;
  }

  .site-header .mobile-right {
    display: flex !important;
    align-items: center;
    gap: 1.2rem;
    position: absolute;
    right: 1.3rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
    z-index: 12;
  }

  .site-header .mobile-right .wishlist-icon {
    display: none;
  }

  .site-header .mobile-nav {
    display: block !important;
    z-index: 20;
    top: 0;
    height: 100dvh;
  }

  .site-header .mobile-nav.mobile-expanded {
    z-index: 9999 !important;
  }

  /* Clean mobile drawer top row (match reference look) */
  .site-header .mobile-nav {
    width: min(320px, 86vw);
    padding: 1.6rem 2rem;
  }

  .site-header .mobile-nav .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    margin-bottom: 0.8rem;
  }

  .site-header .mobile-nav .top .mobile-contact-phone,
  .site-header .mobile-nav .top .mobile-contact-email {
    display: none !important;
  }

  .site-header .mobile-nav .top .mobile-top-contact {
    background: none !important;
    width: auto;
    height: auto;
    color: #f58220 !important;
    font-size: 2rem;
    line-height: 1;
    text-transform: none;
    border: 0;
    padding: 0;
    margin-left: 0.2rem;
  }

  .site-header .mobile-nav .top .language-switcher {
    margin-left: auto;
  }

  .site-header .mobile-nav .top .language_switcher .language_text {
    color: #1c1c1c;
    font-size: 1.5rem;
    margin-left: 5px;
  }

  .site-header .mobile-nav .top .language_switcher .language_chevron {
    color: #1c1c1c;
  }

  .site-header .mobile-nav .top .language_switcher .sub_languages {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: auto;
    min-width: 74px;
    background: #000;
    border: 1px solid #333;
    border-radius: 3px;
    z-index: 30;
  }

  .site-header .mobile-nav .top .language_switcher .sub_languages:before {
    display: none;
  }

  .site-header .mobile-nav .top .language_switcher:hover .sub_languages,
  .site-header .mobile-nav .top .language_switcher:focus-within .sub_languages,
  .site-header .mobile-nav .top .language_switcher .sub_languages:hover {
    display: block;
  }

  .site-header .mobile-nav .top .language_switcher .sub_languages a {
    display: flex;
    align-items: center;
    color: #fff;
    padding: 0.5rem 0.7rem;
    white-space: nowrap;
  }

  .site-header .mobile-nav .top .language_switcher .sub_languages .language_text,
  .site-header .mobile-nav .top .language_switcher .sub_languages .language_chevron {
    color: #fff;
  }

  .site-header .mobile-nav .top .close-icon {
    margin-left: 0.8rem;
  }

  .site-header .mobile-nav .top .cart-contents-new {
    margin: 0;
  }

  .site-header .mobile-nav .top .cart-contents-new .cart-icon {
    width: 20px;
    height: 22px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 22px;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='20' viewBox='0 0 16 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20V4H4C4 2.9 4.39167 1.95833 5.175 1.175C5.95833 0.391666 6.9 0 8 0C9.1 0 10.0417 0.391666 10.825 1.175C11.6083 1.95833 12 2.9 12 4H16V20H0ZM2 18H14V6H12V9H10V6H6V9H4V6H2V18ZM6 4H10C10 3.45 9.8 2.98333 9.4 2.6C9.01667 2.2 8.55 2 8 2C7.45 2 6.975 2.2 6.575 2.6C6.19167 2.98333 6 3.45 6 4Z' fill='%230A0D04'/%3E%3C/svg%3E");
  }

  .site-header .mobile-nav .top .cart-contents-new .cart_quantity {
    background: #e37207 !important;
    color: #000;
    min-width: 17px;
    width: auto;
    height: 17px;
    font-size: 0.95rem;
    top: -7px;
    right: -9px;
    padding: 0 5px;
    white-space: nowrap;
  }

}

/* Override parent: remove extra top padding on shop/contact templates (≥1240px) */
@media (min-width: 1240px) {
  .tax-product_cat .site-content,
  .post-type-archive-product .site-content,
  .product-template-default .site-content,
  .woocommerce-cart .site-content,
  .woocommerce-checkout .site-content,
  .page-template-template-contact .site-content {
    padding-top: 0 !important;
  }
}

@media (min-width: 1240px) {
  body.woocommerce-cart.page-template-default .site-content {
    margin: 0 auto !important;
    padding-bottom: 96px !important;
  }
  body.woocommerce-checkout.page-template-default .site-content {
    padding-bottom: 96px !important;
  }
}

/* Checkout: parent `.page-template-default .site-content` uses 7rem top padding — remove on small viewports */
@media (max-width: 767px) {
  body.woocommerce-checkout .site-content {
    padding-top: 0 !important;
  }
}

/*
 * Checkout mobile overflow: the parent theme only sets overflow-x:hidden on
 * body. Any descendant wider than the viewport still expands <html>, so mobile
 * browsers allow horizontal panning — visible as a gap on the right.
 * Clip at the html root to prevent it.
 */
html:has(body.woocommerce-checkout) {
  overflow-x: clip;
}

body.woocommerce-checkout {
  overflow-x: clip;
  max-width: 100vw;
}

/* --------------------------------------------------------------------------
   Thank-you / order-received page
   -------------------------------------------------------------------------- */
body.woocommerce-order-received .storefront-breadcrumb,
body.woocommerce-order-received .woocommerce-breadcrumb {
  display: none !important;
}

.woocommerce-order-received .woocommerce-order {
  max-width: 800px;
  width: 100%;
  margin: 3rem auto;
  padding: 2rem;
  box-sizing: border-box;
}

.woocommerce-order-received .woocommerce-order .order-details-short {
  display: flex !important;
  flex-direction: column;
  padding: 2rem;
  border-radius: 7px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 0 4px 0 #dedede;
  margin-top: 2.5rem;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.woocommerce-order-received .woocommerce-order .order-details-short .order-block {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100% !important;
  margin: 0 !important;
  padding: 1rem 0;
  box-sizing: border-box;
  min-width: 0;
}

.woocommerce-order-received .woocommerce-order .order-details-short .order-block:not(:last-child) {
  border-bottom: 1px solid #eee;
}

.woocommerce-order-received .woocommerce-order .order-details-short .order-block:last-child {
  border-bottom: none;
}

.woocommerce-order-received .woocommerce-order .order-details-short .order-block .title {
  font-size: 1.4rem;
  font-weight: 400;
  color: #666;
}

.woocommerce-order-received .woocommerce-order .order-details-short .order-block .value {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1c1c1c;
  text-align: right;
}

.woocommerce-order-received .woocommerce-order h2.order-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.woocommerce-order-received .woocommerce-order .button-wrap {
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
  margin: 2.5rem 0 2rem;
}

.woocommerce-order-received .woocommerce-order .button-wrap .left-buttons,
.woocommerce-order-received .woocommerce-order .button-wrap .right-buttons {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  gap: 0.8rem;
}

.woocommerce-order-received .woocommerce-order .button-wrap .btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  box-sizing: border-box;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-size: 1.4rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid #e37207;
}

.woocommerce-order-received .woocommerce-order .button-wrap .btn.secondary-btn {
  background: #fff;
  color: #e37207 !important;
  border-color: #e37207;
}

.woocommerce-order-received .woocommerce-order .button-wrap .btn.secondary-btn:hover {
  background: #fdf3ea;
}

.woocommerce-order-received .woocommerce-order .button-wrap .btn.primary-btn {
  background: #e37207;
  color: #fff !important;
  border-color: #e37207;
}

.woocommerce-order-received .woocommerce-order .button-wrap .btn.primary-btn:hover {
  background: #c96106;
}

@media (max-width: 991px) {
  .woocommerce-order-received .woocommerce-order {
    padding: 1.5rem;
    margin: 1.5rem auto;
  }

  .woocommerce-order-received .woocommerce-order h2.order-title {
    font-size: 2.2rem;
  }

  .woocommerce-order-received .woocommerce-order .order-details-short {
    padding: 1rem 1.5rem;
    margin-top: 1.5rem;
  }

  .woocommerce-order-received .woocommerce-order .order-details-short .order-block {
    padding: 0.8rem 0;
    gap: 1rem;
  }

  .woocommerce-order-received .woocommerce-order .order-details-short .order-block .title {
    font-size: 1.5rem;
    flex-shrink: 0;
  }

  .woocommerce-order-received .woocommerce-order .order-details-short .order-block .value {
    font-size: 1.5rem;
    min-width: 0;
    flex-shrink: 1;
    word-break: break-word;
  }

  .woocommerce-order-received .woocommerce-order .button-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    margin: 1.5rem 0;
  }

  .woocommerce-order-received .woocommerce-order .button-wrap .left-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .woocommerce-order-received .woocommerce-order .button-wrap .left-buttons,
  .woocommerce-order-received .woocommerce-order .button-wrap .right-buttons {
    width: 100%;
  }

  .woocommerce-order-received .woocommerce-order .button-wrap .btn {
    width: 100%;
    box-sizing: border-box;
    font-size: 1.5rem;
    padding: 0.8rem 1.5rem;
  }
}

@media (min-width: 992px) {
  .woocommerce-order-received .woocommerce-order .order-details-short {
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 3rem 0;
  }

  .woocommerce-order-received .woocommerce-order .order-details-short .order-block {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 3rem;
    width: auto;
    flex: 1;
  }

  .woocommerce-order-received .woocommerce-order .order-details-short .order-block:not(:last-child) {
    border-bottom: none;
    border-right: 1px solid #eee;
  }

  .woocommerce-order-received .woocommerce-order .order-details-short .order-block .value {
    text-align: left;
    margin-top: 0.4rem;
  }

  .woocommerce-order-received .woocommerce-order .button-wrap {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }

  .woocommerce-order-received .woocommerce-order .button-wrap .left-buttons,
  .woocommerce-order-received .woocommerce-order .button-wrap .right-buttons {
    flex-direction: row;
    width: auto;
  }

  .woocommerce-order-received .woocommerce-order .button-wrap .btn {
    width: auto !important;
  }

  .woocommerce-order-received .woocommerce-order .button-wrap .right-buttons {
    margin-left: auto;
  }
}

/*
 * Parent albin/build/css/app.css hides checkout breadcrumbs globally:
 * `.woocommerce-checkout .storefront-breadcrumb { display: none; }`
 * Restore the breadcrumb output from header.php (direct child of .site-content > .col-full).
 */
body.woocommerce-checkout .site-content > .col-full > .storefront-breadcrumb {
  display: block !important;
}

/* Parent app.css sets .page .storefront-breadcrumb { opacity: 0.5; } */
body.woocommerce-checkout .site-content > .col-full > .storefront-breadcrumb,
body.woocommerce-checkout.page .site-content > .col-full > .storefront-breadcrumb {
  opacity: 1 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .site-content > .col-full > .storefront-breadcrumb .woocommerce-breadcrumb,
body.woocommerce-checkout.page .site-content > .col-full > .storefront-breadcrumb .woocommerce-breadcrumb {
  color: #72736e !important;
  margin-top: 32px !important;
  font-size: 14px !important;
}

body.woocommerce-checkout .site-content > .col-full > .storefront-breadcrumb .woocommerce-breadcrumb a,
body.woocommerce-checkout.page .site-content > .col-full > .storefront-breadcrumb .woocommerce-breadcrumb a {
  color: #555650 !important;
  font-size: 14px !important;
}

body.woocommerce-checkout .site-content > .col-full > .ps-checkout-page-header .entry-title,
body.woocommerce-checkout.page .site-content > .col-full > .ps-checkout-page-header .entry-title {
  color: #0A0D04 !important;
  font-size: 48px !important;
  margin-top: 32px !important;
  line-height: 57.6px !important;
  letter-spacing: -1.44px !important;
  margin-bottom: 64px !important;
}

/* Non-checkout: keep breadcrumbs fully opaque vs parent .page .storefront-breadcrumb */
.storefront-breadcrumb {
  opacity: 1 !important;
}

/* PDP breadcrumb colors */
.single-product .woocommerce-breadcrumb {
  color: #72736E !important;
}
.single-product .woocommerce-breadcrumb a {
  color: #555650 !important;
}

@media (min-width: 992px) {
  .woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields h3,
  .woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields h3 {
    font-size: 2rem !important;
    text-align: left !important;
    margin-bottom: 0 !important;
    color: #0a0d04 !important;
    font-weight: 400 !important;
  }
}

/* --------------------------------------------------------------------------
   Checkout billing + shipping — MUST match parent .page_content .checkout …
   specificity or albin/build/css/app.css wins (floating labels, shadows).
   Dual selectors: with and without .page_content for different templates.
   -------------------------------------------------------------------------- */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields {
  width: 100%;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__head,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-bottom: 0;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__title,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__title {
  margin: 0 !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  color: #0A0D04 !important;
  line-height: 28.8px !important;
  letter-spacing: -0.24px !important;
  text-align: left;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__head-extra,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__head-extra {
  flex: 0 1 auto;
  margin-left: auto;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__head-extra .form-row,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__head-extra .form-row {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
  position: relative !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__head-extra label,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__head-extra label {
  position: static !important;
  top: auto !important;
  left: auto !important;
  opacity: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  font-size: 16px !important;
  color: #0A0D04 !important;
  line-height: 22.4px !important;
  cursor: pointer !important;
  margin: 0 !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__head-extra input[type="checkbox"],
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__head-extra input[type="checkbox"] {
  width: 1.8rem;
  height: 1.8rem;
  min-width: 1.8rem;
  margin: 0 0 2px 0 !important;
  border-radius: 4px;
  border: 1px solid #0a0d04;
  box-shadow: none !important;
  accent-color: #0a0d04;
}

.woocommerce-checkout .page_content .checkout .customer_details .form-row .checkbox input:checked {
  background-color: #0a0d04 !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__divider,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__divider {
  height: 1px !important;
  background: #D8D8D7 !important;
  margin: 12px 0 24px !important;
  width: 100% !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 20px !important;
  row-gap: 24px !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields {
  width: 100% !important;
  margin-top: 0 !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper::before,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper::after,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper::before,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper::after {
  display: none !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .form-row,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .form-row {
  width: 100% !important;
  max-width: 100%;
  min-width: 0 !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .woocommerce-input-wrapper,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .woocommerce-input-wrapper {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .form-row-wide,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .ps-billing-fields__extra,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .form-row-wide,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .ps-billing-fields__extra {
  grid-column: 1 / -1;
}

/* Private vs legal: toggle rows (checkbox "Juridiska persona" sets .ps-billing-fields--legal via JS) */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields:not(.ps-billing-fields--legal) .woocommerce-billing-fields__field-wrapper .form-row.ps-billing--legal,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields:not(.ps-billing-fields--legal) .woocommerce-billing-fields__field-wrapper .form-row.ps-billing--legal {
  display: none !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields.ps-billing-fields--legal .woocommerce-billing-fields__field-wrapper .form-row.ps-billing--private,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields.ps-billing-fields--legal .woocommerce-billing-fields__field-wrapper .form-row.ps-billing--private {
  display: none !important;
}

/* Show native reg number field in legal mode */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields.ps-billing-fields--legal #billing_reg_number_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields.ps-billing-fields--legal #billing_reg_number_field {
  display: block !important;
}

/* If legal registration field is unavailable, avoid empty right-side gap */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields.ps-billing-fields--no-registration.ps-billing-fields--legal #billing_company_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields.ps-billing-fields--no-registration.ps-billing-fields--legal #billing_company_field {
  grid-column: 1 / -1 !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_state_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_state_field {
  grid-column: 1 / -1;
}

/* Force exact checkout billing pairs despite Woo locale class rewrites */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_first_name_field,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_email_field,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_country_field,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_address_1_field,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_company_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_first_name_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_email_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_country_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_address_1_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_company_field {
  grid-column: 1;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_reg_number_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_reg_number_field {
  grid-column: 2;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_last_name_field,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_phone_field,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_city_field,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_postcode_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_last_name_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_phone_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_city_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_postcode_field {
  grid-column: 2;
}

/* Stabilize visual order regardless of Woo locale/priority mutations */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_first_name_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_first_name_field { order: 10; }
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_last_name_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_last_name_field { order: 20; }
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_company_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_company_field { order: 30; }
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_reg_number_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_reg_number_field { order: 40; }
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_email_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_email_field { order: 50; }
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_phone_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_phone_field { order: 60; }
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_country_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_country_field { order: 70; }
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_city_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_city_field { order: 80; }
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_address_1_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_address_1_field { order: 90; }
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_postcode_field,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields #billing_postcode_field { order: 100; }

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper label,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper label {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: block !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #1E1E1E !important;
  opacity: 1 !important;
  margin: 0 0 0.5rem 0 !important;
  line-height: 22.4px !important;
  clip: auto !important;
  clip-path: none !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
  white-space: normal !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .input-text,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper input.input-text,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper select,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper textarea,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .input-text,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper input.input-text,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper select,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper textarea {
  width: 100% !important;
  min-height: 4.8rem !important;
  padding: 16px !important;
  border: 1px solid #d1d1d1 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  background-color: #fff !important;
  font-size: 16px !important;
  color: #1E1E1E !important;
  line-height: 16px !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .input-text:focus,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper select:focus,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper textarea:focus,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .input-text:focus,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper select:focus,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper textarea:focus {
  outline: none !important;
  border-color: #0a0d04 !important;
  border-width: 2px !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .select2-container,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .select2-container {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .select2-container .select2-selection--single,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .select2-container .select2-selection--single {
  min-height: 4.8rem !important;
  height: auto !important;
  padding: 0 1.4rem !important;
  border: 1px solid #d1d1d1 !important;
  border-radius: 9px !important;
  display: flex !important;
  align-items: center;
  box-shadow: none !important;
  background-color: #fff !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  top: 0;
  right: 0.8rem;
}

/* Parent theme adds a second arrow via .select2-selection:after; disable it for billing */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .select2-selection::after,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .select2-selection::after {
  display: none !important;
}

/* Country field arrow (parent #billing_country_field:after) — override vertical position */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #757575 !important;
  line-height: 28px !important;
  padding-left: 0 !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details #billing_country_field::after,
body.woocommerce-checkout .customer_details #billing_country_field::after {
  top: 50px !important;
  width: 10px !important;
  height: 10px !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .select2-container--default.select2-container--open .select2-selection--single,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .select2-container--focus .select2-selection--single,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .select2-container--default.select2-container--open .select2-selection--single,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .select2-container--focus .select2-selection--single {
  border-color: #0a0d04 !important;
  border-width: 2px !important;
}

/* Parent targets .form-row .select2-selection — beat it for billing grid */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .form-row .select2-selection,
body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper .form-row .select2-selection {
  border: 1px solid #d1d1d1 !important;
  border-radius: 9px !important;
  min-height: 4.8rem !important;
  padding: 0 1.4rem !important;
  background-color: #fff !important;
}

/* Ship-to-same banner */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  width: 100% !important;
  margin: 24px 0 0 !important;
  padding: 16px !important;
  background: #F8F6F2 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner .ps-ship-same-banner__woo,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner .ps-ship-same-banner__woo {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner .ps-ship-same-banner__label,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner .ps-ship-same-banner__label,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner .ps-ship-same-banner__label {
  display: flex !important;
  align-items: center;
  gap: 12px !important;
  margin: 0 !important;
  cursor: pointer;
  position: static !important;
  top: auto !important;
  left: auto !important;
  opacity: 1 !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner .ps-ship-same-banner__label::before,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner .ps-ship-same-banner__label::before {
  content: "";
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid #0a0d04;
  border-radius: 4px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center;
  box-sizing: border-box;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner #ship-to-different-address-checkbox:not(:checked) + .ps-ship-same-banner__label::before,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner #ship-to-different-address-checkbox:not(:checked) + .ps-ship-same-banner__label::before {
  background-color: #0a0d04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='1.8' d='M1 5l3.5 3.5L11 1'/%3E%3C/svg%3E");
  background-size: 12px 10px;
  border-color: #0a0d04;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner #ship-to-different-address-checkbox:focus + .ps-ship-same-banner__label::before,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner #ship-to-different-address-checkbox:focus + .ps-ship-same-banner__label::before {
  outline: 2px solid rgba(10, 13, 4, 0.35);
  outline-offset: 2px;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner .ps-ship-same-banner__text,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner .ps-ship-same-banner__text,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-ship-same-banner .ps-ship-same-banner__text {
  font-size: 16px !important;
  line-height: 22.4px !important;
  color: #0A0D04 !important;
  font-weight: 400 !important;
}

.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address,
.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address {
  margin-top: 24px;
}

/* Shipping methods (Woo default) — card-style list, custom radios, primary + secondary lines */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods {
  width: 100% !important;
  margin: 0 !important;
  margin-top: 64px !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__title,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__title,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__title {
  margin: 0 0 12px 0 !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  color: #0A0D04 !important;
  line-height: 28.8px !important;
  letter-spacing: -0.24px !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__divider,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__divider,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__divider {
  height: 1px !important;
  background: #D8D8D7 !important;
  margin: 0 0 24px !important;
  width: 100% !important;
}

/* Payment methods section title + divider (match .ps-checkout-shipping-methods) */
body.woocommerce-checkout .page_content .checkout .customer_details #ps-checkout-payment-methods-fragment .ps-checkout-payment-methods,
body.woocommerce-checkout .customer_details #ps-checkout-payment-methods-fragment .ps-checkout-payment-methods {
  width: 100%;
  margin: 0;
}

body.woocommerce-checkout .page_content .checkout .customer_details #ps-checkout-payment-methods-fragment .ps-checkout-payment-methods__title,
body.woocommerce-checkout .customer_details #ps-checkout-payment-methods-fragment .ps-checkout-payment-methods__title {
  margin: 0 0 12px 0 !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  color: #0A0D04 !important;
  line-height: 28.8px !important;
  letter-spacing: -0.24px !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details #ps-checkout-payment-methods-fragment .ps-checkout-payment-methods__divider,
body.woocommerce-checkout .customer_details #ps-checkout-payment-methods-fragment .ps-checkout-payment-methods__divider {
  height: 1px !important;
  background: #D8D8D7 !important;
  margin: 0 0 24px !important;
  width: 100% !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Checkout shipping markup is div + ul/li (child cart-shipping.php), not table rows */

/* Parent theme hides radios inside .shipping-menu; ensure checkout radios stay visible */
body.woocommerce-checkout .ps-checkout-shipping-methods__body .woocommerce-shipping-methods input.shipping_method[type="radio"] {
  display: block !important;
}

/* Plugin UI from review_order_before/after_shipping (pickup toggle, etc.) */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__hook,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__hook {
  width: 100%;
  margin: 0 0 1rem 0;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__hook--after,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__hook--after {
  margin: 1rem 0 0 0;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__hook:last-child:empty,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__hook:last-child:empty {
  display: none;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__hook button,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__hook .button,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__hook input[type="button"],
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__hook button,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__hook .button,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__hook input[type="button"] {
  font-size: 1.4rem !important;
  font-weight: 500 !important;
  color: #0a0d04 !important;
  background: #fff !important;
  border: 1px solid #d1d1d1 !important;
  border-radius: 9px !important;
  padding: 0.65rem 1.2rem !important;
  min-height: auto !important;
  line-height: 1.3 !important;
  box-shadow: none !important;
  cursor: pointer;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods {
  list-style: none;
  margin: 0;
  padding: 0;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li {
  position: relative !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  column-gap: 12px !important;
  row-gap: 0.35rem !important;
  margin: 0 0 24px 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li:not(:first-child),
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li:not(:first-child) {
  margin-top: 2rem;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li:last-child,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li:last-child {
  margin-bottom: 0;
}

/*
 * Shipping radios: fixed outer 20×20px (border-box). Unchecked = thin ring; checked = thick ring (matches payment).
 */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > input.shipping_method[type="radio"],
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > input.shipping_method[type="radio"] {
  order: 1;
  box-sizing: border-box;
  flex: 0 0 20px;
  width: 20px !important;
  height: 20px !important;
  margin: 0.2rem 0 0 0 !important;
  padding: 2px !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border-style: solid !important;
  border-color: #0a0d04 !important;
  border-width: 1.5px !important;
  border-radius: 50% !important;
  background-color: #fff !important;
  background-clip: padding-box;
  box-shadow: none !important;
  transition: border-width 0.12s ease;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > input.shipping_method[type="radio"]:checked,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > input.shipping_method[type="radio"]:checked {
  border-width: 6px !important;
  background-color: #fff !important;
  background-clip: padding-box;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > input.shipping_method[type="radio"]:focus,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > input.shipping_method[type="radio"]:focus {
  outline: none;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > input.shipping_method[type="radio"]:focus-visible,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > input.shipping_method[type="radio"]:focus-visible {
  outline: 2px solid #0a0d04;
  outline-offset: 3px;
  box-shadow: none !important;
}

/* Single rate: hidden input */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li:has(> input.shipping_method[type="hidden"]) > input.shipping_method,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li:has(> input.shipping_method[type="hidden"]) > input.shipping_method {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li:has(> input.shipping_method[type="hidden"])::before,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li:has(> input.shipping_method[type="hidden"])::before {
  content: "";
  order: 1;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 0.2rem 0 0 0;
  border-radius: 50%;
  box-sizing: border-box;
  border: 6px solid #0a0d04;
  background-color: #fff;
  background-clip: padding-box;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > label,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > label,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > label {
  order: 2 !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  position: static !important;
  display: block !important;
  margin: 0 !important;
  margin-top: 2px !important;
  padding: 0 !important;
  cursor: pointer !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #0A0D04 !important;
  line-height: 22.4px !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > label .woocommerce-Price-amount,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > label .woocommerce-Price-amount {
  font-weight: 400 !important;
  color: #555650 !important;
  margin-left: 12px !important;
  font-size: 16px !important;
  line-height: 22.4px !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > label .tax_label,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > label .tax_label {
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  color: #6d6d6d !important;
}

/* Descriptions / plugin output after each rate — full width under label */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > *:not(input):not(label),
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > *:not(input):not(label) {
  order: 10;
  flex: 1 1 100%;
  width: 100%;
  margin: 0 !important;
  padding: 0 0 0 calc(20px + 1.1rem) !important;
  box-sizing: border-box;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  color: #6d6d6d !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > *:not(input):not(label) + *:not(input):not(label),
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .ps-checkout-shipping-methods__body .woocommerce-shipping-methods li > *:not(input):not(label) + *:not(input):not(label) {
  margin-top: 0.25rem !important;
}

/* Checkout: hide place-order error banner; scroll skip in assets/js/checkout-suppress-noticegroup.js */
body.woocommerce-checkout form.checkout.woocommerce-checkout .woocommerce-NoticeGroup-checkout {
  display: none !important;
}

/* Checkout form: left = billing/shipping + gateways; right = #order_review (totals + #payment stacked, no grid row gap) */
@media (min-width: 992px) {
  body.woocommerce-checkout .page_content form.checkout.woocommerce-checkout.ps-checkout-form-grid,
  body.woocommerce-checkout form.checkout.woocommerce-checkout.ps-checkout-form-grid {
    display: grid !important;
    flex-wrap: unset !important;
    grid-template-columns: minmax(0, 1fr) minmax(286px, 31%) !important;
    column-gap: 152px !important;
    align-items: start;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.woocommerce-checkout .page_content form.checkout.ps-checkout-form-grid > .customer_details,
  body.woocommerce-checkout form.checkout.ps-checkout-form-grid > .customer_details {
    grid-column: 1;
    grid-row: 1;
    width: 100% !important;
    min-width: 0;
  }

  body.woocommerce-checkout .page_content form.checkout.ps-checkout-form-grid > #order_review,
  body.woocommerce-checkout form.checkout.ps-checkout-form-grid > #order_review {
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    min-width: 0;
  }
}

@media (max-width: 991px) {
  body.woocommerce-checkout .page_content form.checkout.ps-checkout-form-grid,
  body.woocommerce-checkout form.checkout.ps-checkout-form-grid {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  body.woocommerce-checkout .page_content form.checkout.ps-checkout-form-grid #order_review #payment.woocommerce-checkout-payment,
  body.woocommerce-checkout form.checkout.ps-checkout-form-grid #order_review #payment.woocommerce-checkout-payment {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

/* Payment gateways — left column below shipping (split checkout grid) */
body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  gap: 1.5rem;
  box-sizing: border-box;
}

body.woocommerce-checkout .page_content .checkout .customer_details .ps-checkout-payment__title,
body.woocommerce-checkout .customer_details .ps-checkout-payment__title {
  margin: 0 0 0.65rem 0;
  font-size: 2.2rem;
  font-weight: 500;
  color: #0a0d04;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

body.woocommerce-checkout .page_content .checkout .customer_details .ps-checkout-payment__divider,
body.woocommerce-checkout .customer_details .ps-checkout-payment__divider {
  height: 1px;
  width: 100%;
  background: #e0e0dc;
  margin: 0;
}

body.woocommerce-checkout #payment.woocommerce-checkout-payment {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

body.woocommerce-checkout #order_review.woocommerce-checkout-review-order > #payment.woocommerce-checkout-payment {
  margin-top: 24px !important;
  width: 100%;
  max-width: 100%;
}

body.woocommerce-checkout #ps-checkout-payment-methods-fragment {
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.woocommerce-checkout .ps-checkout-shipping-methods + #ps-checkout-payment-methods-fragment {
  margin-top: 64px !important;
}

body.woocommerce-checkout #payment .payment_methods {
  padding: 2rem !important;
  border-radius: 10px;
}

/* Match shipping list: plain ul, spaced li (no cards) */
body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods {
  list-style: none !important;
  margin: 0 !important;
  padding: 18px !important;
  border-radius: 12px !important;
  width: 100% !important;
  background-color: #F8F6F2 !important;
  box-sizing: border-box !important;
}

body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 1.1rem;
  row-gap: 0.35rem;
  margin: 0 0 2.5rem 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-sizing: border-box;
}

body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method:not(:first-child) {
  margin-top: 2rem;
}

body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method:last-child {
  margin-bottom: 0;
}

/*
 * Parent theme (albin) draws checkout payment “radios” on label :before/:after (thin ring + dot).
 * That overrides the real input — remove pseudos here so the same native styling as shipping applies.
 */
body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method > input.input-radio[type="radio"] + label::before,
body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method > input.input-radio[type="radio"] + label::after,
body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method > input.input-radio[type="radio"]:checked + label::before,
body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method > input.input-radio[type="radio"]:checked + label::after {
  content: none !important;
  display: none !important;
  border: none !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
}

/* Payment method radios — same rules as shipping (20px ring, thin off / thick on) */
body.woocommerce-checkout .ps-checkout-payment ul.wc_payment_methods input.input-radio[type="radio"] {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  clip: auto !important;
  -webkit-clip-path: none !important;
  clip-path: none !important;
}

body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method > input.input-radio[type="radio"] {
  order: 1;
  box-sizing: border-box;
  flex: 0 0 20px;
  width: 20px !important;
  height: 20px !important;
  margin: 0.2rem 0 0 0 !important;
  padding: 2px !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border-style: solid !important;
  border-color: #0a0d04 !important;
  border-width: 1.5px !important;
  border-radius: 50% !important;
  background-color: #fff !important;
  background-clip: padding-box;
  box-shadow: none !important;
  transition: border-width 0.12s ease;
}

body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method > input.input-radio[type="radio"]:checked {
  border-width: 6px !important;
  background-color: #fff !important;
  background-clip: padding-box;
}

body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method > input.input-radio[type="radio"]:focus {
  outline: none;
}

body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method > input.input-radio[type="radio"]:focus-visible {
  outline: 2px solid #0a0d04;
  outline-offset: 3px;
  box-shadow: none !important;
}

body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method > label {
  order: 2 !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  position: static !important;
  display: block !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #000 !important;
  line-height: 22.4px !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
}

body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method > label .woocommerce-Price-amount {
  font-weight: 500 !important;
  color: #6d6d6d !important;
  margin-left: 0.25em;
}

body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method > label .tax_label {
  font-size: 1.2rem !important;
  font-weight: 400 !important;
  color: #6d6d6d !important;
}

/* Same as shipping: description / gateway copy under the label */
body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method .payment_box {
  order: 10 !important;
  flex: 1 1 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 0 calc(20px + 1.1rem) !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 14px !important;
  color: #0A0D04 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .ps-payment-split__methods.ps-checkout-payment ul.wc_payment_methods > li.wc_payment_method .payment_box + .payment_box {
  margin-top: 0.25rem !important;
}

body.woocommerce-checkout .page_content .checkout li .payment_method_bacs p:nth-child(-n + 3) {
  margin-top: 0;
  margin-bottom: 0;
}

/* Terms + place order — right column (split checkout grid) */
body.woocommerce-checkout .ps-payment-split__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  gap: 0;
  box-sizing: border-box;
}

body.woocommerce-checkout .ps-payment-split__actions .form-row.place-order {
  margin: 0;
  padding: 0;
  float: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

body.woocommerce-checkout .page_content .checkout .woocommerce-checkout-payment .place-order,
body.woocommerce-checkout .checkout .woocommerce-checkout-payment .place-order {
  display: -webkit-box !important;
  display: flex !important;
  flex-wrap: wrap !important;
  -webkit-box-pack: center !important;
  justify-content: center !important;
  background-color: #FFF !important;
  padding: 0 !important;
  gap: 24px !important;
  margin-top: 0 !important;
}

body.woocommerce-checkout .ps-payment-split__actions .woocommerce-terms-and-conditions-wrapper .form-row.validate-required label.woocommerce-form__label-for-checkbox {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 12px !important;
  margin: 0 !important;
  font-size: 1.2rem !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  color: #6d6d6d !important;
}

body.woocommerce-checkout .ps-payment-split__actions .woocommerce-terms-and-conditions-wrapper input.input-checkbox#terms {
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  margin: 0.15rem 0 0 0 !important;
  cursor: pointer !important;
}

body.woocommerce-checkout .ps-payment-split__actions .woocommerce-terms-and-conditions-checkbox-text {
  display: block !important;
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
  max-width: 100%;
  color: #0a0d04;
  font-size: 1.7rem;
}

/* Parent theme uses flex+wrap on this span — splits text and <a> onto separate lines; use normal inline flow */
body.woocommerce-checkout .ps-payment-split__actions .woocommerce-terms-and-conditions-checkbox-text a {
  display: inline !important;
  color: inherit !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.woocommerce-checkout .page_content .checkout .woocommerce-terms-and-conditions-wrapper a {
  margin-left: 0;
}

.woocommerce-checkout .page_content .checkout .woocommerce-terms-and-conditions-wrapper .validate-required {
  display: block !important;
  margin: 0 !important;
}

.woocommerce-checkout .page_content .checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__input-checkbox:checked {
  background-color: #0a0d04 !important;
}

body.woocommerce-checkout .page_content .checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  font-size: 16px !important;
  color: #0A0D04 !important;
  line-height: 22.4px !important;
  font-weight: 400 !important;
}

body.woocommerce-checkout .page_content .checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text a {
  display: inline !important;
  line-height: 140% !important;
  text-decoration-line: underline !important;
  text-decoration-style: solid !important;
  text-decoration-skip-ink: none !important;
  text-decoration-thickness: auto !important;
  text-underline-offset: auto !important;
  text-underline-position: from-font !important;
  color: #0A0D04 !important;
  font-size: 16px !important;
}

/* Place order button: rules enqueued last via albin_child_enqueue_checkout_place_order_css() in functions.php */

/* Order review sidebar — Kopsavilkums / summary (reference layout) */
body.woocommerce-checkout #order_review.woocommerce-checkout-review-order {
  background: #fff !important;
  box-sizing: border-box !important;
  padding-left: 0 !important;
}

body.woocommerce-checkout .page_content .checkout #order_review #order_review_heading,
body.woocommerce-checkout #order_review #order_review_heading {
  display: block !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 12px 0 !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  color: #1E1E1E !important;
  line-height: 28.8px !important;
  letter-spacing: -0.02em !important;
  border-bottom: 1px solid #D9D9D9 !important;
}

body.woocommerce-checkout #order_review .woocommerce-checkout-review-order-table,
body.woocommerce-checkout #order_review .ps-checkout-review-order-table {
  display: block !important;
  width: 100%;
  margin: 0 !important;
  padding: 24px 0 0 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.woocommerce-checkout #order_review .woocommerce-checkout-review-order .shop_table {
  margin-bottom: 0 !important;
}

/* Collapsible bordered product list (order summary) */
body.woocommerce-checkout #order_review .ps-checkout-review-products {
  margin: 0 0 1rem 0;
  border: 1px solid #e0e0dc;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

body.woocommerce-checkout #order_review .ps-checkout-review-products__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 16px 16px 16px !important;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.woocommerce-checkout #order_review .ps-checkout-review-products__summary::-webkit-details-marker {
  display: none;
}

body.woocommerce-checkout #order_review .ps-checkout-review-products__summary::marker {
  content: "";
}

body.woocommerce-checkout #order_review .ps-checkout-review-products__summary:focus {
  outline: none;
}

body.woocommerce-checkout #order_review .ps-checkout-review-products__summary:focus-visible {
  outline: 2px solid #0a0d04;
  outline-offset: 2px;
}

body.woocommerce-checkout #order_review .ps-checkout-review-products__label {
  font-size: 16px;
  font-weight: 500;
  color: #0A0D04;
  line-height: 1.4;
}

body.woocommerce-checkout #order_review .ps-checkout-review-products__chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  transform: rotate(180deg);
  transition: transform 0.2s ease;
}

body.woocommerce-checkout #order_review .ps-checkout-review-products__chevron svg {
  display: block;
  width: 10px;
  height: 7px;
}

body.woocommerce-checkout #order_review .ps-checkout-review-products[open] .ps-checkout-review-products__chevron {
  transform: rotate(0deg);
}

body.woocommerce-checkout #order_review .ps-checkout-review-products__body {
  padding: 0 16px 16px !important;
}

body.woocommerce-checkout #order_review .ps-checkout-review-products__body .ps-checkout-review-lines {
  margin-bottom: 0;
}

body.woocommerce-checkout #order_review .ps-checkout-review-lines {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0;
}

body.woocommerce-checkout #order_review .ps-checkout-review-line {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  column-gap: 1rem;
  font-size: 1.4rem;
  line-height: 1.35;
  color: #6d6d6d;
}

body.woocommerce-checkout #order_review .ps-checkout-review-line__product {
  display: flex;
  align-items: center;
  column-gap: 16px !important;
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
}

body.woocommerce-checkout #order_review .ps-checkout-review-line__thumb {
  position: relative;
  flex: 0 0 auto;
  line-height: 0;
}

body.woocommerce-checkout #order_review .ps-checkout-review-line__thumb a {
  display: block;
}

body.woocommerce-checkout #order_review .ps-checkout-review-line__thumb img {
  width: 56px !important;
  height: 56px !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover;
  border-radius: 0.8rem;
  display: block;
}

body.woocommerce-checkout #order_review .ps-checkout-review-line__qty-badge {
  position: absolute;
  top: -0.55rem;
  right: -0.55rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0.8rem 0.6rem !important;
  box-sizing: border-box;
  border-radius: 999px;
  background: #f8942c;
  color: #000;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}

body.woocommerce-checkout #order_review .ps-checkout-review-line__name {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  font-weight: 400 !important;
  font-size: 14px !important;
  color: #0A0D04 !important;
  overflow-wrap: break-word !important;
  word-break: break-word !important;
}

body.woocommerce-checkout #order_review .ps-checkout-review-line__name a {
  color: #0a0d04 !important;
  text-decoration: none;
}

body.woocommerce-checkout #order_review .ps-checkout-review-line__name a:hover,
body.woocommerce-checkout #order_review .ps-checkout-review-line__name a:focus-visible {
  color: #0a0d04 !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.woocommerce-checkout #order_review .ps-checkout-review-line__total {
  flex: 0 0 auto;
  flex-shrink: 0;
  align-self: center;
  text-align: right;
  font-weight: 700 !important;
  color: #0a0d04 !important;
}

body.woocommerce-checkout #order_review .ps-checkout-review-line__total .woocommerce-Price-amount {
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #0A0D04 !important;
  line-height: 19.6px !important;
}

body.woocommerce-checkout #order_review .cart-bottom {
  margin: 0;
  padding: 0;
}

body.woocommerce-checkout #order_review .totals-cart {
  margin-top: 24px !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
}

body.woocommerce-checkout #order_review .totals-cart .item {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  column-gap: 1rem !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0.65rem 0 !important;
  font-size: 16px !important;
  line-height: 22.4px !important;
  color: #72736E !important;
}

body.woocommerce-checkout #order_review .totals-cart .item .title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-weight: 400;
}

body.woocommerce-checkout #order_review .totals-cart .item .value {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0;
  text-align: right;
  font-weight: 400;
  color: #72736e;
}

body.woocommerce-checkout #order_review .totals-cart .item--discount .title,
body.woocommerce-checkout #order_review .totals-cart .item--discount .value {
  color: #008043 !important;
}

body.woocommerce-checkout #order_review .totals-cart .item--total {
  margin-top: 22px !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  border-top: 1px solid #D8D8D7 !important;
  border-bottom: 1px solid #D8D8D7 !important;
  color: #0D1212 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 25.2px !important;
}

body.woocommerce-checkout #order_review .totals-cart .item--total .title,
body.woocommerce-checkout #order_review .totals-cart .item--total .value {
  font-weight: 600 !important;
  color: #0a0d04 !important;
}

body.woocommerce-checkout #order_review .totals-cart .item--total .woocommerce-Price-amount {
  font-weight: 600 !important;
  color: #0a0d04 !important;
}

@media (max-width: 991px) {
  body.woocommerce-checkout .page_content .checkout #order_review #order_review_heading,
  body.woocommerce-checkout #order_review #order_review_heading {
    display: block !important;
  }
}

/* Shipping form: same grid style as billing */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 1.4rem;
  row-gap: 1.4rem;
  align-items: start;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid .form-row,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid .form-row {
  width: 100% !important;
  max-width: 100%;
  min-width: 0 !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid .woocommerce-input-wrapper,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid .woocommerce-input-wrapper {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid label,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid label {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: block !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #0a0d04 !important;
  opacity: 1 !important;
  margin: 0 0 0.5rem 0 !important;
  line-height: 1.3;
  clip: auto !important;
  clip-path: none !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
  white-space: normal !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid .input-text,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid input.input-text,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid select,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid .input-text,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid input.input-text,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid select {
  width: 100% !important;
  min-height: 4.8rem;
  padding: 0 1.4rem !important;
  border: 1px solid #d1d1d1 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  background-color: #fff !important;
  font-size: 1.5rem !important;
  color: #0a0d04 !important;
  line-height: 1.4;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid .select2-container,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid .select2-container {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid .select2-container .select2-selection--single,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid .select2-container .select2-selection--single {
  min-height: 4.8rem !important;
  height: auto !important;
  padding: 0 1.4rem !important;
  border: 1px solid #d1d1d1 !important;
  border-radius: 9px !important;
  display: flex !important;
  align-items: center;
  box-shadow: none !important;
  background-color: #fff !important;
}

/* Column placement + source order so City pairs with Country (not with Company) */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_first_name_field,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_first_name_field {
  grid-column: 1;
  order: 10;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_last_name_field,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_last_name_field {
  grid-column: 2;
  order: 20;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_company_field,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_company_field {
  grid-column: 1 / -1;
  order: 30;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_country_field,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_country_field {
  grid-column: 1;
  order: 40;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_city_field,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_city_field {
  grid-column: 2;
  order: 50;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_address_1_field,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_address_1_field {
  grid-column: 1;
  order: 60;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_postcode_field,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_postcode_field {
  grid-column: 2;
  order: 70;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_country_field::after,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields #shipping_country_field::after {
  top: 43px !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper .select2-selection::after,
body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper .select2-selection::after {
  display: none !important;
}

@media (max-width: 767px) {
  /*
   * Keep two equal columns on small screens (was 1fr only, which stacked pairs).
   * minmax(0,1fr) + min-width:0 on .form-row stops one cell growing from content/password-manager UI.
   */
  body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper,
  body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 1rem;
  }

  body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__head,
  body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__head {
    flex-direction: column;
    align-items: stretch;
  }

  body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__head-extra,
  body.woocommerce-checkout .customer_details .woocommerce-billing-fields.ps-billing-fields .ps-billing-fields__head-extra {
    margin-left: 0;
  }

  body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid,
  body.woocommerce-checkout .customer_details .woocommerce-shipping-fields .shipping_address.ps-shipping-fields .woocommerce-shipping-fields__field-wrapper.ps-shipping-fields__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 1rem;
  }
}

@media (min-width: 992px) {
  .woocommerce-checkout .page_content .checkout .customer_details .woocommerce-additional-fields {
    margin-top: 64px !important;
  }
}

/* Order notes — match billing/shipping inputs */
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-additional-fields.ps-checkout-additional-fields .ps-checkout-additional-fields__title,
body.woocommerce-checkout .customer_details .woocommerce-additional-fields.ps-checkout-additional-fields .ps-checkout-additional-fields__title {
  font-size: 1.8rem !important;
  font-weight: 600 !important;
  color: #0a0d04 !important;
  margin: 2rem 0 1rem 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-additional-fields.ps-checkout-additional-fields .woocommerce-additional-fields__field-wrapper.ps-checkout-additional-fields__inner,
body.woocommerce-checkout .customer_details .woocommerce-additional-fields.ps-checkout-additional-fields .woocommerce-additional-fields__field-wrapper.ps-checkout-additional-fields__inner {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-additional-fields.ps-checkout-additional-fields #order_comments_field,
body.woocommerce-checkout .customer_details .woocommerce-additional-fields.ps-checkout-additional-fields #order_comments_field {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-additional-fields.ps-checkout-additional-fields #order_comments_field label,
body.woocommerce-checkout .customer_details .woocommerce-additional-fields.ps-checkout-additional-fields #order_comments_field label {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: block !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #0A0D04 !important;
  opacity: 1 !important;
  margin: 0 0 8px 0 !important;
  line-height: 22.4px !important;
  clip: auto !important;
  clip-path: none !important;
  height: auto !important;
  width: auto !important;
  overflow: visible !important;
  white-space: normal !important;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-additional-fields.ps-checkout-additional-fields #order_comments_field textarea.input-text,
body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-additional-fields.ps-checkout-additional-fields #order_comments_field textarea#order_comments,
body.woocommerce-checkout .customer_details .woocommerce-additional-fields.ps-checkout-additional-fields #order_comments_field textarea.input-text,
body.woocommerce-checkout .customer_details .woocommerce-additional-fields.ps-checkout-additional-fields #order_comments_field textarea#order_comments {
  width: 100% !important;
  height: 10.5rem !important;
  min-height: 0;
  padding: 0.5rem 1.2rem !important;
  border: 1px solid #d1d1d1 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  background-color: #fff !important;
  font-size: 1.3rem !important;
  color: #0a0d04 !important;
  line-height: 1.28 !important;
  resize: vertical;
}

body.woocommerce-checkout .page_content .checkout .customer_details .woocommerce-additional-fields.ps-checkout-additional-fields #order_comments_field textarea.input-text:focus,
body.woocommerce-checkout .customer_details .woocommerce-additional-fields.ps-checkout-additional-fields #order_comments_field textarea.input-text:focus {
  outline: none !important;
  border-color: #0a0d04 !important;
  border-width: 2px !important;
}

/*
 * Product gallery: slide width comes from FlexSlider JS; slide height is set to 700px
 * in product-gallery-fix.js when width is applied. Main image uses cover + top crop.
 */
.product-template-default .content-area div.product .woocommerce-product-gallery {
  --pdp-thumb-height: 6rem;
  position: relative;
}

.product-template-default .woocommerce-product-gallery .flex-viewport,
.product-template-default .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child:last-child {
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
}

.product-template-default .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image,
.product-template-default .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child:last-child {
  min-height: 0;
  height: 100%;
}

.product-template-default .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image > a,
.product-template-default .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child:last-child > a {
  display: block;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.product-template-default .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image img,
.product-template-default .woocommerce-product-gallery .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child:last-child img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}


@media (max-width: 991px) {
  .product-template-default .woocommerce-product-gallery .flex-viewport {
    height: auto !important;
    aspect-ratio: 1 / 1;
  }
  .product-template-default .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image {
    min-height: 0 !important;
    height: 100%;
  }
  .product-template-default .content-area div.product .woocommerce-product-gallery.pdp-thumbs-carousel ol.flex-control-thumbs li {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
}

/*
 * Thumbnails: full width of main gallery (align with flex-viewport edges).
 * Parent theme centers .flex-control-nav and adds horizontal li margins — override here.
 * Heights: html { font-size: 62.5% } → 1rem ≈ 10px at default zoom.
 *   - 6rem ≈ 60px, 7rem ≈ 70px (adjust these if you want exact pixel targets).
 */
@media (min-width: 992px) {
  .product-template-default .content-area div.product .woocommerce-product-gallery {
    --pdp-thumb-height: 7rem;
    width: 50% !important;
    max-width: 50%;
    margin: 0 !important;
    flex: 0 0 50%;
  }

  .product-template-default .content-area div.product .summary {
    width: 60% !important;
    max-width: 60% !important;
    padding-left: 15rem !important;
    flex: 0 0 50% !important;
    box-sizing: border-box !important;
  }

  .product-template-default .content-area div.product .product_title {
    color: #0A0D04 !important;
    font-family: 'Figtree', sans-serif !important;
    font-size: 48px !important;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 120% !important;
    letter-spacing: -1.44px !important;
  }
}

.product-template-default .content-area div.product .woocommerce-product-gallery ol.flex-control-thumbs {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 16px 0 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: auto;
  box-sizing: border-box !important;
  /* Native scrollbar hidden — custom bar below (Linux GTK / Brave ignore webkit scrollbar parts). */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-template-default .content-area div.product .woocommerce-product-gallery ol.flex-control-thumbs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Custom scrollbar (synced via pdp-summary.js) */
.product-template-default .content-area div.product .woocommerce-product-gallery .pdp-thumb-scrollbar {
  display: none;
  width: 100%;
  margin-top: 3px;
  line-height: 0;
}

.product-template-default .content-area div.product .woocommerce-product-gallery .pdp-thumb-scrollbar.is-visible {
  display: block;
}

/* 4px visual line; taller hit area so track/thumb are usable */
.product-template-default .content-area div.product .woocommerce-product-gallery .pdp-thumb-scrollbar__track {
  position: relative;
  width: 100%;
  height: 1.4rem;
  cursor: pointer;
  background: transparent;
}

.product-template-default .content-area div.product .woocommerce-product-gallery .pdp-thumb-scrollbar__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  background: #e7e7e6;
  pointer-events: none;
}

.product-template-default .content-area div.product .woocommerce-product-gallery .pdp-thumb-scrollbar__thumb {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  margin-top: -2px;
  min-width: 0.8rem;
  background: #151515;
  border-radius: 0;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}

.product-template-default .content-area div.product .woocommerce-product-gallery .pdp-thumb-scrollbar__thumb:active {
  cursor: grabbing;
}

.product-template-default .content-area div.product .woocommerce-product-gallery ol.flex-control-thumbs li {
  flex: 1 1 0 !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 !important;
  float: none !important;
  overflow: hidden;
  background: #f5f5f5;
  box-sizing: border-box !important;
  padding: 0 !important;
}

/* <= 6 thumbs: fixed size (same as carousel), no growing to fill row */
.product-template-default .content-area div.product .woocommerce-product-gallery.pdp-thumbs-spaced ol.flex-control-thumbs li {
  flex: 0 0 calc((100% - 4rem) / 6) !important;
  width: calc((100% - 4rem) / 6) !important;
  margin-right: 0.8rem !important;
}

.product-template-default .content-area div.product .woocommerce-product-gallery.pdp-thumbs-spaced ol.flex-control-thumbs li:last-child {
  margin-right: 0 !important;
}

/* Carousel mode: keep exactly 6 thumbnails visible and scroll the rest. */
.product-template-default .content-area div.product .woocommerce-product-gallery.pdp-thumbs-carousel ol.flex-control-thumbs li {
  flex: 0 0 calc((100% - 4rem) / 6) !important;
  width: calc((100% - 4rem) / 6) !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  margin-right: 0.8rem !important;
}

.product-template-default .content-area div.product .woocommerce-product-gallery.pdp-thumbs-carousel ol.flex-control-thumbs li:last-child {
  margin-right: 0 !important;
}

.product-template-default .content-area div.product .woocommerce-product-gallery ol.flex-control-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1;
}

.product-template-default .content-area div.product .woocommerce-product-gallery .pdp-thumbs-nav-row,
.product-template-default .content-area div.product .woocommerce-product-gallery .pdp-gallery-note {
  clear: both;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PDP – Gallery zoom button (top-right of main image)
   ═══════════════════════════════════════════════════════════════════════════ */

.product-template-default .woocommerce-product-gallery {
  position: relative;
}

.pdp-gallery-zoom-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  padding: 10px;
  background: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.15s ease, background 0.15s ease;
}

.pdp-gallery-zoom-btn:hover {
  background: #f5f5f5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.pdp-gallery-zoom-btn svg {
  display: block;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PDP – Product badges (New / Sale / Sold out) — top-left of main image
   ═══════════════════════════════════════════════════════════════════════════ */

.pdp-badges {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pdp-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0 14px;
  height: 45px;
  background: #0A0D04;
  border-radius: 8px;
  font-family: 'Figtree', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.28px;
  color: #fff;
  white-space: nowrap;
}

/* Hide parent theme's old red SVG sale icon */
.product-template-default .content-area div.product .woocommerce-product-gallery.sale-icon::after {
  display: none !important;
}
.product-template-default .sale-icon .onsale {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PDP – Gallery note
   ═══════════════════════════════════════════════════════════════════════════ */

.pdp-gallery-note {
  margin-top: 14px;
  font-size: 14px;
  line-height: 19.6px;
  color: #72736E;
}
body.single-product .pdp-gallery-note__text {
  font-size: 14px;
  color: #72736E;
  line-height: 19.6px;
  font-weight: 400;
}
body.single-product .pdp-gallery-note__label {
  font-weight: 600 !important;
  color: #000000 !important;
  font-size: 14px !important;
  line-height: 19.6px !important;
  margin-bottom: 5px;
}

/* Thumbnail scroll arrows (only shown via JS when strip overflows) */
.pdp-thumbs-nav-row {
  display: none;
}
.pdp-thumbs-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  border: 0;
  border-radius: 1.1rem;
  background: #0b0b0b;
  cursor: pointer;
  color: #fff;
  padding: 0;
  line-height: 1;
  transition: background 0.15s;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}
.pdp-thumbs-nav:hover {
  background: #1f1f1f;
  color: #fff;
}

/* Nav row is a sibling of `ol.flex-control-thumbs`, absolutely positioned over the strip (JS sets top/left/size). */
.product-template-default .content-area div.product .woocommerce-product-gallery .pdp-thumbs-nav-row.js-pdp-thumbs-nav {
  display: block;
  position: absolute;
  z-index: 3;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.product-template-default .content-area div.product .woocommerce-product-gallery .pdp-thumbs-nav-row.js-pdp-thumbs-nav .pdp-thumbs-nav {
  position: absolute;
  top: 65%;
  pointer-events: auto;
}

.product-template-default .content-area div.product .woocommerce-product-gallery .pdp-thumbs-nav-row.js-pdp-thumbs-nav .pdp-thumbs-nav--prev {
  left: 0;
  transform: translate(-50%, -50%);
}

.product-template-default .content-area div.product .woocommerce-product-gallery .pdp-thumbs-nav-row.js-pdp-thumbs-nav .pdp-thumbs-nav--next {
  right: 0rem;
  transform: translate(50%, -50%);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PDP – Summary column
   ═══════════════════════════════════════════════════════════════════════════ */

/* SKU */
.product-template-default .summary .pdp-sku {
  font-size: 14px;
  color: #72736E;
  margin: 0 0 6px;
  line-height: 100%;
}
.product-template-default .summary .pdp-sku .pdp-sku__label {
  color: #72736e;
}

/* ── Price pill ── */
.product-template-default .summary .pdp-price-pill {
  display: inline-flex;
  align-items: center;
  background: #dfddda;
  border-radius: 8px;
  padding: 0.55rem 1.5rem;
  margin: 1.6rem 0 0.4rem;
}
/* Remove gray pill background when a sale price is present */
.product-template-default .summary .pdp-price-pill:has(ins) {
  background: none;
  padding: 0;
  border-radius: 0;
}
.product-template-default .summary .pdp-price-pill .woocommerce-Price-amount.amount {
  padding: 0 !important;
}
.product-template-default .summary .pdp-price-pill .woocommerce-Price-amount,
.product-template-default .summary .pdp-price-pill .price {
  font-size: 1.8rem;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.01em;
}
.product-template-default .summary .pdp-price-pill__pack-area {
  margin-left: 0.6rem;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 400;
  color: #555650;
  white-space: nowrap;
}
/* Sale price layout */
.product-template-default .summary .pdp-price-pill .price {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Sale (active) price — orange pill */
.product-template-default .summary .pdp-price-pill ins {
  text-decoration: none;
  order: -1;
  background: #F5821F;
  border-radius: 6px;
  display: flex;
  padding: 6px 10px;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
}
.product-template-default .summary .pdp-price-pill ins .woocommerce-Price-amount,
.product-template-default .summary .pdp-price-pill ins .woocommerce-Price-amount bdi {
  color: #0A0D04 !important;
  font-family: 'Figtree', sans-serif !important;
  font-size: 24px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 120% !important;
  letter-spacing: -0.48px !important;
}

/* Regular (non-sale) price — same typography */
.product-template-default .summary .pdp-price-pill > .woocommerce-Price-amount,
.product-template-default .summary .pdp-price-pill > .woocommerce-Price-amount bdi {
  font-family: 'Figtree', sans-serif !important;
  font-size: 24px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 120% !important;
  letter-spacing: -0.48px !important;
}

/* €/m² unit — currency symbol + price suffix */
body.single-product.product-template-default .summary .pdp-price-pill ins .woocommerce-Price-amount .woocommerce-Price-currencySymbol,
body.single-product.product-template-default .summary .pdp-price-pill > .woocommerce-Price-amount .woocommerce-Price-currencySymbol,
body.single-product.product-template-default .summary .pdp-price-pill small.woocommerce-price-suffix {
  color: #0A0D04 !important;
  font-family: 'Figtree', sans-serif !important;
  font-size: 20px !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 120% !important;
  letter-spacing: -0.2px !important;
}

body.single-product.product-template-default .summary .pdp-price-pill ins .woocommerce-Price-amount .woocommerce-Price-currencySymbol sup,
body.single-product.product-template-default .summary .pdp-price-pill > .woocommerce-Price-amount .woocommerce-Price-currencySymbol sup {
  font-size: 14px !important;
  vertical-align: baseline !important;
}

/* Old (crossed-out) price */
.product-template-default .summary .pdp-price-pill del {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  opacity: 1;
}
.product-template-default .summary .pdp-price-pill del bdi {
  color: #72736E;
  font-size: 14px !important;
  font-weight: 400;
  text-decoration: none;
  margin-left: 12px;
  position: relative;
  line-height: 100% !important;
  text-decoration-line: line-through;
}
.product-template-default .summary .pdp-price-pill del bdi::after {
  display: none;
}
.product-template-default .summary .pdp-price-pill del .woocommerce-Price-amount {
  color: #72736E !important;
  font-size: 1.6rem !important;
  font-weight: 500;
}


/* ── m² dual stepper ── */
.product-template-default .summary .pdp-m2-qty-wrap {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 16px;
  margin: 0.8rem 0;
}

.product-template-default .summary .pdp-m2-packs-col,
.product-template-default .summary .pdp-m2-area-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  width: 144px;
}

.product-template-default .summary .pdp-m2-packs-col > .pdp-qty-label,
.product-template-default .summary .pdp-m2-area-col > .pdp-qty-label {
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
  color: #0A0D04;
  margin: 0;
  width: 100%;
}

/* Packs stepper box */
.product-template-default .summary .pdp-m2-stepper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 8px;
  gap: 8px;
  width: 144px;
  height: 48px;
  background: #fff;
  border: 2px solid #0A0D04;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Minus button — no background */
.product-template-default .summary .pdp-m2-stepper .pdp-m2-minus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #0A0D04;
  font-family: "Material Symbols Sharp", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  padding-bottom: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.product-template-default .summary .pdp-m2-stepper .pdp-m2-minus:hover {
  background: #ebebeb;
}

/* Plus button */
.product-template-default .summary .pdp-m2-stepper .pdp-m2-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #0A0D04;
  font-family: "Material Symbols Sharp", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  padding-bottom: 12px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.product-template-default .summary .pdp-m2-stepper .pdp-m2-plus:hover,
.product-template-default .summary .pdp-m2-stepper .pdp-m2-plus:focus-visible {
  background: #EBEBEB;
}

/* Packs value */
.product-template-default .summary .pdp-m2-packs-val {
  flex-grow: 1;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #0A0D04;
}

/* "vai" separator — vertically centred with the 48px input height */
.product-template-default .summary .pdp-m2-vai {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  font-size: 1.4rem;
  line-height: 1.4;
  color: #72736E;
  flex-shrink: 0;
}

/* Area (m²) input box — 1px border */
.product-template-default .summary .pdp-m2-area-wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  gap: 8px;
  width: 144px;
  height: 48px;
  background: #fff;
  border: 1px solid #0A0D04;
  border-radius: 8px;
  box-sizing: border-box;
}

.product-template-default .summary .pdp-m2-area-input {
  flex-grow: 1;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: #0A0D04;
  padding: 0;
  min-width: 0;
}
.product-template-default .summary .pdp-m2-area-input::placeholder {
  color: #72736E;
}

.product-template-default .summary .pdp-m2-unit {
  font-size: 1.6rem;
  line-height: 1.4;
  color: #72736E;
  flex-shrink: 0;
  text-align: right;
}

.single-product div.product form.cart {
  margin-bottom: 40px !important;
  padding: 10px 0 0 !important;
}

.product-template-default .content-area div.product .single_add_to_cart_button {
  margin: 24px 0 0 0 !important;
}

/* ── Tax notice ── */
body.single-product.product-template-default .summary .pdp-tax-notice {
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #72736E !important;
  margin: 6px 0 20px !important;
  line-height: 16.8px !important;
}

.quantity,
.day-input {
  margin: 0 !important;
}

/* ── Quantity label ── */
.product-template-default .summary .pdp-qty-label {
  font-size: 16px;
  font-weight: 400;
  color: #0A0D04;
  margin: 0 0 8px;
  line-height: 22.4px;
}

/* ── Quantity stepper ── */
.product-template-default .summary form.cart .quantity {
  display: inline-flex;
  align-items: center;
  width: auto;
  height: 4.6rem;
  background: #fff;
  border: 2px solid #111;
  border-radius: 10px;
  padding: 2px 6px;
  overflow: hidden;
  margin-top: 0 !important;
}
.product-template-default .summary form.cart .quantity .minus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 6px;
  padding-bottom: 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #0A0D04;
  font-family: "Material Symbols Sharp", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.product-template-default .summary form.cart .quantity .plus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 6px;
  padding-bottom: 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #0A0D04;
  font-family: "Material Symbols Sharp", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}
.product-template-default .summary form.cart .quantity .minus:hover,
.product-template-default .summary form.cart .quantity .minus:focus,
.product-template-default .summary form.cart .quantity .minus:focus-visible,
.product-template-default .summary form.cart .quantity .plus:hover,
.product-template-default .summary form.cart .quantity .plus:focus,
.product-template-default .summary form.cart .quantity .plus:focus-visible {
  background: #EBEBEB;
}
.product-template-default .summary form.cart .quantity .qty {
  width: 3.6rem;
  flex-shrink: 0;
  border: 0 !important;
  background: transparent;
  box-shadow: none !important;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  color: #111;
  margin: 0 8px;
  padding: 0;
  appearance: textfield;
}
.product-template-default .summary form.cart .quantity .qty::-webkit-outer-spin-button,
.product-template-default .summary form.cart .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ── Add-to-cart button ── */
.product-template-default .summary .pdp-atc-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100% !important;
  background: #0A0D04 !important;
  color: #FFFFFF !important;
  border: 1px solid #0A0D04 !important;
  border-radius: 8px !important;
  padding: 14px 20px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer;
  margin-top: 1.4rem;
  line-height: 1.2;
  letter-spacing: 0;
  transition: all 0.5s ease !important;
  box-shadow: none !important;
}
.product-template-default .summary .pdp-atc-btn:hover {
  background: #fff !important;
  color: #0A0D04 !important;
  border: 1px solid #0A0D04 !important;
  transition: all 0.5s ease !important;
}
.product-template-default .summary .pdp-atc-btn .pdp-atc-sep {
  opacity: 0.5;
}
.product-template-default .summary .pdp-atc-btn .pdp-atc-total {
  font-weight: 600;
}

/* ── Shipping section ── */
.product-template-default .summary .pdp-shipping {
  margin-top: 2.4rem;
}
body.single-product.product-template-default .summary .pdp-shipping__header {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #72736E !important;
  text-transform: none !important;
  letter-spacing: 0.03em !important;
  margin: 0 0 12px !important;
  line-height: 14px !important;
}
.product-template-default .summary .pdp-shipping__rows {
  border-top: 1px solid #D8D8D7 !important;
  padding-top: 16px !important;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.product-template-default .summary .pdp-shipping__row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.4rem;
  line-height: 1.5;
}
.product-template-default .summary .pdp-shipping__icon {
  flex-shrink: 0;
  color: #555;
  margin-top: 0.2rem;
}
.product-template-default .summary .pdp-shipping__icon .pdp-shipping__icon-img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.product-template-default .summary .pdp-shipping__block {
  flex: 1;
  min-width: 0;
  color: #1a1a1a;
}
body.single-product.product-template-default .summary .pdp-shipping__title {
  font-weight: 600 !important;
  color: #000000 !important;
  font-size: 16px !important;
  line-height: 22.4px !important;
  margin: 0 0 6px !important;
}
.product-template-default .summary .pdp-shipping__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 0.5rem;
  font-size: 1.3rem;
  line-height: 1.45;
  color: #888;
}
.product-template-default .summary .pdp-shipping__dot {
  width: 8px;
  height: 8px;
  margin-bottom: 2px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  flex-shrink: 0;
}
.product-template-default .summary .pdp-shipping__dot--out {
  background: #bbbbb9;
}
.product-template-default .summary .pdp-shipping__dot--in {
  background: #008043 !important;
  width: 8px !important;
  height: 8px !important;
  aspect-ratio: 1 / 1 !important;
  margin-bottom: 2px !important;
}
body.single-product.product-template-default .summary .pdp-shipping__status {
  font-size: 14px !important;
  color: #0A0D04 !important;
  line-height: 14px !important;
  margin-left: 2px !important;
}
body.single-product.product-template-default .summary .pdp-shipping__rules {
  font-size: 14px !important;
  color: #555650 !important;
  font-weight: 400 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
  margin-left: 0.3rem !important;
  line-height: 14px !important;
}
.product-template-default .summary .pdp-shipping__rules:hover {
  color: #3d3e3a;
}

/* ── Info box card ── */
.product-template-default .summary .pdp-info-box {
  background: #F8F6F2;
  border-radius: 12px;
  padding: 18px;
  margin-top: 40px;
  font-size: 14px;
  line-height: 19.6px;
  color: #0A0D04;
}
.product-template-default .summary .pdp-info-box__content {
  margin: 0 0 1.9rem;
}
.product-template-default .summary .pdp-info-box__content p {
  margin: 0 0 1.2rem;
  font-size: 14px;
  line-height: 19.6px;
  font-weight: 400;
}
.product-template-default .summary .pdp-info-box__content p:last-child {
  margin-bottom: 0;
}
.product-template-default .summary .pdp-info-box__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.8rem;
  padding: 10px 20px;
  border: 1px solid #0A0D04;
  border-radius: 8px;
  background: #FFFFFF;
  color: #0A0D04;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.5s ease;
  font-family: inherit;
}
.product-template-default .summary .pdp-info-box__btn:hover {
  background: #0A0D04;
  color: #fff !important;
}

/* WooCommerce add-to-cart success notice on PDP */
.product-template-default .woocommerce-message {
  margin-left: 0;
  margin-top: 0.8rem;
  padding-top: 0;
  padding-bottom: 0;
  border: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  color: #16a34a !important;
}
.product-template-default .woocommerce-message:focus,
.product-template-default .woocommerce-message:active,
.product-template-default .woocommerce-message:focus-visible {
  border: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}
.product-template-default .woocommerce-message::before {
  color: #16a34a !important;
}
.product-template-default .woocommerce-message a,
.product-template-default .woocommerce-message .button {
  color: #16a34a !important;
}
.product-template-default .woocommerce-message a:focus,
.product-template-default .woocommerce-message a:active,
.product-template-default .woocommerce-message a:focus-visible,
.product-template-default .woocommerce-message .button:focus,
.product-template-default .woocommerce-message .button:active,
.product-template-default .woocommerce-message .button:focus-visible {
  color: #16a34a !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.site-content > .col-full > .woocommerce > .woocommerce-message:first-child {
  margin: 0 !important;
}

@media (min-width: 992px) {
  .product-template-default .content-area {
    margin-top: 2.5rem !important;
  }
  body.single-product.product-template-default .content-area {
    margin-top: 2.5rem !important;
  }
}

@media (max-width: 991px) {
  body.single-product.product-template-default .content-area div.product .woocommerce-product-gallery.pdp-thumbs-carousel ol.flex-control-thumbs li {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
  }
  body.single-product.product-template-default .content-area div.product .woocommerce-product-gallery.pdp-thumbs-carousel ol.flex-control-thumbs li img {
    height: 100% !important;
  }

  .product-template-default .woocommerce-message {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em;
  }
  .product-template-default .woocommerce-message .button {
    font-size: 1.2rem !important;
    padding: 0.35rem 0.8rem !important;
  }

  .product-template-default .woocommerce-product-gallery .pdp-thumbs-nav-row,
  .product-template-default .woocommerce-product-gallery .pdp-thumbs-nav {
    display: none !important;
  }

  .product-template-default .summary .pdp-tax-notice {
    margin: 0 0 0;
  }

  .pdp-gallery-note {
    margin-bottom: 3rem;
  }
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper {
  margin-top: 6rem;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border: 0 !important;
  border-bottom: 0 !important;
  background: #F8F6F2;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper::before,
.product-template-default .woocommerce-tabs.wc-tabs-wrapper::after {
  border: 0 !important;
  border-bottom: 0 !important;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-tabs-inner {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem;
  box-sizing: border-box;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper .read_more,
.product-template-default .woocommerce-tabs.wc-tabs-wrapper .read_btn {
  display: none !important;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-tab-title {
  margin: 0 0 1.6rem;
  font-family: Figtree, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 28.8px;
  letter-spacing: -0.24px;
  color: #0A0D04;
}

/* Mobile product tabs: vertical stack, full-width pills (reference layout) */
@media (max-width: 991px) {
  .product-template-default .mobile-tabs {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 2.4rem;
  }

  .product-template-default .mobile-tabs .tabs {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: 100%;
  }

  .product-template-default .mobile-tabs .tabs > .block {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .product-template-default .mobile-tabs .tabs > .block .tab {
    width: 100%;
    flex-shrink: 0;
  }

  .product-template-default .mobile-tabs .tabs > .block .mobile-tab-panel {
    width: 100%;
    border-bottom: none;
    padding: 2rem;
  }

  .product-template-default .mobile-tabs .tabs .tab a {
    width: 100%;
    box-sizing: border-box;
    min-height: 4.8rem;
    padding: 1rem 1rem;
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    background: #fff;
    color: #1a1a1a !important;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
    -webkit-tap-highlight-color: transparent;
    outline: none;
    box-shadow: none;
  }

  .product-template-default .mobile-tabs .tabs .tab a:focus,
  .product-template-default .mobile-tabs .tabs .tab a:active,
  .product-template-default .mobile-tabs .tabs .tab a:focus-visible {
    outline: none !important;
    box-shadow: none !important;
  }

  .product-template-default .mobile-tabs .tab a:before {
    display: none !important;
  }

  .product-template-default .mobile-tabs .tab a:after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 1rem;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M9.125%206.75H0V5.25H9.125L4.9375%201.0625L6%200L12%206L6%2012L4.9375%2010.9375L9.125%206.75Z%22%20fill%3D%22%231a1a1a%22/%3E%3C/svg%3E")
      center / contain no-repeat;
  }

  .product-template-default .mobile-tabs .tab.active {
    background: transparent;
  }

  .product-template-default .mobile-tabs .tab.active a,
  .product-template-default .mobile-tabs .tab.active a:visited,
  .product-template-default .mobile-tabs .tab.active a:hover,
  .product-template-default .mobile-tabs .tab.active a:focus {
    background-color: #151515 !important;
    color: #ffffff !important;
    border-color: #151515 !important;
    -webkit-tap-highlight-color: transparent;
  }

  .product-template-default .mobile-tabs .tab.active a:after {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M9.125%206.75H0V5.25H9.125L4.9375%201.0625L6%200L12%206L6%2012L4.9375%2010.9375L9.125%206.75Z%22%20fill%3D%22%23ffffff%22/%3E%3C/svg%3E");
  }

  /* Keep arrow orientation; parent theme may add .rotate for chevron */
  .product-template-default .mobile-tabs .tab a.rotate:after {
    transform: none;
  }

  .product-template-default .mobile-tabs .woocommerce-Tabs-panel {
    float: none !important;
    width: 100% !important;
    max-height: none !important;
    min-height: 0 !important;
    margin-top: 0.9rem !important;
    margin-bottom: 0 !important;
    overflow: visible !important;
    position: relative !important;
  }

  .product-template-default .mobile-tabs .woocommerce-Tabs-panel.expanded {
    max-height: none !important;
    overflow: visible !important;
  }

  .product-template-default .mobile-tabs .woocommerce-Tabs-panel .read_more {
    display: none !important;
  }

  /* Compact mobile content typography inside tab panels */
  .product-template-default .mobile-tabs .mobile-tab-panel,
  .product-template-default .mobile-tabs .mobile-tab-panel p,
  .product-template-default .mobile-tabs .mobile-tab-panel li,
  .product-template-default .mobile-tabs .mobile-tab-panel a {
    font-size: 1.7rem;
    line-height: 1.55;
  }

  .product-template-default .mobile-tabs .mobile-tab-panel h1,
  .product-template-default .mobile-tabs .mobile-tab-panel h2,
  .product-template-default .mobile-tabs .mobile-tab-panel h3,
  .product-template-default .mobile-tabs .mobile-tab-panel h4,
  .product-template-default .mobile-tabs .mobile-tab-panel h5,
  .product-template-default .mobile-tabs .mobile-tab-panel .pdp-tab-title {
    font-size: 2rem !important;
    line-height: 1.25;
    margin-bottom: 1.2rem;
  }
}

.product-template-default .mobile-tabs .woocommerce-Tabs-panel--global_1 h5,
.product-template-default .mobile-tabs .woocommerce-Tabs-panel--local_default_1 h5,
.product-template-default .mobile-tabs .woocommerce-Tabs-panel--albin_product_video h5 {
  margin: 0 0 1.2rem;
  font-size: 2.4rem;
  line-height: 1.2;
  font-weight: 500;
  color: #1a1a1a;
}

@media (min-width: 992px) {
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper {
    display: flex;
    align-items: stretch;
    margin-top: 96px !important;
    padding: 0 !important;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-tabs-inner {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: flex-start;
    column-gap: 14.2rem;
    padding: 96px 0;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    margin: 0;
    padding: 0;
    flex: none;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs li {
    margin: 0 0 0.9rem;
    width: 100%;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs li a {
    min-height: 4.4rem;
    padding: 1rem 1.5rem;
    border: 1px solid #d7d7d7;
    border-radius: 4px;
    background: #fff;
    color: #1a1a1a !important;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs li a:before {
    display: none !important;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs li a:after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 1rem;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M9.125%206.75H0V5.25H9.125L4.9375%201.0625L6%200L12%206L6%2012L4.9375%2010.9375L9.125%206.75Z%22%20fill%3D%22%231a1a1a%22/%3E%3C/svg%3E")
      center / contain no-repeat;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs li.active a {
    background: #151515;
    color: #fff !important;
    border-color: #151515;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper ul.tabs.wc-tabs li.active a:after {
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M9.125%206.75H0V5.25H9.125L4.9375%201.0625L6%200L12%206L6%2012L4.9375%2010.9375L9.125%206.75Z%22%20fill%3D%22%23ffffff%22/%3E%3C/svg%3E");
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel {
    width: 100%;
    min-width: 0;
    float: none;
    max-height: none;
    margin-top: 0;
    margin-bottom: 0;
    overflow: visible;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel .read_more {
    background: #F8F6F2;
  }

  /* Specifications tab layout */
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information {
    display: block;
    column-count: 2;
    column-gap: 5.5rem;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information h5,
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information > p,
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information > table {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information h5,
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information > p,
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information > table.shop_attributes {
    column-span: all;
    -webkit-column-span: all;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information h5,
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--global_1 h5,
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--local_default_1 h5,
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--albin_product_video h5 {
    margin: 0 0 1.6rem;
    font-family: Figtree, sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 28.8px;
    letter-spacing: -0.24px;
    color: #0A0D04;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information > p {
    margin: 0 0 2.4rem;
    font-size: 1.35rem;
    line-height: 1.55;
    color: #232323;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information > table.shop_attributes {
    width: 100%;
    border: 0 !important;
    border-collapse: collapse;
    margin: 0 0 1rem;
    background: transparent;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information > table.shop_attributes th,
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information > table.shop_attributes td {
    border: 0 !important;
    border-bottom: 1px solid #dddddd !important;
    padding: 1.1rem 0.8rem 1.1rem 0;
    font-size: 1.35rem;
    line-height: 1.35;
    color: #1f1f1f;
    vertical-align: middle;
    background: transparent !important;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information table.shop_attributes th {
    width: 26%;
    font-weight: 400 !important;
    color: #3a3a3a;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information table.shop_attributes th p,
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information table.shop_attributes th *,
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information table.shop_attributes th strong,
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information table.shop_attributes th b {
    font-weight: 400 !important;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information table.shop_attributes td {
    font-weight: 600 !important;
    color: #191919;
    text-align: right;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information table.shop_attributes td p,
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information table.shop_attributes td * {
    font-weight: 600 !important;
  }

  /* WC + ACF spec rows live in one .woocommerce-product-attributes.shop_attributes wrapper */
  /* WooCommerce 8+ div-based product attributes (woocommerce-product-attributes-item__label / __value) */
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes.shop_attributes {
    column-span: all;
    -webkit-column-span: all;
    width: calc(100% + 2rem);
    max-width: none;
    margin-right: -2rem;
    padding-right: 0;
    padding-left: 0;
    margin-left: 0;
    box-sizing: border-box;
    column-count: 2;
    column-gap: 5.5rem;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes.shop_attributes .block {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 1.2rem;
    margin: 0;
    padding: 16px 0 12px;
    border-bottom: 1px solid #D8D8D7;
  }

  .woocommerce-Tabs-panel .block p {
    margin: 0 !important;
    width: 100% !important;
  }
  .woocommerce-Tabs-panel .block p:last-child {
    padding-left: 1rem !important;
    width: 100% !important;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__label {
    margin: 0 !important;
    padding: 0 1rem 0 0 !important;
    font-size: 14px;
    line-height: 19.6px;
    font-weight: 400 !important;
    color: #000000;
    text-align: left;
    justify-self: start;
    min-width: 0;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__label strong,
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__label b {
    font-weight: 400 !important;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__value {
    margin: 0 !important;
    font-size: 14px;
    line-height: 19.6px;
    font-weight: 600 !important;
    color: #000000;
    text-align: right;
    justify-self: end;
    min-width: 0;
  }

  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__value strong,
  .product-template-default .woocommerce-tabs.wc-tabs-wrapper .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__value b {
    font-weight: 600 !important;
  }
}

/* WooCommerce div-based attributes — font weights (desktop + mobile tab UIs) */
.product-template-default .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__label,
.product-template-default .mobile-tabs .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__label {
  font-weight: 400 !important;
}

.product-template-default .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__label strong,
.product-template-default .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__label b,
.product-template-default .mobile-tabs .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__label strong,
.product-template-default .mobile-tabs .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__label b {
  font-weight: 400 !important;
}

.product-template-default .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__value,
.product-template-default .mobile-tabs .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__value {
  font-weight: 600 !important;
}

.product-template-default .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__value strong,
.product-template-default .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__value b,
.product-template-default .mobile-tabs .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__value strong,
.product-template-default .mobile-tabs .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__value b {
  font-weight: 600 !important;
}

.product-template-default .mobile-tabs .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes.shop_attributes {
  width: 100%;
  max-width: 100%;
  margin-right: 0;
  padding-right: 0;
  box-sizing: border-box;
  column-count: 1;
  column-gap: 0;
}

.product-template-default .mobile-tabs .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes.shop_attributes .block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  column-gap: 1rem;
  margin: 0;
  padding: 1.1rem 0;
  border-bottom: 1px solid #dddddd;
}

.product-template-default .mobile-tabs .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__label {
  text-align: left;
  justify-self: start;
  font-size: 1.55rem;
  line-height: 1.45;
}

.product-template-default .mobile-tabs .woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes-item__value {
  text-align: right;
  justify-self: end;
  font-size: 1.55rem;
  line-height: 1.45;
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Technical tab: PDF downloads (Lejuplāde) — desktop + mobile tab panels */
.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-downloads,
.product-template-default .mobile-tabs .pdp-downloads {
  margin-top: 1.25rem;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-downloads__label,
.product-template-default .mobile-tabs .pdp-downloads__label {
  margin: 4rem 0 0.5rem;
  font-size: 1.275rem;
  font-weight: 400;
  line-height: 1.3;
  color: #888888;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-downloads__rule,
.product-template-default .mobile-tabs .pdp-downloads__rule {
  height: 0;
  margin: 0 0 0.85rem;
  border: 0;
  border-top: 1px solid #dddddd;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-downloads__list,
.product-template-default .mobile-tabs .pdp-downloads__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-downloads__item,
.product-template-default .mobile-tabs .pdp-downloads__item {
  margin: 0 0 0.75rem;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-downloads__item:last-child,
.product-template-default .mobile-tabs .pdp-downloads__item:last-child {
  margin-bottom: 0;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-downloads__link,
.product-template-default .mobile-tabs .pdp-downloads__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
  font-size: inherit;
  line-height: 1.4;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-downloads__link:hover,
.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-downloads__link:focus,
.product-template-default .mobile-tabs .pdp-downloads__link:hover,
.product-template-default .mobile-tabs .pdp-downloads__link:focus {
  color: inherit;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-downloads__icon,
.product-template-default .mobile-tabs .pdp-downloads__icon {
  display: inline-block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M12%2016L7%2011L8.4%209.55L11%2012.15V4H13V12.15L15.6%209.55L17%2011L12%2016ZM4%2020V15H6V18H18V15H20V20H4Z%22%20fill%3D%22%23242424%22%2F%3E%3C%2Fsvg%3E")
    center / contain no-repeat;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-downloads__text,
.product-template-default .mobile-tabs .pdp-downloads__text {
  flex: 1;
  min-width: 0;
}

/* Product video tab (ACF `video` URL) */
.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-video-tab,
.product-template-default .mobile-tabs .pdp-video-tab {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.product-template-default .woocommerce-tabs.wc-tabs-wrapper .pdp-video-tab iframe,
.product-template-default .mobile-tabs .pdp-video-tab iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Related products: spacing + remove top border from parent theme (related.scss / app.css) */
.related.products {
  padding-top: 5rem;
}

@media (min-width: 992px) {
  .related.products {
    border-top: none !important;
    margin-top: -1px;
    width: 100%;
    padding: 96px 0 !important;
  }
}

.related.products.related--recommended > h2:first-child {
  font-weight: 400;
}

@media (min-width: 992px) {
  .related.products > h2 {
    font-size: 40px !important;
    font-weight: 400 !important;
    line-height: 48px !important;
    letter-spacing: -1.2px !important;
    color: #0A0D04 !important;
    margin-bottom: 40px !important;
  }
}

@media (max-width: 991px) {
  .related.products > h2 {
    font-size: 28px !important;
    font-weight: 400 !important;
    line-height: 33.6px !important;
    letter-spacing: -0.84px !important;
    color: #0A0D04 !important;
    margin-bottom: 24px !important;
  }
}

/* Related products only — price amounts */
.single-product .related.products .woocommerce-Price-amount {
  font-size: 16px !important;
  padding: 2px 0 !important;
  font-weight: 600;
}

/* Recommended / related: horizontal scroll (native hidden; pdp-thumb-scrollbar same as gallery) */
.related.products.related--recommended .related-products__track {
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

.related.products.related--recommended .related-products__track .related-nav-btn {
  position: absolute;
  top: calc(50% - 95px);
  z-index: 10;
  transform: translateY(-50%);
}

.related.products.related--recommended .related-products__track .pdp-thumbs-nav--prev {
  left: -20px;
}

.related.products.related--recommended .related-products__track .pdp-thumbs-nav--next {
  right: -20px;
}

.related.products.related--recommended .related-products__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  container-type: inline-size;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.related.products.related--recommended .related-products__scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* Same custom scrollbar as PDP gallery thumbnails (see pdp-summary.js + gallery rules above) */
.related.products.related--recommended .pdp-thumb-scrollbar {
  display: none;
  flex-shrink: 0;
  width: 100%;
  margin-top: 26px;
  line-height: 0;
}

.related.products.related--recommended .pdp-thumb-scrollbar.is-visible {
  display: block;
}

.related.products.related--recommended .pdp-thumb-scrollbar__track {
  position: relative;
  width: 100%;
  height: 1.4rem;
  cursor: pointer;
  background: transparent;
}

.related.products.related--recommended .pdp-thumb-scrollbar__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  background: #e7e7e6;
  pointer-events: none;
}

.related.products.related--recommended .pdp-thumb-scrollbar__thumb {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  margin-top: -2px;
  min-width: 0.8rem;
  background: #151515;
  border-radius: 0;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
}

.related.products.related--recommended .pdp-thumb-scrollbar__thumb:active {
  cursor: grabbing;
}

.related.products.related--recommended .related-products__scroll .product-wrapper {
  padding: 0 !important;
  margin: 0 !important;
}

.related.products.related--recommended .related-products__scroll .product-wrapper ul.products {
  display: flex !important;
  flex-wrap: nowrap !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0;
  padding: 0 0 4px !important;
  gap: 0;
  width: max-content;
  max-width: none;
}

.related.products.related--recommended .related-products__scroll li.product.product--recommended {
  flex: 0 0 min(280px, calc(50vw - 2rem)) !important;
  width: min(280px, calc(50vw - 2rem)) !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 40px !important;
  margin-bottom: 0;
  padding-left: 0 !important;
  padding-right: 0 !important;
  align-items: stretch;
}

.related.products.related--recommended .related-products__scroll li.product.product--recommended:last-child {
  margin-right: 0 !important;
}

@media (min-width: 992px) {
  .related.products.related--recommended .related-products__scroll li.product.product--recommended {
    flex: 0 0 calc((100cqi - 120px) / 4) !important;
    width: calc((100cqi - 120px) / 4) !important;
  }
}

/* Recommended / related product cards (single product) */
.related.products.related--recommended .rec-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: inherit;
}

.related.products.related--recommended .rec-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  line-height: 0;
}

.related.products.related--recommended .rec-card__image {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
  margin-bottom: 0.5rem;
}

.related.products.related--recommended .rec-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.related.products.related--recommended .rec-card__badge {
  display: inline-block;
  padding: 6px 10px;
  background: #0A0D04;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: -0.28px;
  border-radius: 4px;
}

.related.products.related--recommended .rec-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 1rem;
  text-align: left;
}

.related.products.related--recommended .rec-card__category {
  margin: 0 0 0.5rem;
  font-size: 1.275rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
}

.related.products.related--recommended .rec-card__category .rec-card__category-link {
  font-size: 14px;
  color: #0A0D04;
  font-weight: 600;
  line-height: 14px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
}

.related.products.related--recommended .rec-card__category .rec-card__category-link:hover,
.related.products.related--recommended .rec-card__category .rec-card__category-link:focus {
  color: inherit;
}

.related.products.related--recommended .rec-card__stock {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 3px 0 4px;
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 400;
}

.related.products.related--recommended .rec-card__stock.is-in-stock {
  color: #1a1a1a;
}

.related.products.related--recommended .rec-card__stock.is-in-stock .rec-card__stock-dot {
  background: #008043;
  width: 8px;
  height: 8px;
  aspect-ratio: 1 / 1;
  margin-bottom: 2px;
}

.related.products.related--recommended .rec-card__stock.is-out-of-stock {
  color: #1a1a1a;
}

.related.products.related--recommended .rec-card__stock.is-out-of-stock .rec-card__stock-dot {
  background: #f37021;
}

.related.products.related--recommended .rec-card__stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.related.products.related--recommended .rec-card__stock-text {
  color: #0A0D04;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
}

.related.products.related--recommended .rec-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 22.4px;
  color: #0A0D04;
  text-decoration: none;
  display: block;
}

.related.products.related--recommended .rec-card__title:hover {
  text-decoration: underline;
}

.related.products.related--recommended .rec-card__price-wrap {
  margin-top: auto;
}

.related.products.related--recommended .rec-card__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-top: 7px;
}

.related.products.related--recommended .rec-card__price-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 4px 6px;
  border-radius: 5px;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1a1a1a;
}

.related.products.related--recommended .rec-card__price-pill .woocommerce-Price-amount,
.related.products.related--recommended .rec-card__price-wrap .woocommerce-Price-amount {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #0A0D04 !important;
  line-height: 22.4px !important;
}

.related.products.related--recommended .rec-card__price-pill--regular {
  background: #e9e9e9;
}

.related.products.related--recommended .rec-card__price-pill .woocommerce-Price-currencySymbol {
  font-size: 16px;
  color: #0A0D04;
  font-weight: 600;
  line-height: 22.4px;
}

.related.products.related--recommended .rec-card__price-pill--sale {
  background: #ff912c;
  color: #1a1a1a;
}

.related.products.related--recommended .rec-card__price-unit {
  font-weight: 700;
  white-space: nowrap;
}

.related.products.related--recommended .rec-card__price-was {
  font-size: 1.2rem;
  font-weight: 400;
  color: #888888;
}

.related.products.related--recommended .rec-card__price-was .woocommerce-Price-amount {
  font-weight: 400 !important;
  color: #72736D !important;
  text-decoration-line: line-through;
  font-size: 14px !important;
  line-height: 14px !important;
}

@media (max-width: 991px) {
  .product-template-default .site-content {
    padding-top: 0 !important;
  }
}

/* Cart page redesign (pixel pass) */
.woocommerce-cart .page_content,
.woocommerce-cart .page-content {
  max-width: 100% !important;
}

.woocommerce-cart .ps-cart-layout * {
  box-sizing: border-box;
}

.woocommerce-cart .ps-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  column-gap: 152px;
  align-items: start;
  margin-top: 0.2rem;
}

.woocommerce-cart .ps-cart-title {
  font-size: 48px !important;
  margin: 32px 0 64px !important;
  line-height: 57.6px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em;
  color: #0A0D04 !important;
}

.woocommerce-cart .ps-cart-breadcrumbs {
  margin: 32px 0 0 !important;
  font-size: 1.1rem;
  color: #8a8a8a;
  line-height: 1.3;
}

.woocommerce-cart .ps-cart-breadcrumbs a {
  color: #555650 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  margin-right: 2px !important;
}

.woocommerce-cart .ps-cart-breadcrumbs .sep {
  color: #72736E !important;
}

.woocommerce-cart .ps-cart-breadcrumbs > span:not(.sep) {
  color: #72736E !important;
  font-size: 14px !important;
  margin-left: 3px !important;
  line-height: 14px !important;
  font-weight: 400 !important;
}


.woocommerce-cart .ps-cart-table,
.woocommerce-cart .ps-cart-table.shop_table {
  width: 100%;
  margin: 0;
  border: 0 !important;
  border-collapse: collapse;
}

.woocommerce-cart .ps-cart-table thead th {
  border: 0 !important;
  border-bottom: 1px solid #D8D8D7 !important;
  font-size: 14px !important;
  line-height: 14px !important;
  font-weight: 400 !important;
  color: #757575 !important;
  padding: 0 0 20px !important;
  text-transform: none;
  text-align: left !important;
}

.woocommerce-cart .ps-cart-table td {
  border: 0 !important;
  border-bottom: 1px solid #ececec !important;
  padding: 1.7rem 0 !important;
  vertical-align: middle;
  background: transparent !important;
}

.woocommerce-cart .ps-cart-product {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  column-gap: 16px !important;
  align-items: center;
}

.woocommerce-cart .ps-cart-product__thumb img {
  width: 56px !important;
  height: 56px !important;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
}

.woocommerce-cart .ps-cart-product__meta,
.woocommerce-cart .ps-cart-product__meta a,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-name a {
  color: #1E1E1E !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 19.6px !important;
  font-weight: 400;
  text-align: left !important;
  text-overflow: ellipsis;
  transition: all 0.5s ease;
}
.woocommerce-cart table.woocommerce-cart-form__contents td.product-name a:hover {
  color: #F5821F !important;
}

.woocommerce-cart .ps-cart-table .product-price,
.woocommerce-cart .ps-cart-table .product-subtotal {
  font-size: 1.9rem !important;
  font-weight: 600 !important;
  color: #1a1a1a !important;
  white-space: nowrap;
}

/* Cart quantity stepper — see comprehensive block below (table.woocommerce-cart-form__contents) */

.woocommerce-cart .ps-cart-table .product-remove {
  text-align: right;
  width: 2.2rem;
}

.woocommerce-cart .ps-cart-table .product-remove a.remove {
  color: transparent !important;
  font-size: 0 !important;
  width: 1.8rem !important;
  height: 1.8rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1 !important;
  margin-bottom: 5px;
}

.woocommerce-cart .ps-cart-table .product-remove a.remove:before {
  content: "";
  width: 20px;
  height: 20px;
  display: block;
  background: url("data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2020%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M5%2017V5.5H4V4H8V3H12V4H16V5.5H15V17H5ZM6.5%2015.5H13.5V5.5H6.5V15.5ZM8%2014H9.5V7H8V14ZM10.5%2014H12V7H10.5V14ZM6.5%205.5V15.5V5.5Z%22%20fill%3D%22%230A0D04%22/%3E%3C/svg%3E") center/20px 20px no-repeat;
}

.woocommerce-cart .ps-cart-actions {
  display: none !important;
}

.woocommerce-cart .ps-cart-sidebar {
  position: relative;
}

.woocommerce-cart .ps-cart-totals {
  background: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.woocommerce-cart .ps-cart-totals > h2 {
  margin: 0 0 1.1rem !important;
  font-size: 4rem !important;
  line-height: 1.08;
  font-weight: 500 !important;
  color: #151515 !important;
}

.woocommerce-cart .ps-cart-totals__rows {
  border-top: 1px solid #ececec;
  padding-top: 1rem;
}

.woocommerce-cart .ps-cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.52rem 0;
  font-size: 2rem;
  line-height: 1.25;
  color: #2a2a2a;
}

.woocommerce-cart .ps-cart-row span:last-child {
  white-space: nowrap;
}

.woocommerce-cart .ps-cart-row.cart-discount span:last-child,
.woocommerce-cart .ps-cart-row.cart-discount .woocommerce-Price-amount {
  color: #138f65 !important;
  font-weight: 600;
}

.woocommerce-cart .ps-cart-row.order-total {
  margin-top: 0.9rem;
  padding-top: 1.45rem;
  border-top: 1px solid #ececec;
  font-size: 2.8rem;
  font-weight: 700;
  color: #151515;
}

.woocommerce-cart .ps-cart-coupon {
  margin-top: 1.9rem;
}

.woocommerce-cart .ps-cart-coupon label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 1.45rem;
  color: #303030;
}

.woocommerce-cart .ps-cart-coupon__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
}

.woocommerce-cart .ps-cart-coupon input {
  height: 4.45rem;
  border: 1px solid #c7c7c7;
  border-radius: 0.8rem;
  padding: 0 1.2rem;
  font-size: 1.5rem;
  background: #fff;
}

.woocommerce-cart .ps-cart-coupon.has-coupon input {
  background: #e5f4ea;
  border-color: #8cc3a8;
}

.woocommerce-cart .ps-cart-coupon button {
  height: 4.45rem;
  border-radius: 0.8rem;
  border: 1px solid #b7b7b7;
  background: #fff;
  padding: 0 1.55rem;
  font-size: 1.45rem;
  color: #2a2a2a;
}

.woocommerce-cart .ps-cart-coupon__ok {
  margin: 0.75rem 0 0;
  color: #138f65;
  font-size: 1.3rem;
}

.woocommerce-cart .ps-cart-coupon__ok-icon {
  display: inline-flex;
  margin-left: 0.45rem;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid #138f65;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.woocommerce-cart .ps-checkout-btn {
  display: flex !important;
  width: 100%;
  height: 5.2rem;
  border-radius: 0.8rem !important;
  background: #060b00 !important;
  color: #fff !important;
  justify-content: center;
  align-items: center;
  font-size: 1.65rem;
  font-weight: 600;
  margin-top: 1.85rem;
  border: 0 !important;
}

/* Right summary panel - exact visual tune */
.woocommerce-cart .ps-cart-sidebar .ps-cart-totals,
.woocommerce-cart .ps-cart-sidebar .cart_totals {
  margin-top: 0;
  max-width: 100%;
  width: 100%;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-totals > h2,
.woocommerce-cart .ps-cart-sidebar .cart_totals > h2 {
  font-size: 24px !important;
  line-height: 28.8px !important;
  font-weight: 500 !important;
  margin: 0 0 12px !important;
  color: #0A0D04 !important;
  letter-spacing: -0.24px !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-totals__rows {
  border-top: 1px solid #D8D8D7 !important;
  border-bottom: 1px solid #D8D8D7 !important;
  padding: 24px 0 !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-row {
  padding: 0.5rem 0 !important;
  font-size: 16px !important;
  line-height: 22.4px !important;
  color: #72736E !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-row .woocommerce-Price-amount {
  color: #72736E !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 22.4px !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-row.cart-discount span:first-child,
.woocommerce-cart .ps-cart-sidebar .ps-cart-row.cart-discount .woocommerce-Price-amount {
  color: #149564 !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-row.order-total {
  margin-top: 24px !important;
  padding-top: 24px !important;
  border-top: 1px solid #D8D8D7 !important;
  font-size: 1.3rem;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-row.order-total span:first-child {
  color: #0D1212 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 25.2px !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-row.order-total span:last-child,
.woocommerce-cart .ps-cart-sidebar .ps-cart-row.order-total .woocommerce-Price-amount {
  color: #0D1212 !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 25.2px !important;
}

/* Hide Woo "includes tax" helper line to match design */
.woocommerce-cart .ps-cart-sidebar .ps-cart-totals small.includes_tax,
.woocommerce-cart .ps-cart-sidebar .cart_totals small.includes_tax {
  display: none !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon {
  margin-top: 24px !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon label {
  margin-bottom: 8px !important;
  color: #0A0D04 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 22.4px !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon__row {
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 0.8rem;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon input {
  height: 48px !important;
  border: 1px solid #bfc3bf !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  color: #0A0D04 !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
  padding: 16px !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon input.is-error,
.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon.has-error input[name="coupon_code"] {
  border-color: #d63638 !important;
  background-color: #fff1f1 !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon.has-coupon input {
  background: #EBFFEE !important;
  border-color: #008043 !important;
  padding-right: 36px !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon__input-wrap {
  position: relative !important;
  flex: 1 !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon__input-wrap input {
  width: 100% !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon.has-coupon .ps-cart-coupon__input-wrap::after {
  content: "✓" !important;
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #008043 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon button {
  line-height: 20px !important;
  height: 48px !important;
  border: 1px solid #0A0D04 !important;
  border-radius: 8px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #242424 !important;
  background: #fff !important;
  cursor: pointer !important;
  transition: all 0.5s ease !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon button:hover {
  background: #0A0D04 !important;
  color: #fff !important;
  border-color: #0A0D04 !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon__ok {
  margin-top: 0.8rem;
  font-size: 1.2rem;
  color: #149564;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon__error {
  margin-top: 0.8rem;
  font-size: 1.2rem;
  color: #d63638;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-coupon__ok-icon {
  width: 14px;
  height: 14px;
  font-size: 0.9rem;
}

.woocommerce-cart .ps-cart-sidebar .wc-proceed-to-checkout {
  margin-top: 0 !important;
}

.woocommerce-cart .ps-cart-sidebar .wc-proceed-to-checkout .ps-checkout-btn,
.woocommerce-cart .ps-cart-sidebar .wc-proceed-to-checkout a.checkout-button {
  width: 100% !important;
  min-height: 52px !important;
  border-radius: 8px !important;
  background: #0A0D04 !important;
  border: 1px solid #0A0D04 !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 20px !important;
  padding: 14px 1rem !important;
  cursor: pointer !important;
  transition: all 0.5s ease !important;
  margin: 24px 0 !important;
}

.woocommerce-cart .ps-cart-sidebar .wc-proceed-to-checkout .ps-checkout-btn::after,
.woocommerce-cart .ps-cart-sidebar .wc-proceed-to-checkout a.checkout-button::after {
  content: none !important;
  display: none !important;
}

.woocommerce-cart .ps-cart-sidebar .wc-proceed-to-checkout .ps-checkout-btn:hover,
.woocommerce-cart .ps-cart-sidebar .wc-proceed-to-checkout a.checkout-button:hover {
  background: #fff !important;
  color: #0A0D04 !important;
  transform: none !important;
  box-shadow: none !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion {
  margin-top: 24px !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__item {
  border: 1px solid #d4d4d4;
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__item:nth-child(even) {
  background: #f8f6f2;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__item + .ps-cart-accordion__item {
  margin-top: 1rem;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__item:hover {
  background: #fff !important;
  border-color: #c8c8c8;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__item:hover .ps-cart-accordion__title,
.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__item:hover .ps-cart-accordion__chevron {
  color: #0a0d04;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__toggle {
  width: 100% !important;
  border: 0 !important;
  background: transparent !important;
  padding: 16px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-align: left !important;
  transition: all 0.5s ease !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__item.is-open .ps-cart-accordion__toggle {
  padding: 16px 16px 0 !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__toggle:hover {
  background: #fff;
  color: #0a0d04;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__toggle:hover .ps-cart-accordion__title,
.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__toggle:hover .ps-cart-accordion__chevron {
  color: #0a0d04;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__left {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  min-width: 0;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__title {
  font-size: 16px !important;
  line-height: 22.4px !important;
  font-weight: 600 !important;
  color: #0A0D04 !important;
  transition: color 0.5s ease !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__chevron {
  font-size: 2rem;
  line-height: 1;
  color: #202020;
  margin-bottom: 8px;
  transition: transform 0.2s ease, color 0.5s ease;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__item.is-open .ps-cart-accordion__chevron {
  transform: rotate(180deg);
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__content {
  padding: 4px 16px 16px 5.5rem !important;
  color: #444444 !important;
  font-size: 14px !important;
  line-height: 19.6px !important;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__content p {
  margin-top: 0;
  font-size: 1.4rem;
  line-height: 2rem;
  color: #444444;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__content ul,
.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__content ol {
  margin: 0.7rem 0 0.2rem 1.8rem;
  padding: 0;
}

.woocommerce-cart .ps-cart-sidebar .ps-cart-accordion__content p:last-child {
  margin-top: 0;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .woocommerce-cart .ps-cart-table {
    border-collapse: collapse !important;
  }

  .woocommerce-cart.page-template-default .site-content {
    padding-top: 0 !important;
  }

  .woocommerce-cart .ps-cart-layout {
    grid-template-columns: 1fr;
    row-gap: 2.2rem;
  }

  .woocommerce-cart .ps-cart-title {
    font-size: 3.6rem !important;
    margin-bottom: 1.8rem !important;
  }

  .woocommerce-cart .ps-cart-table thead {
    display: none;
  }

  .woocommerce-cart .ps-cart-table tbody tr.woocommerce-cart-form__cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "name name"
      "price qty"
      "total total";
    column-gap: 0;
    border-bottom: 1px solid #ececec;
    padding: 1.2rem 0 1.4rem;
    position: relative;
  }

  .woocommerce-cart .ps-cart-table.shop_table_responsive tbody tr td::before,
  .woocommerce-cart table.woocommerce-cart-form__contents.shop_table_responsive tbody tr td::before {
    display: none !important;
    content: none !important;
  }

  .woocommerce-cart .ps-cart-table td {
    border: 0 !important;
    padding: 0 !important;
  }

  .woocommerce-cart table.woocommerce-cart-form__contents tbody td {
    border-bottom: 0 !important;
  }

  .woocommerce-cart .ps-cart-table .product-remove {
    position: absolute;
    right: 0;
    top: 4.2rem;
  }

  .woocommerce-cart .ps-cart-table td.product-name {
    grid-area: name;
    padding-right: 3.6rem !important;
  }

  .woocommerce-cart .ps-cart-table td.product-name .ps-cart-product {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
  }

  .woocommerce-cart .ps-cart-table td.product-name .ps-cart-product__thumb img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
  }

  .woocommerce-cart .ps-cart-table td.product-name a {
    font-size: 1.2rem !important;
    line-height: 1.35 !important;
    display: block;
  }

  .woocommerce-cart .ps-cart-table td.product-price,
  .woocommerce-cart .ps-cart-table td.product-quantity,
  .woocommerce-cart .ps-cart-table td.product-subtotal {
    margin-top: 1rem;
    padding-top: 1rem !important;
    border-top: 1px solid #ececec !important;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
  }

  .woocommerce-cart .ps-cart-table td.product-price {
    grid-area: price;
    padding-right: 1.2rem !important;
    flex-direction: column;
    gap: 0.6rem;
  }

  .woocommerce-cart .ps-cart-table td.product-quantity {
    grid-area: qty;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
    padding-left: 1.2rem !important;
    padding-bottom: 0.5rem !important;
  }

  .woocommerce-cart .ps-cart-table td.product-price,
  .woocommerce-cart .ps-cart-table td.product-quantity {
    position: relative;
  }

  .woocommerce-cart .ps-cart-table td.product-subtotal {
    grid-area: total;
    margin-top: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .woocommerce-cart .ps-cart-table td.product-price .woocommerce-Price-amount,
  .woocommerce-cart .ps-cart-table td.product-subtotal .woocommerce-Price-amount {
    font-size: 1.3rem !important;
    line-height: 1.2;
  }

  .woocommerce-cart .ps-cart-table td.product-quantity .quantity {
    margin-left: auto;
  }

  .woocommerce-cart .ps-cart-table.shop_table_responsive tbody tr td.product-price::before,
  .woocommerce-cart .ps-cart-table.shop_table_responsive tbody tr td.product-quantity::before,
  .woocommerce-cart .ps-cart-table.shop_table_responsive tbody tr td.product-subtotal::before,
  .woocommerce-cart table.woocommerce-cart-form__contents.shop_table_responsive tbody tr td.product-price::before,
  .woocommerce-cart table.woocommerce-cart-form__contents.shop_table_responsive tbody tr td.product-quantity::before,
  .woocommerce-cart table.woocommerce-cart-form__contents.shop_table_responsive tbody tr td.product-subtotal::before {
    display: block !important;
    content: attr(data-title) !important;
    font-size: 1.2rem !important;
    line-height: 1.2 !important;
    color: #5d5d5d !important;
    font-weight: 500 !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
  }

  .woocommerce-cart .ps-cart-table.shop_table_responsive tbody tr td.product-price::before,
  .woocommerce-cart table.woocommerce-cart-form__contents.shop_table_responsive tbody tr td.product-price::before {
    text-align: left !important;
    width: 100% !important;
  }

  .woocommerce-cart .ps-cart-table.shop_table_responsive tbody tr td.product-quantity::before,
  .woocommerce-cart table.woocommerce-cart-form__contents.shop_table_responsive tbody tr td.product-quantity::before {
    text-align: left !important;
    width: 100% !important;
  }

  .woocommerce-cart .ps-cart-table.shop_table_responsive tbody tr td.product-subtotal::before,
  .woocommerce-cart table.woocommerce-cart-form__contents.shop_table_responsive tbody tr td.product-subtotal::before {
    text-align: left !important;
    width: auto !important;
  }

  .woocommerce-cart .ps-cart-table td.product-subtotal::before,
  .woocommerce-cart table.woocommerce-cart-form__contents td.product-subtotal::before,
  .woocommerce-cart .ps-cart-table td.product-subtotal .woocommerce-Price-amount,
  .woocommerce-cart table.woocommerce-cart-form__contents td.product-subtotal .woocommerce-Price-amount {
    color: #1e1e1e !important;
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }

  .woocommerce-cart .ps-cart-table td.product-subtotal .woocommerce-Price-amount,
  .woocommerce-cart table.woocommerce-cart-form__contents td.product-subtotal .woocommerce-Price-amount {
    margin-left: auto;
    text-align: right !important;
  }

  .woocommerce-cart table.woocommerce-cart-form__contents td.product-price .woocommerce-Price-amount {
    font-size: 1.8rem !important;
  }

}

/* Fallback: style default Woo cart table to same visual if ps template is not active yet */
.woocommerce-cart table.woocommerce-cart-form__contents {
  border: 1px solid #e6e6e6 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: 100%;
}

.woocommerce-cart table.woocommerce-cart-form__contents thead th {
  font-size: 1.2rem !important;
  color: #757575 !important;
  font-weight: 400 !important;
  border-bottom: 1px solid #e7e7e7 !important;
  padding: 1rem 1.2rem !important;
  background: transparent !important;
  text-transform: none !important;
}

.woocommerce-cart .ps-cart-table thead th.product-name,
.woocommerce-cart .ps-cart-table thead th.product-price,
.woocommerce-cart .ps-cart-table thead th.product-quantity,
.woocommerce-cart .ps-cart-table thead th.product-subtotal,
.woocommerce-cart .ps-cart-table thead th.product-remove {
  font-size: 14px !important;
  line-height: 14px !important;
  font-weight: 400 !important;
  color: #757575 !important;
  text-align: left !important;
  padding-bottom: 20px !important;
}

.woocommerce-cart table.woocommerce-cart-form__contents tbody td {
  border-bottom: none !important;
  padding: 24px 1.2rem 0 !important;
  background: #fff !important;
  text-align: start;
}

/* Remove only left padding for product header/cells */
.woocommerce-cart table.woocommerce-cart-form__contents thead th.product-name {
  padding-left: 0 !important;
}

.woocommerce-cart table.woocommerce-cart-form__contents tbody td.product-name {
  padding-left: 0 !important;
}

.woocommerce-cart table.woocommerce-cart-form__contents td.product-name a {
  color: #1E1E1E !important;
  text-decoration: none !important;
  font-size: 14px !important;
  line-height: 19.6px !important;
  text-overflow: ellipsis;
  transition: all 0.5s ease;
}

.woocommerce-cart table.woocommerce-cart-form__contents td.product-price,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-subtotal {
  font-size: 1.9rem !important;
  font-weight: 600 !important;
}

.woocommerce-cart table.woocommerce-cart-form__contents td.product-price,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-price .woocommerce-Price-amount {
  color: #72736E !important;
  font-size: 14px !important;
  text-align: left !important;
  font-weight: 400 !important;
}

.woocommerce-cart table.woocommerce-cart-form__contents td.product-subtotal .woocommerce-Price-amount {
  font-size: 14px !important;
  color: #0A0D04;
  font-weight: 600;
  line-height: 19.6px;
  text-align: left !important;
}

/* Cart m² area input — same visual as PDP Platība input */
.woocommerce-cart .cart-m2-qty-wrap {
  display: inline-block;
}
.woocommerce-cart .cart-m2-area-wrap {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding: 0 1.2rem !important;
  gap: 8px !important;
  min-width: 0 !important;
  width: 13.8rem !important;
  height: 4.4rem !important;
  background: #fff !important;
  border: 1px solid #0A0D04 !important;
  border-radius: 8px !important;
  box-sizing: border-box !important;
}
.woocommerce-cart .cart-m2-area-wrap:focus-within {
  border-width: 2px !important;
}
.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity:focus-within {
  border-width: 2px !important;
}

.woocommerce-cart .cart-m2-area-input {
  flex-grow: 1;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #0A0D04;
  padding: 0;
  min-width: 0;
  width: 100%;
  text-align: center;
}
.woocommerce-cart .cart-m2-area-input::placeholder {
  color: #72736E;
}
.woocommerce-cart .cart-m2-unit {
  font-size: 1.6rem;
  line-height: 1.4;
  color: #72736E;
  flex-shrink: 0;
}

/* Cart quantity stepper — matches PDP style exactly */
.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity label.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-width: 13.6rem !important;
  max-width: unset !important;
  height: 4.4rem !important;
  background: #fff !important;
  border: 1px solid #0A0D04 !important;
  border-radius: 8px !important;
  padding: 0 0.4rem !important;
  overflow: visible !important;
  margin-top: 0 !important;
  box-shadow: none !important;
}

.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity .minus,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity .plus {
  width: 3.6rem !important;
  height: 3.4rem !important;
  flex-shrink: 0 !important;
  border: 0 !important;
  border-radius: 7px !important;
  font-size: 2.2rem !important;
  font-weight: 300 !important;
  line-height: 1 !important;
  color: #111 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 0 0.1rem !important;
  background: transparent !important;
  transition: background 0.15s ease !important;
  margin: 0 !important;
  min-width: 0 !important;
  position: static !important;
}

.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity .minus::before,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity .plus::before {
  display: none !important;
}

.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity .minus:hover,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity .minus:focus,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity .plus:hover,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity .plus:focus {
  background: #e8e8e8 !important;
  color: #111 !important;
}

.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity .qty {
  width: 3.6rem !important;
  flex-shrink: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-align: center !important;
  color: #111 !important;
  margin: 0 8px !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}

.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity .qty::-webkit-outer-spin-button,
.woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (max-width: 991px) {
  .woocommerce-cart table.woocommerce-cart-form__contents tbody td,
  .woocommerce-cart .ps-cart-table tbody td {
    border-bottom: 0 !important;
  }

  .woocommerce-cart .ps-cart-sidebar .ps-cart-totals,
  .woocommerce-cart .ps-cart-sidebar .cart_totals {
    margin-top: 2rem;
  }

  .woocommerce-cart .ps-cart-sidebar .ps-cart-row.order-total span:first-child {
    color: #101010;
    font-size: 1.65rem !important;
  }

  .woocommerce-cart table.woocommerce-cart-form__contents td.product-price {
    padding-left: 0 !important;
  }

  .woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity {
    padding-right: 0 !important;
  }

  .woocommerce-cart table.woocommerce-cart-form__contents td.product-subtotal {
    padding-top: 1.6rem !important;
    padding-bottom: 0.4rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .woocommerce-cart table.woocommerce-cart-form__contents td.product-quantity .quantity {
    height: 43px;
  }

  .woocommerce-cart .ps-cart-table.shop_table_responsive tbody tr td.product-subtotal::before,
  .woocommerce-cart table.woocommerce-cart-form__contents.shop_table_responsive tbody tr td.product-subtotal::before,
  .woocommerce-cart .ps-cart-table td.product-subtotal::before,
  .woocommerce-cart table.woocommerce-cart-form__contents td.product-subtotal::before,
  .woocommerce-cart .ps-cart-table td.product-subtotal .woocommerce-Price-amount,
  .woocommerce-cart table.woocommerce-cart-form__contents td.product-subtotal .woocommerce-Price-amount {
    font-size: 1.65rem !important;
    color: #1e1e1e !important;
    line-height: 1.2 !important;
  }
}

