/*
Theme Name: Egypt Garlic
Description: Independent, responsive WooCommerce catalogue theme. Companion: Egypt Garlic Core.
Version: 1.0.0
Requires at least: 6.9
Requires PHP: 8.2
Author: Egypt Garlic
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: egypt-garlic
Update URI: false
*/
:root{--egc-ink:#183b2c;--egc-green:#315b3d;--egc-accent:#cdddac;--egc-bg:#fbfcf8;--egc-soft:#f0f3e9;--egc-line:#dde4d7;--egc-muted:#6a766b;--egc-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--egc-bg);color:var(--egc-ink);font-family:var(--egc-font);font-size:16px;line-height:1.65}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}a:hover{color:var(--egc-green)}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.6}h1,h2,h3,h4,p,figure{margin-top:0}h1,h2,h3,h4{line-height:1.15}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #819f5d;outline-offset:4px}[hidden]{display:none!important}::selection{background:var(--egc-accent);color:var(--egc-ink)}.egc-container{max-width:1344px;margin-inline:auto;padding-inline:48px}.screen-reader-text,.egc-skip-link:not(:focus){clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;overflow:hidden;position:absolute!important;white-space:nowrap}.egc-skip-link:focus{position:fixed;inset-block-start:12px;inset-inline-start:12px;z-index:99999;background:#fff;padding:12px 24px}.egc-icon{display:inline-block;flex:none;vertical-align:middle}.egc-topbar{background:var(--egc-ink);color:#e9f0de;font-size:12px;letter-spacing:.045em}.egc-topbar>.egc-container{display:flex;justify-content:space-between;align-items:center;min-height:35px}.egc-topbar a{display:flex;align-items:center;gap:10px;color:inherit}.egc-site-header{background:rgba(251,252,248,.97);border-bottom:1px solid var(--egc-line);position:sticky;top:0;z-index:40}.admin-bar .egc-site-header{top:32px}.egc-header-inner{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:32px}.egc-brand{display:flex;align-items:center;gap:12px;flex-shrink:0;color:var(--egc-ink)}.egc-brand-mark{color:var(--egc-green)}.egc-brand-copy{display:flex;flex-direction:column;line-height:1.15}.egc-brand-copy strong{font-family:Georgia,"Times New Roman",serif;font-size:25px;letter-spacing:-.7px;font-weight:600}.egc-brand-copy small{font-size:9px;text-transform:uppercase;letter-spacing:2.7px;margin-top:9px}.egc-custom-logo{max-width:210px;max-height:70px;width:auto;height:auto;object-fit:contain}.egc-menu{list-style:none;display:flex;align-items:center;gap:32px;margin:0;padding:0;font-size:13px;font-weight:550}.egc-menu a{display:inline-block;padding:12px 0;position:relative}.egc-menu a[aria-current=page]::after,.egc-menu .current-menu-item>a::after{content:"";height:2px;position:absolute;bottom:4px;left:0;width:22px;background:var(--egc-green)}.egc-menu li{position:relative}.egc-menu .sub-menu{position:absolute;top:100%;inset-inline-start:0;background:#fff;min-width:190px;border:1px solid var(--egc-line);box-shadow:0 12px 20px #183b2c0d;list-style:none;padding:10px 18px;display:none}.egc-menu li:hover>.sub-menu,.egc-menu li:focus-within>.sub-menu{display:block}.egc-header-search{display:flex;width:230px;position:relative;align-items:center;border:1px solid var(--egc-line);border-radius:30px;background:#fff}.egc-header-search input{border:0;background:transparent;outline:0;min-width:0;width:100%;padding:12px 20px;font-size:12px;color:var(--egc-ink)}.egc-header-search button{border:0;background:transparent;padding:11px 15px;display:flex;align-items:center;color:var(--egc-ink)}.egc-menu-toggle{display:none;border:1px solid var(--egc-line);border-radius:50%;width:42px;height:42px;background:#fff;padding:12px}.egc-menu-toggle>span:not(.screen-reader-text){display:block;height:1.5px;width:17px;background:var(--egc-ink);margin:5px 0}.egc-site-footer{padding-top:56px}.egc-footer-main{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-bottom:42px}.egc-footer-main>p{font-size:13px;color:var(--egc-muted);margin:0}.egc-footer-top{font-size:12px}.egc-footer-menu{list-style:none;display:flex;gap:20px;font-size:12px;padding:0}.egc-footer-bottom{border-top:1px solid var(--egc-line);padding:22px 0;display:flex;justify-content:space-between;gap:16px;font-size:10px;color:var(--egc-muted);letter-spacing:.03em}.egc-page{padding-block:65px 90px;min-height:50vh}.egc-page-heading{margin-bottom:40px}.egc-page-heading h1{font-family:Georgia,"Times New Roman",serif;font-size:48px;letter-spacing:-1.5px;font-weight:400}.egc-entry-content{max-width:1050px;margin-inline:auto}.egc-entry-content a{text-decoration:underline;text-underline-offset:4px}.egc-entry-content p{margin-bottom:1.5em}.egc-entry-content ul{padding-inline-start:24px}.egc-entry-content table{width:100%;border-collapse:collapse}.egc-entry-content td,.egc-entry-content th{padding:10px;border:1px solid var(--egc-line)}.egc-featured-image{display:block;width:100%;max-height:600px;object-fit:cover;margin-bottom:36px;border-radius:12px}.egc-not-found{text-align:center;padding-block:100px}.egc-not-found h1{font-family:Georgia,serif;font-size:50px;font-weight:400}.egc-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.egc-post-card{border:1px solid var(--egc-line);border-radius:14px;overflow:hidden;background:#fff}.egc-post-card img{width:100%;aspect-ratio:4/3;object-fit:cover}.egc-post-card>div{padding:24px}.egc-post-card h2{font-family:Georgia,serif;font-size:26px}.egc-post-card time{font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--egc-muted)}.egc-post-card p{font-size:14px}.egc-search-form{display:flex;gap:10px;max-width:500px}.egc-search-form input{width:100%;min-width:0;padding:12px;border:1px solid var(--egc-line)}.egc-search-form button{border:0;padding:12px 20px;background:var(--egc-ink);color:#fff}.egc-fallback{padding:100px 20px;background:var(--egc-soft);margin-block:36px;text-align:center;border-radius:20px}.egc-fallback h1{font:64px/1.1 Georgia,serif}.egc-fallback-products{padding-block:30px}
/* WooCommerce keeps its current templates; only visual rules live here. */
.egc-shop{padding-block:48px 80px;min-height:60vh}.woocommerce .woocommerce-breadcrumb{font-size:12px;color:var(--egc-muted);margin-bottom:32px}.woocommerce .woocommerce-products-header__title{font:48px/1.1 Georgia,serif;letter-spacing:-1px;margin-bottom:28px}.woocommerce ul.products,.woocommerce-page ul.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px;clear:both;margin:32px 0;padding:0}.woocommerce ul.products::before,.woocommerce ul.products::after,.woocommerce-page ul.products::before,.woocommerce-page ul.products::after{display:none!important}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{float:none!important;width:auto!important;min-width:0;margin:0!important;padding:0 0 20px;background:#fff;border:1px solid var(--egc-line);border-radius:14px;overflow:hidden}.woocommerce ul.products li.product a img{width:100%;aspect-ratio:1.15;object-fit:contain;background:var(--egc-soft);margin-bottom:20px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:Georgia,serif;font-size:21px;padding:0 20px 10px}.woocommerce ul.products li.product .price{padding:0 20px;color:var(--egc-ink);font-size:15px}.woocommerce ul.products li.product .button{margin-inline:20px}.woocommerce span.onsale{border-radius:25px;background:var(--egc-ink);font-size:11px;min-height:0;min-width:0;line-height:1.5;padding:7px 12px;top:14px;left:14px}.woocommerce ul.products li.product .onsale{right:auto;left:14px;margin:0;top:14px}.woocommerce .woocommerce-result-count{font-size:13px;color:var(--egc-muted)}.woocommerce .woocommerce-ordering select{border:1px solid var(--egc-line);padding:9px 13px;background:#fff;color:var(--egc-ink);border-radius:5px;font-size:13px}.woocommerce div.product .product_title{font:46px/1.13 Georgia,serif;letter-spacing:-1.3px}.woocommerce div.product p.price,.woocommerce div.product span.price{font-size:24px;color:var(--egc-ink)}.woocommerce .woocommerce-product-details__short-description{font-size:15px;color:var(--egc-muted);line-height:1.8}.woocommerce div.product .woocommerce-product-gallery{border:1px solid var(--egc-line);border-radius:16px;overflow:hidden;background:#fff}.woocommerce div.product div.images img{object-fit:contain}.woocommerce div.product .product_meta{border-top:1px solid var(--egc-line);padding-top:24px;font-size:12px;color:var(--egc-muted);margin-top:26px}.woocommerce div.product .product_meta>span{display:block}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;border-bottom:1px solid var(--egc-line)}.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:transparent;border:0;border-radius:0;padding:0;margin:0 25px 0 0}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{border-bottom:2px solid var(--egc-green)}.woocommerce div.product .woocommerce-tabs ul.tabs li a{font-size:14px;padding:15px 0}.woocommerce div.product .woocommerce-tabs .panel{padding:20px 0}.woocommerce div.product .woocommerce-tabs .panel h2,.woocommerce .related>h2{font:32px Georgia,serif}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{border:0;background:var(--egc-ink);color:#fff;border-radius:6px;padding:13px 20px;font-size:13px;font-weight:500;line-height:1.4}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:var(--egc-green);color:#fff}.woocommerce .quantity input.qty{border:1px solid var(--egc-line);border-radius:5px;min-height:44px}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid var(--egc-line);border-radius:6px;background:#fff;padding:12px}.woocommerce table.shop_table{background:#fff;border-color:var(--egc-line);border-radius:8px;font-size:14px}.woocommerce .woocommerce-message,.woocommerce .woocommerce-info,.woocommerce .woocommerce-error{border-top-color:var(--egc-green);background:var(--egc-soft);color:var(--egc-ink)}.woocommerce .woocommerce-message::before,.woocommerce .woocommerce-info::before{color:var(--egc-green)}.woocommerce .woocommerce-MyAccount-navigation ul{padding:0;list-style:none;border:1px solid var(--egc-line);background:#fff;border-radius:8px}.woocommerce .woocommerce-MyAccount-navigation li a{display:block;padding:12px 20px;border-bottom:1px solid var(--egc-line);font-size:14px}.woocommerce .woocommerce-MyAccount-navigation li.is-active a{background:var(--egc-soft);font-weight:600}.woocommerce .woocommerce-pagination ul.page-numbers{border:0;display:flex;justify-content:center;gap:8px}.woocommerce nav.woocommerce-pagination ul li{border:1px solid var(--egc-line);border-radius:5px;overflow:hidden}.woocommerce nav.woocommerce-pagination ul li span,.woocommerce nav.woocommerce-pagination ul li a{padding:12px 16px}.egc-enquiry{margin-block:18px}
@media(min-width:901px){.woocommerce ul.products.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce ul.products.columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1050px){.egc-container{padding-inline:30px}.egc-header-inner{gap:22px}.egc-menu{gap:22px}.egc-header-search{width:190px}.egc-brand-copy strong{font-size:23px}}
@media(max-width:800px){.egc-container{padding-inline:22px}.egc-header-inner{min-height:86px;flex-wrap:wrap;padding-block:16px;gap:16px}.egc-brand{margin-inline-end:auto}.egc-custom-logo{max-height:55px;max-width:180px}.egc-menu-toggle:not([hidden]){display:block}.egc-header-search{width:185px}.egc-navigation{order:4;width:100%}.egc-menu{justify-content:center;padding:6px 0;gap:28px}.egc-menu-enhanced .egc-navigation{display:none}.egc-menu-enhanced .egc-navigation.is-open{display:block}.egc-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.woocommerce ul.products,.woocommerce-page ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.egc-footer-main{flex-wrap:wrap}.egc-footer-main>p{display:none}.egc-page-heading h1,.woocommerce .woocommerce-products-header__title{font-size:38px}.woocommerce div.product .product_title{font-size:36px}.egc-site-footer{padding-top:40px}}
@media(max-width:520px){.egc-topbar>.egc-container{font-size:10px;min-height:30px}.egc-header-inner{gap:12px;min-height:78px}.egc-brand-mark{width:34px;height:39px}.egc-brand-copy strong{font-size:22px}.egc-brand-copy small{font-size:8px;letter-spacing:2px;margin-top:6px}.egc-header-search{order:5;width:100%}.egc-menu-enhanced .egc-header-search{display:none}.egc-menu-enhanced .egc-header-search.is-open{display:flex}.egc-menu{gap:26px;font-size:13px}.egc-footer-bottom{flex-direction:column;gap:5px;font-size:10px}.egc-footer-main{padding-bottom:25px}.egc-page{padding-block:40px 60px}.egc-post-grid{grid-template-columns:1fr}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:18px;padding-inline:12px}.woocommerce ul.products li.product .price{padding-inline:12px;font-size:13px}.woocommerce ul.products,.woocommerce-page ul.products{gap:12px}.woocommerce .woocommerce-ordering{float:none;clear:both;margin-bottom:20px}.egc-shop{padding-top:28px}.egc-not-found h1{font-size:36px}}
@media(max-width:782px){.admin-bar .egc-site-header{top:46px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
