:root {
	--wd-text-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 500;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 16px;
	--wd-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 600;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(201,161,93);
	--wd-alternative-color: rgb(7,11,44);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(201,161,93);
	--btn-accented-bgcolor-hover: rgb(224,187,120);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(30,115,190);
	background-image: none;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(7,11,44);
	background-image: none;
	background-size: cover;
	background-position: center center;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title {
	font-family: "Lato", Arial, Helvetica, sans-serif;
	font-size: 15px;
}
html .wd-page-title .wd-breadcrumbs :is(a,span), html .wd-page-title .breadcrumb li::after {
	font-family: "Lato", Arial, Helvetica, sans-serif;
	font-size: 12px;
}
html .btn.wd-buy-now-btn {
	background: rgb(0,0,0);
}
.wd .product-label.new {
	background-color: rgb(201,161,93);
}
.wd .product-label.featured {
	background-color: rgb(201,161,93);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 0px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-default-box-shadow-active: none;
--btn-default-bottom: 0px;
--btn-accented-brd-radius: 0px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--btn-accented-box-shadow-active: none;
--btn-accented-bottom: 0px;
--wd-brd-radius: 0px;
}

@media (min-width: 1222px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: #0a0a0a;
}

.elementor-element-4877993 {
    border: 2px dashed #e31e24 !important;
    padding: 20px !important;
    border-radius: 10px !important;
    margin: 20px 0 !important;
}

/* 隐藏 Google reCAPTCHA 徽章 */
.grecaptcha-badge { 
    visibility: hidden !important; 
}

:root {
  --pdg-black: #0a0a0b;
  --pdg-gold: #c6a56b;
  --pdg-white: #fcfbf8;
}

/* Top bar */
.pdg-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1711;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.pdg-topbar span + span::before {
  margin: 0 16px;
  opacity: .45;
  content: "•";
}

/* Main header */
.whb-general-header {
  background: var(--pdg-black) !important;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.whb-general-header .wd-nav-header > li > a {
  color: var(--pdg-white) !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.whb-general-header .wd-nav-header > li > a:hover {
  color: var(--pdg-gold) !important;
}

.whb-general-header .wd-tools-element {
  --wd-header-el-color: #fcfbf8;
  --wd-header-el-color-hover: #e4cfa6;
}

.whb-general-header .wd-tools-count {
  color: #0a0a0b !important;
  background: var(--pdg-gold) !important;
}

.whb-sticked .whb-general-header {
  background: rgba(10,10,11,.96) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (max-width: 1024px) {
  .pdg-topbar span {
    display: none;
  }

  .pdg-topbar span:first-child {
    display: inline;
  }
}
/* POEDAGAR Header GTranslate */
.pdg-header-language,
.pdg-header-language .elementor-widget-container,
.pdg-header-language .gtranslate_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* GTranslate 普通下拉框 */
.pdg-header-language select,
.pdg-header-language select.gt_selector {
  width: auto !important;
  min-width: 82px;
  height: 38px;
  margin: 0 !important;
  padding: 0 10px !important;
  color: #fcfbf8 !important;
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  font-family: "Manrope", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  line-height: 36px !important;
  text-transform: uppercase;
  cursor: pointer;
}

/* 展开后的选项 */
.pdg-header-language select option {
  color: #171719 !important;
  background: #ffffff !important;
}

/* 如果 GTranslate 使用文字或旗帜链接形式 */
.pdg-header-language a.glink {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, 0.72) !important;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pdg-header-language a.glink:hover,
.pdg-header-language a.glink.gt-current-lang {
  color: #c6a56b !important;
}

.pdg-header-language img {
  width: 18px !important;
  height: auto !important;
  margin: 0 4px 0 0 !important;
}

/* 手机端紧凑显示 */
@media (max-width: 768px) {
  .pdg-header-language select,
  .pdg-header-language select.gt_selector {
    min-width: 65px;
    height: 34px;
    padding: 0 7px !important;
    font-size: 9px !important;
    line-height: 32px !important;
  }

  .pdg-header-language img {
    width: 16px !important;
  }
}
.pdg-topbar-message {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.pdg-topbar-message i {
  width: 3px;
  height: 3px;
  display: block;
  background: #c6a56b;
  border-radius: 50%;
}

@media (min-width: 769px) {
  .pdg-topbar-message {
    min-height: 32px;
    font-size: 10px;
  }
}

/*
 * POEDAGAR Checkout 2026 — consolidated revision 2026-09-01
 * WoodMart Checkout Layout + Elementor + classic WooCommerce checkout
 * Safe design layer only: no JavaScript, no price calculation, no gateway logic.
 *
 * Recommended Elementor CSS classes:
 * Top content container:  pdg-checkout-top
 * Outer layout:           pdg-checkout-layout
 * Main form column:       pdg-checkout-main
 * Section heading rows:   pdg-checkout-section-heading
 * Payment wrapper:        pdg-payment-card
 * Summary column:         pdg-checkout-sidebar
 * Heading + order wrapper: pdg-order-card (NOT on the Order Review widget)
 * Existing trust blocks:  pdg-checkout-trust
 *
 * The current element IDs are included as fallbacks for POEDAGAR's live layout.
 */

body.woocommerce-checkout {
  --pdg-ink: #111112;
  --pdg-ink-soft: #3f3d3a;
  --pdg-muted: #716d67;
  --pdg-gold: #b58a48;
  --pdg-gold-dark: #8e682f;
  --pdg-gold-pale: #f3eadb;
  --pdg-canvas: #f6f3ed;
  --pdg-card: #ffffff;
  --pdg-line: #ded9d1;
  --pdg-line-dark: #c9c2b8;
  --pdg-success: #246b45;
  --pdg-danger: #a33b32;
  --pdg-radius: 3px;
  --pdg-shadow: 0 16px 46px rgba(24, 20, 14, 0.07);
  color: var(--pdg-ink-soft);
  background: var(--pdg-canvas);
}

body.woocommerce-checkout .main-page-wrapper,
body.woocommerce-checkout .site-content {
  background: var(--pdg-canvas);
}

body.woocommerce-checkout .main-page-wrapper {
  padding-top: 0;
}

body.woocommerce-checkout h1,
body.woocommerce-checkout h2,
body.woocommerce-checkout h3,
body.woocommerce-checkout h4,
body.woocommerce-checkout .elementor-heading-title {
  color: var(--pdg-ink);
}

/* Compact progress band. Keeps WoodMart's native checkout-step links. */
body.woocommerce-checkout .wd-page-title.page-title {
  min-height: 0 !important;
  padding: 28px 20px !important;
  background: var(--pdg-ink) !important;
}

body.woocommerce-checkout .wd-checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  max-width: 920px;
  margin: 0 auto !important;
}

body.woocommerce-checkout .wd-checkout-steps li,
body.woocommerce-checkout .wd-checkout-steps a,
body.woocommerce-checkout .wd-checkout-steps span {
  color: rgba(255, 255, 255, 0.48) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.woocommerce-checkout .wd-checkout-steps li.step-active,
body.woocommerce-checkout .wd-checkout-steps li.step-active a,
body.woocommerce-checkout .wd-checkout-steps li.step-active span,
body.woocommerce-checkout .wd-checkout-steps li.wd-active,
body.woocommerce-checkout .wd-checkout-steps li.wd-active a,
body.woocommerce-checkout .wd-checkout-steps li.wd-active span {
  color: #ffffff !important;
}

body.woocommerce-checkout .wd-checkout-steps li.step-active::before,
body.woocommerce-checkout .wd-checkout-steps li.wd-active::before {
  color: var(--pdg-gold) !important;
}

/* Optional assurance strip: paste the companion HTML above the checkout layout. */
body.woocommerce-checkout .pdg-checkout-assurance {
  width: min(1192px, calc(100% - 40px));
  min-height: 52px;
  margin: 26px auto 0;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3.5vw, 42px);
  color: var(--pdg-muted);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--pdg-line);
  border-radius: var(--pdg-radius);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.woocommerce-checkout .pdg-checkout-assurance__item,
body.woocommerce-checkout .pdg-checkout-assurance__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit !important;
  white-space: nowrap;
}

body.woocommerce-checkout .pdg-checkout-assurance__back {
  margin-right: auto;
  color: var(--pdg-ink) !important;
  text-decoration: none;
}

body.woocommerce-checkout .pdg-checkout-assurance__back:hover {
  color: var(--pdg-gold-dark) !important;
}

body.woocommerce-checkout .pdg-checkout-assurance svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: var(--pdg-gold-dark);
}

/*
 * Native Coupon Form: align the prompt and expanded form to the same edge.
 * Never set display/height/overflow on the form: WooCommerce owns its toggle.
 * The top container also keeps the existing Login, Notices and Hook widgets.
 */
body.woocommerce-checkout :is(.pdg-checkout-top, .elementor-element-77f6a476) {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 1232px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
}

body.woocommerce-checkout :is(.pdg-checkout-top, .elementor-element-77f6a476) > .e-con-inner {
  width: 100% !important;
  max-width: 1192px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  gap: 12px !important;
}

body.woocommerce-checkout .wd-checkout-coupon,
body.woocommerce-checkout .wd-checkout-coupon > .elementor-widget-container {
  width: 100% !important;
  min-width: 0;
  align-items: stretch;
  flex-direction: column;
  gap: 0;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle {
  width: 100%;
  margin: 0;
  color: var(--pdg-muted);
  font-size: 13px;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 8px;
  margin: 0;
  padding: 0;
  color: var(--pdg-muted);
  background: transparent;
  border: 0;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon {
  color: var(--pdg-gold-dark) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.woocommerce-checkout form.checkout_coupon {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 560px !important;
  margin-top: 12px;
  margin-right: 0 !important;
  margin-bottom: 0;
  margin-left: 0 !important;
  padding: 14px;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  background: var(--pdg-card);
  border: 1px solid var(--pdg-line);
  border-radius: var(--pdg-radius);
}

body.woocommerce-checkout form.checkout_coupon .form-row {
  min-width: 0;
  margin: 0 !important;
  padding: 0;
  float: none;
}

body.woocommerce-checkout form.checkout_coupon .form-row-first {
  flex: 1 1 220px;
  width: auto !important;
}

body.woocommerce-checkout form.checkout_coupon .form-row-last {
  flex: 0 0 148px;
  width: 148px !important;
}

body.woocommerce-checkout form.checkout_coupon #coupon_code,
body.woocommerce-checkout form.checkout_coupon button[name="apply_coupon"] {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 2px;
  box-shadow: none;
  line-height: 1.4;
}

body.woocommerce-checkout form.checkout_coupon #coupon_code {
  color: var(--pdg-ink);
  background: #ffffff;
  border: 1px solid var(--pdg-line-dark);
  font-size: 16px;
}

body.woocommerce-checkout form.checkout_coupon button[name="apply_coupon"] {
  color: #ffffff !important;
  background: var(--pdg-ink) !important;
  border: 1px solid var(--pdg-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.035em;
  white-space: normal;
}

body.woocommerce-checkout form.checkout_coupon button[name="apply_coupon"]:hover {
  background: var(--pdg-gold-dark) !important;
  border-color: var(--pdg-gold-dark);
}

body.woocommerce-checkout form.checkout_coupon :is(input, button):focus-visible,
body.woocommerce-checkout .showcoupon:focus-visible {
  outline: 2px solid var(--pdg-gold-dark);
  outline-offset: 3px;
}

body.woocommerce-checkout form.checkout_coupon button:disabled {
  cursor: wait;
  opacity: 0.6;
}

/* Main two-column checkout layout. */
body.woocommerce-checkout :is(.pdg-checkout-layout, .elementor-element-3f1a6ba3) {
  width: 100% !important;
  max-width: 1232px !important;
  margin: 0 auto !important;
  padding: 30px 20px 72px !important;
  background: transparent !important;
}

body.woocommerce-checkout :is(.pdg-checkout-layout, .elementor-element-3f1a6ba3) > .e-con-inner {
  width: 100% !important;
  max-width: 1192px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  align-items: flex-start !important;
  gap: 28px !important;
}

body.woocommerce-checkout :is(.pdg-checkout-main, .elementor-element-21477d4d) {
  min-width: 0 !important;
  padding: 32px !important;
  background: var(--pdg-card) !important;
  border: 1px solid var(--pdg-line) !important;
  border-radius: var(--pdg-radius) !important;
  box-shadow: var(--pdg-shadow);
}

body.woocommerce-checkout :is(.pdg-checkout-section-heading, .elementor-element-33e3460e, .elementor-element-2d86b88e) {
  margin: 0 0 24px !important;
  padding: 0 0 15px !important;
  border-bottom: 1px solid var(--pdg-line) !important;
}

body.woocommerce-checkout :is(.pdg-checkout-section-heading, .elementor-element-33e3460e, .elementor-element-2d86b88e) .elementor-heading-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(26px, 2.2vw, 34px) !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

body.woocommerce-checkout :is(.pdg-checkout-section-heading, .elementor-element-33e3460e, .elementor-element-2d86b88e) .elementor-widget-text-editor {
  color: var(--pdg-gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

/* Billing, shipping and notes. Address input rules deliberately exclude .qty. */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
}

body.woocommerce-checkout form.checkout .form-row {
  margin: 0 0 17px;
}

body.woocommerce-checkout form.checkout .form-row-first,
body.woocommerce-checkout form.checkout .form-row-last {
  width: calc(50% - 8px);
}

body.woocommerce-checkout form.checkout .form-row-wide {
  width: 100%;
}

body.woocommerce-checkout form.checkout label {
  margin-bottom: 7px;
  color: var(--pdg-ink);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

body.woocommerce-checkout form.checkout label .required {
  color: var(--pdg-danger);
}

body.woocommerce-checkout form.checkout .form-row input.input-text:not(.qty),
body.woocommerce-checkout form.checkout select,
body.woocommerce-checkout form.checkout textarea,
body.woocommerce-checkout form.checkout .select2-container--default .select2-selection--single {
  width: 100%;
  color: var(--pdg-ink);
  background: #ffffff;
  border: 1px solid var(--pdg-line-dark);
  border-radius: 2px;
  box-shadow: none;
  font-size: 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

body.woocommerce-checkout form.checkout .form-row input.input-text:not(.qty),
body.woocommerce-checkout form.checkout select,
body.woocommerce-checkout form.checkout .select2-container--default .select2-selection--single {
  min-height: 50px;
  padding: 0 14px;
}

body.woocommerce-checkout form.checkout textarea {
  min-height: 92px;
  padding: 12px 14px;
  resize: vertical;
}

body.woocommerce-checkout form.checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 10px 36px 10px 0;
  color: var(--pdg-ink);
  line-height: 29px;
}

body.woocommerce-checkout form.checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 11px;
  right: 9px;
}

body.woocommerce-checkout form.checkout .form-row input.input-text:not(.qty):focus,
body.woocommerce-checkout form.checkout select:focus,
body.woocommerce-checkout form.checkout textarea:focus,
body.woocommerce-checkout form.checkout .select2-container--open .select2-selection--single {
  outline: 0;
  border-color: var(--pdg-gold-dark);
  box-shadow: 0 0 0 3px rgba(181, 138, 72, 0.13);
}

body.woocommerce-checkout form.checkout input::placeholder,
body.woocommerce-checkout form.checkout textarea::placeholder {
  color: #9b968f;
  opacity: 1;
}

body.woocommerce-checkout .woocommerce-invalid input.input-text,
body.woocommerce-checkout .woocommerce-invalid select,
body.woocommerce-checkout .woocommerce-invalid .select2-selection {
  border-color: var(--pdg-danger) !important;
}

body.woocommerce-checkout #ship-to-different-address {
  margin: 4px 0 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
}

body.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout input[type="radio"] {
  accent-color: var(--pdg-ink);
}

/* Shipping protection stays a real plugin field; this only restyles it. */
body.woocommerce-checkout #shipping_insurance_field {
  width: 100%;
  margin: 4px 0 22px !important;
  padding: 14px 15px;
  background: var(--pdg-gold-pale);
  border: 1px solid #e3d2b6;
  border-radius: var(--pdg-radius);
}

body.woocommerce-checkout #shipping_insurance_field label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.035em;
  line-height: 1.5;
  text-transform: none;
}

/* Checkout upsell: keeps the plugin's checkbox, quantity and AJAX behavior. */
body.woocommerce-checkout .cuw-offers .cuw-container {
  margin: 4px 0 22px !important;
  padding: 16px !important;
  background: #fbfaf7 !important;
  border: 1px solid var(--pdg-line) !important;
  border-radius: var(--pdg-radius) !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .cuw-offers .cuw-offer-cta-section {
  padding: 10px 12px !important;
  color: #ffffff !important;
  background: var(--pdg-ink) !important;
  border-radius: 2px !important;
}

body.woocommerce-checkout .cuw-offers .cuw-offer-cta-text,
body.woocommerce-checkout .cuw-offers .cuw-offer-added-text {
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  letter-spacing: 0.045em;
}

body.woocommerce-checkout .cuw-offers .cuw-checkbox {
  accent-color: var(--pdg-gold);
}

body.woocommerce-checkout .cuw-offers .cuw-product-section {
  gap: 14px !important;
  padding-top: 14px !important;
}

body.woocommerce-checkout .cuw-offers .cuw-product-image img {
  width: 74px !important;
  height: 74px !important;
  object-fit: contain !important;
  background: var(--pdg-canvas);
}

body.woocommerce-checkout .cuw-offers .cuw-product-title,
body.woocommerce-checkout .cuw-offers .cuw-offer-title {
  color: var(--pdg-ink) !important;
  font-weight: 750 !important;
}

body.woocommerce-checkout .cuw-offers .cuw-product-price {
  color: var(--pdg-gold-dark) !important;
  font-weight: 800 !important;
}

body.woocommerce-checkout .cuw-offers :is(.cuw-plus, .cuw-minus) {
  color: var(--pdg-ink) !important;
  background: #ffffff !important;
  border-color: var(--pdg-line-dark) !important;
}

/* Payment area. No height or overflow restrictions: gateway iframes remain functional. */
body.woocommerce-checkout :is(.pdg-payment-card, .elementor-element-4b95129d) {
  margin-top: 12px !important;
  padding: 26px !important;
  background: #f9f7f2 !important;
  border: 1px solid var(--pdg-line) !important;
  border-radius: var(--pdg-radius) !important;
}

body.woocommerce-checkout :is(.pdg-payment-card, .elementor-element-4b95129d) :is(.pdg-checkout-section-heading, .elementor-element-2d86b88e) {
  margin-bottom: 18px !important;
}

body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment .payment_box,
body.woocommerce-checkout .wd-payment-methods {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  background: transparent !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method {
  margin: 0 0 10px !important;
  padding: 16px !important;
  background: #ffffff;
  border: 1px solid var(--pdg-line);
  border-radius: var(--pdg-radius);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

body.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method:has(> input:checked) {
  border-color: var(--pdg-gold-dark);
  box-shadow: 0 0 0 2px rgba(181, 138, 72, 0.12);
}

body.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > label {
  width: calc(100% - 26px);
  margin: 0 0 0 7px;
  color: var(--pdg-ink);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.02em;
  text-transform: none;
}

body.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > label img {
  max-height: 25px;
  width: auto;
  margin-left: 7px;
}

body.woocommerce-checkout #payment .payment_box {
  margin: 14px 0 0 !important;
  padding: 14px 0 0 !important;
  color: var(--pdg-muted);
  border-top: 1px solid var(--pdg-line);
  border-radius: 0 !important;
}

/*
 * OceanPayment card-brand logos.
 * The gateway plugin writes height:40px inline on every local SVG; these
 * scoped !important rules reduce only the logos, never the hosted card iframe.
 */
body.woocommerce-checkout #payment #op-payment-icons {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 10px;
  margin: 0 0 14px !important;
  padding: 0 !important;
  line-height: 1;
}

body.woocommerce-checkout #payment #op-payment-icons .status-box {
  flex: 0 0 100%;
  line-height: 1.55;
}

body.woocommerce-checkout #payment #op-payment-icons .status-box:empty {
  display: none !important;
}

body.woocommerce-checkout #payment #op-payment-icons img {
  display: block !important;
  width: auto !important;
  height: 22px !important;
  max-width: 74px !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  object-fit: contain !important;
}

body.woocommerce-checkout #oceanpayment-iframe-region {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  border: 0 !important;
}

