/* =========================================================
   Glimmer · shop.css — הסל, התשלום והתודה
   נטען רק בעמודים של WooCommerce. אותם טוקנים כמו styles.css.
   הרעיון: הרשימה והטופס על רקע בהיר, והסיכום הוא "במה" כהה שעליה עומדים הבקבוקים שבסל,
   כמו הבקבוקים בפתיחה של האתר. הפטל רק על כפתורי הפעולה.
   ========================================================= */

/* ---------- פתיחה: כותרת ושלבי ההזמנה ---------- */
.page-hero--shop { padding-bottom: var(--gap-group); }
.page-hero--shop__in { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--gap-in) var(--gap-group); }
.page-hero--shop .page-hero__text { max-width: 62ch; }
.page-hero--shop h1 { margin: var(--gap-in) 0 14px; }
.shop-steps { display: flex; align-items: center; flex-wrap: wrap; row-gap: 10px; padding-bottom: 6px; }
.shop-steps li { display: flex; align-items: center; }
.shop-steps li + li::before { content: ""; width: calc(var(--u) * 1.6); height: 1px; margin: 0 14px; background: var(--ice-16); }
.shop-steps li > a, .shop-steps li > span { display: inline-flex; align-items: center; gap: 10px; color: var(--ice-72); text-decoration: none; font-size: var(--fs5); }
.shop-steps__n { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ice-16); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.shop-steps__n .ic { width: 16px; height: 16px; }
.shop-steps .is-done .shop-steps__n { border-color: var(--ice-50); color: var(--ice); }
.shop-steps .is-done a:hover .shop-steps__label { color: var(--ice); text-decoration: underline; text-underline-offset: .25em; }
.shop-steps .is-current .shop-steps__n { background: var(--ice); border-color: var(--ice); color: var(--night); }
.shop-steps .is-current .shop-steps__label { color: var(--ice); font-weight: 700; }

/* ---------- פריסה ---------- */
.page-body--cart, .page-body--checkout { padding-top: var(--gap-group); }
.gcart, .gcheckout { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap-in); align-items: start; }
.gcart__main { grid-column: 1 / span 7; }
.gcart__side { grid-column: 9 / -1; position: sticky; top: calc(var(--header-h) + var(--gap-in)); }
.gcheckout__main { grid-column: 1 / span 6; display: grid; gap: var(--gap-group); }
.gcheckout__side { grid-column: 8 / -1; position: sticky; top: calc(var(--header-h) + var(--gap-in)); }

/* ---------- הודעות של WooCommerce ---------- */
.shop-content .woocommerce-notices-wrapper:not(:empty), .shop-content .woocommerce-NoticeGroup { margin-bottom: var(--gap-in); }
.shop-content ul.woocommerce-error { list-style: none; margin: 0 0 var(--gap-in); }
.shop-content .woocommerce-error li + li { margin-top: 6px; }
.shop-content .woocommerce-message, .shop-content .woocommerce-info, .shop-content .woocommerce-error { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: var(--fs5); }
.shop-content .woocommerce-error { display: block; }
.shop-content .woocommerce-message a, .shop-content .woocommerce-info a { font-weight: 700; }
.shop-content .woocommerce-message .button, .shop-content .woocommerce-info .button { min-height: 40px; padding: 0 1.1em; font-size: var(--fs5); margin-inline-start: auto; }

