/* Catalog layout only. Shared card visuals come from the homepage bundle. */
#gh.gb-catalog{padding:30px 28px 36px;min-height:60vh}
#gh.gb-catalog .gb-catalog-inner{max-width:1280px;margin-inline:auto}
#gh.gb-catalog .gb-catalog-breadcrumb{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px;margin-bottom:24px;flex-wrap:wrap}
#gh.gb-catalog .gb-catalog-breadcrumb a:hover{color:var(--accent)}
#gh.gb-catalog .gb-catalog-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}
#gh.gb-catalog h1{font-family:iranyekan-display,iranyekan,sans-serif;font-size:32px;line-height:1.6;font-weight:900;margin:0}
#gh.gb-catalog .gb-catalog-heading p{color:var(--muted);font-size:12px;margin-top:8px}
#gh.gb-catalog .gb-catalog-search{display:flex;gap:8px;max-width:380px;width:100%}
#gh.gb-catalog .gb-catalog-search input{width:100%;min-width:0;min-height:44px;padding:9px 14px;border:1px solid var(--line);border-radius:9px;background:var(--panel);color:var(--text);outline-offset:3px}
#gh.gb-catalog .gb-catalog-search input::placeholder{color:var(--muted)}
#gh.gb-catalog .gb-catalog-search button{background:var(--accent);color:#151515;border:0;border-radius:9px;padding:9px 16px;min-height:44px;flex-shrink:0}
html[data-gb-theme=light] #gh.gb-catalog .gb-catalog-search button{background:#FBC11D}
#gh.gb-catalog .gb-catalog-products,#gh.gb-catalog .gb-catalog-subscriptions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;overflow:visible;padding:0;touch-action:auto!important;cursor:auto;scroll-snap-type:none!important}
#gh.gb-catalog .gb-catalog-subscriptions{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
#gh.gb-catalog .gh-product,#gh.gb-catalog .gh-sub-card{min-width:0;margin:0;flex:none}
#gh.gb-catalog .gh-product{height:100%}
#gh.gb-catalog .gh-product>a{height:100%;display:flex;flex-direction:column}
#gh.gb-catalog .gh-product-body{flex:1;display:flex;flex-direction:column}
#gh.gb-catalog .gh-product-body h2{font-family:danafn,sans-serif;font-size:15px;font-weight:650;line-height:1.6;margin:0;direction:ltr;text-align:right;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#gh.gb-catalog .gh-product-price{margin-top:auto;padding-top:12px}
#gh.gb-catalog .gh-product-price small{font-size:11px}
#gh.gb-catalog .gh-cover{aspect-ratio:1;overflow:hidden}
#gh.gb-catalog .gh-cover img{width:100%;height:100%;object-fit:cover}
#gh.gb-catalog .gh-sub-card{display:flex;flex-direction:column;overflow:hidden}
#gh.gb-catalog .gb-catalog-sub-image{display:block}
#gh.gb-catalog .gh-sub-visual{width:100%;height:auto;min-height:0;aspect-ratio:1}
#gh.gb-catalog .gh-sub-visual img{width:100%;height:100%;object-fit:contain}
#gh.gb-catalog .gh-sub-body{flex:1;display:flex;flex-direction:column;padding:24px}
#gh.gb-catalog .gh-sub-body h2{font-family:iranyekan-display,iranyekan,sans-serif;font-size:22px;font-weight:900;line-height:1.7;margin:0 0 12px}
#gh.gb-catalog .gh-sub-body p{min-height:3.8em}
#gh.gb-catalog .gh-sub-body ul{margin-bottom:24px}
#gh.gb-catalog .gb-catalog-sub-price{margin-top:auto;font-size:18px;font-weight:750;padding-bottom:18px}
#gh.gb-catalog .gb-catalog-sub-price small{font-size:11px}
#gh.gb-catalog .gb-catalog-sub-price .woocommerce-Price-currencySymbol{font-size:11px;color:var(--muted)}
#gh.gb-catalog .gh-sub-body .gb-catalog-buy{margin-top:0;min-height:46px;align-items:center}
#gh.gb-catalog .gb-catalog-pagination{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:32px}
#gh.gb-catalog .gb-catalog-pagination .page-numbers{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 14px;border:1px solid var(--line);background:var(--panel);border-radius:9px}
#gh.gb-catalog .gb-catalog-pagination .current,#gh.gb-catalog .gb-catalog-pagination a:hover{background:var(--accent);color:#151515}
#gh.gb-catalog .gb-catalog-empty{padding:50px 20px;background:var(--panel);border-radius:14px;text-align:center}
#gh.gb-catalog .gb-catalog-empty a{display:inline-block;margin-top:16px;color:var(--accent)}
#gh.gb-catalog a:focus-visible,#gh.gb-catalog button:focus-visible,#gh.gb-catalog input:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
@media(max-width:1000px){#gh.gb-catalog .gb-catalog-products{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}#gh.gb-catalog .gb-catalog-subscriptions{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#gh.gb-catalog .gh-sub-body{padding:18px}#gh.gb-catalog .gh-sub-body h2{font-size:19px}}
@media(max-width:760px){#gh.gb-catalog{padding:22px 16px 28px}#gh.gb-catalog .gb-catalog-heading{align-items:stretch;flex-direction:column;gap:18px}#gh.gb-catalog h1{font-size:26px}#gh.gb-catalog .gb-catalog-search{max-width:none}#gh.gb-catalog .gb-catalog-subscriptions{grid-template-columns:repeat(2,minmax(0,1fr))}#gh.gb-catalog .gh-sub-body{padding:18px}#gh.gb-catalog .gh-sub-body h2{font-size:19px}}
@media(max-width:600px){#gh.gb-catalog .gb-catalog-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#gh.gb-catalog .gb-catalog-subscriptions{grid-template-columns:minmax(0,1fr);gap:20px}#gh.gb-catalog .gh-product-body{padding:12px}#gh.gb-catalog .gh-product-body h2{font-size:12px}#gh.gb-catalog .gh-product-type{font-size:9px;gap:4px;flex-wrap:wrap}#gh.gb-catalog .gh-product-price .amount{font-size:13px}#gh.gb-catalog .gh-product-price .woocommerce-Price-currencySymbol{font-size:9px}#gh.gb-catalog .gh-sub-body h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){#gh.gb-catalog *,#gh.gb-catalog *::before,#gh.gb-catalog *::after{transition:none!important;animation:none!important}}
