/*
 * WooCommerce Styling Overrides for Provisions Wine & Cheese
 */

:root {
  --prov-primary: #364042;
  /* --prov-primary:    #b72c27;  */
  --prov-secondary: #ad9945; /* Brand Gold Accent */
  --prov-bg: #f6f6f6; /* Light gray Background */
  --prov-text: #364042; /* Main Dark Gray Text */
  --prov-radius: 0px; /* Square buttons per design */
--success-bg: #1acd4a;
  --danger-bg : #fa2f18;
  --warning-bg : #fdcb29;
  --info-bg : #23a3b7;
  --prov-font-head: "Open Sans", sans-serif;
  --prov-font-body: "Open Sans", sans-serif;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-cart .cart .button,
.woocommerce .checkout-button,
.woocommerce #place_order,
.woocommerce .single_add_to_cart_button {
  background-color: var(--prov-primary) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--prov-radius) !important;
  font-family: var(--prov-font-head) !important;
  padding: 8px 28px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.2s ease;
  font-weight: 700 !important;
  cursor: pointer;
  text-decoration: none;
}

body input[type="radio"]:focus {
  outline: none !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce #place_order:hover,
.woocommerce .single_add_to_cart_button:hover {
  background-color: var(--prov-secondary) !important;
  color: #fff !important;
}

/* ── PRODUCT GRID ──────────────────────────────────────────── */
.woocommerce ul.products {
  list-style: none;
  padding: 0;
  margin: 0;
}
.woocommerce ul.products li.product {
  margin-bottom: 2rem;
}
.woocommerce ul.products li.product img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.woocommerce ul.products li.product:hover img {
  transform: scale(1.05);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--prov-font-head);
  font-size: 1.1rem;
  color: var(--prov-text);
  margin-top: 15px;
  line-height: 1.3;
}
.woocommerce ul.products li.product .price {
  color: var(--prov-primary);
  font-weight: 700;
  margin-top: 5px;
}

/* Equal Height Product Grid */
.product-div.row {
  display: flex;
  flex-wrap: wrap;
}

.product-div.row > [class*="col-"] {
  display: flex;
  margin-bottom: 30px; /* Matching existing spacing */
}

.product.item {
  display: flex !important;
  flex-direction: column;
  flex: 1;
  width: 100%;
  padding: 0;
  border: 1px solid #dddddd;
  background: #fff;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.02); */
  border-radius: 0;
  overflow: hidden;
}

/* .product.item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transform: translateY(-5px);
  border-color: var(--prov-secondary);
} */

.product-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.product-box .hover-imgs {
  display: block;
  position: relative;
  width: 100%;
  /* padding-top: 100%;  */
  background: #fff;
  overflow: hidden;
  width: 230px;
  height: 280px;
  margin-inline: auto;
}

.product-box .hover-imgs img {
  /* position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  height: 90%;
  object-fit: contain;
  transform: translate(-50%, -50%); */
  transition: transform 0.6s ease;
}

.product.item:hover .hover-imgs img {
  transform: scale(1.05);
}

.product-in {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px 20px 0;
}

.product-title {
  margin-bottom: 15px;
  flex-grow: 1;
}

.product-title a {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  display: block;
  letter-spacing: 1px;
}

.product-title a:hover,
.product-title a:focus {
  text-decoration: none;
  color: #ad9945;
  z-index: 1;
}

/* .product.item .price {
  margin-top: auto !important;
  padding: 0 20px 20px;
  text-align: center;
  color: var(--prov-secondary) !important;
  font-weight: 800;
  font-size: 1.1rem;
} */

.add-cart {
  /* top: 15px;
  right: 15px; */
}

/* ── CART PAGE (Premium 2-Column Design) ─────────────────────── */
body.woocommerce-cart .cart-layout {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 40px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 40px 20px !important;
  align-items: flex-start !important;
}

@media (min-width: 992px) {
  body.woocommerce-cart .cart-layout {
    grid-template-columns: 1fr 380px !important;
  }
}

