/* ============================================================
   Chacha Biryani – Checkout & Cart Styles
   ============================================================ */

/* ── Nuclear input override (Block + Classic checkout) ────── */
.woocommerce-checkout input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]):not([type=file]):not(.qty),
.woocommerce-page input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]):not([type=file]):not(.qty),
.wc-block-checkout input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=hidden]):not([type=file]):not(.qty),
.wc-block-components-text-input input,
input.input-text:not(.qty),
input.wc-block-components-text-input {
  background: #1c0c08 !important;
  border: 1px solid rgba(200,134,10,0.35) !important;
  border-radius: 8px !important;
  color: #FDF4E3 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  padding: 22px 14px 8px !important;
  height: auto !important;
  line-height: 1.4 !important;
  transition: border-color .2s, box-shadow .2s !important;
  box-shadow: none !important;
  outline: none !important;
  width: 100% !important;
}

.woocommerce-checkout input:focus:not([type=checkbox]):not([type=radio]):not([type=submit]),
.wc-block-components-text-input input:focus,
.woocommerce-page input.input-text:focus {
  border-color: #C8860A !important;
  box-shadow: 0 0 0 3px rgba(200,134,10,0.12) !important;
  background: #241009 !important;
  outline: none !important;
}

/* ── Block checkout label (floats inside field) ─────────────── */
.wc-block-components-text-input label,
.wc-block-components-text-input .wc-block-components-form-token-field-wrapper label,
.wc-block-components-label {
  color: #C8860A !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
}

/* ── Block text-input wrapper ──────────────────────────────── */
.wc-block-components-text-input {
  background: #1c0c08 !important;
  border: 1px solid rgba(200,134,10,0.35) !important;
  border-radius: 8px !important;
  position: relative !important;
}

.wc-block-components-text-input.is-active,
.wc-block-components-text-input:focus-within {
  border-color: #C8860A !important;
  box-shadow: 0 0 0 3px rgba(200,134,10,0.12) !important;
  background: #241009 !important;
}

.wc-block-components-text-input .wc-block-components-text-input__label {
  color: #C8860A !important;
}

/* ── Chrome/Safari autofill nuke ───────────────────────────── */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
.wc-block-components-text-input input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #1c0c08 inset !important;
  -webkit-text-fill-color: #FDF4E3 !important;
  caret-color: #FDF4E3 !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* ── Shipping method toggle (Wysyłka / Odbiór osobisty) ─────── */
.wc-block-checkout__shipping-method-container,
fieldset.wc-block-checkout__shipping-method-container {
  display: flex !important;
  gap: 10px !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 16px !important;
}