body.woocommerce-checkout #payment .place-order {
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout #payment .woocommerce-privacy-policy-text,
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper {
  color: var(--pdg-muted);
  font-size: 11px;
  line-height: 1.65;
}

body.woocommerce-checkout #payment .woocommerce-privacy-policy-text a,
body.woocommerce-checkout #payment .woocommerce-terms-and-conditions-wrapper a {
  color: var(--pdg-ink) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.woocommerce-checkout #place_order {
  width: 100% !important;
  min-height: 58px !important;
  margin-top: 15px !important;
  padding: 14px 22px !important;
  color: #ffffff !important;
  background: var(--pdg-ink) !important;
  border: 1px solid var(--pdg-ink) !important;
  border-radius: 2px !important;
  box-shadow: 0 10px 22px rgba(17, 17, 18, 0.13);
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em;
  line-height: 1.35 !important;
  text-transform: uppercase;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

body.woocommerce-checkout #place_order:hover,
body.woocommerce-checkout #place_order:focus-visible {
  color: var(--pdg-ink) !important;
  background: var(--pdg-gold) !important;
  border-color: var(--pdg-gold) !important;
  transform: translateY(-1px);
}

body.woocommerce-checkout #place_order:disabled,
body.woocommerce-checkout #place_order.loading {
  cursor: wait;
  opacity: 0.66;
  transform: none;
}

