/*
Theme Name: Aigean Craft
Author: Aigean Craft
Description: Irish craft shop in the original paper, forest green and muted gold palette. Requires WooCommerce for catalogue, cart and checkout.
Version: 1.2.6
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: aigean-craft
License: GPL-2.0-or-later
*/
:root{--paper:#f6f3ed;--ink:#252925;--muted:#62675f;--line:#d5d5cb;--gold:#876a35;--green:#293c33;--white:#fffdf9;color-scheme:light;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;font-size:1rem;line-height:1.65}img{max-width:100%;height:auto;display:block}a{color:inherit;text-underline-offset:5px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:4px}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.12;margin:0 0 1rem}h1{font-size:clamp(2.7rem,5.5vw,5.5rem);letter-spacing:-.04em}h2{font-size:clamp(2rem,3.5vw,3.5rem);letter-spacing:-.025em}h3{font-size:1.7rem}p{margin:0 0 1.2rem}.wrap{width:min(1280px,90%);margin-inline:auto}.skip{position:absolute;left:1rem;top:-200px;z-index:99;background:white;padding:1rem}.skip:focus{top:1rem}.announcement{text-align:center;background:var(--green);color:var(--paper);padding:.45rem 1rem;font-size:.8rem;letter-spacing:.15em;text-transform:uppercase}.site-header{display:flex;justify-content:space-between;align-items:center;gap:2rem;min-height:115px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;text-decoration:none;gap:1rem}.brand img{width:128px;max-height:98px;object-fit:contain}.wordmark{font:2.4rem Georgia,serif;letter-spacing:-.04em}.wordmark small{display:block;font: .75rem Arial,sans-serif;letter-spacing:.24em}.nav{display:flex;gap:1.8rem;align-items:center;flex-wrap:wrap}.nav a{text-decoration:none;font-size:.875rem}.nav a:hover{text-decoration:underline}.nav .bag{border:1px solid var(--line);padding:.55rem 1rem}.eyebrow{font-size:.875rem;letter-spacing:.15em;text-transform:uppercase;color:var(--gold);margin-bottom:1.1rem}.hero{display:grid;grid-template-columns:1fr 1.08fr;gap:4rem;align-items:center;padding:3rem 0 4rem}.hero h1 em{color:var(--gold);font-weight:400}.hero-copy>p:not(.eyebrow){max-width:28rem;color:var(--muted)}.hero-photo{margin:0;position:relative}.hero-photo img{width:100%;height:540px;object-fit:cover;object-position:center 38%}.hero-photo figcaption{display:flex;justify-content:space-between;font-size:.8rem;margin-top:.65rem;color:var(--muted)}.button,button,input[type=submit],.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--green);border:1px solid var(--green);border-radius:0;color:white;padding:.9rem 1.6rem;text-decoration:none;font:inherit;font-size:.875rem;cursor:pointer;display:inline-block;line-height:1.5}.button:hover,button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover{background:#3c5346;color:white}.button.alt,.woocommerce button.button.alt,.woocommerce a.button.alt{background:var(--green);color:white}.hero .button{margin-top:1rem}.text-link{display:inline-block;margin-left:1.3rem;font-size:.875rem}.section{padding:3.5rem 0;border-top:1px solid var(--line)}.section-head{display:flex;justify-content:space-between;align-items:end;gap:2rem;margin-bottom:2rem}.section-head h2{margin:0}.section-head p{max-width:24rem;color:var(--muted);margin:0}.collections{display:grid;grid-template-columns:1fr 1fr;gap:2rem}.collection-card{text-decoration:none}.collection-card img{width:100%;aspect-ratio:1.25;object-fit:cover;object-position:center 38%}.card-caption{display:flex;justify-content:space-between;align-items:center;margin-top:1rem;gap:1rem}.card-caption h3{margin:0}.card-caption span{font-size:.875rem}.products-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2rem}.product-card a{text-decoration:none}.product-card img{width:100%;aspect-ratio:4/5;object-fit:cover}.product-card h3{margin:.8rem 0 .4rem;font-size:1.5rem}.price-label{font-size:.9rem;color:var(--muted)}.story{background:var(--green);color:var(--paper);margin-top:2rem;padding:4rem 0}.story-inner{display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center}.story img{width:100%;max-height:430px;object-fit:cover}.story .eyebrow{color:#d2bd8c}.story p{max-width:34rem}.site-footer{padding:2.5rem 0;display:flex;justify-content:space-between;align-items:center;gap:2rem;flex-wrap:wrap;font-size:.875rem}.site-footer a{overflow-wrap:anywhere}.page-content,.shop-content{padding:3rem 0 5rem;min-height:50vh}.page-content h1,.woocommerce-products-header h1{font-size:clamp(2.5rem,4.5vw,4rem)}.page-content p{max-width:70ch}.page-content .woocommerce p{max-width:none}.woocommerce ul.products li.product h2.woocommerce-loop-product__title{font-size:1.5rem;padding:.6rem 0}.woocommerce ul.products li.product a img{aspect-ratio:4/5;object-fit:cover;margin-bottom:.5rem}.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--gold)}.woocommerce ul.products li.product .price{font-size:1rem}.woocommerce div.product .product_title{font-size:clamp(2.4rem,4vw,4rem)}.woocommerce div.product div.images img{object-fit:contain;max-height:750px;width:100%;background:#eeebe5}.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:0;background:transparent}.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.active{background:var(--paper)}.woocommerce .quantity .qty{width:5rem}.woocommerce span.onsale{background:var(--green)}.woocommerce-message,.woocommerce-info{border-top-color:var(--gold);background:var(--white);color:var(--ink)}.woocommerce-message:before,.woocommerce-info:before{color:var(--gold)}input,textarea,select{font:inherit;max-width:100%;padding:.65rem;border:1px solid var(--line);background:var(--white);color:var(--ink);border-radius:0}textarea{width:100%}.woocommerce table.shop_table{border-radius:0}.woocommerce form .form-row label{font-size:.875rem}.woocommerce div.product form.cart .variations label{font-size:.875rem}.woocommerce .woocommerce-breadcrumb{font-size:.875rem;margin-bottom:2rem}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--green);color:white}.shop-categories{display:flex;flex-wrap:wrap;gap:.75rem;margin:1rem 0 2rem}.shop-categories a{border:1px solid var(--line);padding:.4rem .8rem;text-decoration:none;font-size:.875rem}.shop-categories a:hover{background:var(--green);color:white}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.preview-note{background:#e8e1d3;padding:1rem;text-align:center;font-size:.875rem}.preview-note p{margin:0}.empty-state{padding:2rem;border:1px solid var(--line)}.entry-content>*{max-width:100%}.alignwide{width:100%}.woocommerce .related{clear:both}.woocommerce .related>h2{font-size:2.2rem}.woocommerce .woocommerce-ordering select{font-size:.875rem}.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:.5rem}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{background:var(--green)}
@media(max-width:850px){.hero{gap:2rem}.hero-photo img{height:470px}.nav{gap:1rem}.story-inner{gap:2rem}.text-link{margin:1rem 0 0;display:block}.brand img{width:105px}.brand .wordmark{display:none}}
@media(max-width:600px){.site-header{padding:1rem 0;gap:1rem;flex-direction:column}.nav{justify-content:center;gap:1rem}.hero{grid-template-columns:1fr;padding-top:2rem;gap:2rem}.hero-photo img{height:auto;aspect-ratio:4/5}.hero h1{font-size:3.3rem}.collections{gap:1rem}.card-caption{display:block}.card-caption h3{font-size:1.4rem}.card-caption span{display:block;margin-top:.4rem}.section{padding:2.5rem 0}.section-head{display:block}.section-head p{margin-top:1rem}.products-grid{grid-template-columns:1fr 1fr;gap:1rem}.story-inner{grid-template-columns:1fr}.site-footer{align-items:start;flex-direction:column;gap:1rem}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{width:48%}.woocommerce ul.products li.product h2.woocommerce-loop-product__title{font-size:1.25rem}.woocommerce ul.products li.product .button{padding:.6rem}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{float:none}.page-content,.shop-content{padding-top:2rem}.announcement{letter-spacing:.08em}.brand .wordmark{display:block}.brand img{width:80px}.brand .wordmark{font-size:2rem}}

/* Centred brand, consistent across screen sizes. */
.site-header{flex-direction:column;justify-content:center;gap:1rem;padding:1.4rem 0}.site-header .brand{justify-content:center;width:100%}.site-header .brand img{width:195px;max-height:132px;object-fit:contain}.site-header .nav{justify-content:center}.collections{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:700px){.collections{grid-template-columns:1fr}.site-header .brand img{width:160px}}

/* Desktop portrait photographs: show the complete frame. */
@media(min-width:701px){.collection-card img,.product-card img,.woocommerce ul.products li.product a img{aspect-ratio:2/3;object-fit:contain;background:var(--paper)}.hero-photo img{height:auto;aspect-ratio:2/3;object-fit:contain;background:var(--paper)}}

/* Mobile and tablet portrait photographs, without cropping. */
@media(max-width:700px){.collection-card img,.product-card img,.woocommerce ul.products li.product a img{aspect-ratio:2/3;object-fit:contain;background:var(--paper)}.hero-photo img{height:auto;aspect-ratio:2/3;object-fit:contain;background:var(--paper)}}

/* WordPress-managed navigation. Unenhanced submenus remain usable without JS. */
.site-header .nav{width:100%;position:relative;z-index:20}
.aigean-menu,.aigean-menu .sub-menu{list-style:none;margin:0;padding:0}
.aigean-menu{display:flex;justify-content:center;align-items:flex-start;flex-wrap:wrap;gap:.5rem 1.8rem;max-width:100%}
.aigean-menu li{position:relative;max-width:100%}
.aigean-menu a{display:inline-block;padding:.6rem .2rem;overflow-wrap:anywhere}
.aigean-menu .current-menu-item>a,.aigean-menu .current-menu-ancestor>a{text-decoration:underline;text-underline-offset:.4em}
.aigean-menu .sub-menu{padding:.4rem .8rem;border:1px solid var(--line);background:var(--paper);min-width:12rem;max-width:100%;text-align:left}
.aigean-menu .sub-menu .sub-menu{min-width:0;margin-left:.5rem;border-width:0 0 0 1px}
.aigean-menu .sub-menu li{width:100%}
.aigean-menu .submenu-toggle{background:transparent;color:var(--ink);border:0;padding:.55rem .65rem;min-width:44px;min-height:44px;vertical-align:middle}
.aigean-menu .submenu-toggle:hover{background:var(--white);color:var(--ink)}
.aigean-menu .sub-menu[hidden]{display:none!important}
@media(min-width:701px){.aigean-menu.menu-enhanced>li>.sub-menu{position:absolute;top:100%;left:50%;transform:translateX(-50%);width:14rem;max-width:80vw;box-shadow:0 6px 14px #25292515}}
@media(max-width:700px){.aigean-menu{gap:.2rem 1rem}.aigean-menu .sub-menu{position:static;min-width:0;width:100%;max-width:85vw}}

/* Product and category images: preserve the full portrait on every screen. */
.woocommerce ul.products li.product a img,.woocommerce-page ul.products li.product a img{width:100%;height:auto;aspect-ratio:2/3;object-fit:contain}