.wc-block-checkout__shipping-method-option,
button.wc-block-checkout__shipping-method-option {
  flex: 1 !important;
  background: #1c0c08 !important;
  border: 1px solid rgba(200,134,10,0.3) !important;
  border-radius: 10px !important;
  color: #9a8070 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: .85rem !important;
  font-weight: 600 !important;
  padding: 14px 16px !important;
  cursor: pointer !important;
  transition: all .2s !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.wc-block-checkout__shipping-method-option:hover {
  border-color: rgba(200,134,10,0.6) !important;
  color: #FDF4E3 !important;
  background: #241009 !important;
}

/* Selected shipping method tab */
.wc-block-checkout__shipping-method-option--selected,
button.wc-block-checkout__shipping-method-option--selected,
.wc-block-checkout__shipping-method-option[aria-pressed=true],
.wc-block-checkout__shipping-method-option.is-selected {
  background: linear-gradient(135deg,rgba(200,134,10,0.2),rgba(224,88,10,0.15)) !important;
  border-color: #C8860A !important;
  color: #FDF4E3 !important;
}

/* SVG icons inside tabs */
.wc-block-checkout__shipping-method-option svg {
  color: #C8860A !important;
  flex-shrink: 0;
}

/* ── Block checkout radio controls (shipping/payment) ──────── */

/* Option container (is a <label> element) */
.wc-block-components-radio-control__option {
  position: relative !important;
  padding: 14px 18px 14px 52px !important; /* left padding makes room for radio */
  background: #1c0c08 !important;
  border: 1px solid rgba(200,134,10,0.25) !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  margin-bottom: 10px !important;
  transition: border-color .2s, background .2s !important;
  display: block !important; /* let WC handle inner layout */
  min-height: 52px !important;
}

.wc-block-components-radio-control__option:hover {
  border-color: rgba(200,134,10,0.5) !important;
  background: #241009 !important;
}

.wc-block-components-radio-control__option-checked,
.wc-block-components-radio-control__option--checked-option-highlighted {
  border-color: #C8860A !important;
  background: rgba(200,134,10,0.06) !important;
}

/* Radio input – absolutely positioned on the left */
.wc-block-components-radio-control__input {
  appearance: none !important;
  -webkit-appearance: none !important;
  position: absolute !important;
  left: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  border: 2px solid rgba(200,134,10,0.5) !important;
  border-radius: 50% !important;
  background: #120605 !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all .2s !important;
}

.wc-block-components-radio-control__input:checked {
  border-color: #C8860A !important;
  background: #C8860A !important;
  box-shadow: inset 0 0 0 3px #1c0c08 !important;
}

/* Inner layout – let WC flex it, just color it */
.wc-block-components-radio-control__option-layout {
  display: flex !important;
  align-items: center !important;
}

.wc-block-components-radio-control__label-group {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 12px !important;
}

.wc-block-components-radio-control__label {
  color: #FDF4E3 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Price on the right */
.wc-block-components-radio-control__secondary-label,
.wc-block-components-radio-control__secondary-label .wc-block-formatted-money-amount {
  color: #C8860A !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

/* Accordion variant (payment methods) */
.wc-block-components-radio-control-accordion-option {
  background: #1c0c08 !important;
  border: 1px solid rgba(200,134,10,0.25) !important;
  border-radius: 10px !important;
  margin-bottom: 10px !important;
  transition: border-color .2s !important;
}

.wc-block-components-radio-control-accordion-option:hover {
  border-color: rgba(200,134,10,0.5) !important;
}



/* ── Page wrapper ──────────────────────────────────────────── */
.is-woocommerce .site-main,
.woocommerce-page .site-main {
  padding-top: calc(var(--header-h, 72px) + 40px);
  padding-bottom: 80px;
  background: var(--bg-deep, #080202);
  min-height: 100vh;
}

.woocommerce-checkout,
.woocommerce-cart-form,
.woocommerce-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  color: var(--cream, #FDF4E3);
}

/* ── Section headings ──────────────────────────────────────── */
.woocommerce h3,
.woocommerce-page h3,
.woocommerce h2,
.woocommerce-checkout h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #FDF4E3;
  margin: 32px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(200,134,10,0.25);
}

/* ── Labels ─────────────────────────────────────────────────── */
.woocommerce form .form-row label,
.woocommerce-checkout label {
  color: #C8860A;
  font-family: 'Nunito', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.woocommerce form .form-row label .required,
.woocommerce-checkout label .required {
  color: #E0580A;
  text-decoration: none;
}

/* ── Input fields ───────────────────────────────────────────── */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row input[type="text"],
.woocommerce form .form-row input[type="email"],
.woocommerce form .form-row input[type="tel"],
.woocommerce form .form-row input[type="number"],
.woocommerce form .form-row input[type="password"],
.woocommerce form .form-row textarea,
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea {
  background: #1c0c08 !important;
  border: 1px solid rgba(200,134,10,0.35) !important;
  border-radius: 8px !important;
  color: #FDF4E3 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  padding: 13px 16px !important;
  width: 100% !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: none !important;
  outline: none !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce-checkout input.input-text:focus {
  border-color: #C8860A !important;
  box-shadow: 0 0 0 3px rgba(200,134,10,0.12) !important;
  background: #241009 !important;
}

/* Chrome autofill override – prevents blue/yellow background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px #1c0c08 inset !important;
  -webkit-text-fill-color: #FDF4E3 !important;
  caret-color: #FDF4E3;
  transition: background-color 5000s ease-in-out 0s;
}

/* ── Select / Dropdown ──────────────────────────────────────── */
.woocommerce form .form-row select,
.woocommerce-checkout select {
  background: #1c0c08 !important;
  border: 1px solid rgba(200,134,10,0.35) !important;
  border-radius: 8px !important;
  color: #FDF4E3 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.95rem !important;
  padding: 13px 40px 13px 16px !important;
  width: 100% !important;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C8860A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
}

/* Select2 (country picker) */
.select2-container--default .select2-selection--single {
  background: #1c0c08 !important;
  border: 1px solid rgba(200,134,10,0.35) !important;
  border-radius: 8px !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #FDF4E3 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.95rem !important;
  padding: 0 40px 0 16px !important;
  line-height: 48px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px !important;
  right: 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #C8860A transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #C8860A !important;
}

.select2-dropdown {
  background: #1c0c08 !important;
  border: 1px solid rgba(200,134,10,0.4) !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5) !important;
}

.select2-search--dropdown .select2-search__field {
  background: #241009 !important;
  border: 1px solid rgba(200,134,10,0.3) !important;
  border-radius: 6px !important;
  color: #FDF4E3 !important;
  padding: 8px 12px !important;
}

.select2-results__option {
  color: #9a8070 !important;
  padding: 10px 16px !important;
  font-family: 'Nunito', sans-serif !important;
}

.select2-results__option--highlighted[aria-selected],
.select2-results__option--highlighted {
  background: rgba(200,134,10,0.15) !important;
  color: #FDF4E3 !important;
}

.select2-results__option[aria-selected=true] {
  background: rgba(200,134,10,0.08) !important;
  color: #C8860A !important;
}

/* ── Checkboxes – custom gold design ────────────────────────── */

/* Hide native checkbox, replaced by ::before */
.woocommerce form .form-row input[type="checkbox"],
.woocommerce-checkout input[type="checkbox"],
.wc-block-components-checkbox input[type="checkbox"],
.woocommerce-checkout .woocommerce-form__input-checkbox {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  background: #1c0c08 !important;
  border: 1.5px solid rgba(200,134,10,0.5) !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  position: relative !important;
  transition: border-color .2s, background .2s !important;
  flex-shrink: 0 !important;
}

.woocommerce form .form-row input[type="checkbox"]:hover,
.woocommerce-checkout input[type="checkbox"]:hover,
.wc-block-components-checkbox input[type="checkbox"]:hover {
  border-color: #C8860A !important;
  background: #241009 !important;
}

/* Gold checkmark when checked */
.woocommerce form .form-row input[type="checkbox"]:checked,
.woocommerce-checkout input[type="checkbox"]:checked,
.wc-block-components-checkbox input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #C8860A, #E0580A) !important;
  border-color: #C8860A !important;
}

.woocommerce form .form-row input[type="checkbox"]:checked::after,
.woocommerce-checkout input[type="checkbox"]:checked::after,
.wc-block-components-checkbox input[type="checkbox"]:checked::after {
  content: '' !important;
  position: absolute !important;
  top: 3px !important;
  left: 6px !important;
  width: 6px !important;
  height: 10px !important;
  border: 2px solid #080202 !important;
  border-top: none !important;
  border-left: none !important;
  transform: rotate(45deg) !important;
}

/* Checkbox label wrapper */
.woocommerce form .form-row label.checkbox,
.woocommerce-checkout label.checkbox,
.woocommerce-checkout .woocommerce-form__label-for-checkbox,
.wc-block-components-checkbox label,
.wc-block-components-checkbox .wc-block-components-checkbox__label {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #FDF4E3 !important;      /* ← bright, not dimmed */
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: none !important;
  cursor: pointer !important;
  line-height: 1.4 !important;
  padding: 2px 0 !important;
}

/* Block checkout checkbox wrapper */
.wc-block-components-checkbox {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 12px 0 !important;
}



/* ── Shipping options ───────────────────────────────────────── */
#shipping_method { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }

#shipping_method li {
  background: #1c0c08;
  border: 1px solid rgba(200,134,10,0.25);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

#shipping_method li:hover { border-color: rgba(200,134,10,0.5); background: #241009; }

#shipping_method li input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border: 2px solid rgba(200,134,10,0.5) !important;
  border-radius: 50% !important;
  background: #120605 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
  position: relative !important;
  transition: border-color .2s !important;
}

#shipping_method li input[type="radio"]:checked {
  border-color: #C8860A !important;
  background: #C8860A !important;
  box-shadow: inset 0 0 0 3px #1c0c08 !important;
}

#shipping_method li label {
  color: #FDF4E3 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  cursor: pointer !important;
  flex: 1 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Price in shipping label */
#shipping_method li label .woocommerce-Price-amount,
#shipping_method li label bdi {
  color: #C8860A !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

/* ── Payment methods ─────────────────────────────────────────── */
#payment { margin-top: 8px; }

#payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#payment ul.payment_methods li {
  background: #1c0c08;
  border: 1px solid rgba(200,134,10,0.25);
  border-radius: 10px;
  padding: 14px 18px;
  transition: border-color 0.2s;
}