body.woocommerce-cart .woocommerce-cart-form {
  grid-column: 1;
}

/* Row Styling (Modern Cards) */
body.woocommerce-cart .cart-row {
  display: grid !important;
  grid-template-columns: 120px 1fr 100px 120px 40px !important;
  align-items: center !important;
  background: #fff !important;
  border: 1px solid #eee !important;
  margin-bottom: 20px !important;
  padding: 20px !important;
  gap: 15px !important;
  transition: box-shadow 0.3s ease !important;
}

body.woocommerce-cart .cart-row:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08) !important;
}

.cart .added_to_cart {
  margin-left: 10px;
}


@media (max-width: 768px) {
  body.woocommerce-cart .cart-row {
    grid-template-columns: 100px 1fr 40px !important;
    gap: 10px !important;
  }
  body.woocommerce-cart .product-price,
  body.woocommerce-cart .product-quantity,
  body.woocommerce-cart .product-subtotal {
    grid-column: 1 / -1 !important;
    text-align: right !important;
    display: flex !important;
    justify-content: space-between !important;
    font-size: 14px !important;
  }
  body.woocommerce-cart .product-price::before {
    content: "Price: ";
    font-weight: 600;
    color: #888;
  }
  body.woocommerce-cart .product-subtotal::before {
    content: "Subtotal: ";
    font-weight: 600;
    color: #888;
  }
}

/* Header (Hidden on Mobile) */
body.woocommerce-cart .cart-table-header {
  display: grid !important;
  grid-template-columns: 120px 1fr 100px 120px 40px !important;
  padding: 10px 20px !important;
  gap: 15px !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #999 !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #eee !important;
  margin-bottom: 20px !important;
}



/* Product Thumbnail */
body.woocommerce-cart .product-thumbnail img {
  width: 100px !important;
  height: 100px !important;
  object-fit: contain !important;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

body.woocommerce-cart .cart-row:hover .product-thumbnail img {
  transform: scale(1.1) !important;
}

/* Product Info & Typography */
body.woocommerce-cart .cp-name a {
  font-family: var(--prov-font-head) !important;
  font-weight: 600 !important; /* Semi-bold look */
  font-size: 16px !important; /* As requested */
  color: var(--prov-text) !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

body.woocommerce-cart .product-price,
body.woocommerce-cart .product-subtotal {
  font-weight: 800 !important;
  font-size: 18px !important; /* Premium Gold highlights */
  color: var(--prov-secondary) !important;
}

/* Remove Icon */
body.woocommerce-cart .remove-btn {
  font-size: 0 !important;
  color: #ccc !important;
  transition: color 0.3s !important;
}

body.woocommerce-cart .remove-btn:hover {
  color: var(--prov-primary) !important;
}

body.woocommerce-cart .remove-btn::before {
  content: "\f1f8" !important;
  font-family: "FontAwesome" !important;
  font-size: 20px !important;
}

/* Cart Totals / Summary Box */
body.woocommerce-cart .summary-box {
  background: #fff !important;
  padding: 30px !important;
  border: 1px solid #eee !important;
}

/* Proceed to Checkout Button */
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  width: 100% !important;
  background: var(--prov-primary) !important;
  color: #fff !important;
  padding: 20px !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  border-radius: 0 !important;
  display: block !important;
  text-align: center !important;
  transition: background 0.3s ease !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
  background: #202c2e !important;
}

@media (min-width: 992px) {
  body.woocommerce-cart .summary-box {
    position: sticky !important;
    top: 150px !important;
  }
}

body.woocommerce-cart .cart_totals h2 {
  font-family: var(--prov-font-head) !important;
  font-size: 18px !important;
  text-transform: uppercase !important;
  padding-bottom: 15px !important;
  margin-bottom: 20px !important;
  border-bottom: 2px solid var(--prov-primary) !important;
  font-weight: 800 !important;
}

body.woocommerce-cart .cart_totals table th {
  font-size: 13px !important;
  text-transform: uppercase !important;
  color: #888 !important;
  font-weight: 600 !important;
}

body.woocommerce-cart .cart_totals table td {
  font-weight: 700 !important;
}

body.woocommerce-cart .order-total td {
  color: var(--prov-primary) !important;
  font-size: 22px !important;
}

/* Actions Bar */
body.woocommerce-cart .cart-actions {
  display: flex !important;
  justify-content: space-between !important;
  padding: 20px 0 !important;
}

body.woocommerce-cart .coupon {
  display: flex !important;
  gap: 10px !important;
}

body.woocommerce-cart .coupon input.input-text {
  border: 1px solid #ddd !important;
  padding: 12px 15px !important;
  font-size: 14px !important;
  min-width: 180px !important;
}


.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]{
  border-radius: 0;
}

