/* =====================================================================
   99 PIZZA & GRILL — WOOCOMMERCE DARK LUXURY & TEMPLATE OVERRIDES
   ===================================================================== */

/* Admin Bar Offset for Fixed Navigation */
body.admin-bar #pg99-banner .pg99-nav {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar #pg99-banner .pg99-nav {
    top: 46px !important;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar #pg99-banner .pg99-nav {
    top: 0 !important;
  }
}

/* Page Container and Clearance */
.pg99-page-wrapper {
  min-height: 85vh;
  padding: 165px 2rem 6rem;
  background: var(--pg99-dark, #0C0907);
  color: var(--pg99-cream, #F2EAD8);
  box-sizing: border-box;
}

body.admin-bar .pg99-page-wrapper {
  padding-top: 195px !important;
}

@media (max-width: 900px) {
  .pg99-page-wrapper {
    padding: 140px 1.5rem 5rem;
  }
  body.admin-bar .pg99-page-wrapper {
    padding-top: 170px !important;
  }
}

@media (max-width: 600px) {
  .pg99-page-wrapper {
    padding: 115px 1.25rem 4rem;
  }
  body.admin-bar .pg99-page-wrapper {
    padding-top: 145px !important;
  }
}

.pg99-page-container {
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.pg99-page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.pg99-page-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--pg99-ember, #D94F1E);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.pg99-page-title {
  font-family: var(--pg99-font-display, 'Cormorant Garamond', Georgia, serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--pg99-cream, #F2EAD8);
  margin: 0;
  line-height: 1.15;
}

/* Regular inner content for legal/standard pages */
.pg99-page-inner-content {
  background: rgba(33, 28, 24, 0.75);
  border: 1px solid rgba(242, 234, 216, 0.1);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  box-sizing: border-box;
}

/* WooCommerce container */
.pg99-wc-content {
  width: 100%;
  box-sizing: border-box;
}

/* Prevent Fixed Navbar from Covering Error Banners & Targets */
:target,
.wc-block-components-notice-banner,
.woocommerce-NoticeGroup,
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
#order_review,
#customer_details {
  scroll-margin-top: 150px !important;
}

/* ── 1. CLASSIC WOOCOMMERCE STYLES ── */
body.woocommerce-page,
.woocommerce-page {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce {
  color: var(--pg99-cream, #F2EAD8);
  font-family: var(--pg99-font-body, 'Space Grotesk', sans-serif);
  width: 100%;
  box-sizing: border-box;
}

.woocommerce a {
  color: var(--pg99-cream, #F2EAD8);
  text-decoration: none;
  transition: color 0.2s;
}

.woocommerce a:hover {
  color: var(--pg99-ember, #D94F1E);
}

/* Classic Shop Tables */
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(242, 234, 216, 0.1) !important;
  border-radius: 8px;
  background: rgba(22, 17, 14, 0.65) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--pg99-cream, #F2EAD8);
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.woocommerce table.shop_table th {
  background: rgba(30, 24, 20, 0.85);
  color: var(--pg99-cream, #F2EAD8);
  font-family: var(--pg99-font-display, 'Cormorant Garamond', serif);
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  padding: 1.1rem 1.3rem;
  border-bottom: 1px solid rgba(242, 234, 216, 0.1);
}

.woocommerce table.shop_table td {
  padding: 1.2rem 1.3rem;
  border-top: 1px solid rgba(242, 234, 216, 0.06);
  vertical-align: middle;
}

.woocommerce table.shop_table td.product-thumbnail {
  width: 76px;
  text-align: center;
  padding: 0.85rem 0.5rem;
}

.woocommerce table.shop_table td.product-thumbnail img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(242, 234, 216, 0.12);
  background: #140f0c;
  display: inline-block;
  vertical-align: middle;
}

.woocommerce table.shop_table td.product-name a {
  font-family: var(--pg99-font-display, 'Cormorant Garamond', serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pg99-cream, #F2EAD8);
}

/* Custom Pizza Toppings & Variations Metadata */
.woocommerce table.shop_table dl.variation,
.woocommerce .variation {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.35rem 0.5rem !important;
  margin: 0.5rem 0 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  align-items: center !important;
}

.woocommerce table.shop_table dl.variation dt,
.woocommerce .variation dt {
  font-size: 0.72rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(242, 234, 216, 0.55) !important;
  margin: 0 !important;
  font-weight: 600 !important;
}

.woocommerce table.shop_table dl.variation dd,
.woocommerce .variation dd {
  background: rgba(217, 79, 30, 0.15) !important;
  border: 1px solid rgba(217, 79, 30, 0.3) !important;
  border-radius: 4px !important;
  padding: 2px 8px !important;
  font-size: 0.75rem !important;
  color: #F2EAD8 !important;
  margin: 0 0.5rem 0 0 !important;
  font-weight: 500 !important;
}

.woocommerce table.shop_table dl.variation dd p,
.woocommerce .variation dd p {
  margin: 0 !important;
  padding: 0 !important;
}

.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
  font-weight: 600;
  color: var(--pg99-ember, #D94F1E);
}

.woocommerce a.remove {
  color: var(--pg99-ember, #D94F1E) !important;
  border: 1px solid rgba(217, 79, 30, 0.3);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-weight: 700;
}
.woocommerce a.remove:hover {
  background: var(--pg99-ember, #D94F1E) !important;
  color: #fff !important;
}

.woocommerce .quantity .qty {
  background: rgba(14, 11, 9, 0.85) !important;
  border: 1px solid rgba(242, 234, 216, 0.2) !important;
  color: var(--pg99-cream, #F2EAD8) !important;
  padding: 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  width: 60px;
}

.woocommerce table.shop_table td.actions {
  background: rgba(22, 17, 14, 0.7);
  padding: 1.25rem;
}

.woocommerce table.shop_table td.actions .coupon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  float: left;
}

.woocommerce table.shop_table td.actions .coupon input.input-text {
  width: 180px !important;
  height: 46px;
  box-sizing: border-box;
  margin: 0 !important;
  padding: 0.6rem 1rem !important;
}

.woocommerce table.shop_table td.actions .coupon button.button {
  height: 46px;
  padding: 0 1.5rem !important;
  font-size: 0.8rem !important;
}

.woocommerce table.shop_table td.actions > button.button {
  float: right;
  height: 46px;
  padding: 0 1.5rem !important;
  font-size: 0.8rem !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(242, 234, 216, 0.2) !important;
  color: #F2EAD8 !important;
  box-shadow: none !important;
}

.woocommerce table.shop_table td.actions > button.button:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #D94F1E !important;
  color: #FFF !important;
}

/* Standard Inputs & Textareas */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .coupon input.input-text {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(242, 234, 216, 0.16) !important;
  color: var(--pg99-cream, #F2EAD8) !important;
  padding: 0.75rem 1rem !important;
  border-radius: 4px !important;
  font-family: inherit !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce .coupon input.input-text:focus {
  border-color: var(--pg99-ember, #D94F1E) !important;
  box-shadow: 0 0 0 2px rgba(217, 79, 30, 0.25) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Standard Buttons */
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce #place_order,
.woocommerce .wc-proceed-to-checkout a.checkout-button {
  background: linear-gradient(135deg, #D94F1E 0%, #B83B10 100%) !important;
  color: #fff !important;
  font-family: var(--pg99-font-body, 'Space Grotesk', sans-serif) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  padding: 0.95rem 2rem !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  display: inline-block !important;
  box-shadow: 0 4px 18px rgba(217, 79, 30, 0.35) !important;
}

.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover,
.woocommerce #place_order:hover,
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
  background: linear-gradient(135deg, #f05c28 0%, #D94F1E 100%) !important;
  box-shadow: 0 6px 25px rgba(217, 79, 30, 0.5) !important;
  transform: translateY(-1px);
}

/* Classic Cart Layout */
.woocommerce-cart .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 400px) !important;
  gap: 2.5rem !important;
  align-items: start !important;
}

.woocommerce-cart .woocommerce-cart-form {
  background: rgba(20, 16, 13, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(242, 234, 216, 0.1) !important;
  border-radius: 10px !important;
  padding: 2rem !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

.woocommerce-cart .cart-collaterals {
  margin-top: 0 !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  background: rgba(26, 20, 16, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(217, 79, 30, 0.35) !important;
  border-radius: 10px !important;
  padding: 2rem !important;
  margin-top: 0 !important;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.6) !important;
  position: sticky !important;
  top: 130px !important;
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
  font-family: var(--pg99-font-display, 'Cormorant Garamond', serif);
  font-size: 2rem;
  color: var(--pg99-cream, #F2EAD8);
  border-bottom: 1px solid rgba(242, 234, 216, 0.1);
  padding-bottom: 0.8rem;
  margin-top: 0;
}

/* Cart Collaterals / Totals Table Breakdown */
.woocommerce-cart .cart-collaterals .cart_totals table.shop_table {
  background: transparent !important;
  border: none !important;
  margin-bottom: 1.5rem !important;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table th {
  background: transparent !important;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(242, 234, 216, 0.7);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(242, 234, 216, 0.08);
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop_table td {
  background: transparent !important;
  text-align: right;
  padding: 0.85rem 0;
  border-top: none;
  border-bottom: 1px solid rgba(242, 234, 216, 0.08);
  color: #F2EAD8;
}

.woocommerce-cart .cart-collaterals .cart_totals tr.order-total th,
.woocommerce-cart .cart-collaterals .cart_totals tr.order-total td {
  border-top: 1px solid rgba(217, 79, 30, 0.4);
  border-bottom: none;
  padding: 1.25rem 0 0.5rem;
}

.woocommerce-cart .cart-collaterals .cart_totals tr.order-total td strong {
  font-family: var(--pg99-font-display, 'Cormorant Garamond', serif);
  font-size: 1.8rem;
  color: #D94F1E;
}

.woocommerce .wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  padding: 1.15rem 2rem !important;
  font-size: 0.92rem !important;
  box-sizing: border-box;
}

/* Empty Cart Luxury State */
.woocommerce-cart .cart-empty,
.woocommerce .cart-empty {
  background: rgba(22, 17, 14, 0.85) !important;
  border: 1px solid rgba(242, 234, 216, 0.12) !important;
  border-radius: 12px !important;
  padding: 3.5rem 2rem !important;
  text-align: center !important;
  font-size: 1.25rem !important;
  color: rgba(242, 234, 216, 0.8) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5) !important;
  margin-bottom: 2rem !important;
}

.woocommerce-cart .return-to-shop,
.woocommerce .return-to-shop {
  text-align: center;
  margin-bottom: 3rem;
}

.woocommerce-cart .return-to-shop a.button,
.woocommerce .return-to-shop a.button {
  padding: 1.1rem 2.5rem !important;
  font-size: 0.9rem !important;
  letter-spacing: 0.18em !important;
}

/* Classic Checkout Layout */
.woocommerce-checkout form.checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 420px) !important;
  gap: 2.5rem !important;
  align-items: start !important;
}

.woocommerce-checkout #customer_details {
  background: rgba(20, 16, 13, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(242, 234, 216, 0.1) !important;
  border-radius: 10px !important;
  padding: 2rem !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
  width: 100% !important;
  float: none !important;
}

.woocommerce-checkout #customer_details h3,
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
  font-family: var(--pg99-font-display, 'Cormorant Garamond', serif);
  font-size: 1.8rem;
  color: var(--pg99-cream, #F2EAD8);
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(242, 234, 216, 0.1);
  letter-spacing: 0.02em;
}

.woocommerce form .form-row {
  margin-bottom: 1.25rem;
}

.woocommerce form .form-row label {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 234, 216, 0.75);
  margin-bottom: 0.45rem;
  display: block;
  font-weight: 500;
}

.woocommerce form .form-row .required {
  color: var(--pg99-ember, #D94F1E);
  text-decoration: none;
}

/* Select2 / SelectWoo Complete Luxury Dark Theme */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(242, 234, 216, 0.16) !important;
  border-radius: 4px !important;
  height: 48px !important;
  color: #F2EAD8 !important;
  outline: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #F2EAD8 !important;
  line-height: 46px !important;
  padding-left: 14px !important;
  font-size: 0.88rem !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: rgba(242, 234, 216, 0.4) !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
  right: 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #D94F1E transparent transparent transparent !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #D94F1E transparent !important;
}

.select2-dropdown {
  background-color: #17120E !important;
  border: 1px solid rgba(217, 79, 30, 0.4) !important;
  border-radius: 6px !important;
  box-shadow: 0 14px 40px rgba(0,0,0,0.8) !important;
  color: #F2EAD8 !important;
  z-index: 99999 !important;
}

.select2-container--default .select2-search--dropdown {
  padding: 8px !important;
  background: transparent !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  background-color: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(242, 234, 216, 0.2) !important;
  color: #F2EAD8 !important;
  border-radius: 4px !important;
  padding: 8px 12px !important;
  outline: none !important;
}

.select2-container--default .select2-results__option {
  color: #F2EAD8 !important;
  padding: 10px 14px !important;
  font-size: 0.88rem !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: rgba(217, 79, 30, 0.3) !important;
  color: #FFF !important;
}

.woocommerce-checkout #order_review_heading {
  display: none !important;
}

.woocommerce-checkout #order_review {
  background: rgba(26, 20, 16, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(217, 79, 30, 0.35) !important;
  border-radius: 10px !important;
  padding: 2rem !important;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.6) !important;
  position: sticky !important;
  top: 130px !important;
  width: 100% !important;
  float: none !important;
}

/* Order Review Table in Classic Checkout */
.woocommerce-checkout #order_review table.shop_table {
  background: transparent !important;
  border: none !important;
}

.woocommerce-checkout #order_review table.shop_table th {
  background: transparent !important;
  border-bottom: 1px solid rgba(242, 234, 216, 0.1);
  padding: 0.9rem 0;
}

.woocommerce-checkout #order_review table.shop_table td {
  background: transparent !important;
  border-top: none;
  border-bottom: 1px solid rgba(242, 234, 216, 0.06);
  padding: 0.9rem 0;
}

.woocommerce-checkout #order_review table.shop_table tr.order-total th,
.woocommerce-checkout #order_review table.shop_table tr.order-total td {
  border-top: 1px solid rgba(217, 79, 30, 0.4);
  border-bottom: none;
  padding: 1.2rem 0 0.5rem;
}

.woocommerce-checkout #order_review table.shop_table tr.order-total td strong {
  font-family: var(--pg99-font-display, 'Cormorant Garamond', serif);
  font-size: 1.8rem;
  color: #D94F1E;
}

/* Payment Methods in Classic Checkout */
.woocommerce-checkout #payment {
  background: rgba(18, 14, 11, 0.75) !important;
  border: 1px solid rgba(242, 234, 216, 0.1) !important;
  border-radius: 8px !important;
  padding: 1.5rem !important;
  margin-top: 1.5rem !important;
}

.woocommerce-checkout #payment ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  border-bottom: 1px solid rgba(242, 234, 216, 0.1) !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(242, 234, 216, 0.1) !important;
  border-radius: 6px !important;
  padding: 1rem 1.25rem !important;
  margin-bottom: 0.85rem !important;
  transition: all 0.2s ease;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:hover {
  border-color: rgba(217, 79, 30, 0.4) !important;
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > input[type="radio"] {
  accent-color: #D94F1E !important;
  margin-right: 0.65rem !important;
  transform: scale(1.15);
}

.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method label {
  color: #F2EAD8 !important;
  font-weight: 600 !important;
  cursor: pointer;
}

.woocommerce-checkout #payment div.payment_box {
  background: rgba(26, 20, 16, 0.95) !important;
  border: 1px solid rgba(217, 79, 30, 0.3) !important;
  border-radius: 6px !important;
  color: rgba(242, 234, 216, 0.8) !important;
  font-size: 0.85rem !important;
  line-height: 1.55 !important;
  padding: 1rem 1.25rem !important;
  margin-top: 0.85rem !important;
  position: relative;
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: rgba(217, 79, 30, 0.3) !important;
}

.woocommerce-checkout #payment .place-order {
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-checkout #payment #place_order {
  width: 100% !important;
  padding: 1.2rem 2rem !important;
  font-size: 0.95rem !important;
  margin-top: 1rem !important;
}

.woocommerce-checkout #payment .woocommerce-privacy-policy-text {
  color: rgba(242, 234, 216, 0.6) !important;
  font-size: 0.8rem !important;
  line-height: 1.5 !important;
  margin-bottom: 1rem !important;
}

.woocommerce-checkout #payment .woocommerce-privacy-policy-text a {
  color: #D94F1E !important;
  text-decoration: underline;
}

