/*
 * Djamal — WooCommerce Styles
 * Loaded only when WooCommerce is active
 */

/* ── Notices ── */
.woocommerce-notices-wrapper { margin-bottom: 2rem; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: rgba(201,168,76,.05);
  border: 1px solid rgba(201,168,76,.2);
  border-left: 3px solid var(--c-gold);
  padding: 1rem 1.5rem;
  font-size: .9rem;
  color: var(--c-cream2);
  margin-bottom: .8rem;
  list-style: none;
}
.woocommerce-error { border-left-color: #cc5555; border-color: rgba(204,85,85,.2); }

/* ── WC form fields ── */
.woocommerce form .form-row { margin-bottom: 1.2rem; }
.woocommerce form .form-row label {
  display: block;
  font-family: var(--ff-ui);
  font-size: .56rem;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: .55rem;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  width: 100% !important;
  padding: .95rem 1.2rem !important;
  background: rgba(201,168,76,.03) !important;
  border: 1px solid rgba(201,168,76,.14) !important;
  color: var(--c-cream) !important;
  font-family: var(--ff-body) !important;
  font-size: 1rem !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  transition: border-color .3s !important;
  appearance: none !important;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: rgba(201,168,76,.45) !important;
}
.woocommerce form .form-row .required { color: var(--c-gold) !important; }
.woocommerce form .form-row.validate-required.woocommerce-invalid input,
.woocommerce form .form-row.validate-required.woocommerce-invalid select {
  border-color: rgba(204,85,85,.4) !important;
}

/* ── Checkout col2-set ── */
body.woocommerce-checkout .woocommerce .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
@media(max-width:768px) {
  body.woocommerce-checkout .woocommerce .col2-set { grid-template-columns: 1fr; }
}

/* ── Payment ── */
.woocommerce #payment {
  background: transparent;
  border-radius: 0;
}
.woocommerce #payment ul.payment_methods {
  list-style: none;
  padding: 0;
  border: 1px solid var(--c-border);
}
.woocommerce #payment ul.payment_methods li {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-bg3);
}
.woocommerce #payment ul.payment_methods li label {
  color: var(--c-cream2) !important;
  font-size: .95rem;
  cursor: pointer;
}
.woocommerce #payment div.payment_box {
  background: rgba(201,168,76,.03);
  border-top: 1px solid var(--c-border);
  padding: 1rem 1.5rem;
  font-size: .88rem;
  color: var(--c-muted);
  margin: 0;
}
body.woocommerce-checkout .woocommerce #place_order {
  width: 100%;
  padding: 1.3rem;
  background: linear-gradient(135deg, var(--c-gold-d), var(--c-gold), var(--c-gold-l));
  color: var(--c-bg);
  font-family: var(--ff-ui);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all .35s;
  border-radius: 0;
  margin-top: 1.5rem;
}
body.woocommerce-checkout .woocommerce #place_order:hover { transform: none; box-shadow: none; }

/* ── QTY input ── */
.woocommerce .quantity .qty {
  width: 70px !important;
  padding: .65rem .5rem !important;
  text-align: center;
  border: 1px solid rgba(201,168,76,.2) !important;
  background: transparent !important;
  color: var(--c-cream) !important;
  font-family: var(--ff-body) !important;
  font-size: 1rem !important;
}

/* ── Coupon ── */
.woocommerce-form-coupon-toggle a { color: var(--c-gold); }
.checkout_coupon.woocommerce-form-coupon {
  background: rgba(201,168,76,.03);
  border: 1px solid var(--c-border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ── Cart table ── */
.woocommerce-cart-form__cart-item .product-thumbnail img {
  width: 80px; height: 80px;
  object-fit: cover;
  border: 1px solid var(--c-border);
}
.woocommerce-cart-form__cart-item .product-name a { color: var(--c-cream); }
.woocommerce-cart-form__cart-item .product-price,
.woocommerce-cart-form__cart-item .product-subtotal {
  font-family: var(--ff-display);
  color: var(--c-gold) !important;
}

/* ── Pagination ── */
.woocommerce-pagination {
  text-align: center;
  margin-top: 3rem;
}
.woocommerce-pagination ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--c-border);
  color: var(--c-muted);
  font-family: var(--ff-ui);
  font-size: .7rem;
  transition: all .25s;
}
.woocommerce-pagination ul li a:hover { border-color: var(--c-gold); color: var(--c-gold); }
.woocommerce-pagination ul li span.current {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-bg);
  font-weight: 700;
}

/* ── Rating stars ── */
.star-rating { color: var(--c-gold) !important; font-size: .9rem !important; }
.woocommerce-product-rating { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }

