/* ============================================================
   HARIWANT NATURALS — CHECKOUT & CART CSS  (complete rewrite)
   ============================================================ */

/* ── Full-page WooCommerce wrapper ── */
.hn-woo-fullpage {
  padding-block: 40px 80px;
}

/* ── Checkout page: 2-column — LEFT: form, RIGHT: order summary ── */
.woocommerce-checkout .woocommerce {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: flex-start;
}

/* Coupon notice spans full width */
.woocommerce-checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout .woocommerce-error,
.woocommerce-checkout .woocommerce-message,
.woocommerce-checkout .woocommerce-info {
  grid-column: 1 / -1;
}

/* Billing + shipping column — LEFT side */
.woocommerce-checkout #customer_details {
  grid-column: 1;
  display: block !important; /* single column, stacked */
}

/* col2-set: billing on top, shipping below — both full width */
.woocommerce-checkout .col2-set {
  display: block !important;
  width: 100% !important;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  width: 100% !important;
  float: none !important;
  margin-bottom: 24px;
}

/* Additional info / order notes — LEFT side below billing */
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  grid-column: 2;
  grid-row: 1;
}

/* Force order review to always be in column 2 row 1 */
.woocommerce-checkout #order_review_heading {
  grid-row: 1;
  align-self: start;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--hn-dark);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--hn-gold);
}

.woocommerce-checkout #order_review {
  grid-row: 2;
  position: sticky;
  top: 110px;
}

/* ── Section headings ── */
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3 {
  font-family: var(--font-heading) !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: var(--hn-dark) !important;
  margin-bottom: 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid var(--hn-gold) !important;
}

/* ── Form fields ── */
.woocommerce-checkout .form-row {
  margin-bottom: 14px !important;
  clear: both;
}

.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
  width: calc(50% - 8px) !important;
  float: left !important;
}

.woocommerce-checkout .form-row-first {
  margin-right: 16px !important;
}

.woocommerce-checkout .form-row-wide {
  width: 100% !important;
  clear: both !important;
}

.woocommerce-checkout .form-row label {
  display: block !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--hn-dark) !important;
  margin-bottom: 5px !important;
}

.woocommerce-checkout .form-row .required {
  color: #e53935;
  margin-left: 2px;
}

.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="number"],
.woocommerce-checkout .form-row input[type="password"],
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
  width: 100% !important;
  padding: 11px 14px !important;
  border: 1.5px solid var(--hn-border) !important;
  border-radius: var(--hn-radius-sm) !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  color: var(--hn-dark) !important;
  background: var(--hn-white) !important;
  outline: none !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
  box-sizing: border-box !important;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
  border-color: var(--hn-green) !important;
  box-shadow: 0 0 0 3px rgba(53,91,46,.1) !important;
}

/* Validation error highlight */
.woocommerce-checkout .form-row.woocommerce-invalid input,
.woocommerce-checkout .form-row.woocommerce-invalid select {
  border-color: #e53935 !important;
}

.woocommerce-checkout .form-row.woocommerce-validated input,
.woocommerce-checkout .form-row.woocommerce-validated select {
  border-color: var(--hn-green) !important;
}

/* Validation message */
.woocommerce-checkout .form-row .woocommerce-error {
  font-size: 0.75rem !important;
  color: #e53935 !important;
  margin-top: 4px !important;
  display: block;
  grid-column: auto !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

/* Validation error list at top */
.woocommerce-checkout ul.woocommerce-error {
  background: #fff5f5 !important;
  border: 1.5px solid #e53935 !important;
  border-radius: var(--hn-radius) !important;
  padding: 14px 20px !important;
  list-style: disc !important;
  margin-bottom: 24px !important;
  grid-column: 1 / -1 !important;
}

.woocommerce-checkout ul.woocommerce-error li {
  font-size: 0.85rem !important;
  color: #c62828 !important;
  margin-bottom: 4px !important;
}

/* ── Order Review panel (right column) ── */
#order_review {
  background: var(--hn-cream) !important;
  border-radius: var(--hn-radius) !important;
  padding: 24px !important;
  border: 1.5px solid var(--hn-border) !important;
}

.woocommerce-checkout-review-order-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin-bottom: 16px !important;
  font-size: 0.875rem !important;
}

