/*
Theme Name: Floral
Theme URI: https://ac8.ru
Description: Кастомная дочерняя тема для демо-лендинга цветочного магазина «Флёр». Построена на Hello Elementor.
Author: AC8
Version: 1.0.0
Template: hello-elementor
Text Domain: floral
*/

/* ============ RESET / BASE ============ */
:root{
  --bg:#faf6f2;
  --bg-soft:#f4ebe5;
  --ink:#2a1f1a;
  --ink-soft:#5b4a42;
  --muted:#8a7a72;
  --rose:#c85a6e;
  --rose-dark:#a8364c;
  --rose-soft:#f4d4d8;
  --gold:#c79a4f;
  --line:rgba(42,31,26,0.12);
  --shadow:0 20px 60px -20px rgba(42,31,26,0.25);
  --radius:18px;
  --serif:'Playfair Display', Georgia, serif;
  --sans:'Inter', -apple-system, Segoe UI, Roboto, sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body.floral-page{
  margin:0;
  font-family:var(--sans);
  font-size:16px;
  line-height:1.6;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
body.floral-page img{max-width:100%;height:auto;display:block}
body.floral-page a{color:inherit;text-decoration:none}
body.floral-page h1,body.floral-page h2,body.floral-page h3{
  font-family:var(--serif);
  font-weight:500;
  letter-spacing:-0.02em;
  margin:0 0 .4em;
  line-height:1.1;
}
body.floral-page p{margin:0 0 1em}
.fl-container{max-width:1200px;margin:0 auto;padding:0 28px}
.fl-eyebrow{
  display:inline-block;
  font-family:var(--sans);
  font-size:12px;
  font-weight:600;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--rose-dark);
  margin-bottom:14px;
}

/* ============ BUTTONS ============ */
.fl-btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:16px 30px;
  font-family:var(--sans);font-weight:600;font-size:15px;
  border-radius:999px;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor:pointer;border:none;
}
body.floral-page a.fl-btn-primary,
body.floral-page a.fl-btn-primary:link,
body.floral-page a.fl-btn-primary:visited{background:var(--ink);color:#fff !important}
body.floral-page a.fl-btn-primary:hover{background:var(--rose-dark);color:#fff !important;transform:translateY(-2px);box-shadow:0 12px 30px -10px rgba(168,54,76,.5)}
body.floral-page a.fl-btn-ghost,
body.floral-page a.fl-btn-ghost:link,
body.floral-page a.fl-btn-ghost:visited{background:transparent;color:var(--ink) !important;border:1.5px solid var(--ink)}
body.floral-page a.fl-btn-ghost:hover{background:var(--ink);color:#fff !important}
body.floral-page a.fl-btn-light,
body.floral-page a.fl-btn-light:link,
body.floral-page a.fl-btn-light:visited{background:#fff;color:var(--ink) !important}
body.floral-page a.fl-btn-light:hover{background:var(--rose-soft);color:var(--ink) !important;transform:translateY(-2px)}

/* ============ HEADER ============ */
.fl-header{
  position:sticky;top:0;left:0;right:0;z-index:50;
  padding:18px 0;
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  background:rgba(250,246,242,.85);
  border-bottom:1px solid var(--line);
}
.fl-header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.fl-logo{font-family:var(--serif);font-size:26px;font-weight:600;letter-spacing:-.02em;display:flex;align-items:center;gap:8px}
.fl-logo-mark{width:28px;height:28px;color:var(--rose)}
.fl-nav{display:flex;gap:34px}
.fl-nav a{font-size:14px;font-weight:500;color:var(--ink-soft);transition:color .2s}
.fl-nav a:hover{color:var(--rose-dark)}
.fl-header-cta{display:flex;align-items:center;gap:18px}
.fl-phone{font-size:14px;font-weight:600;color:var(--ink)}
.fl-cart{
  position:relative;
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:50%;
  background:#fff;color:var(--ink);
  border:1px solid var(--line);
  transition:background .25s, color .25s, transform .25s, border-color .25s;
}
.fl-cart:hover{background:var(--rose-dark);color:#fff;border-color:var(--rose-dark);transform:translateY(-2px)}
.fl-cart svg{display:block}
.fl-cart-count{
  position:absolute;top:-4px;right:-4px;
  min-width:20px;height:20px;padding:0 5px;border-radius:999px;
  background:var(--rose);color:#fff;
  font-size:11px;font-weight:700;
  display:flex;align-items:center;justify-content:center;
  border:2px solid var(--bg);
}
.fl-cart-count--empty{display:none}
@media(max-width:880px){
  .fl-nav,.fl-phone{display:none}
}

/* ============ HERO ============ */
.fl-hero{
  position:relative;
  min-height:calc(100vh - 80px);
  display:flex;align-items:center;
  padding:80px 0;
  overflow:hidden;
  background:linear-gradient(120deg,#f7e6e9 0%,#faf6f2 50%,#f0e3d8 100%);
}
.fl-hero::before{
  content:"";position:absolute;inset:0;
  background-image:url('/wp-content/uploads/floral/hero.jpg');
  background-size:cover;background-position:center right;
  opacity:.45;
  mix-blend-mode:multiply;
}
.fl-hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg, var(--bg) 0%, rgba(250,246,242,.85) 40%, rgba(250,246,242,0) 70%);
}
.fl-hero-inner{position:relative;z-index:2;max-width:640px}
.fl-hero-brand{
  font-family:var(--serif);
  font-size:clamp(36px,5vw,60px);
  font-weight:600;
  color:var(--rose-dark);
  letter-spacing:-.01em;
  line-height:1;
  margin-bottom:24px;
}
.fl-hero-inner .fl-eyebrow{margin:18px 0 28px}
.fl-hero h1{
  font-size:clamp(48px,7vw,92px);
  margin-bottom:24px;
}
.fl-hero h1 em{font-style:italic;color:var(--rose-dark)}
.fl-hero p.lead{
  font-size:19px;color:var(--ink-soft);max-width:520px;margin-bottom:36px;
}
.fl-hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.fl-hero-meta{
  display:flex;gap:30px;margin-top:60px;padding-top:30px;border-top:1px solid var(--line);
}
.fl-hero-meta div{font-size:13px;color:var(--ink-soft)}
.fl-hero-meta strong{display:block;font-family:var(--serif);font-size:28px;color:var(--ink);font-weight:600;margin-bottom:2px}

/* Decorative blob */
.fl-blob{
  position:absolute;
  right:-100px;top:50%;transform:translateY(-50%);
  width:680px;height:680px;
  background:radial-gradient(circle at 30% 40%, rgba(200,90,110,.18), transparent 60%);
  border-radius:50%;
  z-index:1;pointer-events:none;
}

/* ============ SECTIONS ============ */
.fl-section{padding:110px 0}
.fl-section-head{text-align:center;max-width:680px;margin:0 auto 60px}
.fl-section-head h2{font-size:clamp(34px,4.5vw,52px)}
.fl-section-head p{color:var(--ink-soft);font-size:17px}

/* ============ COLLECTION ============ */
.fl-collection{background:#fff}
.fl-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}
@media(max-width:900px){.fl-cards{grid-template-columns:1fr}}
.fl-card{
  background:var(--bg);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .35s ease, box-shadow .35s ease;
  position:relative;
}
.fl-card:hover{transform:translateY(-8px);box-shadow:var(--shadow)}
.fl-card-img{aspect-ratio:4/5;overflow:hidden;background:var(--bg-soft)}
.fl-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .8s ease}
.fl-card:hover .fl-card-img img{transform:scale(1.06)}
.fl-card-body{padding:24px 26px 28px}
.fl-card-tag{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--rose-dark);font-weight:600}
.fl-card h3{font-size:24px;margin:8px 0 6px}
.fl-card-desc{font-size:14px;color:var(--ink-soft);margin-bottom:18px}
.fl-card-foot{display:flex;align-items:center;justify-content:space-between}
.fl-price{font-family:var(--serif);font-size:24px;color:var(--ink);font-weight:600}
.fl-card-link{
  display:inline-flex;align-items:center;gap:6px;
  font-size:13px;font-weight:600;color:var(--rose-dark);
  padding:10px 16px;border-radius:999px;background:var(--rose-soft);
  transition:background .2s, gap .2s;
}
.fl-card-link:hover{background:var(--rose);color:#fff;gap:10px}

/* ============ STORY ============ */
.fl-story{background:var(--bg)}
.fl-story-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:80px;align-items:center}
@media(max-width:900px){.fl-story-grid{grid-template-columns:1fr;gap:50px}}
.fl-story-img{
  aspect-ratio:4/5;border-radius:var(--radius);overflow:hidden;position:relative;
  box-shadow:var(--shadow);
}
.fl-story-img img{width:100%;height:100%;object-fit:cover}
.fl-story-img::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 60%,rgba(42,31,26,.3));
}
.fl-story h2{font-size:clamp(34px,4.2vw,48px);margin-bottom:24px}
.fl-story-text p{color:var(--ink-soft);font-size:17px;margin-bottom:18px}
.fl-story-stats{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:36px;padding-top:36px;border-top:1px solid var(--line)}
.fl-story-stats strong{display:block;font-family:var(--serif);font-size:42px;color:var(--rose-dark);font-weight:600;line-height:1}
.fl-story-stats span{display:block;font-size:13px;color:var(--muted);margin-top:6px;text-transform:uppercase;letter-spacing:.1em}