body.woocommerce-cart .coupon .btn-outline {
  background: transparent !important;
  border: 2px solid var(--prov-primary) !important;
  color: var(--prov-primary) !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  padding: 0 20px !important;
}

body.woocommerce-cart .coupon .btn-outline:hover {
  background: var(--prov-primary) !important;
  color: #fff !important;
}

body.woocommerce-cart .update-cart-btn {
  background: #f7f7f7 !important;
  color: #666 !important;
  border: 1px solid #ddd !important;
  font-size: 12px !important;
  padding: 10px 20px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
}

/* Continue Shopping Text Link */
body.woocommerce-cart .return-to-shop-link {
  display: inline-block !important;
  margin-top: 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: var(--prov-secondary) !important;
  text-decoration: none !important;
  border-bottom: 2px solid transparent !important;
  transition: border-color 0.3s ease !important;
}

body.woocommerce-cart .return-to-shop-link:hover {
  border-bottom-color: var(--prov-secondary) !important;
}

/* ── CART EMPTY PAGE ─────────────────────────────────────────── */
.woocommerce-cart  .wc-block-cart__empty-cart__title {
  color: #ac994a;
}


:root :where(.wp-block-separator.is-style-dots):before {
    color: rgb(171 153 78);
}


.woocommerce-cart h2.wp-block-heading {
    color: #364042;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: capitalize;
}


.wc-block-grid__products .wc-block-grid__product-image {
    display: block;
    position: relative;
    background: #fff;
    overflow: hidden;
    width: 230px;
    height: 280px;
    margin-inline: auto;
}


.wc-block-grid__products .wc-block-grid__product-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    padding: 15px;
    margin-bottom: 10px;
    transition: transform 0.6s ease;
}