.woocommerce-checkout-review-order-table th {
  font-weight: 700 !important;
  color: var(--hn-muted) !important;
  font-size: 0.75rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  padding: 0 0 10px !important;
  border-bottom: 2px solid var(--hn-border) !important;
}

.woocommerce-checkout-review-order-table td {
  padding: 10px 0 !important;
  border-bottom: 1px solid var(--hn-border) !important;
  color: var(--hn-text) !important;
  vertical-align: middle !important;
}

.woocommerce-checkout-review-order-table .product-name {
  font-weight: 600 !important;
  color: var(--hn-dark) !important;
}

.woocommerce-checkout-review-order-table .product-name .product-quantity {
  color: var(--hn-muted) !important;
  font-weight: 400 !important;
  font-size: 0.8rem !important;
}

.woocommerce-checkout-review-order-table tfoot tr td,
.woocommerce-checkout-review-order-table tfoot tr th {
  font-size: 0.85rem !important;
  border-bottom: 1px solid var(--hn-border) !important;
}

.woocommerce-checkout-review-order-table tfoot .order-total td,
.woocommerce-checkout-review-order-table tfoot .order-total th {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--hn-green) !important;
  border-bottom: none !important;
  padding-top: 14px !important;
}

/* ── Payment methods ── */
.woocommerce-checkout #payment {
  background: var(--hn-white) !important;
  border-radius: var(--hn-radius) !important;
  border: 1.5px solid var(--hn-border) !important;
  margin-top: 16px !important;
  overflow: hidden !important;
}

.woocommerce-checkout #payment ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--hn-border) !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
  padding: 14px 20px !important;
  border-bottom: 1px solid var(--hn-border) !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

.woocommerce-checkout #payment ul.payment_methods li:last-child {
  border-bottom: none !important;
}

.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) {
  background: rgba(53,91,46,.04) !important;
}

.woocommerce-checkout #payment ul.payment_methods li label {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  color: var(--hn-dark) !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.woocommerce-checkout #payment ul.payment_methods li label img {
  height: 24px !important;
  width: auto !important;
}

.woocommerce-checkout #payment .payment_box {
  background: var(--hn-cream) !important;
  padding: 12px 16px !important;
  margin-top: 10px !important;
  border-radius: var(--hn-radius-sm) !important;
  font-size: 0.82rem !important;
  color: var(--hn-muted) !important;
  line-height: 1.6 !important;
}

.woocommerce-checkout #payment .place-order {
  padding: 20px !important;
  background: var(--hn-cream) !important;
}

/* ── Place Order button ── */
#place_order {
  width: 100% !important;
  background: var(--hn-green) !important;
  color: var(--hn-white) !important;
  border: 2px solid var(--hn-green) !important;
  padding: 15px 24px !important;
  border-radius: var(--hn-radius-full) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  letter-spacing: 0.02em !important;
  display: block !important;
}

#place_order:hover {
  background: var(--hn-green-light) !important;
  border-color: var(--hn-green-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 20px rgba(53,91,46,.25) !important;
}

/* ── Coupon toggle ── */
.woocommerce-form-coupon-toggle .woocommerce-info {
  background: rgba(53,91,46,.06) !important;
  border-left: 4px solid var(--hn-green) !important;
  border-radius: 0 var(--hn-radius-sm) var(--hn-radius-sm) 0 !important;
  padding: 12px 16px !important;
  font-size: 0.875rem !important;
  color: var(--hn-dark) !important;
  list-style: none !important;
  margin-bottom: 20px !important;
}

.woocommerce-form-coupon-toggle .woocommerce-info a {
  color: var(--hn-green) !important;
  font-weight: 600 !important;
}

.checkout_coupon {
  background: var(--hn-cream) !important;
  border: 1.5px solid var(--hn-border) !important;
  border-radius: var(--hn-radius) !important;
  padding: 20px !important;
  margin-bottom: 24px !important;
  display: flex !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.checkout_coupon input[type="text"] {
  flex: 1 !important;
  min-width: 180px !important;
  padding: 10px 14px !important;
  border: 1.5px solid var(--hn-border) !important;
  border-radius: var(--hn-radius-full) !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  outline: none !important;
}

.checkout_coupon input[type="text"]:focus {
  border-color: var(--hn-green) !important;
}

.checkout_coupon button {
  background: var(--hn-green) !important;
  color: var(--hn-white) !important;
  padding: 10px 24px !important;
  border-radius: var(--hn-radius-full) !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer !important;
  font-family: var(--font-body) !important;
  transition: background 0.25s ease !important;
}

.checkout_coupon button:hover {
  background: var(--hn-green-light) !important;
}

/* ── Cart page ── */
.woocommerce-cart .woocommerce {
  display: block !important;
}

.woocommerce-cart-form { margin-bottom: 32px; }

table.shop_table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 0.9rem !important;
}