/* ── WC account navigation ── */
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: var(--c-bg3);
  border: 1px solid var(--c-border);
  margin-bottom: 2rem;
}
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid rgba(201,168,76,.06); }
.woocommerce-account .woocommerce-MyAccount-navigation li a {
  display: flex;
  align-items: center;
  padding: .95rem 1.5rem;
  font-family: var(--ff-ui);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-muted);
  border-left: 2px solid transparent;
  transition: all .25s;
}
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover { color: var(--c-cream2); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
  color: var(--c-gold);
  border-left-color: var(--c-gold);
  background: rgba(201,168,76,.05);
}

/* ── Breadcrumb ── */
.woocommerce-breadcrumb {
  font-family: var(--ff-ui);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: .9rem 0;
  margin-bottom: 2rem;
}
.woocommerce-breadcrumb a { color: var(--c-muted); }
.woocommerce-breadcrumb a:hover { color: var(--c-gold); }

/* ══════════════════════════════════════════════════════════════
   MY ACCOUNT — LUXURY LAYOUT OVERRIDE
   Overrides WooCommerce plugin CSS (float-based layout)
   with !important where needed to beat WC specificity
══════════════════════════════════════════════════════════════ */

/* 1. Hide the default WordPress page H1 "Мой аккаунт"
      (comes from page template, we render our own header) */
.woocommerce-account .entry-title,
.woocommerce-account .page-title,
.woocommerce-account h1.page-title,
.woocommerce-account .wp-block-post-title {
  display: none !important;
}

/* 2. Strip WC's default container padding/margin on account page */
.woocommerce-account .woocommerce {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

/* 3. KILL WC float layout — WC plugin sets float:left on nav
      and float:right on content. Override both. */
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: none !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  /* Sidebar visual */
  background: transparent !important;
  border: none !important;
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* 4. Wrapper that holds nav+content — make it our grid */
.woocommerce-account .woocommerce-MyAccount-navigation + .woocommerce-MyAccount-content,
.woocommerce-account form.woocommerce-form-login {
  /* Reset any floats that may linger */
  clear: none !important;
}

/* 5. The .woocommerce div rendered by WC shortcode:
      Make it a centered flex column so .dj-ma-body grid works */
.woocommerce-account .woocommerce > * { float: none !important; }
.woocommerce-account .woocommerce::after { content: none !important; }
.woocommerce-account .woocommerce::before { content: none !important; }

/* 6. Nav list items — kill any remaining WC bullet/float defaults */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  float: none !important;
  width: auto !important;
}

/* 7. Our layout classes — boost specificity with body prefix */
body.woocommerce-account .dj-ma-body {
  display: grid !important;
  grid-template-columns: 160px 1fr !important;
  gap: 5rem !important;
  max-width: 1100px !important;
  margin-inline: auto !important;
  padding-inline: clamp(1.25rem, 5vw, 4rem) !important;
  padding-block: 5rem !important;
  align-items: start !important;
}

body.woocommerce-account .dj-ma-sidebar {
  position: sticky !important;
  top: calc(var(--header-h, 80px) + 2rem) !important;
}

body.woocommerce-account .dj-ma-content {
  min-width: 0 !important;
}

/* 8. Dashboard content — center the luxury card */
body.woocommerce-account .djd-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}

body.woocommerce-account .djd-card {
  width: 100% !important;
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.woocommerce-account .djd-sections {
  width: 100% !important;
  max-width: 720px !important;
}

/* 9. Mobile */
@media(max-width: 860px) {
  body.woocommerce-account .dj-ma-body {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding-block: 2.5rem !important;
  }
  body.woocommerce-account .dj-ma-sidebar {
    position: static !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex !important;
    overflow-x: auto !important;
    border-bottom: 1px solid var(--border) !important;
    scrollbar-width: none !important;
    margin-bottom: 2rem !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
    display: none !important;
  }
  body.woocommerce-account .woocommerce-MyAccount-navigation li {
    flex-shrink: 0 !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   CHECKOUT — STRUCTURE ONLY (SCOPED TO CHECKOUT PAGE)
══════════════════════════════════════════════════════════════ */
body.woocommerce-checkout .woocommerce form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  grid-template-areas:
    "full full"
    "left right-head"
    "left right";
  gap: 24px 32px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

body.woocommerce-checkout .woocommerce form.checkout > * {
  grid-area: full;
}

body.woocommerce-checkout .woocommerce {
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: 20px;
}

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

body.woocommerce-checkout .woocommerce #customer_details {
  grid-area: left;
  min-width: 0;
}

body.woocommerce-checkout .woocommerce #order_review_heading {
  grid-area: right-head;
  margin: 0;
  align-self: end;
}

body.woocommerce-checkout .woocommerce .woocommerce-additional-fields,
body.woocommerce-checkout .woocommerce .woocommerce-checkout-payment {
  clear: both;
}

body.woocommerce-checkout .woocommerce .col2-set {
  display: block;
}

body.woocommerce-checkout .woocommerce .col2-set::after {
  content: "";
  display: table;
  clear: both;
}

body.woocommerce-checkout .woocommerce .col2-set .col-1,
body.woocommerce-checkout .woocommerce .col2-set .col-2 {
  float: none;
  width: 100%;
  margin-top: 0;
}

body.woocommerce-checkout .woocommerce #order_review {
  grid-area: right;
  width: 100%;
  min-width: 0;
}

