/* Touch layouts are the default; larger screens enhance the same controls. */
input,select,textarea{font-size:16px;min-height:44px}
.catalogue-section .catalogue-search input,.catalogue-section .catalogue-filters input,.catalogue-section .catalogue-filters select{font-size:16px;min-height:46px}
.catalogue-section .universe-tabs button{min-height:44px}
.catalogue-section .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px}
.product-card .product-title{font-size:23px;line-height:1.15;overflow-wrap:break-word}
.product-card .product-title button{min-height:44px}
.product-card .favorite{width:44px;min-height:44px;right:4px;top:4px;font-size:23px}
.product-card .product-actions .button{min-height:46px;font-size:11px}
.product-card .product-bottom{gap:6px;flex-wrap:wrap}
.product-card .product-bottom strong{font-size:14px}
.perfume-dialog .dialog-close{min-height:44px}
.perfume-format label{min-height:46px}
.perfume-format{display:flex;flex-wrap:wrap;gap:10px;min-width:0}
.perfume-format legend{width:100%}
.perfume-format label{max-width:100%;white-space:normal}
.product-description,.product-availability,.olfactive-notes-flat{overflow-wrap:anywhere}
.perfume-detail-copy>#product-add{width:100%;white-space:normal;min-height:46px}
.discovery-copy h1{font-size:clamp(48px,15.5vw,62px)}
.catalogue-section .filters>*,.catalogue-section .product-grid>*{min-width:0}
.public-pagination{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:35px}
.public-pagination p{font-size:11px;color:var(--muted);margin:0}
.public-pagination .button{min-height:46px}
@media(min-width:768px){input,select,textarea{font-size:13px}.catalogue-section .catalogue-search input,.catalogue-section .catalogue-filters input,.catalogue-section .catalogue-filters select{font-size:13px}.catalogue-section .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 24px}.product-card .product-title{font-size:27px}.discovery-copy h1{font-size:68px}}
@media(min-width:1100px){.catalogue-section .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.discovery-copy h1{font-size:clamp(68px,5.5vw,83px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.notice-close{width:44px;min-height:44px}.notice{padding-right:50px}
.customer-page .checkout-partner summary{min-height:44px;display:flex;align-items:center}
@media(max-width:767px){.catalogue-section .catalogue-sort select{font-size:16px;min-height:44px;max-width:100%}.catalogue-section .catalogue-sort{flex-wrap:wrap}}

/* Product sheet: the close control overlays the image, without reserving a blank row. */
.perfume-dialog{border:0;overscroll-behavior:contain;scrollbar-width:thin;animation:product-sheet-in .22s ease-out}
.product-dialog-controls{position:sticky;top:12px;z-index:5;height:0;display:flex;justify-content:flex-end;padding-right:12px;pointer-events:none}
.perfume-dialog .product-dialog-controls .dialog-close{position:static;margin:0;padding:0;width:44px;min-width:44px;height:44px;min-height:44px;display:grid;place-items:center;border:1px solid #1719181a;border-radius:50%;background:#fffdf9f5;color:#171918;-webkit-text-fill-color:#171918;box-shadow:0 2px 12px #17191812;pointer-events:auto;cursor:pointer}
.product-dialog-controls svg,.product-quantity svg,.product-added svg{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.perfume-dialog .dialog-close:focus:not(:focus-visible){outline:none}
.perfume-dialog :focus-visible{outline:2px solid #171918;outline-offset:4px}
.perfume-detail-copy{padding-top:32px}
.perfume-detail-copy .product-purchase{margin:24px 0 30px}
.product-quantity{display:grid;grid-template-columns:1fr auto;gap:8px 16px;align-items:center;margin:20px 0}
.product-quantity>label{font-size:13px;font-weight:500}
.product-quantity-help{grid-column:1/-1;font-size:10px;line-height:1.5;color:var(--muted)}
.quantity-stepper{display:grid;grid-template-columns:44px 44px 44px;align-items:center;border:1px solid var(--line);background:var(--paper)}
.quantity-stepper button{display:grid;place-items:center;min-height:44px;padding:0;border:0;background:none;color:#171918;cursor:pointer}
.quantity-stepper button:disabled{opacity:.3;cursor:default}
.quantity-stepper input{min-width:0;width:44px;min-height:44px;padding:0;border:0;background:none;text-align:center;font:inherit;color:var(--ink);appearance:textfield;-moz-appearance:textfield;border-radius:0}
.quantity-stepper input::-webkit-inner-spin-button,.quantity-stepper input::-webkit-outer-spin-button{appearance:none;margin:0}
#product-detail .product-purchase>#product-add{width:100%;min-height:52px;margin:0;transition:background .18s ease}
#product-detail .product-purchase>#product-add:disabled{cursor:default}
.product-added{margin-top:16px;padding:18px;background:#f1eee6;border:1px solid #ddd6c8}
.product-added.is-added{animation:product-added-in .25s ease-out}
.product-added-title{display:flex;align-items:center;gap:10px;margin:0;color:#171918;font-size:13px}
.product-add-status{min-height:0;font-size:12px;line-height:1.7;color:#514d43;margin:8px 0 14px}
#product-detail .product-added .button{display:flex;justify-content:center;align-items:center;gap:10px;min-height:48px;margin:0;font-size:12px;text-decoration:none}
.product-continue{display:block;min-height:44px;width:100%;padding:10px 0 0;border:0;background:none;font:inherit;font-size:11px;text-decoration:underline;text-underline-offset:4px;color:#171918;cursor:pointer}
.product-purchase-error{padding:12px;border-left:2px solid #614637;font-size:12px;line-height:1.6}
.cart-count-added{animation:cart-count-pulse .32s ease-out}
@keyframes product-sheet-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@keyframes product-added-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@keyframes cart-count-pulse{50%{transform:scale(1.2)}}
@media(max-width:767px){.perfume-detail-layout{display:block}.perfume-dialog{width:calc(100vw - 20px);max-height:94dvh}.perfume-detail-media .olfactory-world>img{width:100%;height:min(54dvh,440px);aspect-ratio:auto;object-fit:contain}.perfume-detail-media .world-label{padding:9px 20px}.perfume-detail-copy{padding:24px 22px 30px}.perfume-detail-copy .product-description{font-size:14px;line-height:1.8}.perfume-format label{font-size:13px;min-height:48px}.perfume-format legend{font-size:12px}.product-availability{font-size:12px;line-height:1.7}.perfume-detail-copy .product-price{font-size:22px}.perfume-detail-copy h2{font-size:42px}.product-quantity-help{font-size:11px}}
@media(prefers-reduced-motion:reduce){.perfume-dialog,.product-added.is-added,.cart-count-added{animation:none}#product-detail .product-purchase>#product-add{transition:none}}
