/*
Theme Name: KÉDEM Wear
Theme URI: https://kedemwear.com
Author: KÉDEM Wear
Description: Tema editorial premium para KÉDEM Wear, com integração WooCommerce e WhatsApp.
Version: 1.0.2
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: kedem-wear
*/

:root {
  --ink: #0a0a09;
  --cream: #f4f0e7;
  --paper: #fbfaf6;
  --gold: #caa437;
  --forest: #263328;
  --stone: #7b786f;
  --line: rgba(10, 10, 9, .14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --wrap: min(1380px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: var(--wrap); margin-inline: auto; }
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; }
.display { margin: 0; font-family: var(--serif); font-size: clamp(48px, 7vw, 112px); font-weight: 500; letter-spacing: -.035em; line-height: .88; }
.section-title { margin: 0; font-family: var(--serif); font-size: clamp(38px, 5vw, 72px); font-weight: 500; letter-spacing: -.025em; line-height: .95; }
.button, .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 0 28px; border: 1px solid var(--ink); border-radius: 0; color: var(--paper); background: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; transition: .25s ease; }
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { color: var(--ink); background: transparent; }
.button--light { border-color: var(--paper); color: var(--ink); background: var(--paper); }
.button--light:hover { color: var(--paper); background: transparent; }
.button--outline { color: var(--ink); background: transparent; }
.button--outline:hover { color: var(--paper); background: var(--ink); }
.button--gold { border-color: var(--gold); color: var(--ink); background: var(--gold); }
.button--gold:hover { color: var(--gold); background: transparent; }

.announcement { padding: 9px 20px; color: var(--paper); background: var(--ink); text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--line); background: rgba(251,250,246,.94); backdrop-filter: blur(14px); }
.header-inner { display: grid; min-height: 82px; grid-template-columns: 1fr auto 1fr; align-items: center; }
.site-logo img, .custom-logo-link img { width: 164px; max-height: 56px; object-fit: contain; }
.primary-nav ul { display: flex; margin: 0; padding: 0; gap: 30px; list-style: none; }
.primary-nav a, .header-action { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.cart-count { display: inline-grid; width: 20px; height: 20px; margin-left: 4px; place-items: center; border-radius: 50%; color: var(--paper); background: var(--ink); font-size: 9px; }
.menu-toggle { display: none; padding: 8px 0; border: 0; background: none; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 6px 0; background: var(--ink); }

.hero { position: relative; min-height: calc(100svh - 112px); display: grid; align-items: end; overflow: hidden; color: var(--paper); background: var(--ink); }
.hero-media { position: absolute; inset: 0; opacity: .72; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.08); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.74), rgba(0,0,0,.08) 68%), linear-gradient(0deg, rgba(0,0,0,.54), transparent 55%); }
.hero-content { position: relative; z-index: 1; max-width: 820px; padding: 12vh 0 10vh; }
.hero .eyebrow { color: #e3c96b; }
.hero-copy { max-width: 540px; margin: 28px 0 36px; color: rgba(255,255,255,.78); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.045); font-family: var(--serif); font-size: 29vw; }