table.shop_table th {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  color: var(--hn-muted) !important;
  padding: 10px 16px !important;
  border-bottom: 2px solid var(--hn-border) !important;
  text-align: left !important;
}

table.shop_table td {
  padding: 16px !important;
  border-bottom: 1px solid var(--hn-border) !important;
  vertical-align: middle !important;
}

table.shop_table .product-thumbnail img {
  width: 72px !important;
  height: 72px !important;
  object-fit: cover !important;
  border-radius: var(--hn-radius-sm) !important;
  border: 1px solid var(--hn-border) !important;
}

table.shop_table .product-name a {
  font-weight: 600 !important;
  color: var(--hn-dark) !important;
}

table.shop_table .product-price,
table.shop_table .product-subtotal {
  color: var(--hn-green) !important;
  font-weight: 700 !important;
}

/* Remove item button */
table.shop_table .product-remove a {
  color: var(--hn-muted) !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  transition: color 0.2s ease !important;
}
table.shop_table .product-remove a:hover { color: #e53935 !important; }

/* Cart actions */
.cart_item .actions {
  padding: 16px !important;
}

.wc-proceed-to-checkout {
  padding: 16px 0 0 !important;
}

.wc-proceed-to-checkout .checkout-button {
  display: block !important;
  width: 100% !important;
  padding: 14px 24px !important;
  background: var(--hn-green) !important;
  color: var(--hn-white) !important;
  border-radius: var(--hn-radius-full) !important;
  font-family: var(--font-body) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-align: center !important;
  border: 2px solid var(--hn-green) !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.wc-proceed-to-checkout .checkout-button:hover {
  background: var(--hn-green-light) !important;
  border-color: var(--hn-green-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 20px rgba(53,91,46,.2) !important;
}

/* Cart totals box */
.cart-collaterals {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 24px !important;
}

.cart_totals {
  width: 380px !important;
  max-width: 100% !important;
  background: var(--hn-cream) !important;
  border: 1.5px solid var(--hn-border) !important;
  border-radius: var(--hn-radius) !important;
  padding: 24px !important;
}

.cart_totals h2 {
  font-family: var(--font-heading) !important;
  font-size: 1.3rem !important;
  color: var(--hn-dark) !important;
  margin-bottom: 16px !important;
  padding-bottom: 10px !important;
  border-bottom: 2px solid var(--hn-gold) !important;
}

.cart_totals table.shop_table th,
.cart_totals table.shop_table td {
  padding: 8px 0 !important;
  font-size: 0.9rem !important;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  color: var(--hn-green) !important;
  padding-top: 14px !important;
  border-bottom: none !important;
}

/* ── Mini cart drawer buttons ── */
.hn-mini-cart-content .woocommerce-mini-cart__buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 16px 0 0 !important;
  margin-top: 16px !important;
  border-top: 1px solid var(--hn-border) !important;
}

.hn-mini-cart-content .woocommerce-mini-cart__buttons a,
.hn-mini-cart-content .woocommerce-mini-cart__buttons .button,
.woocommerce-mini-cart__buttons a.button,
.woocommerce-mini-cart__buttons a {
  display: block !important;
  width: 100% !important;
  padding: 12px 20px !important;
  text-align: center !important;
  border-radius: var(--hn-radius-full) !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

/* View Cart button — outlined green */
.woocommerce-mini-cart__buttons a.button:first-child,
.woocommerce-mini-cart__buttons .wc-forward:not(.checkout) {
  background: transparent !important;
  color: var(--hn-green) !important;
  border: 2px solid var(--hn-green) !important;
}

.woocommerce-mini-cart__buttons a.button:first-child:hover,
.woocommerce-mini-cart__buttons .wc-forward:not(.checkout):hover {
  background: var(--hn-green) !important;
  color: var(--hn-white) !important;
}

/* Checkout button — solid green */
.woocommerce-mini-cart__buttons a.checkout,
.woocommerce-mini-cart__buttons .checkout {
  background: var(--hn-green) !important;
  color: var(--hn-white) !important;
  border: 2px solid var(--hn-green) !important;
}

.woocommerce-mini-cart__buttons a.checkout:hover,
.woocommerce-mini-cart__buttons .checkout:hover {
  background: var(--hn-green-light) !important;
  border-color: var(--hn-green-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(53,91,46,.25) !important;
}

/* Mini cart subtotal */
.woocommerce-mini-cart__total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 14px 0 !important;
  border-top: 1px solid var(--hn-border) !important;
  font-size: 0.9rem !important;
}

.woocommerce-mini-cart__total strong {
  font-weight: 700 !important;
  color: var(--hn-dark) !important;
}

.woocommerce-mini-cart__total .woocommerce-Price-amount {
  color: var(--hn-green) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

/* Mini cart items */
.woocommerce-mini-cart-item {
  display: flex !important;
  gap: 12px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--hn-border) !important;
  align-items: flex-start !important;
}

.woocommerce-mini-cart-item img {
  width: 60px !important;
  height: 60px !important;
  object-fit: cover !important;
  border-radius: var(--hn-radius-sm) !important;
  flex-shrink: 0 !important;
}

.woocommerce-mini-cart-item .mini_cart_item_name {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--hn-dark) !important;
  line-height: 1.4 !important;
}

.woocommerce-mini-cart-item .quantity {
  font-size: 0.78rem !important;
  color: var(--hn-muted) !important;
  margin-top: 4px !important;
}

.woocommerce-mini-cart-item .remove_from_cart_button {
  color: var(--hn-muted) !important;
  font-size: 1.1rem !important;
  margin-right: 6px !important;
  transition: color 0.2s ease !important;
}

.woocommerce-mini-cart-item .remove_from_cart_button:hover {
  color: #e53935 !important;
}

/* Empty cart */
.woocommerce-mini-cart--empty {
  text-align: center !important;
  padding: 32px 0 !important;
  color: var(--hn-muted) !important;
  font-size: 0.9rem !important;
}

/* ── Account page ── */
.woocommerce-account .woocommerce {
  display: grid !important;
  grid-template-columns: 220px 1fr !important;
  gap: 32px !important;
  align-items: flex-start !important;
}

.woocommerce-MyAccount-navigation {
  background: var(--hn-cream) !important;
  border-radius: var(--hn-radius) !important;
  padding: 8px !important;
  border: 1.5px solid var(--hn-border) !important;
  position: sticky !important;
  top: 110px !important;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block !important;
  padding: 10px 14px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: var(--hn-text) !important;
  border-radius: var(--hn-radius-sm) !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--hn-green) !important;
  color: var(--hn-white) !important;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .woocommerce-checkout .woocommerce {
    grid-template-columns: 1fr 360px;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .woocommerce-checkout .woocommerce {
    grid-template-columns: 1fr !important;
  }

  .woocommerce-checkout #customer_details {
    grid-column: 1 !important;
  }

  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    grid-column: 1 !important;
    grid-row: auto !important;
    position: static !important;
  }

  .woocommerce-checkout .form-row-first,
  .woocommerce-checkout .form-row-last {
    width: 100% !important;
    float: none !important;
    margin-right: 0 !important;
  }

  .cart_totals { width: 100% !important; }

  .cart-collaterals { justify-content: stretch !important; }

  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .hn-woo-fullpage { padding-block: 20px 60px; }
}

