.dr-commerce-site {
  --ink: #171713;
  --paper: #f1ede4;
  --surface: #faf8f2;
  --acid: #d7ff45;
  --olive: #55552a;
  --rust: #a74927;
  --line: rgba(23, 23, 19, 0.2);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100svh;
  overflow: hidden;
}

.dr-commerce-site,
.dr-commerce-site *,
.dr-commerce-site *::before,
.dr-commerce-site *::after {
  box-sizing: border-box;
}

.dr-commerce-site :where(h1, h2, h3, p, figure, ul) {
  border: 0;
  margin: 0;
  padding: 0;
}

.dr-commerce-site a {
  color: inherit;
  text-decoration: none;
}

.dr-commerce-site img {
  display: block;
  max-width: 100%;
}

/*
 * Keep the shared product/cart header compact even when WordPress or the
 * parent theme adds broader image sizing rules. Checkout has its own header.
 */
.dr-commerce-site .shop-header-wrap .header {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto minmax(100px, 1fr);
  min-height: 140px;
  padding: 0 2.4rem;
}

.dr-commerce-site .shop-header-wrap .brand {
  align-items: center;
  display: inline-flex;
  height: 120px;
  justify-self: start;
  max-width: 98px;
  width: 98px;
}

.dr-commerce-site .shop-header-wrap .brand > .brand__logo {
  display: block;
  height: 120px !important;
  max-height: 120px !important;
  max-width: 98px !important;
  object-fit: contain;
  object-position: left center;
  width: 98px !important;
}

.commerce-breadcrumbs,
.commerce-utility {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  font-size: 0.62rem;
  font-weight: 800;
  gap: 0.75rem;
  justify-content: space-between;
  letter-spacing: 0.12em;
  padding: 1rem 2.4rem;
  text-transform: uppercase;
}

.commerce-breadcrumbs {
  justify-content: flex-start;
}

.commerce-breadcrumbs a {
  color: #747064;
}

.commerce-breadcrumbs strong {
  font-weight: 850;
}

.product-detail {
  align-items: start;
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
}

.product-gallery {
  border-right: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.product-gallery figure {
  background: var(--paper);
  display: grid;
  height: 340px;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  place-items: center;
  position: relative;
}

.product-gallery figure.product-gallery__main {
  cursor: zoom-in;
  grid-column: 1 / -1;
  height: clamp(440px, 32vw, 600px);
  min-height: 0 !important;
  position: relative;
}

.dr-product-page .product-gallery figure > img {
  display: block;
  height: 100% !important;
  inset: 0;
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  position: absolute;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100% !important;
}

@media (hover: hover) and (pointer: fine) {
  .dr-product-page .product-gallery figure.product-gallery__main:hover > img {
    object-fit: contain !important;
    transform: scale(1.035);
  }
}

.product-gallery__main > span,
.product-gallery__main > b {
  font-size: 0.59rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  position: absolute;
  text-transform: uppercase;
  top: 1.2rem;
}

.product-gallery__main > span {
  background: var(--surface);
  left: 1.2rem;
  padding: 0.6rem;
}

.product-gallery__main > b {
  background: var(--acid);
  right: 1.2rem;
  padding: 0.63rem 0.75rem;
}

.product-gallery__note {
  align-items: center;
  background: var(--olive);
  color: white;
  display: flex;
  gap: 1.2rem;
  grid-column: 1 / -1;
  min-height: clamp(180px, 14vw, 230px);
  padding: 2.5rem;
}

.product-gallery__note > span {
  color: var(--acid);
  font-family: var(--serif);
  font-size: 5rem;
  font-style: italic;
}

.product-gallery__note p {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.5;
}

.product-gallery__extras {
  display: grid;
  gap: 1px;
  grid-auto-columns: clamp(112px, 10vw, 168px);
  grid-auto-flow: column;
  grid-column: 1 / -1;
  grid-template-rows: repeat(2, clamp(96px, 8vw, 132px));
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--ink) var(--paper);
  scrollbar-width: thin;
}

.product-gallery__extras .product-gallery__extra,
.product-gallery__extras .product-gallery__extra:nth-child(3n) {
  grid-column: auto;
  height: auto;
  min-height: 0;
}

.product-gallery > figure:not(.product-gallery__main) > img,
.product-gallery__extras .product-gallery__extra > img {
  cursor: zoom-in;
}

.product-gallery-lightbox {
  background: var(--paper);
  border: 1px solid var(--ink);
  box-sizing: border-box;
  height: min(92vh, 980px);
  margin: auto;
  max-height: none;
  max-width: none;
  overflow: hidden;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  width: min(94vw, 1480px);
}

.product-gallery-lightbox[open] {
  align-items: center;
  display: flex;
  justify-content: center;
}

.product-gallery-lightbox::backdrop {
  background: rgba(23, 23, 19, 0.9);
}

