/* REPLOCO 3.8.47: Desktop-only storefront inner-page layout system.
 * Dedicated stylesheet because the original theme is deliberately mobile-first.
 * No markup or logic overrides for WooCommerce checkout/order flows. */
@media (min-width:960px) {
  :root { --reploco-pc-max:1320px; --reploco-pc-edge:40px; --reploco-teal:#0b7e82; }
  body.clonewatch-theme:not(.home) .cw-main {min-height:52vh;}
  body.clonewatch-theme:not(.home) #haat-content>.haat-container,
  body.clonewatch-theme:not(.home) #haat-content>.haat-layout,
  body.clonewatch-theme:not(.home) #haat-content>.cw-at-brands,
  body.clonewatch-theme:not(.home) #haat-content>.cw-faq-page,
  body.clonewatch-theme:not(.home) #haat-content>.cw-brand-page,
  body.clonewatch-theme:not(.home) #haat-content>.cw-search-page,
  body.clonewatch-theme:not(.home) #haat-content>.cw-rankings,
  body.clonewatch-theme:not(.home) #haat-content>.cw-pick-page {
    box-sizing:border-box!important;width:min(calc(100% - 80px),var(--reploco-pc-max))!important;
    max-width:var(--reploco-pc-max)!important;margin-left:auto!important;margin-right:auto!important;
  }
  body.clonewatch-theme:not(.home) .haat-layout {padding-top:42px!important;padding-bottom:76px!important;}
  body.clonewatch-theme:not(.home) .haat-layout__main {width:100%!important;min-width:0!important;max-width:none!important;}
  body.clonewatch-theme:not(.home) .haat-entry {width:100%!important;max-width:none!important;margin:0!important;}
  body.clonewatch-theme:not(.home) .haat-entry__content {max-width:none!important;overflow-wrap:anywhere;}
  body.clonewatch-theme:not(.home) .haat-entry__content img {max-width:100%;height:auto;}
  body.clonewatch-theme:not(.home) .haat-entry__content table {display:block;max-width:100%;overflow-x:auto;}
  body.clonewatch-theme:not(.home) .haat-entry__header h1,
  body.clonewatch-theme:not(.home) .haat-page-header h1,
  body.clonewatch-theme:not(.home) .haat-archive-header__title {font-size:clamp(27px,2.3vw,37px)!important;line-height:1.24!important;letter-spacing:-.045em;}
  /* Store, category, brand, search and rank listings: independent from homepage grids. */
  body.clonewatch-theme .cw-brand-page,
  body.clonewatch-theme .cw-at-brands,
  body.clonewatch-theme .cw-faq-page {max-width:1320px!important;margin-inline:auto!important;padding-top:44px!important;padding-bottom:90px!important;}
  body.clonewatch-theme .cw-at-brand-ranking {max-width:100%;}
  body.clonewatch-theme .cw-at-brand-entry {min-height:80px;}
  body.clonewatch-theme .cw-at-brand-entry--top {min-height:110px;}
  body.clonewatch-theme .cw-at-brand-tabs {gap:14px;justify-content:flex-start;}
  body.clonewatch-theme .cw-at-brand-row {gap:20px;}
  body.clonewatch-theme .cw-brand-list__item {min-height:76px;}
  body.clonewatch-theme .cw-search-layout,
  body.clonewatch-theme .cw-product-search-layout {max-width:none!important;min-width:0;}
  body.clonewatch-theme .woocommerce-result-count {font-size:13px;}
  body.clonewatch-theme .woocommerce-ordering select {min-width:170px;min-height:43px;border:1px solid #dce6e4;border-radius:9px;background:#fff;}
  /* Cart and checkout: wide store pages, order summary stays readable. */
  body.clonewatch-theme.woocommerce-cart .haat-layout,
  body.clonewatch-theme.woocommerce-checkout .haat-layout {width:min(calc(100% - 80px),1220px)!important;max-width:1220px!important;}
  body.clonewatch-theme.woocommerce-cart .woocommerce,
  body.clonewatch-theme.woocommerce-checkout .woocommerce {width:100%!important;max-width:none!important;}
  body.clonewatch-theme.woocommerce-cart .woocommerce-cart-form {width:100%!important;max-width:none!important;}
  body.clonewatch-theme.woocommerce-cart .shop_table {width:100%;}
  body.clonewatch-theme.woocommerce-checkout form.checkout {max-width:none!important;width:100%!important;}
  body.clonewatch-theme.woocommerce-checkout .woocommerce-checkout #customer_details,
  body.clonewatch-theme.woocommerce-checkout .woocommerce-checkout #order_review {min-width:0!important;}
  body.clonewatch-theme.woocommerce-checkout .woocommerce-checkout .form-row input,
  body.clonewatch-theme.woocommerce-checkout .woocommerce-checkout .form-row select {max-width:100%;}
  /* Account dashboard is wide, auth screens use a centered desktop card. */
  body.clonewatch-theme.woocommerce-account .haat-layout {width:min(calc(100% - 80px),1210px)!important;max-width:1210px!important;padding:56px 0 100px!important;}
  body.clonewatch-theme.woocommerce-account.logged-in .cw-account-shell {width:100%!important;max-width:none!important;}
  body.clonewatch-theme.woocommerce-account.logged-in .cw-account-layout {display:grid!important;grid-template-columns:230px minmax(0,1fr)!important;gap:34px!important;}
  body.clonewatch-theme.woocommerce-account.logged-in .cw-account-nav {width:100%!important;float:none!important;}
  body.clonewatch-theme.woocommerce-account.logged-in .cw-account-content {width:100%!important;float:none!important;min-width:0!important;}
  body.clonewatch-theme.woocommerce-account.logged-in .woocommerce-MyAccount-orders {width:100%;}
  body.clonewatch-theme.woocommerce-account.logged-in .woocommerce-MyAccount-content table {max-width:100%;}
  body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode {max-width:530px!important;margin:0 auto!important;}
  body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode>.cw-auth-card {
    padding:38px 42px!important;border:1px solid #e1e9e6!important;border-radius:19px!important;
    box-shadow:0 22px 65px rgba(18,47,43,.055)!important;
  }
  body.clonewatch-theme.woocommerce-account:not(.logged-in) #customer_login.cw-auth-mode>.cw-auth-card>h2 {font-size:29px!important;margin-bottom:27px!important;}
  body.clonewatch-theme.woocommerce-account:not(.logged-in) .cw-auth-card .woocommerce-form-register__submit,
  body.clonewatch-theme.woocommerce-account:not(.logged-in) .cw-auth-card .woocommerce-form-login__submit {min-height:54px!important;}
  body.clonewatch-theme.woocommerce-account .woocommerce-MyAccount-content .button,
  body.clonewatch-theme.woocommerce-account .cw-auth-card .button {white-space:normal;text-align:center;}
  /* Pages and bulletin boards, WordPress search results, posts and FAQ. */
  body.clonewatch-theme.blog .haat-post-grid,
  body.clonewatch-theme.archive:not(.post-type-archive-product) .haat-post-grid,
  body.clonewatch-theme.search:not(.woocommerce-page) .haat-post-grid {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:25px!important;}
  body.clonewatch-theme .haat-post-grid>*,body.clonewatch-theme .haat-post-grid .haat-entry {min-width:0!important;max-width:none!important;}
  body.clonewatch-theme.single-post .haat-layout {width:min(calc(100% - 80px),980px)!important;max-width:980px!important;}
  body.clonewatch-theme.single-post .haat-entry__content {font-size:16px;line-height:1.85;}
  body.clonewatch-theme .cw-faq-list {max-width:1100px;margin-inline:auto;}
  body.clonewatch-theme .cw-faq-head {max-width:1100px;margin-inline:auto;}
  body.clonewatch-theme .comment-form textarea,body.clonewatch-theme .comment-form input {max-width:100%;}
  /* Desktop footnotes, buttons, cells keep text centered rather than overflowing. */
  body.clonewatch-theme a.button,body.clonewatch-theme button.button,
  body.clonewatch-theme .woocommerce button.button,body.clonewatch-theme .woocommerce a.button {
    box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;text-align:center;
    line-height:1.4;min-width:0;overflow-wrap:anywhere;
  }
  body.clonewatch-theme .cw-footer {clear:both;}
  /* The first five photographic brand ranks align to the SAME left edge
     as ranks 6+: rank stays in its own column, logo starts immediately
     afterward, and name follows the logo. No center-justified identity. */
  body.clonewatch-theme .cw-at-brand-entry--top .cw-at-brand-row {
    display:grid!important;
    grid-template-columns:46px minmax(0,1fr) 42px 32px;
    align-items:center!important;
    column-gap:14px!important;
    min-height:114px!important;
    padding:14px 17px!important;
  }
  body.clonewatch-theme .cw-at-brand-entry--top .cw-at-brand-number {grid-column:1;margin:0;text-align:left;width:100%;}
  body.clonewatch-theme .cw-at-brand-entry--top .cw-at-brand-identity {
    grid-column:2;justify-self:stretch!important;justify-content:flex-start!important;
    display:flex;gap:18px;align-items:center;min-width:0;width:100%;max-width:100%;
    margin:0!important;
  }
  body.clonewatch-theme .cw-at-brand-entry--top .cw-at-brand-logo {
    margin:0;flex:0 0 68px;width:68px;height:68px;padding:9px;
  }
  body.clonewatch-theme .cw-at-brand-entry--top .cw-at-brand-name {
    display:flex;flex:0 1 auto;min-width:0;max-width:min(380px,55vw);margin:0;
    text-align:left;align-items:flex-start;
  }
  body.clonewatch-theme .cw-at-brand-entry--top .cw-at-brand-name strong {font-size:19px;white-space:normal;line-height:1.3;}
  body.clonewatch-theme .cw-at-brand-entry--top .cw-at-brand-fav {grid-column:3;justify-self:center;margin:0;}
  body.clonewatch-theme .cw-at-brand-entry--top .cw-at-brand-expand {grid-column:4;justify-self:center;margin:0;}
  body.clonewatch-theme .cw-at-brand-identity {display:flex;flex:1 1 auto;min-width:0;align-items:center;gap:14px;}
  /* Desktop product detail: undo the original mobile one-column/620px shell.
     Match the native div.product directly (no extra .woocommerce wrapper assumed). */
  body.clonewatch-theme.single-product .cw-header {display:block!important;visibility:visible!important;}
  body.clonewatch-theme.single-product .haat-layout {
    width:min(calc(100% - 80px),1280px)!important;
    max-width:1280px!important;padding:46px 0 96px!important;
  }
  body.clonewatch-theme.single-product .haat-layout__main {width:100%!important;max-width:none!important;min-width:0!important;}
  body.clonewatch-theme.single-product div.product {
    display:grid!important;
    grid-template-columns:minmax(0,1.12fr) minmax(395px,.88fr)!important;
    align-items:start!important;
    column-gap:clamp(38px,5vw,76px)!important;
    row-gap:24px!important;
    margin:0!important;width:100%!important;max-width:100%!important;min-width:0!important;
    box-sizing:border-box!important;
  }
  body.clonewatch-theme.single-product div.product>.woocommerce-product-gallery,
  body.clonewatch-theme.single-product div.product>.images {
    grid-column:1!important;grid-row:1!important;
    float:none!important;width:100%!important;max-width:100%!important;
    min-width:0!important;margin:0!important;overflow:hidden!important;
    border:1px solid #e7ecea;border-radius:18px!important;background:#f8faf9;
  }
  body.clonewatch-theme.single-product div.product>.summary {
    grid-column:2!important;grid-row:1 / span 2!important;
    display:flex!important;flex-direction:column!important;gap:0;
    width:100%!important;max-width:none!important;min-width:0!important;
    float:none!important;margin:0!important;padding:0 0 30px!important;
    border:0!important;box-shadow:none!important;box-sizing:border-box!important;
  }
  body.clonewatch-theme.single-product div.product>.summary>*{max-width:100%;min-width:0;box-sizing:border-box;}
  body.clonewatch-theme.single-product div.product>.summary .cw-single-price-current img,
  body.clonewatch-theme.single-product div.product>.summary .cw-single-price-regular img{
    object-fit:contain!important;
  }
  body.clonewatch-theme.single-product div.product>.summary>.cw-single-brand {
    font-size:18px!important;margin:0 0 12px!important;
  }
  body.clonewatch-theme.single-product div.product>.summary>.product_title {
    font-size:clamp(24px,2.15vw,30px)!important;line-height:1.38!important;
    letter-spacing:-.028em!important;margin:0 0 18px!important;
    overflow-wrap:anywhere!important;word-break:normal!important;
    text-wrap:pretty;
  }
  body.clonewatch-theme.single-product div.product>.summary>.woocommerce-product-rating {margin:0 0 22px!important;}
  /* REPLOCO 3.8.59: one coherent price stack on PC as well as mobile. */
  body.clonewatch-theme.single-product div.product>.summary>.cw-single-price-block {
    position:relative!important;display:block!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    margin:0 0 20px!important;padding:21px 0!important;
    border-top:1px solid #e5ecea!important;border-bottom:1px solid #e5ecea!important;
    overflow:visible!important;
  }
  body.clonewatch-theme.single-product div.product>.summary .cw-single-price-current {
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    justify-content:flex-start!important;flex-wrap:nowrap!important;gap:7px!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    white-space:normal!important;
  }
  body.clonewatch-theme.single-product div.product>.summary .cw-single-price-regular {
    display:flex!important;align-items:center!important;justify-content:flex-start!important;
    flex-wrap:wrap!important;gap:6px 10px!important;width:100%!important;max-width:100%!important;
    min-width:0!important;white-space:normal!important;
  }
  body.clonewatch-theme.single-product div.product>.summary .cw-single-price-usdt,
  body.clonewatch-theme.single-product div.product>.summary .cw-single-price-usdt>.cw-usdt-price,
  body.clonewatch-theme.single-product div.product>.summary .cw-single-price-regular-usdt,
  body.clonewatch-theme.single-product div.product>.summary .cw-single-price-regular-usdt>.cw-usdt-price {
    position:static!important;display:inline-flex!important;align-items:center!important;
    width:auto!important;max-width:100%!important;min-width:0!important;margin:0!important;
    white-space:nowrap!important;
  }
  body.clonewatch-theme.single-product div.product>.summary>.cw-trust-guarantee-button,
  body.clonewatch-theme.single-product div.product>.summary>.cw-product-real-video-button {
    margin:10px 0!important;min-height:77px!important;border-radius:12px!important;
  }
  body.clonewatch-theme.single-product div.product>.summary>.cw-purchase-sheet-trigger {display:none!important;}
  body.clonewatch-theme.single-product div.product>.cw-product-trust-quick {
    display:grid!important;grid-column:1!important;grid-row:2!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    margin:0!important;min-width:0;
  }
  body.clonewatch-theme.single-product div.product>.woocommerce-tabs,
  body.clonewatch-theme.single-product div.product>.related,
  body.clonewatch-theme.single-product div.product>.upsells {
    grid-column:1/-1!important;grid-row:auto!important;width:100%!important;
    max-width:100%!important;margin:38px 0 0!important;min-width:0!important;
  }
  body.clonewatch-theme.single-product div.product>.woocommerce-tabs {
    padding:30px 0 0!important;border-top:1px solid #e5ecea;
  }
  body.clonewatch-theme.single-product div.product>.woocommerce-tabs ul.tabs {margin-bottom:24px!important;}
  body.clonewatch-theme.single-product div.product>.woocommerce-tabs .woocommerce-Tabs-panel {max-width:100%!important;}
  body.clonewatch-theme.single-product div.product>.woocommerce-product-gallery .flex-control-thumbs {
    grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;padding:8px 14px 14px!important;
  }
  /* The mobile purchase dock is moved into the PC summary by existing JS,
     while keeping exactly the same WooCommerce add-to-cart/options behavior. */
  body.clonewatch-theme.single-product .summary>.cw-product-purchase-dock {
    position:static!important;z-index:auto!important;order:75!important;
    left:auto!important;right:auto!important;bottom:auto!important;
    width:100%!important;max-width:none!important;transform:none!important;
    margin:25px 0 0!important;padding:0!important;
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:0!important;
    border:0!important;box-shadow:none!important;background:transparent!important;
  }
  body.clonewatch-theme.single-product .summary>.cw-product-purchase-dock .cw-product-dock-nav {display:none!important;}
  body.clonewatch-theme.single-product .summary>.cw-product-purchase-dock .cw-purchase-sheet-trigger {
    display:flex!important;min-height:60px!important;border-radius:12px!important;
    align-items:center!important;justify-content:center!important;
    background:#0b7e82!important;border-color:#0b7e82!important;
    font-size:16px!important;font-weight:800!important;letter-spacing:-.01em!important;
  }
  body.clonewatch-theme.single-product .cw-purchase-sheet {align-items:center!important;}
  body.clonewatch-theme.single-product .cw-purchase-sheet__panel {
    width:min(660px,calc(100% - 48px))!important;max-height:84vh!important;
    border-radius:20px!important;padding-top:20px!important;
    box-shadow:0 25px 100px rgba(0,0,0,.23)!important;
    transform:translateY(28px) scale(.98)!important;
  }
  body.clonewatch-theme.single-product .cw-purchase-sheet.is-open .cw-purchase-sheet__panel {transform:translateY(0) scale(1)!important;}
  body.clonewatch-theme.single-product .cw-single-product-toolbar {display:none!important;}

}
@media (min-width:960px) and (max-width:1199px) {
  body.clonewatch-theme.single-product div.product {grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr)!important;gap:30px!important;}
  body.clonewatch-theme .haat-container,body.clonewatch-theme:not(.home) #haat-content>.haat-layout {width:calc(100% - 56px)!important;}
  body.clonewatch-theme .cw-desktop-nav__inner {row-gap:0;}
}
@media (min-width:960px) and (max-width:1080px) {
  body.clonewatch-theme.blog .haat-post-grid,body.clonewatch-theme.archive:not(.post-type-archive-product) .haat-post-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
