/*
Theme Name: Crafti Child Theme
Theme URI: https://crafti.axiomthemes.com/
Description: Crafti is a Premium WordPress theme that has built-in support for popular Page Builders, slider with swipe gestures, and is SEO- and Retina-ready. The unique system of inheritance and override options allows setting up individual parameters for different sections of your site and supported plugins.
Author: AxiomThemes
Author URI: http://axiomthemes.com/
Version: 1.19.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: crafti
Template: crafti
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

/* -------------------------------------------------------
   1. Brand color tokens
------------------------------------------------------- */
:root {
  --cc-cream:        #FDFAF5;
  --cc-ivory:        #F5EFE6;
  --cc-rose:         #C9A49A;
  --cc-rose-dark:    #B8908A;
  --cc-sage:         #8A9E8C;
  --cc-sage-dark:    #738275;
  --cc-charcoal:     #2C2826;
  --cc-warm-grey:    #7A726C;
  --cc-border:       #E8DFD4;

  /* Map brand tokens → Crafti CSS variables */
  --theme-color-bg_color:       var(--cc-cream);
  --theme-color-text:           var(--cc-charcoal);
  --theme-color-text_dark:      var(--cc-charcoal);
  --theme-color-text_link:      var(--cc-rose);
  --theme-color-text_hover:     var(--cc-rose-dark);
  --theme-color-text_link2:     var(--cc-sage);
  --theme-color-text_hover2:    var(--cc-sage-dark);
  --theme-color-text_link3:     var(--cc-warm-grey);
  --theme-color-text_hover3:    var(--cc-charcoal);
  --theme-color-alter_bg_color: var(--cc-ivory);
  --theme-color-alter_text:     var(--cc-charcoal);
  --theme-color-alter_link:     var(--cc-rose);
  --theme-color-alter_hover:    var(--cc-rose-dark);
  --theme-color-alter_dark:     var(--cc-charcoal);
  --theme-color-alter_bd_color: var(--cc-border);
  --theme-color-extra_bg_color: var(--cc-charcoal);
  --theme-color-extra_text:     var(--cc-cream);
  --theme-color-extra_link:     var(--cc-rose);
  --theme-color-extra_hover:    var(--cc-rose-dark);
  --theme-color-extra_dark:     var(--cc-cream);
  --theme-color-bd_color:       var(--cc-border);
  --theme-color-inverse_text:   var(--cc-cream);
}


/* -------------------------------------------------------
   2. Typography
------------------------------------------------------- */
body {
  font-family: 'Jost', sans-serif;
  background-color: var(--cc-cream);
  color: var(--cc-charcoal);
}

h1, h2, h3, h4, h5, h6,
.front_page_section_caption,
.site-title,
.logo_text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cc-script {
  font-family: 'Dancing Script', cursive;
  font-size: 1.4em;
  font-weight: 400;
  color: var(--cc-warm-grey);
}


/* -------------------------------------------------------
   3. Buttons
------------------------------------------------------- */
.sc_button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .cart .button,
.woocommerce .cart_totals .checkout-button {
  background-color: var(--cc-rose) !important;
  color: var(--cc-cream) !important;
  border-color: var(--cc-rose) !important;
  border-radius: 2px;
  letter-spacing: 0.08em;
  font-family: 'Jost', sans-serif;
  font-size: 0.85em;
  font-weight: 500;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.sc_button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .cart .button:hover,
.woocommerce .cart_totals .checkout-button:hover {
  background-color: var(--cc-rose-dark) !important;
  border-color: var(--cc-rose-dark) !important;
  color: var(--cc-cream) !important;
}


/* -------------------------------------------------------
   4. WooCommerce product cards
------------------------------------------------------- */
.woocommerce ul.products li.product {
  background-color: var(--cc-ivory);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 4px 20px rgba(44, 40, 38, 0.1);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15em;
  color: var(--cc-charcoal);
}

.woocommerce ul.products li.product .price {
  color: var(--cc-charcoal);
  font-family: 'Jost', sans-serif;
}

.woocommerce ul.products li.product .onsale {
  background-color: var(--cc-sage) !important;
  color: var(--cc-cream) !important;
  border-radius: 2px;
}


/* -------------------------------------------------------
   5. Hero section
------------------------------------------------------- */
.cc-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--cc-ivory);
  background-size: cover;
  background-position: center;
}

.cc-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(253, 250, 245, 0.55);
}

.cc-hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 2rem;
}

.cc-hero__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--cc-charcoal);
  margin-bottom: 0.4em;
}

.cc-hero__subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--cc-warm-grey);
  margin-bottom: 2.2rem;
  display: block;
}

.cc-hero__btn {
  display: inline-block;
  padding: 0.9em 2.4em;
  background-color: var(--cc-rose);
  color: var(--cc-cream) !important;
  font-family: 'Jost', sans-serif;
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.cc-hero__btn:hover {
  background-color: var(--cc-rose-dark);
  color: var(--cc-cream) !important;
}


/* -------------------------------------------------------
   6. Features section
------------------------------------------------------- */
.cc-features {
  padding: 5rem 0;
  background-color: var(--cc-ivory);
}

.cc-features__wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.cc-features__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--cc-charcoal);
  margin-bottom: 3rem;
}

.cc-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.cc-features__item {
  padding: 2.5rem 2rem;
  background: var(--cc-cream);
  border-radius: 4px;
}

.cc-features__icon {
  font-size: 2rem;
  color: var(--cc-rose);
  margin-bottom: 1rem;
  display: block;
}

.cc-features__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.4rem;
  color: var(--cc-charcoal);
  margin-bottom: 0.6rem;
}

.cc-features__text {
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  color: var(--cc-warm-grey);
  line-height: 1.7;
}


/* -------------------------------------------------------
   7. About section
------------------------------------------------------- */
.cc-about {
  padding: 5rem 0;
  background-color: var(--cc-cream);
}

.cc-about__wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cc-about__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 4px;
}

.cc-about__image--placeholder {
  width: 100%;
  height: 480px;
  background-color: var(--cc-ivory);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cc-warm-grey);
  font-family: 'Jost', sans-serif;
  font-size: 0.9rem;
}

.cc-about__label {
  font-family: 'Dancing Script', cursive;
  font-size: 1.2rem;
  color: var(--cc-rose);
  display: block;
  margin-bottom: 0.5rem;
}

.cc-about__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--cc-charcoal);
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.cc-about__text {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  color: var(--cc-warm-grey);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.cc-about__btn {
  display: inline-block;
  padding: 0.8em 2.2em;
  border: 1.5px solid var(--cc-rose);
  color: var(--cc-rose) !important;
  font-family: 'Jost', sans-serif;
  font-size: 0.85em;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.cc-about__btn:hover {
  background-color: var(--cc-rose);
  color: var(--cc-cream) !important;
}


/* -------------------------------------------------------
   8. Section headings (products, blog)
------------------------------------------------------- */
.front_page_section_blog .front_page_section_caption,
.front_page_section_about .front_page_section_caption,
.front_page_section_woocommerce .front_page_section_caption {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--cc-charcoal);
  text-align: center;
  margin-bottom: 2.5rem;
}


/* -------------------------------------------------------
   9. Header & logo
------------------------------------------------------- */
.logo_text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--cc-charcoal);
}

/* Logo image sizing — primary (desktop) */
.sc_layouts_logo .logo_image,
.site-logo img,
.custom-logo {
  max-height: 58px;
  width: auto;
  height: auto;
}

/* Shrink logo on scroll / sticky header */
.header_fixed .sc_layouts_logo .logo_image {
  max-height: 44px;
  transition: max-height 0.3s ease;
}