.wc-block-grid__product .wc-block-grid__product-image, .wc-block-grid__product .wc-block-grid__product-link {
    display: inline-block;
    position: relative;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    display: block;
    letter-spacing: 1px;
    width: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link {
    display: inline-flex;
    justify-content: center;
    text-align: center;
    white-space: normal;
    word-break: break-word;
    background-color: var(--prov-primary);
    color: #fff;
    font-size: 14px;
    padding: 12px 35px;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    border-radius: 0;
}


.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link.loading:after {
    content: "";
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    display: inline-block;
    margin-left: 8px;
    position: absolute;
    top: 16px;
    animation: spin 2s linear infinite;
}

.wc-block-grid__product-add-to-cart.wp-block-button .wp-block-button__link:hover {
background-color: var(--prov-secondary);
}

.wc-block-grid__product:hover .wc-block-grid__product-image img {
  transform: scale(1.1);
}

/* ── CHECKOUT PAGE ─────────────────────────────────────────── */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading {
  font-family: var(--prov-font-head);
  color: var(--prov-text);
  border-bottom: 2px solid var(--prov-primary);
  padding-bottom: 10px;
  margin-bottom: 25px;
  text-transform: uppercase;
  font-weight: 800;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border: 1px solid #ddd;
  border-radius: var(--prov-radius);
  padding: 12px 14px;
  font-family: var(--prov-font-body);
  width: 100%;
}
.woocommerce form .form-row input.input-text:focus {
  border-color: var(--prov-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(183, 44, 39, 0.1);
}

/* ── ORDER CONFIRMATION PAGE ───────────────────────────────── */
.woocommerce-order-received .woocommerce-thankyou-order-received {
  font-family: var(--prov-font-head);
  font-size: 1.6rem;
  color: var(--prov-primary);
  font-weight: 700;
}
.woocommerce-order-received ul.woocommerce-order-overview {
  background: var(--prov-bg);
  padding: 25px;
  border-radius: var(--prov-radius);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

/* ── NOTICES ───────────────────────────────────────────────── */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  padding: 14px 18px !important;
  margin-bottom: 20px !important;
  border-radius: var(--prov-radius);
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid transparent;
}

/* SUCCESS */
.woocommerce-message {
  background: #f0faf0 !important;
  border-color: #d6ead6;
  color: #2c5f2e;
}

/* ERROR */
.woocommerce-error {
  background: #fff0f0 !important;
  border-color: #f5c6cb;
  color: #842029;
}

/* INFO */
.woocommerce-info {
  background: #f0f4ff !important;
  border-color: #cfe2ff;
  color: #1a3a5c;
}

/* Remove default list styling inside error */
.woocommerce-error li {
  margin: 0;
  list-style: none;
}




/* ── STAR RATINGS ──────────────────────────────────────────── */
.woocommerce .star-rating span::before {
  color: var(--prov-secondary);
}

/* ── BREADCRUMB ────────────────────────────────────────────── */
.woocommerce-breadcrumb {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2rem;
}
.woocommerce-breadcrumb a {
  color: var(--prov-primary);
  text-decoration: none;
  font-weight: 600;
}
.woocommerce-breadcrumb a:hover {
  color: var(--prov-secondary);
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .woocommerce-cart table.cart th {
    display: none;
  }
  .woocommerce-cart table.cart td {
    display: block;
    text-align: right;
  }
  .woocommerce-cart table.cart td::before {
    content: attr(data-title);
    float: left;
    font-weight: 700;
  }
}

/* ── QUANTITY SELECTOR (Global) ────────────────────────────── */
.quantity {
  margin: 0 !important;
  padding: 0 !important;
  display: inline-block !important;
}

.quantity-selector {
  display: inline-flex !important;
  align-items: stretch !important;
  border: 1px solid #e0e0e0 !important;
  background: #fff !important;
  overflow: hidden !important;
  height: 45px !important;
  width: auto !important;
}

.quantity .qty {
  width: 60px !important;
  height: 100% !important;
  line-height: 43px !important; /* height minus border */
  padding: 0 !important;
  text-align: center !important;
  border: none !important;
  border-left: 1px solid #e0e0e0 !important;
  border-right: 1px solid #e0e0e0 !important;
  background: #fff !important;
  color: #1a1a1a !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  -moz-appearance: textfield;
  appearance: textfield;
  border-radius: 0 !important;
  float: none !important;
  margin: 0 !important;
}

.quantity .qty::-webkit-outer-spin-button,
.quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-btn {
  width: 45px !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  color: #333 !important;
  border: none !important;
  cursor: pointer !important;
  transition:
    background 0.2s,
    color 0.2s;
  font-size: 20px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  padding: 0 !important;
}

.qty-btn:hover {
  background: var(--prov-primary) !important;
  /* background: #f9f5f0 !important; */
  color: #fff !important;
}

/* ── CHECKOUT PAGE (Boutique 2-Column Grid) ────────────────── */
.checkout-page-wrapper {
  max-width: 1200px !important;
  margin: 40px auto !important;
  padding: 0 20px !important;
}

.checkout-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 40px !important;
  align-items: flex-start !important;
}

@media (min-width: 992px) {
  .checkout-grid {
    grid-template-columns: 1fr 420px !important;
  }
}

/* Form Sections */
.billing-details-section,
.shipping-details-section {
  background: #fff !important;
  padding: 30px !important;
  border: 1px solid #eee !important;
  margin-bottom: 20px !important;
}

.section-title {
  font-family: var(--prov-font-head) !important;
  font-size: 18px !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  margin-bottom: 25px !important;
  border-bottom: 2px solid var(--prov-primary) !important;
  padding-bottom: 12px !important;
  font-weight: 800 !important;
}

/* Order Review Card */
.order-review-card {
  background: #fff !important;
  padding: 30px !important;
  border: 1px solid #eee !important;
}

@media (min-width: 992px) {
  .checkout-right-col {
    position: sticky !important;
    top: 150px !important;
  }
}

/* Boutique Form Styling */
.wc-block-components-form .wc-block-components-text-input input[type=email], .wc-block-components-form .wc-block-components-text-input input[type=number], .wc-block-components-form .wc-block-components-text-input input[type=password], .wc-block-components-form .wc-block-components-text-input input[type=tel], .wc-block-components-form .wc-block-components-text-input input[type=text], .wc-block-components-form .wc-block-components-text-input input[type=url], .wc-block-components-text-input input[type=email], .wc-block-components-text-input input[type=number], .wc-block-components-text-input input[type=password], .wc-block-components-text-input input[type=tel], .wc-block-components-text-input input[type=text], .wc-block-components-text-input input[type=url]{
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}


.wc-block-components-form
  .wc-block-components-text-input
  input[type="email"]:focus,
.wc-block-components-form
  .wc-block-components-text-input
  input[type="number"]:focus,
.wc-block-components-form
  .wc-block-components-text-input
  input[type="password"]:focus,
.wc-block-components-form
  .wc-block-components-text-input
  input[type="tel"]:focus,
.wc-block-components-form
  .wc-block-components-text-input
  input[type="text"]:focus,
.wc-block-components-form
  .wc-block-components-text-input
  input[type="url"]:focus,
.wc-block-components-text-input input[type="email"]:focus,
.wc-block-components-text-input input[type="number"]:focus,
.wc-block-components-text-input input[type="password"]:focus,
.wc-block-components-text-input input[type="tel"]:focus,
.wc-block-components-text-input input[type="text"]:focus,
.wc-block-components-text-input input[type="url"]:focus {
  border: 1px solid #ab994e !important;
}

.woocommerce-checkout label,
.wc-block-components-form .wc-block-components-text-input label,
.wc-block-components-text-input label {
  display: block !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  /* letter-spacing: 1.5px !important; */
  /* font-weight: 700 !important; */
  color: #999 !important;
  margin-bottom: 8px !important;
}

.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea,
.woocommerce-checkout select {
  border: 1px solid 
color-mix(in srgb, currentColor 80%, transparent);
  border-radius: 4px !important;
  padding: 14px !important;
  font-size: 14px !important;
  color: var(--prov-text) !important;
  width: 100% !important;
  transition:
    border-color 0.3s,
    box-shadow 0.3s !important;
  background: #fff !important;
}

.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus {
    border-color: #a68e3f !important;
    outline: none !important;
    box-shadow: none !important;
    /* border-color: var(--prov-primary) !important; */
  /* box-shadow: 0 0 0 1px var(--prov-primary) !important; */
}

/* Payment Methods */
.woocommerce-checkout #payment {
  background: transparent !important;
  border: none !important;
}

