/* =========================================================
   Little Amélie E-shop – colours, text, buttons
   ========================================================= */
:root{
  --lamelie-night:#0b2c3a;      /* header after scrolling – Customize → Hlavička */
  --lamelie-wine:#701321;       /* logo colour – headings */
  --lamelie-cta:#8a2a3b;        /* buttons */
  --lamelie-cta-hover:#a3324a;
  --lamelie-ink:#20224a;        /* text */
  --lamelie-muted:#6b6477;
  --lamelie-pink:#ecbab5;       /* card borders */
  --lamelie-blush:#f3e6e3;
  --lamelie-paper:#fbf6f3;      /* page background */
  --lamelie-line:#ead9d6;
  --lamelie-green:#266e4e;
  --lamelie-display:Fondamento,Georgia,serif;
  --lamelie-body:Poppins,system-ui,-apple-system,"Segoe UI",sans-serif;
}

*,*::before,*::after{box-sizing:border-box}

body{
  margin:0; background:var(--lamelie-paper); color:var(--lamelie-ink);
  font-family:var(--lamelie-body); font-size:15px; font-weight:400; line-height:1.6;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4,h5,h6{font-family:var(--lamelie-display); font-weight:400; letter-spacing:0; line-height:1.15; color:var(--lamelie-wine)}
a{color:var(--lamelie-cta)}
a:hover,a:focus{color:var(--lamelie-cta-hover)}
/* links are not underlined (Hello underlines links in .page-content) */
a,.page-content a,.comments-area a{text-decoration:none}
:focus-visible{outline:2px solid var(--lamelie-cta); outline-offset:2px}

/* content width (Hello Elementor) */
.site-main,.page-content,.woocommerce-products-header{box-sizing:border-box}
body:not([class*="elementor-page-"]) .site-main{max-width:1180px; margin-left:auto; margin-right:auto; padding-left:20px; padding-right:20px}
/* space between the hero band and the content – the theme owns it, same on every page
   (shop, cart, Elementor pages incl. the front page with the Elementor full-width template).
   Change in Customize → Additional CSS, e.g.  :root{--lamelie-gap-top:60px} */
:root{--lamelie-gap-top:48px; --lamelie-gap-bottom:72px}
.lamelie-front-hero,.lamelie-page-hero{margin-bottom:var(--lamelie-gap-top)}
.site-main{padding-top:0; padding-bottom:var(--lamelie-gap-bottom)}
body:not(.lamelie-has-hero) .site-main{padding-top:var(--lamelie-gap-top)}
/* the first Elementor block must not add its own space on top of the theme's */
body.lamelie-has-hero .elementor[data-elementor-type="wp-page"] > .e-con:first-child,
body.lamelie-has-hero .elementor[data-elementor-type="wp-page"] > .elementor-section:first-child{--padding-top:0px !important; padding-top:0 !important; margin-top:0 !important}
body.lamelie-has-hero .elementor[data-elementor-type="wp-page"] > .elementor-section:first-child > .elementor-container > .elementor-column > .elementor-widget-wrap{padding-top:0 !important}
/* shop pages: width always, also when the page is still marked "edited with Elementor" */
body.woocommerce .site-main,body.woocommerce-page .site-main{max-width:1180px; margin-left:auto; margin-right:auto; padding-left:20px; padding-right:20px}

/* buttons – square, as in the design */
.lamelie-btn,
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,
.wc-block-components-button:not(.is-link),
.wp-element-button,.wp-block-button__link{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  min-height:44px; padding:11px 20px; border:0; border-radius:3px;
  background:var(--lamelie-cta); color:#fff;
  font-family:var(--lamelie-body); font-size:13.5px; font-weight:600; line-height:1.2;
  letter-spacing:0; text-transform:none; text-decoration:none; white-space:nowrap;
  box-shadow:none; cursor:pointer; transition:background-color .2s ease;
}
.lamelie-btn:hover,.lamelie-btn:focus-visible,
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,.woocommerce input.button.alt:hover,
.wc-block-components-button:not(.is-link):hover,
.wp-element-button:hover,.wp-block-button__link:hover{background:var(--lamelie-cta-hover); color:#fff}
.woocommerce a.button.disabled,.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled],
.woocommerce button.button.alt.disabled{background:#b9aeb0; color:#fff; opacity:1}
/* links in buttons keep white text (the Elementor kit colours all links) */
body a.lamelie-btn,body a.lamelie-btn:visited,body a.lamelie-btn:hover,body a.lamelie-btn:focus{color:#fff; opacity:1}
/* ghost button – the frame stays in every state (something else resets box-shadow on click) */
body a.lamelie-btn--ghost,body a.lamelie-btn--ghost:visited,body a.lamelie-btn--ghost:focus,body a.lamelie-btn--ghost:active{
  background:transparent !important; box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.85) !important; color:#fff;
}
body a.lamelie-btn--ghost:hover,body a.lamelie-btn--ghost:focus-visible{
  background:rgba(255,255,255,.12) !important; box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.85) !important; color:#fff;
}

/* form fields */
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.woocommerce .quantity .qty,.woocommerce select,.woocommerce-ordering select,
input[type=text],input[type=email],input[type=tel],input[type=search],input[type=number],input[type=password],textarea,select{
  border:1px solid #d6c7c4; border-radius:3px; background:#fff; color:var(--lamelie-ink);
  font-family:var(--lamelie-body); font-size:16px;
}
input:focus,textarea:focus,select:focus{border-color:var(--lamelie-cta); outline:none; box-shadow:0 0 0 3px rgba(138,42,59,.15)}

@media (prefers-reduced-motion:reduce){ *{transition:none !important; animation:none !important} }

/* section heading ("Čo nájdete v obchode", "Novinky") – design 1.
   Elementor: Heading widget, HTML tag H2, Advanced → CSS Classes: lamelie-section-heading */
:root{--lamelie-section-heading-gap:30px}
.elementor-widget.lamelie-section-heading .elementor-heading-title,
h1.lamelie-section-heading,h2.lamelie-section-heading,h3.lamelie-section-heading{
  margin:0 0 var(--lamelie-section-heading-gap); padding:0;
  font-family:var(--lamelie-display); font-weight:400; font-style:normal;
  font-size:clamp(30px,3.4vw,44px); line-height:1.1; letter-spacing:0; text-transform:none;
  color:var(--lamelie-wine); text-wrap:balance;
}
/* Elementor: the container adds its own gap (--row-gap, Site Settings → Layout → Widgets Space) below the widget;
   the heading itself gets no margin and the widget subtracts that gap, so the total is exactly --lamelie-section-heading-gap */
.elementor-widget.lamelie-section-heading .elementor-heading-title{margin-bottom:0}
.elementor-widget.lamelie-section-heading{margin-bottom:calc(var(--lamelie-section-heading-gap) - var(--row-gap, 20px)) !important}
