.product-grid-catalog{align-items:stretch;gap:24px}
.product-grid-catalog .product-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #e8e1d4;border-radius:5px;background:#fffdf8;box-shadow:0 10px 26px rgba(50,38,26,.055);transition:transform .22s ease,box-shadow .22s ease}
.product-grid-catalog .product-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(50,38,26,.11)}
.product-grid-catalog .machine-stage{height:clamp(260px,22vw,320px);min-height:0;overflow:hidden;background:radial-gradient(ellipse at 50% 78%,rgba(105,126,102,.12),transparent 47%),linear-gradient(180deg,#f7f6f1 0%,#eeeee8 100%)}
.product-grid-catalog .machine-stage::before{inset:0;border:0;background:radial-gradient(ellipse at 50% 0%,rgba(255,255,255,.8),transparent 68%)}
.product-grid-catalog .machine-stage::after{bottom:19px;left:34%;right:34%;height:8px;background:rgba(42,38,32,.16);filter:blur(10px)}
.product-grid-catalog .machine-photo{position:absolute!important;top:16px!important;left:16px!important;width:calc(100% - 32px)!important;height:calc(100% - 32px)!important;box-sizing:border-box!important;display:block;padding:0!important;object-fit:contain!important;object-position:center center;mix-blend-mode:multiply}
.product-grid-catalog .product-card-body{display:flex;flex:1;flex-direction:column;padding:20px 21px 22px}
.product-grid-catalog .product-card h3{margin-top:12px;font-size:25px;line-height:1.12}
.product-grid-catalog .product-card .product-consumption{margin:9px 0;color:#5b4536}
.product-grid-catalog .product-description{flex:1;color:#70665b;font-size:12px;line-height:1.75}
.product-grid-catalog .ingredients{margin-top:15px;padding-top:12px}
.product-grid-catalog .product-card .text-link{align-self:flex-start;margin-top:18px}
@media(max-width:760px){.product-grid-catalog{gap:17px}.product-grid-catalog .machine-stage{height:280px}.product-grid-catalog .product-card-body{padding:18px}}

/* Keep featured machine photos on the home page framed like the full catalog. */
.product-grid-home .machine-stage{height:clamp(260px,22vw,320px);min-height:0;overflow:hidden;background:radial-gradient(ellipse at 50% 78%,rgba(105,126,102,.12),transparent 47%),linear-gradient(180deg,#f7f6f1 0%,#eeeee8 100%)}
.product-grid-home .machine-stage::before{inset:0;border:0;background:radial-gradient(ellipse at 50% 0%,rgba(255,255,255,.8),transparent 68%)}
.product-grid-home .machine-stage::after{bottom:19px;left:34%;right:34%;height:8px;background:rgba(42,38,32,.16);filter:blur(10px)}
.product-grid-home .machine-photo{position:absolute!important;top:16px!important;left:16px!important;width:calc(100% - 32px)!important;height:calc(100% - 32px)!important;box-sizing:border-box!important;display:block;padding:0!important;object-fit:contain!important;object-position:center center;mix-blend-mode:multiply}
@media(max-width:760px){.product-grid-home .machine-stage{height:280px}}

.product-card-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:17px;padding-top:13px;border-top:1px solid #e8e1d4}
.product-grid-catalog .product-card .product-card-actions .text-link{margin:0;padding:0;border:0;background:none;font:700 11px var(--sans);cursor:pointer}
.product-grid-home .product-card .product-card-actions .text-link{margin:0;padding:0;border:0;background:none;font:700 11px var(--sans);line-height:1.6;text-align:left;appearance:none;cursor:pointer}
.product-card-actions .product-more-button{color:#526d5c}
.product-card-actions .product-inquiry-link{color:#806641}
.product-card-actions .text-link span{margin-left:3px}
.product-card .product-card-actions .text-link{min-height:28px}
.product-card-actions .product-inquiry-link{text-decoration:underline;text-underline-offset:.2em}
.product-dialog{width:min(980px,calc(100% - 36px));max-width:none;max-height:88vh;margin:auto;padding:0;overflow:hidden;border:1px solid rgba(102,79,51,.2);border-radius:8px;background:#fffdf8;color:#45372d;box-shadow:0 28px 90px rgba(24,20,15,.36)}
.product-dialog::backdrop{background:rgba(30,27,24,.72);backdrop-filter:blur(3px)}
.product-dialog-shell{display:flex;max-height:88vh;flex-direction:column}
.product-dialog-header{display:flex;flex:none;align-items:center;justify-content:space-between;gap:18px;padding:21px 27px;border-bottom:1px solid #e9e2d6;background:#fbf8f0}
.product-dialog-header .eyebrow{color:#987a46;font-size:9px;font-weight:700;letter-spacing:.15em;text-transform:uppercase}
.product-dialog-header h2{margin:4px 0 0;font:500 clamp(25px,3vw,34px)/1.08 var(--serif);letter-spacing:-.025em}
.product-dialog-close{display:grid;width:40px;height:40px;flex:none;place-items:center;border:1px solid #ded3bf;border-radius:50%;background:#fffdf8;color:#594739;font:300 27px/1 var(--sans);cursor:pointer;transition:background .2s,color .2s}
.product-dialog-close:hover{background:#563a2c;color:#fff}
.product-dialog-layout{display:grid;grid-template-columns:minmax(250px,.82fr) minmax(0,1.18fr);min-height:0;overflow-y:auto;overscroll-behavior:contain}
.product-dialog-visual{position:sticky;top:0;display:grid;min-height:420px;place-items:center;align-self:start;padding:28px;background:radial-gradient(ellipse at 50% 65%,rgba(105,126,102,.13),transparent 52%),linear-gradient(155deg,#f6f5ef,#eeeee7)}
.product-dialog-visual img{display:block;width:100%;height:min(58vh,510px);object-fit:contain;mix-blend-mode:multiply}
.product-dialog-visual span{color:#796d5e;font:500 22px var(--serif);text-align:center}
.product-dialog-copy{padding:27px 34px 31px}
.product-dialog-copy h3{margin:0 0 10px;color:#4c3729;font:600 20px/1.25 var(--serif)}
.product-dialog-copy h3:not(:first-child){margin-top:27px;padding-top:21px;border-top:1px solid #e8e1d4}
.product-dialog-copy p,.product-dialog-copy li{color:#665c51;font-size:13px;line-height:1.7}
.product-dialog-copy p{margin:0 0 13px}
.product-dialog-copy ul,.product-dialog-copy ol{display:grid;gap:5px;margin:0;padding-left:21px}
.product-dialog-copy li::marker{color:#a1814d}
.product-dialog-copy strong{color:#4e4033;font-weight:700}
.product-dialog-cta{margin-top:29px;padding:19px 20px;border:1px solid #e4dccb;background:#f7f4ec}
.product-dialog-cta p{margin-bottom:13px;font:500 17px/1.35 var(--serif);color:#4f3b2b}
.product-dialog-cta .button{min-height:43px}
@media(max-width:760px){.product-card-actions{gap:16px}.product-dialog{width:calc(100% - 20px);max-height:94vh;border-radius:6px}.product-dialog-shell{max-height:94vh}.product-dialog-header{padding:16px 18px}.product-dialog-close{width:36px;height:36px}.product-dialog-layout{grid-template-columns:1fr}.product-dialog-visual{position:relative;min-height:220px;padding:15px}.product-dialog-visual img{height:235px}.product-dialog-copy{padding:21px 19px 23px}.product-dialog-copy h3{font-size:19px}.product-dialog-copy p,.product-dialog-copy li{font-size:12px}}