/* Right-side order summary. */
body.woocommerce-checkout :is(.pdg-checkout-sidebar, .elementor-element-2188c960) {
  align-self: flex-start !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  position: sticky !important;
  top: 24px;
}

body.admin-bar.woocommerce-checkout :is(.pdg-checkout-sidebar, .elementor-element-2188c960) {
  top: 56px;
}

body.woocommerce-checkout :is(.pdg-order-card, .elementor-element-14421a9e):not(.wd-order-table) {
  width: 100%;
  min-width: 0;
  gap: 0 !important;
  padding: 24px !important;
  background: var(--pdg-card) !important;
  border: 1px solid var(--pdg-line) !important;
  border-top: 3px solid var(--pdg-ink) !important;
  border-radius: var(--pdg-radius) !important;
  box-shadow: var(--pdg-shadow);
}

/* One card only, even when the old class is still on the nested widget. */
body.woocommerce-checkout :is(.pdg-order-card, .elementor-element-14421a9e):not(.wd-order-table) .wd-order-table,
body.woocommerce-checkout :is(.pdg-order-card, .elementor-element-14421a9e):not(.wd-order-table) .wd-order-table > .elementor-widget-container {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-checkout :is(.pdg-order-card, .elementor-element-14421a9e):not(.wd-order-table) :is(.elementor-heading-title, .woodmart-title-container) {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 31px !important;
  font-weight: 500 !important;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table td {
  padding: 12px 0 !important;
  color: var(--pdg-ink-soft);
  border: 0 !important;
  font-size: 12px;
  line-height: 1.45;
  vertical-align: top;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table th {
  color: var(--pdg-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* WoodMart uses flex rows, not a standard two-cell product table. */
body.woocommerce-checkout .wd-order-table .woocommerce-checkout-review-order-table,
body.woocommerce-checkout .wd-order-table .woocommerce-checkout-review-order-table > :is(thead, tbody, tfoot),
body.woocommerce-checkout .wd-order-table .woocommerce-checkout-review-order-table > tbody > tr {
  display: block;
  width: 100%;
}

/* Draw a single continuous divider on the row, not staggered cell borders. */
body.woocommerce-checkout .woocommerce-checkout-review-order-table > :is(thead, tbody, tfoot) > tr {
  margin: 0;
  border: 0 !important;
  border-bottom: 1px solid var(--pdg-line) !important;
}

body.woocommerce-checkout .wd-order-table .woocommerce-checkout-review-order-table > :is(thead, tfoot) > tr {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

body.woocommerce-checkout .wd-order-table .woocommerce-checkout-review-order-table > thead th {
  flex: 1 1 auto;
  text-align: start;
}

body.woocommerce-checkout .wd-order-table .woocommerce-checkout-review-order-table > thead th:last-child {
  flex: 0 0 auto;
  text-align: end;
}

body.woocommerce-checkout .wd-checkout-prod {
  display: flex;
  align-items: flex-start !important;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

body.woocommerce-checkout .wd-checkout-prod-img {
  flex: 0 0 64px;
  width: 64px;
  min-width: 0;
  margin: 0 !important;
}

body.woocommerce-checkout .wd-checkout-prod-img img {
  display: block;
  box-sizing: border-box;
  width: 64px !important;
  height: 76px !important;
  padding: 6px;
  object-fit: contain !important;
  background: var(--pdg-canvas);
}

body.woocommerce-checkout .wd-checkout-prod-cont {
  display: flex;
  flex: 1 1 0;
  flex-wrap: wrap;
  align-items: flex-start !important;
  gap: 8px 12px;
  min-width: 0;
}

body.woocommerce-checkout .wd-checkout-prod-title {
  display: flex;
  flex: 1 1 160px;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  margin: 0 !important;
  overflow-wrap: anywhere;
}

body.woocommerce-checkout .wd-checkout-prod-title,
body.woocommerce-checkout .wd-checkout-prod-title .cart-product-label,
body.woocommerce-checkout .wd-checkout-prod-title > a {
  color: var(--pdg-ink) !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

/* Keep full names and variant details; no clipping or line clamp. */
body.woocommerce-checkout .wd-checkout-prod-title .variation {
  margin: 5px 0 0;
  color: var(--pdg-muted);
  font-size: 12px;
}

body.woocommerce-checkout .wd-checkout-prod-total {
  flex: 0 1 auto;
  max-width: 100%;
  margin: 0 !important;
  color: var(--pdg-ink) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: end;
  overflow-wrap: anywhere;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .amount {
  color: inherit;
  font-variant-numeric: tabular-nums;
}

/* Only the order-review quantity controls, never checkout address fields. */
body.woocommerce-checkout .wd-checkout-prod .quantity {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-self: flex-start;
  align-items: center;
  width: max-content !important;
  max-width: 100%;
  margin: 8px 0 0 !important;
  padding: 0;
  border: 1px solid var(--pdg-line-dark);
  border-radius: 2px;
  background: #ffffff;
}

body.woocommerce-checkout .wd-checkout-prod .quantity > :is(.minus, .plus, input.qty) {
  box-sizing: border-box;
  position: static;
  flex: 0 0 40px;
  width: 40px !important;
  min-width: 0 !important;
  max-width: none;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--pdg-ink);
  background: #ffffff;
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 40px;
  text-align: center;
  letter-spacing: 0;
}

body.woocommerce-checkout .wd-checkout-prod .quantity > input.qty {
  flex-basis: 44px;
  width: 44px !important;
  border-inline: 1px solid var(--pdg-line) !important;
  appearance: textfield;
}

body.woocommerce-checkout .wd-checkout-prod .quantity > input.qty::-webkit-inner-spin-button,
body.woocommerce-checkout .wd-checkout-prod .quantity > input.qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.woocommerce-checkout .wd-checkout-prod .quantity > :is(.minus, .plus):hover {
  background: var(--pdg-gold-pale);
}

body.woocommerce-checkout .wd-checkout-prod .quantity > :is(.minus, .plus, input.qty):focus-visible {
  position: relative;
  outline: 2px solid var(--pdg-gold-dark);
  outline-offset: 1px;
}

body.woocommerce-checkout .wd-checkout-prod .quantity > :disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

body.woocommerce-checkout .wd-checkout-prod .wd-delivery-detail {
  width: 100%;
  max-width: 100%;
  margin: 6px 0 0;
  padding: 0;
  color: var(--pdg-success);
  background: transparent;
  border: 0;
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.45;
}

body.woocommerce-checkout .wd-checkout-prod .wd-delivery-detail .wd-label {
  color: inherit;
  font-weight: 500;
}

body.woocommerce-checkout .wd-order-table .woocommerce-checkout-review-order-table > tfoot th {
  flex: 0 1 36%;
  min-width: 0;
  text-align: start;
  overflow-wrap: anywhere;
}

body.woocommerce-checkout .wd-order-table .woocommerce-checkout-review-order-table > tfoot td {
  flex: 1 1 0;
  min-width: 0;
  text-align: end;
  font-size: 13px;
  overflow-wrap: anywhere;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods {
  display: grid;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods > li {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  padding: 0;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods input[type="radio"] {
  flex: 0 0 auto;
  margin: 0;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods label {
  min-width: 0;
  margin: 0;
  color: var(--pdg-ink-soft);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-remove-coupon {
  display: inline-block;
  margin-inline-start: 6px;
  color: var(--pdg-gold-dark);
  font-size: 11px;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table > tfoot > .order-total {
  border-bottom: 0 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th {
  color: var(--pdg-ink) !important;
  font-weight: 800 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total td {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  border-bottom: 0 !important;
  font-size: 16px;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .amount {
  color: var(--pdg-gold-dark) !important;
  font-size: 21px;
}

/* Existing trust accordion below the order card. */
body.woocommerce-checkout :is(.pdg-checkout-trust, .elementor-element-276b6595, .elementor-element-548b179c) {
  margin-top: 16px !important;
  padding: 20px !important;
  background: transparent !important;
  border: 1px solid var(--pdg-line) !important;
  border-radius: var(--pdg-radius) !important;
}

body.woocommerce-checkout :is(.pdg-checkout-trust, .elementor-element-276b6595, .elementor-element-548b179c) .elementor-heading-title {
  font-size: 16px !important;
  font-weight: 750 !important;
  letter-spacing: 0.025em;
}

body.woocommerce-checkout :is(.pdg-checkout-trust, .elementor-element-276b6595, .elementor-element-548b179c) .elementor-accordion-item {
  border-color: var(--pdg-line) !important;
}

body.woocommerce-checkout :is(.pdg-checkout-trust, .elementor-element-276b6595, .elementor-element-548b179c) .elementor-tab-title {
  padding: 13px 0 !important;
  color: var(--pdg-ink) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  letter-spacing: 0.035em;
}

/* Native notices remain visible and accessible. */
body.woocommerce-checkout :is(.woocommerce-error, .woocommerce-info, .woocommerce-message) {
  border-radius: var(--pdg-radius);
  font-size: 13px;
  line-height: 1.55;
}

body.woocommerce-checkout .woocommerce-error {
  color: #76261f;
  background: #fbefed;
  border-color: #e7c0bc;
}

body.woocommerce-checkout .blockUI.blockOverlay {
  background: rgba(246, 243, 237, 0.72) !important;
}

/* Tablet: one column, order summary first. */
@media (max-width: 1024px) {
  body.woocommerce-checkout :is(.pdg-checkout-layout, .elementor-element-3f1a6ba3) > .e-con-inner {
    flex-direction: column !important;
  }

  body.woocommerce-checkout :is(.pdg-checkout-main, .elementor-element-21477d4d),
  body.woocommerce-checkout :is(.pdg-checkout-sidebar, .elementor-element-2188c960) {
    width: 100% !important;
    max-width: none !important;
  }

  body.woocommerce-checkout :is(.pdg-checkout-sidebar, .elementor-element-2188c960) {
    order: -1 !important;
    position: static !important;
  }

  body.woocommerce-checkout :is(.pdg-order-card, .elementor-element-14421a9e):not(.wd-order-table) {
    width: 100% !important;
  }
}

/* Mobile: compact but never fixed-height; payment iframe can expand normally. */
@media (max-width: 767px) {
  body.woocommerce-checkout .wd-page-title.page-title {
    padding: 18px 10px !important;
  }

  body.woocommerce-checkout .wd-checkout-steps {
    gap: 10px;
  }

  body.woocommerce-checkout .wd-checkout-steps li,
  body.woocommerce-checkout .wd-checkout-steps a,
  body.woocommerce-checkout .wd-checkout-steps span {
    font-size: 8px !important;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  body.woocommerce-checkout .pdg-checkout-assurance {
    width: calc(100% - 28px);
    margin-top: 16px;
    padding: 12px 13px;
    justify-content: flex-start;
    gap: 10px 18px;
    flex-wrap: wrap;
    font-size: 9px;
  }

  body.woocommerce-checkout .pdg-checkout-assurance__back {
    width: 100%;
    padding-bottom: 9px;
    border-bottom: 1px solid var(--pdg-line);
  }

  body.woocommerce-checkout :is(.pdg-checkout-top, .elementor-element-77f6a476) {
    padding: 0 14px !important;
  }

  body.woocommerce-checkout form.checkout_coupon .form-row-last {
    flex-grow: 1;
  }

  body.woocommerce-checkout :is(.pdg-checkout-layout, .elementor-element-3f1a6ba3) {
    padding: 18px 14px 48px !important;
  }

  body.woocommerce-checkout :is(.pdg-checkout-main, .elementor-element-21477d4d) {
    padding: 20px 17px !important;
    box-shadow: none;
  }

  body.woocommerce-checkout :is(.pdg-checkout-section-heading, .elementor-element-33e3460e, .elementor-element-2d86b88e) {
    margin-bottom: 20px !important;
  }

  body.woocommerce-checkout form.checkout .form-row-first,
  body.woocommerce-checkout form.checkout .form-row-last {
    width: 100%;
  }

  body.woocommerce-checkout form.checkout .form-row input.input-text:not(.qty),
  body.woocommerce-checkout form.checkout select,
  body.woocommerce-checkout form.checkout .select2-container--default .select2-selection--single {
    min-height: 48px;
  }

  body.woocommerce-checkout :is(.pdg-payment-card, .elementor-element-4b95129d) {
    margin-right: -5px !important;
    margin-left: -5px !important;
    padding: 18px 13px !important;
  }

  body.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method {
    padding: 14px 12px !important;
  }

  body.woocommerce-checkout #payment ul.payment_methods > li.wc_payment_method > label {
    font-size: 12px;
  }

  body.woocommerce-checkout #payment #op-payment-icons {
    gap: 7px 9px;
    margin-bottom: 12px !important;
  }

  body.woocommerce-checkout #payment #op-payment-icons img {
    height: 18px !important;
    max-width: 60px !important;
  }

  body.woocommerce-checkout #place_order {
    min-height: 56px !important;
    font-size: 11px !important;
  }

  body.woocommerce-checkout :is(.pdg-order-card, .elementor-element-14421a9e):not(.wd-order-table) {
    padding: 20px 17px !important;
    box-shadow: none;
  }

  body.woocommerce-checkout :is(.pdg-order-card, .elementor-element-14421a9e):not(.wd-order-table) :is(.elementor-heading-title, .woodmart-title-container) {
    font-size: 27px !important;
  }

  body.woocommerce-checkout .wd-checkout-prod-img {
    flex-basis: 56px;
    width: 56px;
  }

  body.woocommerce-checkout .wd-checkout-prod-img img {
    width: 56px !important;
    height: 66px !important;
  }

  body.woocommerce-checkout .cuw-offers .cuw-container {
    padding: 13px !important;
  }

  body.woocommerce-checkout .cuw-offers .cuw-product-section {
    align-items: flex-start !important;
  }
}

/* Prevent animations from delaying the checkout UI for users who request less motion. */
@media (prefers-reduced-motion: reduce) {
  body.woocommerce-checkout *,
  body.woocommerce-checkout *::before,
  body.woocommerce-checkout *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