/* ============================================================
   MINI CART DRAWER — Button & Layout Fixes
   ============================================================ */

/* Reset any conflicting styles on the buttons wrapper */
.widget_shopping_cart .woocommerce-mini-cart__buttons,
.woocommerce-mini-cart__buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 16px 0 4px !important;
  margin-top: 12px !important;
  border-top: 2px solid var(--hn-border) !important;
  clear: both !important;
}

/* Both buttons — base reset */
.widget_shopping_cart .woocommerce-mini-cart__buttons a,
.woocommerce-mini-cart__buttons a,
.woocommerce-mini-cart__buttons a.button,
.woocommerce-mini-cart__buttons .button {
  display: block !important;
  width: 100% !important;
  padding: 13px 20px !important;
  text-align: center !important;
  border-radius: 999px !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

/* VIEW CART — outlined */
.woocommerce-mini-cart__buttons a:not(.checkout) {
  background: transparent !important;
  color: #355B2E !important;
  border: 2px solid #355B2E !important;
}

.woocommerce-mini-cart__buttons a:not(.checkout):hover {
  background: #355B2E !important;
  color: #ffffff !important;
}

/* CHECKOUT — solid green */
.woocommerce-mini-cart__buttons a.checkout {
  background: #355B2E !important;
  color: #ffffff !important;
  border: 2px solid #355B2E !important;
  margin-top: 0 !important;
}

.woocommerce-mini-cart__buttons a.checkout:hover {
  background: #6F8D52 !important;
  border-color: #6F8D52 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(53,91,46,.3) !important;
}

/* Subtotal row */
.woocommerce-mini-cart__total.total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 14px 0 10px !important;
  border-top: 1px solid var(--hn-border) !important;
  margin-top: 8px !important;
  font-size: 0.95rem !important;
}