#payment ul.payment_methods li:hover { border-color: rgba(200,134,10,0.5); }

#payment ul.payment_methods li label {
  color: #FDF4E3 !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

#payment ul.payment_methods li input[type="radio"] {
  width: 18px; height: 18px;
  accent-color: #C8860A;
  flex-shrink: 0;
}

#payment .payment_box {
  background: #120605;
  border: 1px solid rgba(200,134,10,0.15);
  border-radius: 0 0 10px 10px;
  padding: 16px;
  margin-top: -2px;
  color: #9a8070;
  font-size: 0.85rem;
}

/* ── Order review table ─────────────────────────────────────── */
.woocommerce-checkout-review-order-table,
.shop_table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  background: #1c0c08;
  border: 1px solid rgba(200,134,10,0.25);
  border-radius: 12px;
  overflow: hidden;
}

.woocommerce-checkout-review-order-table thead th {
  background: #120605;
  color: #C8860A;
  font-family: 'Nunito', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(200,134,10,0.2);
}

.woocommerce-checkout-review-order-table tbody td,
.woocommerce-checkout-review-order-table tfoot td,
.woocommerce-checkout-review-order-table tfoot th {
  padding: 12px 18px;
  color: #9a8070;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(200,134,10,0.1);
}

.woocommerce-checkout-review-order-table tbody .cart-subtotal td,
.woocommerce-checkout-review-order-table tfoot .cart-subtotal td { color: #FDF4E3; }

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
  color: #FDF4E3;
  font-size: 1.1rem;
  font-weight: 700;
  border-top: 1px solid rgba(200,134,10,0.3);
}

