.home-main .home-store{padding:0;background:var(--ip-surface)}.home-store__photo{display:block;position:relative;isolation:isolate;width:100%;overflow:hidden;background:var(--ip-surface);aspect-ratio:1672/941}.home-store__photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:60% 50%}.home-main .home-products{padding:48px 0 64px}.home-products .section-head{gap:24px}.home-products h2{font-size:clamp(28px,3.4vw,40px)}@media(max-width:600px){.home-store__photo{aspect-ratio:4/3}.home-main .home-products{padding:32px 0 48px}.home-products .section-head{align-items:flex-start;gap:16px}.home-products .section-head h2{max-width:220px}.home-products .text-link{font-size:13px;white-space:nowrap}}

.home-products__note{margin:12px 0 0;font-size:14px;color:var(--ip-text-muted)}

/* Full-width photograph, blended into the active light/dark surfaces. */
.home-store__photo::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,var(--ip-bg) 0%,var(--ip-bg) 1%,transparent 18%),linear-gradient(0deg,var(--ip-surface) 0%,var(--ip-surface) 3%,transparent 24%)}

/* Compact storefront product cards: name, price and purchase inquiry actions. */
.home-products .product-card--compact .product-card__body{padding:24px;gap:12px;text-align:left;align-items:stretch}
.home-products .product-card--compact .product-card__name{font-size:18px;line-height:24px;min-height:48px;letter-spacing:-.025em}
.home-products .product-card--compact .product-card__price{font-size:24px;line-height:30px;padding:0;margin:0}
.home-products .product-card--compact .product-card__actions{justify-content:flex-start;gap:8px 16px;margin:0;flex-wrap:wrap}
.home-products .product-card--compact .btn{min-height:44px;padding:10px 18px;font-size:13px}
.home-products .product-card--compact .product-card__details{font-size:13px;min-height:44px;display:inline-flex;align-items:center;padding:8px 0}
@media(max-width:600px){.home-products .product-card--compact .product-card__body{padding:20px}.home-products .product-card--compact .product-card__name{min-height:0}}

/* Remove the header rule and seal subpixel edges of the photo blend. */
.home-page .site-header{border-bottom:0;background:var(--ip-bg)}

.home-main .home-products{position:relative;z-index:1;margin-top:-2px}

/* Compact horizontal product gallery, with native touch and keyboard scrolling. */
.home-product-track{display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:0;padding:4px 0 12px;scrollbar-width:none;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch}
.home-product-track::-webkit-scrollbar{display:none}
.home-product-track>.product-card{flex:0 0 calc((100% - 48px)/4);min-width:0;scroll-snap-align:start;scroll-snap-stop:normal;align-self:stretch}
.home-products .product-card--compact .product-card__body{padding:16px;gap:10px}
.home-products .product-card--compact .product-card__name{font-size:16px;line-height:22px;min-height:44px;max-height:44px;overflow:hidden}
.home-products .product-card--compact .product-card__price{font-size:22px;line-height:28px}
.home-products .product-card--compact .product-card__actions{margin-top:auto;gap:8px 12px}
.home-products .product-card--compact .btn{padding:10px 12px;font-size:12px}
.home-products .product-card--compact .product-card__details{font-size:12px}
.home-product__media{position:relative;display:block;flex:none;height:128px;overflow:hidden;background:var(--card-bg)}
.home-product__media .product-image-frame{inset:12px 20px 22px}
.home-product__media .product-illustration{padding:12px 24px 24px}
.home-product__media .product-illustration>svg{width:90px;max-width:90px;padding:0;max-height:90px}
.home-product__media .product-illustration>span,.home-product__media .product-photo-caption{font-size:10px;bottom:4px;line-height:14px}
.home-products__tools{display:flex;align-items:center;gap:24px}
.home-carousel__controls{display:flex;gap:8px}
.home-carousel__controls[hidden]{display:none}
.home-carousel__controls button{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:1px solid var(--ip-border);border-radius:50%;background:var(--card-bg);color:var(--ip-accent);cursor:pointer}
.home-carousel__controls button:disabled{opacity:.3;cursor:default}
.home-carousel__controls svg{width:20px;height:20px}
@media(min-width:640px) and (max-width:1023px){.home-product-track>.product-card{flex-basis:calc((100% - 32px)/3)}}
@media(max-width:639px){.home-product-track>.product-card{flex-basis:78%}.home-carousel__controls{display:none}.home-products__tools{gap:0}.home-product__media{height:120px}.home-products .product-card--compact .product-card__name{min-height:44px}}
@media(prefers-reduced-motion:reduce){.home-product-track{scroll-behavior:auto}}