.woocommerce-mini-cart__total strong {
  font-weight: 700 !important;
  color: #2B2B2B !important;
}

.woocommerce-mini-cart__total .woocommerce-Price-amount {
  color: #355B2E !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

/* Cart item layout */
.woocommerce-mini-cart-item.mini_cart_item {
  display: flex !important;
  gap: 12px !important;
  align-items: flex-start !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid var(--hn-border) !important;
  position: relative !important;
}

/* Product image in mini cart */
.woocommerce-mini-cart-item img {
  width: 70px !important;
  height: 70px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 1px solid var(--hn-border) !important;
  flex-shrink: 0 !important;
  background: var(--hn-cream) !important;
}

/* Product name link */
.woocommerce-mini-cart-item a:not(.remove_from_cart_button) {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #2B2B2B !important;
  line-height: 1.4 !important;
  display: block !important;
  margin-bottom: 4px !important;
}

.woocommerce-mini-cart-item a:not(.remove_from_cart_button):hover {
  color: #355B2E !important;
}

/* Quantity × price */
.woocommerce-mini-cart-item .quantity {
  font-size: 0.82rem !important;
  color: #777 !important;
}

.woocommerce-mini-cart-item .woocommerce-Price-amount {
  color: #355B2E !important;
  font-weight: 700 !important;
}

/* Remove × button */
.woocommerce-mini-cart-item .remove_from_cart_button {
  position: absolute !important;
  top: 12px !important;
  right: 0 !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #f0f0f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.75rem !important;
  color: #777 !important;
  line-height: 1 !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
}

.woocommerce-mini-cart-item .remove_from_cart_button:hover {
  background: #e53935 !important;
  color: #fff !important;
}

/* Empty cart message */
.woocommerce-mini-cart--empty p {
  text-align: center !important;
  color: #777 !important;
  font-size: 0.9rem !important;
  padding: 32px 0 !important;
}

/* ── Mini cart image size fix ── */
.woocommerce-mini-cart-item img,
.woocommerce-mini-cart-item .attachment-woocommerce_thumbnail,
.mini_cart_item img {
  width: 80px !important;
  height: 80px !important;
  min-width: 80px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 1px solid var(--hn-border) !important;
  flex-shrink: 0 !important;
  background: var(--hn-cream) !important;
}

/* Mini cart item row — proper flex layout */
.woocommerce-mini-cart-item.mini_cart_item {
  display: flex !important;
  gap: 14px !important;
  align-items: flex-start !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid var(--hn-border) !important;
  position: relative !important;
}

/* Item details beside image */
.mini_cart_item_details {
  flex: 1 !important;
  min-width: 0 !important;
}

/* Product name in mini cart */
.woocommerce-mini-cart-item a.mini_cart_item_name,
.woocommerce-mini-cart-item .mini_cart_item_name {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: #2B2B2B !important;
  line-height: 1.4 !important;
  display: block !important;
  margin-bottom: 5px !important;
  text-decoration: none !important;
  white-space: normal !important;
}

.woocommerce-mini-cart-item a.mini_cart_item_name:hover {
  color: #355B2E !important;
}

/* Quantity × price text */
.woocommerce-mini-cart-item .quantity {
  font-size: 0.82rem !important;
  color: #777 !important;
  display: block !important;
}

.woocommerce-mini-cart-item .woocommerce-Price-amount {
  color: #355B2E !important;
  font-weight: 700 !important;
}

/* Remove button — top-right corner */
.woocommerce-mini-cart-item .remove_from_cart_button {
  position: absolute !important;
  top: 14px !important;
  right: 0 !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #f5f5f5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  color: #999 !important;
  line-height: 1 !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  font-weight: 700 !important;
}

.woocommerce-mini-cart-item .remove_from_cart_button:hover {
  background: #e53935 !important;
  color: #fff !important;
}

/* Mini cart drawer content area */
.hn-mini-cart-content {
  padding: 4px 4px 16px !important;
  overflow-y: auto !important;
  max-height: calc(100vh - 200px) !important;
}

/* Subtotal */
.woocommerce-mini-cart__total.total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 16px 0 10px !important;
  border-top: 2px solid var(--hn-border) !important;
  margin-top: 8px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

.woocommerce-mini-cart__total .woocommerce-Price-amount {
  color: #355B2E !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
}

/* ============================================================
   MINI CART — Clean rebuild matching new mini-cart.php
   ============================================================ */

/* Scrollable content area */
.hn-mini-cart-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

/* Item list */
.woocommerce-mini-cart.cart_list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow-y: auto !important;
  flex: 1 !important;
  max-height: calc(100vh - 300px) !important;
}