.product-gallery-lightbox img {
  display: block;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.product-gallery-lightbox__close {
  background: var(--acid);
  border: 1px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  padding: 0.8rem 1rem;
  position: absolute;
  right: 0.75rem;
  text-transform: uppercase;
  top: 0.75rem;
  z-index: 2;
}

.product-info {
  align-self: stretch;
  padding: clamp(4rem, 7vw, 7rem) clamp(2.5rem, 5vw, 5.5rem);
  position: static;
}

.product-info h1 {
  font-size: clamp(3.7rem, 5.8vw, 6.8rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.82;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.product-info__lead {
  font-family: var(--serif);
  font-size: 1.15rem;
  line-height: 1.55;
  margin: 2rem 0 2.6rem !important;
  max-width: 640px;
}

.product-rich-text {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 680px;
}

.product-rich-text :where(p, ul, ol) {
  margin: 0 0 1.15rem;
}

.product-rich-text :where(ul, ol) {
  padding-left: 1.25rem;
}

.product-rich-text li + li {
  margin-top: 0.45rem;
}

.product-rich-text strong {
  font-weight: 700;
}

.dr-commerce-site .product-rich-text a {
  box-shadow: inset 0 -0.32em 0 var(--acid);
  color: var(--ink);
  font-weight: 700;
  text-decoration-color: var(--ink);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.dr-commerce-site .product-rich-text a:hover,
.dr-commerce-site .product-rich-text a:focus-visible {
  background: var(--acid);
  box-shadow: none;
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  text-decoration: none;
}

.product-rich-text h2 {
  font-family: var(--sans);
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 3.2rem 0 1.1rem;
  text-transform: uppercase;
}

.product-rich-text h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.25;
  margin: 2.2rem 0 0.75rem;
  text-transform: uppercase;
}

.product-info__lead > :first-child,
.product-description__content > :first-child {
  margin-top: 0;
}

.product-description {
  border-top: 1px solid var(--ink);
  margin-top: 4rem;
  padding-top: 2rem;
}

.product-description__label {
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  margin-bottom: 1.2rem !important;
  text-transform: uppercase;
}

.product-description > h2 {
  font-size: clamp(2.8rem, 4.5vw, 5.2rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.88;
  max-width: 650px;
  text-transform: uppercase;
}

.product-description__content {
  margin-top: 3rem;
}

.product-variation-mobile-preview {
  display: none;
}

.product-buy-panel {
  display: contents;
}

.product-purchase {
  border-top: 1px solid var(--ink);
}

.product-purchase__price,
.product-stock {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.product-purchase__price strong,
.product-purchase__price .amount {
  font-size: 1.35rem;
  font-weight: 850;
}

.product-purchase__price span,
.product-stock > span {
  color: #777467;
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-stock strong,
.product-stock .stock {
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 400;
}

.product-purchase form.cart {
  align-items: stretch;
  border: 0;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto 1fr;
  margin: 1.4rem 0 0;
  padding: 0;
}

.product-purchase form.cart::before,
.product-purchase form.cart::after {
  display: none;
}

.product-purchase .quantity,
.cart-item .quantity {
  border: 1px solid var(--ink);
  display: flex;
  min-height: 50px;
}

.product-purchase .qty,
.cart-item .qty {
  appearance: textfield;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 850;
  max-width: 74px;
  min-height: 48px;
  padding: 0.5rem;
  text-align: center;
}

.dr-commerce-page .product-purchase .single_add_to_cart_button.button.alt,
.dr-preview-purchase > button,
.checkout-button,
.dr-commerce-site #place_order {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 0;
  color: white;
  cursor: pointer;
  display: flex;
  font-size: 0.7rem;
  font-weight: 850;
  justify-content: space-between;
  letter-spacing: 0.12em;
  min-height: 50px;
  padding: 1.1rem 1.3rem;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
  width: 100%;
}

.dr-commerce-page .product-purchase .single_add_to_cart_button.button.alt:hover,
.checkout-button:hover,
.dr-commerce-site #place_order:hover {
  background: var(--acid);
  color: var(--ink);
}

.product-purchase .variations {
  border-collapse: collapse;
  grid-column: 1 / -1;
  margin: 0 0 0.75rem;
  width: 100%;
}

.product-purchase .variations tr {
  border-bottom: 1px solid var(--line);
}

.product-purchase .variations th,
.product-purchase .variations td {
  padding: 1rem 0;
  text-align: left;
}

.product-purchase .variations label {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-purchase .variations select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--serif);
  min-height: 42px;
  width: 100%;
}

.product-purchase .reset_variations {
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.78rem;
  margin-top: 0.5rem;
  text-decoration: underline;
}

.product-purchase .woocommerce-variation {
  grid-column: 1 / -1;
}

.dr-preview-purchase {
  margin-top: 1.4rem;
}

.dr-preview-purchase > button {
  background: var(--acid);
  color: var(--ink);
  cursor: not-allowed;
}

.dr-preview-purchase > button b {
  font-size: 0.55rem;
}

.dr-preview-purchase > p {
  color: #777467;
  font-family: var(--serif);
  font-size: 0.78rem;
  line-height: 1.45;
  margin-top: 0.75rem !important;
}

.product-assurances {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.product-assurances span {
  font-family: var(--serif);
  font-size: 0.83rem;
}

.product-assurances span::before {
  color: var(--rust);
  content: "✦";
  font-family: var(--sans);
  font-size: 0.58rem;
  margin-right: 0.65rem;
}

.product-story {
  background: var(--ink);
  color: white;
  display: grid;
  gap: clamp(4rem, 9vw, 10rem);
  grid-template-columns: 0.8fr 1.2fr;
  padding: clamp(5rem, 9vw, 9rem);
}

.product-story h2,
.product-care h2 {
  font-size: clamp(3.5rem, 6vw, 6.5rem);
  font-weight: 850;
  letter-spacing: -0.07em;
  line-height: 0.86;
  text-transform: uppercase;
}

.product-story h2 em {
  color: var(--acid);
  font-family: var(--serif);
  font-weight: 400;
  text-transform: none;
}

.product-story__facts {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.product-story__facts > div {
  align-items: baseline;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 42px 0.65fr 1fr;
  padding: 1.8rem 0;
}

.product-story__facts span {
  color: var(--acid);
  font-size: 0.62rem;
  font-weight: 900;
}

.product-story__facts h3 {
  font-size: 0.77rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-story__facts p {
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--serif);
  line-height: 1.45;
}

.product-care {
  background: var(--surface);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-care__image {
  min-height: 700px;
}

.product-care__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-care__copy {
  align-self: center;
  padding: clamp(4rem, 8vw, 8rem);
}

.product-care h2 em {
  color: var(--rust);
  font-family: var(--serif);
  font-weight: 400;
  text-transform: none;
}

.product-care__copy > p:not(.kicker) {
  font-family: var(--serif);
  font-size: 1.12rem;
  line-height: 1.55;
  margin: 2rem 0 !important;
  max-width: 520px;
}

.dr-commerce-site .woocommerce-notices-wrapper,
.dr-commerce-site > main > .woocommerce {
  margin: 0;
}

.dr-commerce-site .woocommerce-message,
.dr-commerce-site .woocommerce-info,
.dr-commerce-site .woocommerce-error {
  background: var(--acid);
  border: 0;
  border-radius: 0;
  color: var(--ink);
  font-family: var(--serif);
  list-style: none;
  margin: 0;
  padding: 1rem 2.4rem;
}

.dr-commerce-site .woocommerce-error {
  background: var(--rust);
  color: white;
}

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

.cart-layout {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
  min-height: calc(100svh - 210px);
}

.cart-main {
  padding: clamp(4rem, 8vw, 8rem);
}

.cart-heading h1,
.cart-empty h1,
.checkout-heading h1 {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 850;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-transform: uppercase;
}

.cart-heading h1 em,
.cart-empty h1 em,
.checkout-heading h1 em {
  color: var(--rust);
  font-family: var(--serif);
  font-weight: 400;
  text-transform: none;
}

.drb-cart-form {
  margin-top: 4rem;
}

.cart-item {
  border-bottom: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  display: grid;
  grid-template-columns: 230px 1fr;
  padding: 1.2rem 0;
}

.cart-item + .cart-item {
  border-top: 0;
}

.cart-item__image {
  aspect-ratio: 0.82;
  overflow: hidden;
  position: relative;
}

.cart-item__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cart-item__image span {
  background: var(--acid);
  font-size: 0.56rem;
  font-weight: 900;
  left: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.55rem;
  position: absolute;
  text-transform: uppercase;
  top: 0.7rem;
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem 0 0.5rem 1.6rem;
}

.cart-item__info p,
.cart-item__variation {
  color: #777467;
  font-size: 0.59rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.cart-item__info p a {
  pointer-events: none;
}

.cart-item__info h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 400;
  margin-bottom: 1rem;
}

.cart-item__variation dl {
  margin: 0;
}

.cart-item__bottom {
  align-items: center;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: auto 1fr auto;
}

.cart-item__remove {
  font-family: var(--serif);
  font-size: 0.8rem;
  justify-self: start;
  text-decoration: underline !important;
}

.cart-actions {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 0.7rem;
  justify-content: flex-end;
  padding: 1rem 0;
}

.cart-actions label {
  display: grid;
  gap: 0.3rem;
  margin-right: auto;
}

.cart-actions label span {
  font-size: 0.55rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cart-actions input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  min-height: 38px;
}

.cart-actions button {
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  min-height: 40px;
  padding: 0.7rem 1rem;
  text-transform: uppercase;
}

.cart-actions button:hover {
  background: var(--acid);
}

.cart-help {
  align-items: center;
  background: var(--olive);
  color: white;
  display: flex;
  font-family: var(--serif);
  font-size: 0.9rem;
  justify-content: space-between;
  margin-top: 2rem;
  padding: 1.2rem;
}

.cart-help a {
  color: var(--acid);
  font-family: var(--sans);
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.order-summary {
  background: var(--ink);
  color: white;
  min-height: calc(100svh - 210px);
  padding: clamp(3rem, 6vw, 6rem);
  position: sticky;
  top: 0;
}

.order-summary__row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  font-family: var(--serif);
  justify-content: space-between;
  padding: 1.2rem 0;
}

.order-summary__row strong,
.order-summary__row .amount {
  font-family: var(--sans);
  font-size: 0.72rem;
}

.order-summary__total {
  align-items: end;
  display: flex;
  justify-content: space-between;
  padding: 2rem 0;
}

.order-summary__total > span {
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-summary__total strong,
.order-summary__total .amount {
  color: var(--acid);
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
}

.order-summary__note {
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--serif);
  font-size: 0.86rem;
  line-height: 1.45;
  margin-bottom: 2rem !important;
}

.checkout-button {
  background: var(--acid);
  color: var(--ink) !important;
}

.checkout-button:hover {
  background: white;
}

.order-summary__trust {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

.order-summary__trust span {
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--serif);
  font-size: 0.82rem;
}

.order-summary__trust span::before {
  color: var(--acid);
  content: "✦";
  font-family: var(--sans);
  font-size: 0.55rem;
  margin-right: 0.65rem;
}

.cart-empty {
  min-height: calc(100svh - 170px);
  padding: clamp(5rem, 10vw, 10rem);
}

.cart-empty > p:not(.kicker) {
  font-family: var(--serif);
  font-size: 1.1rem;
  margin: 2rem 0 !important;
}

.checkout-page {
  background: var(--surface);
  min-height: 100svh;
}

.checkout-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  min-height: 120px;
  padding: 0 2.4rem;
}

.checkout-header > a img {
  height: 94px;
  mix-blend-mode: multiply;
  object-fit: contain;
  object-position: left center;
  width: 80px;
}

.checkout-header > span {
  font-size: 0.62rem;
  font-weight: 850;
  justify-self: end;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkout-progress {
  align-items: center;
  display: flex;
  gap: 0.8rem;
}

.checkout-progress span {
  color: #8b877b;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkout-progress span.is-active {
  color: var(--ink);
}

.checkout-progress i {
  background: var(--line);
  height: 1px;
  width: 45px;
}

.checkout-page > main > .woocommerce {
  margin: 0;
  max-width: none;
  padding: 0;
  width: 100%;
}

.checkout-layout {
  align-items: start;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
}

.checkout-form {
  padding: clamp(4rem, 8vw, 8rem);
}

.checkout-heading > p:last-child {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.5;
  margin: 2rem 0 4rem !important;
  max-width: 520px;
}

.checkout-section {
  border-top: 1px solid var(--ink);
  display: grid;
  gap: 2rem;
  grid-template-columns: 42px 1fr;
  padding: 2.2rem 0 3rem;
}

.checkout-section__number {
  color: var(--rust);
  font-size: 0.62rem;
  font-weight: 900;
}

.checkout-section h2,
.checkout-summary > h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 2rem !important;
}

.dr-commerce-site .woocommerce-billing-fields > h3,
.dr-commerce-site .woocommerce-shipping-fields > h3,
.dr-commerce-site .woocommerce-additional-fields > h3 {
  display: none;
}

.dr-commerce-site .woocommerce-billing-fields__field-wrapper,
.dr-commerce-site .woocommerce-shipping-fields__field-wrapper {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr 1fr;
}

.dr-commerce-site .form-row {
  float: none;
  margin: 0;
  padding: 0;
  width: auto;
}

.dr-commerce-site .form-row-wide,
.dr-commerce-site #billing_address_1_field,
.dr-commerce-site #billing_address_2_field,
.dr-commerce-site #shipping_address_1_field,
.dr-commerce-site #shipping_address_2_field {
  grid-column: 1 / -1;
}

.dr-commerce-site .form-row label {
  display: block;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dr-commerce-site .form-row label .required {
  color: var(--rust);
}

.dr-commerce-site .form-row input.input-text,
.dr-commerce-site .form-row textarea,
.dr-commerce-site .form-row select,
.dr-commerce-site .select2-container .select2-selection--single {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  min-height: 48px;
  outline: none;
  padding: 0.5rem 0;
  width: 100%;
}

.dr-commerce-site .select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
  padding-left: 0;
}

.dr-commerce-site .select2-container .select2-selection--single .select2-selection__arrow {
  height: 44px;
}

.dr-commerce-site .form-row input:focus,
.dr-commerce-site .form-row textarea:focus,
.dr-commerce-site .form-row select:focus {
  border-bottom-color: var(--ink);
  box-shadow: 0 2px 0 var(--acid);
}

.dr-commerce-site .woocommerce-account-fields,
.dr-commerce-site .woocommerce-additional-fields {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.dr-commerce-site .woocommerce-form__label-for-checkbox {
  align-items: center;
  display: flex !important;
  font-family: var(--serif);
  font-size: 0.83rem !important;
  font-weight: 400 !important;
  gap: 0.6rem;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

.checkout-summary {
  background: var(--paper);
  border-left: 1px solid var(--line);
  min-height: calc(100svh - 120px);
  padding: clamp(3rem, 6vw, 6rem);
  position: sticky;
  top: 0;
}

.checkout-summary__head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.checkout-summary__head a {
  font-family: var(--serif);
  font-size: 0.8rem;
  text-decoration: underline;
}

.checkout-summary .woocommerce-checkout-review-order-table {
  border: 0;
  border-collapse: collapse;
  border-radius: 0;
  margin: 0;
  width: 100%;
}

.checkout-summary .woocommerce-checkout-review-order-table thead {
  display: none;
}

.checkout-summary .woocommerce-checkout-review-order-table td,
.checkout-summary .woocommerce-checkout-review-order-table th {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 0.88rem;
  padding: 1rem 0;
  text-align: left;
}

.checkout-summary .woocommerce-checkout-review-order-table td:last-child,
.checkout-summary .woocommerce-checkout-review-order-table th:last-child {
  font-family: var(--sans);
  font-size: 0.72rem;
  text-align: right;
}

.checkout-summary .woocommerce-checkout-review-order-table .order-total th,
.checkout-summary .woocommerce-checkout-review-order-table .order-total td {
  border-bottom: 0;
  padding-top: 2rem;
}

.checkout-summary .woocommerce-checkout-review-order-table .order-total .amount {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
}

.dr-commerce-site #payment {
  background: transparent;
  border-radius: 0;
  margin-top: 2rem;
}

/* Keep native WooCommerce radios and AJAX updates; only change their layout. */
.dr-commerce-site #payment ul.payment_methods {
  border: 0;
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.dr-commerce-site #payment ul.payment_methods::before {
  content: attr(aria-label);
  display: block;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.dr-commerce-site #payment ul.payment_methods::after {
  display: none;
}

.dr-commerce-site #payment ul.payment_methods > li.wc_payment_method {
  background: transparent;
  border: 1px solid var(--line);
  display: grid;
  column-gap: 0.75rem;
  grid-template-columns: 20px minmax(0, 1fr);
  list-style: none;
  margin: 0;
  padding: 0 1rem;
  text-align: left;
}

.dr-commerce-site #payment ul.payment_methods > li.wc_payment_method:hover {
  border-color: var(--ink);
}

.dr-commerce-site #payment ul.payment_methods > li.wc_payment_method:has(> input:checked) {
  background: var(--surface);
  border-color: var(--ink);
  box-shadow: inset 4px 0 0 var(--acid);
}

.dr-commerce-site #payment ul.payment_methods > li.wc_payment_method:has(> input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.dr-commerce-site #payment ul.payment_methods > li.wc_payment_method > input.input-radio {
  accent-color: var(--ink);
  align-self: center;
  cursor: pointer;
  grid-column: 1;
  grid-row: 1;
  height: 18px;
  margin: 0;
  width: 18px;
}