/* Order Received / Thank You Page */
.woocommerce-order {
  background: rgba(20, 16, 13, 0.85);
  border: 1px solid rgba(242, 234, 216, 0.1);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
}

p.woocommerce-notice--success.woocommerce-thankyou-order-received {
  background: rgba(217, 79, 30, 0.15) !important;
  border: 1px solid #D94F1E !important;
  color: #F2EAD8 !important;
  border-radius: 8px !important;
  padding: 1.25rem 1.75rem !important;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  margin-bottom: 2rem !important;
  text-align: center;
}

ul.woocommerce-order-overview {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) !important;
  gap: 1.25rem !important;
  list-style: none !important;
  padding: 1.5rem !important;
  background: rgba(26, 20, 16, 0.9) !important;
  border: 1px solid rgba(217, 79, 30, 0.3) !important;
  border-radius: 8px !important;
  margin: 2rem 0 !important;
}

ul.woocommerce-order-overview li {
  font-size: 0.78rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(242, 234, 216, 0.6) !important;
  border-right: 1px solid rgba(242, 234, 216, 0.1) !important;
  padding-right: 1rem !important;
  margin: 0 !important;
}

ul.woocommerce-order-overview li:last-child {
  border-right: none !important;
}

ul.woocommerce-order-overview li strong {
  display: block !important;
  font-size: 1.15rem !important;
  color: #F2EAD8 !important;
  margin-top: 0.4rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
}