body.woocommerce-checkout .woocommerce .woocommerce-NoticeGroup,
body.woocommerce-checkout .woocommerce .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce .woocommerce-error,
body.woocommerce-checkout .woocommerce .woocommerce-info,
body.woocommerce-checkout .woocommerce .woocommerce-message {
  margin-bottom: 16px;
}

body.woocommerce-checkout .woocommerce .woocommerce-error:empty,
body.woocommerce-checkout .woocommerce .woocommerce-info:empty,
body.woocommerce-checkout .woocommerce .woocommerce-message:empty {
  display: none;
}

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

body.woocommerce-checkout .woocommerce #payment ul.payment_methods li {
  list-style: none;
}

body.woocommerce-checkout .woocommerce #place_order {
  width: 100%;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle a {
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle a:focus,
body.woocommerce-checkout .woocommerce-form-coupon-toggle a:focus-visible {
  color: var(--c-gold);
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.35);
  text-decoration: none;
}

/* ══════════════════════════════════════════════════════════════
   CHECKOUT — VISUAL ONLY (SCOPED TO CHECKOUT PAGE)
   No layout logic changes, no global styles.
══════════════════════════════════════════════════════════════ */
body.woocommerce-checkout .woocommerce form.checkout {
  padding-block: 28px;
}

body.woocommerce-checkout {
  --checkout-green: #2f8a62;
  --checkout-green-soft: rgba(47, 138, 98, 0.22);
  --checkout-green-glow: rgba(86, 205, 151, 0.35);
}

body.woocommerce-checkout .woocommerce #customer_details,
body.woocommerce-checkout .woocommerce #order_review {
  background: rgba(10, 8, 18, 0.55);
  border: 1px solid rgba(201, 168, 76, 0.34);
  border-radius: 16px;
  padding: 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(201, 168, 76, 0.16) inset,
    0 0 26px rgba(201, 168, 76, 0.14);
}

body.woocommerce-checkout .woocommerce #order_review_heading,
body.woocommerce-checkout .woocommerce .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce .woocommerce-shipping-fields > h3,
body.woocommerce-checkout .woocommerce .woocommerce-additional-fields > h3 {
  font-family: var(--ff-ui);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201, 168, 76, 0.92);
}

body.woocommerce-checkout .woocommerce .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce .woocommerce-shipping-fields > h3,
body.woocommerce-checkout .woocommerce .woocommerce-additional-fields > h3 {
  margin: 0 0 14px;
}

body.woocommerce-checkout .woocommerce form .form-row input.input-text,
body.woocommerce-checkout .woocommerce form .form-row textarea,
body.woocommerce-checkout .woocommerce form .form-row select {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(201, 168, 76, 0.18) !important;
  border-radius: 12px !important;
}

body.woocommerce-checkout .woocommerce form .form-row input.input-text:focus,
body.woocommerce-checkout .woocommerce form .form-row textarea:focus,
body.woocommerce-checkout .woocommerce form .form-row select:focus {
  border-color: var(--checkout-green) !important;
  box-shadow: 0 0 0 3px var(--checkout-green-soft) !important;
}

body.woocommerce-checkout .woocommerce #payment {
  background: transparent;
  border: 0;
}

body.woocommerce-checkout .woocommerce #payment ul.payment_methods {
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(10, 8, 18, 0.46);
}

body.woocommerce-checkout .woocommerce #payment ul.payment_methods li {
  background: transparent;
  border-bottom: 1px solid rgba(201, 168, 76, 0.18);
}

body.woocommerce-checkout .woocommerce #payment ul.payment_methods li:last-child {
  border-bottom: 0;
}

body.woocommerce-checkout .woocommerce #payment ul.payment_methods li input[type="radio"] {
  accent-color: var(--checkout-green);
}