.dr-commerce-site #payment ul.payment_methods > li.wc_payment_method > label {
  align-items: center;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 650;
  gap: 0.75rem;
  grid-column: 2;
  grid-row: 1;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 0;
  min-height: 64px;
  min-width: 0;
  padding: 1rem 0;
  text-transform: none;
  white-space: normal;
}

.dr-commerce-site #payment ul.payment_methods > li.wc_payment_method > label img {
  display: block;
  flex: 0 0 auto;
  float: none;
  height: 26px;
  margin: 0 0 0 auto;
  max-height: 26px;
  max-width: 48px;
  object-fit: contain;
  width: 40px;
}

/* Comgate supplies the same card pictogram for bank transfer; omit the misleading duplicate. */
.dr-commerce-site #payment .payment_method_comgate-bank_all > label img {
  display: none !important;
}

.dr-commerce-site #payment div.payment_box {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #5c5a50;
  font-family: var(--sans);
  font-size: 0.875rem;
  grid-column: 2;
  line-height: 1.6;
  margin: -0.15rem 0 0;
  min-width: 0;
  padding: 0 0 1rem;
  width: auto;
}

.dr-commerce-site #payment div.payment_box p {
  line-height: inherit;
  margin: 0 0 0.5rem;
}

.dr-commerce-site #payment div.payment_box p:last-child {
  margin-bottom: 0;
}