/* ---------- עמוד הסל: רשימת הפריטים ---------- */
.gcart__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--night-12); }
.gcart__title { font-family: var(--display); font-weight: var(--display-w); font-size: var(--fs3); line-height: 1.1; color: var(--night); margin: 0 !important; }
.gcart__more { font-size: var(--fs5); font-weight: 700; }
.gcart__list { margin: 0; }
.gcart-item {
  display: grid; grid-template-columns: calc(var(--u) * 6.4) 1fr auto calc(var(--u) * 3.8);
  grid-template-areas: "vis info qty sum" "vis info qty remove";
  column-gap: var(--gap-in); row-gap: 4px; align-items: center;
  padding: var(--gap-in) 0; border-bottom: 1px solid var(--night-12);
}
.gcart-item__visual {
  grid-area: vis; position: relative; isolation: isolate; overflow: hidden;
  height: calc(var(--u) * 3.6); display: flex; align-items: flex-end; justify-content: center; gap: 2px;
  padding: 12px 10px 9px; border-radius: 16px; background: var(--night);
}
.gcart-item__visual::before { content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; bottom: -26%; height: 62%; background: radial-gradient(closest-side, rgb(var(--ice-rgb) / .18), transparent); }
.gcart-item__visual .mini-box__b { height: 100%; }
.gcart-item__visual--thumb { padding: 0; background: #fff; }
.gcart-item__visual--thumb::before { display: none; }
.gcart-item__visual--thumb img { width: 100%; height: 100%; object-fit: cover; }
.gcart-item__info { grid-area: info; min-width: 0; }
.gcart-item__title { font-family: var(--font); font-size: var(--fs4); font-weight: 700; line-height: 1.25; color: var(--night); margin: 0 !important; }
.gcart-item__title a { text-decoration: none; }
.gcart-item__mix { margin-top: 4px; font-size: var(--fs5); color: var(--night-72); }
.gcart-item__unit { margin-top: 6px; font-size: var(--fs5); color: var(--night-72); }
.gcart-item__info dl.variation { margin: 4px 0 0; font-size: var(--fs5); color: var(--night-72); }
.gcart-item__info dl.variation dt, .gcart-item__info dl.variation dd { display: inline; margin: 0; }
.gcart-item__info dl.variation p { display: inline; }
.gcart-item__info .backorder_notification { margin-top: 6px; font-size: var(--fs5); }
.gcart-item__qty { grid-area: qty; display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--night-12); border-radius: 999px; background: #fff; }
.gcart-item__step { width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; color: var(--night); display: grid; place-items: center; cursor: pointer; transition: background-color .2s; }
.gcart-item__step:hover { background: var(--night-05); }
.gcart-item__step .ic { width: 16px; height: 16px; }
.gcart .gcart-item__qty .quantity { margin: 0; }
.gcart .gcart-item__qty input.qty {
  width: 40px; min-height: 42px; padding: 0; border: 0; border-radius: 0; background: transparent;
  text-align: center; font-weight: 700; font-size: var(--fs4); color: var(--night); -moz-appearance: textfield; appearance: textfield;
}
.gcart .gcart-item__qty input.qty::-webkit-outer-spin-button, .gcart .gcart-item__qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.gcart-item__single { font-size: var(--fs5); padding: 0 14px; line-height: 42px; }
.gcart-item__sum { grid-area: sum; align-self: end; text-align: end; font-size: var(--fs4); font-weight: 700; white-space: nowrap; }
.gcart-item__remove { grid-area: remove; align-self: start; text-align: end; }
.gcart a.remove { font-size: var(--fs5); color: var(--night-72); text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.gcart a.remove:hover { color: var(--night); }
.gcart__actions { margin-top: var(--gap-in); display: flex; flex-wrap: wrap; gap: 12px; }
.js .gcart__update:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; border: 0; }

/* סל ריק */
.gcart-empty { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap-in); align-items: center; padding: var(--gap-group) 0; }
.gcart-empty__visual { grid-column: 1 / span 4; position: relative; display: flex; justify-content: center; align-items: flex-end; gap: var(--gap-in); padding: var(--gap-in) 0 calc(var(--u) * 3.2); border-radius: var(--radius); background: var(--night); overflow: hidden; }
.gcart-empty__visual .bottle { --bh: calc(var(--u) * 9); }
.gcart-empty__visual .bottle + .bottle { --bh: calc(var(--u) * 8.2); }
.gcart-empty__text { grid-column: 6 / -1; }
.gcart-empty__text h2 { font-size: var(--fs2) !important; margin: 0 0 var(--gap-in) !important; }
.gcart-empty__text p { font-size: var(--fs4); color: var(--night-72); max-width: 44ch; }
.gcart-empty__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px var(--gap-in); margin-top: var(--gap-group); }
.shop-content .gcart-empty__actions .btn { color: var(--ice); }

