/*
Theme Name: Greenhouse Estonia — Kadence Child
Theme URI: https://greenhouseestonia.ee/
Description: Minimalistlik Greenhouse Estonia WordPress/WooCommerce kujundus koos staging'u lehtede- ja menüüinstalleriga. Eeldab Kadence'i põhiteemat.
Author: Greenhouse Estonia
Template: kadence
Version: 2.0.0
Text Domain: greenhouse-estonia
Requires PHP: 7.4
*/
:root {
  --gh-paper: #f6f5f0;
  --gh-cream: #ebe8e0;
  --gh-ink: #252824;
  --gh-secondary: #5f645c;
  --gh-line: #deddd5;
  --gh-olive: #50594a;
  --gh-white: #fff;
}
body { background:var(--gh-paper); color:var(--gh-ink); font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; }
a { text-underline-offset: 4px; }
.site-header, .site-main-header-wrap, .site-bottom-header-wrap { background: var(--gh-paper); }
.site-header { border-bottom: 1px solid var(--gh-line); }
.site-branding a.brand { letter-spacing: -.035em; }
.site-title, .site-title a { font-weight: 700; letter-spacing:-.045em; color:var(--gh-ink); }
#primary-menu a, .main-navigation a { font-size: .86rem; letter-spacing: .005em; }
.site-footer { border-top: 1px solid var(--gh-line); background: var(--gh-paper); }
.site-footer, .site-footer a { color: var(--gh-secondary); }
.content-area, .site-main { color: var(--gh-ink); }
.entry-title, h1, h2, h3 { color:var(--gh-ink); }