.woocommerce-checkout #payment ul.payment_methods {
  border-bottom: 1px solid #eee !important;
  margin-bottom: 20px !important;
  padding: 0 !important;
}

.woocommerce-checkout #payment div.payment_box {
  background: #f9f9f9 !important;
  color: #666 !important;
  font-size: 13px !important;
  border-radius: 0 !important;
  line-height: 1.6 !important;
}

.woocommerce-checkout #payment div.payment_box::before {
  border-bottom-color: #f9f9f9 !important;
}

/* Custom Payment Radio Buttons */
#payment ul.payment_methods li input[type="radio"] {
  display: none !important;
}

#payment ul.payment_methods li label {
  position: relative !important;
  padding-left: 35px !important;
  cursor: pointer !important;
  text-transform: none !important;
  color: var(--prov-text) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

#payment ul.payment_methods li label::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid #ddd !important;
  border-radius: 50% !important;
  background: #fff !important;
}

#payment ul.payment_methods li input[type="radio"]:checked + label::after {
  content: "" !important;
  position: absolute !important;
  left: 6px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: var(--prov-primary) !important;
}

/* ── THANK YOU PAGE (High-End Confirmation) ────────────────── */
.boutique-thankyou {
  max-width: 1000px !important;
  margin: 80px auto !important;
  text-align: center !important;
  padding: 0 20px !important;
}