/* Product cards and controls aligned with the supplied store reference. */
.home-products .product-card--compact{border:1px solid var(--ip-border);border-radius:20px;background:var(--card-bg);box-shadow:0 1px 3px #0000000a}
.home-product__media{height:auto;aspect-ratio:1;background:var(--photo-bg);color:var(--ip-text-muted)}
:root[data-theme="dark"] .home-product__media{background:var(--ip-bg)}
.home-product__placeholder{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:24px}
.home-product__placeholder>span{font-size:clamp(25px,2.5vw,36px);font-weight:600;letter-spacing:-.06em;color:var(--ip-text-muted);opacity:.55;white-space:nowrap}
.home-product__media .product-image-frame{inset:24px 24px 28px}
.home-product__badge{position:absolute;right:12px;top:12px;padding:5px 10px;border:1px solid var(--ip-border);border-radius:980px;color:var(--ip-accent);background:var(--ip-surface);font-size:10px;line-height:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.home-products .product-card--compact .product-card__body{padding:18px 16px 20px;gap:12px}
.home-products .product-card--compact .product-card__name{font-size:16px;line-height:23px;min-height:46px;max-height:46px;letter-spacing:-.02em}
.home-products .product-card--compact .product-card__price{font-size:22px;line-height:28px;font-weight:600}
.home-product__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px;border-top:1px solid var(--ip-border);margin-top:auto}
.home-product__actions .btn{display:inline-flex;justify-content:center;align-items:center;gap:6px;width:100%;min-width:0;min-height:44px;padding:10px 8px;font-size:12px;line-height:18px;white-space:nowrap}
.home-product__actions .btn--primary{background:transparent;border:1px solid var(--ip-border);color:var(--ip-text)}
.home-product__actions .btn--primary:hover{background:var(--ip-surface)}
.home-product__actions .icon{width:17px;height:17px;flex:none}
.home-product__actions .home-product__details{background:var(--action-bg);color:var(--action-text);border:1px solid transparent}
.home-product__actions .home-product__details:hover{filter:brightness(.95)}
.home-carousel{position:relative}
.home-carousel__controls{position:absolute;inset:0;display:block;pointer-events:none;z-index:2}
.home-carousel__controls button{position:absolute;top:50%;transform:translateY(-50%);pointer-events:auto;box-shadow:0 1px 4px #00000010;color:var(--ip-text)}
.home-carousel__controls button:first-child{left:12px}
.home-carousel__controls button:last-child{right:12px}
@media(min-width:640px) and (max-width:1023px){.home-carousel__controls button:first-child{left:12px}.home-carousel__controls button:last-child{right:12px}}
@media(max-width:639px){.home-carousel__controls{display:none}.home-product__media{height:auto;aspect-ratio:1}.home-product__placeholder>span{font-size:32px}}

.home-product__media,.home-product__media:hover{text-decoration:none}

.home-carousel__toggle{min-height:44px;padding:8px 0;border:0;background:transparent;color:var(--ip-text-muted);font:inherit;font-size:12px;cursor:pointer}.home-carousel__toggle:hover{color:var(--ip-accent)}.home-carousel__toggle[hidden]{display:none}@media(max-width:639px){.home-products__tools{gap:12px}}

.home-store__photo { aspect-ratio: auto; height: clamp(230px, 32vw, 460px); }
.home-store__photo::after {
  background: linear-gradient(180deg, var(--ip-bg), transparent 12%),
              linear-gradient(0deg, var(--ip-surface), transparent 22%);
}
.home-main .home-products { padding-top: 32px; }
@media (max-width: 600px) {
  .home-store__photo { height: clamp(200px, 59vw, 315px); }
}
