/* Home-only shelves: catalog and detail grids keep their original layout. */
.home-collections{padding:12px 0 18px}.home-shelf{padding-top:55px;padding-bottom:24px}.shelf-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}.shelf-kicker{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:12px}.shelf-kicker>span{font:11px Georgia;color:var(--gold);border-bottom:1px solid var(--gold);padding-bottom:4px}.shelf-heading h2{font:500 40px/1.5 var(--serif);margin:7px 0 0;display:flex;align-items:center;gap:17px}.shelf-heading h2 small{font:11px var(--sans);color:var(--muted);border:1px solid var(--line);border-radius:30px;padding:6px 10px;white-space:nowrap}.shelf-view-all{display:flex;gap:12px;align-items:center;font-size:12px;white-space:nowrap}.shelf-view-all svg{width:21px;height:21px}.rail-shell{position:relative}.product-rail{display:flex;gap:22px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;padding:16px 3px 12px;margin:-16px -3px 0;direction:rtl;cursor:grab;-webkit-overflow-scrolling:touch}.product-rail::-webkit-scrollbar{display:none}.product-rail.is-dragging{cursor:grabbing;scroll-snap-type:none;scroll-behavior:auto;user-select:none}.product-rail:focus-visible{outline-offset:6px;border-radius:8px}.rail-item{flex:0 0 calc((100% - 66px)/4);min-width:0;scroll-snap-align:start;--rail-focus:1;--rail-turn:0deg;--rail-lift:0px}.home-shelf .product-card{height:100%;background:#fffdf9;border:1px solid #e5e4d9;border-radius:15px;overflow:hidden;transition:box-shadow .25s,border-color .25s}.home-shelf .product-card:hover{border-color:#c6cdbb;box-shadow:0 9px 24px #193c3010}.home-shelf .product-image{border-radius:0;height:210px;background:linear-gradient(145deg,#eef0e7,#e3e9df)}.home-shelf:nth-child(2) .product-image{background:linear-gradient(145deg,#eee8db,#e4d7c3)}.home-shelf .rail-item:nth-child(3n+2) .product-image{background:linear-gradient(145deg,#f1eee7,#e7e2d6)}.home-shelf .rail-item:nth-child(3n) .product-image{background:linear-gradient(145deg,#e9eee8,#e0e6dc)}.home-shelf .product-info{padding:16px 17px 18px}.home-shelf .product-name{font-family:var(--sans);font-size:17px;line-height:1.5;min-height:51px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin-top:7px}.home-shelf .brand{font-size:10px;letter-spacing:.4px}.home-shelf .product-sub{font-size:10px;min-height:20px}.home-shelf .price{font-size:20px}.home-shelf .heart{background:#faf8f3db;border:1px solid #ffffffa6;backdrop-filter:blur(8px);top:12px;left:12px;width:33px;height:33px}.home-shelf .add-btn{border-radius:50%;background:#eff1e8;border-color:#dfe4d7}.home-shelf .image-note{border-radius:20px;padding:3px 8px;background:#ffffffa3}.home-shelf .product-image img,.home-shelf .product-image .bottle-svg{transform:translateY(var(--rail-lift)) rotate(var(--rail-turn)) scale(calc(.95 + var(--rail-focus)*.05));transition:transform 160ms ease-out;will-change:auto}.home-shelf .product-image:hover img,.home-shelf .product-image:hover .bottle-svg{transform:translateY(-4px) rotate(-2deg) scale(1.06)}.rail-footer{display:flex;gap:24px;align-items:center;margin-top:18px;padding:0 2px}.rail-hint{display:flex;gap:12px;font-size:11px;color:var(--muted);white-space:nowrap}.rail-hint>span{color:var(--gold)}.rail-progress{height:2px;background:#e0e2d7;max-width:280px;flex:1;position:relative;overflow:hidden;direction:rtl}.rail-progress>span{position:absolute;inset-block:0;right:0;min-width:24px;background:var(--gold);width:var(--rail-visible,20%);transform:translateX(calc(-1 * var(--rail-offset,0px)))}.rail-buttons{display:flex;gap:8px;margin-inline-start:auto}.rail-buttons button{border:1px solid #d9ddcf;background:none;width:38px;height:38px;border-radius:50%;font:20px Georgia;transition:.2s}.rail-buttons button:hover:not(:disabled){background:var(--forest);color:white;border-color:var(--forest)}.rail-buttons button:disabled{opacity:.3}.shelf-empty{font-size:13px;padding:30px;background:var(--light);color:var(--muted);border-radius:12px}
@media(max-width:1050px){.rail-item{flex-basis:calc((100% - 44px)/3)}.home-shelf .product-image{height:200px}}
@media(max-width:760px){.home-shelf{padding-top:34px;padding-bottom:10px}.shelf-heading{margin-bottom:17px}.shelf-heading h2{font-size:31px;gap:10px}.shelf-heading h2 small{font-size:9px;padding:5px 8px}.shelf-kicker{font-size:10px;gap:8px}.shelf-view-all{font-size:10px;gap:5px}.shelf-view-all svg{width:17px}.product-rail{gap:14px;margin-inline-end:-22px;padding-inline-end:22px;scroll-padding-inline-start:0}.rail-item{flex-basis:72%;max-width:300px}.home-shelf .product-image{height:170px}.home-shelf .product-info{padding:14px}.home-shelf .product-name{font-size:16px;min-height:48px}.home-shelf .brand{font-size:9px}.home-shelf .product-sub{font-size:10px}.home-shelf .price{font-size:19px}.home-shelf .heart{width:31px;height:31px}.rail-footer{margin-top:12px;gap:15px}.rail-hint{font-size:10px}.rail-buttons button{width:32px;height:32px;font-size:18px}.rail-progress{max-width:110px}.home-collections{padding-bottom:30px}}
@media(prefers-reduced-motion:reduce){.product-rail{scroll-behavior:auto}.home-shelf .product-card,.home-shelf .product-image img,.home-shelf .product-image .bottle-svg{transition:none}.home-shelf .product-image img,.home-shelf .product-image .bottle-svg,.home-shelf .product-image:hover img,.home-shelf .product-image:hover .bottle-svg{transform:none}}

.home-shelf .product-image img[data-product-image]{padding:0;object-fit:cover;transform:translateY(calc(var(--rail-lift) * -.25)) rotate(calc(var(--rail-turn) * .25)) scale(1.025)}
@media(prefers-reduced-motion:reduce){.home-shelf .product-image img[data-product-image]{transform:none}}