/* ---------- הסיכום: הבמה הכהה ---------- */
.shop-sum {
  position: relative; isolation: isolate; overflow: hidden;
  padding: var(--gap-in); border-radius: var(--radius);
  background: var(--night); color: var(--ice);
  box-shadow: 0 40px 80px -50px rgb(var(--night-rgb) / .75);
}
.shop-sum::before {
  content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none;
  background:
    radial-gradient(70% 34% at 50% 0%, color-mix(in srgb, var(--wine-ice) 15%, transparent), transparent 72%),
    radial-gradient(50% 30% at 15% 6%, color-mix(in srgb, var(--wine-rose) 13%, transparent), transparent 72%);
}
.shop-sum::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background-image: var(--grain); opacity: .07; mix-blend-mode: overlay; }
.shop-content .shop-sum h2, .shop-content .shop-sum h3 { color: var(--ice); margin: 0; }
.shop-content .shop-sum a { color: var(--ice); }
.shop-sum__title { font-family: var(--display); font-weight: var(--display-w); font-size: var(--fs3); line-height: 1.1; }
.shop-sum__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.shop-sum__edit { font-size: var(--fs5); color: var(--ice-72) !important; text-underline-offset: .25em; }

/* הבקבוקים שבסל, עומדים על משטח מואר */
.shop-sum { container-type: inline-size; }
/* הגובה יורד כשיש הרבה בקבוקים, כדי שכולם ייכנסו ברוחב של הסיכום (בקבוק: רוחב ≈ 0.3 מהגובה) */
.shop-table { position: relative; display: flex; justify-content: center; align-items: flex-end; height: min(calc(var(--u) * 4), calc((100cqw - (var(--n, 1) - 1) * 3px - 8px) / var(--n, 1) * 3.2)); margin: 22px 0 10px; }
.shop-table::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: -12px; height: 26px; background: radial-gradient(closest-side, rgb(var(--ice-rgb) / .2), transparent); pointer-events: none; }
.shop-table__row { position: relative; z-index: 1; display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.shop-table__row .mini-box__b { height: 100%; }
.shop-table__row .mini-box__b::before {
  content: ""; position: absolute; z-index: 0; left: 50%; bottom: -10%; width: 300%; height: 64%; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--swatch) 34%, transparent), transparent);
}
.shop-table__row .mini-box__b img { filter: drop-shadow(0 10px 10px rgb(0 0 0 / .45)); }
.shop-table__more { position: absolute; inset-inline-end: 0; bottom: 4px; font-size: var(--fs5); color: var(--ice-72); }
.shop-sum__count { text-align: center; font-size: var(--fs5); color: var(--ice-72); margin: 0 0 18px; }