@media (max-width: 475px) {
  .boutique-thankyou {
    padding: 0 8px !important;
  }
}


.thankyou-hero {
  margin-bottom: 60px !important;
}

.thankyou-title {
  font-family: var(--prov-font-head) !important;
  font-size: 48px !important;
  color: var(--prov-secondary) !important;
  margin: 24px 0 !important;
  font-weight: 800 !important;
  letter-spacing: -1px !important;
}

.boutique-order-received-msg {
  font-size: 18px !important;
  color: #777 !important;
  max-width: 600px !important;
  margin: 0 auto !important;
  line-height: 1.6 !important;
}

/* Empty Cart Hero Styling */
.empty-cart-hero {
  padding: 100px 20px !important;
}

.empty-cart-icon-wrapper {
  margin-bottom: 30px !important;
}

.empty-cart-icon-wrapper i {
  font-size: 80px !important;
  color: #f1f1f1 !important;
}

/* Animated Checkmark */
.checkmark-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px #ad9945;
  animation:
    fill 0.4s ease-in-out 0.4s forwards,
    scale 0.3s ease-in-out 0.9s both;
}
.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #ad9945;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.summary-tile:hover {
  border-color: #ad9945 !important;
}

/* Fix WooCommerce Default Place Order Button */
#place_order {
  width: 100% !important;
  background: var(--prov-primary) !important;
  color: #fff !important;
  padding: 20px !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  border-radius: 0 !important;
  margin-top: 30px !important;
  transition: all 0.3s ease !important;
}

#place_order:hover {
  background: #202c2e !important;
}

@media (max-width: 768px) {
  body.woocommerce-cart .cart-table-header {
    display: none !important;
  }
}

/* ── CUSTOM PAYPAL SECTION ─────────────────────────────────── */
/* Target any PayPal gateway wrapper or payment box */
.ppc-button-wrapper,
.payment_box.payment_method_ppcp-gateway,
.payment_box.payment_method_ppcp-credit-card-gateway,
.payment_box.payment_method_ppcp-axo-gateway {
    border: 1px solid #003087 !important;
    margin-top: 20px !important;
    background: #fff !important;
    border-radius: 0 !important;
    overflow: hidden !important;
    padding: 0 !important; /* Let header/footer fill width */
}

/* Body content styling */
.payment_box.payment_method_ppcp-gateway > p,
.payment_box.payment_method_ppcp-credit-card-gateway > p,
.custom-paypal-body-inner {
    padding: 20px !important;
    background-color: #f7f7f7 !important;
    margin: 0 !important;
}

.custom-paypal-header {
    background-color: #003087 !important;
    color: #fff !important;
    padding: 12px 20px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
}

.custom-paypal-header i {
    margin-right: 12px !important;
    font-size: 18px !important;
    color: #fff !important;
}

#ppc-button-ppcp-gateway, 
#ppc-button-ppcp-credit-card-gateway,
#ppc-button-ppcp-card-button-gateway,
#ppc-button-ppcp-axo-gateway {
    margin: 0 auto !important;
    max-width: 500px !important;
    padding: 20px !important;
}

.custom-paypal-footer {
    padding: 20px !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    color: #444 !important;
    border-top: 1px solid #ddd !important;
    background: #fff !important;
    text-align: left !important;
    width: 100% !important;
    margin: 0 !important;
}

.custom-paypal-footer p {
    margin-bottom: 12px !important;
}

.custom-paypal-footer p:last-child {
    margin-bottom: 0 !important;
}

/* Hide the default description to avoid clutter */
[class*="payment_method_ppcp"] .payment_box > p:first-child {
    display: none !important;
}