body.woocommerce-checkout .woocommerce #payment ul.payment_methods li:has(input[type="radio"]:checked) {
  background: linear-gradient(90deg, rgba(47, 138, 98, 0.16), rgba(47, 138, 98, 0.03));
  box-shadow: inset 3px 0 0 var(--checkout-green);
}

body.woocommerce-checkout .woocommerce #place_order {
  border-radius: 14px;
  box-shadow:
    0 14px 44px rgba(201, 168, 76, 0.26),
    0 0 0 1px rgba(201, 168, 76, 0.28) inset;
}

body.woocommerce-checkout .woocommerce #place_order:hover {
  box-shadow:
    0 18px 56px rgba(201, 168, 76, 0.34),
    0 0 20px rgba(201, 168, 76, 0.26),
    0 0 0 2px rgba(47, 138, 98, 0.24);
}

body.woocommerce-checkout .woocommerce .woocommerce-notices-wrapper > * {
  border-radius: 14px;
}

body.woocommerce-checkout .woocommerce .woocommerce-message {
  border-left-color: var(--checkout-green);
  border-color: rgba(47, 138, 98, 0.30);
  background: rgba(47, 138, 98, 0.10);
  box-shadow: 0 0 0 1px rgba(47, 138, 98, 0.12) inset;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle a:hover,
body.woocommerce-checkout .woocommerce-form-coupon-toggle a:focus,
body.woocommerce-checkout .woocommerce-form-coupon-toggle a:focus-visible {
  color: #7ce0b1;
  box-shadow: 0 0 0 2px rgba(47, 138, 98, 0.30);
}

/* Checkout-only dark blue background + subtle stars */
body.woocommerce-checkout {
  background:
    radial-gradient(1200px 700px at 20% 10%, #0f1a38 0%, transparent 55%),
    radial-gradient(1000px 600px at 85% 80%, #0a1430 0%, transparent 58%),
    #050814;
  position: relative;
  overflow-x: hidden;
}

body.woocommerce-checkout::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body.woocommerce-checkout::before {
  background-image:
    radial-gradient(1.4px 1.4px at 24px 36px, rgba(212, 175, 55, 0.95), transparent 65%),
    radial-gradient(1.2px 1.2px at 88px 132px, rgba(240, 212, 138, 0.85), transparent 65%),
    radial-gradient(1.6px 1.6px at 146px 74px, rgba(212, 175, 55, 0.90), transparent 65%);
  background-size: 110px 110px, 150px 150px, 200px 200px;
  opacity: 0.95;
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.45));
  animation: checkoutGoldDriftA 36s linear infinite;
}

body.woocommerce-checkout .woocommerce {
  position: relative;
  z-index: 1;
}

@keyframes checkoutGoldDriftA {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -260px, 0); }
}

@keyframes checkoutGoldTwinkle {
  0% { opacity: 0.45; }
  50% { opacity: 0.90; }
  100% { opacity: 0.60; }
}

@media (max-width: 980px) {
  body.woocommerce-checkout .woocommerce {
    padding-inline: 14px;
  }

  body.woocommerce-checkout .woocommerce form.checkout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "full"
      "left"
      "right-head"
      "right";
    gap: 24px;
  }

  body.woocommerce-checkout .woocommerce #customer_details,
  body.woocommerce-checkout .woocommerce #order_review_heading,
  body.woocommerce-checkout .woocommerce #order_review {
    grid-column: auto;
  }
}

/* ══════════════════════════════════════════════════════════════
   CHECKOUT — HARD OVERRIDES (force final visual layer)
   Keeps logic intact; only reinforces premium visuals/layout.
══════════════════════════════════════════════════════════════ */
body.woocommerce-checkout .woocommerce {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding-inline: 28px !important;
}

body.woocommerce-checkout .woocommerce form.checkout {
  max-width: 1240px !important;
  margin: 0 auto !important;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 460px) !important;
  gap: 28px 40px !important;
}

body.woocommerce-checkout .woocommerce #customer_details,
body.woocommerce-checkout .woocommerce #order_review {
  border: 1px solid rgba(201, 168, 76, 0.42) !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(201, 168, 76, 0.22) inset,
    0 0 32px rgba(201, 168, 76, 0.16) !important;
}

body.woocommerce-checkout .woocommerce #payment ul.payment_methods {
  border: 1px solid rgba(201, 168, 76, 0.36) !important;
  background: rgba(10, 8, 18, 0.56) !important;
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.08) inset !important;
}

body.woocommerce-checkout .woocommerce #payment ul.payment_methods li {
  border-bottom: 1px solid rgba(201, 168, 76, 0.22) !important;
}

