/*
Theme Name: Astra POD Master · Flags Shop
Description: Configurable child theme for Astra Free and WooCommerce. Home, catalog and product styling for Printify stores.
Author: Custom Store Templates
Version: 1.1.0
Template: astra
Text Domain: astra-pod-master
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root{--apm-accent:#18365d;--apm-paper:#f0f3f7;--apm-ink:#202822;--apm-line:#dedfd9}
.apm-store{color:var(--apm-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.apm-store a:focus-visible,.apm-store button:focus-visible,.apm-store input:focus-visible,.apm-store select:focus-visible{outline:3px solid var(--apm-accent);outline-offset:4px}
.apm-store .apm-primary{width:100%;margin:0!important;padding:0!important;float:none}
.apm-home{max-width:1240px;margin:auto;padding:32px 24px 64px}
.apm-home *{box-sizing:border-box}
.apm-section{margin:0 0 64px}
.apm-hero{display:grid;grid-template-columns:1fr 1fr;background:var(--apm-paper);border-radius:20px;overflow:hidden;min-height:500px}
.apm-hero-copy{padding:56px 42px;align-self:center}
.apm-eyebrow{text-transform:uppercase;letter-spacing:.15em;font-weight:650;font-size:12px;margin-bottom:18px}
.apm-home h1{font-size:clamp(36px,4.8vw,64px);line-height:1.06;letter-spacing:-.045em;font-weight:700;color:var(--apm-ink);margin:0 0 22px}
.apm-intro{font-size:17px;line-height:1.7;max-width:440px}
.apm-home .apm-button{display:inline-flex;align-items:center;gap:26px;background:var(--apm-accent);color:#fff;border-radius:7px;padding:16px 22px;font-size:15px;font-weight:650;text-decoration:none}
.apm-button:hover{filter:brightness(.88)}
.apm-hero-image{min-width:0;display:flex;background:#e3e5db}
.apm-hero-image>img{width:100%;height:100%;object-fit:cover;aspect-ratio:1/1}
.apm-placeholder{width:100%;min-height:450px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:32px;background:radial-gradient(ellipse at 70% 30%,#d9bc8b 0%,transparent 55%),#ccd8cd;color:#244b3d}
.apm-placeholder>span{font-size:clamp(28px,4vw,56px);font-weight:800;letter-spacing:-.05em;line-height:1.1;transform:rotate(-8deg)}
.apm-placeholder small{letter-spacing:.12em;text-transform:uppercase}
.apm-home h2{font-size:clamp(25px,3vw,35px);font-weight:650;letter-spacing:-.035em;line-height:1.2;color:var(--apm-ink);margin:0 0 24px}
.apm-section-head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;flex-wrap:wrap}
.apm-section-head>a{color:var(--apm-accent);font-size:14px;text-underline-offset:4px;margin-bottom:24px}
.apm-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.apm-category{color:var(--apm-ink)!important;text-decoration:none}
.apm-category img,.apm-category-placeholder{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:var(--apm-paper);margin-bottom:12px}
.apm-category-placeholder{display:grid;place-items:center;font-size:48px;color:var(--apm-accent)}
.apm-category>span{display:flex;justify-content:space-between;gap:8px;font-weight:600;font-size:17px}
.apm-story{background:var(--apm-paper);padding:48px;border-radius:16px;max-width:100%}
.apm-story h2{max-width:650px}.apm-story>p:last-child{max-width:720px;line-height:1.8;margin-bottom:0}
.apm-guides{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.apm-guides img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px;margin-bottom:16px}
.apm-guides h3{font-size:21px;line-height:1.35;letter-spacing:-.02em;margin:0 0 10px}
.apm-guides a{color:var(--apm-ink);text-decoration:none}.apm-guides p{font-size:15px;line-height:1.7}
.apm-store .woocommerce ul.products li.product,.apm-store .woocommerce-page ul.products li.product{border:1px solid var(--apm-line);padding:14px!important;border-radius:12px;background:white;box-shadow:none}
.apm-store .woocommerce ul.products li.product a img{border-radius:8px}
.apm-store .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:17px;line-height:1.4;font-weight:600;color:var(--apm-ink)}
.apm-store .woocommerce ul.products li.product .price{color:var(--apm-accent);font-size:16px}
.apm-store .woocommerce a.button,.apm-store .woocommerce button.button,.apm-store .woocommerce input.button{background:var(--apm-accent);color:white;border-radius:7px;white-space:normal;font-weight:600}
.apm-store .woocommerce a.button:hover,.apm-store .woocommerce button.button:hover{background:var(--apm-accent);color:white;filter:brightness(.88)}
.apm-store .woocommerce div.product .product_title{font-size:clamp(28px,3.4vw,42px);letter-spacing:-.035em;line-height:1.15}
.apm-store .woocommerce div.product div.images img{border-radius:12px}
.apm-store .woocommerce div.product p.price{color:var(--apm-accent)}
.apm-store .woocommerce div.product form.cart .variations select{min-height:46px;border-radius:6px}
.apm-store .woocommerce div.product .woocommerce-tabs ul.tabs li a{font-weight:600}
.apm-store .woocommerce .woocommerce-breadcrumb{font-size:13px}
.apm-store .wc-block-components-button:not(.is-link){border-radius:7px}
@media(max-width:950px){.apm-hero-copy{padding:36px 28px}.apm-hero{min-height:430px}.apm-categories{gap:14px}}
@media(max-width:700px){.apm-home{padding:20px 16px 40px}.apm-section{margin-bottom:40px}.apm-hero{grid-template-columns:1fr}.apm-hero-copy{padding:32px 24px}.apm-hero-image>img{max-height:360px;aspect-ratio:4/3}.apm-placeholder{min-height:260px}.apm-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.apm-guides{grid-template-columns:1fr}.apm-story{padding:28px 24px}.apm-store .woocommerce ul.products li.product,.apm-store .woocommerce-page ul.products li.product{padding:10px!important}.apm-store .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px}}

/* Flags Shop preset. Native product search keeps every published match accessible. */
.apm-find{padding:30px;background:#fff;border:1px solid var(--apm-line);border-radius:14px}
.apm-find h2{font-size:27px;margin-bottom:12px}
.apm-search-form label{display:block;font-size:14px;margin-bottom:12px}
.apm-search-form>div{display:flex;gap:12px}
.apm-search-form input[type=search]{min-width:0;flex:1;border:1px solid #ccd3dc;border-radius:7px;padding:15px;background:white;font-size:16px;color:var(--apm-ink)}
.apm-search-form .apm-button{border:0;cursor:pointer;flex-shrink:0}
.apm-help-links{display:flex;justify-content:center;gap:28px;flex-wrap:wrap;border-top:1px solid var(--apm-line);padding-top:24px;font-size:15px}
.apm-help-links a{color:var(--apm-accent);text-underline-offset:5px}
.apm-store .woocommerce a.button,.apm-store .woocommerce button.button{background:var(--apm-accent)!important;color:#fff!important}
.apm-store .woocommerce ul.products li.product .woocommerce-loop-product__title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:4.2em}
.apm-category img{object-fit:contain;background:#f6f7f8;padding:8px}
@media(max-width:700px){.apm-find{padding:22px 18px}.apm-search-form>div{flex-direction:column}.apm-search-form .apm-button{justify-content:center}.apm-help-links{gap:16px}.apm-store .woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:4.2em}}
