/* One calm storefront; merchandising data still comes from configured widgets. */
.home-refresh { --home-ink: #19344d; --home-muted: #526477; --home-line: #e2e8ef; background: #fff; color: var(--home-ink); font-family: iranyekan, Tahoma, sans-serif; }
.home-refresh ::selection { background: #ffdf73; color: #19344d; }
.home-refresh :focus-visible { outline: 3px solid #033593; outline-offset: 4px; }
.home-refresh [hidden] { display: none !important; }
.home-refresh .main-container { max-width: 1320px; padding-inline: 32px; }
.home-refresh .main-content { margin-top: 24px !important; }
.home-refresh .home-hero { display: block; border-radius: 16px; overflow: hidden; }
.home-refresh .home-hero img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; }
.home-refresh .home-category-section, .home-refresh .home-products-section, .home-refresh .home-magazine-section { margin-block: 40px; }
.home-refresh .home-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.home-refresh .home-section-heading h2 { margin: 0; color: var(--home-ink); font-family: inherit; font-size: 23px; line-height: 1.7; font-weight: 700; }
.home-refresh .home-section-heading > a { display: flex; align-items: center; min-height: 44px; color: #033593; font-size: 14px; }
.home-refresh .home-category-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.home-refresh .home-category-links a { display: flex; justify-content: space-between; align-items: center; min-height: 62px; gap: 12px; border-bottom: 1px solid var(--home-line); color: var(--home-ink); font-size: 15px; }
.home-refresh .home-category-links i { font-size: 24px; color: #033593; }
.home-refresh .home-product-tabs { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #98adc4 transparent; margin-bottom: 24px; border-bottom: 1px solid var(--home-line); }
.home-refresh .home-product-tabs button { position: relative; flex-shrink: 0; min-height: 48px; padding: 8px 2px 14px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--home-muted); font: inherit; font-size: 15px; cursor: pointer; }
.home-refresh .home-product-tabs button[aria-selected=true] { color: #033593; border-bottom-color: #033593; font-weight: 700; }
.home-refresh .home-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.home-refresh .home-product-grid > .item { min-width: 0; }
.home-refresh .product-card { height: 100%; background: white; box-shadow: none !important; border: 1px solid var(--home-line); border-radius: 12px; padding: 0; margin: 0; overflow: hidden; }
.home-refresh .product-card .product-head { height: 0; padding: 0; }
.home-refresh .product-card .rating-stars { display: none; }
.home-refresh .product-card .image-card { display: block; aspect-ratio: 1; height: auto; margin: 12px; }
.home-refresh .product-card .image-card img { width: 100%; height: 100%; object-fit: contain; }
.home-refresh .product-card .product-card-body { padding: 0 16px 16px; }
.home-refresh .product-card .product-title { height: auto; min-height: 54px; margin-block: 8px; }
.home-refresh .product-card .product-title a { font: 500 15px/27px iranyekan, Tahoma, sans-serif; color: var(--home-ink) !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.home-refresh .product-card .product-meta { color: var(--home-muted); font-size: 12px; line-height: 24px; }
.home-refresh .product-card .price-index-h { margin-block: 10px 14px; }
.home-refresh .product-card .product-price { font: 700 17px/28px iranyekan, Tahoma, sans-serif; color: var(--home-ink); font-variant-numeric: tabular-nums; }
.home-refresh .product-card .product-price-del { color: var(--home-muted); }
.home-refresh .product-card .cart { margin: 0; border-radius: 8px; }
.home-refresh .product-card .cart:has(> a) { background: #033593 !important; }
.home-refresh .product-card .cart a { min-height: 44px; justify-content: center; font-size: 13px; }
.home-refresh .home-view-all { display: flex; align-items: center; justify-content: center; gap: 12px; width: fit-content; min-height: 48px; margin: 24px auto 0; padding: 8px 24px; color: #033593; border: 1px solid #bdcbdd; border-radius: 8px; font-size: 14px; }
.home-refresh .home-article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-refresh .home-article { color: var(--home-ink); }
.home-refresh .home-article img { display: block; width: 100%; aspect-ratio: 1.8; object-fit: cover; border-radius: 12px; }
.home-refresh .home-article h3 { font: 700 16px/1.9 iranyekan, Tahoma, sans-serif; margin-top: 12px; }
.home-refresh .main-footer { margin-top: 48px; border-top: 1px solid var(--home-line); }
@media (hover: hover) and (pointer: fine) {
    .home-refresh .home-category-links a:hover, .home-refresh .home-article:hover { color: #033593; }
    .home-refresh .product-card:hover { border-color: #98adc4; }
}
@media (max-width: 992px) {
    .home-refresh .main-container { padding-inline: 20px; }
    .home-refresh .home-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .home-refresh .main-container { padding-inline: 16px; }
    .home-refresh .main-content { margin-top: 16px !important; }
    .home-refresh .home-hero { border-radius: 12px; }
    .home-refresh .home-category-section, .home-refresh .home-products-section, .home-refresh .home-magazine-section { margin-block: 28px; }
    .home-refresh .home-section-heading { gap: 8px; margin-bottom: 12px; }
    .home-refresh .home-section-heading h2 { font-size: 19px; }
    .home-refresh .home-section-heading > a { font-size: 12px; }
    .home-refresh .home-category-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
    .home-refresh .home-category-links a { font-size: 13px; min-height: 58px; gap: 6px; }
    .home-refresh .home-category-links i { font-size: 20px; }
    .home-refresh .home-product-tabs { gap: 20px; margin-bottom: 16px; }
    .home-refresh .home-product-tabs button { font-size: 13px; }
    .home-refresh .home-product-grid { gap: 12px; }
    .home-refresh .product-card .image-card { margin: 8px; }
    .home-refresh .product-card .product-card-body { padding: 0 10px 12px; }
    .home-refresh .product-card .product-title { min-height: 48px; }
    .home-refresh .product-card .product-title a { font-size: 13px; line-height: 24px; }
    .home-refresh .product-card .product-price { font-size: 14px; }
    .home-refresh .product-card .cart a { font-size: 12px; }
    .home-refresh .product-card .cart a i { padding-inline: 3px !important; }
    .home-refresh .product-card .image-hover { display: none; }
    .home-refresh .home-article-grid { grid-template-columns: 1fr; gap: 20px; }
    .home-refresh .home-article { display: flex; gap: 16px; align-items: center; }
    .home-refresh .home-article img { width: 104px; height: 80px; flex-shrink: 0; }
    .home-refresh .home-article h3 { margin: 0; font-size: 14px; }
}
