/*
Theme Name:   Woostify Child
Theme URI:    https://woostify.com/
Description:  Child theme for Woostify.
Author:       Woostify (Child)
Author URI:   https://woostify.com/
Template:     woostify
Version:      1.0.0
Text Domain:  woostify-child
*/


/* Local fonts â€” matching live site Typekit kit (tdz8zve) */

@font-face {
  font-family: "granville";
  src: url("fonts/granville-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "granville";
  src: url("fonts/granville-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "granville";
  src: url("fonts/granville-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ivypresto-display";
  src: url("fonts/ivypresto-display-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ivypresto-display";
  src: url("fonts/ivypresto-display-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Override ivy-presto-headline to point to ivypresto-display font file.
   LiteSpeed critical CSS caches the old @font-face for ivy-presto-headline
   at weight 600. By redefining it here with the display font at weight 400,
   any element that falls back to ivy-presto-headline will render identically
   to ivypresto-display â€” matching the live site. */
@font-face {
  font-family: "ivy-presto-headline";
  src: url("fonts/ivypresto-display-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ivy-presto-headline";
  src: url("fonts/ivypresto-display-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

h1 {
    font-family: granville, serif;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 2px;
    text-transform: none;
    line-height: 1.5;
}

h2 {
    font-family: "ivypresto-display", "ivy-presto-headline", serif;
    font-weight: 500;
    font-style: normal;
    letter-spacing: 3px;
    text-transform: none;
    line-height: 1;
}

/* Cap page content at 1600px.
   Must live in ROOT style.css because the parent woostify/style.css
   loads twice â€” the second load comes AFTER css/style.css and
   overrides any equal-specificity rule there. This file loads last. */
.site-content .woostify-container.woostify-container {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
}
.sbi-fr-ce-license-error, #sbi-fr-ce-license-error, .sbi-frontend-license-notice { display: none !important; }

/* Cart + Checkout page header — full-width, centered, match live */
.woocommerce-cart .page-header,
.woocommerce-checkout .page-header {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  text-align: center !important;
}
.woocommerce-cart .page-header .entry-title,
.woocommerce-checkout .page-header .entry-title {
  font-size: 64px !important;
  font-family: ivypresto-display, serif !important;
  font-weight: 500 !important;
  text-align: center !important;
}

/* Cart + Checkout page hero -- full-width gray banner, centered title, match live */
.woocommerce-cart .page-hero,
.woocommerce-checkout .page-hero {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  background-color: #545b5c !important;
  padding: 80px 0 !important;
  text-align: center !important;
  margin-bottom: 50px !important;
}
.woocommerce-cart .page-hero .page-title,
.woocommerce-checkout .page-hero .page-title {
  font-size: 64px !important;
  font-family: ivypresto-display, serif !important;
  font-weight: 500 !important;
  color: #ebe6e3 !important;
  text-align: center !important;
  margin: 0 !important;
}
.woocommerce-cart .site-content,
.woocommerce-checkout .site-content {
  overflow: visible !important;
}
.woocommerce-cart .page-hero .page-hero-inner,
.woocommerce-checkout .page-hero .page-hero-inner {
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
}

/* Cart totals -- remove white cell backgrounds to match live */
.woocommerce-cart .cart_totals tbody th,
.woocommerce-cart .cart_totals .shop_table th,
.woocommerce-cart .cart_totals .shop_table td,
.woocommerce-cart .woocommerce-cart-form__contents tbody th,
.woocommerce-cart .woocommerce-cart-form__contents thead th {
  background: transparent !important;
}

/* Mini-cart qty lock for veggfodur */
.mini-cart-quantity.qty-replaced {
  border: none !important;
  background: none !important;
  padding: 0 !important;
}