/* ============ SERVICES ============ */
.fl-services{background:#fff}
.fl-svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media(max-width:900px){.fl-svc-grid{grid-template-columns:1fr}}
.fl-svc{
  padding:40px 32px;
  background:var(--bg);
  border-radius:var(--radius);
  border:1px solid transparent;
  transition:border-color .3s, transform .3s;
}
.fl-svc:hover{border-color:var(--rose-soft);transform:translateY(-4px)}
.fl-svc-icon{
  width:56px;height:56px;border-radius:14px;
  background:var(--rose-soft);color:var(--rose-dark);
  display:flex;align-items:center;justify-content:center;
  margin-bottom:22px;
}
.fl-svc h3{font-size:22px;margin-bottom:10px}
.fl-svc p{font-size:15px;color:var(--ink-soft);margin:0}

/* ============ TESTIMONIALS ============ */
.fl-testimonials{background:var(--bg-soft);position:relative;overflow:hidden}
.fl-quote-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px;max-width:1000px;margin:0 auto}
@media(max-width:800px){.fl-quote-grid{grid-template-columns:1fr}}
.fl-quote{
  background:#fff;
  padding:42px 38px;
  border-radius:var(--radius);
  position:relative;
}
.fl-quote::before{
  content:"\201C";
  position:absolute;top:-10px;left:24px;
  font-family:var(--serif);font-size:120px;color:var(--rose);line-height:1;
  opacity:.25;
}
.fl-quote p{font-family:var(--serif);font-size:20px;font-style:italic;color:var(--ink);line-height:1.5;margin:0 0 24px;position:relative}
.fl-quote-author{display:flex;align-items:center;gap:14px}
.fl-avatar{
  width:48px;height:48px;border-radius:50%;
  background:linear-gradient(135deg,var(--rose),var(--gold));
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:700;font-size:18px;
}
.fl-quote-author strong{display:block;font-size:15px}
.fl-quote-author span{display:block;font-size:13px;color:var(--muted)}

