/*
Theme Name: Gemi
Description: Gemi’s gift shop design with a seasonal homepage and WooCommerce catalogue.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: gemi
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{color-scheme:light;--ink:#243326;--green:#1b4129;--paper:#fdf9f0;--line:#dce4d5;--sage:#e2ebdb;--serif:Georgia,"Times New Roman",serif;--sans:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 var(--sans)}
a{color:inherit}
button{font:inherit;color:inherit;cursor:pointer}
button,a{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:2px solid #477651;outline-offset:4px}
img{max-width:100%;display:block}
[hidden]{display:none!important}
.shell{width:min(100% - 96px,1320px);margin-inline:auto}
.skip{position:fixed;left:12px;top:12px;transform:translateY(-180%);z-index:3;background:white;padding:8px}
.skip:focus{transform:none}
.topline{text-align:center;background:#e6eddf;padding:8px 12px;color:var(--green);font-size:.84rem;letter-spacing:.06em;font-weight:600}
.header{min-height:83px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px}
.brand{display:block;width:max-content}
.header nav{display:flex;gap:clamp(16px,3.5vw,52px)}
.header nav a{text-decoration:none;font-size:.92rem;font-weight:650;white-space:nowrap}
.header nav a:hover,.header nav a:focus-visible{text-decoration:underline;text-underline-offset:5px}
.bag{justify-self:end;border:1px solid var(--line);background:transparent;border-radius:50px;display:inline-flex;gap:9px;align-items:center;padding:7px 9px 7px 15px;font-size:.88rem;font-weight:700}
.bag:hover{border-color:var(--green)}
.hero{display:grid;grid-template-columns:1fr 1fr;background:var(--green);color:#fff8f3;min-height:clamp(425px,41vw,600px);overflow:hidden;border-radius:5px}
.hero-copy{align-self:center;padding:clamp(32px,6vw,92px)}
.eyebrow{margin:0 0 13px;font-weight:750;font-size:.78rem;letter-spacing:.15em}
.hero .eyebrow{color:#edd78d}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:var(--serif);font-weight:400;line-height:1.05}
h1{font-size:clamp(3.5rem,7.3vw,7rem);letter-spacing:-.072em;margin-bottom:21px}
h1 em{color:#f2d58b;font-weight:400}
.hero-copy>p:not(.eyebrow){max-width:33ch;margin-bottom:26px}
.gemi-button{border:1px solid transparent;border-radius:4px;display:inline-flex;align-items:center;justify-content:center;background:var(--green);color:white;text-decoration:none;min-height:45px;padding:10px 18px;font-weight:700;font-size:.88rem}
.gemi-button:hover{background:#2d5c3e}
.button-light{background:#f6e0a0;color:var(--green)}
.button-light:hover{background:white}
.hero-photo{position:relative;isolation:isolate;min-width:0;background:#d99c9b}
.hero-photo img{position:absolute;width:100%;height:100%;object-fit:cover}
.shop{padding-block:clamp(50px,7vw,102px) 66px}
.shop-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:24px}
.shop-head>p{margin-bottom:5px;color:#495d49}
h2{font-size:clamp(2.35rem,4.8vw,4.6rem);letter-spacing:-.058em;margin-bottom:0}
.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 17px}
.gemi-product-card{display:flex;min-width:0;flex-direction:column}
.gemi-product-card img{width:100%;height:auto;aspect-ratio:1.07;object-fit:cover;border-radius:4px;background:#f2dedc}
.product-copy{padding:12px 0 9px;flex:1}
.gemi-product-card h3{font-size:clamp(1.25rem,2.05vw,1.83rem);letter-spacing:-.035em;margin:0 0 6px}
.product-bottom{display:flex;justify-content:space-between;align-items:center;gap:7px}
.add{border:1px solid var(--line);background:transparent;border-radius:4px;padding:6px 10px;font-size:.86rem;min-height:37px;font-weight:650}
.add:hover{border-color:var(--green);background:#eaf0e3}
.occasions{background:#e6eddf;padding:clamp(24px,5vw,66px);display:grid;grid-template-columns:1.15fr 1fr;gap:24px;border-radius:4px;align-items:center}
.occasions h2{font-size:clamp(2.2rem,4vw,3.65rem)}
.about{padding-block:65px 77px;text-align:center}
.about h2{font-size:clamp(2.1rem,4.25vw,3.7rem)}
.about>p:last-child{max-width:55ch;margin:16px auto 0;color:#495d49}
.footer{background:#edf1e6}
.footer-inner{display:flex;justify-content:space-between;gap:14px;align-items:center;min-height:78px}
.footer p{margin:0;font-size:.87rem}
@media(max-width:950px){.shell{width:calc(100% - 52px)}.hero-copy{padding:clamp(30px,5vw,65px)}.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.shell{width:calc(100% - 32px)}.header{grid-template-columns:1fr 1fr;gap:5px;padding:9px 0 13px}.header nav{grid-row:2;grid-column:1/-1;justify-content:center;gap:22px}.header nav a{padding-block:6px}.hero{grid-template-columns:1fr}.hero-copy{padding:35px 25px 38px}.hero-photo{min-height:290px;height:75vw;max-height:440px}.shop-head{align-items:start;flex-direction:column;gap:8px;margin-bottom:17px}.shop-head>p{margin-bottom:0}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.occasions{grid-template-columns:1fr}.about{padding-block:53px}.footer-inner{min-height:69px}}
@media(max-width:365px){.header nav{gap:14px}.products{gap:23px 10px}.add{padding-inline:6px}.footer p{font-size:.78rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.order-steps{list-style:none;padding:0;margin:0;display:grid;gap:9px}
.order-steps li{display:grid;gap:2px;padding:7px 0 10px;border-bottom:1px solid #c7adc8}
.order-steps li:last-child{border:0;padding-bottom:0}
.order-steps span{font-size:.92rem}
@media(min-width:1160px){.products{grid-template-columns:repeat(5,minmax(0,1fr))}}

.brand img{height:auto;mix-blend-mode:multiply}

.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px}
.hero-actions>a:not(.gemi-button){font-size:.9rem;font-weight:650;text-underline-offset:4px}
.collection-section{padding-top:clamp(42px,6vw,82px);scroll-margin-top:20px}
.collection-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px 20px;flex-wrap:wrap;margin-bottom:19px}
.collection-heading h2{font-size:clamp(2.3rem,4.4vw,4rem)}
.text-link{font-weight:650;text-underline-offset:4px}
.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.recipient-card{display:grid;grid-template-rows:1fr auto;text-decoration:none;border-radius:5px;overflow:hidden;background:#edf1e6;border:1px solid var(--line)}
.recipient-card img{width:100%;height:auto;aspect-ratio:1.55;object-fit:cover;object-position:center}
.recipient-card span{padding:12px 16px;font:1.5rem/1.15 var(--serif)}
.recipient-card:hover span,.season-card:hover span{text-decoration:underline;text-underline-offset:4px}
.season-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.season-card{display:grid;align-content:center;gap:3px;padding:15px;min-height:94px;border-radius:5px;background:#e8eee1;text-decoration:none}
.season-card:nth-child(2){background:#f5e3e5}
.season-card:nth-child(3){background:#f6ebcc}
.season-card:nth-child(4){background:#ede8f4}
.season-card span{font:1.3rem/1.15 var(--serif)}
.season-card small{font-size:.83rem}
.shop{scroll-margin-top:20px;padding-top:clamp(46px,6vw,84px)}
.catalogue-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px 20px;margin-bottom:22px}
.collection-picker{display:grid;gap:4px}
.collection-picker label{font-size:.88rem;font-weight:650}
.collection-picker select{font:inherit;font-size:.9rem;color:inherit;background:var(--paper);border:1px solid #829780;border-radius:4px;padding:8px;min-height:40px}
@media(max-width:680px){
  .collection-grid{gap:8px}
  .recipient-card img{aspect-ratio:1}
  .recipient-card span{padding:9px 6px;text-align:center;font-size:clamp(1rem,4vw,1.25rem)}
  .season-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .header nav{gap:clamp(8px,3vw,22px)}
  .header nav a{font-size:clamp(.75rem,3.4vw,.92rem)}
}
.search-picker input{width:min(100%,245px);font:inherit;font-size:.9rem;color:inherit;background:var(--paper);border:1px solid #829780;border-radius:4px;padding:8px;min-height:40px}
.empty-results{background:#edf1e6;border-radius:5px;padding:20px}
.empty-results p{margin:0 0 10px}

/* Store integration */
.eyebrow { text-transform: uppercase; }
.bag, .add { text-decoration: none; }
.custom-logo-link img { width: auto; max-width: 151px; height: auto; max-height: 65px; }
.skip { z-index: 10000; }
.catalogue-controls .gemi-button { min-height: 40px; padding-block: 7px; }
.gemi-product-card h3 a { text-decoration: none; }
.gemi-product-card h3 a:hover { text-decoration: underline; }
.gemi-product-card .product-image img { width: 100%; object-fit: cover; }
.gemi-product-card .product-bottom { flex-wrap: wrap; }
.gemi-pagination { display: flex; gap: 1.25rem; margin-top: 1.5rem; }
.empty-results > p:last-child { margin-bottom: 0; }
.gemi-content { min-height: 55vh; padding-block: clamp(28px, 5vw, 76px); }
.gemi-content h1 { font-size: clamp(2.3rem, 5vw, 4rem); letter-spacing: -.045em; }
.gemi-content h2 { font-size: clamp(1.6rem, 3vw, 2.6rem); margin-bottom: .65em; }
.gemi-content article + article { margin-top: 1.5rem; }
.gemi-content .woocommerce button.button.alt,
.woocommerce .gemi-content button.button.alt { background: var(--green); color: white; }
.gemi-content .wc-block-components-button:not(.is-link) { background: var(--green); color: white; }
.gemi-content .wc-block-components-button:not(.is-link):disabled { opacity: .55; }
@media (max-width: 680px) {
  .bag { grid-column: 2; grid-row: 1; }
  .custom-logo-link img, .header .brand img { max-width: min(151px, 42vw); }
}