/* שורות הסכומים */
.shop-content .shop-sum table { width: 100%; border: 0; border-radius: 0; background: transparent; border-collapse: collapse; overflow: visible; font-size: var(--fs5); }
.shop-content .shop-sum table th, .shop-content .shop-sum table td { padding: 11px 0; border: 0; border-top: 1px solid var(--ice-08); text-align: start; vertical-align: top; font-weight: 400; background: transparent; }
.shop-content .shop-sum table td { text-align: end; font-weight: 700; }
.shop-content .shop-sum table th { color: var(--ice-72); }
.shop-content .shop-sum .shop-sum__table > tbody > tr:first-child > *, .shop-content .shop-sum .shop-sum__table > tr:first-child > * { border-top: 0; }
.shop-content .shop-sum table .fee--promo th, .shop-content .shop-sum table .cart-discount th { color: var(--ice); }
.shop-content .shop-sum table .woocommerce-remove-coupon { margin-inline-start: 8px; font-size: 13px; font-weight: 400; color: var(--ice-72); }
.shop-content .shop-sum table .order-total th, .shop-content .shop-sum table .order-total td { padding-top: 18px; border-top: 1px solid var(--ice-16); color: var(--ice); vertical-align: baseline; }
.shop-content .shop-sum table .order-total th { font-size: var(--fs4); font-weight: 700; }
.shop-content .shop-sum table .order-total td { font-family: var(--display); font-weight: var(--display-w); font-size: var(--fs3); line-height: 1; }
.shop-content .shop-sum table .order-total td strong { font-weight: inherit; }
.shop-content .shop-sum table .order-total small, .shop-content .shop-sum table .includes_tax { display: block; margin-top: 6px; font-family: var(--font); font-size: 13px; font-weight: 400; color: var(--ice-72); }
.shop-content .shop-sum table .shop-sum__note td { font-weight: 400; color: var(--ice-72); max-width: 24ch; }
.shop-sum #shipping_method { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; justify-items: end; }
.shop-sum #shipping_method li { display: flex; align-items: center; gap: 8px; font-weight: 400; }
.shop-sum #shipping_method input[type="radio"] { margin: 0; accent-color: var(--ice); }
.shop-sum .woocommerce-shipping-destination, .shop-sum .woocommerce-shipping-contents { margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--ice-72); }
.shop-sum .shipping-calculator-button { font-weight: 400; }
.shop-sum .shipping-calculator-form { margin-top: 10px; text-align: start; }
.shop-sum .shipping-calculator-form input, .shop-sum .shipping-calculator-form select { width: 100%; background: var(--ice-08) !important; color: var(--ice) !important; border-color: var(--ice-16) !important; }

/* הצעות, קופון, כפתור ושורות אמון בתוך הסיכום */
.shop-sum .promo-hints { margin-top: 18px; }
.shop-sum .promo-hint { grid-template-columns: auto 1fr; }
.shop-sum .promo-hint__btn { grid-column: 2; justify-self: start; }
.shop-content .shop-sum .coupon-box__row input { min-height: 48px; padding: 0 16px; border-radius: 999px; background: var(--ice-08); border-color: var(--ice-16); color: var(--ice); }
.shop-sum .coupon-box { margin-top: var(--gap-in); padding-top: var(--gap-in); border-top: 1px solid var(--ice-08); }
.shop-sum .coupon-box--checkout { padding-top: 18px; }
.shop-sum .wc-proceed-to-checkout { margin-top: var(--gap-in); }
.shop-content .shop-sum .checkout-button { width: 100%; min-height: 60px; }
.shop-trust { display: grid; gap: 10px; margin-top: var(--gap-in); padding-top: var(--gap-in); border-top: 1px solid var(--ice-08); font-size: var(--fs5); color: var(--ice-72); }
.shop-trust li { display: flex; align-items: center; gap: .7em; }
.shop-trust .ic { width: 1.3em; height: 1.3em; color: var(--ice); }

