/*
Theme Name: Storefront Loggia
Theme URI: https://eshop.loggiadecor.gr
Description: Loggia Decor — branded child theme (Storefront). Διακοσμητικά χρώματα & επιχρίσματα.
Author: Stamatof
Template: storefront
Version: 1.0.0
*/

:root{
  --lg-teal:#7EBEC5; --lg-teal-d:#579aa2; --lg-blue:#88C4DD; --lg-blue-l:#eaf4f9;
  --lg-dark:#262b2e; --lg-text:#5f6a6e; --lg-light:#f6f8f8; --lg-line:#e6ebec;
}

/* ---------- Typography ---------- */
body,button,input,select,textarea,.woocommerce-page{
  font-family:'Roboto',-apple-system,Helvetica,Arial,sans-serif;
  color:var(--lg-text); font-size:16px; line-height:1.7;
}
h1,h2,h3,h4,h5,h6,.site-title,.storefront-primary-navigation{
  font-family:'Roboto Condensed','Roboto',Helvetica,Arial,sans-serif;
  color:var(--lg-dark); font-weight:700; letter-spacing:.01em;
}
a{color:var(--lg-teal-d)}
a:hover{color:var(--lg-teal)}

/* ---------- Header ---------- */
.site-header{background:#fff;border-bottom:1px solid var(--lg-line);padding:.9em 0;margin-bottom:0!important;box-shadow:0 1px 16px rgba(0,0,0,.05);position:sticky;top:0;z-index:120}
.site-branding{width:auto;max-width:230px;margin:0}
.custom-logo-link{display:inline-block;width:auto;margin:0}
.custom-logo{max-height:50px;width:auto;display:block}
.site-header-cart .cart-contents{color:var(--lg-dark)}
.site-header-cart .amount{color:var(--lg-teal-d);font-weight:700}
.site-header .site-search .widget,.site-header .site-search form{position:relative;margin:0}
.site-header .site-search input[type=search],.site-header .site-search input.search-field{border-radius:30px;border:1px solid var(--lg-line);background:var(--lg-light);padding:.55em 2.2em .55em 1.1em;font-size:13px;width:100%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23579aa2' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 11px center;background-size:15px}
.site-header .site-search button[type=submit]{position:absolute;right:0;top:0;width:36px;height:100%;opacity:0;cursor:pointer;padding:0;margin:0}
.main-navigation ul li a{color:var(--lg-dark);font-size:15px;text-transform:uppercase;font-weight:700;letter-spacing:.02em;padding:.55em .8em}
.main-navigation ul li a:hover,.main-navigation ul li.current-menu-item>a{color:var(--lg-teal-d)}

/* Single-row desktop header: logo left | nav | search + cart right */
@media(min-width:769px){
  .site-header .col-full{display:flex;align-items:center;gap:24px;flex-wrap:nowrap;max-width:1260px}
  .site-header .site-branding{order:1;margin:0!important;flex:0 0 auto!important;width:auto!important;max-width:260px!important}
  .site-header .main-navigation{order:2;margin:0!important;width:auto!important;max-width:none;flex:1 1 auto;background:transparent;clear:none;border:0;float:none!important}
  .main-navigation ul.menu,.main-navigation ul.nav-menu{display:flex!important;flex-wrap:nowrap;justify-content:center;align-items:center;margin:0;padding:0;width:auto!important}
  .main-navigation ul.menu>li,.main-navigation ul.nav-menu>li{float:none;margin:0;border:0;position:relative}
  .main-navigation ul.menu>li>a{padding:.5em .6em;font-size:14px;white-space:nowrap;position:relative}
  .main-navigation ul.menu>li>a::after{content:'';position:absolute;left:.6em;right:.6em;bottom:-2px;height:2px;background:var(--lg-teal);transform:scaleX(0);transition:transform .25s;transform-origin:left}
  .main-navigation ul.menu>li:hover>a::after,.main-navigation ul.menu>li.current-menu-item>a::after{transform:scaleX(1)}
  .site-header .site-search{order:3;width:220px!important;margin:0;flex:0 0 auto}
  .site-search .widget,.site-search .widget_product_search{margin:0;width:100%}
  .site-search form,.site-search input[type=search]{width:100%}
  .site-header .site-header-cart{order:4;margin:0!important;flex:0 0 auto;width:auto!important;position:static}
  .site-header-cart .cart-contents{padding:.4em .2em;white-space:nowrap}
}

/* ---------- Buttons ---------- */
.button,button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.lg-btn{
  background:var(--lg-teal)!important;color:#fff!important;border-radius:30px!important;
  font-family:'Roboto Condensed',sans-serif;font-weight:700;text-transform:uppercase;letter-spacing:.04em;
  padding:.7em 1.8em!important;border:0;transition:all .2s;box-shadow:0 6px 18px rgba(126,190,197,.35)
}
.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.lg-btn:hover{
  background:var(--lg-teal-d)!important;transform:translateY(-2px);box-shadow:0 10px 24px rgba(87,154,162,.4)
}
.lg-btn.ghost{background:transparent!important;color:#fff!important;border:2px solid #fff;box-shadow:none}
.lg-btn.ghost:hover{background:#fff!important;color:var(--lg-dark)!important}

/* ---------- HERO ---------- */
.lg-hero{position:relative;min-height:78vh;display:flex;align-items:center;justify-content:center;text-align:center;
  background-size:cover;background-position:center;color:#fff;overflow:hidden}
.lg-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,30,33,.35),rgba(20,30,33,.62))}
.lg-hero-inner{position:relative;z-index:2;max-width:820px;padding:40px 22px}
.lg-hero .eyebrow{color:var(--lg-teal);font-family:'Roboto Condensed';font-weight:700;letter-spacing:.32em;text-transform:uppercase;font-size:15px;margin-bottom:14px}
.lg-hero h1{color:#fff;font-size:64px;line-height:1.02;margin:0 0 16px;text-shadow:0 2px 30px rgba(0,0,0,.3)}
.lg-hero p{font-size:20px;color:rgba(255,255,255,.92);margin:0 auto 30px;max-width:600px}
.lg-hero .lg-btn{margin:6px}

/* ---------- Sections ---------- */
.lg-sec{padding:78px 0}
.lg-wrap{max-width:1120px;margin:0 auto;padding:0 22px}
.lg-sec-head{text-align:center;max-width:680px;margin:0 auto 48px}
.lg-sec-head .eyebrow{color:var(--lg-teal-d);font-family:'Roboto Condensed';font-weight:700;letter-spacing:.28em;text-transform:uppercase;font-size:14px;display:block;margin-bottom:10px}
.lg-sec-head h2{font-size:40px;margin:0 0 14px}
.lg-sec-head p{font-size:17px;margin:0}
.lg-sec.alt{background:var(--lg-light)}

/* Intro / about */
.lg-intro{text-align:center;max-width:840px;margin:0 auto}
.lg-intro p{font-size:19px;line-height:1.8}
.lg-intro strong{color:var(--lg-dark)}
.lg-stats{display:flex;justify-content:center;gap:56px;flex-wrap:wrap;margin-top:44px}
.lg-stat{text-align:center}
.lg-stat b{display:block;font-family:'Roboto Condensed';font-size:48px;color:var(--lg-teal-d);line-height:1}
.lg-stat span{font-size:14px;text-transform:uppercase;letter-spacing:.12em;color:var(--lg-text)}

/* Categories grid */
.lg-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.lg-cat{position:relative;border-radius:16px;overflow:hidden;aspect-ratio:3/4;display:block;box-shadow:0 12px 30px rgba(0,0,0,.08)}
.lg-cat img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.lg-cat:hover img{transform:scale(1.08)}
.lg-cat::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 35%,rgba(0,0,0,.72))}
.lg-cat span{position:absolute;left:0;right:0;bottom:20px;z-index:2;color:#fff;text-align:center;
  font-family:'Roboto Condensed';font-weight:700;font-size:19px;text-transform:uppercase;letter-spacing:.03em;padding:0 10px}
.lg-cat .cnt{display:block;font-size:12px;font-weight:400;letter-spacing:.1em;opacity:.85;text-transform:none}

/* Products grid (home) */
.lg-prods{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.lg-prod{background:#fff;border:1px solid var(--lg-line);border-radius:14px;overflow:hidden;transition:all .25s;text-align:center}
.lg-prod:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(0,0,0,.1);border-color:var(--lg-teal)}
.lg-prod a{display:block;color:inherit;text-decoration:none}
.lg-prod .thumb{aspect-ratio:1;background:#fff;display:flex;align-items:center;justify-content:center;padding:12px}
.lg-prod .thumb img{max-width:100%;max-height:100%;object-fit:contain}
.lg-prod h3{font-size:16px;margin:0;padding:0 14px 20px;color:var(--lg-dark);min-height:2.4em}

/* Highlights (UMANA / PLASMA) */
.lg-highlights{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.lg-hl{border-radius:18px;padding:44px;color:#fff;position:relative;overflow:hidden;min-height:240px;display:flex;flex-direction:column;justify-content:flex-end}
.lg-hl.umana{background:linear-gradient(135deg,#7EBEC5,#579aa2)}
.lg-hl.plasma{background:linear-gradient(135deg,#3a4a52,#20292e)}
.lg-hl .eyebrow{color:rgba(255,255,255,.75);font-family:'Roboto Condensed';letter-spacing:.24em;text-transform:uppercase;font-size:13px;font-weight:700}
.lg-hl h3{color:#fff;font-size:30px;margin:6px 0 10px}
.lg-hl p{color:rgba(255,255,255,.92);margin:0 0 16px;font-size:16px}
.lg-hl a{color:#fff;font-family:'Roboto Condensed';font-weight:700;text-transform:uppercase;letter-spacing:.06em;font-size:14px;border-bottom:2px solid rgba(255,255,255,.5);padding-bottom:2px}

/* Newsletter */
.lg-news{background:var(--lg-blue);color:#fff;padding:66px 0;text-align:center}
.lg-news h2{color:#fff;font-size:34px;margin:0 0 8px}
.lg-news p{color:rgba(255,255,255,.92);margin:0 0 24px;font-size:17px}
.lg-news form{max-width:520px;margin:0 auto;display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.lg-news input[type=email]{flex:1;min-width:240px;border:0;border-radius:30px;padding:14px 22px;font-size:16px}

/* ---------- Footer ---------- */
.site-footer{background:var(--lg-dark);color:#c3ccce;padding-top:56px;font-size:15px}
.site-footer a,.lg-foot a,.lg-foot li a,.lg-foot ul.menu li a,.lg-foot .addr a{color:#dfe6e7!important}
.site-footer a:hover,.lg-foot a:hover,.lg-foot ul.menu li a:hover,.lg-foot .addr a:hover{color:var(--lg-teal)!important}
.lg-foot ul.menu{background:transparent}
.lg-foot ul.menu li a{padding:0;text-transform:none;font-weight:400;font-size:15px}
.lg-foot p,.lg-foot .addr{color:#c3ccce}
.lg-foot li{list-style:none}
.lg-foot{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;max-width:1120px;margin:0 auto;padding:0 22px 44px}
.lg-foot h4{color:#fff;font-size:17px;text-transform:uppercase;letter-spacing:.08em;margin:0 0 16px}
.lg-foot img.flogo{max-width:170px;margin-bottom:16px;filter:brightness(0) invert(1);opacity:.9}
.lg-foot ul{list-style:none;margin:0;padding:0}
.lg-foot li{margin-bottom:9px}
.lg-foot .addr b{color:#fff;display:block;margin-bottom:6px;font-family:'Roboto Condensed';letter-spacing:.04em}
.site-footer .lg-copy{border-top:1px solid rgba(255,255,255,.1);text-align:center;padding:20px;font-size:13px;color:#8a9598}
.storefront-handheld-footer-bar{display:none}

/* Storefront overrides — full-width homepage */
.home #content .col-full{max-width:100%;padding:0}
.home .site-content{padding:0!important}
.home .content-area,.home #primary,.home #main{width:100%;margin:0;padding:0;float:none;max-width:100%}
.home .site-content .col-full{margin:0}
.woocommerce .products ul,.woocommerce ul.products{gap:6px}
.page-template-default .entry-title,.woocommerce .page-title{font-family:'Roboto Condensed'}

/* ---------- Responsive ---------- */
@media(max-width:900px){
  .lg-cats{grid-template-columns:repeat(2,1fr)}
  .lg-prods{grid-template-columns:repeat(2,1fr)}
  .lg-highlights{grid-template-columns:1fr}
  .lg-foot{grid-template-columns:1fr;gap:28px}
  .lg-hero h1{font-size:44px}
  .lg-sec-head h2{font-size:30px}
  .lg-sec{padding:54px 0}
}
@media(max-width:560px){
  .lg-cats,.lg-prods{grid-template-columns:1fr 1fr;gap:12px}
  .lg-hero h1{font-size:36px}
  .lg-stats{gap:30px}
}
@media(max-width:768px){
  .site-header .col-full{text-align:center}
  .custom-logo{margin:0 auto;max-height:44px}
  .site-search{margin:.6em 0}
}

/* Full-width WooCommerce pages */
.woocommerce-page.page-template-template-fullwidth-php #primary,
.woocommerce.page-template-template-fullwidth-php #primary{width:100%;margin:0;float:none}
.page-template-template-fullwidth-php #secondary{display:none}
.woocommerce .products ul li.product,.woocommerce ul.products li.product{border:1px solid var(--lg-line);border-radius:12px;padding:14px;transition:all .2s;text-align:center}
.woocommerce .products ul li.product:hover,.woocommerce ul.products li.product:hover{box-shadow:0 14px 34px rgba(0,0,0,.09);border-color:var(--lg-teal);transform:translateY(-3px)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:'Roboto Condensed';font-size:16px;color:var(--lg-dark)}
.woocommerce ul.products li.product a img{border-radius:8px}
.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{margin-bottom:1.5em}
.storefront-breadcrumb{background:var(--lg-light);border-radius:8px;padding:.7em 1em!important}
.page .entry-header .entry-title,.woocommerce .products~.page-title{font-family:'Roboto Condensed'}


/* ---------- Top utility bar ---------- */
.lg-topbar{background:var(--lg-dark);color:#fff;font-size:12.5px;line-height:1}
.lg-topbar .col-full{display:flex;align-items:center;justify-content:space-between;gap:16px;max-width:1260px;padding-top:8px;padding-bottom:8px}
.lg-topbar a{color:#fff;text-decoration:none;display:inline-flex;align-items:center;gap:6px;margin-right:22px}
.lg-topbar a:last-child{margin-right:0}
.lg-topbar a:hover{color:var(--lg-teal)}
.lg-topbar svg{opacity:.85;flex:0 0 auto}
.lg-tb-left{display:flex;align-items:center;flex-wrap:wrap}
.lg-tb-right{display:inline-flex;align-items:center;gap:7px;opacity:.82;letter-spacing:.01em;white-space:nowrap}
@media(max-width:980px){.lg-tb-right{display:none}}
@media(max-width:768px){.lg-topbar .col-full{justify-content:center;padding-top:7px;padding-bottom:7px}.lg-tb-left{justify-content:center;font-size:12px}.lg-topbar a{margin-right:16px}}

/* clearfix pseudos become flex items → hide */
.lg-topbar .col-full::before,.lg-topbar .col-full::after,.site-header .col-full::before,.site-header .col-full::after{display:none!important}

/* Fix: hide Storefront's default search icon (κρατάμε το δικό μας SVG) + cart basket icon spacing */
.site-header .woocommerce-product-search::before,.site-header .site-search form::before{content:none!important;display:none!important}
.site-header-cart .cart-contents{display:inline-flex!important;align-items:center;gap:9px;line-height:1}
.site-header-cart .cart-contents .amount,.site-header-cart .cart-contents .count{line-height:1;display:inline-flex;align-items:center}
.site-header-cart .cart-contents::after{margin:0!important;line-height:1!important;align-self:center;font-size:18px}

/* inner pages: small gap under header (home hero stays flush) */
.site-content{padding-top:0}
body:not(.home) .site-content>.col-full{padding-top:28px}

/* Storefront body/.site overflow-x:hidden ΣΠΑΕΙ το sticky header → clip (no scroll container) */
body,.site{overflow-x:clip!important}
