.yt-basket {
  --basket-line:#424249; --basket-muted:#c3c0bc; --basket-copper:#e7b788;
  --basket-panel:#22252b; --basket-field:#191c21;
}
.yt-basket-mast {
  position:relative; isolation:isolate; overflow:hidden; display:flex; align-items:center;
  min-height:120px; margin-bottom:clamp(16px,2vw,28px); padding:18px clamp(18px,3vw,40px);
  border:1px solid #514b47; border-radius:15px;
  background:radial-gradient(ellipse at 88% 85%,#44382e 0,transparent 43%),linear-gradient(110deg,#2c2c30,#22262d 68%);
}
.yt-basket-mast::before {
  content:""; position:absolute; z-index:-1; inset:0 0 0 46%; background:var(--yt-girih) right center / 130px;
  opacity:.12; mask-image:linear-gradient(90deg,transparent,#000);
}
.yt-basket-mast nav { display:flex; gap:.6rem; align-items:center; color:#d9bb9f; font-size:.8rem; }
.yt-basket-mast nav a { color:#e6e2db; text-underline-offset:3px; }
.yt-basket .yt-basket-mast h1 { margin:8px 0 0; color:#fff7ee; font:650 clamp(2.15rem,4vw,3.65rem)/1.03 var(--yt-display-font); letter-spacing:-.05em; }
.yt-basket-art {
  --pack-cycle:4.8s;
  position:absolute; z-index:-1; right:clamp(6px,4vw,72px); width:clamp(150px,24vw,320px); height:93%;
  color:#cfa57d; pointer-events:none;
}
.yt-pack-travel { transform:translateX(207px); }
.yt-pack-parcel { transform:translateY(83px); }
.yt-pack-shadow { transform-origin:207px 101px; opacity:.52; }
@media(prefers-reduced-motion:no-preference) {
  .yt-pack-travel { animation:yt-pack-across var(--pack-cycle) infinite; }
  .yt-pack-parcel { animation:yt-pack-lift var(--pack-cycle) infinite; }
  .yt-pack-shadow { animation:yt-pack-ground var(--pack-cycle) infinite; }
}
@keyframes yt-pack-across {
  0%,9% { transform:translateX(207px); animation-timing-function:cubic-bezier(.46,0,.26,1); }
  49%,74% { transform:translateX(135px); }
  75%,100% { transform:translateX(207px); }
}
@keyframes yt-pack-lift {
  0%,6% { transform:translateY(83px); opacity:1; animation-timing-function:cubic-bezier(.36,0,.27,1); }
  39% { transform:translateY(23px) rotate(-7deg); opacity:1; animation-timing-function:ease-in; }
  48% { transform:translateY(25px) rotate(-2deg); animation-timing-function:cubic-bezier(.56,.05,.55,.95); }
  65%,72% { transform:translateY(85px); opacity:1; }
  73% { transform:translateY(85px); opacity:0; }
  75%,81% { transform:translateY(83px); opacity:0; }
  97%,100% { transform:translateY(83px); opacity:1; }
}
@keyframes yt-pack-ground {
  0%,6%,100% { opacity:.52; transform:scaleX(1); }
  35%,81% { opacity:0; transform:scaleX(.52); }
}
@media(prefers-reduced-motion:reduce) {
  .yt-pack-travel { transform:translateX(135px); }
  .yt-pack-parcel { animation:yt-pack-settle 6s ease-in-out infinite !important; }
  .yt-pack-shadow { opacity:0; }
}
@keyframes yt-pack-settle {
  0%,18%,100% { transform:translateY(48px); }
  56%,72% { transform:translateY(71px); }
  56%,72%,76% { opacity:0; }
  0%,43%,100% { opacity:1; }
  76% { transform:translateY(48px); }
}
.yt-basket .yt-editor > .woocommerce:has(> .woocommerce-cart-form) {
  display:grid; grid-template-columns:minmax(0,1fr); gap:18px; align-items:start;
}
.yt-basket .woocommerce > :not(.woocommerce-cart-form):not(.cart-collaterals) { grid-column:1/-1; }
.yt-basket .woocommerce > .woocommerce-notices-wrapper:empty { display:none; }
.yt-basket .woocommerce > .woocommerce-notices-wrapper > :last-child { margin-bottom:0; }
.yt-basket .woocommerce-cart-form,.yt-basket .cart-collaterals .cart_totals {
  min-width:0; margin:0; padding:clamp(15px,1.8vw,27px); border:1px solid var(--basket-line); border-radius:16px;
  background:linear-gradient(125deg,#272a2f,var(--basket-panel) 70%); box-shadow:0 8px 22px #0002;
}
.yt-basket .woocommerce-cart-form { container:cart-products / inline-size; }
.yt-basket .cart-collaterals { min-width:0; display:flex; flex-direction:column; gap:18px; }
.yt-basket .cart-collaterals::before,.yt-basket .cart-collaterals::after { display:none; }
.yt-basket .woocommerce .cart-collaterals :is(.cart_totals,.cross-sells) { float:none; width:100%; }
.yt-basket .cart-collaterals .cart_totals {
  order:-1; border-color:#615047; background:radial-gradient(ellipse at top right,#3b302a,transparent 53%),#24272c;
}
.yt-basket .yt-basket-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px 14px; margin-bottom:14px; }
.yt-basket :is(.yt-basket-toolbar,.cart_totals)>h2 {
  margin:0; color:#faf3e9; font:650 clamp(1.14rem,1.55vw,1.45rem)/1.2 var(--yt-display-font); letter-spacing:-.03em;
}
.yt-basket .yt-basket-toolbar h2 { display:flex; gap:9px; align-items:center; }
.yt-basket .yt-basket-toolbar h2 svg { width:24px; height:24px; color:var(--basket-copper); }
.yt-basket .yt-basket-toolbar a,.yt-basket .shipping-calculator-button {
  color:var(--basket-copper); text-decoration:underline; text-decoration-color:#8a6b50; text-underline-offset:4px;
}
.yt-basket .yt-basket-toolbar a { display:inline-flex; min-height:38px; gap:7px; align-items:center; font-size:.83rem; font-weight:600; }
.yt-basket .yt-basket-toolbar a svg { width:15px; height:15px; }
.yt-basket .woocommerce table.shop_table { width:100%; border:0; border-radius:0; border-collapse:collapse; margin:0; }
.yt-basket .yt-editor .woocommerce table.shop_table :is(td,th) { border:0; padding:12px 6px; }
.yt-basket .woocommerce-cart-form table.shop_table thead th {
  border-block:1px solid var(--basket-line); color:var(--basket-muted); font-size:.78rem; font-weight:550; text-align:start;
}
.yt-basket .yt-editor .woocommerce tr.cart_item>td { border-bottom:1px solid var(--basket-line); vertical-align:middle; }
.yt-basket .woocommerce-cart-form td.product-remove { width:36px; }
.yt-basket .woocommerce-cart-form .product-remove a.remove {
  display:inline-grid; place-items:center; width:34px; height:36px; color:#dcc2b8!important;
  background:#2a2a30; border:1px solid #5b5050; border-radius:8px; font:500 1.2rem/1 system-ui; text-decoration:none;
}
.yt-basket .woocommerce-cart-form .product-remove a.remove:is(:hover,:focus-visible) { background:#533235; color:#fff!important; border-color:#bb7879; }
.yt-basket .woocommerce-cart-form td.product-thumbnail { width:82px; }
.yt-basket .woocommerce-cart-form td.product-thumbnail img {
  display:block; width:clamp(60px,5vw,78px); height:clamp(60px,5vw,78px); max-width:none; object-fit:contain;
  padding:3px; background:#f5f3ef; border:1px solid #d9d4cb; border-radius:9px;
}
.yt-basket .product-name { overflow-wrap:anywhere; }
.yt-basket .cart_item .product-name a { color:#fff6e9; font:600 1rem/1.35 var(--yt-display-font); text-decoration:none; }
.yt-basket .cart_item .product-name a:is(:hover,:focus-visible) { text-decoration:underline; text-underline-offset:3px; }
.yt-basket-sku { display:block; margin-top:4px; color:var(--basket-muted); font-size:.74rem; line-height:1.4; }
.yt-basket .amount { font-variant-numeric:tabular-nums; }
.yt-basket .cart_item :is(.product-price,.product-subtotal) { white-space:nowrap; }
.yt-basket .cart_item .product-price { color:#dfdcd8; }
.yt-basket .cart_item .product-subtotal { color:#fff5e6; font-weight:700; }
.yt-basket .yt-basket-step {
  margin:0; border:1px solid #605c58; border-radius:9px; background:var(--basket-field);
}
.yt-basket .yt-basket-step button { width:29px; height:40px; background:#353539; font-size:1.04rem; }
.yt-basket .yt-basket-step button[hidden] { display:none; }
.yt-basket .yt-basket-step button:is(:hover,:focus-visible) { color:#ffe0bd; background:#494039; }
.yt-basket .woocommerce .yt-basket-step .quantity input.qty {
  width:3.25em; height:40px; padding:0 2px; border:0; border-radius:0; background:transparent; color:#fdf6e9; font-weight:650;
}
.yt-basket .woocommerce table.shop_table .actions { padding:16px 0 0; text-align:end; }
.yt-basket .woocommerce .actions .coupon { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.yt-basket .woocommerce .actions .coupon #coupon_code {
  float:none; width:9.5em; max-width:100%; height:42px; min-width:0; margin:0; padding:0 10px;
  border:1px solid #65605c; border-radius:8px; background:var(--basket-field); color:#faf3e9;
}
.yt-basket .woocommerce .actions #coupon_code::placeholder { color:#c5c2bf; }
.yt-basket .woocommerce .actions .button,.yt-basket .woocommerce .shipping-calculator-form .button {
  width:auto; min-height:42px; padding:8px 12px; background:#33363c; color:#f4ece4; border:1px solid #625d57; border-radius:8px; font-size:.86rem;
}
.yt-basket .woocommerce .actions .button:not(:disabled):is(:hover,:focus-visible) { border-color:#c39b77; background:#413a36; }
.yt-basket .woocommerce .actions .button:disabled { opacity:.65; }
.yt-basket .cart_totals>h2 { padding-bottom:16px; border-bottom:1px solid #65554b; }
.yt-basket .yt-editor .woocommerce .cart_totals table.shop_table :is(td,th) { padding:14px 0; vertical-align:top; line-height:1.45; }
.yt-basket .cart_totals table.shop_table tr+tr { border-top:1px solid var(--basket-line); }
.yt-basket .cart_totals table.shop_table th { width:32%; padding-inline-end:10px; text-align:start; color:var(--basket-muted); font-size:.9rem; font-weight:550; }
.yt-basket .cart_totals table.shop_table td { text-align:end; overflow-wrap:anywhere; }
.yt-basket .cart_totals ul#shipping_method li { margin:0 0 5px; }
.yt-basket .cart_totals .woocommerce-shipping-destination { margin:.5em 0 .2em; color:var(--basket-muted); font-size:.86rem; }
.yt-basket .cart_totals .shipping-calculator-button { display:inline-block; margin:4px 0; font-size:.83rem; }
.yt-basket .cart_totals .shipping-calculator-form { text-align:start; }
.yt-basket .cart_totals .order-total th { color:#fff4e6; font-size:1.13rem; }
.yt-basket .cart_totals .order-total td { color:#ffdcba; font:650 clamp(1.4rem,2vw,1.9rem)/1.15 var(--yt-display-font); }
.yt-basket .cart_totals .wc-proceed-to-checkout { padding:7px 0 0; }
.yt-basket .wc-proceed-to-checkout a[data-ytwa-cart] {
  display:flex; align-items:center; justify-content:center; gap:10px; min-height:50px; margin:0; padding:12px;
  border:1px solid #508968; border-radius:10px; background:linear-gradient(110deg,#204c3f,#205645); color:#f5fff8;
  font:650 1rem/1.35 var(--yt-display-font); text-align:center; text-decoration:none;
}
.yt-basket [data-ytwa-cart]::before {
  content:""; width:22px; height:22px; flex:0 0 22px; background:currentColor;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round' d='M21.4 11.7a9.3 9.3 0 0 1-13.8 8.2l-5 1.3 1.4-4.8a9.3 9.3 0 1 1 17.4-4.7Z'/%3E%3Cpath d='M8.2 6.4c-.6 0-1.5 1-1.5 2.2 0 3.4 4.7 7.9 8.2 7.9 1.1 0 2.3-.8 2.4-1.9l.1-.7-2.7-1.3-.8 1c-.2.3-.4.3-.7.1-1-.4-2.6-1.4-3.6-3l.9-1.2-1.2-2.9z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.yt-basket .wc-proceed-to-checkout a[data-ytwa-cart]:is(:hover,:focus-visible) { background:#2a6350; border-color:#94c9a5; color:#fff; }
.yt-basket [data-ytwa-status] { margin:11px 0 0; color:var(--basket-muted); font-size:.82rem; line-height:1.55; }
.yt-basket :is(a,button,input,select):focus-visible { outline:2px solid #f4c99c; outline-offset:2px; }
.yt-basket .woocommerce:has(> .wc-empty-cart-message) {
  padding:clamp(22px,4vw,48px); border:1px solid var(--basket-line); border-radius:15px; background:var(--basket-panel); text-align:center;
}
.yt-basket .wc-empty-cart-message .cart-empty { margin:0 auto 18px; border:0; padding:0; background:none; font:600 1.24rem/1.4 var(--yt-display-font); }
.yt-basket .wc-empty-cart-message .cart-empty::before { display:none; }
.yt-basket .woocommerce p.return-to-shop { margin:0 auto; }
.yt-basket .woocommerce .return-to-shop a.button { background:#463b31; border:1px solid #9d7a5d; color:#ffead1; min-height:44px; padding:13px 20px; }

@media (min-width:1100px) {
  .yt-basket .yt-editor>.woocommerce:has(> .woocommerce-cart-form) { grid-template-columns:minmax(0,1.95fr) minmax(295px,1fr); gap:clamp(16px,1.7vw,28px); }
}
@container cart-products (max-width:675px) {
  .yt-basket .woocommerce-cart-form table.cart { display:block; }
  .yt-basket .woocommerce-cart-form table.cart thead { display:table-header-group; position:absolute; width:1px; height:1px; margin:-1px; overflow:hidden; clip-path:inset(50%); }
  .yt-basket .woocommerce-cart-form table.cart thead th.product-thumbnail { display:table-cell; }
  .yt-basket .woocommerce-cart-form table.cart tbody,.yt-basket .woocommerce-cart-form table.cart tbody>tr:not(.cart_item) { display:block; }
  .yt-basket .woocommerce-cart-form .cart_item {
    display:grid; align-items:center; grid-template-columns:64px minmax(0,1fr) auto;
    grid-template-areas:"image name remove" "image price price" "quantity quantity total";
    gap:5px 12px; padding:15px 0; border-top:1px solid var(--basket-line);
  }
  .yt-basket .yt-editor .woocommerce table.shop_table tr.cart_item>td { display:block; width:auto; padding:0; border:0; background:transparent; text-align:start!important; }
  .yt-basket .woocommerce-cart-form table.cart .cart_item td::before { display:none; }
  .yt-basket .woocommerce-cart-form .product-thumbnail { grid-area:image; }
  .yt-basket .woocommerce-cart-form td.product-thumbnail img { width:64px; height:64px; }
  .yt-basket .woocommerce-cart-form .product-name { grid-area:name; }
  .yt-basket .woocommerce-cart-form .product-remove { grid-area:remove; align-self:start; justify-self:end; }
  .yt-basket .woocommerce-cart-form .product-price { grid-area:price; font-size:.83rem; }
  .yt-basket .woocommerce-cart-form .product-quantity { grid-area:quantity; margin-top:6px; }
  .yt-basket .woocommerce-cart-form .product-subtotal { grid-area:total; justify-self:end; margin-top:6px; text-align:end!important; }
  .yt-basket .woocommerce-cart-form table.cart .cart_item :is(.product-price,.product-subtotal)::before {
    content:attr(data-title); display:inline; float:none; margin-inline-end:5px; color:var(--basket-muted); font-size:.77rem; font-weight:500;
  }
  .yt-basket .woocommerce-cart-form table.cart .cart_item .product-subtotal::before { display:block; margin:0; text-align:end; }
  .yt-basket .woocommerce table.cart td.actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; border-top:1px solid var(--basket-line); width:100%; }
  .yt-basket .woocommerce table.cart td.actions .coupon { float:none; padding:0; }
}
@media (max-width:768px) {
  .yt-basket .cart_totals table.shop_table_responsive { display:table; }
  .yt-basket .cart_totals table.shop_table_responsive tbody { display:table-row-group; }
  .yt-basket .cart_totals table.shop_table_responsive tr { display:table-row; }
  .yt-basket .cart_totals table.shop_table_responsive tr :is(th,td) { display:table-cell; background:transparent; }
  .yt-basket .cart_totals table.shop_table_responsive td::before,.yt-basket .woocommerce table.shop_table_responsive .actions::before { display:none; }
}
@media (max-width:480px) {
  .yt-basket-mast { min-height:102px; }
  .yt-basket-art { right:0; width:43%; opacity:.85; }
  .yt-basket .woocommerce-cart-form,.yt-basket .cart-collaterals .cart_totals { padding:14px; border-radius:12px; }
  .yt-basket .woocommerce-cart-form td.actions .coupon { flex:1 0 100%; }
  .yt-basket .woocommerce-cart-form td.actions .coupon #coupon_code { flex:1; width:5em; }
  .yt-basket .woocommerce-cart-form td.actions .coupon .button { flex:none; width:auto; }
  .yt-basket .woocommerce-cart-form td.actions .button[name="update_cart"] { width:100%; }
}