/* ---------- עמוד התשלום ---------- */
.shop-content .gcheckout h3 { font-family: var(--display); font-weight: var(--display-w); font-size: var(--fs3); line-height: 1.1; color: var(--night); margin: 0 0 var(--gap-in); }
.shop-content .gcheckout .shop-sum h3 { color: var(--ice); margin: 0; }
.gcheckout__block { display: grid; gap: var(--gap-in); }
.gcheckout .woocommerce-billing-fields__field-wrapper, .gcheckout .woocommerce-shipping-fields__field-wrapper, .gcheckout .woocommerce-additional-fields__field-wrapper, .gcheckout .woocommerce-account-fields .create-account {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 18px;
}
.gcheckout .form-row { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; }
.gcheckout .form-row-first { grid-column: 1; }
.gcheckout .form-row-last { grid-column: 2; }
.gcheckout .form-row label { font-size: var(--fs5); font-weight: 700; }
.gcheckout .form-row .required { color: var(--accent); text-decoration: none; border: 0; font-weight: 700; }
.gcheckout .form-row .optional { font-weight: 400; color: var(--night-72); }
.gcheckout .woocommerce-input-wrapper { display: block; }
.gcheckout .input-text, .gcheckout select, .gcheckout textarea { width: 100%; min-height: 52px; border-radius: 14px; }
.gcheckout textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.gcheckout .woocommerce-invalid .input-text, .gcheckout .woocommerce-invalid select { border-color: var(--accent); }
.gcheckout .woocommerce-error, .gcheckout .checkout-inline-error-message { font-size: var(--fs5); }
.gcheckout .checkout-inline-error-message { color: var(--accent); margin: 2px 0 0; }
.gcheckout input[type="checkbox"], .gcheckout input[type="radio"] { width: 20px; height: 20px; margin: 0; accent-color: var(--night); flex: none; }
.gcheckout .woocommerce-form__label-for-checkbox { display: inline-flex !important; flex-direction: row; align-items: center; gap: 10px; font-weight: 400 !important; cursor: pointer; }
.shop-content .gcheckout #ship-to-different-address { font-family: var(--font); font-size: var(--fs4); font-weight: 700; margin: 0 0 18px; }
.gcheckout .woocommerce-shipping-fields, .gcheckout .woocommerce-additional-fields { margin-top: var(--gap-in); }
.gcheckout .woocommerce-account-fields { margin-top: 6px; }
.gcheckout__pay { padding-top: var(--gap-group); border-top: 1px solid var(--night-12); }
.shop-content .gcheckout .gcheckout__h { margin-bottom: 0; }

/* אמצעי התשלום (גם בעמוד "תשלום על הזמנה") */
.shop-content #payment { background: transparent; border-radius: 0; }
.shop-content #payment .wc_payment_methods { list-style: none; display: grid; gap: 10px; margin: 0 0 var(--gap-in); padding: 0; border: 0; }
.shop-content #payment .wc_payment_method { position: relative; padding: 16px 18px; background: #fff; border: 1px solid var(--night-12); border-radius: 14px; transition: border-color .2s, box-shadow .2s; }
.shop-content #payment .wc_payment_method:has(> input:checked) { border-color: var(--night); box-shadow: 0 0 0 1px var(--night); }
.shop-content #payment .wc_payment_method > input { width: 20px; height: 20px; margin: 0; vertical-align: middle; accent-color: var(--night); }
.shop-content #payment .wc_payment_method > label { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-inline-start: 10px; font-weight: 700; cursor: pointer; vertical-align: middle; }
.shop-content #payment .wc_payment_method > label img { display: inline-block; max-height: 26px; width: auto; }
.shop-content #payment .payment_box { margin-top: 14px; padding: 14px 16px; border-radius: 10px; background: var(--night-05); font-size: var(--fs5); color: var(--night-72); }
.shop-content #payment .payment_box::before { display: none; }
.shop-content #payment .payment_box p { margin: 0; }
.shop-content #payment .payment_box p + p { margin-top: 8px; }
.shop-content #payment .payment_box fieldset { border: 0; margin: 0; padding: 0; }
.shop-content #payment .place-order { display: grid; gap: 16px; margin: 0; padding: 0; }
.shop-content #payment .woocommerce-privacy-policy-text { font-size: 14px; color: var(--night-72); }
.shop-content #payment .woocommerce-privacy-policy-text a, .shop-content #payment .woocommerce-terms-and-conditions-link { font-weight: 700; }
.shop-content #payment .woocommerce-terms-and-conditions-wrapper .form-row { margin: 0; }
.shop-content #payment .woocommerce-terms-and-conditions { max-height: 200px; overflow: auto; padding: 14px; border-radius: 10px; background: #fff; margin-bottom: 10px; }
.shop-content #payment #place_order { width: 100%; min-height: 60px; }
.shop-content #payment .woocommerce-info { margin: 0 0 var(--gap-in); }