body.woocommerce-checkout .woocommerce #place_order {
  border-radius: 14px !important;
  box-shadow:
    0 18px 56px rgba(201, 168, 76, 0.36),
    0 0 0 1px rgba(201, 168, 76, 0.34) inset !important;
}

body.woocommerce-checkout .woocommerce #place_order:hover {
  box-shadow:
    0 22px 64px rgba(201, 168, 76, 0.46),
    0 0 24px rgba(201, 168, 76, 0.30),
    0 0 0 2px rgba(47, 138, 98, 0.28) !important;
}

/* ══════════════════════════════════════════════════════════════
   CHECKOUT BLOCKS — Luxury overrides (Woo Blocks)
   Needed when checkout page uses block-based markup.
══════════════════════════════════════════════════════════════ */
.wp-block-woocommerce-checkout {
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding-inline: 28px !important;
}

.wp-block-woocommerce-checkout .wc-block-components-sidebar-layout {
  max-width: 1240px !important;
  margin: 0 auto !important;
  gap: 28px 40px !important;
  align-items: start !important;
}

.wp-block-woocommerce-checkout .wc-block-checkout__main,
.wp-block-woocommerce-checkout .wc-block-checkout__sidebar {
  background: rgba(10, 8, 18, 0.55) !important;
  border: 1px solid rgba(201, 168, 76, 0.42) !important;
  border-radius: 16px !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(201, 168, 76, 0.22) inset,
    0 0 32px rgba(201, 168, 76, 0.16) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.wp-block-woocommerce-checkout .wc-block-components-checkout-step,
.wp-block-woocommerce-checkout .wc-block-components-totals-wrapper,
.wp-block-woocommerce-checkout .wc-block-components-order-summary,
.wp-block-woocommerce-checkout .wc-block-components-payment-methods {
  border-color: rgba(201, 168, 76, 0.30) !important;
}

.wp-block-woocommerce-checkout .wc-block-components-radio-control-accordion-option {
  border-bottom: 1px solid rgba(201, 168, 76, 0.22) !important;
}

.wp-block-woocommerce-checkout .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-block-components-text-input select,
.wp-block-woocommerce-checkout .wc-block-components-address-form__address_2-toggle {
  border: 1px solid rgba(201, 168, 76, 0.20) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-radius: 12px !important;
}

.wp-block-woocommerce-checkout .wc-block-components-text-input input:focus,
.wp-block-woocommerce-checkout .wc-block-components-text-input select:focus {
  border-color: var(--checkout-green) !important;
  box-shadow: 0 0 0 3px var(--checkout-green-soft) !important;
}

.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-checkout .wc-block-components-button {
  border-radius: 14px !important;
  box-shadow:
    0 18px 56px rgba(201, 168, 76, 0.36),
    0 0 0 1px rgba(201, 168, 76, 0.34) inset !important;
}

.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.wp-block-woocommerce-checkout .wc-block-components-button:hover {
  box-shadow:
    0 22px 64px rgba(201, 168, 76, 0.46),
    0 0 24px rgba(201, 168, 76, 0.30),
    0 0 0 2px rgba(47, 138, 98, 0.28) !important;
}

/* Backup selectors for Woo Blocks runtime classes
   (when wrapper .wp-block-woocommerce-checkout is absent) */
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wc-block-checkout__form,
body.woocommerce-checkout .wc-block-components-sidebar-layout {
  max-width: 1240px !important;
  margin: 0 auto !important;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout {
  gap: 28px 40px !important;
  align-items: start !important;
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  background: rgba(10, 8, 18, 0.55) !important;
  border: 1px solid rgba(201, 168, 76, 0.42) !important;
  border-radius: 16px !important;
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(201, 168, 76, 0.22) inset,
    0 0 32px rgba(201, 168, 76, 0.16) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step,
body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-payment-methods {
  border-color: rgba(201, 168, 76, 0.30) !important;
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-option {
  border-bottom: 1px solid rgba(201, 168, 76, 0.22) !important;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-text-input select {
  border: 1px solid rgba(201, 168, 76, 0.20) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-radius: 12px !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-text-input select:focus {
  border-color: var(--checkout-green) !important;
  box-shadow: 0 0 0 3px var(--checkout-green-soft) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  border-radius: 14px !important;
  box-shadow:
    0 18px 56px rgba(201, 168, 76, 0.36),
    0 0 0 1px rgba(201, 168, 76, 0.34) inset !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  box-shadow:
    0 22px 64px rgba(201, 168, 76, 0.46),
    0 0 24px rgba(201, 168, 76, 0.30),
    0 0 0 2px rgba(47, 138, 98, 0.28) !important;
}
