/* Layout components add structure while preserving the native commerce forms. */
.pod-archive[data-catalog-layout] .page-heading { min-width:0; }
.pod-archive .pod-result-count { flex-shrink:0; color:var(--muted); font-size:14px; }
.pod-archive .pod-topic-tags a.is-active { background:var(--primary); border-color:var(--primary); color:#fff; }
.pod-catalog-eyebrow { display:block; font-size:11px; letter-spacing:.15em; font-weight:800; margin-bottom:14px; color:var(--primary); }
.pod-sort-label { color:var(--muted); font-size:13px; }
.pod-catalog-with-sidebar { display:grid; grid-template-columns:230px minmax(0,1fr); gap:32px; align-items:start; }
.pod-catalog-sidebar { border:1px solid var(--border); border-radius:var(--radius); padding:22px; background:var(--canvas); }
.pod-catalog-sidebar h2 { font-size:20px; line-height:1.25; margin:0 0 24px; }
.pod-catalog-results-column { min-width:0; }
.pod-catalog-results-column>.pod-topic-tags { margin-top:0; }
.pod-catalog-results-column :is(.pod-product-grid,.storefront__product-grid,.pc-product-grid,.shopProductGrid,.display-product-grid,.commerce-product-grid-wrapper) { grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px 18px; }
.pod-filter-form .pod-filter-field { min-width:0; }
.pod-filter-form label { display:block; font-weight:700; font-size:14px; margin-bottom:8px; }
.pod-filter-form select { display:block; width:100%; min-height:44px; padding:10px 12px; background:#fff; color:var(--text); border:1px solid var(--border); border-radius:var(--radius); }
.pod-filter-form-sidebar { display:grid; gap:22px; }
.pod-filter-actions { display:flex; align-items:center; gap:16px; font-size:13px; }
.pod-filter-form-sidebar .pod-filter-actions { flex-direction:column; align-items:stretch; text-align:center; }
.pod-filter-form-sidebar .button { padding-inline:12px; }
.pod-filter-form-drawer .pod-filter-actions { flex-direction:column; gap:0; }
.pod-category-directory { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; margin:0 0 24px; }
.pod-category-directory a { display:flex; flex-direction:column; justify-content:space-between; gap:20px; min-width:0; min-height:108px; padding:18px 16px; border:1px solid var(--border); border-radius:var(--radius); color:var(--text); background:var(--canvas); text-decoration:none; }
.pod-category-directory a:hover,.pod-category-directory a[aria-current=page] { border-color:var(--primary); color:var(--primary); }
.pod-category-directory strong { font-size:15px; }
.pod-category-directory a>span { font-size:11px; display:flex; justify-content:space-between; gap:6px; }
.pod-directory-filters { padding:20px; border:1px solid var(--border); border-radius:var(--radius); margin-bottom:24px; }
.pod-filter-form-directory { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto; gap:20px; align-items:end; }
.pod-filter-form-directory .pod-filter-actions { min-height:44px; }
.pod-catalog-intro-panel { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr); gap:50px; align-items:center; padding:36px; background:var(--canvas); border-left:5px solid var(--primary); border-radius:var(--radius); margin-bottom:28px; }
.pod-catalog-intro-panel .page-heading { display:block; margin:0; }
.pod-catalog-intro-panel :is(.catalog-intro,.storefront__catalog-intro,.pc-catalog-intro,.shopCatalogIntro,.display-catalog-intro,.commerce-catalog-intro-wrapper) { margin-bottom:12px; }
.pod-catalog-intro-panel>p { color:var(--muted); line-height:1.8; font-size:18px; margin:0; max-width:420px; }
/* Card components have different markup, rather than reordered copies. */
.pod-product-card[data-card-layout=framed] { padding:8px; border:1px solid var(--border); border-radius:var(--radius); background:var(--surface); }
.pod-product-card[data-card-layout=framed] :is(.pod-card-media,.storefront__card-media,.pc-card-media,.shopCardMedia,.display-card-media,.commerce-card-media-wrapper) { border-radius:max(2px,calc(var(--radius) - 3px)); }
:is(.pod-card-body,.storefront__card-body,.pc-card-body,.shopCardBody,.display-card-body,.commerce-card-body-wrapper) { padding:10px 8px 8px; min-width:0; }
.pod-card-category { display:block; font-size:10px; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.pod-product-card[data-card-layout=framed] :is(.pod-card-title,.wd-entities-title,.pc-card-title,.shopCardTitle,.display-card-title,.commerce-card-title-wrapper) { margin-top:5px; font-weight:600; }
.pod-product-card[data-card-layout=compact] { display:grid; grid-template-columns:minmax(0,1fr); }
.pod-product-card[data-card-layout=compact] :is(.pod-card-body,.storefront__card-body,.pc-card-body,.shopCardBody,.display-card-body,.commerce-card-body-wrapper) { padding:12px 0 0; }
.pod-product-card[data-card-layout=compact] :is(.pod-card-title,.wd-entities-title,.pc-card-title,.shopCardTitle,.display-card-title,.commerce-card-title-wrapper) { margin:6px 0; font-weight:700; }
.pod-product-card[data-card-layout=compact] :is(.pod-card-media,.storefront__card-media,.pc-card-media,.shopCardMedia,.display-card-media,.commerce-card-media-wrapper) { border-radius:2px; }
.pod-card-figure { margin:0; min-width:0; }
:is(.pod-card-caption,.storefront__card-caption,.pc-card-caption,.shopCardCaption,.display-card-caption,.commerce-card-caption-wrapper) { border-bottom:1px solid var(--border); padding:0 0 12px; }
:is(.pod-card-caption,.storefront__card-caption,.pc-card-caption,.shopCardCaption,.display-card-caption,.commerce-card-caption-wrapper) :is(.pod-card-title,.wd-entities-title,.pc-card-title,.shopCardTitle,.display-card-title,.commerce-card-title-wrapper) { font-size:15px; font-weight:700; margin-top:14px; }
.pod-product-card[data-card-layout=caption] :is(.pod-card-media,.storefront__card-media,.pc-card-media,.shopCardMedia,.display-card-media,.commerce-card-media-wrapper) { border-radius:0; }
.pod-product-card[data-card-layout=caption] .price { font-size:16px; font-weight:600; }
/* Product layouts render exactly one heading, form, gallery and information block. */
:is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout] .summary { float:none!important; width:auto!important; margin:0!important; min-width:0; }
.pod-product-heading { margin:6px 0 30px; max-width:880px; }
.pod-product-heading .woocommerce-product-details__short-description { max-width:680px; margin-bottom:0; }
.pod-product-options-title { font-size:23px; margin-bottom:18px; }
.pod-gallery.pod-gallery-main-first { display:flex; flex-direction:column; gap:12px; }
.pod-gallery.pod-gallery-main-first .pod-thumbnails { display:flex; flex-direction:row; gap:10px; }
.pod-gallery.pod-gallery-main-first .pod-thumbnails button { width:68px; min-height:68px; }
:is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=editorial] .pod-single-grid { grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr); gap:44px; }
:is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=editorial] .summary { padding:28px; background:var(--canvas); border:1px solid var(--border); border-radius:var(--radius); }
.pod-product-editorial-story { min-width:0; }
.pod-product-editorial-story :is(.pod-product-information,.storefront__product-information,.pc-product-information,.shopProductInformation,.display-product-information,.commerce-product-information-wrapper) { margin-top:24px; }
:is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=stacked] .pod-product-heading { text-align:center; margin-inline:auto; }
:is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=stacked] .woocommerce-product-details__short-description { margin-inline:auto; }
.pod-product-feature-stage { background:var(--canvas); padding:26px; border:1px solid var(--border); border-radius:var(--radius); }
.pod-product-feature-stage .pod-gallery { max-width:620px; margin:auto; }
.pod-product-feature-stage .pod-thumbnails { justify-content:center; }
.pod-product-stacked-purchase { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:60px; max-width:1050px; margin:36px auto; }
.pod-product-stacked-purchase :is(.pod-product-information,.storefront__product-information,.pc-product-information,.shopProductInformation,.display-product-information,.commerce-product-information-wrapper) { margin:0; align-self:start; }
:is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=spotlight] .pod-single-grid { grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr); gap:54px; }
:is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=spotlight] .summary { padding:24px 0; }
:is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=spotlight] .pod-main-visual { border-radius:0; }
:is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=spotlight] .product_title { font-size:clamp(30px,3.2vw,45px); }
@media(max-width:1100px) {
 .pod-catalog-with-sidebar { grid-template-columns:210px minmax(0,1fr); gap:22px; }
 .pod-catalog-sidebar { padding:18px; }
 .pod-catalog-results-column :is(.pod-product-grid,.storefront__product-grid,.pc-product-grid,.shopProductGrid,.display-product-grid,.commerce-product-grid-wrapper) { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .pod-category-directory { grid-template-columns:repeat(3,minmax(0,1fr)); }
 :is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=editorial] .pod-single-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:26px; }
 :is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=editorial] .summary { padding:20px; }
 :is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=spotlight] .pod-single-grid { gap:30px; }
 .pod-product-stacked-purchase { gap:30px; }
 .pod-filter-form-directory { grid-template-columns:1fr 1fr; }
 .pod-filter-form-directory .pod-filter-actions { grid-column:1/-1; }
}
@media(max-width:767px) {
 .pod-archive[data-catalog-layout] .page-heading { flex-wrap:wrap; gap:12px; }
 .pod-archive .pod-result-count { font-size:12px; }
 .pod-archive[data-catalog-layout] .pod-catalog-toolbar { align-items:center; }
 .pod-archive[data-catalog-layout] .pod-catalog-toolbar select { max-width:100%; }
 .pod-archive[data-catalog-layout] .pod-catalog-toolbar .button { font-size:13px; padding-inline:14px; }
 .pod-archive[data-catalog-layout] .woocommerce-ordering { min-width:0; max-width:100%; }
 .pod-catalog-with-sidebar { display:block; }
 .pod-catalog-sidebar { margin-bottom:24px; padding:18px; }
 .pod-catalog-sidebar h2 { font-size:18px; margin-bottom:16px; }
 .pod-filter-form-sidebar { grid-template-columns:1fr 1fr; gap:14px; }
 .pod-filter-form-sidebar .pod-filter-actions { grid-column:1/-1; flex-direction:row; align-items:center; }
 .pod-filter-form-sidebar .pod-filter-actions .button { flex:1; }
 .pod-filter-form select { padding:10px; font-size:13px; }
 .pod-filter-form label { font-size:12px; }
 .pod-filter-actions .button { min-height:44px; font-size:13px; padding:10px 16px; }
 .pod-catalog-results-column>.pod-topic-tags { margin-top:0; }
 .pod-catalog-results-column :is(.pod-product-grid,.storefront__product-grid,.pc-product-grid,.shopProductGrid,.display-product-grid,.commerce-product-grid-wrapper) { gap:22px 12px; }
 .pod-category-directory { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 .pod-category-directory a { min-height:88px; padding:14px; gap:12px; }
 .pod-category-directory strong { font-size:14px; }
 .pod-directory-filters { padding:16px; }
 .pod-filter-form-directory { gap:14px; }
 .pod-catalog-intro-panel { grid-template-columns:1fr; padding:24px; gap:20px; }
 .pod-catalog-intro-panel>p { font-size:14px; line-height:1.7; }
 .pod-catalog-eyebrow { font-size:10px; margin-bottom:12px; }
 :is(.pod-card-body,.storefront__card-body,.pc-card-body,.shopCardBody,.display-card-body,.commerce-card-body-wrapper) { padding:8px 3px 4px; }
 .pod-product-card[data-card-layout=framed] { padding:5px; }
 .pod-product-card[data-card-layout=framed] .price { gap:5px; font-size:16px; flex-wrap:wrap; }
 .pod-card-category { font-size:9px; }
 :is(.pod-card-caption,.storefront__card-caption,.pc-card-caption,.shopCardCaption,.display-card-caption,.commerce-card-caption-wrapper) :is(.pod-card-title,.wd-entities-title,.pc-card-title,.shopCardTitle,.display-card-title,.commerce-card-title-wrapper) { font-size:13px; margin-top:10px; }
 .pod-product-heading { margin-bottom:22px; }
 :is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=editorial] .pod-single-grid,:is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=spotlight] .pod-single-grid,.pod-product-stacked-purchase { grid-template-columns:1fr; gap:24px; }
 :is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=editorial] .summary { padding:20px; }
 /* Spotlight keeps its desktop purchase-first markup; on a narrow screen the
    product image appears before the options without duplicating the form. */
 :is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=spotlight] .pod-single-grid>.pod-gallery { grid-row:1; }
 :is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=spotlight] .summary { padding:0; }
 :is(.pod-product-detail,.storefront__product-shell,.pc-product-shell,.shopProductShell,.display-product-shell,.commerce-product-shell-wrapper)[data-product-layout=spotlight] .product_title { font-size:30px; }
 .pod-product-feature-stage { padding:12px; }
 .pod-product-stacked-purchase { margin-block:26px; }
 .pod-gallery.pod-gallery-main-first .pod-thumbnails button { width:58px; min-height:58px; }
 .pod-product-options-title { font-size:22px; }
}
@media(max-width:359px) {
 .pod-archive .pod-catalog-toolbar { align-items:stretch; flex-direction:column; }
 .pod-archive .pod-catalog-toolbar .woocommerce-ordering { width:100%; margin-left:0; }
 .pod-archive .pod-catalog-toolbar select { width:100%; }
 .pod-filter-form-sidebar,.pod-filter-form-directory { grid-template-columns:1fr; }
 .pod-filter-actions { flex-wrap:wrap; }
}