/* ============ CTA BANNER ============ */
.fl-cta{position:relative;padding:140px 0;color:#fff;overflow:hidden}
.fl-cta::before{
  content:"";position:absolute;inset:0;
  background-image:url('/wp-content/uploads/floral/cta.jpg');
  background-size:cover;background-position:center;
}
.fl-cta::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(120deg,rgba(42,31,26,.85),rgba(168,54,76,.55));
}
.fl-cta-inner{position:relative;z-index:2;text-align:center;max-width:680px;margin:0 auto}
.fl-cta h2{color:#fff;font-size:clamp(36px,5vw,60px);margin-bottom:20px}
.fl-cta p{color:rgba(255,255,255,.85);font-size:18px;margin-bottom:36px}

/* ============ FOOTER ============ */
.fl-footer{background:var(--ink);color:rgba(255,255,255,.7);padding:80px 0 40px}
.fl-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:50px;margin-bottom:60px}
@media(max-width:800px){.fl-footer-grid{grid-template-columns:1fr 1fr;gap:40px}}
.fl-footer h4{font-family:var(--sans);font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:#fff;margin:0 0 18px}
.fl-footer ul{list-style:none;padding:0;margin:0}
.fl-footer ul li{margin-bottom:10px;font-size:14px}
.fl-footer ul li a:hover{color:var(--rose-soft)}
.fl-footer .fl-logo{color:#fff;margin-bottom:14px}
.fl-footer-about p{font-size:14px;max-width:280px;line-height:1.7}
.fl-social{display:flex;gap:12px;margin-top:18px}
.fl-social a{
  width:38px;height:38px;border-radius:50%;
  background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;
  color:#fff;transition:background .2s,transform .2s;
}
.fl-social a:hover{background:var(--rose);transform:translateY(-2px)}
.fl-footer-bottom{
  padding-top:30px;border-top:1px solid rgba(255,255,255,.1);
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;
  font-size:13px;
}

/* hide WordPress admin bar margin issues */
html{margin-top:0 !important}

/* ============ WOOCOMMERCE SKIN ============ */
body.woocommerce,
body.woocommerce-page{
  font-family:var(--sans);
  background:var(--bg);
  color:var(--ink);
}
body.woocommerce h1,
body.woocommerce h2,
body.woocommerce h3,
body.woocommerce-page h1,
body.woocommerce-page h2,
body.woocommerce-page h3{
  font-family:var(--serif);
  font-weight:500;
  letter-spacing:-.02em;
}
body.woocommerce .site-main,
body.woocommerce-page .site-main{
  max-width:1200px;
  margin:0 auto;
  padding:60px 28px 100px;
}
body.woocommerce .woocommerce-products-header__title{
  font-size:clamp(38px,5vw,56px);
  margin-bottom:30px;
}
body.woocommerce .woocommerce-result-count{color:var(--muted);font-size:14px}
body.woocommerce .woocommerce-ordering select{
  padding:10px 14px;border-radius:999px;border:1px solid var(--line);background:#fff;
  font-family:var(--sans);font-size:14px;
}

/* product grid */
body.woocommerce ul.products{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:30px !important;
  margin:40px 0 !important;
}
body.woocommerce ul.products::before,
body.woocommerce ul.products::after{display:none !important}
@media(max-width:900px){body.woocommerce ul.products{grid-template-columns:repeat(2,1fr) !important}}
@media(max-width:600px){body.woocommerce ul.products{grid-template-columns:1fr !important}}
body.woocommerce ul.products li.product{
  width:auto !important;
  margin:0 !important;
  background:#fff;
  border-radius:var(--radius);
  overflow:hidden;
  padding:0 !important;
  transition:transform .35s ease, box-shadow .35s ease;
  text-align:center;
  display:flex !important;
  flex-direction:column !important;
}
body.woocommerce ul.products li.product > a:first-of-type{flex-shrink:0}
body.woocommerce ul.products li.product.first,
body.woocommerce ul.products li.product.last{clear:none !important;float:none !important}
body.woocommerce ul.products li.product .button{margin-top:auto !important;margin-bottom:22px !important}
body.woocommerce ul.products li.product .added_to_cart{display:none !important}
body.woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--muted);margin-bottom:14px}
body.woocommerce .woocommerce-breadcrumb a{color:var(--rose-dark)}
body.woocommerce ul.products li.product:hover{transform:translateY(-6px);box-shadow:var(--shadow)}
body.woocommerce ul.products li.product a img{
  margin:0 !important;
  aspect-ratio:4/5;
  object-fit:cover;
  transition:transform .8s ease;
}
body.woocommerce ul.products li.product:hover a img{transform:scale(1.05)}
body.woocommerce ul.products li.product .woocommerce-loop-product__title{
  font-family:var(--serif) !important;
  font-size:22px !important;
  font-weight:500 !important;
  padding:18px 22px 4px !important;
  color:var(--ink);
}
body.woocommerce ul.products li.product .price{
  display:block;
  font-family:var(--serif) !important;
  font-size:22px !important;
  color:var(--rose-dark) !important;
  font-weight:600 !important;
  margin:0 0 18px !important;
}
body.woocommerce ul.products li.product .button,
body.woocommerce ul.products li.product .added_to_cart{
  display:inline-block !important;
  margin:0 22px 22px !important;
  background:var(--ink) !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:12px 26px !important;
  font-weight:600 !important;
  font-size:14px !important;
  text-transform:none !important;
  border:none !important;
  transition:background .25s, transform .25s !important;
}
body.woocommerce ul.products li.product .button:hover,
body.woocommerce ul.products li.product .added_to_cart:hover{
  background:var(--rose-dark) !important;
  transform:translateY(-2px);
}
body.woocommerce span.onsale{
  background:var(--rose) !important;
  color:#fff !important;
  border-radius:999px !important;
  font-family:var(--sans) !important;
  font-weight:600 !important;
  padding:6px 14px !important;
  min-height:auto !important;
  min-width:auto !important;
  top:14px !important;left:14px !important;
}

