/* =========================================================
   The Sweet & Cosy — Bag, Checkout, Account, Order confirmed
   (loaded only on WooCommerce cart / checkout / account pages)
   ========================================================= */
.woocommerce-cart, .woocommerce-checkout, .woocommerce-account, .sc-search, .sc-404, .sc-policy, .sc-track-page, .sc-cart, .sc-co, .sc-acc, .sc-ty, .sc-login, .sc-empty { --line: #EADBD6; --field: #D4B9B3; --muted: #6B5559; --green: #2F6B3A; font-family: var(--sc-sans); color: var(--sc-ink); }
.woocommerce-cart .site-main, .woocommerce-checkout .site-main, .woocommerce-account .site-main { max-width: 1280px; margin: 0 auto; padding: 0 24px 96px; }
.woocommerce-cart .page-header, .woocommerce-checkout .page-header, .woocommerce-account .page-header,
.woocommerce-cart .entry-title, .woocommerce-checkout .entry-title, .woocommerce-account .entry-title { display: none; }
.sc-link { background: none; border: 0; padding: 0; font-size: 14px; color: var(--muted) !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sc-link:hover { color: var(--sc-berry) !important; }
.sc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 30px; border-radius: 999px; background: var(--sc-berry); color: #FFFFFF !important; font-family: var(--sc-sans); font-size: 16px; font-weight: 700; text-decoration: none !important; border: 0; cursor: pointer; transition: background-color .25s ease, transform .25s ease; }
.sc-btn:hover { background: var(--sc-wine); transform: translateY(-2px); }
.sc-btn--ghost { background: transparent; border: 1.5px solid var(--sc-wine); color: var(--sc-wine) !important; }
.sc-btn--ghost:hover { background: var(--sc-wine); color: #FFFFFF !important; }
.sc-card { padding: 28px; border-radius: 24px; background: #FFFFFF; border: 1px solid var(--line); }
/* WooCommerce notices */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px !important; padding: 14px 20px !important; border: 0 !important; border-radius: 14px; background: var(--sc-blush) !important; color: var(--sc-wine) !important; font-size: 15px; list-style: none; }
.woocommerce-error { background: #FCE8E8 !important; color: #8A1C1C !important; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; padding: 8px 16px !important; border-radius: 999px !important; background: var(--sc-wine) !important; color: #FFFFFF !important; font-size: 13px !important; }
.woocommerce-cart .woocommerce-message { display: none; } /* "added to cart" notices aren't needed on the bag itself */

/* ---------------- BAG ---------------- */
.sc-cart__head { display: flex; align-items: baseline; gap: 16px; padding-top: 48px; }
.sc-cart__title { margin: 0 !important; font-family: var(--sc-serif); font-weight: 400; font-size: 56px; line-height: 1.1; color: var(--sc-ink); }
.sc-cart__count { font-size: 16px; color: var(--muted); }
.sc-cart__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 48px; align-items: start; padding-top: 32px; }
.sc-cart__main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.sc-cart__ship .sc-freeship { padding: 20px 24px; border-radius: 18px; font-size: 15px; }
.sc-cart__items { display: flex; flex-direction: column; gap: 20px; }
.sc-citem { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: center; padding: 20px; border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line); transition: opacity .3s ease; }
.sc-citem__img img { width: 140px !important; height: 150px !important; object-fit: cover; border-radius: 14px; display: block; }
.sc-citem__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sc-citem__top { display: flex; justify-content: space-between; gap: 16px; }
.sc-citem__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sc-citem__name { margin: 0 !important; font-family: var(--sc-serif); font-weight: 400; font-size: 21px !important; line-height: 1.25; }
.sc-citem__name a { color: var(--sc-ink) !important; text-decoration: none; }
.sc-citem__name a:hover { color: var(--sc-berry) !important; }
.sc-citem dl.variation { display: flex; flex-wrap: wrap; gap: 2px 6px; margin: 0; font-size: 14px; color: var(--muted); }
.sc-citem dl.variation dt { font-weight: 400; margin: 0; }
.sc-citem dl.variation dd { margin: 0 8px 0 0; }
.sc-citem dl.variation dd p { margin: 0; display: inline; }
.sc-citem__each { margin: 0 !important; font-size: 14px; color: var(--muted); }
.sc-citem__each .amount { font-weight: 400; }
.sc-citem__price { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; white-space: nowrap; }
.sc-citem__price strong { font-size: 20px; font-weight: 700; }
.sc-citem__price del { font-size: 14px; color: var(--muted); }
.sc-citem__actions { display: flex; align-items: center; gap: 18px; padding-top: 6px; }
.sc-citem__fixed { font-size: 14px; color: var(--muted); }
.sc-qs { display: inline-flex; align-items: center; height: 44px; border-radius: 999px; border: 1.5px solid var(--field); background: #FFFFFF; }
.sc-qs__btn { width: 40px; height: 40px; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--sc-wine) !important; font-size: 18px !important; font-weight: 400; line-height: 1; border-radius: 999px !important; cursor: pointer; background-image: none !important; box-shadow: none !important; }
.sc-qs__btn:hover { background: var(--sc-blush) !important; }
.sc-qs .quantity { margin: 0 !important; }
.sc-qs .quantity .qty { width: 30px !important; height: 40px !important; padding: 0 !important; border: 0 !important; background: transparent !important; text-align: center; font-family: var(--sc-sans); font-size: 15px !important; font-weight: 700; color: var(--sc-ink); -moz-appearance: textfield; box-shadow: none !important; }
.sc-qs .quantity .qty::-webkit-inner-spin-button, .sc-qs .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.sc-qs .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.sc-cart__gift { padding: 22px 24px; border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line); }
.sc-cart__gift h3 { margin: 0 0 8px !important; font-family: var(--sc-serif); font-weight: 400; font-size: 22px; }
.sc-cart__gift ul { margin: 0; padding: 0; list-style: none; }
.sc-cart__gift li { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; }
.sc-cart__gift li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 6px; background: var(--sc-blush) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E1221' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.sc-cart__gift li span { flex: 1; }
.sc-cart__gift .is-free { color: var(--green); font-weight: 600; }
.sc-cart__hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
/* summary */
.sc-sum { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 24px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(78, 18, 33, .06); float: none !important; width: auto !important; }
.sc-sum__title { margin: 0 0 4px !important; font-family: var(--sc-serif); font-weight: 400; font-size: 26px !important; }
.sc-sum__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sc-sum__row span { color: var(--muted); }
.sc-sum__row b { font-weight: 600; text-align: right; }
.sc-sum__row.is-save b, .sc-sum__row.is-save b .amount { color: var(--green); }
.sc-sum__row .woocommerce-remove-coupon { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--muted); }
.sc-sum__coupon { display: flex; gap: 8px; }
.sc-sum__coupon input { flex: 1; min-width: 0; height: 46px; padding: 0 16px !important; border-radius: 999px !important; border: 1px solid var(--field) !important; background: #FBF6F0 !important; font-size: 14px; letter-spacing: .06em; }
.sc-sum__apply { height: 46px; padding: 0 20px !important; border-radius: 999px !important; border: 1.5px solid var(--sc-wine) !important; background: transparent !important; background-image: none !important; color: var(--sc-wine) !important; font-size: 14px !important; font-weight: 700 !important; }
.sc-sum__apply:hover { background: var(--sc-wine) !important; color: #FFFFFF !important; }
.sc-sum__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.sc-sum__total span { font-size: 16px; font-weight: 700; }
.sc-sum__total b { font-family: var(--sc-serif); font-weight: 400; font-size: 32px; }
.sc-sum__note { margin: -6px 0 0 !important; font-size: 13px; color: var(--muted); }
.sc-sum .wc-proceed-to-checkout { padding: 0 !important; }
.sc-sum__cta { display: flex !important; align-items: center; justify-content: center; gap: 10px; height: 56px; border-radius: 999px; background: var(--sc-berry); color: #FFFFFF !important; font-size: 17px; font-weight: 700; text-decoration: none !important; transition: background-color .25s ease, transform .25s ease; }
.sc-sum__cta:hover { background: var(--sc-wine); transform: translateY(-2px); }
.sc-sum__chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.sc-sum__chips span { padding: 4px 9px; border-radius: 6px; border: 1px solid var(--line); font-size: 11px; font-weight: 700; color: var(--muted); }
.sc-sum__continue { text-align: center; font-size: 14px; font-weight: 700; color: var(--sc-wine) !important; text-decoration: none; }
.sc-sum__continue:hover { text-decoration: underline; }
.blockUI.blockOverlay { border-radius: 22px; background: rgba(251, 246, 240, .6) !important; }
/* empty bag */
.sc-empty { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 64px auto 0; max-width: 640px; padding: 64px 32px; border-radius: 24px; background: #FFFFFF; border: 1px solid var(--line); text-align: center; }
.sc-empty__icon { width: 88px; height: 88px; border-radius: 50%; background: var(--sc-blush); color: var(--sc-wine); display: flex; align-items: center; justify-content: center; }
.sc-empty__title { margin: 0 !important; font-family: var(--sc-serif); font-weight: 400; font-size: 36px; }
.sc-empty p { margin: 0; color: var(--muted); }
.sc-empty__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.woocommerce-cart .cart-empty.woocommerce-info { display: none; }

@media (max-width: 1024px) {
  .sc-cart__grid { grid-template-columns: 1fr; }
  .sc-sum { position: static; }
}
@media (max-width: 767px) {
  .woocommerce-cart .site-main, .woocommerce-checkout .site-main, .woocommerce-account .site-main { padding: 0 16px 64px; }
  .sc-cart__head { padding-top: 24px; }
  .sc-cart__title { font-size: 38px; }
  .sc-citem { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 18px; align-items: start; }
  .sc-citem__img img { width: 96px !important; height: 110px !important; border-radius: 12px; }
  .sc-citem__top { flex-direction: column; gap: 6px; }
  .sc-citem__price { flex-direction: row; align-items: baseline; gap: 8px; }
  .sc-citem__price strong { font-size: 17px; }
  .sc-citem__name { font-size: 18px !important; }
  .sc-citem__actions { gap: 14px; }
}
/* overrides of WooCommerce defaults inside the bag */
.woocommerce .sc-cart a.remove.sc-link, .woocommerce-page .sc-cart a.remove.sc-link { display: inline; width: auto; height: auto; border-radius: 0; font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--muted) !important; background: none !important; text-align: left; }
.woocommerce .sc-cart a.remove.sc-link:hover { color: var(--sc-berry) !important; }
.sc-sum__total b, .sc-sum__total b .amount, .sc-sum__total b bdi { font-family: var(--sc-serif) !important; font-weight: 400 !important; font-size: 32px !important; }
.woocommerce .sc-sum .wc-proceed-to-checkout a.checkout-button.sc-sum__cta { margin: 0; padding: 0 !important; height: 56px; font-size: 17px !important; line-height: 1; }
.sc-qs { height: 44px; overflow: hidden; }
.sc-qs .quantity { display: flex !important; align-items: center; height: 40px; padding: 0 !important; }
.sc-cart__bar { display: none; }
@media (max-width: 767px) {
  .sc-citem__name { font-family: var(--sc-sans); font-weight: 700; font-size: 15px !important; line-height: 1.35; }
  .sc-citem__actions { flex-wrap: wrap; row-gap: 4px; }
  .sc-qs { height: 40px; }
  .sc-qs__btn { width: 36px; height: 36px; }
  .sc-cart { padding-bottom: 96px; }
  .sc-cart__bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; flex-direction: column; gap: 10px; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: #FFFFFF; box-shadow: 0 -10px 30px rgba(42, 26, 30, .12); }
  .sc-cart__bar > div { display: flex; justify-content: space-between; align-items: baseline; }
  .sc-cart__bar span { font-size: 15px; font-weight: 700; }
  .sc-cart__bar b, .sc-cart__bar b .amount { font-family: var(--sc-serif); font-weight: 400; font-size: 24px; }
  .sc-cart__bar a { display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 999px; background: var(--sc-berry); color: #FFFFFF !important; font-size: 16px; font-weight: 700; text-decoration: none; }
}

/* ---------------- CHECKOUT ---------------- */
/* Distraction-free: hide menu, search, account, wishlist and bag icons in the header on checkout */
.sc-focus-checkout .sc-header .elementor-widget-nav-menu,
.sc-focus-checkout .sc-header .elementor-widget-search-form,
.sc-focus-checkout .sc-header .sc-hicon,
.sc-focus-checkout .sc-header .elementor-widget-woocommerce-menu-cart { display: none !important; }
.sc-co__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 36px 0 28px; }
.sc-co__steps { display: flex; align-items: center; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; color: var(--muted); }
.sc-co__steps li { display: flex; align-items: center; gap: 14px; }
.sc-co__steps li + li::before { content: ""; width: 40px; height: 1.5px; background: var(--field); }
.sc-co__steps a { color: var(--muted); text-decoration: none; }
.sc-co__steps .is-current { color: var(--sc-ink); font-weight: 700; }
.sc-co__secure { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 700; color: var(--green); }
.sc-co__secure span { color: var(--field); }
.sc-co__secure a { color: var(--sc-wine); }
.sc-co__grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: start; }
.sc-co__main, .sc-co__details { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.sc-co .col2-set, .sc-co .col-1, .sc-co .col-2 { width: 100% !important; float: none !important; }
.woocommerce-billing-fields { display: flex; flex-direction: column; gap: 20px; }
.sc-co__card { padding: 32px 28px; border-radius: 24px; background: #FFFFFF; border: 1px solid var(--line); }
.sc-co__cardhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.sc-co__h { margin: 0 !important; font-family: var(--sc-serif) !important; font-weight: 400 !important; font-size: 26px !important; color: var(--sc-ink); }
.sc-co__login { font-size: 14px; font-weight: 700; color: var(--sc-wine) !important; text-decoration: none; }
.sc-co__free { font-size: 14px; font-weight: 700; color: var(--green); }
.sc-co__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 14px; }
.sc-co__fields::before, .sc-co__fields::after { display: none !important; }
.sc-co__fields .form-row { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; grid-column: span 2; }
.sc-co__fields .form-row-first { grid-column: 1; }
.sc-co__fields .form-row-last { grid-column: 2; }
.sc-co__fields .form-row-wide, .sc-co__fields .notes { grid-column: span 2; }
.sc-co__fields .form-row[style*="display: none"], .sc-co__fields .form-row.hidden { display: none !important; }
.sc-co label { display: block; margin: 0 0 6px !important; font-size: 14px; font-weight: 700; color: var(--sc-ink); line-height: 1.4; }
.sc-co label .optional { font-weight: 400; color: var(--muted); }
.sc-co label .required { color: var(--sc-berry); text-decoration: none; border: 0; }
.sc-co .input-text, .sc-co select, .sc-co textarea, .sc-co .select2-container .select2-selection--single {
  width: 100%; height: 50px; padding: 0 16px !important; border-radius: 14px !important; border: 1px solid var(--field) !important; background: #FBF6F0 !important;
  font-family: var(--sc-sans); font-size: 15px !important; color: var(--sc-ink); box-shadow: none !important; }
.sc-co textarea { height: 110px; padding: 14px 16px !important; font-family: var(--sc-serif); font-style: italic; font-size: 16px !important; resize: vertical; }
.sc-co .input-text:focus, .sc-co select:focus, .sc-co textarea:focus { outline: none; border-color: var(--sc-wine) !important; box-shadow: 0 0 0 3px rgba(163, 48, 75, .15) !important; background: #FFFFFF !important; }
.sc-co .select2-container .select2-selection--single .select2-selection__rendered { line-height: 48px; padding: 0 !important; color: var(--sc-ink); }
.sc-co .select2-container .select2-selection--single .select2-selection__arrow { height: 48px; right: 10px; }
.sc-co .woocommerce-invalid .input-text, .sc-co .woocommerce-invalid select { border-color: #C0392B !important; }
.sc-co .form-row .woocommerce-input-wrapper { display: block; }
.sc-co .checkout-inline-error-message { margin: 6px 0 0; font-size: 13px; color: #C0392B; }
/* +91 prefix on mobile number */
.sc-phone .woocommerce-input-wrapper { position: relative; }
.sc-phone .woocommerce-input-wrapper::before { content: "+91"; position: absolute; left: 0; top: 0; bottom: 0; width: 52px; display: flex; align-items: center; justify-content: center; border-right: 1px solid var(--field); font-size: 15px; color: var(--muted); pointer-events: none; }
.sc-phone .input-text { padding-left: 64px !important; }
/* checkboxes */
.sc-co .sc-check label, .sc-co .create-account label { display: flex !important; align-items: center; gap: 10px; font-weight: 400; cursor: pointer; }
.sc-co input[type="checkbox"] { width: 22px; height: 22px; margin: 0; accent-color: var(--sc-wine); flex: 0 0 auto; }
.sc-co__account { padding: 0 6px; }
/* gift toggle */
.sc-co__gift { margin: 0 0 16px !important; font-size: inherit !important; }
.sc-toggle { position: relative; display: flex !important; align-items: center; gap: 14px; margin: 0 !important; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); cursor: pointer; font-weight: 400 !important; }
.sc-toggle__icon { color: var(--sc-wine); display: flex; }
.sc-toggle__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.sc-toggle__text strong { font-size: 15px; }
.sc-toggle__text small { font-size: 13px; color: var(--muted); }
.sc-toggle input { position: absolute; opacity: 0; width: 1px !important; height: 1px !important; }
.sc-toggle__switch { position: relative; flex: 0 0 44px; width: 44px; height: 26px; border-radius: 999px; background: var(--field); transition: background-color .25s ease; }
.sc-toggle__switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #FFFFFF; transition: transform .25s ease; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.sc-toggle input:checked ~ .sc-toggle__switch { background: var(--sc-wine); }
.sc-toggle input:checked ~ .sc-toggle__switch::after { transform: translateX(18px); }
.sc-toggle input:focus-visible ~ .sc-toggle__switch { box-shadow: 0 0 0 3px rgba(163, 48, 75, .3); }
.sc-co__hint { margin: 0 0 12px !important; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.shipping_address { margin-bottom: 18px; }
.sc-loading { position: relative; }
.sc-loading::after { content: ""; position: absolute; right: 14px; bottom: 15px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--field); border-top-color: var(--sc-wine); animation: sc-spin .7s linear infinite; }
@keyframes sc-spin { to { transform: rotate(360deg); } }
/* order summary */
.sc-co__side { position: sticky; top: 24px; }
.sc-co__sum { padding: 28px; border-radius: 24px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(78, 18, 33, .06); }
.sc-co__sumtitle { margin: 0 0 16px !important; font-family: var(--sc-serif); font-weight: 400; font-size: 26px !important; }
.sc-rot { width: 100%; margin: 0 !important; border: 0 !important; border-collapse: collapse; font-size: 15px; }
.sc-rot thead { display: none; }
.sc-rot td, .sc-rot th { padding: 8px 0 !important; border: 0 !important; background: none !important; vertical-align: middle; text-align: left; }
.sc-rot td.product-total, .sc-rot tfoot td { text-align: right; font-weight: 700; white-space: nowrap; }
.sc-rot tbody tr td { padding: 10px 0 !important; }
.sc-ro { display: flex; align-items: center; gap: 14px; }
.sc-ro__img { position: relative; flex: 0 0 64px; }
.sc-ro__img img { width: 64px !important; height: 64px !important; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); display: block; }
.sc-ro__qty { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--sc-wine); color: #FFFFFF; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.sc-ro__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-ro__name { font-weight: 700; font-size: 14px; line-height: 1.35; }
.sc-ro dl.variation { margin: 0; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0 6px; }
.sc-ro dl.variation dt, .sc-ro dl.variation dd, .sc-ro dl.variation p { margin: 0; font-weight: 400; display: inline; }
.sc-rot tfoot tr:first-child th, .sc-rot tfoot tr:first-child td { border-top: 1px solid var(--line) !important; padding-top: 16px !important; }
.sc-rot tfoot th { font-weight: 400; color: var(--muted); }
.sc-rot tfoot .woocommerce-shipping-totals td { font-weight: 600; }
.sc-rot tfoot #shipping_method { margin: 0; padding: 0; list-style: none; text-align: right; }
.sc-rot tfoot #shipping_method li { margin: 0 0 4px; display: flex; justify-content: flex-end; align-items: center; gap: 6px; font-weight: 600; }
.sc-rot tfoot #shipping_method input { accent-color: var(--sc-wine); }
.sc-rot tfoot .order-total th, .sc-rot tfoot .order-total td { border-top: 1px solid var(--line) !important; padding-top: 18px !important; }
.sc-rot tfoot .order-total th { font-size: 16px; font-weight: 700; color: var(--sc-ink); }
.sc-rot tfoot .order-total td strong, .sc-rot tfoot .order-total .amount { font-family: var(--sc-serif); font-weight: 400 !important; font-size: 30px !important; }
.sc-rot tfoot .woocommerce-shipping-destination, .sc-rot .shipping-calculator-button { display: none; }
/* payment */
.sc-co #payment { margin-top: 18px; background: none !important; border-radius: 0; }
.sc-co #payment ul.payment_methods { margin: 0 0 6px; padding: 0 !important; border: 0 !important; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sc-co #payment ul.payment_methods li { margin: 0 !important; padding: 14px 16px !important; border-radius: 16px; border: 1.5px solid var(--line); background: #FFFFFF; line-height: 1.5; }
.sc-co #payment ul.payment_methods li:has(input:checked) { border-color: var(--sc-wine); }
.sc-co #payment ul.payment_methods li > input { accent-color: var(--sc-wine); margin: 0 8px 0 0 !important; vertical-align: middle; }
.sc-co #payment ul.payment_methods li > label { display: inline !important; margin: 0 !important; font-size: 15px; font-weight: 700; }
.sc-co #payment ul.payment_methods li img { max-height: 22px; margin-left: 6px; vertical-align: middle; }
.sc-co #payment div.payment_box { margin: 10px 0 0 !important; padding: 0 !important; background: none !important; font-size: 14px; color: var(--muted); }
.sc-co #payment div.payment_box::before { display: none !important; }
.sc-co #payment div.form-row { padding: 0 !important; margin: 14px 0 0 !important; }
.sc-co #place_order { width: 100%; height: 58px; border: 0 !important; border-radius: 999px !important; background: var(--sc-berry) !important; background-image: none !important; color: #FFFFFF !important; font-family: var(--sc-sans); font-size: 17px !important; font-weight: 700 !important; float: none; transition: background-color .25s ease, transform .25s ease; }
.sc-co #place_order:hover { background: var(--sc-wine) !important; transform: translateY(-2px); }
.sc-co .woocommerce-terms-and-conditions-wrapper, .sc-co .woocommerce-privacy-policy-text { font-size: 12px; color: var(--muted); text-align: center; }
.sc-co .woocommerce-privacy-policy-text p { margin: 10px 0 0; }
.woocommerce-form-coupon-toggle .woocommerce-info { background: transparent !important; padding: 0 !important; margin: 0 0 12px !important; font-size: 14px; color: var(--muted) !important; }
.woocommerce-form-coupon-toggle .woocommerce-info a { color: var(--sc-wine); font-weight: 700; }
form.checkout_coupon { display: flex; gap: 8px; max-width: 520px; margin: 0 0 20px !important; padding: 16px !important; border-radius: 16px !important; border: 1px solid var(--line) !important; background: #FFFFFF; }
form.checkout_coupon p { margin: 0 !important; }
form.checkout_coupon .form-row-first { flex: 1; width: auto !important; }
form.checkout_coupon .input-text { height: 46px; border-radius: 999px !important; border: 1px solid var(--field) !important; padding: 0 16px !important; }
form.checkout_coupon .button { height: 46px; padding: 0 20px !important; border-radius: 999px !important; background: var(--sc-wine) !important; color: #FFFFFF !important; }
@media (max-width: 1024px) {
  .sc-co__grid { grid-template-columns: 1fr; }
  .sc-co__side { position: static; }
}
@media (max-width: 767px) {
  .sc-co__top { padding: 20px 0 16px; }
  .sc-co__steps { font-size: 13px; gap: 8px; }
  .sc-co__steps li { gap: 8px; }
  .sc-co__steps li + li::before { width: 16px; }
  .sc-co__card { padding: 22px 16px; border-radius: 20px; }
  .sc-co__h { font-size: 22px !important; }
  .sc-co__fields { grid-template-columns: 1fr; }
  .sc-co__fields .form-row-first, .sc-co__fields .form-row-last { grid-column: 1; }
  .sc-co__fields .form-row-wide, .sc-co__fields .notes { grid-column: 1; }
  .sc-co__sum { padding: 20px 16px; }
}

.sc-co .input-text, .sc-co select { height: 50px !important; line-height: 48px; min-height: 50px; }
.sc-co textarea.input-text { height: 110px !important; line-height: 1.5; }
.sc-co__steps li + li::before { display: block; flex: 0 0 40px; }
.woocommerce-checkout .woocommerce-message:has(.wc-forward) { display: none; }
.sc-co .sc-check .optional { display: none; }

/* ---------------- ORDER CONFIRMED ---------------- */
.sc-ty__hero { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 56px 0 40px; text-align: center; }
.sc-ty__icon { width: 96px; height: 96px; border-radius: 50%; background: var(--sc-wine); color: #FFFFFF; display: flex; align-items: center; justify-content: center; box-shadow: 0 18px 40px rgba(78, 18, 33, .22); animation: sc-pop .6s cubic-bezier(.2, .9, .3, 1.3) both; }
.sc-ty__icon.is-fail { background: #C0392B; font-size: 44px; font-weight: 700; }
@keyframes sc-pop { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.sc-ty__eb { margin: 8px 0 0 !important; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sc-berry); }
.sc-ty__title { margin: 0 !important; font-family: var(--sc-serif); font-weight: 400; font-size: 54px; line-height: 1.1; }
.sc-ty__title em { color: var(--sc-berry); }
.sc-ty__lead { max-width: 600px; margin: 0 !important; font-size: 17px; line-height: 1.65; color: var(--muted); }
.sc-ty__grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 32px; align-items: start; }
.sc-ty__main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.sc-ty__h { margin: 0 0 20px !important; font-family: var(--sc-serif); font-weight: 400; font-size: 26px !important; }
.sc-ty__two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sc-ty__label { margin: 0 0 10px !important; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sc-ty__addr { margin: 0; font-style: normal; font-size: 15px; line-height: 1.65; color: var(--muted); }
.sc-ty__strong { margin: 0 0 6px !important; font-weight: 700; }
.sc-ty__muted { margin: 0 !important; font-size: 15px; line-height: 1.65; color: var(--muted); }
.sc-ty__save { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px; border-radius: 24px; background: var(--sc-wine); color: #F6E6E4; }
.sc-ty__save h2 { margin: 0 0 6px !important; font-family: var(--sc-serif); font-weight: 400; font-size: 26px !important; color: #FFFFFF; }
.sc-ty__save p { margin: 0 !important; font-size: 14px; line-height: 1.55; color: #E3C9CE; }
.sc-btn--white { background: #FFFFFF; color: var(--sc-wine) !important; }
.sc-btn--white:hover { background: #F2B8C4; }
.sc-ty__sum { position: sticky; top: 24px; }
.sc-olist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.sc-olist li { display: flex; align-items: center; gap: 14px; }
.sc-olist__img img { width: 60px !important; height: 60px !important; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); display: block; }
.sc-olist__txt { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-olist__txt b { font-size: 14px; line-height: 1.35; }
.sc-olist__txt small { font-size: 12px; color: var(--muted); }
.sc-olist__price { font-weight: 700; font-size: 14px; white-space: nowrap; }
.sc-ty__rows { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.sc-ty__rows > div { display: flex; justify-content: space-between; gap: 12px; }
.sc-ty__rows span { color: var(--muted); }
.sc-ty__note { flex-direction: column; }
.sc-ty__note em { font-family: var(--sc-serif); font-size: 16px; color: var(--sc-wine); }
.sc-ty__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.sc-ty__total span { font-weight: 700; }
.sc-ty__total b, .sc-ty__total .amount { font-family: var(--sc-serif); font-weight: 400 !important; font-size: 30px; }
.sc-ty__link { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 700; color: var(--sc-wine) !important; }
/* progress tracker (also used in My Account) */
.sc-track { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.sc-track::before, .sc-track::after { content: ""; position: absolute; top: 19px; left: 12.5%; height: 2px; }
.sc-track::before { right: 12.5%; background: var(--line); }
.sc-track::after { width: calc(75% * var(--sc-progress) / 100); background: var(--sc-berry); }
.sc-track li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 6px; text-align: center; }
.sc-track__dot { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); background: #FFFFFF; color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.sc-track .is-done .sc-track__dot { background: var(--sc-wine); border-color: var(--sc-wine); color: #FFFFFF; }
.sc-track .is-current .sc-track__dot { border-color: var(--sc-berry); color: var(--sc-berry); box-shadow: 0 0 0 5px rgba(163, 48, 75, .12); }
.sc-track b { font-size: 14px; }
.sc-track small { font-size: 12px; line-height: 1.45; color: var(--muted); }
@media (max-width: 1024px) {
  .sc-ty__grid { grid-template-columns: 1fr; }
  .sc-ty__sum { position: static; }
}
@media (max-width: 767px) {
  .sc-ty__hero { padding: 32px 0 24px; }
  .sc-ty__icon { width: 76px; height: 76px; }
  .sc-ty__title { font-size: 34px; }
  .sc-ty__lead { font-size: 15px; }
  .sc-ty__two { grid-template-columns: 1fr; }
  .sc-ty__save { grid-template-columns: 1fr; }
  .sc-track { grid-template-columns: 1fr; gap: 14px; }
  .sc-track::before, .sc-track::after { top: 20px; bottom: 20px; left: 19px; right: auto; width: 2px; height: auto; }
  .sc-track::after { height: calc((100% - 40px) * var(--sc-progress) / 100); bottom: auto; }
  .sc-track li { flex-direction: row; flex-wrap: wrap; align-items: center; text-align: left; column-gap: 14px; padding: 0; }
  .sc-track__dot { margin: 0; flex: 0 0 40px; }
  .sc-track li small { flex-basis: 100%; padding-left: 54px; margin-top: -4px; }
}

/* ---------------- LOGIN ---------------- */
.sc-login { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 48px; align-items: stretch; padding: 40px 0 24px; }
.sc-login__art { position: relative; min-height: 640px; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #F6E6E4, #E3C9CE) center / cover no-repeat; display: flex; align-items: flex-end; padding: 28px; }
.sc-login__perks { width: 100%; padding: 28px; border-radius: 22px; background: rgba(78, 18, 33, .88); color: #F6E6E4; backdrop-filter: blur(4px); }
.sc-login__perks h2 { margin: 0 0 14px !important; font-family: var(--sc-serif); font-weight: 400; font-size: 28px !important; color: #FFFFFF; }
.sc-login__perks ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sc-login__perks li { position: relative; padding-left: 28px; font-size: 15px; }
.sc-login__perks li::before { content: "✓"; position: absolute; left: 0; color: #F2B8C4; font-weight: 700; }
.sc-login__card { align-self: center; display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 48px 44px; border-radius: 28px; background: #FFFFFF; border: 1px solid var(--line); text-align: center; }
.sc-login__mark { display: flex; justify-content: center; }
.sc-login__title { margin: 0 !important; font-family: var(--sc-serif); font-weight: 400; font-size: 40px; line-height: 1.1; }
.sc-login__title em { color: var(--sc-berry); }
.sc-login__lead { margin: 0 !important; font-size: 16px; line-height: 1.6; color: var(--muted); }
.sc-login__google .nsl-container { display: block !important; }
.sc-login__google .nsl-container-buttons { display: flex !important; justify-content: center; padding: 0 !important; }
.sc-login__google a { width: 100%; text-decoration: none !important; }
.sc-login__google .nsl-button { width: 100% !important; max-width: none !important; min-height: 56px; display: flex !important; align-items: center; justify-content: center; gap: 10px; border-radius: 999px !important; border: 1.5px solid var(--field); background: #FFFFFF !important; color: var(--sc-ink) !important; box-shadow: 0 8px 20px rgba(78, 18, 33, .08) !important; font-weight: 700; }
.sc-login__small { margin: 0 !important; font-size: 13px; line-height: 1.55; color: var(--muted); }
.sc-login__or { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.sc-login__or::before, .sc-login__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sc-login__guest { width: 100%; height: 52px; }
.sc-login__email { text-align: left; border-top: 1px solid var(--line); padding-top: 14px; }
.sc-login__email summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--sc-wine); text-align: center; list-style: none; }
.sc-login__email summary::-webkit-details-marker { display: none; }
.sc-login__email[open] summary { margin-bottom: 14px; }
.sc-login__form { display: flex; flex-direction: column; gap: 12px; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.sc-login__form .form-row { margin: 0 !important; padding: 0 !important; }
.sc-login__form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.sc-login__form .input-text { width: 100%; height: 50px; padding: 0 16px !important; border-radius: 14px !important; border: 1px solid var(--field) !important; background: #FBF6F0 !important; font-size: 15px; }
.sc-login__row { display: flex; justify-content: space-between; align-items: center; }
.sc-login__row label { display: flex !important; align-items: center; gap: 8px; margin: 0 !important; font-weight: 400; }
.sc-login__lost { font-size: 13px; color: var(--sc-wine) !important; }
.sc-login__form .sc-btn { width: 100%; }
.sc-login__register { margin-top: 20px !important; padding-top: 18px !important; border-top: 1px dashed var(--line) !important; }
.sc-login__regtitle { margin: 0 !important; font-family: var(--sc-serif); font-size: 20px; }
.sc-login__terms { margin: 0 !important; font-size: 12px; color: var(--muted); }
.sc-login__terms a { color: var(--sc-wine); }

/* ---------------- MY ACCOUNT ---------------- */
.sc-acc__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 48px 0 32px; }
.sc-acc__eb { margin: 0 0 6px !important; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sc-berry); }
.sc-acc__title { margin: 0 !important; font-family: var(--sc-serif); font-weight: 400; font-size: 56px; line-height: 1.05; }
.sc-acc__since { margin: 0 !important; font-size: 15px; color: var(--muted); }
.sc-acc__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none !important; width: auto !important; }
.sc-acc__nav { position: sticky; top: 112px; padding: 12px; border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line); }
.sc-acc__nav ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sc-acc__nav a { display: flex; gap: 8px; justify-content: space-between; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 14px; color: var(--sc-ink) !important; font-size: 15px; font-weight: 700; text-decoration: none !important; transition: background-color .2s ease; }
.sc-acc__nav a:hover { background: var(--sc-blush); }
.sc-acc__nav small { font-size: 12px; color: var(--muted); }
.sc-acc__nav .is-active a { background: var(--sc-wine); color: #FFFFFF !important; }
.sc-acc__nav .is-active small { color: #F2B8C4; }
.sc-acc__nav .woocommerce-MyAccount-navigation-link--customer-logout a { font-weight: 500; color: var(--muted) !important; }
.sc-dash { display: flex; flex-direction: column; gap: 20px; }
.sc-dash__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
.sc-dash__h { margin: 0 !important; font-family: var(--sc-serif); font-weight: 400; font-size: 28px !important; }
.sc-dash__badge { padding: 6px 14px; border-radius: 999px; background: #FFF4E0; color: #8A5A00; font-size: 13px; font-weight: 700; white-space: nowrap; }
.sc-dash__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.sc-dash__thumbs { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.sc-dash__thumbs img { width: 56px !important; height: 56px !important; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.sc-dash__thumbs span { margin-left: 6px; }
.sc-btn--sm { height: 46px; padding: 0 22px; font-size: 15px; }
.sc-dash__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sc-dash__stat, .sc-dash__hamper { display: flex; flex-direction: column; gap: 6px; padding: 26px 24px; text-decoration: none !important; transition: transform .25s ease, box-shadow .25s ease; }
.sc-dash__stat:hover, .sc-dash__hamper:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(78, 18, 33, .1); }
.sc-dash__stat b { font-family: var(--sc-serif); font-weight: 400; font-size: 36px; line-height: 1; color: var(--sc-wine); }
.sc-dash__stat span { font-size: 15px; color: var(--muted); }
.sc-dash__hamper { border-radius: 24px; background: var(--sc-wine); color: #F6E6E4 !important; }
.sc-dash__hamper b { font-family: var(--sc-serif); font-weight: 400; font-size: 24px; color: #FFFFFF; }
.sc-dash__hamper span { font-size: 14px; color: #E3C9CE; }
.sc-dash__none { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sc-dash__none p { margin: 0; color: var(--muted); }
/* other account screens: orders table, addresses, forms */
.sc-acc__content > p, .sc-acc__content .woocommerce-Address { font-size: 15px; color: var(--muted); }
.sc-acc__content table.shop_table { width: 100%; border: 1px solid var(--line) !important; border-radius: 20px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #FFFFFF; font-size: 15px; }
.sc-acc__content table.shop_table th { padding: 14px 16px !important; background: #FBF6F0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 0 !important; }
.sc-acc__content table.shop_table td { padding: 16px !important; border-top: 1px solid var(--line) !important; border-left: 0 !important; border-right: 0 !important; vertical-align: middle; }
.sc-acc__content table.shop_table td a:not(.button) { color: var(--sc-wine); font-weight: 700; }
.sc-acc__content .button, .sc-acc__content button.button { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px !important; border-radius: 999px !important; border: 1.5px solid var(--sc-wine) !important; background: transparent !important; color: var(--sc-wine) !important; font-size: 14px !important; font-weight: 700 !important; background-image: none !important; }
.sc-acc__content .button:hover { background: var(--sc-wine) !important; color: #FFFFFF !important; }
.sc-acc__content mark { padding: 4px 10px; border-radius: 999px; background: var(--sc-blush); color: var(--sc-wine); font-weight: 700; font-size: 13px; }
.sc-acc__content .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sc-acc__content .woocommerce-Addresses::before, .sc-acc__content .woocommerce-Addresses::after { display: none; }
.sc-acc__content .woocommerce-Address { width: auto !important; float: none !important; padding: 24px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--line); }
.sc-acc__content .woocommerce-Address-title h2 { font-family: var(--sc-serif); font-weight: 400; font-size: 22px; }
.sc-acc__content form .form-row { margin: 0 0 14px; }
.sc-acc__content form label { font-size: 14px; font-weight: 700; color: var(--sc-ink); }
.sc-acc__content form .input-text, .sc-acc__content form select { height: 50px; padding: 0 16px !important; border-radius: 14px !important; border: 1px solid var(--field) !important; background: #FBF6F0 !important; }
.sc-acc__content fieldset { margin: 20px 0; padding: 20px; border-radius: 18px; border: 1px solid var(--line); }
@media (max-width: 1024px) {
  .sc-login { grid-template-columns: 1fr; }
  .sc-login__art { min-height: 360px; order: 2; }
  .sc-acc__grid { grid-template-columns: 1fr; }
  .sc-acc__nav { position: static; }
  .sc-acc__nav ul { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .sc-acc__nav a { white-space: nowrap; }
}
@media (max-width: 767px) {
  .sc-login { padding-top: 20px; gap: 20px; }
  .sc-login__card { padding: 32px 20px; }
  .sc-login__title { font-size: 32px; }
  .sc-login__art { min-height: 300px; padding: 16px; }
  .sc-login__perks { padding: 20px; }
  .sc-acc__head { flex-direction: column; align-items: flex-start; padding: 24px 0 20px; }
  .sc-acc__title { font-size: 38px; }
  .sc-dash__top { flex-direction: column; }
  .sc-dash__foot { flex-direction: column; align-items: flex-start; }
  .sc-dash__cards { grid-template-columns: 1fr 1fr; }
  .sc-dash__hamper { grid-column: span 2; }
  .sc-acc__content .woocommerce-Addresses { grid-template-columns: 1fr; }
}
.sc-btn { box-sizing: border-box; }
.sc-login__form .input-text, .sc-acc__content form .input-text, .sc-acc__content form select { height: 50px !important; min-height: 50px; line-height: 48px; box-sizing: border-box; }
.sc-acc__content form textarea.input-text { height: auto !important; line-height: 1.5; }
.sc-acc__nav { min-width: 0; }
.sc-acc__content { min-width: 0; }
.sc-acc__content table.shop_table tbody th { padding: 16px !important; background: none; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--sc-ink); border-top: 1px solid var(--line) !important; }
.sc-acc__content .button, .sc-acc__content a.button { display: inline-flex !important; line-height: 1 !important; }
@media (max-width: 1024px) { .sc-acc__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) {
  .sc-acc__content table.shop_table_responsive tr { display: block; padding: 8px 0; border-top: 1px solid var(--line); }
  .sc-acc__content table.shop_table_responsive tr td, .sc-acc__content table.shop_table_responsive tbody th { display: block; padding: 8px 16px !important; border: 0 !important; text-align: right !important; }
}

.sc-sum .coupon-error-notice { flex-basis: 100%; margin: 6px 0 0 !important; font-size: 13px; color: #A61B1B; }
.sc-sum__coupon { flex-wrap: wrap; }
/* Contact card: mobile + email side by side, WhatsApp tick below — whatever WooCommerce's scripts do */
.sc-co__contact #billing_phone_field { grid-column: 1 !important; grid-row: 1; }
.sc-co__contact #billing_email_field { grid-column: 2 !important; grid-row: 1; }
.sc-co__contact #billing_whatsapp_field { grid-column: 1 / -1 !important; grid-row: 2; }
@media (max-width: 767px) {
  .sc-co__contact #billing_phone_field, .sc-co__contact #billing_email_field, .sc-co__contact #billing_whatsapp_field { grid-column: 1 !important; grid-row: auto; }
}
.sc-rot .sc-ship-pending td { font-size: 13px; font-weight: 500 !important; color: var(--muted); }
.sc-rot .woocommerce-shipping-totals td p, .sc-rot .woocommerce-shipping-totals td .woocommerce-shipping-contents { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.sc-rot { table-layout: fixed; }
.sc-rot td.product-total, .sc-rot tfoot td { width: 42%; }
.sc-rot tbody td.product-total { width: 90px; }
.sc-rot .sc-ship-pending td, .sc-rot .woocommerce-shipping-totals td { white-space: normal; }


/* ---------------- SEARCH ---------------- */
.sc-search, .sc-404, .sc-policy { max-width: 1280px; margin: 0 auto; padding: 48px 24px 96px; font-family: var(--sc-sans); color: var(--sc-ink); }
.sc-search__form { position: relative; display: flex; align-items: center; gap: 14px; height: 72px; padding: 0 16px 0 26px; border-radius: 999px; border: 1px solid var(--field); background: #FFFFFF; color: var(--muted); }
.sc-search__form input { flex: 1; min-width: 0; height: 100%; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 !important; font-family: var(--sc-serif); font-size: 26px; color: var(--sc-ink); outline: none; }
.sc-search__form:focus-within { border-color: var(--sc-wine); box-shadow: 0 0 0 3px rgba(163, 48, 75, .12); }
.sc-search__clear { width: 44px; height: 44px; border-radius: 50%; background: var(--sc-blush); color: var(--sc-wine); display: flex; align-items: center; justify-content: center; text-decoration: none; }
.sc-search__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-top: 24px; }
.sc-search__count { margin: 0; font-size: 16px; color: var(--muted); }
.sc-search__tabs { display: flex; gap: 8px; }
.sc-search__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: var(--muted); }
.sc-chip--sm { padding: 7px 14px; font-size: 13px; font-weight: 500; }
.sc-search__sec, .sc-search__none, .sc-404__loved { margin-top: 48px; }
.sc-search__h { margin: 0 0 22px !important; font-family: var(--sc-serif); font-weight: 400; font-size: 32px !important; }
.sc-search__h small { font-size: 18px; color: var(--muted); }
.sc-search__posts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sc-search__post { display: flex; align-items: center; gap: 20px; padding: 16px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--line); color: var(--sc-ink) !important; text-decoration: none !important; transition: transform .25s ease, box-shadow .25s ease; }
.sc-search__post:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(78, 18, 33, .1); }
.sc-search__thumb { flex: 0 0 160px; height: 120px; border-radius: 14px; overflow: hidden; background: var(--sc-blush); }
.sc-search__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-search__ptxt { display: flex; flex-direction: column; gap: 6px; }
.sc-search__ptxt b { font-family: var(--sc-serif); font-weight: 400; font-size: 21px; line-height: 1.3; }
.sc-archive ul.products { margin: 0 !important; }
/* product cards on search/404 (WooCommerce [products]) */
.sc-search ul.products, .sc-404 ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.sc-search ul.products::before, .sc-search ul.products::after, .sc-404 ul.products::before, .sc-404 ul.products::after { display: none !important; }
.sc-search ul.products li.product, .sc-404 ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; }
.sc-search ul.products li.product .button, .sc-404 ul.products li.product .button { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px !important; border-radius: 999px !important; background: var(--sc-berry) !important; color: #FFFFFF !important; font-size: 14px !important; }

/* ---------------- 404 ---------------- */
.sc-404__hero { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 0 24px; text-align: center; }
.sc-404__smoke { animation: sc-smoke 3s ease-in-out infinite; transform-origin: 60px 40px; }
@keyframes sc-smoke { 0%, 100% { opacity: .3; transform: translateY(4px); } 50% { opacity: 1; transform: translateY(-4px); } }
.sc-404__eb { margin: 6px 0 0 !important; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sc-berry); }
.sc-404__title { margin: 0 !important; font-family: var(--sc-serif); font-weight: 400; font-size: 64px; line-height: 1.1; }
.sc-404__title em { color: var(--sc-berry); }
.sc-404__lead { max-width: 520px; margin: 0 !important; font-size: 18px; line-height: 1.65; color: var(--muted); }
.sc-404__form { display: flex; gap: 10px; width: 100%; max-width: 540px; margin-top: 10px; }
.sc-404__form input { flex: 1; min-width: 0; height: 54px; padding: 0 22px !important; border-radius: 999px !important; border: 1px solid var(--field) !important; background: #FFFFFF !important; font-size: 15px; }
.sc-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 6px; }
.sc-404__links a { font-size: 15px; font-weight: 700; color: var(--sc-wine) !important; text-decoration: none; }
.sc-404__links a:hover { text-decoration: underline; }
.sc-404__h { text-align: center; }

/* ---------------- TRACK ORDER ---------------- */
.sc-track-page { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 56px; align-items: start; padding: 48px 0 24px; }
.sc-track-page__main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sc-track-page__title { margin: 0 !important; font-family: var(--sc-serif); font-weight: 400; font-size: 60px; line-height: 1.05; }
.sc-track-page__title em { color: var(--sc-berry); }
.sc-track-page__lead { margin: 0 0 12px !important; font-size: 17px; line-height: 1.65; color: var(--muted); }
.sc-track-page__form { display: flex; flex-direction: column; gap: 14px; }
.sc-track-page__form p { margin: 0 !important; }
.sc-track-page__form label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 700; }
.sc-track-page__form input { width: 100%; height: 52px; padding: 0 16px !important; border-radius: 14px !important; border: 1px solid var(--field) !important; background: #FBF6F0 !important; font-size: 15px; box-sizing: border-box; }
.sc-track-page__form .sc-btn { width: 100%; }
.sc-track-page__small { font-size: 13px; color: var(--muted); }
.sc-track-page__small a { color: var(--sc-wine); font-weight: 700; }
.sc-track-page__err { padding: 12px 16px; border-radius: 12px; background: #FCE8E8; color: #8A1C1C; font-size: 14px; }
.sc-track-page__result .sc-track { margin: 24px 0; }
.sc-track-page__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.sc-track-page__btns { display: flex; align-items: center; gap: 18px; margin-top: 20px; }
.sc-track-page__art { position: relative; min-height: 560px; border-radius: 28px; overflow: hidden; background: linear-gradient(160deg, #F6E6E4, #E3C9CE) center / cover no-repeat; display: flex; align-items: flex-end; padding: 28px; }
.sc-track-page__note { padding: 24px 26px; border-radius: 20px; background: rgba(251, 246, 240, .95); }
.sc-track-page__note h2 { margin: 0 0 6px !important; font-family: var(--sc-serif); font-weight: 400; font-size: 24px !important; }
.sc-track-page__note p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.sc-vo-track { margin-bottom: 24px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.sc-vo-track .sc-track { width: 100%; }

/* ---------------- POLICIES ---------------- */
.sc-policy__head { padding-bottom: 32px; }
.sc-policy__title { margin: 0 !important; font-family: var(--sc-serif); font-weight: 400; font-size: 60px; line-height: 1.05; }
.sc-policy__date { margin: 10px 0 0 !important; font-size: 15px; color: var(--muted); }
.sc-policy__grid { display: grid; grid-template-columns: 260px minmax(0, 1fr) 220px; gap: 48px; align-items: start; }
.sc-policy__nav { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 4px; padding: 10px; border-radius: 22px; background: #FFFFFF; border: 1px solid var(--line); }
.sc-policy__nav a { display: flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 14px; font-size: 15px; font-weight: 700; color: var(--sc-ink) !important; text-decoration: none !important; }
.sc-policy__nav a:hover { background: var(--sc-blush); }
.sc-policy__nav a.is-active { background: var(--sc-wine); color: #FFFFFF !important; }
.sc-policy__nav .sc-policy__track { margin-top: 6px; background: var(--sc-blush); color: var(--sc-wine) !important; }
.sc-policy__body { min-width: 0; }
.sc-policy__body > :first-child { margin-top: 0 !important; }
.sc-policy__body .sc-quick::before { content: "In short"; }
.sc-policy__ask { position: sticky; top: 112px; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px; border-radius: 22px; background: var(--sc-wine); color: #F6E6E4; }
.sc-policy__ask h2 { margin: 0 !important; font-family: var(--sc-serif); font-weight: 400; font-size: 24px !important; line-height: 1.2; color: #FFFFFF; }
.sc-policy__ask p { margin: 0 0 6px !important; font-size: 14px; color: #E3C9CE; }
.sc-policy__mail { font-size: 13px; color: #F2B8C4 !important; text-align: center; }
@media (max-width: 1100px) {
  .sc-policy__grid { grid-template-columns: 220px minmax(0, 1fr); }
  .sc-policy__ask { grid-column: 2; position: static; }
}
@media (max-width: 1024px) {
  .sc-search ul.products, .sc-404 ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .sc-track-page { grid-template-columns: 1fr; }
  .sc-track-page__art { min-height: 300px; }
}
@media (max-width: 767px) {
  .sc-search, .sc-404, .sc-policy { padding: 24px 16px 64px; }
  .sc-search__form { height: 58px; padding-left: 18px; }
  .sc-search__form input { font-size: 20px; }
  .sc-search__posts { grid-template-columns: 1fr; }
  .sc-search__thumb { flex-basis: 96px; height: 80px; }
  .sc-search__ptxt b { font-size: 17px; }
  .sc-404__title, .sc-track-page__title, .sc-policy__title { font-size: 38px; }
  .sc-404__form { flex-direction: column; }
  .sc-track-page { padding-top: 24px; gap: 28px; }
  .sc-policy__grid { grid-template-columns: 1fr; gap: 24px; }
  .sc-policy__nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .sc-policy__nav a { white-space: nowrap; }
  .sc-policy__ask { grid-column: 1; }
}
.sc-track-page { max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.sc-track-body .page-header, .sc-track-body .entry-title { display: none; }
.sc-policy__ask .sc-btn { width: 100%; white-space: nowrap; font-size: 14px; padding: 0 14px; }
@media (max-width: 767px) { .sc-track-page { padding-left: 16px; padding-right: 16px; } }

/* v1.8.4 — login card polish: Log in / Create account tabs, proper button weight, tidy rows */
.sc-login__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 18px; border-radius: 999px; background: #F6E6E4; }
.sc-login__tabs button { height: 44px; padding: 0 !important; border: 0 !important; border-radius: 999px !important; background: transparent !important; background-image: none !important; color: var(--sc-wine) !important; font-family: var(--sc-sans) !important; font-size: 15px !important; font-weight: 700 !important; text-transform: none !important; box-shadow: none !important; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.sc-login__tabs button.is-on { background: #FFFFFF !important; box-shadow: 0 2px 8px rgba(78, 18, 33, .12) !important; }
.sc-login__form[hidden] { display: none !important; }
.sc-login__register { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; }
.sc-login__form .sc-btn, .sc-login__form button[type="submit"] { height: 54px; border: 0 !important; border-radius: 999px !important; background: var(--sc-berry) !important; background-image: none !important; color: #FFFFFF !important; font-family: var(--sc-sans) !important; font-size: 16px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-transform: none !important; box-shadow: none !important; cursor: pointer; transition: background-color .25s ease, transform .25s ease; }
.sc-login__form .sc-btn:hover, .sc-login__form button[type="submit"]:hover { background: var(--sc-wine) !important; transform: translateY(-2px); }
.sc-login__row { display: flex !important; justify-content: space-between !important; align-items: center; gap: 12px; width: 100%; }
.sc-login__row label { font-size: 14px !important; font-weight: 500 !important; color: var(--sc-ink); cursor: pointer; }
.sc-login__row input[type="checkbox"] { width: 18px; height: 18px; margin: 0; accent-color: var(--sc-wine); }
.sc-login__lost { font-weight: 600; text-decoration: none !important; }
.sc-login__lost:hover { text-decoration: underline !important; }
.sc-login__form .input-text:focus { outline: none; border-color: var(--sc-wine) !important; box-shadow: 0 0 0 3px rgba(163, 48, 75, .15) !important; background: #FFFFFF !important; }
.sc-login__note { margin: 0 !important; padding: 12px 14px; border-radius: 12px; background: #F6E6E4; font-size: 13px; line-height: 1.5; color: var(--sc-wine); text-align: left; }
.sc-login__email summary { padding: 4px 0; }
.sc-login__email[open] summary { display: none; }
.sc-login__email:not([open]) summary:hover { text-decoration: underline; }
.sc-login__guest { font-weight: 700 !important; }
.sc-login .woocommerce-password-strength { margin-top: 8px; padding: 8px 12px; border-radius: 10px; font-size: 13px; }
.sc-login .show-password-input { top: 50% !important; transform: translateY(-50%); right: 14px !important; }
.sc-login__row > label { margin-right: auto !important; }
.sc-login__row > .sc-login__lost { margin-left: auto; }
.sc-login .woocommerce-privacy-policy-text p { margin: 0 !important; font-size: 12px !important; line-height: 1.5; color: var(--muted); text-align: left; }
.sc-login .woocommerce-privacy-policy-text a { color: var(--sc-wine); }

/* v1.8.5 — register: name row, password hint */
.sc-login__names{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sc-login__names .form-row{margin:0}
@media (max-width:420px){.sc-login__names{grid-template-columns:1fr}}
.sc-login__hint{display:block;margin-top:6px;font-size:13px;line-height:1.4;color:#6B5559}
.woocommerce-password-strength{margin-top:6px;font-size:13px;padding:6px 10px;border-radius:8px}
.woocommerce-password-hint{display:block;font-size:12px;color:#6B5559;margin-top:4px}

/* v1.8.6 — closed orders, even table rows, plain order-status line */
.sc-track-closed { padding: 18px 20px; border-radius: 16px; background: #FBF6F0; border: 1px solid var(--line); }
.sc-track-closed p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.sc-track-closed__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.sc-track-closed--failed, .sc-track-closed--cancelled { background: #FDF3F1; }
.sc-dash__badge.is-closed { background: #F3E6E3 !important; color: #8A1C1C !important; }
.sc-acc__content table.shop_table tbody tr > *, .sc-acc__content table.shop_table tfoot tr > * { background: #FFFFFF !important; }
.sc-acc__content table.shop_table tbody tr:hover > * { background: #FFFBF8 !important; }
.sc-acc__content > p mark, .woocommerce-MyAccount-content > p mark { background: none; padding: 0; color: var(--sc-ink); font-weight: 700; }

/* v1.8.7 — space between order action buttons; even row lines */
.sc-acc__content .woocommerce-orders-table__cell-order-actions,
.sc-acc__content .order-actions-button + .order-actions-button { white-space: normal; }
.sc-acc__content .woocommerce-orders-table__cell-order-actions .button,
.sc-acc__content .woocommerce-table--order-details .order-actions-button,
.sc-acc__content tfoot .button { display: inline-flex !important; margin: 4px 8px 4px 0 !important; }
.sc-acc__content table.shop_table tbody tr > *, .sc-acc__content table.shop_table tfoot tr > * { border-top: 1px solid var(--line) !important; border-bottom: 0 !important; box-shadow: none !important; }

/* v1.8.9 — checkout summary: Edit bag + Remove */
.sc-co__sumhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sc-co__editbag { font-size: 14px; font-weight: 700; color: var(--sc-wine) !important; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.sc-ro__remove { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--muted) !important; text-decoration: underline; text-underline-offset: 2px; }
.sc-ro__remove:hover { color: var(--sc-wine) !important; }

/* v1.8.10 — checkout polish: tax line under total, gap above Pay, gift note matches other fields */
.sc-rot tfoot .order-total td { text-align: right; white-space: normal; }
.sc-rot tfoot .order-total td > strong { display: block; }
.sc-rot tfoot .order-total .includes_tax { display: block; margin-top: 4px; font-family: var(--sc-sans); font-size: 12px; line-height: 1.4; color: var(--muted); white-space: nowrap; }
.sc-rot tfoot .order-total .includes_tax .amount, .sc-rot tfoot .order-total .includes_tax .woocommerce-Price-amount { font-family: var(--sc-sans) !important; font-size: 12px !important; font-weight: 600 !important; }
.sc-co .woocommerce-privacy-policy-text { margin: 16px 0 14px; line-height: 1.5; }
.sc-co .woocommerce-privacy-policy-text p { margin: 0 !important; }
.sc-co #place_order { display: block; margin: 0 !important; max-width: 100%; box-sizing: border-box; }
.sc-co #order_comments_field { margin-top: 18px !important; }
.sc-co #order_comments_field label { display: block; margin: 0 0 8px !important; }
.sc-co textarea, .sc-co textarea.input-text { width: 100% !important; box-sizing: border-box; padding: 14px 18px !important; font-family: var(--sc-sans) !important; font-style: normal !important; font-size: 15px !important; line-height: 1.5; }
.sc-co textarea::placeholder { font-style: normal; color: #9C8A8D; opacity: 1; }
/* totals rows: label left, value right, value may use the full width (table is fixed-layout) */
.sc-rot tfoot tr { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sc-rot tfoot tr > th, .sc-rot tfoot tr > td { display: block; width: auto !important; flex: 0 1 auto; min-width: 0; }
.sc-rot tfoot tr > td { margin-left: auto; }
.sc-rot tfoot tr:first-child, .sc-rot tfoot tr.order-total { border-top: 1px solid var(--line); }
.sc-rot tfoot tr:first-child > *, .sc-rot tfoot tr.order-total > * { border-top: 0 !important; }
.sc-rot tfoot tr.order-total { align-items: baseline; }
/* order summary as stacked rows instead of a fixed-width table, so nothing overflows */
.sc-rot, .sc-rot tbody, .sc-rot tfoot { display: block !important; width: 100% !important; }
.sc-rot tr { display: flex !important; justify-content: space-between; gap: 16px; width: 100%; box-sizing: border-box; }
.sc-rot tbody tr { align-items: center; }
.sc-rot tbody td.product-name { flex: 1 1 auto; min-width: 0; width: auto !important; }
.sc-rot tbody td.product-total { flex: 0 0 auto; width: auto !important; }