.usp-bar { border-bottom: 1px solid var(--line); background: var(--cream); }
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.usp { padding: 25px; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.usp + .usp { border-left: 1px solid var(--line); }
.section { padding: clamp(84px, 10vw, 150px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.text-link { padding-bottom: 5px; border-bottom: 1px solid; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.woocommerce ul.products, .product-grid { display: grid; margin: 0; padding: 0; grid-template-columns: repeat(4, 1fr); gap: 28px 16px; list-style: none; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { float: none; width: auto; margin: 0; }
.product-card { position: relative; }
.woocommerce ul.products li.product a img, .product-card__image { width: 100%; aspect-ratio: 4/5; margin: 0 0 18px; background: #e9e6de; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-card__image, .woocommerce ul.products li.product:hover a img { transform: scale(.985); }
.product-card__meta { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .product-card h3 { padding: 0; margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.woocommerce ul.products li.product .price, .product-card__price { color: var(--stone); font-size: 13px; }
.woocommerce span.onsale, .product-badge { position: absolute; z-index: 2; top: 14px; left: 14px; min-width: auto; min-height: auto; margin: 0; padding: 7px 10px; border-radius: 0; color: var(--paper); background: var(--ink); font-size: 9px; font-weight: 800; letter-spacing: .13em; line-height: 1; text-transform: uppercase; }
.woocommerce ul.products li.product .button { display: none; }

.manifesto { display: grid; min-height: 720px; grid-template-columns: 1.05fr .95fr; color: var(--paper); background: var(--forest); }
.manifesto-media { min-height: 600px; background: #171c18; }
.manifesto-media img { width: 100%; height: 100%; object-fit: cover; opacity: .84; }
.manifesto-copy { display: flex; padding: clamp(50px, 8vw, 120px); flex-direction: column; align-items: flex-start; justify-content: center; }
.manifesto-copy p:not(.eyebrow) { max-width: 520px; margin: 32px 0; color: rgba(255,255,255,.72); font-size: 17px; }
.collection-banner { padding: clamp(90px, 13vw, 190px) 0; color: var(--paper); background: var(--ink); text-align: center; }
.collection-banner .section-title { max-width: 900px; margin: 0 auto 28px; }
.collection-banner p { max-width: 590px; margin: 0 auto 34px; color: rgba(255,255,255,.67); }
.testimonials { background: var(--cream); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { padding: 38px; border: 1px solid var(--line); background: var(--paper); }
.quote-stars { color: var(--gold); letter-spacing: .15em; }
.quote blockquote { margin: 24px 0 36px; font-family: var(--serif); font-size: 25px; line-height: 1.25; }
.quote cite { font-size: 10px; font-style: normal; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.whatsapp-cta { display: grid; padding: 0; grid-template-columns: 1.1fr .9fr; background: #d4b549; }
.whatsapp-cta__copy { padding: clamp(60px, 8vw, 120px); }
.whatsapp-cta__copy p { max-width: 520px; margin: 24px 0 34px; }
.whatsapp-cta__aside { min-height: 480px; background: var(--ink) url('assets/images/kedem-logo.png') center/72% auto no-repeat; }

.newsletter { padding: 80px 0; border-top: 1px solid rgba(255,255,255,.12); color: var(--paper); background: var(--ink); }
.newsletter-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 80px; }
.newsletter h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); font-weight: 500; line-height: 1; }
.newsletter-form { display: flex; border-bottom: 1px solid rgba(255,255,255,.55); }
.newsletter-form input { width: 100%; padding: 17px 0; border: 0; outline: 0; color: white; background: transparent; }
.newsletter-form button { border: 0; color: var(--gold); background: none; font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.site-footer { padding: 70px 0 28px; color: rgba(255,255,255,.7); background: var(--ink); }
.footer-grid { display: grid; padding-bottom: 70px; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 50px; }
.footer-brand img { width: 180px; margin-bottom: 24px; }
.footer-brand p { max-width: 330px; }
.footer-title { margin: 0 0 20px; color: white; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: 9px 0; }
.footer-bottom { display: flex; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); justify-content: space-between; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }

.whatsapp-float { position: fixed; z-index: 60; right: 22px; bottom: 22px; display: flex; width: 58px; height: 58px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: var(--ink); background: var(--gold); box-shadow: 0 12px 35px rgba(0,0,0,.22); transition: transform .2s; }
.whatsapp-float:hover { transform: translateY(-3px); }
.whatsapp-float svg { width: 25px; }

.page-shell { min-height: 50vh; padding: 80px 0 120px; }
.page-header { padding: 80px 0 55px; border-bottom: 1px solid var(--line); background: var(--cream); }
.page-header h1 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 7vw, 90px); font-weight: 500; line-height: .9; }
.woocommerce .woocommerce-breadcrumb { margin-bottom: 32px; color: var(--stone); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.woocommerce div.product { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(40px, 7vw, 100px); }
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; }
.woocommerce div.product .product_title { font-family: var(--serif); font-size: clamp(42px, 5vw, 68px); font-weight: 500; line-height: .95; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 20px; }
.woocommerce-product-details__short-description { color: var(--stone); font-size: 16px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 32px 0 12px; }
.woocommerce div.product form.cart .variations { width: 100%; }
.woocommerce div.product form.cart .variations select { min-height: 48px; padding: 0 14px; border: 1px solid var(--line); background: transparent; }
.woocommerce div.product form.cart div.quantity { margin: 0; }
.woocommerce .quantity .qty { min-height: 52px; border: 1px solid var(--line); background: transparent; }
.kedem-whatsapp-product { flex: 1; min-width: 230px; border-color: var(--gold); color: var(--ink); background: var(--gold); }
.kedem-whatsapp-product:hover { color: var(--gold); background: var(--ink); }
.kedem-buy-now { flex: 1; min-width: 180px; }
.purchase-note { width: 100%; margin-top: 10px; color: var(--stone); font-size: 11px; }
.woocommerce div.product .woocommerce-tabs { grid-column: 1/-1; }
.woocommerce-cart-form, .cart_totals { padding: 28px; border: 1px solid var(--line); background: white; }
.kedem-cart-whatsapp { width: 100%; margin-top: 12px; border-color: var(--gold); background: var(--gold); color: var(--ink); }
.kedem-checkout-whatsapp { width: 100%; margin-top: 16px; border-color: var(--gold); background: var(--gold); color: var(--ink); }
.kedem-checkout-whatsapp:hover, .kedem-cart-whatsapp:hover { color: var(--gold); background: var(--ink); }
.kedem-trust-note { margin: 14px 0 0; color: var(--stone); font-size: 12px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--gold); background: var(--cream); }

@media (max-width: 980px) {
  :root { --wrap: min(100% - 32px, 760px); }
  .header-inner { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .site-logo { justify-self: end; }
  .primary-nav { position: fixed; inset: 111px 0 auto; display: none; padding: 38px 24px; background: var(--paper); }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { flex-direction: column; gap: 22px; }
  .header-actions { display: none; }
  .woocommerce ul.products, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto, .whatsapp-cta { grid-template-columns: 1fr; }
  .manifesto-media { min-height: 70vw; }
  .whatsapp-cta__aside { min-height: 380px; }
  .quote-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .woocommerce div.product { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  :root { --wrap: calc(100vw - 28px); }
  .announcement { font-size: 8px; }
  .header-inner { min-height: 70px; }
  .site-logo img, .custom-logo-link img { width: 138px; }
  .primary-nav { top: 99px; }
  .hero { min-height: 720px; }
  .hero-content { padding-bottom: 70px; }
  .hero-actions .button { width: 100%; }
  .usp-grid { grid-template-columns: 1fr; }
  .usp + .usp { border-top: 1px solid var(--line); border-left: 0; }
  .section-head { align-items: start; flex-direction: column; }
  .woocommerce ul.products, .product-grid { gap: 24px 10px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title, .product-card h3 { font-size: 18px; }
  .manifesto-copy, .whatsapp-cta__copy { padding: 60px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { gap: 15px; flex-direction: column; }
  .whatsapp-float { right: 14px; bottom: 14px; width: 54px; height: 54px; }
}