.woocommerce-checkout-review-order-table tfoot .order-total .amount {
  color: #C8860A;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
}

/* product name in review */
.woocommerce-checkout-review-order-table .product-name {
  color: #FDF4E3;
  font-weight: 600;
}

.woocommerce-checkout-review-order-table .product-name .product-quantity {
  color: #C8860A;
  font-weight: 700;
}

/* ── Place order button ─────────────────────────────────────── */
#place_order,
.woocommerce #place_order {
  width: 100% !important;
  padding: 18px !important;
  background: linear-gradient(135deg, #C8860A, #E0580A) !important;
  color: #080202 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  transition: opacity 0.2s, transform 0.2s !important;
  margin-top: 16px !important;
}

#place_order:hover { opacity: 0.88 !important; transform: translateY(-2px) !important; }

/* ── Notices ────────────────────────────────────────────────── */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  background: #1c0c08 !important;
  border-left: 4px solid #C8860A !important;
  color: #FDF4E3 !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  margin-bottom: 16px !important;
  list-style: none !important;
  font-size: 0.9rem !important;
}

.woocommerce-error { border-left-color: #E0580A !important; }

/* ── Cart page ──────────────────────────────────────────────── */
.woocommerce-cart-form table {
  width: 100%;
  border-collapse: collapse;
  background: #1c0c08;
  border: 1px solid rgba(200,134,10,0.25);
  border-radius: 12px;
  overflow: hidden;
}

.woocommerce-cart-form table th {
  background: #120605;
  color: #C8860A;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(200,134,10,0.2);
}

.woocommerce-cart-form table td {
  padding: 16px 18px;
  color: #9a8070;
  border-bottom: 1px solid rgba(200,134,10,0.1);
  vertical-align: middle;
}

.woocommerce-cart-form table td.product-name a {
  color: #FDF4E3;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}

.woocommerce-cart-form table td.product-name a:hover { color: #C8860A; }
.woocommerce-cart-form table td.product-price { color: #C8860A; font-weight: 600; }
.woocommerce-cart-form table td.product-subtotal { color: #C8860A; font-weight: 700; }

.woocommerce-cart-form table td.product-remove a {
  color: #5a3525 !important;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.woocommerce-cart-form table td.product-remove a:hover { color: #E0580A !important; }

/* Cart qty in cart table */
.woocommerce-cart-form .quantity input.qty {
  background: #120605 !important;
  border: 1px solid rgba(200,134,10,0.3) !important;
  border-radius: 6px !important;
  color: #FDF4E3 !important;
  font-weight: 600 !important;
  text-align: center;
  width: 60px !important;
  padding: 8px !important;
}

/* Update cart button */
.woocommerce-cart-form button[name="update_cart"] {
  background: transparent !important;
  border: 1px solid rgba(200,134,10,0.4) !important;
  color: #C8860A !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
}

.woocommerce-cart-form button[name="update_cart"]:hover {
  background: rgba(200,134,10,0.1) !important;
  border-color: #C8860A !important;
}

/* Cart totals box */
.cart_totals {
  background: #1c0c08;
  border: 1px solid rgba(200,134,10,0.25);
  border-radius: 12px;
  padding: 24px;
}

.cart_totals h2 {
  font-family: 'Cormorant Garamond', serif;
  color: #FDF4E3;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.cart_totals table { background: transparent !important; border: none !important; }
.cart_totals table th { color: #6a5545 !important; font-size: 0.8rem !important; padding: 10px 0 !important; }
.cart_totals table td { color: #FDF4E3 !important; padding: 10px 0 !important; text-align: right; }
.cart_totals table .order-total td { color: #C8860A !important; font-size: 1.2rem; font-weight: 700; }

/* Proceed to checkout button */
.wc-proceed-to-checkout a.checkout-button,
.woocommerce a.checkout-button {
  display: block !important;
  width: 100% !important;
  padding: 16px !important;
  background: linear-gradient(135deg, #C8860A, #E0580A) !important;
  color: #080202 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  margin-top: 16px !important;
  transition: opacity 0.2s !important;
}

.wc-proceed-to-checkout a.checkout-button:hover { opacity: 0.88 !important; color: #080202 !important; }

/* ── Terms checkbox ─────────────────────────────────────────── */
.woocommerce-terms-and-conditions-wrapper {
  background: rgba(200,134,10,0.05);
  border: 1px solid rgba(200,134,10,0.15);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 16px;
  font-size: 0.82rem;
  color: #6a5545;
}

.woocommerce-terms-and-conditions-wrapper a { color: #C8860A; }

/* ── Order notes textarea ───────────────────────────────────── */
#order_comments {
  min-height: 100px;
  resize: vertical;
}

/* ── Coupon ─────────────────────────────────────────────────── */
.woocommerce-form-coupon-toggle a,
.showcoupon { color: #C8860A !important; }

.checkout_coupon input[type="text"] {
  background: #1c0c08 !important;
  border: 1px solid rgba(200,134,10,0.35) !important;
  border-radius: 8px 0 0 8px !important;
  color: #FDF4E3 !important;
  padding: 12px 16px !important;
}

.checkout_coupon button {
  background: #C8860A !important;
  color: #080202 !important;
  border: none !important;
  border-radius: 0 8px 8px 0 !important;
  padding: 12px 20px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
}

/* ── Delivery feedback widget ───────────────────────────────── */
.chacha-delivery-feedback {
  margin: 12px 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid;
}

.chacha-delivery-feedback.available {
  background: rgba(200,134,10,0.08);
  border-color: rgba(200,134,10,0.4);
  color: #E8A820;
}

.chacha-delivery-feedback.unavailable {
  background: rgba(224,88,10,0.08);
  border-color: rgba(224,88,10,0.4);
  color: #E0580A;
}

.chacha-delivery-feedback.checking {
  background: rgba(200,134,10,0.05);
  border-color: rgba(200,134,10,0.15);
  color: #6a5545;
}

/* ── Mobile ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .woocommerce-checkout,
  .woocommerce-cart-form,
  .woocommerce-page { padding: 0 16px; }

  .woocommerce-checkout .col2-set .col-1,
  .woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }

  #order_review_heading,
  .woocommerce-checkout-review-order { margin-top: 32px; }
}

/* ── Address card / shipping summary ────────────────────────── */
.wc-block-components-address-card,
.wc-block-components-address-card address,
.wc-block-components-address-card p,
.wc-block-components-address-card span,
.wc-block-components-shipping-totals__address,
.wc-block-components-totals-shipping address,
.wc-block-checkout__step-description,
[class*="address-card"] address,
[class*="address-card"] p {
  color: #c8a882 !important;
}

/* ── Address card secondary line (precise fix) ──────────────── */
.wc-block-components-address-card__address-section,
.wc-block-components-address-card__address-section--secondary {
  color: #c8a882 !important;
}

/* ── "Kupuję i płacę" + wszystkie przyciski akcji ───────────── */
.wc-block-components-checkout-place-order-button,
.wc-block-components-button,
.wc-block-components-checkout__place-order button,
button.wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-checkout-actions-block button,
.wc-block-checkout__place-order button {
  background: linear-gradient(135deg, #C8860A, #E0580A) !important;
  color: #080202 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  border: none !important;
  border-radius: 10px !important;
  padding: 16px 32px !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: opacity .2s ease, transform .2s ease, box-shadow .2s ease !important;
  box-shadow: 0 4px 20px rgba(200,134,10,0.25) !important;
}

.wc-block-components-checkout-place-order-button:hover,
.wc-block-components-button:hover,
.wp-block-woocommerce-checkout-actions-block button:hover {
  opacity: 0.88 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 28px rgba(200,134,10,0.4) !important;
}

.wc-block-components-checkout-place-order-button:active,
.wc-block-components-button:active {
  transform: translateY(0) !important;
  opacity: 0.95 !important;
}

/* Spinner inside button (loading state) */
.wc-block-components-checkout-place-order-button .wc-block-components-spinner,
.wc-block-components-button .wc-block-components-spinner {
  border-color: rgba(8,2,2,0.3) !important;
  border-top-color: #080202 !important;
}

/* ── Payment method radio – force gold when selected ────────── */
.wc-block-components-radio-control__input:checked {
  background: radial-gradient(circle, #C8860A 38%, transparent 42%) !important;
  border-color: #C8860A !important;
  box-shadow: 0 0 0 2px rgba(200,134,10,0.3) !important;
}

/* ── All block checkout secondary buttons (Edytuj etc.) ─────── */
.wc-block-components-address-card__edit,
.wc-block-components-address-card__edit button,
a.wc-block-components-address-card__edit {
  color: #C8860A !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  transition: color .2s !important;
  padding: 0 !important;
}

.wc-block-components-address-card__edit:hover,
a.wc-block-components-address-card__edit:hover {
  color: #E8A820 !important;
}

/* ── Block checkboxes ────────────────────────────────────────── */
.wc-block-components-checkbox__input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  background: #1c0c08 !important;
  border: 1.5px solid rgba(200,134,10,0.5) !important;
  border-radius: 5px !important;
  cursor: pointer !important;
  position: relative !important;
  transition: border-color .2s, background .2s !important;
  flex-shrink: 0 !important;
}

.wc-block-components-checkbox__input[type="checkbox"]:hover {
  border-color: #C8860A !important;
  background: #241009 !important;
}

.wc-block-components-checkbox__input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #C8860A, #E0580A) !important;
  border-color: #C8860A !important;
}

.wc-block-components-checkbox__input[type="checkbox"]:checked::after {
  content: '' !important;
  position: absolute !important;
  top: 3px !important;
  left: 6px !important;
  width: 6px !important;
  height: 10px !important;
  border: 2px solid #080202 !important;
  border-top: none !important;
  border-left: none !important;
  transform: rotate(45deg) !important;
}

.wc-block-components-checkbox {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 10px 0 !important;
}

.wc-block-components-checkbox__label {
  color: #FDF4E3 !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}
