/* ═══════════════════════════════════════════════════
   ALESSA DIAMOND — LUXURY WOOCOMMERCE BLOCKS OVERRIDE
   Transforms default WooCommerce blocks into high-end aesthetics.
═══════════════════════════════════════════════════ */

/* ── typography & links ── */
.wc-block-components-product-name {
  font-family: var(--font-display, 'Cormorant Garamond', serif) !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #0A0A0A !important;
  text-decoration: none !important;
  letter-spacing: 0.5px !important;
}

.wc-block-cart-items td a,
.wc-block-components-product-name a {
  text-decoration: none !important;
  color: #0A0A0A !important;
}

.wc-block-cart-items td a:hover,
.wc-block-components-product-name a:hover {
  color: var(--gold-dark, #8A6B3A) !important;
}

/* Headings inside blocks */
.wc-block-cart__totals-title,
.wc-block-checkout__title {
  font-family: var(--font-display, 'Cormorant Garamond', serif) !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  border-bottom: 1px solid #E5E1D8 !important;
  padding-bottom: 12px !important;
  margin-bottom: 30px !important;
}

/* ── PREMIUM BUTTONS ── */
.wc-block-components-button, 
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  background: #0A0A0A !important;
  color: #E8D5A3 !important;
  text-transform: uppercase !important;
  letter-spacing: 3px !important;
  font-family: var(--font-body, 'Jost', sans-serif) !important;
  font-weight: 500 !important;
  font-size: 11px !important;
  border-radius: 0 !important;
  padding: 18px 30px !important;
  border: none !important;
  text-align: center !important;
  transition: background 0.3s ease !important;
  box-shadow: none !important;
}

.wc-block-components-button:hover,
.wc-block-components-checkout-place-order-button:hover {
  background: #1E1E1E !important;
  color: #FFF !important;
}

/* Return to shop button transparent variant */
.wc-block-components-button--is-link {
  background: transparent !important;
  color: #0A0A0A !important;
  border: 1px solid #0A0A0A !important;
}
.wc-block-components-button--is-link:hover {
  background: #0A0A0A !important;
  color: #FFF !important;
}

/* ── SIDEBAR & ORDER SUMMARY (Cream LUXURY Background) ── */
.wc-block-cart__totals-inner,
.wc-block-checkout__sidebar {
  background-color: #FAF8F5 !important;
  padding: 40px !important;
  border: 1px solid #E5E1D8 !important;
  border-radius: 0 !important;
}

.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-components-totals-item__description {
  font-family: var(--font-body, 'Jost', sans-serif) !important;
  font-size: 14px !important;
  color: #333 !important;
}

/* ── CHECKOUT FORM FIELDS ── */
.wc-block-components-text-input input,
.wc-block-components-combobox-control input,
.wc-block-components-select-input select,
.wc-block-components-textarea input,
textarea.wc-block-components-textarea {
  border: 0.5px solid #E5E1D8 !important;
  border-radius: 0 !important;
  background-color: #FFF !important;
  padding: 14px 16px !important;
  font-family: var(--font-body, 'Jost', sans-serif) !important;
  font-size: 13px !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.3s !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-select-input select:focus {
  border-color: #C9A96E !important;
}

.wc-block-components-text-input label,
.wc-block-components-select-input label {
  font-family: var(--font-body, 'Jost', sans-serif) !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: #777 !important;
  background: transparent !important;
  padding: 0 !important;
  top: 15px !important;
  left: 16px !important;
}

.wc-block-components-text-input.is-active label,
.wc-block-components-text-input input:focus ~ label,
.wc-block-components-text-input input:not(:placeholder-shown) ~ label {
  transform: translateY(-20px) scale(0.85) !important;
  color: #111 !important;
}

/* Quantity Adjuster */
.wc-block-components-quantity-selector {
  border: 1px solid #E5E1D8 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.wc-block-components-quantity-selector input {
  font-family: var(--font-body, 'Jost', sans-serif) !important;
  font-size: 14px !important;
}
.wc-block-components-quantity-selector button {
  color: #0A0A0A !important;
}
.wc-block-components-quantity-selector button:hover {
  background: #FAF8F5 !important;
}

/* Spacing and borders */
.wc-block-cart-items td,
.wc-block-cart-items th {
  border-bottom: 1px solid #E5E1D8 !important;
  border-top: none !important;
}
