/*
Theme Name: Frelis Elegant
Theme URI: https://frelis.sk/
Author: Frelis
Description: Jemná, elegantná a responzívna WooCommerce téma pre obchod Frelis.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: frelis-elegant
*/
:root{
  --frelis-cream:#F7F3ED;
  --frelis-lavender:#D8C9E5;
  --frelis-purple:#765C89;
  --frelis-peach:#D99A78;
  --frelis-ink:#39343B;
  --frelis-white:#fff;
  --frelis-border:#e9e1e9;
  --frelis-radius:18px;
  --frelis-shadow:0 10px 30px rgba(57,52,59,.07);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--frelis-cream);color:var(--frelis-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}
a{color:var(--frelis-purple);text-decoration:none}
a:hover{color:var(--frelis-peach)}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
.site-header{background:rgba(255,255,255,.94);border-bottom:1px solid var(--frelis-border);position:relative;z-index:10}
.header-inner{max-width:1180px;margin:auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-branding{display:flex;align-items:center;gap:12px;min-width:170px}
.custom-logo{max-height:64px;width:auto}
.site-title{font-family:Georgia,serif;font-size:30px;line-height:1.1;margin:0;color:var(--frelis-purple);font-weight:600}
.site-description{font-size:12px;margin:4px 0 0;color:#817786}
.primary-navigation ul{list-style:none;display:flex;align-items:center;gap:22px;padding:0;margin:0;flex-wrap:wrap}
.primary-navigation a{color:var(--frelis-ink);font-size:14px;font-weight:600}
.primary-navigation a:hover,.primary-navigation .current-menu-item>a{color:var(--frelis-purple)}
.header-cart{background:var(--frelis-lavender);color:var(--frelis-ink);padding:10px 16px;border-radius:999px;font-size:14px;font-weight:700;white-space:nowrap}
.menu-toggle{display:none;border:0;background:var(--frelis-lavender);border-radius:10px;padding:9px 12px;color:var(--frelis-ink)}
.site-main{min-height:55vh}
.container{width:min(1120px,calc(100% - 40px));margin-inline:auto}
.hero{padding:76px 0 66px;background:linear-gradient(120deg,#f7f3ed 0%,#eee5f2 62%,#f8eee8 100%);overflow:hidden}
.hero-inner{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:48px}
.eyebrow{color:var(--frelis-purple);font-size:12px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.hero h1{font-family:Georgia,serif;font-size:clamp(38px,5vw,64px);line-height:1.08;font-weight:500;color:var(--frelis-ink);margin:14px 0 20px;max-width:650px}
.hero p{font-size:17px;color:#655d68;max-width:570px;margin:0 0 28px}
.hero-art{min-height:310px;border-radius:48% 52% 45% 55%;background:radial-gradient(circle at 35% 35%,#fff 0 12%,transparent 13%),linear-gradient(145deg,#d8c9e5,#f0d7c9);display:flex;align-items:center;justify-content:center;box-shadow:var(--frelis-shadow);padding:28px;text-align:center}
.hero-art-inner{font-family:Georgia,serif;font-size:clamp(25px,3vw,38px);line-height:1.2;color:var(--frelis-purple);max-width:300px}
.button,.wp-block-button__link,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{display:inline-flex;align-items:center;justify-content:center;background:var(--frelis-purple)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:13px 24px!important;font-weight:700!important;transition:transform .2s,background .2s;box-shadow:none!important}
.button:hover,.wp-block-button__link:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:#604771!important;transform:translateY(-2px)}
.button-soft{background:var(--frelis-peach)!important;color:#fff!important}
.section{padding:64px 0}
.section-heading{text-align:center;margin:0 auto 34px;max-width:650px}
.section-heading h2,.page-title{font-family:Georgia,serif;font-size:clamp(30px,4vw,42px);font-weight:500;line-height:1.2;margin:8px 0 12px;color:var(--frelis-ink)}
.section-heading p{color:#716976;margin:0}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.category-card{background:#fff;border:1px solid var(--frelis-border);border-radius:var(--frelis-radius);padding:28px 18px;text-align:center;box-shadow:var(--frelis-shadow);transition:transform .2s}
.category-card:hover{transform:translateY(-4px)}
.category-icon{width:64px;height:64px;border-radius:50%;background:#eee5f2;display:grid;place-items:center;margin:0 auto 14px;font-size:27px}
.category-card h3{margin:0;color:var(--frelis-ink);font-family:Georgia,serif;font-size:21px;font-weight:500}
.product-section{background:#fff}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;margin:0!important}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}
.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;padding:14px!important;background:#fff;border:1px solid var(--frelis-border);border-radius:var(--frelis-radius);overflow:hidden}
.woocommerce ul.products li.product a img{border-radius:12px;margin:0 0 14px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:Georgia,serif;font-size:19px;color:var(--frelis-ink);padding:0 0 7px}
.woocommerce ul.products li.product .price{color:var(--frelis-purple);font-weight:800}
.woocommerce span.onsale{background:var(--frelis-peach);border-radius:999px;min-height:34px;min-width:50px;line-height:34px}
.woocommerce div.product div.images img{border-radius:var(--frelis-radius)}
.woocommerce div.product .product_title{font-family:Georgia,serif;font-weight:500}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--frelis-purple)}
.woocommerce .quantity .qty,.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.woocommerce-input-wrapper input,.woocommerce-input-wrapper select{border:1px solid var(--frelis-border);border-radius:10px;padding:11px;background:#fff}
.woocommerce-info,.woocommerce-message{border-top-color:var(--frelis-purple);background:#fff;border-radius:12px}
.woocommerce-info:before,.woocommerce-message:before{color:var(--frelis-purple)}
.content-area{padding:54px 0}
.content-card{background:#fff;border:1px solid var(--frelis-border);border-radius:var(--frelis-radius);padding:clamp(22px,4vw,42px);box-shadow:var(--frelis-shadow)}
.entry-title{font-family:Georgia,serif;font-size:36px;font-weight:500;margin-top:0}
.site-footer{background:#eee5f2;padding:44px 0 24px;margin-top:50px}
.footer-inner{max-width:1120px;width:calc(100% - 40px);margin:auto;display:flex;justify-content:space-between;gap:30px;flex-wrap:wrap}
.footer-brand{font-family:Georgia,serif;font-size:26px;color:var(--frelis-purple)}
.footer-note{font-size:13px;color:#716976}
.footer-bottom{max-width:1120px;width:calc(100% - 40px);margin:28px auto 0;padding-top:16px;border-top:1px solid #d9cddd;color:#817786;font-size:12px}
.pagination .page-numbers{display:inline-block;padding:8px 13px;background:#fff;border-radius:9px;margin:3px}
@media(max-width:900px){
 .header-inner{flex-wrap:wrap}.menu-toggle{display:inline-flex}.primary-navigation{display:none;width:100%}.primary-navigation.is-open{display:block}.primary-navigation ul{align-items:flex-start;flex-direction:column;gap:12px;padding:12px 0}.header-cart{margin-left:auto}
 .hero-inner{grid-template-columns:1fr}.hero-art{min-height:220px}.category-grid{grid-template-columns:repeat(2,1fr)}
 .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:520px){
 .header-inner{padding:14px 18px}.site-title{font-size:25px}.hero{padding:52px 0}.container{width:calc(100% - 32px)}
 .category-grid{gap:12px}.category-card{padding:22px 10px}.woocommerce ul.products{gap:12px}.woocommerce ul.products li.product{padding:9px!important}
 .section{padding:48px 0}
}