/* כשאמצעי התשלום בתוך הסיכום הכהה (הגדרה לתאימות) */
.shop-sum #payment { margin-top: var(--gap-in); padding-top: var(--gap-in); border-top: 1px solid var(--ice-16); }
.shop-content .shop-sum #payment .wc_payment_method { color: var(--night); }
.shop-content .shop-sum #payment .wc_payment_method a { color: var(--night); }
.shop-content .shop-sum #payment .woocommerce-privacy-policy-text, .shop-content .shop-sum #payment .woocommerce-terms-and-conditions-checkbox-text { color: var(--ice-72); }
.shop-sum .woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 10px; }

/* סיכום ההזמנה בצד */
.shop-content .shop-sum .woocommerce-checkout-review-order { background: transparent; padding: 0; border-radius: 0; }
.shop-content .shop-sum .woocommerce-checkout-review-order-table tbody td { padding: 14px 0; vertical-align: middle; font-weight: 400; color: var(--ice); }
.shop-content .shop-sum .woocommerce-checkout-review-order-table tbody tr:first-child td { border-top: 0; }
.shop-content .shop-sum .woocommerce-checkout-review-order-table .product-total { text-align: end; font-weight: 700; white-space: nowrap; }
.shop-content .shop-sum .woocommerce-checkout-review-order-table tfoot tr:first-child > * { border-top: 1px solid var(--ice-16); }
.review-item { display: flex; align-items: center; gap: 12px; }
.review-item__mini { display: flex; align-items: flex-end; justify-content: center; gap: 1px; flex: none; min-width: 38px; height: 48px; padding: 0 4px; }
.review-item__mini .mini-box__b { height: 100%; }
.review-item__mini > img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.review-item__text { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; min-width: 0; }
.review-item__name { font-weight: 700; }
.review-item .product-quantity { font-weight: 400; color: var(--ice-72); }
.review-item__mix { flex-basis: 100%; font-size: 13px; color: var(--ice-72); }
.review-item dl.variation { flex-basis: 100%; margin: 2px 0 0; font-size: 13px; color: var(--ice-72); }
.review-item dl.variation dt, .review-item dl.variation dd, .review-item dl.variation p { display: inline; margin: 0; }

/* בזמן שהסל או הסיכום מתעדכנים */
.shop-content .blockUI.blockOverlay::before {
  content: ""; position: absolute; top: 50%; left: 50%; width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border-radius: 50%; border: 2px solid var(--night-12); border-top-color: var(--night); animation: gspin .8s linear infinite;
}
.shop-sum .blockUI.blockOverlay { background: var(--night) !important; opacity: .55 !important; }
.shop-sum .blockUI.blockOverlay::before { border-color: var(--ice-16); border-top-color: var(--ice); }
@keyframes gspin { to { transform: rotate(360deg); } }

