/* =========================================================
   Little Amélie E-shop – WooCommerce look (design 1)
   Product cards, shop / categories with categories on the left,
   product detail, cart, checkout, notices.
   ========================================================= */

/* ===== product list ===== */
.woocommerce ul.products{
  display:grid !important; grid-template-columns:repeat(4,minmax(0,1fr)); gap:28px;
  margin:0 0 32px !important; padding:0 !important;
}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none !important}
.woocommerce ul.products li.product{
  position:relative; display:flex !important; flex-direction:column !important;
  width:auto !important; float:none !important; margin:0 !important; padding:0 !important;
  background:rgba(255,253,250,.96); border:1px solid var(--lamelie-pink); border-radius:6px; overflow:hidden;
  box-shadow:0 6px 24px rgba(60,25,15,.12); text-align:left;
  transition:box-shadow .25s ease, transform .25s ease;
}
.woocommerce ul.products li.product:hover{box-shadow:0 12px 34px rgba(60,25,15,.2); transform:translateY(-2px)}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:flex; flex-direction:column; gap:4px; flex:0 0 auto; padding-bottom:12px; color:inherit; text-decoration:none}
.woocommerce ul.products li.product a img{
  width:100%; aspect-ratio:1; height:auto; object-fit:cover; margin:0 0 12px !important;
  background:var(--lamelie-blush); border-radius:0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,.woocommerce ul.products li.product h3{
  margin:0 !important; padding:4px 18px 0 !important;
  font-family:var(--lamelie-body) !important; font-size:15px !important; font-weight:600 !important;
  line-height:1.4 !important; letter-spacing:0 !important; text-transform:none; color:#2b1d18 !important;
}
.woocommerce ul.products li.product a:hover .woocommerce-loop-product__title{color:var(--lamelie-cta) !important}
.woocommerce ul.products li.product .price{
  display:block; margin:0 !important; padding:0 18px;
  color:var(--lamelie-cta) !important; font-size:15px !important; font-weight:600; font-variant-numeric:tabular-nums;
}
.woocommerce ul.products li.product .price del{color:#6e5650; opacity:1; font-weight:400; margin-right:6px}
.woocommerce ul.products li.product .price ins{text-decoration:none; font-weight:600}
.woocommerce ul.products li.product .star-rating{margin:0 18px 6px}
.woocommerce ul.products li.product .button{display:inline-flex; align-items:center; justify-content:center; line-height:1.2; align-self:flex-start; margin:auto 18px 18px !important; min-height:38px; padding:8px 14px; font-size:13px; border-radius:3px}
.woocommerce ul.products li.product .added_to_cart{display:block; margin:-10px 18px 16px; font-size:13px; font-weight:600}

/* badges */
.woocommerce span.onsale,.woocommerce ul.products li.product .onsale,.lamelie-badge-out{
  position:absolute; top:12px !important; left:12px !important; right:auto !important; z-index:2;
  min-width:0 !important; min-height:0 !important; margin:0 !important; padding:3px 10px !important;
  border-radius:3px !important; background:var(--lamelie-cta) !important; color:#fff !important;
  font-size:12px !important; font-weight:600 !important; line-height:1.5 !important;
}
.lamelie-badge-out{background:#6b6477 !important}
.woocommerce ul.products li.product .onsale + .lamelie-badge-out{top:42px !important}
/* own product label (plugin Little Amélie Obchod → box "Štítok"); the other badges go below it */
.lamelie-label{
  position:absolute; top:12px; left:12px; z-index:2; margin:0; padding:3px 10px;
  border-radius:3px; color:#fff; font-size:12px; font-weight:600; line-height:1.5; letter-spacing:.02em;
}
.lamelie-label--green{background:#266e4e}
.lamelie-label--wine{background:var(--lamelie-cta)}
.lamelie-label--navy{background:var(--lamelie-night)}
.woocommerce ul.products li.product .lamelie-label ~ .lamelie-badge-out,
.woocommerce ul.products li.product .lamelie-label ~ .onsale,
.woocommerce div.product > .lamelie-label ~ span.onsale{top:42px !important}
.woocommerce ul.products li.product .lamelie-label ~ .lamelie-badge-out ~ .onsale{top:72px !important}

/* ===== shop and categories ===== */
.lamelie-shop-layout{display:grid; grid-template-columns:250px minmax(0,1fr); gap:36px; align-items:start}
.lamelie-shop-layout ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
.lamelie-shop-side{position:sticky; top:100px}
.lamelie-shop-filters{background:#fff; border:1px solid var(--lamelie-line); border-radius:8px; padding:20px}
.lamelie-shop-filters summary{display:none}
.lamelie-side-title{
  margin:0 0 8px !important; color:var(--lamelie-muted) !important;
  font-family:var(--lamelie-body) !important; font-size:12.5px !important; font-weight:600 !important;
  letter-spacing:.08em !important; text-transform:uppercase;
}
.lamelie-cats{list-style:none; margin:0 0 22px; padding:0}
.lamelie-cats a{
  display:flex; justify-content:space-between; gap:8px; padding:8px 10px; border-radius:4px;
  color:var(--lamelie-ink); text-decoration:none; font-size:14.5px; min-height:40px; align-items:center;
}
.lamelie-cats a:hover{background:var(--lamelie-blush); color:var(--lamelie-ink)}
.lamelie-cats a[aria-current="page"]{background:var(--lamelie-wine); color:#fff}
.lamelie-cats small{opacity:.7; font-variant-numeric:tabular-nums}
.lamelie-check{display:flex; align-items:center; gap:10px; min-height:40px; color:var(--lamelie-ink); text-decoration:none; font-size:14.5px}
.lamelie-check:hover{color:var(--lamelie-cta)}
.lamelie-tick{width:18px; height:18px; border:1.5px solid #b9a9a6; border-radius:3px; background:#fff; flex:none}
.lamelie-check[aria-checked="true"] .lamelie-tick{
  border-color:var(--lamelie-wine);
  background:var(--lamelie-wine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/14px no-repeat;
}

.lamelie-tb{display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:22px; flex-wrap:wrap}
.woocommerce .lamelie-tb .woocommerce-result-count{float:none; margin:0; color:var(--lamelie-muted); font-size:13px}
.woocommerce .lamelie-tb .woocommerce-ordering{float:none; margin:0}
.woocommerce .woocommerce-ordering select{min-height:42px; padding:8px 12px; border:1px solid var(--lamelie-line); border-radius:3px; background-color:#fff; font-size:15px}
.term-description,.woocommerce-products-header__title{margin-bottom:20px}
.woocommerce nav.woocommerce-pagination ul{border:0}
.woocommerce nav.woocommerce-pagination ul li{border:0; margin:0 3px}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{
  min-width:40px; padding:10px; border-radius:3px; background:#fff; border:1px solid var(--lamelie-line); color:var(--lamelie-ink);
}
.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--lamelie-wine); border-color:var(--lamelie-wine); color:#fff}

@media (max-width:1040px){
  .woocommerce ul.products,.lamelie-shop-layout ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .lamelie-shop-layout{grid-template-columns:1fr; gap:20px}
  .lamelie-shop-side{position:static}
  .lamelie-shop-filters{padding:0 16px 8px}
  .lamelie-shop-filters summary{display:block; margin:0 -16px 14px; padding:12px 16px; cursor:pointer; font-weight:600}
  .lamelie-shop-filters:not([open]){padding-bottom:0}
  .lamelie-shop-filters:not([open]) summary{margin-bottom:0}
  .lamelie-shop-filters[open] summary{border-bottom:1px solid var(--lamelie-line)}
}
@media (max-width:700px){
  .woocommerce ul.products,.lamelie-shop-layout ul.products{grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0 12px !important; font-size:13.5px !important}
  .woocommerce ul.products li.product .price{padding:0 12px}
  .woocommerce ul.products li.product .button{margin:auto 12px 14px !important; padding:8px 10px; font-size:12.5px}
}

/* ===== product detail ===== */
.woocommerce div.product{
  display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); gap:0 clamp(28px,5vw,64px); align-items:start;
  position:relative;
}
.woocommerce div.product > *{grid-column:1 / -1}
.woocommerce div.product > .woocommerce-product-gallery,
.woocommerce div.product > .images{grid-column:1; width:auto !important; float:none !important; margin:0 0 24px !important}
.woocommerce div.product > .summary{grid-column:2; grid-row:1 / span 2; width:auto !important; float:none !important; margin:0 !important}
.woocommerce div.product > span.onsale{top:12px !important; left:12px !important; grid-column:auto}
.woocommerce div.product > .lamelie-label{grid-column:auto}
.woocommerce div.product div.images .woocommerce-product-gallery__image{border:1px solid var(--lamelie-pink); border-radius:8px; overflow:hidden; background:var(--lamelie-blush); line-height:0}
.woocommerce div.product div.images img{display:block; width:100% !important; height:auto; aspect-ratio:1; object-fit:cover}
.woocommerce div.product div.images .flex-control-thumbs{display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:10px}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto !important; float:none !important; margin:0 !important}
.woocommerce div.product div.images .flex-control-thumbs{list-style:none; padding:0}
.woocommerce div.product div.images .flex-control-thumbs li img{display:block; width:100%; height:auto; cursor:pointer}
.woocommerce div.product div.images .flex-control-thumbs li img{aspect-ratio:1; object-fit:cover; border-radius:6px; opacity:1; border:1px solid var(--lamelie-line); background:var(--lamelie-blush)}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover{opacity:1; border:2px solid var(--lamelie-wine)}

.woocommerce div.product .product_title{
  margin:0 0 12px !important; color:var(--lamelie-wine) !important;
  font-family:var(--lamelie-display) !important; font-weight:400 !important;
  font-size:clamp(30px,3.4vw,44px) !important; line-height:1.15 !important; letter-spacing:0 !important;
}
.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--lamelie-wine) !important; font-size:26px !important; font-weight:500}
.woocommerce div.product p.price del{color:var(--lamelie-muted); font-size:18px; opacity:1}
.woocommerce div.product p.price ins{text-decoration:none}
.woocommerce div.product .woocommerce-product-details__short-description{margin:14px 0}
.woocommerce div.product p.stock{display:inline-flex; align-items:center; gap:8px; margin:8px 0 16px; font-size:13.5px}
.woocommerce div.product p.stock::before{content:""; width:8px; height:8px; border-radius:50%; background:currentColor}
.woocommerce div.product p.stock.in-stock{color:var(--lamelie-green)}
.woocommerce div.product p.stock.out-of-stock,.woocommerce div.product p.stock.available-on-backorder{color:#a3324a}

.woocommerce div.product form.cart{display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin:0 0 22px !important}
.woocommerce div.product form.cart::before,.woocommerce div.product form.cart::after{display:none}
.woocommerce div.product form.variations_form{display:block}
.woocommerce div.product form.cart table.variations{width:100%; margin:0 0 16px; border:0}
.woocommerce div.product form.cart table.variations th,.woocommerce div.product form.cart table.variations td{display:block; padding:0; border:0; text-align:left; background:none}
.woocommerce div.product form.cart table.variations th label{font-size:13px; font-weight:400; color:var(--lamelie-muted)}
.woocommerce div.product form.cart table.variations td{margin-bottom:12px}
.woocommerce div.product form.cart table.variations select{min-height:44px; padding:8px 12px; min-width:220px; max-width:100%}
.woocommerce div.product form.cart .reset_variations{display:inline-block; margin-top:6px; font-size:13px}
.woocommerce div.product .woocommerce-variation-add-to-cart{display:flex; flex-wrap:wrap; gap:12px; align-items:center}
.woocommerce div.product .woocommerce-variation-price{margin-bottom:10px}
.woocommerce .quantity .qty{width:84px; min-height:44px; padding:8px; text-align:center}
.woocommerce div.product form.cart div.quantity{float:none; margin:0}
.woocommerce div.product form.cart .button{float:none; min-height:44px}

.lamelie-usp{list-style:none; margin:0 0 20px; padding:0; border-top:1px solid var(--lamelie-line)}
.lamelie-usp li{padding:10px 0; border-bottom:1px solid var(--lamelie-line); font-size:14px}
.woocommerce div.product .product_meta{font-size:13px; color:var(--lamelie-muted)}
.woocommerce div.product .product_meta > span{display:block; margin-bottom:4px}

/* tabs */
.woocommerce div.product .woocommerce-tabs{margin-top:24px}
.woocommerce div.product .woocommerce-tabs ul.tabs{
  display:flex; gap:6px; margin:0 0 20px !important; padding:0 !important; overflow-x:auto;
  border-bottom:1px solid var(--lamelie-line);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,.woocommerce div.product .woocommerce-tabs ul.tabs::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{margin:0 !important; padding:0 !important; border:0 !important; background:none !important; border-radius:0 !important}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  display:block; padding:12px 18px !important; margin-bottom:-1px; border-bottom:3px solid transparent;
  color:var(--lamelie-ink) !important; font-size:14px; font-weight:400 !important; text-transform:uppercase; white-space:nowrap;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{border-color:var(--lamelie-wine); color:var(--lamelie-wine) !important; font-weight:500 !important}
.woocommerce div.product .woocommerce-tabs .panel{max-width:72ch; margin:0 0 10px}
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child{display:none}
.woocommerce table.shop_attributes{border:0}
.woocommerce table.shop_attributes th,.woocommerce table.shop_attributes td{
  padding:9px 0; border:0; border-bottom:1px solid var(--lamelie-line); background:none !important; font-style:normal; text-align:left;
}
.woocommerce table.shop_attributes th{width:40%; font-weight:500}
.woocommerce table.shop_attributes td p{margin:0; padding:0}

/* related products */
.woocommerce div.product .related,.woocommerce div.product .upsells{margin-top:48px}
.woocommerce div.product .related > h2,.woocommerce div.product .upsells > h2{
  margin:0 0 30px; font-size:clamp(30px,3.4vw,44px); color:var(--lamelie-wine);
}

@media (max-width:900px){
  .woocommerce div.product{grid-template-columns:1fr}
  .woocommerce div.product > .woocommerce-product-gallery,
  .woocommerce div.product > .images,
  .woocommerce div.product > .summary{grid-column:1; grid-row:auto}
}

/* ===== notices ===== */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.woocommerce-notices-wrapper .wc-block-components-notice-banner{
  border-radius:4px; background:#fff; color:var(--lamelie-ink); border-top-color:var(--lamelie-wine);
}
.woocommerce-message::before,.woocommerce-info::before{color:var(--lamelie-wine)}
.woocommerce-error{border-top-color:#a3324a}
.woocommerce-message .button,.woocommerce-info .button{float:right}

/* ===== quantity − / + (assets/js/shop.js) ===== */
.woocommerce .quantity.lamelie-qty{display:inline-flex; align-items:center; border:1px solid var(--lamelie-line); border-radius:3px; background:#fff}
.woocommerce .quantity.lamelie-qty .qty{width:40px; min-height:42px; padding:0; border:0; background:transparent; text-align:center; -moz-appearance:textfield; box-shadow:none}
.woocommerce .quantity.lamelie-qty .qty::-webkit-outer-spin-button,.woocommerce .quantity.lamelie-qty .qty::-webkit-inner-spin-button{-webkit-appearance:none; margin:0}
.lamelie-qty-btn{width:42px; height:42px; padding:0; border:0; background:none; color:var(--lamelie-ink); font-size:18px; line-height:1; cursor:pointer}
.lamelie-qty-btn:hover,.lamelie-qty-btn:focus{background:none; color:var(--lamelie-cta)}

/* ===== white boxes (design 1) ===== */
.lamelie-box{background:#fff; border:1px solid var(--lamelie-line); border-radius:8px; padding:24px}
.lamelie-box h2{margin:0 0 16px; font-size:28px; color:var(--lamelie-wine)}

/* ===== cart: products on the left, "Súhrn" on the right ===== */
.woocommerce .lamelie-cart{display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:36px; align-items:start}
.woocommerce .lamelie-cart .cart-collaterals{width:auto; float:none}
.woocommerce .lamelie-cart .cart-collaterals .cart_totals{width:auto; float:none}
.lamelie-ci{display:grid; grid-template-columns:88px minmax(0,1fr) auto; gap:16px; align-items:center; padding:16px 0; border-bottom:1px solid var(--lamelie-line)}
.lamelie-ci:first-child{padding-top:0}
.lamelie-ci-img{width:88px; height:88px; border-radius:6px; overflow:hidden; border:1px solid var(--lamelie-pink); line-height:0; background:var(--lamelie-blush)}
.lamelie-ci-img a{display:block; width:100%; height:100%}
.woocommerce .lamelie-ci-img img{width:100% !important; height:100% !important; object-fit:cover; margin:0 !important}
.lamelie-ci-name a{color:var(--lamelie-ink); font-weight:500; text-decoration:none}
.lamelie-ci-name a:hover{color:var(--lamelie-cta)}
.lamelie-ci-meta{font-size:13px; color:var(--lamelie-muted)}
.lamelie-ci-meta .amount{color:inherit}
.lamelie-ci-name .backorder_notification{margin:4px 0 0; font-size:13px; color:#a3324a}
.lamelie-ci-right{display:flex; flex-direction:column; align-items:flex-end; gap:6px; text-align:right}
.lamelie-ci-price{color:var(--lamelie-wine); font-weight:500; white-space:nowrap}
.woocommerce a.remove.lamelie-rm{
  display:inline; width:auto; height:auto; border-radius:0; line-height:1.4;
  color:var(--lamelie-muted) !important; font-size:13px; font-weight:400; text-decoration:none; background:none !important;
}
.woocommerce a.remove.lamelie-rm:hover{color:var(--lamelie-cta) !important; background:none !important; text-decoration:underline; text-underline-offset:4px}
.lamelie-cart-actions{display:flex; flex-wrap:wrap; gap:10px; align-items:center; padding-top:16px}
.lamelie-cart-actions .coupon{display:flex; flex-wrap:wrap; gap:8px}
.lamelie-cart-actions .coupon .input-text{min-height:42px; padding:8px 12px; width:180px; margin:0}
.lamelie-cart-actions .coupon .button{min-height:42px; padding:8px 14px; font-size:13px}
/* the cart updates itself after − / + ; the button stays for WooCommerce, hidden */
.lamelie-cart-actions .lamelie-update{position:absolute !important; width:1px !important; height:1px !important; min-height:0 !important; padding:0 !important; overflow:hidden; clip:rect(0 0 0 0); border:0}
.lamelie-sum-row{display:flex; justify-content:space-between; gap:14px; padding:7px 0}
.lamelie-sum-row > *:last-child{white-space:nowrap; flex:none; text-align:right}
.lamelie-sum-row small{display:block; font-size:12px; color:var(--lamelie-muted); white-space:normal}
.lamelie-sum-total{border-top:1px solid var(--lamelie-line); margin-top:8px; padding-top:14px; font-size:18px; font-weight:600; color:var(--lamelie-wine)}
.lamelie-sum-total .includes_tax{font-weight:400}
.lamelie-sum .wc-proceed-to-checkout{padding:16px 0 0}
.woocommerce .lamelie-sum .wc-proceed-to-checkout a.checkout-button{display:flex; width:100%; margin:0; font-size:15px; padding:14px 20px}
.woocommerce a.lamelie-continue{display:block; margin-top:14px; text-align:center; color:var(--lamelie-cta); font-size:14px; text-transform:uppercase; text-decoration:none}
.woocommerce a.lamelie-continue:hover{color:var(--lamelie-cta-hover); text-decoration:underline; text-underline-offset:4px}

/* empty cart */
.woocommerce .cart-empty.woocommerce-info{text-align:center; padding:40px 20px 16px; border:0; background:none; font-family:var(--lamelie-display); font-size:28px; color:var(--lamelie-wine)}
.woocommerce .cart-empty.woocommerce-info::before{display:none}
.woocommerce .return-to-shop{text-align:center}

/* ===== checkout: form on the left, "Vaša objednávka" on the right ===== */
.woocommerce form.checkout{display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:0 36px; align-items:start}
.woocommerce form.checkout > *{grid-column:1 / -1}
.woocommerce form.checkout #customer_details{grid-column:1; grid-row:1 / span 3}
.woocommerce form.checkout #order_review_heading{grid-column:2; grid-row:1}
.woocommerce form.checkout #order_review{grid-column:2; grid-row:2}
.woocommerce form.checkout #customer_details,.woocommerce-checkout #order_review{background:#fff; border:1px solid var(--lamelie-line); border-radius:8px; padding:24px}
.woocommerce form.checkout #order_review_heading{
  margin:0; padding:24px 24px 0; background:#fff; border:1px solid var(--lamelie-line); border-bottom:0; border-radius:8px 8px 0 0;
  font-size:28px; color:var(--lamelie-wine);
}
.woocommerce-checkout #order_review{border-top:0; border-radius:0 0 8px 8px; padding-top:12px}
.woocommerce form.checkout .col2-set{width:auto; float:none}
.woocommerce form.checkout .col2-set .col-1,.woocommerce form.checkout .col2-set .col-2{width:100%; float:none; max-width:none}
.woocommerce form.checkout .col2-set .col-2{margin-top:10px}
.woocommerce-checkout h3{margin:0 0 12px; font-size:24px; color:var(--lamelie-wine)}
.woocommerce form .form-row{padding:0; margin:0 0 14px}
.woocommerce form .form-row label{font-size:13px; color:var(--lamelie-muted); line-height:1.5}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{min-height:46px; padding:10px 14px; border-radius:3px}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{width:calc(50% - 7px)}
.woocommerce form .form-row .select2-container .select2-selection--single{height:46px; border-color:#d6c7c4; border-radius:3px}
.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__rendered{line-height:44px; padding-left:14px}
.woocommerce form .form-row .select2-container .select2-selection--single .select2-selection__arrow{height:44px}

/* order table – no lines and grey rows from Hello */
.woocommerce table.shop_table.woocommerce-checkout-review-order-table{border:0; border-radius:0; margin:0 0 16px; background:none}
.woocommerce table.woocommerce-checkout-review-order-table th,.woocommerce table.woocommerce-checkout-review-order-table td{
  padding:7px 0; border:0 !important; background:none !important; font-size:14px; text-transform:none; letter-spacing:0; color:var(--lamelie-ink); vertical-align:top;
}
.woocommerce table.woocommerce-checkout-review-order-table thead{display:none}
.woocommerce table.woocommerce-checkout-review-order-table td:last-child,.woocommerce table.woocommerce-checkout-review-order-table tfoot td{text-align:right}
.woocommerce table.woocommerce-checkout-review-order-table th{font-weight:400}
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr:first-child th,.woocommerce table.woocommerce-checkout-review-order-table tfoot tr:first-child td{border-top:1px solid var(--lamelie-line) !important; padding-top:12px}
.woocommerce table.woocommerce-checkout-review-order-table .order-total th,.woocommerce table.woocommerce-checkout-review-order-table .order-total td{
  border-top:1px solid var(--lamelie-line) !important; padding-top:14px; font-size:18px; font-weight:600; color:var(--lamelie-wine);
}
.woocommerce table.woocommerce-checkout-review-order-table .order-total .includes_tax{display:block; font-size:12px; font-weight:400; color:var(--lamelie-muted)}

/* rows as flex: name left, price right; shipping cards across the whole width */
.woocommerce table.woocommerce-checkout-review-order-table,.woocommerce table.woocommerce-checkout-review-order-table tbody,.woocommerce table.woocommerce-checkout-review-order-table tfoot{display:block; width:100%}
.woocommerce table.woocommerce-checkout-review-order-table tr{display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap}
.woocommerce table.woocommerce-checkout-review-order-table th,.woocommerce table.woocommerce-checkout-review-order-table td{display:block; width:auto}
.woocommerce table.woocommerce-checkout-review-order-table td.product-name{flex:1}
.woocommerce table.woocommerce-checkout-review-order-table td:last-child{white-space:nowrap}
.woocommerce table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals{display:block}
.woocommerce table.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td{width:100%; white-space:normal; text-align:left !important; padding-top:2px}
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr:first-child,.woocommerce table.woocommerce-checkout-review-order-table .order-total{border-top:1px solid var(--lamelie-line); margin-top:8px}
.woocommerce table.woocommerce-checkout-review-order-table tfoot tr:first-child th,.woocommerce table.woocommerce-checkout-review-order-table tfoot tr:first-child td,.woocommerce table.woocommerce-checkout-review-order-table .order-total th,.woocommerce table.woocommerce-checkout-review-order-table .order-total td{border-top:0 !important}
.woocommerce table.woocommerce-checkout-review-order-table th{text-align:left !important; white-space:nowrap}
.woocommerce table.woocommerce-checkout-review-order-table .order-total td{white-space:normal; flex:1}
.woocommerce form .form-row label{display:block}
.woocommerce form .form-row textarea{width:100%; min-height:80px}
.woocommerce-checkout #payment ul.payment_methods{list-style:none; margin:0}

/* shipping and payment as cards with a radio */
.woocommerce ul#shipping_method{margin:0; padding:0; list-style:none}
.woocommerce ul#shipping_method li{
  position:relative; margin:0 0 8px !important; padding:12px 14px 12px 42px !important; text-indent:0;
  background:#fff; border:1px solid var(--lamelie-line); border-radius:8px; text-align:left; line-height:1.4;
}
.woocommerce ul#shipping_method li:has(input:checked){border-color:var(--lamelie-wine); box-shadow:0 0 0 1px var(--lamelie-wine)}
.woocommerce ul#shipping_method li input{position:absolute; left:14px; top:14px; margin:0; width:18px; height:18px; accent-color:var(--lamelie-wine)}
.woocommerce ul#shipping_method li label{margin:0; font-size:14px}
.woocommerce-checkout #payment{background:none; border-radius:0}
.woocommerce-checkout #payment ul.payment_methods{padding:0; border:0}
.woocommerce-checkout #payment ul.payment_methods li{
  margin:0 0 8px; padding:12px 14px; background:#fff; border:1px solid var(--lamelie-line); border-radius:8px; line-height:1.4;
}
.woocommerce-checkout #payment ul.payment_methods li:has(> input:checked){border-color:var(--lamelie-wine); box-shadow:0 0 0 1px var(--lamelie-wine)}
.woocommerce-checkout #payment ul.payment_methods li input{margin:0 8px 0 0; width:18px; height:18px; vertical-align:-3px; accent-color:var(--lamelie-wine)}
.woocommerce-checkout #payment ul.payment_methods li img{max-height:24px; vertical-align:middle}
.woocommerce-checkout #payment div.payment_box{margin:10px 0 0; padding:10px 12px; background:var(--lamelie-blush); color:var(--lamelie-ink); font-size:13px; border-radius:4px}
.woocommerce-checkout #payment div.payment_box::before{display:none}
.woocommerce-checkout #payment div.form-row{padding:12px 0 0}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{font-size:13px}
.woocommerce #payment #place_order{float:none; width:100%; font-size:15px; padding:14px 20px; margin-top:6px}

/* login / coupon notices above the checkout */
.woocommerce-form-coupon-toggle .woocommerce-info,.woocommerce-form-login-toggle .woocommerce-info{background:#fff; border-radius:8px}
.woocommerce form.checkout_coupon,.woocommerce form.login{background:#fff; border:1px solid var(--lamelie-line); border-radius:8px; padding:20px}

/* other tables (my account, order received) – no lines and grey rows from Hello */
.woocommerce table.shop_table{border:1px solid var(--lamelie-line); border-radius:8px; border-collapse:separate; background:#fff}
.woocommerce table.shop_table th,.woocommerce table.shop_table td{border:0; border-top:1px solid var(--lamelie-line); background:none !important; padding:12px 16px}
.woocommerce table.shop_table thead th{border-top:0; font-weight:500; color:var(--lamelie-muted); font-size:13px}

@media (max-width:900px){
  .woocommerce .lamelie-cart,.woocommerce form.checkout{grid-template-columns:1fr}
  .woocommerce form.checkout #customer_details,.woocommerce form.checkout #order_review_heading,.woocommerce form.checkout #order_review{grid-column:1; grid-row:auto}
  .woocommerce form.checkout #order_review_heading{margin-top:24px}
}
@media (max-width:600px){
  .lamelie-box{padding:18px}
  .lamelie-ci{grid-template-columns:64px minmax(0,1fr); gap:12px}
  .lamelie-ci-img{width:64px; height:64px}
  .lamelie-ci-right{grid-column:2; flex-direction:row; flex-wrap:wrap; justify-content:space-between; align-items:center; text-align:left}
  .woocommerce form .form-row-first,.woocommerce form .form-row-last{width:100%; float:none}
}

/* ===== cart and checkout (blocks) ===== */
.wc-block-cart,.wc-block-checkout{font-family:var(--lamelie-body)}
.wc-block-components-totals-item__label,.wc-block-components-product-name{color:var(--lamelie-ink)}
.wc-block-components-product-name{font-weight:500; text-decoration:none}
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label{color:var(--lamelie-wine)}
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted{box-shadow:inset 0 0 0 2px var(--lamelie-wine)}

/* ===== my account ===== */
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none; margin:0; padding:0}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block; padding:9px 12px; border-radius:4px; color:var(--lamelie-ink); text-decoration:none}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a{background:var(--lamelie-wine); color:#fff}

/* variation buttons (plugin Little Amélie Obchod → includes/variation-buttons.php) */
.lamelie-vb__list{display:flex; flex-wrap:wrap; gap:10px; margin:2px 0 6px}
.lamelie-vb__opt{
  display:inline-flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  min-height:44px; min-width:64px; margin:0; padding:9px 16px;
  border:1px solid var(--lamelie-line) !important; border-radius:6px; background:#fff !important;
  color:var(--lamelie-ink) !important; font-family:var(--lamelie-body); font-size:14px; font-weight:600; line-height:1.2;
  letter-spacing:0; text-transform:none; box-shadow:none; cursor:pointer;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.lamelie-vb__opt.has-img{padding:8px 8px 10px; min-width:96px}
.lamelie-vb__img{display:block; width:80px !important; height:80px !important; max-width:none; object-fit:cover; border-radius:4px; margin:0 !important}
.lamelie-vb__opt:hover{border-color:var(--lamelie-cta) !important}
.lamelie-vb__opt:focus-visible{outline:2px solid var(--lamelie-cta); outline-offset:2px}
.lamelie-vb__opt.is-active{border-color:var(--lamelie-cta) !important; box-shadow:inset 0 0 0 1px var(--lamelie-cta); color:var(--lamelie-cta) !important}
.lamelie-vb__opt.is-disabled{opacity:.4; cursor:not-allowed; border-color:var(--lamelie-line) !important; box-shadow:none}
.lamelie-vb__opt.is-disabled .lamelie-vb__text{text-decoration:line-through}

