/*
Theme Name: Atlantic DTF
Template: blocksy
Version: 0.5.5
Description: Atlantic DTF child theme — design system v1 (2026-09-12).
*/
:root{
  --atl-ink:#12232e; --atl-deep:#1b3a4b; --atl-accent:#c05621; --atl-accent-dark:#9a4419;
  --atl-sand:#e8e0d4; --atl-sand-light:#f4efe8; --atl-paper:#faf8f5; --atl-line:rgba(18,35,46,.1);
  --atl-radius:14px; --atl-shadow:0 1px 2px rgba(18,35,46,.06),0 8px 24px rgba(18,35,46,.08);
}
html{overflow-x:hidden}
body{overflow-x:hidden;font-family:'Archivo',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--atl-ink);background:var(--atl-paper)}
h1,h2,h3,h4,.site-title{font-family:'Archivo',sans-serif;font-weight:800;letter-spacing:-.02em;color:var(--atl-ink);line-height:1.1}
h1{font-size:clamp(2rem,4.5vw,3.4rem)} h2{font-size:clamp(1.6rem,3vw,2.4rem)} h3{font-size:1.25rem;font-weight:700}
p{line-height:1.6}
.wp-block-button__link,.button,.single_add_to_cart_button,button.wc-block-components-button{background:var(--atl-accent)!important;color:#fff!important;border-radius:10px!important;font-weight:700;padding:.85em 1.5em;border:0}
.wp-block-button__link:hover,.button:hover,.single_add_to_cart_button:hover{background:var(--atl-accent-dark)!important}
.is-style-outline .wp-block-button__link{background:transparent!important;color:#fff!important;border:2px solid rgba(255,255,255,.7)!important}
.is-style-outline .wp-block-button__link:hover{background:rgba(255,255,255,.12)!important}

/* announcement bar */
.atl-topbar{background:var(--atl-ink);color:#fff;font-size:.85rem;font-weight:600;text-align:center;padding:.55rem 1rem;letter-spacing:.01em}
.atl-topbar span{opacity:.6;margin:0 .75rem}
@media(max-width:640px){.atl-topbar{font-size:.78rem;padding:.45rem .75rem}.atl-topbar .atl-m-hide{display:none}}
.atl-topbar a{color:#fff;text-decoration:underline}

/* header */
header#header .site-title{font-weight:900;letter-spacing:-.03em;font-size:1.4rem;text-transform:uppercase}
header#header .site-title a{color:var(--atl-ink)}
/* colour the DTF half of the wordmark via JS-free trick: wrap in span is not possible in Blocksy; keep single colour */
header#header .site-title a{color:var(--atl-ink)}
header#header .menu > li > a{font-weight:600;font-size:.95rem}

/* hero */
.atl-hero{position:relative;min-height:560px;display:flex;align-items:center;color:#fff;overflow:hidden}
.atl-hero .wp-block-cover__background{background:linear-gradient(90deg,rgba(18,35,46,.92) 0%,rgba(18,35,46,.75) 45%,rgba(18,35,46,.25) 100%)!important;opacity:1!important}
.atl-hero .wp-block-cover__inner-container{max-width:1200px;padding:4rem 1.5rem}
.atl-hero h1{color:#fff;max-width:14ch}
.atl-hero p{color:rgba(255,255,255,.88);max-width:52ch;font-size:1.15rem}
.atl-hero .atl-eyebrow{display:inline-block;background:var(--atl-accent);color:#fff;font-weight:700;font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;padding:.35rem .7rem;border-radius:6px;margin-bottom:1rem}
.atl-hero-stats{display:flex;gap:2rem;flex-wrap:wrap;margin-top:2rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.2)}
.atl-hero-stats strong{display:block;font-size:1.6rem;font-weight:800;line-height:1}
.atl-hero-stats small{opacity:.8}

/* sections */
.atl-section{padding:4.5rem 0;max-width:none!important;width:auto;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
.atl-section.is-sand{background:var(--atl-sand-light)}
.atl-section.is-ink{background:var(--atl-ink);color:#fff}
.atl-section.is-ink h2,.atl-section.is-ink h3{color:#fff}
.atl-section > .wp-block-group__inner-container,.atl-section .alignwide{max-width:1200px;margin-left:auto;margin-right:auto;padding:0 1.5rem}
.atl-kicker{color:var(--atl-accent);font-weight:700;font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;margin:0 0 .5rem}
.atl-section h2{margin:0 0 .5rem}
.atl-lede{max-width:60ch;margin:0 0 2.5rem;opacity:.85;font-size:1.05rem}
.atl-center{text-align:center}.atl-center .atl-lede{margin-left:auto;margin-right:auto}

/* card grids */
.atl-cards{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}
.atl-cards.cols-4{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.atl-card{background:#fff;border:1px solid var(--atl-line);border-radius:var(--atl-radius);overflow:hidden;box-shadow:var(--atl-shadow);display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.atl-card:hover{transform:translateY(-3px);box-shadow:0 2px 4px rgba(18,35,46,.08),0 18px 40px rgba(18,35,46,.14)}
.atl-card figure,.atl-card .wp-block-image{margin:0;aspect-ratio:1;overflow:hidden;background:var(--atl-sand-light)}
.atl-card img{width:100%;height:100%;object-fit:cover;display:block}
.atl-card-body{padding:1.25rem 1.4rem 1.5rem;display:flex;flex-direction:column;gap:.5rem;flex:1}
.atl-card h3{margin:0}
.atl-card p{margin:0;opacity:.85;font-size:.95rem}
.atl-card .atl-link{margin-top:auto;padding-top:.5rem;color:var(--atl-accent);font-weight:700;text-decoration:none}
.atl-card .atl-link:hover{text-decoration:underline}
.atl-card .atl-price{font-weight:800;color:var(--atl-deep)}

/* feature (icon) cards */
.atl-features{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.atl-feature{background:#fff;border:1px solid var(--atl-line);border-radius:var(--atl-radius);padding:1.6rem;text-align:center;box-shadow:var(--atl-shadow)}
.atl-feature .atl-icon{width:52px;height:52px;border-radius:50%;background:var(--atl-sand-light);color:var(--atl-accent);display:inline-flex;align-items:center;justify-content:center;font-size:1.5rem;margin-bottom:.9rem}
.atl-feature h3{font-size:1.05rem;margin:0 0 .4rem}
.atl-feature p{margin:0;font-size:.92rem;opacity:.85}

/* steps */
.atl-steps{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));counter-reset:step}
.atl-step{position:relative;padding:1.75rem 1.5rem 1.5rem 1.5rem;background:#fff;border-radius:var(--atl-radius);border:1px solid var(--atl-line)}
.atl-step::before{counter-increment:step;content:counter(step,decimal-leading-zero);display:block;font-size:2.4rem;font-weight:900;color:var(--atl-accent);line-height:1;margin-bottom:.6rem;letter-spacing:-.04em}
.atl-step h3{margin:0 0 .4rem}.atl-step p{margin:0;opacity:.85;font-size:.95rem}

/* transit band */
.atl-transit{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.atl-transit div{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:1.2rem 1.3rem}
.atl-transit strong{display:block;font-size:1.9rem;font-weight:900;color:#fff;line-height:1;margin-bottom:.35rem}
.atl-transit span{opacity:.85;font-size:.92rem}

/* collection tiles (product_categories shortcode) */
.atl-collections ul.products{display:grid!important;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
.atl-collections li.product-category{border-radius:var(--atl-radius);overflow:hidden;background:#fff;border:1px solid var(--atl-line);box-shadow:var(--atl-shadow);margin:0!important;width:auto!important}
.atl-collections li.product-category img{aspect-ratio:1;object-fit:cover;width:100%}
.atl-collections li.product-category h2{font-size:1rem;padding:.9rem 1rem;margin:0;text-align:left}
.atl-collections li.product-category h2 .count{color:var(--atl-accent);background:none;font-size:.85rem}

/* CTA band */
.atl-cta{background:var(--atl-deep);color:#fff;border-radius:var(--atl-radius);padding:3rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1.5rem}
.atl-cta h2{color:#fff;margin:0 0 .3rem}.atl-cta p{margin:0;opacity:.85}

/* page hero (content pages) */
.page:not(.home) .hero-section,.page:not(.home) .entry-header{background:var(--atl-ink);color:#fff;padding:3.5rem 0 3rem;margin:0 0 0;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.page:not(.home) .hero-section > *,.page:not(.home) .entry-header > *{max-width:1200px;margin-left:auto;margin-right:auto;padding-left:1.5rem;padding-right:1.5rem}
.tax-product_cat .hero-section[data-type],.post-type-archive-product .hero-section[data-type]{background:var(--atl-ink)!important;color:#fff;padding:3rem 0 2.5rem;max-width:none!important;width:auto;margin:0 calc(50% - 50vw) 2rem!important}
.tax-product_cat .hero-section .entry-header,.post-type-archive-product .hero-section .entry-header{max-width:1200px;margin:0 auto;padding:0 1.5rem}
.tax-product_cat .hero-section .page-title,.post-type-archive-product .hero-section .page-title{color:#fff!important;text-align:left}
.tax-product_cat .hero-section .term-description,.tax-product_cat .hero-section .term-description p{color:rgba(255,255,255,.85)!important;max-width:70ch;margin:.75rem 0 0;font-size:.95rem;text-align:left}
.page:not(.home) .entry-header .page-title,.page:not(.home) .hero-section .page-title{color:#fff;max-width:20ch}
.page:not(.home) .entry-content{max-width:820px;margin:0 auto}
.page:not(.home) .entry-content > p.has-large-font-size:first-child{font-size:1.25rem;font-weight:500;color:var(--atl-deep);margin:2.5rem 0 1.5rem}
.page .entry-content h2{margin-top:2.4rem}
.wp-block-table table{border-collapse:collapse;width:100%;font-size:.95rem}.wp-block-table th{background:var(--atl-sand-light);text-align:left}.wp-block-table td,.wp-block-table th{padding:.65rem .8rem;border:1px solid var(--atl-line)}

/* woo */
ul.products li.product{border:1px solid var(--atl-line);border-radius:var(--atl-radius);overflow:hidden;background:#fff;box-shadow:var(--atl-shadow)}
ul.products li.product .ct-woo-card-extra,ul.products li.product .product-title{padding:0 1rem}
ul.products li.product .woocommerce-loop-product__title{font-size:1rem;font-weight:700}
.single-product .product_title{font-size:clamp(1.6rem,3vw,2.2rem)}
.single-product p.price{font-size:1.4rem;font-weight:800;color:var(--atl-deep)}
.atl-artwork-field{background:var(--atl-sand-light);border:1px dashed rgba(18,35,46,.25);border-radius:12px;padding:1rem 1.2rem;margin:1rem 0}
.atl-artwork-field label{display:block;margin-bottom:.5rem}
.term-description{max-width:70ch}

/* footer */
.atl-footer{background:var(--atl-ink)!important;color:#fff!important;border-top:0;padding:3rem 0 1.5rem}
.atl-footer .ct-container{max-width:1200px;margin:0 auto;padding:0 1.5rem}
.atl-footer-blurb{color:rgba(255,255,255,.85)!important;max-width:60ch}
.atl-footer-menu{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:.5rem 1.5rem}
.atl-footer-menu a{color:#fff!important;opacity:.85}
.atl-footer-menu li:nth-child(9)::before{content:"Service areas";display:block;grid-column:1/-1;font-weight:800;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--atl-accent);margin:1.25rem 0 .25rem}
.atl-footer-menu li:first-child::before{content:"Company";display:block;grid-column:1/-1;font-weight:800;font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--atl-accent);margin:0 0 .25rem}
.atl-footer-menu li{display:contents}
footer#footer,footer#footer .ct-footer,footer#footer [data-row],footer#footer .ct-container{background:var(--atl-ink)!important;color:rgba(255,255,255,.7)!important}
footer#footer .ct-footer{border-top:1px solid rgba(255,255,255,.1)}
footer#footer a{color:#fff!important}

/* hero mosaic (v0.2.1) */
.atl-hero2{background:var(--atl-ink);color:#fff;padding:4.5rem 0 4rem;overflow:hidden;max-width:none!important;width:auto;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
.home .entry-content{max-width:none}
.home .atl-wrap > .atl-stats{margin-top:-3rem}
@media(max-width:900px){.atl-mosaic{transform:none;margin-top:1rem}.atl-hero2{padding:3rem 0 2.5rem}.atl-stats{margin-top:1rem}}
.atl-hero2 .atl-wrap{max-width:1200px;margin:0 auto;padding:0 1.5rem;display:grid;gap:3rem;grid-template-columns:1.1fr 1fr;align-items:center}
@media(max-width:900px){.atl-hero2 .atl-wrap{grid-template-columns:1fr}}
.atl-hero2 h1{color:#fff;margin:.5rem 0 1rem}
.atl-hero2 p.atl-sub{color:rgba(255,255,255,.85);font-size:1.15rem;max-width:50ch;margin:0 0 1.5rem}
.atl-mosaic{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem;transform:rotate(-3deg);padding:.5rem}
.atl-mosaic figure{margin:0;border-radius:12px;overflow:hidden;aspect-ratio:1;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.atl-mosaic figure:nth-child(2),.atl-mosaic figure:nth-child(5){transform:translateY(1.25rem)}
.atl-mosaic img{width:100%;height:100%;object-fit:cover;display:block}
.atl-wrap{max-width:1200px;margin:0 auto;padding:0 1.5rem}
.atl-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;background:#fff;border:1px solid var(--atl-line);border-radius:var(--atl-radius);padding:1.25rem 1.5rem;box-shadow:var(--atl-shadow);margin-top:-2.5rem;position:relative;z-index:2}
.atl-stats div{text-align:center;padding:.4rem}
.atl-stats strong{display:block;font-size:1.5rem;font-weight:900;color:var(--atl-deep);line-height:1.1}
.atl-stats span{font-size:.85rem;opacity:.8}
.atl-badge{display:inline-block;background:var(--atl-accent);color:#fff;font-size:.72rem;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:.3rem .55rem;border-radius:6px;position:absolute;top:.9rem;left:.9rem;z-index:2}
.atl-card{position:relative}
.atl-card .atl-4up{display:grid;grid-template-columns:1fr 1fr;gap:3px;aspect-ratio:4/3;background:var(--atl-sand-light)}
.atl-card .atl-4up img{width:100%;height:100%;object-fit:cover}
.atl-faq details{background:#fff;border:1px solid var(--atl-line);border-radius:12px;padding:1rem 1.25rem;margin-bottom:.75rem}
.atl-faq summary{font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between}
.atl-faq summary::after{content:"+";color:var(--atl-accent);font-weight:900}
.atl-faq details[open] summary::after{content:"–"}
.atl-faq details p{margin:.75rem 0 0;opacity:.85}

/* archive hero: dark gradient over the category image so the copy reads (v0.2.8) */
.tax-product_cat .hero-section[data-type],.post-type-archive-product .hero-section[data-type]{position:relative;padding:4rem 0 3.5rem}
.tax-product_cat .hero-section[data-type]::after,.post-type-archive-product .hero-section[data-type]::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,35,46,.95) 0%,rgba(18,35,46,.85) 50%,rgba(18,35,46,.55) 100%);z-index:1;pointer-events:none}
.tax-product_cat .hero-section[data-type] .entry-header,.post-type-archive-product .hero-section[data-type] .entry-header{position:relative;z-index:2}
.tax-product_cat .hero-section .term-description{max-width:62ch}

/* buttons: one row, equal height, identical box (v0.2.9) */
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:.75rem;align-items:stretch;margin:0}
.wp-block-buttons .wp-block-button{margin:0}
.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 1.5rem!important;font-size:1rem;line-height:1;border:2px solid var(--atl-accent)!important;box-sizing:border-box}
.wp-block-button__link:hover{border-color:var(--atl-accent-dark)!important}
.is-style-outline .wp-block-button__link{border-color:rgba(255,255,255,.7)!important}
.atl-cta .wp-block-buttons,.atl-hero2 .wp-block-buttons{margin-top:.25rem}
@media(max-width:480px){.wp-block-buttons .wp-block-button,.wp-block-button__link{width:100%}}

/* stats: always one row on desktop, 2x2 on phones (v0.3.0) */
.atl-stats div{padding:.4rem .25rem}
.atl-stats span{display:block;white-space:nowrap}
@media(max-width:900px){.atl-stats{grid-template-columns:repeat(2,1fr)}.atl-stats span{white-space:normal}}

/* layout pass 2 (v0.3.1): equal cards, 4-up collections, 6-up features, centred FAQ */
.atl-cards{grid-template-columns:repeat(3,1fr);align-items:stretch}
.atl-cards.cols-4{grid-template-columns:repeat(4,1fr)}
.atl-card figure,.atl-card .wp-block-image,.atl-card .atl-4up{aspect-ratio:1;height:auto}
.atl-card-body{display:grid;grid-template-rows:auto auto 1fr auto;gap:.5rem;min-height:190px}
.atl-card-body p{align-self:start}
.atl-card .atl-price{align-self:end}
.atl-card .atl-link{margin-top:0;padding-top:.25rem}
.atl-collections ul.products{grid-template-columns:repeat(4,1fr)!important;gap:1.25rem}
.atl-collections li.product-category h2{font-size:.95rem;padding:.8rem .9rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.atl-features{grid-template-columns:repeat(6,1fr);gap:1rem}
.atl-feature{padding:1.4rem 1rem}
.atl-feature h3{font-size:.98rem}.atl-feature p{font-size:.86rem}
.atl-faq{margin:0 auto}
.atl-faq-wrap{max-width:820px;margin:0 auto;text-align:left}
@media(max-width:1100px){.atl-features{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){.atl-cards,.atl-cards.cols-4{grid-template-columns:repeat(2,1fr)}.atl-collections ul.products{grid-template-columns:repeat(2,1fr)!important}.atl-card-body{min-height:0}}
@media(max-width:600px){.atl-cards,.atl-cards.cols-4,.atl-features{grid-template-columns:1fr}}

.atl-stats strong{font-size:clamp(1.05rem,1.5vw,1.45rem);white-space:nowrap}

/* woo product cards: tidy body, full-width button (v0.3.3) */
ul.products li.product .ct-woo-card-extra{padding:1rem 1.1rem 1.15rem!important;display:flex;flex-direction:column;gap:.4rem}
ul.products li.product .woocommerce-loop-product__title{margin:0;min-height:2.4em;line-height:1.2}
ul.products li.product .price{margin:0;font-weight:700;color:var(--atl-deep)}
ul.products li.product .entry-meta,ul.products li.product .ct-woo-card-extra > .entry-meta{margin:0;font-size:.72rem;letter-spacing:.06em;text-transform:uppercase}
ul.products li.product .ct-woo-card-extra .button,ul.products li.product .ct-woo-card-extra .ct-woo-card-actions{margin-top:.4rem;width:100%;justify-content:center}
ul.products li.product .button{width:100%;display:inline-flex;justify-content:center}
ul.products li.product .woocommerce-placeholder{background:var(--atl-sand-light)}
.related.products h2,.upsells.products h2{font-size:1.6rem;margin-bottom:1.25rem}

/* woo cards, pass 3: natural title height, tight rhythm, inset button (v0.3.4) */
ul.products li.product{padding-bottom:1.1rem;display:flex;flex-direction:column}
ul.products li.product .ct-woo-card-extra{padding:.9rem 1.1rem .25rem!important;gap:.25rem}
ul.products li.product .woocommerce-loop-product__title{min-height:0;font-size:.98rem;line-height:1.25}
ul.products li.product .price{font-size:.95rem;margin:0}
ul.products li.product .button,ul.products li.product .ct-woo-card-actions{width:auto;margin:.6rem 1.1rem 0!important;min-height:44px;font-size:.9rem}
ul.products li.product .ct-woo-card-actions .button{margin:0!important;width:100%}
ul.products li.product .ct-woo-card-extra > *{margin:0!important}

/* archive hero readability + header link colour (v0.3.5) */
.tax-product_cat .hero-section[data-type]::after,.post-type-archive-product .hero-section[data-type]::after{background:linear-gradient(90deg,rgba(18,35,46,.97) 0%,rgba(18,35,46,.93) 55%,rgba(18,35,46,.7) 100%)}
.tax-product_cat .hero-section[data-type] .entry-header{text-align:left}
.tax-product_cat .hero-section[data-type] .entry-header *:not(h1){color:rgba(255,255,255,.88)!important;text-align:left}
.tax-product_cat .hero-section[data-type] .term-description,.tax-product_cat .hero-section[data-type] .taxonomy-description{max-width:62ch;margin:.9rem 0 0;font-size:.98rem;line-height:1.55}
.tax-product_cat .hero-section[data-type] .term-description p{margin:0 0 .6rem}
header#header .menu > li > a,header#header .menu > li > a > span{color:var(--atl-ink)!important}
header#header .menu > li > a:hover,header#header .menu > li.current-menu-item > a{color:var(--atl-accent)!important}
header#header .ct-icon,header#header svg{color:var(--atl-ink)}

/* card buttons bottom-aligned across a row (v0.3.6) */
ul.products li.product .ct-woo-card-extra{flex:1;display:flex;flex-direction:column}
ul.products li.product .ct-woo-card-extra > :last-child,ul.products li.product > .ct-woo-card-actions,ul.products li.product > .button{margin-top:auto!important}
ul.products li.product .ct-woo-card-extra > .price{margin-bottom:.6rem!important}

/* product card body — final rhythm (v0.3.7) */
ul.products li.product{padding-bottom:1.25rem!important}
ul.products li.product .ct-woo-card-extra{padding:1.15rem 1.25rem .5rem!important;gap:0!important}
ul.products li.product .woocommerce-loop-product__title{font-size:1rem!important;font-weight:700!important;line-height:1.3!important;margin:0 0 .45rem!important;color:var(--atl-ink)}
ul.products li.product .ct-woo-card-extra > .price{font-size:.92rem!important;font-weight:500!important;color:rgba(18,35,46,.72)!important;margin:0 0 1rem!important;letter-spacing:.01em}
ul.products li.product .ct-woo-card-extra > .price .amount{font-weight:500}
ul.products li.product .button,ul.products li.product .ct-woo-card-actions .button{min-height:40px!important;font-size:.88rem!important;font-weight:600!important;padding:0 1rem!important;border-radius:9px!important;letter-spacing:.01em}
ul.products li.product .ct-woo-card-actions,ul.products li.product > .button{margin:0 1.25rem 0!important}

/* consistent side gutters (v0.3.8) */
:root{--atl-gutter:1.5rem}
.atl-wrap,.atl-footer .ct-container{padding-left:var(--atl-gutter)!important;padding-right:var(--atl-gutter)!important}
.tax-product_cat .hero-section[data-type] .entry-header,.post-type-archive-product .hero-section[data-type] .entry-header,.page:not(.home) .hero-section > *,.page:not(.home) .entry-header > *{padding-left:var(--atl-gutter)!important;padding-right:var(--atl-gutter)!important;max-width:1280px}
.atl-wrap,.atl-footer .ct-container{max-width:1280px}
@media(max-width:900px){:root{--atl-gutter:1.25rem}}

.atl-hero2 .atl-wrap > div:first-child{padding-left:0!important;margin-left:0!important}
.atl-hero2 h1,.atl-hero2 .atl-eyebrow,.atl-hero2 p.atl-sub,.atl-hero2 .wp-block-buttons{margin-left:0!important}

/* product card: more air between text and card edge (v0.4.0) */
:root{--atl-card-pad:1.5rem}
ul.products li.product .ct-woo-card-extra{padding:1.25rem var(--atl-card-pad) .5rem!important}
ul.products li.product .ct-woo-card-actions,ul.products li.product > .button{margin:0 var(--atl-card-pad) 0!important}
ul.products li.product{padding-bottom:var(--atl-card-pad)!important}
.atl-card-body{padding:1.35rem var(--atl-card-pad) var(--atl-card-pad)}
.atl-collections li.product-category h2{padding:.95rem var(--atl-card-pad)}
.atl-hero2 .atl-wrap{padding-left:var(--atl-gutter)!important}

/* one left edge for everything: match Blocksy's container (v0.4.1) */
.atl-wrap,.atl-hero2 .atl-wrap,.atl-footer .ct-container{max-width:calc(1280px + 2*var(--atl-gutter))!important;margin-left:auto!important;margin-right:auto!important;width:auto!important}
.home .entry-content > .atl-wrap,.home .entry-content > section,.home .entry-content > div{max-width:none!important}
.home .entry-content > .atl-wrap{max-width:calc(1280px + 2*var(--atl-gutter))!important}
.atl-section > .wp-block-group__inner-container,.atl-section .alignwide{max-width:calc(1280px + 2*var(--atl-gutter))}

/* card text inset — Blocksy renders title/price as direct children of li.product (v0.4.2) */
ul.products li.product > .woocommerce-loop-product__title{margin:1.25rem var(--atl-card-pad) .45rem!important}
ul.products li.product > .price{margin:0 var(--atl-card-pad) 1rem!important}
ul.products li.product > .ct-woo-card-actions,ul.products li.product > .button{margin:auto var(--atl-card-pad) 0!important}
ul.products li.product > .ct-woo-card-actions .button{width:100%}

.atl-stats strong{font-size:clamp(1rem,1.35vw,1.35rem)}

/* order row: 4 cards (v0.4.4) */
.atl-cards{grid-template-columns:repeat(4,1fr)}
.atl-card-body{min-height:0}
.atl-placement-field{margin:0 0 .75rem}.atl-placement-field label{display:block;margin-bottom:.4rem}.atl-placement-field select{width:100%;padding:.6rem .8rem;border:1px solid rgba(18,35,46,.25);border-radius:10px;background:#fff}

/* audit fixes (v0.5.0): PDP faq tab, ship notice, payment strip, contact form, swatches */
.atl-faq-pdp{max-width:760px}
.atl-ship-notice{background:var(--atl-sand-light);border:1px solid var(--atl-line);border-radius:10px;padding:.8rem 1rem;margin:0 0 1.25rem;font-weight:500}
.atl-payment-strip{background:var(--atl-ink);color:rgba(255,255,255,.55);font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;display:flex;flex-wrap:wrap;gap:.4rem 1.4rem;justify-content:center;padding:.9rem 1rem;border-top:1px solid rgba(255,255,255,.08)}
.atl-payment-strip span:first-child{color:#fff;font-weight:700}
.atl-contact{display:grid;gap:1rem;max-width:620px;margin:1rem 0 2rem}.atl-contact label{display:grid;gap:.35rem;font-weight:600;font-size:.92rem}
.atl-contact input,.atl-contact textarea{font:inherit;padding:.65rem .8rem;border:1px solid rgba(18,35,46,.25);border-radius:10px;background:#fff}
.atl-contact button{justify-self:start;cursor:pointer}.atl-hp{position:absolute;left:-9999px}.atl-form-ok{background:#e6f4ea;border:1px solid #b7dfc2;border-radius:10px;padding:.9rem 1rem;margin:0 0 1rem}
.atl-swatches{display:flex;flex-wrap:wrap;gap:.45rem;margin:.25rem 0 .5rem}
.atl-swatch{border:1.5px solid rgba(18,35,46,.25);background:#fff;border-radius:9px;padding:.5rem .8rem;font:inherit;font-size:.9rem;font-weight:600;cursor:pointer;line-height:1}
.atl-swatch:hover{border-color:var(--atl-deep)}.atl-swatch.is-active{background:var(--atl-ink);color:#fff;border-color:var(--atl-ink)}
.atl-swatch small{display:block;font-weight:500;opacity:.7;font-size:.75rem;margin-top:.2rem}
.variations select.atl-has-swatches{position:absolute;left:-9999px}

/* 0.5.2 — badge sits between image and body (no overlap with artwork headlines); apparel split section */
.atl-card figure,.atl-card .wp-block-image{order:1}
.atl-card .atl-badge{position:static;top:auto;left:auto;order:2;align-self:flex-start;margin:1.1rem var(--atl-card-pad) 0}
.atl-card .atl-card-body{order:3}
.atl-card .atl-badge ~ .atl-card-body{padding-top:.7rem}
.atl-apparel{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;text-align:left;margin-top:2rem}
.atl-apparel .atl-split{display:grid;grid-template-columns:42% 1fr;background:#fff;border:1px solid var(--atl-line);border-radius:var(--atl-radius);overflow:hidden;box-shadow:var(--atl-shadow);text-decoration:none;color:inherit;transition:transform .2s,box-shadow .2s}
.atl-apparel .atl-split:hover{transform:translateY(-3px)}
.atl-apparel .atl-split figure{margin:0;background:var(--atl-sand-light);min-height:100%}
.atl-apparel .atl-split img{width:100%;height:100%;object-fit:cover;display:block}
.atl-apparel .atl-split-body{padding:1.5rem var(--atl-card-pad);display:flex;flex-direction:column;gap:.6rem}
.atl-apparel h3{margin:0;font-size:1.25rem;line-height:1.2}
.atl-apparel p{margin:0;opacity:.85;font-size:.95rem}
.atl-apparel ul{margin:0;padding-left:1.1rem;font-size:.9rem;opacity:.9;display:flex;flex-direction:column;gap:.2rem}
.atl-apparel .atl-price{font-weight:800;color:var(--atl-deep);margin-top:auto;padding-top:.4rem}
.atl-apparel .atl-link{color:var(--atl-accent);font-weight:700}
.atl-apparel .atl-split:hover .atl-link{text-decoration:underline}
@media(max-width:900px){.atl-apparel{grid-template-columns:1fr}}
@media(max-width:600px){.atl-apparel .atl-split{grid-template-columns:1fr}.atl-apparel .atl-split figure{aspect-ratio:4/3}}

/* 0.5.3 — payment logos instead of text */
.atl-payment-strip{align-items:center;gap:.6rem 1.25rem;padding:.85rem 1rem}
.atl-payment-strip .atl-pay-label{color:#fff;font-weight:700;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase}
.atl-payment-strip .atl-pay-marks{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center;justify-content:center}
.atl-payment-strip img{width:38px;height:24px;display:block;border-radius:4px;background:#fff;object-fit:contain}
.woocommerce div.product .atl-payment-strip{border-radius:10px;margin-top:1rem}

/* 0.5.4 — custom apparel: upload vs ready-to-press design */
.atl-source-field{margin:0 0 .9rem}.atl-source-field>strong{display:block;margin-bottom:.45rem}
.atl-source-options{display:flex;gap:.5rem;flex-wrap:wrap}
.atl-source-opt{display:inline-flex;align-items:center;gap:.45rem;padding:.55rem .9rem;border:1px solid rgba(18,35,46,.25);border-radius:999px;background:#fff;cursor:pointer;font-weight:600;font-size:.92rem}
.atl-source-opt.is-active{border-color:var(--atl-deep);background:var(--atl-deep);color:#fff}
.atl-source-opt input{accent-color:var(--atl-accent);margin:0}.atl-source-opt small{opacity:.8;font-weight:700}
.atl-design-field{background:var(--atl-sand-light);border:1px dashed rgba(18,35,46,.25);border-radius:12px;padding:1rem 1.2rem;margin:1rem 0}
.atl-design-field label{display:block;margin-bottom:.5rem}
.atl-design-pick{display:flex;gap:.8rem;align-items:center}.atl-design-pick select{flex:1;padding:.6rem .8rem;border:1px solid rgba(18,35,46,.25);border-radius:10px;background:#fff}
.atl-design-preview{width:72px;height:72px;object-fit:cover;border-radius:10px;border:1px solid rgba(18,35,46,.15);background:#fff}
.atl-design-note{margin:.6rem 0 0;font-size:.85rem;opacity:.8}

/* 0.5.5 — every product image square: Blocksy defaults are 3/4 on the PDP gallery and 4/3 on cards */
.woocommerce-product-gallery .ct-media-container img,
.woocommerce-product-gallery .flexy-items img,
ul.products li.product .ct-media-container img,
ul.products li.product .woocommerce-loop-product__link img,
.related ul.products li.product img,.upsells ul.products li.product img{aspect-ratio:1/1!important;object-fit:cover}
.woocommerce-product-gallery .flexy-pills img{aspect-ratio:1/1!important}