/* Single product page */
body.woocommerce div.product .product_title{font-size:clamp(32px,4vw,46px);margin-bottom:14px}
body.woocommerce div.product p.price,
body.woocommerce div.product span.price{
  font-family:var(--serif) !important;
  color:var(--rose-dark) !important;
  font-size:30px !important;
  font-weight:600 !important;
}
body.woocommerce div.product .woocommerce-product-details__short-description{
  color:var(--ink-soft);font-size:17px;line-height:1.7;
}
body.woocommerce div.product form.cart .button,
body.woocommerce #respond input#submit,
body.woocommerce a.button,
body.woocommerce button.button,
body.woocommerce input.button{
  background:var(--ink) !important;
  color:#fff !important;
  border-radius:999px !important;
  padding:14px 30px !important;
  font-weight:600 !important;
  font-size:15px !important;
  border:none !important;
  transition:background .25s, transform .25s !important;
}
body.woocommerce div.product form.cart .button:hover,
body.woocommerce a.button:hover,
body.woocommerce button.button:hover{
  background:var(--rose-dark) !important;transform:translateY(-2px);
}
body.woocommerce div.product form.cart .button.alt{background:var(--rose-dark) !important}
body.woocommerce div.product form.cart .button.alt:hover{background:var(--ink) !important}
body.woocommerce div.product .quantity input.qty{
  border-radius:999px;border:1px solid var(--line);padding:12px;width:70px;text-align:center;
}
body.woocommerce-tabs ul.tabs li{
  background:transparent !important;border:none !important;
}
body.woocommerce-tabs ul.tabs li.active a{color:var(--rose-dark) !important}

/* Cart / checkout */
body.woocommerce table.shop_table{
  border-radius:var(--radius);overflow:hidden;background:#fff;border:1px solid var(--line);
}
body.woocommerce .cart-collaterals .cart_totals h2,
body.woocommerce .woocommerce-billing-fields h3,
body.woocommerce h3#order_review_heading{font-family:var(--serif)}
body.woocommerce-message,
body.woocommerce-info{
  background:#fff !important;border-top-color:var(--rose) !important;border-radius:12px;
}
body.woocommerce-message::before,
body.woocommerce-info::before{color:var(--rose-dark) !important}
body.woocommerce nav.woocommerce-pagination ul li a,
body.woocommerce nav.woocommerce-pagination ul li span{
  background:#fff;border:1px solid var(--line);
  border-radius:999px !important;padding:8px 14px;color:var(--ink);
}
body.woocommerce nav.woocommerce-pagination ul li span.current{
  background:var(--ink);color:#fff;border-color:var(--ink);
}