ul.woocommerce-order-overview li.woocommerce-order-overview__total strong {
  color: #D94F1E !important;
}

.woocommerce-customer-details {
  background: rgba(26, 20, 16, 0.85);
  border: 1px solid rgba(242, 234, 216, 0.1);
  border-radius: 8px;
  padding: 1.75rem;
  margin-top: 2rem;
}

.woocommerce-customer-details h2 {
  font-family: var(--pg99-font-display, 'Cormorant Garamond', serif);
  font-size: 1.7rem;
  color: #F2EAD8;
  margin-top: 0;
  border-bottom: 1px solid rgba(242, 234, 216, 0.1);
  padding-bottom: 0.6rem;
}

.woocommerce-customer-details address {
  color: rgba(242, 234, 216, 0.8);
  font-style: normal;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Notices & Alerts */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: rgba(28, 22, 18, 0.95) !important;
  border-left: 4px solid var(--pg99-ember, #D94F1E) !important;
  color: var(--pg99-cream, #F2EAD8) !important;
  border-radius: 4px;
  padding: 1.1rem 1.5rem !important;
  margin-bottom: 2rem !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.woocommerce-error {
  border-left-color: #ff4757 !important;
}

/* ── 2. WOOCOMMERCE GUTENBERG BLOCKS OVERRIDES ── */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

.wp-block-woocommerce-cart.alignwide,
.wp-block-woocommerce-checkout.alignwide {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}

.wc-block-cart.alignwide,
.wc-block-cart,
.wc-block-checkout.alignwide,
.wc-block-checkout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 400px) !important;
  gap: 2.5rem !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 980px) {
  .wc-block-cart.alignwide,
  .wc-block-cart,
  .wc-block-checkout.alignwide,
  .wc-block-checkout {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

.wc-block-cart__main,
.wc-block-checkout__main {
  background: rgba(20, 16, 13, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(242, 234, 216, 0.1) !important;
  border-radius: 10px !important;
  padding: 2rem !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.wc-block-cart__sidebar,
.wc-block-checkout__sidebar,
.wc-block-components-sidebar {
  background: rgba(26, 20, 16, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(217, 79, 30, 0.35) !important;
  border-radius: 10px !important;
  padding: 2rem !important;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.6) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  position: sticky !important;
  top: 130px !important;
}

body.admin-bar .wc-block-cart__sidebar,
body.admin-bar .wc-block-checkout__sidebar,
body.admin-bar .wc-block-components-sidebar {
  top: 160px !important;
}

.wc-block-checkout h1,
.wc-block-checkout h2,
.wc-block-checkout h3,
.wc-block-cart h1,
.wc-block-cart h2,
.wc-block-cart h3,
.wc-block-components-title,
.wc-block-components-checkout-step__heading {
  font-family: var(--pg99-font-display, 'Cormorant Garamond', serif) !important;
  color: var(--pg99-cream, #F2EAD8) !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox__input,
.wc-block-components-select select,
.wc-block-components-textarea textarea,
.wc-block-components-address-form input,
.wc-block-components-form input[type="text"],
.wc-block-components-form input[type="email"],
.wc-block-components-form input[type="tel"] {
  background: rgba(255, 255, 255, 0.05) !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(242, 234, 216, 0.16) !important;
  border-radius: 4px !important;
  color: #F2EAD8 !important;
  box-shadow: none !important;
  padding: 0.85rem 1rem !important;
  transition: all 0.2s ease !important;
}

.wc-block-components-text-input input:focus,
.wc-block-components-combobox .wc-block-components-combobox__input:focus,
.wc-block-components-select select:focus,
.wc-block-components-textarea textarea:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--pg99-ember, #D94F1E) !important;
  box-shadow: 0 0 0 2px rgba(217, 79, 30, 0.25) !important;
  outline: none !important;
}

.wc-block-components-text-input label,
.wc-block-components-combobox label {
  color: rgba(242, 234, 216, 0.7) !important;
}

.wc-block-components-combobox-list {
  background: rgba(20, 16, 13, 0.98) !important;
  border: 1px solid rgba(242, 234, 216, 0.15) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6) !important;
}

.wc-block-components-combobox-list__item {
  color: var(--pg99-cream, #F2EAD8) !important;
}

.wc-block-components-combobox-list__item.is-selected,
.wc-block-components-combobox-list__item:hover {
  background: rgba(217, 79, 30, 0.25) !important;
  color: #fff !important;
}

.wc-block-components-radio-control,
.wc-block-components-radio-control-accordion-content {
  background: transparent !important;
  color: var(--pg99-cream, #F2EAD8) !important;
}

.wc-block-components-radio-control__option {
  border: 1px solid rgba(242, 234, 216, 0.1) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border-radius: 6px !important;
  padding: 1rem !important;
  margin-bottom: 0.75rem !important;
  transition: border-color 0.2s;
}

.wc-block-components-radio-control__option:hover {
  border-color: rgba(217, 79, 30, 0.4) !important;
}

.wc-block-components-radio-control__input {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(242, 234, 216, 0.3) !important;
}

.wc-block-components-radio-control__input:checked {
  background-color: var(--pg99-ember, #D94F1E) !important;
  border-color: var(--pg99-ember, #D94F1E) !important;
}

.wc-block-components-order-summary-item {
  border-bottom: 1px solid rgba(242, 234, 216, 0.06) !important;
  padding: 0.85rem 0 !important;
}

.wc-block-components-order-summary-item__image {
  border-radius: 6px !important;
  overflow: visible !important;
  position: relative !important;
  background: #140f0c !important;
}

.wc-block-components-order-summary-item__image img {
  border-radius: 6px !important;
}

.wc-block-components-order-summary-item__quantity {
  background: var(--pg99-ember, #D94F1E) !important;
  color: #fff !important;
  border: 2px solid #140f0c !important;
  border-radius: 50% !important;
  font-weight: 700 !important;
  font-size: 0.75rem !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.6) !important;
}

.wc-block-components-totals-item,
.wc-block-components-totals-wrapper {
  color: var(--pg99-cream, #F2EAD8) !important;
  border-top: 1px solid rgba(242, 234, 216, 0.08) !important;
}

.wc-block-components-totals-item__value {
  font-weight: 600 !important;
  color: var(--pg99-cream, #F2EAD8) !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: var(--pg99-ember, #D94F1E) !important;
  font-family: var(--pg99-font-display, 'Cormorant Garamond', serif) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

.wc-block-checkout__actions-button,
.wc-block-components-checkout-place-order-button,
.wc-block-cart__submit-button {
  background: linear-gradient(135deg, #D94F1E 0%, #B83B10 100%) !important;
  color: #fff !important;
  font-family: var(--pg99-font-body, 'Space Grotesk', sans-serif) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  padding: 1.1rem 2rem !important;
  border: none !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 20px rgba(217, 79, 30, 0.35) !important;
  width: 100% !important;
}

.wc-block-checkout__actions-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.wc-block-cart__submit-button:hover {
  background: linear-gradient(135deg, #f05c28 0%, #D94F1E 100%) !important;
  box-shadow: 0 6px 28px rgba(217, 79, 30, 0.5) !important;
  transform: translateY(-1px);
}

.wc-block-components-notice-banner {
  background: rgba(28, 22, 18, 0.95) !important;
  border: 1px solid rgba(242, 234, 216, 0.12) !important;
  border-left: 4px solid var(--pg99-ember, #D94F1E) !important;
  color: var(--pg99-cream, #F2EAD8) !important;
  border-radius: 4px !important;
  margin-bottom: 1.5rem !important;
}

.wc-block-components-notice-banner.is-error {
  border-left-color: #ff4757 !important;
  background: rgba(45, 15, 15, 0.95) !important;
}

/* ── 3. GLOBAL DARK SAFETY NET ── */
.site,
.site-content,
.entry-content,
.page-content,
.post-content,
#page,
#content,
#main,
#primary,
.wp-site-blocks,
.is-layout-constrained,
.is-layout-flow {
  background-color: #0C0907 !important;
  color: #F2EAD8 !important;
}

body.woocommerce-coming-soon,
body.woocommerce-coming-soon .wp-site-blocks,
body.woocommerce-coming-soon .is-layout-constrained,
body.woocommerce-coming-soon .is-layout-flow,
body.woocommerce-coming-soon .wp-block-group,
body.woocommerce-coming-soon .wp-block-cover,
.woocommerce-coming-soon-banner,
.coming-soon-is-enabled {
  background: #0C0907 !important;
  background-color: #0C0907 !important;
  color: #F2EAD8 !important;
}

body.woocommerce-coming-soon h1,
body.woocommerce-coming-soon h2,
body.woocommerce-coming-soon h3,
body.woocommerce-coming-soon p {
  color: #F2EAD8 !important;
}

.wp-block-group,
.wp-block-cover,
.wp-block-columns,
.wp-block-column {
  background-color: transparent;
}

.woocommerce-page .wp-site-blocks,
.woocommerce-page .is-layout-constrained {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

body::after {
  content: none !important;
}

.entry-content,
.entry-content p,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content a {
  color: var(--pg99-cream, #F2EAD8);
}

.entry-content a:hover {
  color: var(--pg99-ember, #D94F1E);
}

/* ── 4. WOOCOMMERCE RESPONSIVE ENHANCEMENTS ── */
@media (max-width: 768px) {
  .woocommerce table.shop_table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .woocommerce table.cart td.actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .woocommerce table.cart td.actions .coupon {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.5rem !important;
    width: 100% !important;
    float: none !important;
  }

  .woocommerce table.cart td.actions .coupon input.input-text {
    width: 100% !important;
  }

  .woocommerce table.cart td.actions .coupon button.button,
  .woocommerce table.cart td.actions > button.button {
    width: 100% !important;
    float: none !important;
  }

  .woocommerce-cart .cart-collaterals .cart_totals {
    position: static !important;
    width: 100% !important;
  }
}

@media (max-width: 600px) {
  .pg99-page-wrapper {
    padding: 105px 1rem 3rem !important;
  }

  body.admin-bar .pg99-page-wrapper {
    padding-top: 135px !important;
  }

  .pg99-page-title {
    font-size: 2.2rem !important;
  }

  .pg99-page-inner-content,
  .woocommerce-cart .woocommerce-cart-form,
  .woocommerce-cart .cart-collaterals .cart_totals,
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review,
  .wc-block-cart__main,
  .wc-block-checkout__main,
  .wc-block-cart__sidebar,
  .wc-block-checkout__sidebar {
    padding: 1.25rem 1rem !important;
    border-radius: 8px !important;
  }

  .wc-block-checkout__actions-button,
  .wc-block-components-checkout-place-order-button,
  .wc-block-cart__submit-button {
    padding: 0.95rem 1.25rem !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.12em !important;
  }
}

@media (max-width: 480px) {
  .pg99-page-wrapper {
    padding: 95px 0.75rem 2.5rem !important;
  }

  .pg99-page-header {
    margin-bottom: 2rem !important;
  }

  .pg99-page-title {
    font-size: 1.9rem !important;
  }

  .woocommerce form.checkout .col2-set .col-1,
  .woocommerce form.checkout .col2-set .col-2 {
    padding: 0 !important;
    float: none !important;
    width: 100% !important;
  }

  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 0.85rem 0.75rem !important;
    font-size: 0.82rem !important;
  }

  .woocommerce table.shop_table td.product-name a {
    font-size: 1rem !important;
  }
}