/* Homepage — editable Gutenberg blocks. */
.gh-home { max-width: 1240px; margin: 0 auto; }
.gh-hero { padding: clamp(48px,7vw,100px) 36px 70px; background:var(--gh-paper); }
.gh-hero-columns { gap: clamp(32px,6vw,92px); margin-bottom:0; }
.gh-eyebrow { text-transform:uppercase; color:var(--gh-olive); letter-spacing:.16em; font-size:.7rem !important; font-weight:650; margin:0 0 22px !important; }
.gh-hero-title { font-family:Georgia,"Times New Roman",serif; font-size:clamp(3.15rem,6.2vw,6.2rem) !important; font-weight:400; line-height:1.08; letter-spacing:-.065em; margin:0 0 24px !important; }
.gh-hero-copy { color:var(--gh-secondary); max-width:460px; font-size:1.05rem; line-height:1.8; margin-bottom:32px !important; }
.gh-button .wp-block-button__link, .gh-home .wp-block-button:not(.is-style-outline) .wp-block-button__link { background:var(--gh-ink); color:white; border-radius:0; padding:15px 24px; font-size:.85rem; font-weight:600; }
.gh-button .wp-block-button__link:hover { background:var(--gh-olive); }
.gh-hero-art { min-height:390px; position:relative; display:flex; align-items:center; justify-content:center; overflow:hidden; background:linear-gradient(135deg,#e8e8df 0%,#d4d7cb 100%); }
.gh-hero-ring { display:block; height:230px; width:230px; border-radius:50%; border:1px solid rgba(45,53,43,.45); position:absolute; transform:rotate(-15deg) scaleX(.79); }
.gh-hero-ring::after { content:""; position:absolute; width:118%; height:118%; top:-9%; left:-9%; border:1px solid rgba(45,53,43,.16); border-radius:50%; }
.gh-monogram { font:400 8.5rem/.9 Georgia,"Times New Roman",serif; letter-spacing:-.11em; color:var(--gh-ink); padding-right:.12em; }
.gh-art-caption { position:absolute; bottom:20px; left:24px; font-size:.66rem; letter-spacing:.15em; color:var(--gh-secondary); }
.gh-section { margin:0 auto; padding:70px 36px 44px; border-top:1px solid var(--gh-line); }
.gh-section-title { font:400 clamp(2.25rem,3.5vw,3.5rem)/1.1 Georgia,"Times New Roman",serif !important; letter-spacing:-.055em; margin:0 0 30px !important; }
.gh-category-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.gh-category-card { display:flex; flex-direction:column; justify-content:space-between; text-decoration:none; min-height:270px; padding:26px; border:1px solid var(--gh-line); background:#efeee8; color:var(--gh-ink); transition:background .2s ease,transform .2s ease; }
.gh-category-card:hover { color:var(--gh-ink); background:#e4e6db; transform:translateY(-3px); }
.gh-category-card strong { font:400 clamp(2.8rem,4vw,4.8rem)/1 Georgia,"Times New Roman",serif; letter-spacing:-.07em; }
.gh-category-no, .gh-category-desc { font-size:.72rem; color:var(--gh-secondary); letter-spacing:.04em; }
.gh-category-desc { display:flex; justify-content:space-between; gap:10px; }
.gh-empty { padding:38px 28px; border:1px solid var(--gh-line); background:#efeee8; color:var(--gh-secondary); font-size:.94rem; }
.gh-bottom-note { margin:65px 36px 85px; padding:50px; background:var(--gh-cream); }
.gh-bottom-note h3 { font:400 clamp(2rem,3vw,3rem)/1.2 Georgia,"Times New Roman",serif; letter-spacing:-.04em; margin:0 0 18px; }
.gh-bottom-note p { color:var(--gh-secondary); max-width:590px; }
.gh-bottom-note .is-style-outline .wp-block-button__link { border:1px solid var(--gh-ink); background:transparent; color:var(--gh-ink); border-radius:0; padding:12px 22px; }

/* Interior Gutenberg pages. */
.gh-text-page { margin:0 auto; padding:70px 26px 105px; max-width:1030px; }
.gh-text-page h1 { font:400 clamp(3.3rem,5vw,5.4rem)/1.06 Georgia,"Times New Roman",serif; letter-spacing:-.06em; margin:0 0 36px; }
.gh-text-page p { max-width:720px; color:var(--gh-secondary); line-height:1.8; }
.gh-best-page { max-width:1220px; }

/* WooCommerce — Kadence remains responsible for all store behavior. */
.woocommerce ul.products { gap:26px 18px; }
.woocommerce ul.products li.product { background:transparent; }
.woocommerce ul.products li.product img { background:#eae9e2; }
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title { color:var(--gh-ink); font-weight:600; letter-spacing:-.025em; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price,
.woocommerce div.product span.price { color:var(--gh-ink); font-weight:600; }
.woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce .button, .woocommerce #respond input#submit {
  background:var(--gh-ink); color:var(--gh-white); border-radius:0; font-size:.84rem; font-weight:600; padding:13px 20px;
}
.woocommerce button.button:hover, .woocommerce a.button:hover,
.woocommerce input.button:hover { background:var(--gh-olive); color:white; }
.woocommerce div.product form.cart .variations select, .woocommerce input.input-text,
.woocommerce-page input.input-text, .woocommerce textarea, .woocommerce select {
  border:1px solid #cfcfc7; border-radius:0; background:#fff; color:var(--gh-ink);
}
.woocommerce span.onsale { background:var(--gh-olive); border-radius:0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { color:var(--gh-ink); }
.woocommerce .quantity .qty { min-height:43px; }

@media (max-width: 1000px) {
  .gh-hero { padding:55px 24px 55px; }
  .gh-section { padding:52px 24px 36px; }
  .gh-bottom-note { margin:40px 24px 65px; }
  .gh-hero-art { min-height:320px; }
}
@media (max-width: 700px) {
  .gh-hero { padding:42px 20px 50px; }
  .gh-hero-columns { gap:24px; }
  .gh-hero-title { font-size:3.25rem !important; }
  .gh-hero-art { min-height:260px; }
  .gh-monogram { font-size:6.5rem; }
  .gh-hero-ring { width:170px; height:170px; }
  .gh-category-grid { grid-template-columns:1fr; gap:10px; }
  .gh-category-card { min-height:175px; padding:20px; }
  .gh-category-card strong { font-size:3.1rem; }
  .gh-section { padding:45px 20px 22px; }
  .gh-bottom-note { margin:30px 20px 55px; padding:32px 24px; }
  .gh-text-page { padding:40px 20px 65px; }
}


/* v2: compact homepage, immediate product gallery, editable Gutenberg content. */
.gh-home-v2 { max-width:1240px; margin:0 auto; }
.gh-intro { padding:clamp(36px,5vw,76px) 36px 34px; }
.gh-intro .gh-eyebrow { margin-bottom:18px !important; }
.gh-intro-heading { font:400 clamp(2.4rem,4.8vw,5.2rem)/1.06 Georgia,"Times New Roman",serif !important; letter-spacing:-.06em; max-width:890px; margin:0 0 14px !important; }
.gh-intro-copy { color:var(--gh-secondary); max-width:660px; font-size:1.02rem; line-height:1.7; }
.gh-home-v2 .gh-featured-section { border-top:0; padding-top:26px; }
.gh-home-v2 .gh-section { padding-bottom:54px; }
.gh-home-v2 .gh-section-heading { margin-bottom:23px; }
.gh-home-v2 .gh-section-heading .gh-eyebrow { margin-bottom:12px !important; }
.gh-home-v2 .gh-section-heading .gh-section-title { margin-bottom:0 !important; }
.gh-all-products { font-size:.84rem; margin:0 !important; }
.gh-all-products a { color:var(--gh-ink); text-decoration:underline; text-decoration-color:#a7a99e; text-underline-offset:5px; }
.gh-featured-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:25px 17px; }
.gh-product-card { min-width:0; }
.gh-product-image-link { display:flex; background:#ebeae4; align-items:center; justify-content:center; aspect-ratio:1; overflow:hidden; text-decoration:none; }
.gh-product-image { width:100%; height:100%; object-fit:cover; display:block; transition:transform .3s ease; }
.gh-product-image-link:hover .gh-product-image { transform:scale(1.04); }
.gh-product-image-placeholder { color:#666b60; letter-spacing:.13em; font-weight:600; font-size:clamp(.65rem,.9vw,.85rem); }
.gh-product-meta { display:flex; flex-direction:column; gap:6px; padding:15px 1px 0; }
.gh-product-name { color:var(--gh-ink); text-decoration:none; font-size:.94rem; font-weight:650; line-height:1.4; }
.gh-product-name:hover { text-decoration:underline; }
.gh-product-price, .gh-product-price .woocommerce-Price-amount { color:var(--gh-ink); font-size:.89rem; }
.gh-product-detail { color:var(--gh-secondary); text-decoration:none; margin-top:6px; font-size:.78rem; }
.gh-product-detail:hover { color:var(--gh-ink); text-decoration:underline; }
.gh-home-v2 .gh-category-card { min-height:190px; }
.gh-home-v2 .gh-category-card strong { font-size:clamp(2.4rem,3.5vw,4rem); }
@media (max-width: 1000px) {
  .gh-featured-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .gh-intro { padding:55px 24px 22px; }
}
@media (max-width: 700px) {
  .gh-featured-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 12px; }
  .gh-intro { padding:40px 20px 12px; }
  .gh-intro-heading { font-size:2.65rem !important; }
  .gh-home-v2 .gh-featured-section { padding-top:25px; }
  .gh-home-v2 .gh-section-heading { gap:8px; }
  .gh-home-v2 .gh-section-heading .wp-block-column { flex-basis:100% !important; }
  .gh-all-products { text-align:left !important; }
  .gh-home-v2 .gh-category-card { min-height:155px; }
  .gh-product-meta { padding-top:11px; }
}

/* Customizer palette: the hero and category cards remain editable via colors. */
.gh-category-card { background:var(--gh-card-bg); }
.gh-product-image-link { background:var(--gh-card-bg); }
.gh-empty { background:var(--gh-card-bg); }
