/* CloneWatch 3.7.5 — production runtime fixes, loaded last. */

/* Guest member-price conversion card: compact, vertically balanced, no lower drift. */
body.clonewatch-theme.single-product .cw-member-purchase-gate{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:6px!important;
  margin:10px 0!important;
  padding:14px 16px!important;
  min-height:0!important;
  border-radius:15px!important;
  align-items:start!important;
}
body.clonewatch-theme.single-product .cw-member-purchase-gate__eyebrow{margin:0!important;line-height:1.2!important}
body.clonewatch-theme.single-product .cw-member-purchase-gate>strong{margin:0!important;line-height:1.25!important}
body.clonewatch-theme.single-product .cw-member-purchase-gate>p{margin:0!important;line-height:1.5!important}
body.clonewatch-theme.single-product .cw-member-purchase-gate__actions{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:8px!important;
  margin:5px 0 0!important;
  align-items:stretch!important;
}
body.clonewatch-theme.single-product .cw-member-purchase-gate__actions a{min-height:43px!important;padding:0 12px!important}
body.clonewatch-theme.single-product .cw-member-price-lock{margin:8px 0 0!important;min-height:34px!important}

/* Classic cart — stable mobile card layout on the centered app shell. */
body.clonewatch-theme.woocommerce-cart .woocommerce{display:block!important;width:100%!important;max-width:100%!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-form{width:100%!important;margin:0!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-list{display:grid!important;gap:10px!important;margin:0!important;padding:0!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-item{
  display:grid!important;
  grid-template-columns:84px minmax(0,1fr)!important;
  gap:12px!important;
  padding:12px!important;
  border:1px solid #e4e6e8!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.clonewatch-theme.woocommerce-cart .cw-cart-item__media{grid-row:1 / span 4;width:84px!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-item__media img{display:block!important;width:84px!important;height:84px!important;object-fit:contain!important;border-radius:11px!important;background:#f6f6f6!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-item__main{min-width:0!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-item__title{margin:0!important;font-size:13px!important;line-height:1.4!important;font-weight:850!important;word-break:keep-all!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-item__meta{margin-top:5px!important;color:#70757b!important;font-size:10px!important;line-height:1.45!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-item__money{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important;align-items:end!important;margin-top:8px!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-item__price,body.clonewatch-theme.woocommerce-cart .cw-cart-item__subtotal{min-width:0!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-item__subtotal{text-align:right!important;font-weight:850!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-item__controls{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-top:9px!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-item__controls .quantity{margin:0!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-item__controls .qty{width:56px!important;min-height:38px!important;text-align:center!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-remove{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:64px!important;min-height:38px!important;padding:0 10px!important;border:1px solid #e2e4e7!important;border-radius:9px!important;color:#565b61!important;text-decoration:none!important;font-size:11px!important;font-weight:800!important;background:#fff!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin-top:12px!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-actions .coupon{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-actions .coupon input{width:100%!important;min-width:0!important}
body.clonewatch-theme.woocommerce-cart .cw-cart-actions button{width:100%!important;min-height:44px!important}
body.clonewatch-theme.woocommerce-cart .cart-collaterals,body.clonewatch-theme.woocommerce-cart .cart_totals{float:none!important;width:100%!important;max-width:100%!important;margin-top:14px!important}
body.clonewatch-theme.woocommerce-cart .cart_totals{padding:14px!important;border:1px solid #e4e6e8!important;border-radius:15px!important;background:#fff!important}
body.clonewatch-theme.woocommerce-cart .cart_totals h2{margin:0 0 10px!important;font-size:18px!important}
body.clonewatch-theme.woocommerce-cart .cart_totals table{width:100%!important}
body.clonewatch-theme.woocommerce-cart .cart_totals th,body.clonewatch-theme.woocommerce-cart .cart_totals td{padding:10px 0!important}

/* Classic checkout — one summary, one-column, no customer-facing billing address. */
body.clonewatch-theme.woocommerce-checkout .woocommerce{display:block!important;width:100%!important;max-width:100%!important;padding:0!important;background:transparent!important;box-shadow:none!important}
body.clonewatch-theme.woocommerce-checkout form.checkout.cw-checkout-flow{display:block!important;width:100%!important;max-width:100%!important;margin:0!important}
body.clonewatch-theme.woocommerce-checkout .cw-checkout-customer-details{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
body.clonewatch-theme.woocommerce-checkout .cw-checkout-section{display:block!important;width:100%!important;margin:0 0 10px!important;padding:14px!important;border:1px solid #e4e6e8!important;border-radius:15px!important;background:#fff!important;box-shadow:none!important}
body.clonewatch-theme.woocommerce-checkout .cw-checkout-section>h2,body.clonewatch-theme.woocommerce-checkout #order_review_heading{margin:0 0 12px!important;padding:0!important;font-size:18px!important;line-height:1.3!important}
body.clonewatch-theme.woocommerce-checkout .cw-contact-fields .form-row,body.clonewatch-theme.woocommerce-checkout .cw-shipping-fields .form-row,body.clonewatch-theme.woocommerce-checkout .woocommerce-additional-fields .form-row{float:none!important;width:100%!important;margin:0 0 10px!important}
body.clonewatch-theme.woocommerce-checkout .cw-contact-fields input,body.clonewatch-theme.woocommerce-checkout .cw-shipping-fields input,body.clonewatch-theme.woocommerce-checkout .cw-shipping-fields select,body.clonewatch-theme.woocommerce-checkout .woocommerce-additional-fields textarea{width:100%!important;max-width:100%!important;box-sizing:border-box!important}
body.clonewatch-theme.woocommerce-checkout #order_review{display:block!important;position:static!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.clonewatch-theme.woocommerce-checkout .cw-checkout-summary-table{display:table!important;width:100%!important;margin:0 0 12px!important;border-collapse:separate!important;border-spacing:0!important;border:1px solid #e6e7e9!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important}
body.clonewatch-theme.woocommerce-checkout .cw-checkout-summary-table th,body.clonewatch-theme.woocommerce-checkout .cw-checkout-summary-table td{padding:10px!important;border-bottom:1px solid #eceef0!important;font-size:11px!important;vertical-align:top!important}
body.clonewatch-theme.woocommerce-checkout .cw-checkout-summary-table tr:last-child th,body.clonewatch-theme.woocommerce-checkout .cw-checkout-summary-table tr:last-child td{border-bottom:0!important}
body.clonewatch-theme.woocommerce-checkout .cw-checkout-summary-table .product-name{width:58%!important;word-break:keep-all!important}
body.clonewatch-theme.woocommerce-checkout .cw-checkout-summary-table .product-total{width:42%!important;text-align:right!important}
body.clonewatch-theme.woocommerce-checkout .cw-checkout-summary-table .cw-cart-dual-stack{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:3px!important}
body.clonewatch-theme.woocommerce-checkout #payment{margin:0!important;padding:0!important;background:transparent!important;border:0!important}
body.clonewatch-theme.woocommerce-checkout #payment ul.payment_methods{margin:0!important;padding:0!important;border:0!important}
body.clonewatch-theme.woocommerce-checkout #payment ul.payment_methods>li{margin:0 0 8px!important;padding:12px!important;border:1px solid #e4e6e8!important;border-radius:11px!important;background:#fff!important}
body.clonewatch-theme.woocommerce-checkout #payment .place-order{margin:10px 0 0!important;padding:0!important}
body.clonewatch-theme.woocommerce-checkout #place_order{width:100%!important;min-height:50px!important}

/* If a cache layer serves stale Blocks markup, don't let it duplicate the real classic checkout. */
body.clonewatch-theme.woocommerce-checkout .wp-block-woocommerce-checkout:not(:only-child),
body.clonewatch-theme.woocommerce-cart .wp-block-woocommerce-cart:not(:only-child){max-width:100%!important}


/* CloneWatch 3.7.6 — authoritative auth/header/member-gate alignment fixes. */
/* 1) Login/register: one outer card only. Legacy Woo form cards must never create a nested oversized frame. */
body.woocommerce-account:not(.logged-in) .cw-auth-card{
  padding:18px 16px!important;
  border:1px solid #e2e4e7!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.woocommerce-account:not(.logged-in) .cw-auth-card>h2{
  margin:0 0 16px!important;
  font-size:21px!important;
  line-height:1.25!important;
}
body.woocommerce-account:not(.logged-in) .cw-auth-card form.woocommerce-form-login,
body.woocommerce-account:not(.logged-in) .cw-auth-card form.woocommerce-form-register,
body.woocommerce-account:not(.logged-in) .cw-auth-card .woocommerce form.woocommerce-form-login,
body.woocommerce-account:not(.logged-in) .cw-auth-card .woocommerce form.woocommerce-form-register{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-account:not(.logged-in) .cw-auth-card .woocommerce-form-row,
body.woocommerce-account:not(.logged-in) .cw-auth-card .form-row{
  width:100%!important;
  margin:0 0 13px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.woocommerce-account:not(.logged-in) .cw-auth-card label{
  display:block!important;
  margin:0 0 7px!important;
  color:#25292e!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.3!important;
}
body.woocommerce-account:not(.logged-in) .cw-auth-card input.input-text,
body.woocommerce-account:not(.logged-in) .cw-auth-card input[type=text],
body.woocommerce-account:not(.logged-in) .cw-auth-card input[type=password],
body.woocommerce-account:not(.logged-in) .cw-auth-card input[type=tel],
body.woocommerce-account:not(.logged-in) .cw-auth-card input[type=email]{
  width:100%!important;
  min-height:46px!important;
  height:46px!important;
  margin:0!important;
  padding:0 13px!important;
  border:1px solid #dfe2e5!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
body.woocommerce-account:not(.logged-in) .cw-auth-card input:focus{
  border-color:#111317!important;
  outline:0!important;
  box-shadow:0 0 0 2px rgba(17,19,23,.06)!important;
}
body.woocommerce-account:not(.logged-in) .cw-auth-card .cw-register-form__hint{
  margin-top:5px!important;
  padding:0!important;
}
body.woocommerce-account:not(.logged-in) .cw-auth-card .cw-auth-submit-row{
  margin-top:4px!important;
}
body.woocommerce-account:not(.logged-in) .cw-auth-card .woocommerce-form-login__submit,
body.woocommerce-account:not(.logged-in) .cw-auth-card .woocommerce-form-register__submit{
  min-height:48px!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
body.woocommerce-account:not(.logged-in) .cw-auth-card .haat-auth__benefits{
  margin-top:14px!important;
  padding-top:12px!important;
}

/* 2) Logged-in desktop header: remove the visibly excessive empty vertical space. */
@media (min-width:960px){
  body.clonewatch-theme.logged-in .cw-header__top.is-member{
    min-height:64px!important;
    height:64px!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }
  body.clonewatch-theme.logged-in .cw-header__top.is-member .cw-brand__theme-logo img,
  body.clonewatch-theme.logged-in .cw-header__top.is-member .cw-brand__custom-logo img{
    height:48px!important;
    max-height:48px!important;
    width:auto!important;
  }
  body.clonewatch-theme.logged-in .cw-header__top.is-member .cw-head-action{
    height:32px!important;
  }
}




/* ==========================================================================
 * CloneWatch 3.7.7 — verified selectors / no escaped-newline corruption
 * ========================================================================== */

/* AUTH: remove the nested WooCommerce form-card frame completely.
 * The only visible frame is .cw-auth-card itself. */
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode{
  display:block!important;
  width:100%!important;
  max-width:430px!important;
  margin:0 auto!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode>.cw-auth-card{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:18px 16px!important;
  border:1px solid #e3e5e8!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode>.cw-auth-card>h2{
  margin:0 0 17px!important;
  padding:0!important;
  text-align:center!important;
  font-size:21px!important;
  line-height:1.25!important;
  font-weight:900!important;
}
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode>.cw-auth-card>form.woocommerce-form,
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode>.cw-auth-card>form.woocommerce-form-login,
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode>.cw-auth-card>form.woocommerce-form-register{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode .woocommerce-form-row,
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode .form-row{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  margin:0 0 13px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode .woocommerce-form-row label,
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode .form-row label:not(.woocommerce-form-login__rememberme){
  display:block!important;
  margin:0 0 6px!important;
  padding:0!important;
  color:#24282d!important;
  font-size:11px!important;
  font-weight:750!important;
  line-height:1.35!important;
}
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode input.input-text,
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode input[type="text"],
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode input[type="password"],
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode input[type="tel"],
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode input[type="email"]{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:46px!important;
  min-height:46px!important;
  margin:0!important;
  padding:0 13px!important;
  border:1px solid #dfe2e5!important;
  border-radius:10px!important;
  background:#fff!important;
  box-shadow:none!important;
  box-sizing:border-box!important;
}
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode .password-input{
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode .cw-auth-submit-row{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:11px!important;
  margin:2px 0 0!important;
}
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode .woocommerce-form-login__rememberme{
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  width:auto!important;
  margin:0!important;
  padding:0!important;
}
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode .woocommerce-form-login__submit,
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode .woocommerce-form-register__submit{
  width:100%!important;
  min-height:48px!important;
  margin:0!important;
  border-radius:10px!important;
  box-shadow:none!important;
}
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode .woocommerce-LostPassword{
  margin:15px 0 0!important;
}
body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode .cw-auth-switch{
  margin-top:16px!important;
  padding-top:14px!important;
}

/* LOGGED-IN DESKTOP: member header must be the same compact row as guest chrome.
 * Also reduce My Account's legacy 54px top padding inside the 430px shell. */
@media (min-width:960px){
  body.clonewatch-theme.logged-in .cw-header{
    min-height:0!important;
  }
  body.clonewatch-theme.logged-in .cw-header__top.is-member{
    display:flex!important;
    align-items:center!important;
    min-height:62px!important;
    height:62px!important;
    padding-top:0!important;
    padding-bottom:0!important;
  }
  body.clonewatch-theme.logged-in .cw-header__top.is-member .cw-brand,
  body.clonewatch-theme.logged-in .cw-header__top.is-member .cw-header__actions{
    margin-top:0!important;
    margin-bottom:0!important;
  }
  body.clonewatch-theme.logged-in .cw-header__top.is-member .cw-brand__theme-logo img,
  body.clonewatch-theme.logged-in .cw-header__top.is-member .cw-brand__custom-logo img{
    display:block!important;
    width:auto!important;
    height:48px!important;
    max-height:48px!important;
    margin:0!important;
  }
  body.clonewatch-theme.woocommerce-account.logged-in .haat-layout{
    padding-top:20px!important;
  }
}

/* PRODUCT MEMBER GATE:
 * The active REPLOCO desktop summary (reploco-desktop-pages.css) has no
 * horizontal padding. The old +48px expansion overflowed the right column
 * and put the guest login/register panel out of line with product media. */
@media (min-width:761px){
  body.clonewatch-theme.single-product div.product>.summary>.cw-member-purchase-gate{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
    border-radius:18px!important;
  }
}
@media (max-width:760px){
  body.clonewatch-theme.single-product div.product>.summary>.cw-member-purchase-gate{
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}

/* CloneWatch 3.7.9 — hard stop for logged-in storefront top-gap.
 * If a third-party plugin leaves the admin-bar class on body even after the
 * toolbar is suppressed, the centered public shell must still start at y=0. */
@media (min-width:960px){
  html:has(body.clonewatch-theme.logged-in){margin-top:0!important}
  body.clonewatch-theme.logged-in{margin-top:0!important;padding-top:0!important}
  body.clonewatch-theme.logged-in #page.cw-site{margin-top:0!important}
  body.clonewatch-theme.logged-in .cw-header{top:0!important}
}

/* REPLOCO 3.8.41: product purchase sheet remains a contained dialog on desktop. */
@media (min-width:768px){
 body.clonewatch-theme.single-product .cw-product-purchase-dock{width:430px!important;max-width:min(430px,100vw)!important;left:50%!important;right:auto!important;transform:translateX(-50%)!important;box-sizing:border-box!important}
}
