/*
Theme Name: Atelier Commerce
Theme URI: https://wordpress.org/
Author: OpenAI Codex
Description: A clean, responsive WooCommerce storefront with an editorial homepage and a future-ready journal.
Version: 2.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: atelier-commerce
License: GPL-2.0-or-later
*/

:root{--ink:#172a29;--muted:#5b6863;--cream:#f6f3ed;--sand:#eae3d8;--line:#deddd6;--white:#fff;--sage:#cfd7c9;--gold:#cbb895;--radius:2px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--white);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
a:hover{color:#667a6b}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
.container{width:min(100% - 48px,1320px);margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.screen-reader-text:focus{position:fixed!important;top:12px;left:12px;z-index:9999;width:auto;height:auto;margin:0;padding:12px 18px;clip:auto;background:#fff;color:#000}
:focus-visible{outline:2px solid #9d805d;outline-offset:3px}
.site-header{background:rgba(255,255,255,.98);border-bottom:1px solid #efeee9;position:relative;z-index:10}
.header-inner{min-height:78px;display:flex;align-items:center;gap:34px}
.site-branding{flex:1;min-width:0}
.brand-text{font-family:Georgia,'Times New Roman',serif;font-size:1.45rem;letter-spacing:.09em;text-transform:uppercase;line-height:1.2;font-weight:normal;white-space:nowrap}
.custom-logo{display:block;max-width:190px;max-height:58px;width:auto;height:auto}
.primary-navigation{margin-left:auto}
.site-menu{list-style:none;display:flex;align-items:center;gap:32px;margin:0;padding:0}
.site-menu a{display:block;padding:14px 0;font-size:.77rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase}
.header-actions{display:flex;align-items:center;min-width:32px;justify-content:flex-end}
.cart-link{display:inline-flex;align-items:center;gap:4px;font-size:.7rem;font-weight:700}
.cart-count{min-width:16px;text-align:center}
.menu-toggle{display:none;border:0;background:transparent;padding:8px}
.menu-toggle span{display:block;width:23px;height:1px;background:var(--ink);margin:5px 0}
.hero{background:var(--cream);overflow:hidden}
.hero-grid{min-height:625px;display:grid;grid-template-columns:48% 52%;align-items:stretch}
.hero-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:74px 9% 74px 0;position:relative;z-index:1}
.eyebrow{text-transform:uppercase;font-size:.69rem;font-weight:700;letter-spacing:.23em;color:#67786d;margin:0 0 18px}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:normal;line-height:1.08}
.hero h1{font-size:clamp(3.2rem,6.2vw,6.1rem);letter-spacing:-.065em;max-width:650px;margin:0 0 25px}
.hero-intro{color:#5e6a62;font-size:1.03rem;max-width:370px;margin:0 0 34px}
.button{display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:52px;padding:14px 25px;border:1px solid transparent;font-size:.73rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;transition:background .2s,color .2s,transform .2s}
.button:hover{transform:translateY(-2px)}
.button-dark{background:var(--ink);color:#fff}
.button-dark:hover{background:#334a43;color:#fff}
.hero-visual{position:relative;min-height:590px;margin-right:calc((1320px - 100vw)/2);background:linear-gradient(145deg,#dcd9cf,#c5cabc 56%,#e8dfd1);background-size:cover;background-position:center;overflow:hidden}
.hero-visual:after{content:'';position:absolute;inset:auto 0 0 0;height:22%;background:linear-gradient(transparent,rgba(40,56,48,.12))}
.visual-card{position:absolute;box-shadow:20px 25px 35px rgba(60,55,43,.12)}
.visual-card-one{width:31%;height:72%;left:21%;bottom:-9%;transform:rotate(-17deg);border-radius:46% 46% 8px 8px;background:linear-gradient(115deg,#716f62,#b0a28b 42%,#6a665b 82%)}
.visual-card-two{width:35%;height:65%;right:18%;top:8%;transform:rotate(14deg);border-radius:7px 7px 45% 45%;background:linear-gradient(125deg,#f3ebdb,#d8cbb4 46%,#a39077)}
.visual-orbit{position:absolute;width:76%;aspect-ratio:1;left:13%;top:2%;border:1px solid rgba(255,255,255,.58);border-radius:50%;transform:rotate(-18deg)}
.visual-label{position:absolute;right:30px;bottom:30px;z-index:1;color:#fff;font-family:Georgia,serif;font-size:1.3rem;font-style:italic}
.section-pad{padding:104px 0}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:37px}
.section-heading h2{font-size:clamp(2.1rem,3.7vw,3.75rem);letter-spacing:-.04em;margin:0}
.text-link{display:inline-flex;gap:13px;align-items:center;padding-bottom:6px;border-bottom:1px solid currentColor;text-transform:uppercase;letter-spacing:.13em;font-size:.72rem;font-weight:700;white-space:nowrap}
.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.category-card{min-height:350px;display:flex;align-items:flex-end;position:relative;overflow:hidden;padding:23px;background:#e7e3dc;isolation:isolate;transition:transform .25s}
.category-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.category-card.has-category-image:before,.category-card.has-category-image:after{display:none}
.category-card:hover{transform:translateY(-4px);color:var(--ink)}
.category-card:before,.category-card:after,.category-mark{content:'';position:absolute;display:block}
.category-card:before{width:68%;height:78%;top:4%;left:16%;border:1px solid rgba(255,255,255,.48);border-radius:50%}
.category-card:after{width:45%;height:48%;bottom:15%;left:29%;border-radius:45% 45% 8% 8%;background:rgba(48,62,57,.22);transform:rotate(-10deg);box-shadow:12px 12px 20px rgba(42,51,43,.1)}
.category-mark{width:70%;height:80%;top:18%;left:9%;border-radius:45% 45% 10% 10%;background:rgba(255,255,255,.28);transform:rotate(19deg)}
.category-shoes{background:#d7dfd9}.category-shoes:after{width:69%;height:20%;bottom:28%;left:18%;border-radius:60% 20% 12% 15%;transform:rotate(-16deg)}
.category-bags{background:#e9ded4}.category-bags:after{height:42%;border-radius:15% 15% 25% 25%;transform:rotate(3deg)}
.category-watches{background:#d7d6cf}.category-watches:after{width:22%;height:80%;left:39%;bottom:7%;border-radius:16px;transform:rotate(-21deg)}
.category-label{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:center;width:100%;background:rgba(255,255,255,.91);padding:16px 18px;font-family:Georgia,serif;font-size:1.3rem}
.category-label span{font-family:Arial,sans-serif;font-size:1rem}
.products-section{background:#faf9f6}
.setup-note{border:1px dashed #b4b9ae;padding:20px;color:var(--muted);background:#fff}
.editorial-section{background:#e8ede6}
.editorial-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;min-height:510px;gap:8%}
.editorial-art{height:400px;background:radial-gradient(circle at 45% 40%,#dfe2d6 0,#b9c7b9 54%,#839587 100%);position:relative;overflow:hidden}
.editorial-art:before{content:'';position:absolute;left:15%;top:18%;width:50%;height:85%;border-radius:48% 48% 0 0;background:linear-gradient(130deg,#3e5c50,#a6b5a8 55%,#345444);transform:rotate(-13deg)}
.editorial-art:after{content:'';position:absolute;right:15%;top:4%;width:35%;height:80%;border:1px solid rgba(255,255,255,.7);border-radius:50%;transform:rotate(18deg)}
.editorial-art span{position:absolute;z-index:1;bottom:28px;left:28px;color:#fff;font-size:.7rem;letter-spacing:.22em;line-height:1.5}
.editorial-copy{max-width:430px;padding:60px 0}
.editorial-copy h2{font-size:clamp(2.2rem,3.5vw,3.75rem);letter-spacing:-.05em;margin-bottom:23px}
.editorial-copy>p:not(.eyebrow){color:#52635a;margin-bottom:25px}
.journal-grid,.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.journal-card img,.post-card img{display:block;width:100%;aspect-ratio:1.32;object-fit:cover;background:var(--sand);margin-bottom:15px}
.post-date{color:#778078;text-transform:uppercase;letter-spacing:.13em;font-size:.68rem;font-weight:700}
.journal-card h3,.post-card h2{font-size:1.55rem;line-height:1.2;margin:12px 0}
.content-area{padding-top:85px;padding-bottom:105px;min-height:55vh}
.content-area.narrow{max-width:820px}
.page-heading{margin-bottom:45px}
.page-heading h1{font-size:clamp(2.8rem,5vw,5rem);letter-spacing:-.05em;margin:0}
.entry-content{font-size:1.04rem;line-height:1.8}
.entry-content a{text-decoration:underline;text-underline-offset:3px}
.entry-content h2{font-size:2rem;margin:42px 0 14px}
.entry-content h3{font-size:1.5rem;margin:32px 0 12px}
.post-card p{color:var(--muted)}
.single-featured{width:100%;max-height:520px;object-fit:cover;margin-bottom:38px}
.not-found{text-align:center}.not-found .button{margin-top:15px}
.site-footer{background:#1b302e;color:#e8ebe4;padding:76px 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:55px;padding-bottom:65px}
.footer-brand p{color:#b7c1b9;font-size:.88rem;margin-top:19px;max-width:270px}
.site-footer h2{font-family:Arial,sans-serif;font-size:.72rem;text-transform:uppercase;letter-spacing:.17em;font-weight:700;margin:0 0 20px}
.site-footer ul{list-style:none;margin:0;padding:0}.site-footer li{margin:8px 0}.site-footer li a{color:#c6cec6;font-size:.88rem}.site-footer a:hover{color:#fff}
.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding:21px 0;border-top:1px solid rgba(255,255,255,.2);font-size:.72rem;color:#b1c0b4}
.shop-area{min-height:55vh;padding-top:75px;padding-bottom:100px}
.woocommerce .woocommerce-breadcrumb{font-size:.75rem;color:var(--muted);margin-bottom:30px}
.woocommerce .page-title,.woocommerce div.product .product_title{font-family:Georgia,serif;font-size:clamp(2.3rem,4vw,4rem);font-weight:normal;letter-spacing:-.04em}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(4,1fr);gap:25px;margin:0;padding:0}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}
.woocommerce ul.products li.product{float:none;width:auto;margin:0;list-style:none}
.woocommerce ul.products li.product img{width:100%;aspect-ratio:4/5;object-fit:cover;background:#f2f0eb;margin-bottom:15px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:Georgia,serif;color:var(--ink);font-size:1.2rem;font-weight:normal;padding:0;margin:0 0 4px}
.woocommerce ul.products li.product .price{color:#52675d;font-size:.88rem}
.woocommerce span.onsale{background:var(--ink);border-radius:0;min-height:auto;min-width:auto;padding:5px 10px;line-height:1.5}
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt{background:var(--ink);color:#fff;border-radius:0;padding:14px 18px;font-size:.73rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover{background:#334a43;color:#fff}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--ink)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{border-radius:0}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce .quantity .qty{border:1px solid #c7cec6;padding:10px;background:#fff}
.woocommerce table.shop_table{border-radius:0}
.woocommerce-message,.woocommerce-info{border-top-color:#668072}
.woocommerce-message:before,.woocommerce-info:before{color:#668072}
.woocommerce nav.woocommerce-pagination ul{border:0}.woocommerce nav.woocommerce-pagination ul li{border:0}
@media(max-width:1000px){.hero-grid{grid-template-columns:50% 50%;min-height:550px}.hero-visual{margin-right:-24px}.category-grid{grid-template-columns:repeat(2,1fr)}.category-card{min-height:300px}.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}.site-menu{gap:17px}.site-menu a{font-size:.7rem}}
@media(max-width:700px){.container{width:min(100% - 32px,1320px)}.header-inner{min-height:66px;gap:14px}.brand-text{font-size:1.15rem}.menu-toggle{display:block;order:3}.header-actions{order:2}.primary-navigation{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:14px 16px 22px}.primary-navigation.is-open{display:block}.site-menu{display:block}.site-menu li{border-bottom:1px solid #eee}.site-menu a{padding:12px 8px}.hero-grid{display:flex;flex-direction:column;min-height:0}.hero-copy{padding:66px 0 57px}.hero h1{font-size:3.8rem;max-width:500px}.hero-visual{min-height:360px;margin:0 -16px}.section-pad{padding:66px 0}.section-heading{align-items:start;flex-direction:column;margin-bottom:27px}.section-heading h2{font-size:2.5rem}.category-grid{gap:12px}.category-card{min-height:240px;padding:12px}.category-label{font-size:1.05rem;padding:12px}.editorial-grid{display:flex;flex-direction:column;gap:0;padding-top:30px;padding-bottom:30px}.editorial-art{height:310px;width:100%}.editorial-copy{padding:48px 0 30px}.journal-grid,.post-grid{grid-template-columns:1fr;gap:38px}.footer-grid{grid-template-columns:1fr 1fr;gap:35px}.footer-brand{grid-column:1/-1}.footer-bottom{flex-direction:column;gap:5px}.woocommerce ul.products{gap:14px}.content-area{padding-top:60px;padding-bottom:70px}.shop-area{padding-top:50px;padding-bottom:70px}}
@media(max-width:430px){.hero h1{font-size:3.2rem}.category-card{min-height:190px}.category-label{font-size:.94rem}.woocommerce ul.products{grid-template-columns:repeat(2,1fr)}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:1rem}}