/* ---------- עמוד התודה ---------- */
.gthanks { display: grid; gap: var(--gap-group); }
.gthanks .woocommerce-thankyou-order-received { font-size: var(--fs4); color: var(--night-72); }
.gthanks__overview { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.gthanks__overview li { display: grid; align-content: start; gap: 8px; padding: 20px 22px; border-radius: 16px; background: #fff; }
.gthanks__overview li > span { font-size: var(--fs5); color: var(--night-72); }
.gthanks__overview strong { font-family: var(--display); font-weight: var(--display-w); font-size: var(--fs3); line-height: 1.1; color: var(--night); overflow-wrap: anywhere; }
.gthanks__overview .date strong, .gthanks__overview .email strong, .gthanks__overview .method strong { font-family: var(--font); font-size: var(--fs4); font-weight: 700; }
.gthanks__next { list-style: none; margin: 0; padding: var(--gap-in) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-in); border-top: 1px solid var(--night-12); }
.gthanks__next li { display: flex; align-items: flex-start; gap: 18px; }
.gthanks__n { font-family: var(--display); font-weight: var(--display-w); font-size: var(--fs2); line-height: .8; }
.gthanks__next b { display: block; font-size: var(--fs4); }
.gthanks__next li > div > span { display: block; margin-top: 2px; font-size: var(--fs5); color: var(--night-72); }
.gthanks__next a { color: var(--night); font-weight: 700; }
.gthanks .woocommerce-order-details, .gthanks .woocommerce-customer-details { padding: var(--gap-in); border-radius: var(--radius); background: #fff; }
.gthanks .woocommerce-order-details table { width: 100%; border-collapse: collapse; }
.shop-content .gthanks .woocommerce-order-details table.shop_table th, .shop-content .gthanks .woocommerce-order-details table.shop_table td { padding: 14px 0; border: 0; border-top: 1px solid var(--night-12); text-align: start; vertical-align: top; }
.shop-content .gthanks .woocommerce-order-details table.shop_table td:last-child, .shop-content .gthanks .woocommerce-order-details table.shop_table th + td { text-align: end; }
.shop-content .gthanks .woocommerce-order-details table.shop_table thead th { border-top: 0; color: var(--night-72); font-weight: 400; }
.gthanks .wc-item-meta { list-style: none; margin: 4px 0 0; padding: 0; font-size: var(--fs5); color: var(--night-72); }
.gthanks .wc-item-meta li, .gthanks .wc-item-meta p { display: inline; margin: 0; }
.gthanks .woocommerce-columns--addresses { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-in); }
.gthanks .woocommerce-customer-details address { font-style: normal; line-height: 1.7; padding: 0; border: 0; }
.gthanks .woocommerce-customer-details--phone, .gthanks .woocommerce-customer-details--email { margin: 4px 0 0; }
.gthanks__failed { display: grid; gap: 18px; }
.gthanks__failed .woocommerce-notice { display: flex; flex-wrap: wrap; align-items: center; gap: 14px var(--gap-in); font-size: var(--fs4); }
.gthanks__back { text-align: center; }

/* ---------- מובייל ---------- */
@media (max-width: 1100px) and (min-width: 901px) {
  .gcart__main { grid-column: 1 / span 7; }
  .gcart__side { grid-column: 8 / -1; }
  .gcheckout__main { grid-column: 1 / span 7; }
  .gcheckout__side { grid-column: 8 / -1; }
}
@media (max-width: 900px) {
  .page-hero--shop__in { flex-direction: column; align-items: flex-start; gap: 20px; }
  .shop-steps li + li::before { width: 18px; margin: 0 8px; }
  .shop-steps li:not(.is-current) .shop-steps__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .gcart, .gcheckout { display: flex; flex-direction: column; gap: var(--gap-group); }
  .gcart__main, .gcart__side, .gcheckout__main, .gcheckout__side { width: 100%; position: static; }
  .gcheckout__side { order: -1; }
  .gcart-item { grid-template-columns: auto 1fr auto; grid-template-areas: "vis info info" "vis qty sum" "vis qty remove"; column-gap: 16px; row-gap: 10px; }
  .gcart-item__visual { width: auto; min-width: 88px; height: 84px; padding: 10px 8px 7px; align-self: start; }
  .gcart-item__qty { justify-self: start; }
  .gcart-item__step { width: 44px; height: 44px; }
  .gcart-empty { display: flex; flex-direction: column; align-items: stretch; gap: var(--gap-in); padding-top: 0; }
  .gcart-empty__visual .bottle { --bh: 220px; }
  .gcart-empty__visual .bottle + .bottle { --bh: 200px; }
  .gcheckout .woocommerce-billing-fields__field-wrapper, .gcheckout .woocommerce-shipping-fields__field-wrapper, .gcheckout .woocommerce-additional-fields__field-wrapper { grid-template-columns: 1fr; }
  .gcheckout .form-row-first, .gcheckout .form-row-last { grid-column: 1 / -1; }
  .gthanks__next { grid-template-columns: 1fr; gap: 18px; }
  .gthanks .woocommerce-columns--addresses { grid-template-columns: 1fr; }
}