.dr-commerce-site #payment div.payment_box::before {
  display: none;
}

.dr-commerce-site #payment .place-order {
  margin: 0;
  padding: 1.5rem 0 0;
}

.dr-commerce-site .woocommerce-privacy-policy-text {
  color: #777467;
  font-family: var(--serif);
  font-size: 0.75rem;
  line-height: 1.45;
}

.dr-commerce-site #place_order {
  background: var(--acid);
  color: var(--ink);
  float: none;
  margin-top: 1rem;
}

.dr-commerce-site .woocommerce-form-coupon-toggle,
.dr-commerce-site .woocommerce-form-login-toggle {
  margin: 0;
}

.dr-commerce-site .woocommerce-form-coupon,
.dr-commerce-site .woocommerce-form-login {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  margin: 0;
  padding: 1rem 2.4rem;
}

@media (max-width: 1020px) {
  .product-detail {
    grid-template-columns: 1fr 1fr;
  }

  .product-gallery {
    display: block;
  }

  .product-gallery__note {
    display: none;
  }

  .product-gallery figure.product-gallery__main {
    height: clamp(420px, 58vw, 620px);
    min-height: 0 !important;
  }

  .product-story {
    grid-template-columns: 1fr;
  }

  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .order-summary,
  .checkout-summary {
    min-height: 0;
    position: static;
  }

  .checkout-summary {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 720px) {
  .dr-commerce-site .shop-header-wrap .header {
    grid-template-columns: auto 1fr auto;
    min-height: 96px;
    padding: 0 1rem;
  }

  .dr-commerce-site .shop-header-wrap .brand {
    height: 78px;
    max-width: 66px;
    width: 66px;
  }

  .dr-commerce-site .shop-header-wrap .brand > .brand__logo {
    height: 78px !important;
    max-height: 78px !important;
    max-width: 66px !important;
    width: 66px !important;
  }

  .commerce-breadcrumbs,
  .commerce-utility {
    padding-inline: 1.2rem;
  }

  .commerce-breadcrumbs span,
  .commerce-utility span {
    display: none;
  }

  .product-detail {
    display: flex;
    flex-direction: column;
  }

  .product-gallery {
    border-right: 0;
    width: 100%;
  }

  .product-gallery figure.product-gallery__main {
    height: clamp(360px, 100vw, 520px);
    min-height: 0 !important;
  }

  .product-gallery__extras {
    grid-auto-columns: clamp(104px, 32vw, 144px);
    grid-template-rows: repeat(2, 108px);
  }

  .product-gallery__extras .product-gallery__extra,
  .product-gallery__extras .product-gallery__extra:nth-child(3n) {
    grid-column: auto;
    height: auto;
  }

  .product-info {
    padding: 4rem 1.3rem 5rem;
    position: static;
  }

  .product-buy-panel--variable {
    align-items: start;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: minmax(112px, 40%) minmax(0, 1fr);
    margin-top: 1.4rem;
  }

  .product-variation-mobile-preview {
    aspect-ratio: 1;
    background: var(--paper);
    border: 1px solid var(--line);
    display: grid;
    overflow: hidden;
    place-items: center;
    position: sticky;
    top: 1rem;
  }

  .product-variation-mobile-preview img {
    display: block;
    height: 100%;
    object-fit: contain;
    transition: opacity 160ms ease, transform 240ms ease;
    width: 100%;
  }

  .product-variation-mobile-preview img.is-changing {
    opacity: 0.45;
    transform: scale(0.98);
  }

  .product-buy-panel--variable form.cart {
    margin-top: 0;
    min-width: 0;
  }

  .product-buy-panel--variable .variations {
    margin-bottom: 0.45rem;
  }

  .product-buy-panel--variable .variations th,
  .product-buy-panel--variable .variations td {
    display: block;
    padding: 0.55rem 0;
    width: 100%;
  }

  .product-buy-panel--variable .variations td {
    padding-top: 0;
  }

  .product-info h1 {
    font-size: clamp(3.4rem, 15vw, 5.3rem);
  }

  .product-purchase form.cart {
    grid-template-columns: 1fr;
  }

  .product-purchase .quantity {
    width: 100%;
  }

  .product-purchase .qty {
    max-width: none;
    width: 100%;
  }

  .product-story {
    gap: 3rem;
    padding: 5rem 1.3rem;
  }

  .product-story__facts > div {
    grid-template-columns: 32px 1fr;
  }

  .product-story__facts p {
    grid-column: 2;
  }

  .product-care {
    display: flex;
    flex-direction: column;
  }

  .product-care__image {
    min-height: 470px;
  }

  .product-care__copy {
    padding: 4.5rem 1.3rem;
  }

  .product-care h2,
  .product-story h2 {
    font-size: clamp(3.2rem, 15vw, 5rem);
  }

  .cart-main {
    padding: 4.5rem 1.3rem;
  }

  .cart-heading h1,
  .cart-empty h1,
  .checkout-heading h1 {
    font-size: clamp(3.6rem, 16vw, 5.3rem);
  }

  .drb-cart-form {
    margin-top: 2.8rem;
  }

  .cart-item {
    grid-template-columns: 115px 1fr;
  }

  .cart-item__info {
    padding-left: 1rem;
  }

  .cart-item__info h2 {
    font-size: 1.15rem;
  }

  .cart-item__bottom {
    gap: 0.7rem;
    grid-template-columns: 1fr auto;
  }

  .cart-item__bottom .quantity {
    grid-column: 1 / -1;
  }

  .cart-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cart-actions label {
    margin-right: 0;
  }

  .cart-help {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }

  .order-summary {
    padding: 4rem 1.3rem;
  }

  .checkout-header {
    grid-template-columns: 1fr auto;
    min-height: 100px;
    padding-inline: 1.2rem;
  }

  .checkout-header > a img {
    height: 78px;
    width: 65px;
  }

  .checkout-header > span {
    display: none;
  }

  .checkout-progress {
    gap: 0.4rem;
  }

  .checkout-progress i {
    width: 16px;
  }

  .checkout-form {
    padding: 4.5rem 1.3rem;
  }

  .checkout-section {
    gap: 0.8rem;
    grid-template-columns: 28px 1fr;
  }

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

  .dr-commerce-site .form-row-wide,
  .dr-commerce-site #billing_address_1_field,
  .dr-commerce-site #billing_address_2_field,
  .dr-commerce-site #shipping_address_1_field,
  .dr-commerce-site #shipping_address_2_field {
    grid-column: auto;
  }

  .checkout-summary {
    padding: 4rem 1.3rem;
  }

  .cart-empty {
    padding: 5rem 1.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dr-commerce-site *,
  .dr-commerce-site *::before,
  .dr-commerce-site *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Server-rendered product gallery is authoritative. */
.product-gallery--server > .product-gallery__extras:not(.product-gallery__extras--server) {
  display: none !important;
}


/* Nike-style product gallery: equal thumbnails beside the main image. */
.dr-product-page .product-gallery {
  display: block;
}

.dr-product-page .product-gallery__stage {
  align-items: stretch;
  background: var(--paper);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 88px minmax(0, 1fr);
  padding: 0.75rem;
}

.dr-product-page .product-gallery__stage--single {
  grid-template-columns: minmax(0, 1fr);
}

.dr-product-page .product-gallery__thumbs {
  align-content: start;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-height: clamp(500px, 40vw, 720px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-block: contain;
  padding: 2px;
  scrollbar-color: var(--ink) transparent;
  scrollbar-width: thin;
}

.dr-product-page .product-gallery__thumb {
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  position: relative;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  width: 100%;
}

.dr-product-page .product-gallery__thumb > img {
  display: block;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  width: 100% !important;
}

.dr-product-page .product-gallery__thumb:hover,
.dr-product-page .product-gallery__thumb:focus-visible {
  border-color: var(--ink);
  outline: none;
  transform: translateY(-1px);
}

.dr-product-page .product-gallery__thumb.is-active {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--surface);
}

.dr-product-page .product-gallery figure.product-gallery__main {
  grid-column: auto;
  height: clamp(500px, 40vw, 720px);
  width: 100%;
}

.dr-product-page .product-gallery__main > img.is-changing {
  opacity: 0.55;
}

.dr-product-page .product-gallery__controls {
  bottom: 1rem;
  display: flex;
  gap: 0.45rem;
  position: absolute;
  right: 1rem;
  z-index: 3;
}

.dr-product-page .product-gallery__controls button {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  height: 2.4rem;
  justify-content: center;
  padding: 0;
  transition: background 180ms ease, border-color 180ms ease;
  width: 2.4rem;
}

.dr-product-page .product-gallery__controls button:hover,
.dr-product-page .product-gallery__controls button:focus-visible {
  background: var(--acid);
  border-color: var(--ink);
  outline: none;
}

@media (max-width: 1020px) and (min-width: 721px) {
  .dr-product-page .product-gallery__stage {
    gap: 0.55rem;
    grid-template-columns: 72px minmax(0, 1fr);
    padding: 0.55rem;
  }

  .dr-product-page .product-gallery__thumbs,
  .dr-product-page .product-gallery figure.product-gallery__main {
    height: clamp(420px, 58vw, 620px);
    max-height: clamp(420px, 58vw, 620px);
  }
}

@media (max-width: 720px) {
  .dr-product-page .product-gallery__stage {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.55rem;
  }

  .dr-product-page .product-gallery figure.product-gallery__main {
    height: clamp(360px, 100vw, 520px);
    order: 1;
  }

  .dr-product-page .product-gallery__thumbs {
    flex-direction: row;
    gap: 0.5rem;
    max-height: none;
    order: 2;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 0.45rem;
    scroll-snap-type: x proximity;
  }

  .dr-product-page .product-gallery__thumb {
    flex-basis: 76px;
    scroll-snap-align: start;
    width: 76px;
  }

  .dr-product-page .product-gallery__controls {
    bottom: 0.75rem;
    right: 0.75rem;
  }

  .dr-product-page .product-gallery__controls button {
    height: 2.2rem;
    width: 2.2rem;
  }
}

@media (max-width: 420px) {
  .dr-product-page .product-gallery__thumb {
    flex-basis: 66px;
    width: 66px;
  }
}

/* Mobile product hierarchy: identify the product before showing its gallery. */
.product-mobile-heading {
  display: none;
}

@media (max-width: 720px) {
  .product-mobile-heading {
    display: block;
    padding: 2.8rem 1.3rem 2.2rem;
    width: 100%;
  }

  .product-mobile-heading .kicker {
    margin: 0 0 0.8rem;
  }

  .product-mobile-heading__title {
    font-size: clamp(2.2rem, 9.25vw, 2.9rem);
    font-weight: 850;
    letter-spacing: -0.045em;
    line-height: 0.9;
    margin: 0;
    overflow-wrap: break-word;
    text-transform: uppercase;
  }

  .product-info > .kicker,
  .product-info > h1 {
    display: none;
  }

  .product-info {
    padding-top: 3rem;
  }
}


/* Checkout heading kicker spacing — 2026-08-27 */
.checkout-heading > .kicker {
  display: block;
  margin-bottom: clamp(1.5rem, 2vw, 2rem);
}

@media (max-width: 720px) {
  .checkout-heading > .kicker {
    margin-bottom: 1.35rem;
  }
}


/* Desktop product details heading — 2026-08-29 */
@media (min-width: 721px) {
  .product-description > h2 {
    font-size: clamp(2.8rem, 3.2vw, 3.5rem);
    max-width: none;
  }
}




/* Desktop navigation uses the SHOP mega menu; keep the fallback MENU for mobile only. */
@media (min-width: 1021px) {
  .shop-header-wrap .shop-mobile-menu {
    display: none !important;
  }
}

/* Dredarium order receipt: scoped to the completed checkout endpoint. */
.woocommerce-order-received .dr-commerce-site .woocommerce-order {
  max-width: 1440px; margin: 0 auto; padding: clamp(24px, 5vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 32px 48px; align-items: start;
}
.woocommerce-order-received .dr-commerce-site .woocommerce-order > * { grid-column: 1 / -1; min-width: 0; }
.woocommerce-order-received .dr-commerce-site .woocommerce-thankyou-order-received {
  background: var(--olive); color: var(--surface); border-left: 8px solid var(--acid);
  padding: clamp(28px, 4vw, 56px); font-family: var(--serif);
  font-size: clamp(32px, 4vw, 58px); font-weight: 400; line-height: 1.12;
  letter-spacing: -.035em; margin: 0;
}
.woocommerce-order-received .dr-commerce-site ul.order_details {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px;
  background: var(--ink); color: var(--surface); padding: 28px; margin: -32px 0 0;
  list-style: none;
}
.woocommerce-order-received .dr-commerce-site ul.order_details::before,
.woocommerce-order-received .dr-commerce-site ul.order_details::after { display: none; }
.woocommerce-order-received .dr-commerce-site ul.order_details li {
  float: none; border: 0; padding: 0; margin: 0; min-width: 0;
  font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .07em;
}
.woocommerce-order-received .dr-commerce-site ul.order_details li strong {
  display: block; margin-top: 8px; color: var(--surface); font-family: var(--sans);
  font-size: 16px; line-height: 1.5; letter-spacing: 0; text-transform: none; overflow-wrap: anywhere;
}
.woocommerce-order-received .dr-commerce-site ul.order_details li.total strong { color: var(--acid); }
.woocommerce-order-received .dr-commerce-site .woocommerce-order > p:not(.woocommerce-thankyou-order-received) {
  padding: 20px 24px; background: var(--paper); border-left: 3px solid var(--olive);
  font-family: var(--serif); font-size: 18px; line-height: 1.6; margin: 0;
}
.woocommerce-order-received .dr-commerce-site .woocommerce-order > .woocommerce-order-details { grid-column: 1; margin: 8px 0 0; width: 100%; }
.woocommerce-order-received .dr-commerce-site .woocommerce-order > .woocommerce-customer-details { grid-column: 2; margin: 8px 0 0; width: 100%; }
.woocommerce-order-received .dr-commerce-site .woocommerce-order h2 {
  font-family: var(--sans); font-size: clamp(22px, 2.2vw, 30px); font-weight: 850;
  line-height: 1.15; letter-spacing: -.03em; text-transform: uppercase;
  border-top: 2px solid var(--ink); padding-top: 20px; margin: 0 0 24px;
}
.woocommerce-order-received .dr-commerce-site table.shop_table {
  width: 100%; border: 0; border-collapse: collapse; border-radius: 0; margin: 0;
  font-size: 16px; background: transparent; text-align: left;
}
.woocommerce-order-received .dr-commerce-site table.shop_table th,
.woocommerce-order-received .dr-commerce-site table.shop_table td {
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 18px 10px; vertical-align: top; line-height: 1.5;
}
.woocommerce-order-received .dr-commerce-site table.shop_table th:first-child,
.woocommerce-order-received .dr-commerce-site table.shop_table td:first-child { padding-left: 0; }
.woocommerce-order-received .dr-commerce-site table.shop_table th:last-child,
.woocommerce-order-received .dr-commerce-site table.shop_table td:last-child { padding-right: 0; text-align: right; }
.woocommerce-order-received .dr-commerce-site table.shop_table thead th {
  font-family: var(--sans); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding-top: 0;
}
.woocommerce-order-received .dr-commerce-site table.shop_table .product-name { font-family: var(--serif); font-size: 18px; }
.woocommerce-order-received .dr-commerce-site table.shop_table .amount { white-space: nowrap; font-family: var(--sans); font-variant-numeric: tabular-nums; }
.woocommerce-order-received .dr-commerce-site table.shop_table .wc-item-meta { margin: 8px 0 0; font-family: var(--sans); font-size: 13px; line-height: 1.6; }
.woocommerce-order-received .dr-commerce-site table.shop_table .wc-item-meta p { display: inline; }
.woocommerce-order-received .dr-commerce-site table.shop_table tfoot th { font-weight: 600; }
.woocommerce-order-received .dr-commerce-site table.shop_table tfoot td { font-weight: 500; }
.woocommerce-order-received .dr-commerce-site .woocommerce-customer-details .col2-set { display: block; width: 100%; }
.woocommerce-order-received .dr-commerce-site .woocommerce-customer-details .col-1,
.woocommerce-order-received .dr-commerce-site .woocommerce-customer-details .col-2 { float: none; width: 100%; margin: 0 0 32px; }
.woocommerce-order-received .dr-commerce-site .woocommerce-customer-details address {
  background: var(--paper); border: 0; border-radius: 0; padding: 24px;
  font-family: var(--serif); font-size: 17px; font-style: normal; line-height: 1.8; overflow-wrap: anywhere;
}
.woocommerce-order-received .dr-commerce-site .woocommerce-customer-details address p { margin-top: 10px; }
.woocommerce-order-received .dr-commerce-site .woocommerce-order a:not(.button) { text-decoration: underline; text-underline-offset: 4px; }
.woocommerce-order-received .dr-commerce-site .woocommerce-order a:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.woocommerce-order-received .dr-commerce-site .woocommerce-order .button { border: 1px solid var(--ink); border-radius: 0; background: var(--acid); color: var(--ink); padding: 16px 24px; }
.woocommerce-order-received .dr-commerce-site .woocommerce-order > .woocommerce-thankyou-order-failed { background: var(--rust); color: white; }
@media (max-width: 1000px) {
  .woocommerce-order-received .dr-commerce-site ul.order_details { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .woocommerce-order-received .dr-commerce-site .woocommerce-order { gap: 28px; grid-template-columns: minmax(0, 1fr); }
  .woocommerce-order-received .dr-commerce-site .woocommerce-order > .woocommerce-order-details,
  .woocommerce-order-received .dr-commerce-site .woocommerce-order > .woocommerce-customer-details { grid-column: 1; }
  .woocommerce-order-received .dr-commerce-site ul.order_details { margin-top: -28px; }
}
@media (max-width: 600px) {
  .woocommerce-order-received .dr-commerce-site .woocommerce-order { padding: 24px 18px 48px; }
  .woocommerce-order-received .dr-commerce-site ul.order_details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 24px; }
  .woocommerce-order-received .dr-commerce-site ul.order_details .email,
  .woocommerce-order-received .dr-commerce-site ul.order_details .method { grid-column: 1 / -1; }
  .woocommerce-order-received .dr-commerce-site table.shop_table { font-size: 14px; }
  .woocommerce-order-received .dr-commerce-site table.shop_table .product-name { font-size: 17px; overflow-wrap: anywhere; }
  .woocommerce-order-received .dr-commerce-site table.shop_table th,
  .woocommerce-order-received .dr-commerce-site table.shop_table td { padding: 16px 6px; }
  .woocommerce-order-received .dr-commerce-site table.shop_table tfoot th { width: 42%; }
}

/* Keep the variant picker within the phone viewport. */
@media (max-width: 720px) {
  .product-buy-panel--variable { grid-template-columns: minmax(0, 1fr); }
  .product-variation-mobile-preview { width: 140px; position: static; }
  .product-buy-panel--variable .variations { width: 100%; table-layout: fixed; }
  .product-buy-panel--variable .cfvsw-swatches-container { min-width: 0; flex-wrap: wrap; }
}

/* File-upload controls use the storefront button palette as well. */
.dr-commerce-page .product-purchase .products-uploads-text-browser a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: white;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 800;
  text-decoration: none;
}
.dr-commerce-page .product-purchase .products-uploads-text-browser a:hover,
.dr-commerce-page .product-purchase .products-uploads-text-browser a:focus-visible {
  background: var(--acid);
  color: var(--ink);
}
.dr-commerce-page .product-purchase .single_add_to_cart_button.button.alt:focus-visible,
.dr-commerce-page .product-purchase .products-uploads-text-browser a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.dr-commerce-page .product-purchase .single_add_to_cart_button.button.alt.disabled {
  opacity: .55;
  cursor: not-allowed;
}

/* Dredarium product lightbox polish */
html.is-product-lightbox-open {
  overflow: hidden;
}

.dr-product-page .product-gallery__main[role="button"]:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: -5px;
}

.product-gallery-lightbox {
  background: var(--surface);
  border: 1px solid var(--ink);
  color: var(--ink);
  height: min(94dvh, 1040px);
  max-height: none;
  max-width: none;
  overflow: hidden;
  padding: 0;
  width: min(96vw, 1560px);
}

.product-gallery-lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.product-gallery-lightbox::backdrop {
  backdrop-filter: blur(6px);
  background: rgba(19, 19, 16, 0.92);
}

.product-gallery-lightbox__toolbar {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 64px;
  padding: 0.65rem 0.75rem 0.65rem 1.1rem;
}

.product-gallery-lightbox__counter {
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-gallery-lightbox__close {
  align-items: center;
  background: var(--acid);
  border: 1px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
}

.product-gallery-lightbox__close span {
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 0.7;
}

.product-gallery-lightbox__close b {
  font-size: 0.63rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-gallery-lightbox__viewport {
  align-items: center;
  background: var(--paper);
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  min-height: 0;
  overflow: hidden;
  padding: 1rem;
  touch-action: pan-y pinch-zoom;
}

.product-gallery-lightbox__viewport img {
  height: 100%;
  justify-self: center;
  max-height: calc(94dvh - 150px);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.product-gallery-lightbox__previous,
.product-gallery-lightbox__next {
  align-items: center;
  align-self: center;
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 1.15rem;
  height: 48px;
  justify-content: center;
  justify-self: center;
  padding: 0;
  transition: background 160ms ease, transform 160ms ease;
  width: 48px;
  z-index: 2;
}

.product-gallery-lightbox__previous:hover,
.product-gallery-lightbox__next:hover,
.product-gallery-lightbox__previous:focus-visible,
.product-gallery-lightbox__next:focus-visible,
.product-gallery-lightbox__close:hover,
.product-gallery-lightbox__close:focus-visible {
  background: var(--acid);
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.product-gallery-lightbox__previous:active,
.product-gallery-lightbox__next:active {
  transform: scale(0.94);
}

.product-gallery-lightbox__hint {
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 0.82rem;
  margin: 0;
  padding: 0.75rem 1rem;
  text-align: center;
}

@media (max-width: 720px) {
  .product-gallery-lightbox {
    border: 0;
    height: 100dvh;
    margin: 0;
    width: 100vw;
  }

  .product-gallery-lightbox__toolbar {
    min-height: 58px;
    padding: max(0.45rem, env(safe-area-inset-top)) 0.55rem 0.45rem 0.9rem;
  }

  .product-gallery-lightbox__close {
    min-height: 46px;
    min-width: 46px;
    padding: 0.55rem;
  }

  .product-gallery-lightbox__close b {
    display: none;
  }

  .product-gallery-lightbox__viewport {
    display: block;
    padding: 0.5rem;
    position: relative;
  }

  .product-gallery-lightbox__viewport img {
    height: 100%;
    max-height: calc(100dvh - 124px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    width: 100%;
  }

  .product-gallery-lightbox__previous,
  .product-gallery-lightbox__next {
    bottom: calc(0.75rem + env(safe-area-inset-bottom));
    height: 50px;
    position: absolute;
    width: 50px;
  }

  .product-gallery-lightbox__previous {
    left: 0.75rem;
  }

  .product-gallery-lightbox__next {
    right: 0.75rem;
  }

  .product-gallery-lightbox__hint {
    font-size: 0.75rem;
    padding: 0.65rem 4.4rem max(0.65rem, env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-gallery-lightbox *,
  .product-gallery-lightbox *::before,
  .product-gallery-lightbox *::after {
    transition: none !important;
  }
}

/* Keep lightbox controls inside the Dredarium colour system. */
.dr-commerce-site .product-gallery-lightbox .product-gallery-lightbox__close {
  background: var(--acid) !important;
  border-color: var(--ink) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--ink) !important;
}

.dr-commerce-site .product-gallery-lightbox .product-gallery-lightbox__previous,
.dr-commerce-site .product-gallery-lightbox .product-gallery-lightbox__next {
  background: var(--surface) !important;
  border-color: var(--ink) !important;
  box-shadow: none !important;
  color: var(--ink) !important;
}

.dr-commerce-site .product-gallery-lightbox .product-gallery-lightbox__previous:hover,
.dr-commerce-site .product-gallery-lightbox .product-gallery-lightbox__next:hover,
.dr-commerce-site .product-gallery-lightbox .product-gallery-lightbox__previous:focus-visible,
.dr-commerce-site .product-gallery-lightbox .product-gallery-lightbox__next:focus-visible {
  background: var(--acid) !important;
}
