/* Casa Bene wine catalogue and product detail, 2026-10-21.
   Restrained ivory, warm gold and editorial typography; stock alone uses traffic colours. */
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;max-width:1180px;margin-top:36px}
.more-inner{max-width:1180px}
.wine-card{display:grid;grid-template-columns:minmax(155px,37%) minmax(0,1fr);min-height:352px;background:#fffefa;border:1px solid #e6ded0;box-shadow:0 6px 22px rgba(45,41,31,.025);text-align:left;transition:box-shadow .22s,border-color .22s;cursor:pointer}
.wine-card:hover{border-color:#ccb78e;box-shadow:0 12px 30px rgba(45,41,31,.065)}
.wine-card-media{position:relative;display:flex;align-items:center;justify-content:center;background:linear-gradient(150deg,#faf7f0,#f5f0e6);border-right:1px solid #ede6da;overflow:hidden}
.wine-card-media img{display:block;width:100%;height:300px;max-height:100%;object-fit:contain;padding:10px 9px;transition:transform .4s}
.wine-card:hover .wine-card-media img{transform:scale(1.035)}
.wine-card-body{min-width:0;padding:23px 24px 20px;display:flex;flex-direction:column}
.wine-kicker{margin:0 0 7px!important;color:#9a7d4c!important;font:500 10px/1.6 "DM Sans",sans-serif!important;letter-spacing:.18em;text-transform:uppercase}
.wine-card-title{font:400 clamp(24px,2.2vw,32px)/1.08 "Cormorant Garamond",Georgia,serif;letter-spacing:-.01em;display:block;margin-bottom:6px;color:#263e34}
.wine-card-title:hover{text-decoration:underline;text-decoration-color:#bda06b;text-underline-offset:4px}
.wine-card-desc{margin:0 0 10px!important;color:#807b73!important;line-height:1.55!important;font-size:11px!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.wine-card-meta{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:2px 0 13px;color:#81796b;font-size:10px}
.wine-stock{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:10px;font-weight:600;letter-spacing:.035em}
.wine-stock-dot{height:7px;width:7px;border-radius:50%;display:inline-block;background:#708f74}
.wine-stock--in{color:#426b47}.wine-stock--in .wine-stock-dot{background:#4d9554}
.wine-stock--low{color:#a06e24}.wine-stock--low .wine-stock-dot{background:#d8a037}
.wine-stock--out{color:#a04946}.wine-stock--out .wine-stock-dot{background:#c65d56}
.wine-stock--neutral{color:#80796c}.wine-stock--neutral .wine-stock-dot{background:#b6aca0}
.wine-card-controls{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin-top:auto}
.wine-card-controls label,.wine-card-qty{display:flex;flex-direction:column;gap:6px;font-size:9px!important;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:#81735a}
.wine-card-controls select{width:100%;min-width:0;padding:10px 26px 10px 10px;border:1px solid #e5ddcf;background:#fffefa;color:#294037;font:400 11px/1.3 "DM Sans",sans-serif;letter-spacing:0;text-transform:none;border-radius:0}
.wine-quantity{display:inline-flex;align-items:center;border:1px solid #e5ddcf;background:#fffefa;height:39px}
.wine-quantity button{height:100%;width:26px;flex:0 0 26px;border:0;background:transparent;color:#3a5043;font-size:16px;cursor:pointer}
.wine-quantity button:hover:not(:disabled){background:#f8f2e8}
.wine-quantity button:disabled{opacity:.25;cursor:default}
.wine-quantity input{height:100%;width:30px;padding:0 1px;border:0;background:transparent;text-align:center;color:#294037;font:500 12px "DM Sans",sans-serif;appearance:textfield;-moz-appearance:textfield}
.wine-quantity input::-webkit-inner-spin-button,.wine-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.wine-card-footer{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:13px;padding-top:13px;border-top:1px solid #e9e2d6}
.wine-price{display:flex;flex-direction:column;gap:2px;min-width:0}
.wine-price strong{font:500 23px/1 "Cormorant Garamond",Georgia,serif;white-space:nowrap;color:#253d32}
.wine-price small{font-size:9px;white-space:nowrap;color:#8b8275}
.wine-card .wine-buy{padding:10px 11px;letter-spacing:.06em;font-size:9px;white-space:nowrap;gap:5px;min-width:0}
.wine-card .wine-buy:disabled{opacity:.5;cursor:default}
.wine-detail-link{display:inline-flex;align-items:center;gap:8px;margin-top:11px;align-self:flex-start;border-bottom:1px solid #d3be95;color:#846e47;font-size:10px;letter-spacing:.04em;padding-bottom:3px}
.wine-detail-link:hover{color:#263e34}
.wine-product-page{background:#fffefa}
.wine-product-page .commerce-container{max-width:1180px}
.wine-breadcrumb{display:flex;flex-wrap:wrap;gap:11px;align-items:center;margin:0 0 27px;font-size:11px;color:#8a8274}
.wine-breadcrumb a:hover{text-decoration:underline;text-underline-offset:3px}
.wine-breadcrumb>span:last-child{color:#2b4035}
.wine-detail-layout{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);align-items:start;gap:clamp(32px,5vw,75px)}
.wine-gallery-main{display:grid;place-items:center;min-height:510px;background:linear-gradient(145deg,#faf8f2,#f6f1e8);border:1px solid #ebe2d4}
.wine-gallery-main img{width:100%;height:auto;max-height:600px;min-height:350px;object-fit:contain;padding:16px 35px}
.wine-thumbnails{display:flex;gap:13px;margin-top:13px;flex-wrap:wrap}
.wine-thumbnails button{height:97px;width:80px;display:grid;place-items:center;cursor:pointer;background:#faf7f1;border:1px solid #e7dfd2;padding:3px}
.wine-thumbnails button.is-active{border-color:#b29560;box-shadow:0 0 0 1px #b29560 inset}
.wine-thumbnails img{height:100%;width:100%;object-fit:contain}
.wine-detail-content>.wine-kicker{margin:8px 0 12px!important}
.wine-detail-content h1{font:400 clamp(44px,5vw,68px)/.99 "Cormorant Garamond",Georgia,serif;letter-spacing:-.02em;margin:0;color:#263d32}
.wine-detail-subheading{display:flex;flex-wrap:wrap;gap:12px;margin-top:15px;color:#907e61;font-size:11px}
.wine-detail-subheading span+span:before{content:"·";margin-right:12px;color:#b9a681}
.wine-detail-desc{line-height:1.85!important;font-size:13px!important;margin:25px 0 15px!important}
.wine-detail-stock{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:0 0 24px}
.wine-detail-stock small{color:#8a8071;font-size:10px}
.wine-order-box{border:1px solid #e6ddce;background:#fdfbf7;padding:27px 30px 23px}
.wine-format-choices{border:0;margin:0;padding:0;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.wine-format-choices legend{display:block;width:100%;font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:#897556;font-weight:600;margin-bottom:12px}
.wine-choice{position:relative;display:flex;flex-direction:column;gap:5px;min-height:100px;border:1px solid #e2d9c9;background:#fffefa;padding:17px 13px;cursor:pointer;transition:border-color .2s}
.wine-choice.is-selected{border-color:#ab8f5d;box-shadow:inset 0 0 0 1px #ab8f5d}
.wine-choice:has(input:focus-visible){outline:2px solid #937b4e;outline-offset:2px}
.wine-choice input{position:absolute;opacity:0;width:1px;height:1px}
.wine-choice-title{font-size:11px;line-height:1.4;color:#344a3d}
.wine-choice strong{font:500 21px/1 "Cormorant Garamond",Georgia,serif;color:#253d33}
.wine-choice small{font-size:10px;color:#7c826e}
.wine-order-summary{display:flex;justify-content:space-between;align-items:end;gap:16px;border-top:1px solid #e7dfd3;padding-top:20px;margin-top:21px}
.wine-order-summary>div{display:flex;flex-direction:column;gap:7px}
.wine-order-summary span,.wine-order-total span{color:#827968;font-size:11px}
.wine-order-summary strong{color:#243c32;font:500 28px/1 "Cormorant Garamond",Georgia,serif}
.wine-order-summary .wine-quantity{height:42px}
.wine-order-summary .wine-quantity button{width:34px;flex-basis:34px}
.wine-order-summary .wine-quantity input{width:35px}
.wine-order-total{display:flex;justify-content:space-between;align-items:center;margin-top:17px;padding:15px 0;border-top:1px solid #e7dfd3}
.wine-order-total strong{font-size:17px;color:#243c32}
.wine-order-button{width:100%;padding:17px 24px;justify-content:center}
.wine-order-button:disabled{opacity:.54;cursor:not-allowed}
.wine-order-feedback{min-height:0;margin:12px 0 0!important;color:#4b6e4f!important;font-size:12px!important}
.wine-order-footnote{margin:11px 0!important;font-size:10px!important;color:#827b6e!important}
.wine-detail-information{margin-top:70px;border-top:1px solid #e5dbcc;padding-top:34px;display:grid;grid-template-columns:1fr 1fr;gap:clamp(25px,6vw,90px)}
.wine-detail-information h2{font-size:40px!important;margin:0 0 14px!important}
.wine-detail-information p{max-width:520px}
.wine-detail-information strong{font-weight:600}
.wine-specs{margin:0}
.wine-specs>div{display:flex;justify-content:space-between;align-items:baseline;gap:15px;border-bottom:1px solid #efe7da;padding:11px 0}
.wine-specs dt{color:#817869;font-size:11px}
.wine-specs dd{margin:0;text-align:right;font-size:12px;color:#263d33}
.payment-age-cleared{color:#426b47!important}
@media(max-width:1080px){
 .product-grid{grid-template-columns:1fr;max-width:720px}
 .wine-card{grid-template-columns:minmax(170px,36%) minmax(0,1fr);min-height:315px}
 .wine-card-body{padding:25px 28px}
}
@media(max-width:800px){
 .wine-detail-layout{grid-template-columns:1fr;gap:28px}
 .wine-gallery-main{min-height:360px}
 .wine-gallery-main img{max-height:500px}
 .wine-detail-content h1{font-size:clamp(44px,8vw,64px)}
 .wine-detail-information{margin-top:55px}
}
@media(max-width:600px){
 .product-grid{margin-top:28px}
 .wine-card{grid-template-columns:120px minmax(0,1fr);min-height:370px}
 .wine-card-media img{padding:10px 1px;height:250px}
 .wine-card-body{padding:16px 13px 15px}
 .wine-card-title{font-size:26px}
 .wine-card-desc{font-size:10px!important;-webkit-line-clamp:2}
 .wine-card-controls{grid-template-columns:1fr;gap:8px}
 .wine-card-qty{flex-direction:row;align-items:center;justify-content:space-between}
 .wine-card-footer{flex-direction:column;align-items:stretch;gap:8px}
 .wine-card .wine-buy{width:100%}
 .wine-price{flex-direction:row;align-items:baseline;justify-content:space-between}
 .wine-card-media{align-items:start}
 .wine-detail-layout{gap:25px}
 .wine-gallery-main img{max-height:420px;padding:12px}
 .wine-order-box{padding:22px 16px}
 .wine-detail-information{grid-template-columns:1fr;gap:26px}
 .wine-product-page .commerce-container{padding:0 2px}
}
@media(max-width:390px){
 .wine-card{grid-template-columns:103px minmax(0,1fr)}
 .wine-card-body{padding:13px 10px}
 .wine-card-title{font-size:23px}
 .wine-card-meta{gap:6px}
 .wine-format-choices{grid-template-columns:1fr}
 .wine-choice{min-height:75px}
}

/* Basket presentation: small editorial product image, truthful pack/stock
   and compact controls for phone, tablet and desktop. */
.basket-wine-item{grid-template-columns:112px minmax(0,1fr) minmax(115px,auto);gap:20px;padding:25px 0;align-items:start}
.basket-item-media{display:grid;place-items:center;min-width:0;min-height:148px;background:linear-gradient(150deg,#fbf8f2,#f4eee3);border:1px solid #ebe2d4;overflow:hidden}
.basket-item-media img{display:block;width:100%;height:147px;padding:6px;object-fit:contain;transition:transform .2s}
.basket-item-media:hover img{transform:scale(1.04)}
.basket-wine-item .basket-item-info{min-width:0}
.basket-wine-item .basket-item-info .wine-kicker{margin:1px 0 6px!important;font-size:9px!important}
.basket-wine-item .basket-item-info h2{font:400 clamp(26px,2.4vw,32px)/1.09 "Cormorant Garamond",Georgia,serif;margin:0 0 11px;letter-spacing:-.015em;overflow-wrap:anywhere}
.basket-wine-item .basket-item-info h2 a:hover{text-decoration:underline;text-decoration-color:#bfa675;text-underline-offset:4px}
.basket-wine-item .basket-item-info .basket-wine-origin{font-size:10px;line-height:1.45;color:#9b8159;margin:0 0 8px}
.basket-wine-item .basket-item-info .basket-wine-format{font-size:12px;font-weight:500;line-height:1.55;color:#4b5d4f;margin:0 0 10px}
.basket-wine-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.basket-wine-meta small{font-size:10px;color:#867b6d}
.basket-wine-item .basket-item-info .text-link{margin-top:14px;color:#806940;font-size:11px}
.basket-wine-item .basket-item-end{display:flex;flex-direction:column;align-items:flex-end;gap:8px;text-align:right;min-width:0}
.basket-wine-item .quantity-label{margin:0;color:#857761;letter-spacing:.12em}
.basket-wine-item .quantity-control{margin:0;background:#fffefa;border-color:#e4dbca}
.basket-wine-item .quantity-control button:hover:not(:disabled){background:#f6f0e6}
.basket-item-total{margin-top:4px;white-space:nowrap;color:#263e34;font:500 23px/1 "Cormorant Garamond",Georgia,serif}
@media(max-width:1120px){
  .basket-wine-item{grid-template-columns:98px minmax(0,1fr);gap:17px}
  .basket-item-media{grid-row:1 / span 2;min-height:134px}
  .basket-item-media img{height:134px}
  .basket-wine-item .basket-item-end{grid-column:2;grid-row:2;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;text-align:left}
  .basket-wine-item .quantity-label{display:none}
  .basket-wine-item .basket-item-total{margin-top:0}
}
@media(max-width:700px){
  .basket-wine-item{grid-template-columns:90px minmax(0,1fr);gap:12px;padding:21px 0}
  .basket-item-media{min-height:125px}
  .basket-item-media img{height:124px;padding:4px}
  .basket-wine-item .basket-item-info h2{font-size:clamp(24px,6vw,31px);margin-bottom:8px}
  .basket-wine-item .basket-item-info .basket-wine-format{font-size:11px}
  .basket-wine-item .basket-item-end{flex-wrap:wrap;justify-content:space-between}
  .basket-item-total{font-size:22px}
}
@media(max-width:370px){
  .basket-wine-item{grid-template-columns:76px minmax(0,1fr);gap:10px}
  .basket-item-media img{height:113px}
  .basket-wine-item .basket-item-info h2{font-size:23px}
  .basket-wine-item .quantity-control button,.basket-wine-item .quantity-control input{width:29px;height:33px}
  .basket-wine-item .basket-item-total{font-size:20px}
}

/* The checkout order summary uses the same wine art, product title, pack format
   and consistent price typography as the catalogue and basket. */
.checkout-wine-lines>.checkout-wine-line{display:grid;grid-template-columns:66px minmax(0,1fr);align-items:start;gap:13px;padding:16px 0}
.checkout-wine-media{min-height:88px;display:grid;place-items:center;background:linear-gradient(140deg,#faf8f2,#f4ecdf);border:1px solid #e8dfd1;overflow:hidden}
.checkout-wine-media img{display:block;width:100%;height:86px;padding:3px;object-fit:contain}
.checkout-wine-info{display:flex;flex-direction:column;gap:4px;min-width:0}
.checkout-wine-name{display:block;font:400 23px/1.06 "Cormorant Garamond",Georgia,serif;color:#263e34;overflow-wrap:anywhere}
.checkout-wine-name:hover{text-decoration:underline;text-decoration-color:#bda06b;text-underline-offset:3px}
.checkout-wine-info small{font-size:10px;line-height:1.5;color:#82796c;margin:0}
.checkout-wine-info .checkout-wine-origin{font-size:9px;color:#a08b64}
.checkout-wine-price{font-size:13px;font-weight:600;color:#294035;margin-top:3px}
@media(max-width:390px){
  .checkout-wine-lines>.checkout-wine-line{grid-template-columns:55px minmax(0,1fr);gap:11px}
  .checkout-wine-media{min-height:77px}
  .checkout-wine-media img{height:75px}
  .checkout-wine-name{font-size:21px}
}