/* Each cart item row */
.woocommerce-mini-cart-item.mini_cart_item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 14px 4px !important;
  border-bottom: 1px solid var(--hn-border) !important;
  position: relative !important;
  list-style: none !important;
}

/* Product image */
.hn-mini-cart-img {
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  border: 1px solid var(--hn-border) !important;
  background: var(--hn-cream) !important;
  display: block !important;
}

.hn-mini-cart-img-link {
  flex-shrink: 0 !important;
  display: block !important;
}

/* Item details */
.hn-mini-cart-item-details {
  flex: 1 !important;
  min-width: 0 !important;
  padding-right: 24px !important;
}

/* Product name */
.hn-mini-cart-name {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--hn-dark) !important;
  line-height: 1.4 !important;
  display: block !important;
  margin-bottom: 5px !important;
  text-decoration: none !important;
  white-space: normal !important;
  word-break: break-word !important;
}

a.hn-mini-cart-name:hover { color: var(--hn-green) !important; }

/* Qty × price */
.hn-mini-cart-qty {
  font-size: 0.82rem !important;
  color: var(--hn-muted) !important;
  display: block !important;
}

.hn-mini-cart-qty .woocommerce-Price-amount {
  color: var(--hn-green) !important;
  font-weight: 700 !important;
}

/* Remove × button */
.mini_cart_item .remove_from_cart_button {
  position: absolute !important;
  top: 14px !important;
  right: 0 !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: #f0f0f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #999 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  border: none !important;
}

.mini_cart_item .remove_from_cart_button:hover {
  background: #e53935 !important;
  color: #fff !important;
}

/* Subtotal row */
.woocommerce-mini-cart__total.total {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 16px 4px 12px !important;
  border-top: 2px solid var(--hn-border) !important;
  margin-top: 4px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
}

.woocommerce-mini-cart__total strong {
  color: var(--hn-dark) !important;
}

.woocommerce-mini-cart__total .woocommerce-Price-amount,
.woocommerce-mini-cart__total span .woocommerce-Price-amount {
  color: var(--hn-green) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
}

/* Buttons container */
.hn-mini-cart-buttons {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 4px 0 8px !important;
}

/* Both buttons base */
.hn-mini-cart-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: 100% !important;
  padding: 13px 20px !important;
  border-radius: 999px !important;
  font-family: var(--font-body), 'Poppins', sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}

/* View Cart — outlined */
.hn-mini-cart-btn--outline {
  background: transparent !important;
  color: var(--hn-green) !important;
  border: 2px solid var(--hn-green) !important;
}

.hn-mini-cart-btn--outline:hover {
  background: var(--hn-green) !important;
  color: #fff !important;
}

/* Checkout — solid */
.hn-mini-cart-btn--solid {
  background: var(--hn-green) !important;
  color: #fff !important;
  border: 2px solid var(--hn-green) !important;
}

.hn-mini-cart-btn--solid:hover {
  background: var(--hn-green-light) !important;
  border-color: var(--hn-green-light) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(53,91,46,.3) !important;
}

/* Empty cart state */
.hn-mini-cart-empty {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 40px 20px !important;
  text-align: center !important;
  gap: 12px !important;
}

.hn-mini-cart-empty p {
  color: var(--hn-muted) !important;
  font-size: 0.9rem !important;
  margin: 0 !important;
}
