/*
Theme Name: GHN Custom Theme
Template: hello-elementor
Version: 1.0
Author: Luke Corrigan
Description: Custom child theme for Get Healthy Nutrition
*/

/* =========================
   GHN Woo Checkout Block
   ========================= */

body.woocommerce-checkout {
  overflow-x: hidden;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    #ffffff 59%,
    #f6f6f4 59%,
    #f6f6f4 100%
  );
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

/* Hide header/footer on checkout */
body.woocommerce-checkout .site-header,
body.woocommerce-checkout header,
body.woocommerce-checkout .site-footer,
body.woocommerce-checkout footer {
  display: none !important;
}

/* Hide default checkout page title */
body.woocommerce-checkout h1.entry-title,
body.woocommerce-checkout .wp-block-post-title {
  display: none !important;
}

/* Main checkout wrapper */
body.woocommerce-checkout .wp-site-blocks,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .wp-block-woocommerce-checkout {
  max-width: 100% !important;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding-top: 50px !important;
  padding-bottom: 60px !important;
}

/* Add GHN checkout intro */
body.woocommerce-checkout .wp-block-woocommerce-checkout::before {
  content: "Get Healthy Nutrition\A Fresh meals delivered every Sunday & Wednesday";
  white-space: pre-line;
  display: block;
  margin-bottom: 34px;
  font-size: 15px;
  line-height: 1.5;
  color: #555;
  font-weight: 500;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout::first-line {
  font-size: 30px;
  line-height: 1.2;
  color: #111;
  font-weight: 800;
}

/* Checkout section headings */
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-step__title {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: #111 !important;
}

/* Form text */
body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-checkbox__label,
body.woocommerce-checkout .wc-block-components-radio-control__label {
  color: #444 !important;
}

/* Inputs */
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-text-input input,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-text-input textarea,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-blocks-components-select__container,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-select__container {
  border: 1px solid #e3e3e3 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  background: #fff !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-text-input input:focus,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-text-input textarea:focus,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-blocks-components-select__container:focus-within,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-select__container:focus-within {
  border-color: #78a943 !important;
  box-shadow: 0 0 0 1px #78a943 !important;
}

/* Select cleanup */
body.woocommerce-checkout .wp-block-woocommerce-checkout
select.wc-blocks-components-select__select,
body.woocommerce-checkout .wp-block-woocommerce-checkout
select.wc-block-components-select__select {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Shipping and payment rows */
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-radio-control__option,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-radio-control-accordion-option,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-radio-control-accordion-option__item {
  border: 1px solid #e3e3e3 !important;
  border-radius: 6px !important;
  background: #fff !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-radio-control__option::before,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-radio-control__option::after,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-radio-control-accordion-option::before,
body.woocommerce-checkout .wp-block-woocommerce-checkout
.wc-block-components-radio-control-accordion-option::after {
  display: none !important;
}

/* Order summary */
body.woocommerce-checkout 
.wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout 
.wc-block-components-order-summary,
body.woocommerce-checkout 
.wc-block-components-totals-wrapper {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.woocommerce-checkout .wc-block-components-sidebar.wc-block-checkout__sidebar {
  top: 90px !important;
}

/* Add trust notes above order summary */
body.woocommerce-checkout .wc-block-components-sidebar::before {
  content: "✓ Fresh meals delivered Sunday & Wednesday\A✓ Order before Friday 3PM\A✓ Secure payment powered by Stripe";
  white-space: pre-line;
  display: block;
  margin-bottom: 22px;
  padding: 18px 20px;
  border-radius: 10px;
  background: #eef6e8;
  border: 1px solid #dcebd1;
  color: #24331d;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 700;
}

/* Hide long product descriptions in order summary */
body.woocommerce-checkout 
.wc-block-components-order-summary-item__description p {
  display: none !important;
}

/* Coupon section */
body.woocommerce-checkout 
.wc-block-components-totals-coupon__content {
  display: flex;
  gap: 8px;
}

body.woocommerce-checkout 
.wc-block-components-totals-coupon__content input {
  flex: 2 !important;
  border-radius: 6px !important;
}

body.woocommerce-checkout 
.wc-block-components-totals-coupon__content button {
  flex: 1 !important;
  border-radius: 6px !important;
}

/* Main buttons */
body.woocommerce-checkout 
.wc-block-components-checkout-place-order-button,
body.woocommerce-checkout 
button.wc-block-components-button {
  background: #78a943 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  font-weight: 800 !important;
  min-height: 52px !important;
  box-shadow: none !important;
}

body.woocommerce-checkout 
.wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout 
button.wc-block-components-button:hover {
  background: #689538 !important;
  color: #fff !important;
}

/* Place order button full width */
body.woocommerce-checkout .wp-block-woocommerce-checkout 
.wc-block-components-checkout-place-order-button {
  width: 100% !important;
  padding: 15px 18px !important;
}

/* Totals */
body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
  color: #111 !important;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item {
  font-size: 18px !important;
  font-weight: 800 !important;
}

/* Mobile */
@media (max-width: 900px) {
  body.woocommerce-checkout {
    background: #ffffff !important;
  }

  body.woocommerce-checkout .wp-block-woocommerce-checkout {
    padding-top: 32px !important;
    padding-bottom: 40px !important;
  }

  body.woocommerce-checkout .wp-block-woocommerce-checkout::before {
    margin-bottom: 24px;
  }

  body.woocommerce-checkout .wp-block-woocommerce-checkout::first-line {
    font-size: 25px;
  }

  body.woocommerce-checkout .wc-block-components-sidebar::before {
    margin-top: 18px;
  }
}

@media (max-width: 520px) {
  body.woocommerce-checkout .wp-site-blocks,
  body.woocommerce-checkout .entry-content,
  body.woocommerce-checkout .wp-block-woocommerce-checkout {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.woocommerce-checkout .wc-block-components-title,
  body.woocommerce-checkout .wc-block-components-checkout-step__title {
    font-size: 18px !important;
  }
}

/* ================================
   GHN - Thank You Page
================================ */

.ghn-thankyou-page {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    max-width: 1140px;
    margin: 0 auto;
    min-height: 100vh;
    background: #ffffff;
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

.ghn-thankyou-left {
    padding: 56px 64px;
    background: #ffffff;
}

.ghn-thankyou-right {
    padding: 56px 48px;
    background: #f6f6f4;
    border-left: 1px solid #e6e6e6;
}

.ghn-thankyou-brand {
    margin-bottom: 30px;
}

.ghn-thankyou-brand img {
    max-width: 200px;
    height: auto;
    display: block;
}

.ghn-thankyou-order-number {
    font-size: 15px;
    color: #6b7280;
    margin-bottom: 6px;
}

.ghn-thankyou-heading {
    font-size: 35px;
    line-height: 1.1;
    letter-spacing: -0.6px;
    margin: 0 0 30px;
    color: #111;
}

.ghn-order-map {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid #e6e6e6;
}

.ghn-thankyou-card {
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    padding: 24px 26px;
    margin-bottom: 22px;
    background: #fff;
}

.ghn-thankyou-card--success {
    border-color: #dcebd1;
    background: #eef6e8;
}

.ghn-thankyou-card h2 {
    font-size: 20px;
    margin: 0 0 12px;
    color: #111;
}

.ghn-thankyou-card h3 {
    font-size: 16px;
    margin: 0 0 10px;
    color: #111;
}

.ghn-thankyou-card p {
    margin: 0 0 10px;
    color: #222;
    font-size: 15px;
    line-height: 1.6;
}

.ghn-next-steps {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.ghn-next-step {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: start;
}

.ghn-next-step span {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #78a943;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

.ghn-next-step strong {
    display: block;
    font-size: 15px;
    color: #111;
    margin-bottom: 4px;
}

.ghn-thankyou-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 16px;
}

.ghn-thankyou-address {
    line-height: 1.7;
    font-size: 15px;
    color: #222;
}

.ghn-thankyou-subheading {
    margin-top: 20px !important;
}

.ghn-thankyou-summary-panel {
    max-width: 420px;
    margin: 0 auto;
}

.ghn-thankyou-summary-panel h2 {
    font-size: 22px;
    margin: 0 0 22px;
    color: #111;
}

.ghn-order-summary-items {
    margin-bottom: 18px;
}

.ghn-order-summary-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 14px;
    align-items: start;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e3e3e3;
}

.ghn-order-summary-item-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e6e6e6;
    background: #fff;
}

.ghn-order-summary-item-name {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    line-height: 1.4;
}

.ghn-order-summary-item-qty {
    font-size: 13px;
    color: #6b7280;
    margin-left: 6px;
}

.ghn-order-summary-item-total {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    padding-top: 2px;
}

.ghn-order-summary-totals {
    border-top: 1px solid #e3e3e3;
    padding-top: 14px;
}

.ghn-order-summary-total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
    color: #111;
}

.ghn-order-summary-total-row strong {
    font-weight: 700;
}

.ghn-order-summary-total-row--order_total {
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1px solid #e3e3e3;
    font-size: 18px;
}

.ghn-order-summary-total-row--order_total strong {
    font-size: 28px;
    font-weight: 800;
}

.ghn-thankyou-help {
    margin-top: 28px;
    padding: 18px;
    border-radius: 10px;
    background: #eef6e8;
    border: 1px solid #dcebd1;
}

.ghn-thankyou-help strong {
    display: block;
    margin-bottom: 6px;
    color: #111;
}

.ghn-thankyou-help p {
    margin: 0;
    font-size: 14px;
}

.ghn-thankyou-help a {
    color: #78a943;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .ghn-thankyou-page {
        grid-template-columns: 1fr;
    }

    .ghn-thankyou-left,
    .ghn-thankyou-right {
        padding: 32px 24px;
    }

    .ghn-thankyou-right {
        border-left: none;
        border-top: 1px solid #e6e6e6;
    }

    .ghn-thankyou-summary-panel {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .ghn-thankyou-heading {
        font-size: 32px;
    }

    .ghn-thankyou-card {
        padding: 18px;
    }

    .ghn-thankyou-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ghn-order-summary-item {
        grid-template-columns: 56px 1fr auto;
        gap: 12px;
    }

    .ghn-order-summary-item-image img {
        width: 56px;
        height: 56px;
    }

    .ghn-order-summary-total-row--order_total strong {
        font-size: 22px;
    }
}

/* ================================
   GHN Variation Pills + Add To Cart
================================ */

body.single-product .elementor-widget-woocommerce-product-add-to-cart,
body.single-product .elementor-add-to-cart,
body.single-product form.variations_form,
body.single-product form.cart {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Variation Table Reset */
body.single-product .variations_form table.variations,
body.single-product .variations_form table.variations tbody,
body.single-product .variations_form table.variations tr,
body.single-product .variations_form table.variations th,
body.single-product .variations_form table.variations td {
  display: block !important;
  width: 100% !important;
  border: none !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

body.single-product .variations_form table.variations {
  margin: 0 0 18px !important;
}

body.single-product .variations_form table.variations th.label {
  margin-bottom: 8px !important;
}

body.single-product .variations_form table.variations th.label label {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #071426;
}

/* Hide select only after pills are active */
body.single-product .variations_form.ghn-pills-active table.variations select {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Variation Pills */
body.single-product .ghn-variation-pills {
  display: grid !important;
  grid-template-columns: repeat(4, max-content);
  gap: 10px;
  justify-content: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 18px;
}

body.single-product .ghn-variation-pill {
  appearance: none;
  border: 1px solid #dcdcdc;
  background: #ffffff;
  color: #071426;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  transition: all .18s ease;
}

body.single-product .ghn-variation-pill:hover {
  border-color: #78a943;
  color: #78a943;
}

body.single-product .ghn-variation-pill.is-selected {
  background: #78a943;
  border-color: #78a943;
  color: #ffffff;
}

body.single-product .ghn-variation-pill.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

body.single-product .variations_form .reset_variations,
body.single-product .variations_form .reset_variations[style] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ================================
   GHN Variation Pills + Add To Cart
================================ */

body.single-product .elementor-widget-woocommerce-product-add-to-cart,
body.single-product .elementor-add-to-cart,
body.single-product form.variations_form,
body.single-product form.cart {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Variation Table Reset */
body.single-product .variations_form table.variations,
body.single-product .variations_form table.variations tbody,
body.single-product .variations_form table.variations tr,
body.single-product .variations_form table.variations th,
body.single-product .variations_form table.variations td {
  display: block !important;
  width: 100% !important;
  border: none !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  text-align: left !important;
}

body.single-product .variations_form table.variations {
  margin: 0 0 18px !important;
}

body.single-product .variations_form table.variations th.label {
  margin-bottom: 8px !important;
}

body.single-product .variations_form table.variations th.label label {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #071426;
}

/* Hide select only after pills are active */
body.single-product .variations_form.ghn-pills-active table.variations select {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Variation Pills */
body.single-product .ghn-variation-pills {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 18px;
}

body.single-product .ghn-variation-pill {
  appearance: none;
  width: 100% !important;
  min-width: 0 !important;
  border: 1px solid #dcdcdc;
  background: #ffffff;
  color: #071426;
  border-radius: 6px;
  padding: 13px 10px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  cursor: pointer;
  text-align: center;
  white-space: normal;
  box-shadow: none;
  box-sizing: border-box;
  transition: all .18s ease;
}

body.single-product .ghn-variation-pill:hover {
  border-color: #78a943;
  color: #78a943;
}

body.single-product .ghn-variation-pill.is-selected {
  background: #78a943;
  border-color: #78a943;
  color: #ffffff;
}

body.single-product .ghn-variation-pill.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  text-decoration: line-through;
}

body.single-product .variations_form .reset_variations,
body.single-product .variations_form .reset_variations[style] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ================================
   Quantity + Add To Cart
================================ */

body.single-product form.cart,
body.single-product .woocommerce-variation-add-to-cart {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 18px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-sizing: border-box !important;
}

/* Quantity row */
body.single-product .quantity.ghn-qty-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}

/* Quantity label */
body.single-product .quantity.ghn-qty-wrap::before {
  content: "Quantity";
  margin-right: auto !important;
  color: #071426;
  font-size: 15px;
  font-weight: 500;
}

/* Reset Woo quantity styles */
body.single-product .quantity.ghn-qty-wrap .ghn-qty-btn,
body.single-product .quantity.ghn-qty-wrap input.qty {
  position: static !important;
  transform: none !important;
  float: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
}

/* Qty buttons */
body.single-product .quantity.ghn-qty-wrap .ghn-qty-btn {
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 44px !important;
  border: 1px solid #dcdcdc !important;
  background: #ffffff !important;
  color: #071426 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer;
  padding: 0 !important;
  box-shadow: none !important;
}

body.single-product .quantity.ghn-qty-wrap .ghn-qty-minus {
  border-radius: 6px 0 0 6px !important;
}

body.single-product .quantity.ghn-qty-wrap .ghn-qty-plus {
  border-radius: 0 6px 6px 0 !important;
}

/* Qty input */
body.single-product .quantity.ghn-qty-wrap input.qty {
  width: 52px !important;
  min-width: 52px !important;
  max-width: 52px !important;
  height: 44px !important;
  border: 1px solid #dcdcdc !important;
  border-left: none !important;
  border-right: none !important;
  border-radius: 0 !important;
  text-align: center !important;
  color: #071426 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 0 !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

body.single-product .quantity.ghn-qty-wrap .ghn-qty-btn:hover {
  background: #f5f7f2 !important;
  color: #78a943 !important;
}

/* Add to cart button */
body.single-product .single_add_to_cart_button {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 54px !important;
  margin: 0 !important;
  border-radius: 6px !important;
  background: #78a943 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0 18px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

body.single-product .single_add_to_cart_button:hover {
  background: #689538 !important;
}

body.single-product .single_add_to_cart_button.disabled,
body.single-product .single_add_to_cart_button.wc-variation-selection-needed {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

/* Google Pay */
body.single-product .wcpay-express-checkout-wrapper,
body.single-product #wcpay-express-checkout-element {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  box-sizing: border-box !important;
}

/* Hide number input arrows */
body.single-product .quantity.ghn-qty-wrap input.qty::-webkit-outer-spin-button,
body.single-product .quantity.ghn-qty-wrap input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body.single-product .quantity.ghn-qty-wrap input.qty[type="number"] {
  -moz-appearance: textfield;
}

/* Mobile */
@media (max-width: 767px) {
  body.single-product .elementor-element-3387e1ac .elementor-add-to-cart {
    padding-left: 10px !important;
    padding-right: 10px !important;
    box-sizing: border-box !important;
  }

  body.single-product form.cart,
  body.single-product .woocommerce-variation-add-to-cart {
    gap: 12px !important;
  }

  body.single-product .quantity.ghn-qty-wrap .ghn-qty-btn {
    width: 42px !important;
    min-width: 42px !important;
    max-width: 42px !important;
  }

  body.single-product .quantity.ghn-qty-wrap input.qty {
    width: 52px !important;
    min-width: 52px !important;
    max-width: 52px !important;
  }
}
/* =========================================
   GHN Premium Side Cart
========================================= */

.elementor-menu-cart__main {
    width: 480px !important;
    max-width: 94vw !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    background: #ffffff !important;
    padding: 0 !important;
    box-shadow: -20px 0 50px rgba(7, 20, 38, 0.18);
}

.elementor-menu-cart__main .widget_shopping_cart_content {
    height: 100dvh !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

.elementor-menu-cart__close-button {
    top: 22px !important;
    right: 22px !important;
    color: #071426 !important;
    opacity: 1 !important;
}

.elementor-menu-cart__main::before {
    content: "Your Cart";
    display: block;
    padding: 28px 34px 22px;
    color: #071426;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.03em;
    border-bottom: 1px solid rgba(7, 20, 38, 0.1);
}

.elementor-menu-cart__products {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    min-height: 0 !important;
    padding: 10px 34px 16px !important;
}

.elementor-menu-cart__product {
    display: grid !important;
    grid-template-columns: 92px minmax(0, 1fr) 24px !important;
    column-gap: 14px !important;
    align-items: start;
    padding: 24px 0 !important;
    border-bottom: 1px solid rgba(7, 20, 38, 0.08) !important;
}

.elementor-menu-cart__product-image,
.elementor-menu-cart__product-name,
.elementor-menu-cart__product-price,
.elementor-menu-cart__product-remove {
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.elementor-menu-cart__product-image {
    width: 92px !important;
    max-width: 92px !important;
}

.elementor-menu-cart__product-image img {
    width: 92px !important;
    height: 92px !important;
    border-radius: 10px !important;
    object-fit: cover;
}

.elementor-menu-cart__product-name,
.elementor-menu-cart__product-name a {
    color: #071426 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    justify-self: start !important;
    text-align: left !important;
}

/* Product variations inside side cart */

.elementor-menu-cart__product-name .variation {
    display: block !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
    color: #4b5563 !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

.elementor-menu-cart__product-name .variation dt,
.elementor-menu-cart__product-name .variation dd {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.elementor-menu-cart__product-name .variation dt {
    color: #071426 !important;
    font-weight: 600 !important;
    margin-bottom: 2px !important;
}

.elementor-menu-cart__product-name .variation dd {
    color: #4b5563 !important;
    font-weight: 400 !important;
}

.elementor-menu-cart__product-name .variation dd p {
    margin: 0 !important;
}

.elementor-menu-cart__product-price {
    display: block !important;
    margin-top: 12px !important;
    color: #071426 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    justify-self: start !important;
    text-align: left !important;
}

.elementor-menu-cart__product-remove {
    margin-top: 4px !important;
}

.elementor-menu-cart__product-remove a {
    width: 24px !important;
    height: 24px !important;
    border: 1px solid rgba(7, 20, 38, 0.25) !important;
    border-radius: 50% !important;
    color: #071426 !important;
    font-size: 14px !important;
}

.elementor-menu-cart__subtotal {
    flex: 0 0 auto !important;
    margin: 0 34px !important;
    padding: 22px 0 !important;
    border-top: 1px solid rgba(7, 20, 38, 0.12) !important;
    color: #071426 !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-align: center;
}

.elementor-menu-cart__footer-buttons {
    flex: 0 0 auto !important;
    padding: 0 34px calc(28px + env(safe-area-inset-bottom)) !important;
    margin: 0 !important;
    background: #ffffff !important;
}

.elementor-menu-cart__footer-buttons .elementor-button--view-cart {
    display: none !important;
}

.elementor-menu-cart__footer-buttons .elementor-button--checkout {
    width: 100% !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    background: #78A943 !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 17px 22px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-transform: none !important;
}

.elementor-menu-cart__footer-buttons .elementor-button--checkout:hover {
    background: #6b993b !important;
}

/* Mobile */
@media (max-width: 767px) {
    .elementor-menu-cart__main {
        width: 100vw !important;
        max-width: 100vw !important;
        padding-bottom: calc(70px + env(safe-area-inset-bottom)) !important;
    }

    .elementor-menu-cart__main::before {
        padding: 24px 24px 20px;
    }

    .elementor-menu-cart__products {
        padding: 8px 24px 16px !important;
    }

    .elementor-menu-cart__product {
        grid-template-columns: 78px minmax(0, 1fr) 24px !important;
        column-gap: 12px !important;
        padding: 20px 0 !important;
    }

    .elementor-menu-cart__product-image {
        width: 78px !important;
        max-width: 78px !important;
    }

    .elementor-menu-cart__product-image img {
        width: 78px !important;
        height: 78px !important;
    }

    .elementor-menu-cart__subtotal {
        margin: 0 24px !important;
    }

    .elementor-menu-cart__footer-buttons {
        padding: 0 24px calc(5px + env(safe-area-inset-bottom)) !important;
    }
}

/* =========================================
   GHN MOBILE MENU
========================================= */

.ghn-mobile-menu-toggle {
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.ghn-mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: #ffffff;
    display: block;
    border-radius: 50px;
}

.ghn-mobile-menu-open {
    overflow: hidden;
}

.ghn-mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7,20,38,.55);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: .3s ease;
    z-index: 99998;
}

.ghn-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 90vw;
    height: 100dvh;
    background: #ffffff;
    z-index: 99999;
    transform: translateX(100%);
    transition: .35s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.ghn-mobile-menu-wrapper.is-open .ghn-mobile-menu {
    transform: translateX(0);
}

.ghn-mobile-menu-wrapper.is-open .ghn-mobile-menu-overlay {
    opacity: 1;
    visibility: visible;
}

.ghn-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(7,20,38,.08);
}

.ghn-mobile-menu-logo {
    width: 180px !important;
    flex-shrink: 0;
}

.ghn-mobile-menu-logo img {
    width: 180px !important;
    max-width: 180px !important;
    height: auto !important;
    display: block;
}

.ghn-mobile-menu-close {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(7,20,38,.12);
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 23px;
    line-height: 1;
    color: #071426;
}

.ghn-mobile-nav {
    padding: 10px 22px 0;
}

.ghn-mobile-nav a {
    display: block;
    padding: 17px 0;
    color: #071426;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid rgba(7,20,38,.08);
}

.ghn-mobile-menu-cta {
    background: #071426;
    margin: 22px;
    padding: 18px;
    border-radius: 12px;
    color: #fff;
}

.ghn-mobile-menu-eyebrow {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #78A943;
    margin-bottom: 8px;
}

.ghn-mobile-menu-cta h3 {
    color: #fff;
    font-size: 17px;
    line-height: 1.35;
    margin: 0 0 12px;
}

.ghn-mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #78A943;
    color: #fff !important;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}

.ghn-mobile-menu-trust {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 10px;
    padding: 0 22px 22px;
}

.ghn-mobile-menu-trust div {
    background: #f7f9fb;
    border-radius: 10px;
    padding: 13px 8px;
    text-align: center;
}

.ghn-mobile-menu-trust strong {
    display: block;
    color: #071426;
    font-size: 15px;
    margin-bottom: 4px;
}

.ghn-mobile-menu-trust span {
    font-size: 11px;
    line-height: 1.35;
    color: rgba(7,20,38,.65);
}

.ghn-mobile-menu-footer {
    margin-top: auto;
    padding: 18px 22px 22px;
    border-top: 1px solid rgba(7,20,38,.08);
    background: #ffffff;
}

.ghn-mobile-cart-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #071426;
    text-decoration: none;
    margin-bottom: 12px;
    font-weight: 500;
}

.ghn-mobile-cart-link span {
    background: #071426;
    color: #fff;
    min-width: 26px;
    height: 26px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ghn-mobile-order-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #78A943;
    color: #fff !important;
    text-decoration: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .ghn-mobile-menu {
        width: 100vw;
        max-width: 100vw;
    }
}

/* =========================================
   GHN MY ACCOUNT - FULL OVERRIDE
========================================= */

body.woocommerce-account .site-main {
    background: #f6f8f5 !important;
    padding: 70px 24px !important;
}

body.woocommerce-account .page-content {
    max-width: 1180px !important;
    margin: 0 auto !important;
}

/* Force proper 2-column account layout */
body.woocommerce-account .page-content > .woocommerce {
    width: 100% !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 32px !important;
    align-items: start !important;
}

/* Kill Woo/Elementor float behaviour */
body.woocommerce-account .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce-MyAccount-content {
    float: none !important;
    clear: none !important;
}

/* Sidebar */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    grid-column: 1 !important;
    width: auto !important;
    max-width: none !important;
    background: #ffffff !important;
    border: 1px solid rgba(7,20,38,.08) !important;
    border-radius: 18px !important;
    padding: 14px !important;
    box-shadow: 0 18px 45px rgba(7,20,38,.07) !important;
    position: sticky;
    top: 110px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0 0 8px !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block !important;
    padding: 14px 16px !important;
    border-radius: 10px !important;
    color: #071426 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: #f2f6ef !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: #071426 !important;
    color: #ffffff !important;
}

/* Subscription tab */
body.woocommerce-account .woocommerce-MyAccount-navigation-link--subscriptions a {
    background: #78A943 !important;
    color: #ffffff !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--subscriptions.is-active a {
    background: #071426 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation-link--downloads {
    display: none !important;
}

/* Main content */
body.woocommerce-account .woocommerce-MyAccount-content {
    grid-column: 2 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    background: #ffffff !important;
    border: 1px solid rgba(7,20,38,.08) !important;
    border-radius: 22px !important;
    padding: 42px !important;
    box-shadow: 0 18px 45px rgba(7,20,38,.07) !important;
    color: #071426 !important;
}

/* Headings */
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3 {
    color: #071426 !important;
    font-weight: 800 !important;
    margin-bottom: 24px !important;
}

/* Tables */
body.woocommerce-account table,
body.woocommerce-account table.shop_table,
body.woocommerce-account .shop_table {
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
    border: 1px solid rgba(7,20,38,.12) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    margin-bottom: 30px !important;
}

body.woocommerce-account table th,
body.woocommerce-account table.shop_table th,
body.woocommerce-account .shop_table th {
    background: #071426 !important;
    color: #ffffff !important;
    padding: 16px 18px !important;
    text-align: left !important;
    font-weight: 800 !important;
}

body.woocommerce-account table td,
body.woocommerce-account table.shop_table td,
body.woocommerce-account .shop_table td {
    padding: 16px 18px !important;
    border-top: 1px solid rgba(7,20,38,.08) !important;
    color: #071426 !important;
}

/* Buttons */
body.woocommerce-account .button,
body.woocommerce-account a.button,
body.woocommerce-account button.button,
body.woocommerce-account input[type="submit"] {
    background: #78A943 !important;
    color: #ffffff !important;
    border: 0 !important;
    border-radius: 9px !important;
    padding: 12px 18px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

/* Address box */
body.woocommerce-account address {
    background: #f7f9fb !important;
    border: 1px solid rgba(7,20,38,.08) !important;
    border-radius: 14px !important;
    padding: 20px !important;
    line-height: 1.7 !important;
}

/* Mobile */
@media (max-width: 767px) {
    body.woocommerce-account .site-main {
        padding: 45px 16px !important;
    }

    body.woocommerce-account .page-content > .woocommerce {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation,
    body.woocommerce-account .woocommerce-MyAccount-content {
        grid-column: 1 !important;
        position: static !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation li {
        margin: 0 !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation a {
        text-align: center !important;
        font-size: 13px !important;
        padding: 13px 10px !important;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 24px !important;
    }
}

/* =========================================
   GHN MY ACCOUNT - LOGIN VIEW
========================================= */

body.woocommerce-account:not(.logged-in) .site-main {
    background: #ffffff !important;
    padding: 80px 24px !important;
}

body.woocommerce-account:not(.logged-in) .page-content {
    max-width: 1080px !important;
    margin: 0 auto !important;
}

body.woocommerce-account:not(.logged-in) .page-content > .woocommerce {
    max-width: 540px !important;
    margin: 0 auto !important;
    display: block !important;
}

/* Replace plain Woo heading with nicer intro */
body.woocommerce-account:not(.logged-in) h2 {
    text-align: center;
    color: #071426;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin: 0 0 10px;
}

body.woocommerce-account:not(.logged-in) h2::after {
    content: "Manage your meal plans and subscriptions.";
    display: block;
    max-width: 420px;
    margin: 12px auto 30px;
    color: rgba(7,20,38,.62);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0;
}

body.woocommerce-account:not(.logged-in) h2 {
    font-size: 0;
}

body.woocommerce-account:not(.logged-in) h2::before {
    content: "Welcome Back";
    display: block;
    color: #071426;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.05em;
}

/* Login card */
body.woocommerce-account:not(.logged-in) form.login {
    background: #ffffff !important;
    border: 1px solid rgba(7,20,38,.06) !important;
    border-radius: 24px !important;
    padding: 40px !important;
    box-shadow: 0 30px 70px rgba(7,20,38,.08) !important;
}

body.woocommerce-account:not(.logged-in) form.login label {
    color: #071426;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}

body.woocommerce-account:not(.logged-in) form.login input.input-text {
    height: 52px;
    background: #f7f9fb !important;
    border: 1px solid rgba(7,20,38,.14) !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    color: #071426 !important;
}

body.woocommerce-account:not(.logged-in) form.login input.input-text:focus {
    border-color: #78A943 !important;
    box-shadow: 0 0 0 3px rgba(120,169,67,.16) !important;
    outline: none !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login__submit {
    background: #78A943 !important;
    color: #ffffff !important;
    border-radius: 10px !important;
    padding: 15px 24px !important;
    font-weight: 800 !important;
    border: 0 !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login__submit:hover {
    background: #6b993b !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    color: #071426;
    font-weight: 600;
    margin-left: 12px;
}

body.woocommerce-account:not(.logged-in) .woocommerce-LostPassword {
    margin-top: 20px !important;
}

body.woocommerce-account:not(.logged-in) .woocommerce-LostPassword a {
    color: #78A943 !important;
    font-weight: 700;
    text-decoration: none;
}

body.woocommerce-account:not(.logged-in) .woocommerce-LostPassword a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
    }

    body.woocommerce-account:not(.logged-in) .site-main {
        padding: 50px 0 !important;
        overflow-x: hidden !important;
    }

    body.woocommerce-account:not(.logged-in) .page-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-account:not(.logged-in) .page-content > .woocommerce {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 18px !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-account:not(.logged-in) h2::before {
        font-size: 34px;
    }

    body.woocommerce-account:not(.logged-in) h2::after {
        font-size: 15px;
        margin-bottom: 24px;
    }

    body.woocommerce-account:not(.logged-in) form.login {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        padding: 24px !important;
        border-radius: 20px !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-account:not(.logged-in) form.login p,
    body.woocommerce-account:not(.logged-in) form.login .form-row {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-account:not(.logged-in) form.login input.input-text {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.woocommerce-account:not(.logged-in) .woocommerce-form-login__rememberme {
        margin-left: 0;
        margin-top: 14px;
        display: flex !important;
    }
}

@media (max-width: 767px) {
  body.single-product .ghn-variation-pill {
    margin: 0 !important;
  }

  body.single-product .ghn-variation-pills {
    column-gap: 10px !important;
    row-gap: 10px !important;
  }
}

/* Hide WooCommerce notices */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.wc-block-components-notice-banner,
.wc-block-components-notices,
.woocommerce-notices-wrapper {
    display: none !important;
}