.ccgw-wrap{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}.ccgw-mobile-filter-button,.ccgw-overlay,.ccgw-close-sidebar{display:none}.ccgw-sidebar{background:#fff;border:1px solid #e9e9ee;border-radius:12px;padding:16px;position:sticky;top:20px}.ccgw-sidebar-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.ccgw-sidebar-head h3,.ccgw-filter-head{margin:0;font-size:18px;font-weight:600;color:#192036}.ccgw-clear-wrap{text-align:right;margin-bottom:12px}.ccgw-clear-all{text-decoration:none;color:#ff5a7b;font-size:13px}.ccgw-filter-block+.ccgw-filter-block{margin-top:18px}.ccgw-category-list{display:flex;flex-direction:column;gap:10px}.ccgw-cat-group{border-top:1px solid #f0f0f4;padding-top:10px}.ccgw-cat-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center}.ccgw-cat-link,.ccgw-subcat{color:#192036;text-decoration:none}.ccgw-cat-link.is-active,.ccgw-subcat.is-active{font-weight:700}.ccgw-cat-count{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:24px;padding:0 8px;border-radius:999px;background:#f2f3f7;color:#677189;font-size:12px}.ccgw-cat-toggle{width:24px;height:24px;border:0;background:transparent;position:relative;cursor:pointer}.ccgw-cat-toggle:before,.ccgw-cat-toggle:after{content:"";position:absolute;background:#192036;left:50%;top:50%;transform:translate(-50%,-50%);transition:.2s}.ccgw-cat-toggle:before{width:10px;height:2px}.ccgw-cat-toggle:after{width:2px;height:10px}.ccgw-cat-group.is-open .ccgw-cat-toggle:after{opacity:0}.ccgw-subcats{display:none;padding:10px 0 0 14px;gap:10px;flex-direction:column}.ccgw-cat-group.is-open .ccgw-subcats{display:flex}.ccgw-subcat{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:14px}.ccgw-price-form{display:flex;flex-direction:column;gap:12px}.ccgw-price-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ccgw-price-input{width:100%;height:42px;border:1px solid #dddfe6;border-radius:8px;padding:0 12px;box-sizing:border-box}.ccgw-apply-filters{height:46px;border:0;border-radius:8px;background:#000;color:#fff;font-weight:700;cursor:pointer}.ccgw-products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.ccgw-card{border:1px solid #e5e7ee;border-radius:12px;background:#fff;overflow:hidden}.ccgw-card-inner{display:flex;flex-direction:column;height:100%;position:relative}.ccgw-card-link{position:absolute;inset:0;z-index:1}.ccgw-media,.ccgw-body,.ccgw-card-footer{position:relative;z-index:2}.ccgw-media{background:#f5f5f7;aspect-ratio:1/1;overflow:hidden}.ccgw-thumb{display:flex;width:100%;height:100%;align-items:center;justify-content:center}.ccgw-thumb img{width:100%;height:100%;object-fit:cover}.ccgw-discount-badge{position:absolute;top:14px;left:14px;z-index:2;background:#ff4f7b;color:#fff;border-radius:8px;padding:9px 14px;font-size:15px;font-weight:700;line-height:1}.ccgw-body{display:flex;flex-direction:column;flex:1;padding:16px 18px 18px}.ccgw-title{margin:0 0 14px;font-size:16px;line-height:1.35;font-weight:500;min-height:44px;color:#192036}.ccgw-body-middle{display:flex;flex-direction:column;gap:12px;flex:1}.ccgw-save-pill{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;background:#192036;color:#f9f9f9;border-radius:7px;padding:8px 12px;font-weight:700;font-size:14px;min-height:18px}.ccgw-save-pill--empty{visibility:hidden}.ccgw-pricing{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;color:#192036}.ccgw-price-html,.ccgw-price-html *{color:#192036!important}.ccgw-price-html ins{color:#192036!important;text-decoration:none;font-weight:700;background:transparent;padding:0}.ccgw-price-html del{opacity:1}.ccgw-price-html del bdi,.ccgw-price-html del .amount{font-size:14px;color:#9aa0ad!important;font-weight:400;text-decoration:line-through}.ccgw-price-html > .amount,.ccgw-price-html bdi,.ccgw-price-html ins bdi,.ccgw-price-html ins .amount{font-size:18px;font-weight:700}.ccgw-inline-discount{color:#ff4f7b;font-size:14px}.ccgw-card-footer{display:flex;align-items:flex-end;justify-content:flex-start;margin-top:16px;min-height:64px}.ccgw-cta-btn,.ccgw-simple-cart-form button.single_add_to_cart_button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:132px;height:52px;padding:0 22px;border-radius:999px;background:#151515;color:#fff;text-decoration:none;font-weight:700;box-sizing:border-box;border:0;cursor:pointer;position:relative;z-index:3}.ccgw-empty{padding:40px;border:1px dashed #d7dce5;border-radius:12px;color:#192036}.ccgw-modal[hidden]{display:none!important}.ccgw-modal{position:fixed;inset:0;z-index:99999}.ccgw-modal-backdrop{position:absolute;inset:0;background:rgba(17,20,28,.55)}.ccgw-modal-dialog{position:relative;z-index:2;width:min(920px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;margin:16px auto;background:#fff;border-radius:18px;padding:28px;box-shadow:0 20px 70px rgba(0,0,0,.18)}.ccgw-modal-close-btn{position:absolute;top:14px;right:14px;width:40px;height:40px;border-radius:50%;border:0;background:#f4f5f8;color:#192036;font-size:24px;line-height:1;cursor:pointer}.ccgw-modal-grid{display:grid;grid-template-columns:minmax(280px,380px) minmax(0,1fr);gap:28px;align-items:start}.ccgw-modal-image img{width:100%;height:auto;border-radius:14px;background:#f5f5f7}.ccgw-modal-title{margin:0 0 12px;font-size:26px;line-height:1.2}.ccgw-modal-price{margin-bottom:18px}.ccgw-modal-price .price,.ccgw-modal-price .price *{color:#192036!important}.ccgw-simple-modal-form{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:18px}.ccgw-qty-control{display:flex;align-items:center;gap:12px}.ccgw-qty-btn{display:inline-flex;align-items:center;justify-content:center;width:56px;height:52px;border:0;border-radius:0;background:#f3f3f3;color:#4a4a4a;font-size:28px;line-height:1;cursor:pointer;box-shadow:none;transition:none;appearance:none;-webkit-appearance:none}.ccgw-qty-btn:hover,.ccgw-qty-btn:focus,.ccgw-qty-btn:active{background:#f3f3f3;color:#4a4a4a;box-shadow:none;transform:none;filter:none}.ccgw-cta-btn:hover,.ccgw-cta-btn:focus,.ccgw-cta-btn:active,.ccgw-simple-modal-form .single_add_to_cart_button:hover,.ccgw-simple-modal-form .single_add_to_cart_button:focus,.ccgw-simple-modal-form .single_add_to_cart_button:active,.ccgw-variable-form-wrap .single_add_to_cart_button:hover,.ccgw-variable-form-wrap .single_add_to_cart_button:focus,.ccgw-variable-form-wrap .single_add_to_cart_button:active,.ccgw-submit-cart:hover,.ccgw-submit-cart:focus,.ccgw-submit-cart:active{background:#151515!important;color:#fff!important;box-shadow:none;transform:none;filter:none;text-decoration:none}.ccgw-qty-input{width:128px!important;height:52px;border:1px solid #d8dde8;border-radius:999px;padding:0 16px!important;text-align:center;font-size:24px;color:#5a5a5a;background:#fff;-moz-appearance:textfield}.ccgw-qty-input::-webkit-outer-spin-button,.ccgw-qty-input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none}.ccgw-simple-modal-form.is-loading .ccgw-submit-cart{opacity:.7;pointer-events:none}.ccgw-variable-form-wrap .variations{width:100%;margin-bottom:18px}.ccgw-variable-form-wrap .variations td,.ccgw-variable-form-wrap .variations th{padding-bottom:12px}.ccgw-variable-form-wrap .reset_variations{display:inline-block;margin-top:8px}.ccgw-variable-form-wrap .single_variation_wrap{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px}.ccgw-variable-form-wrap .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.ccgw-variable-form-wrap .quantity{margin:0!important}.ccgw-variable-form-wrap .qty{width:100px!important;height:52px;border:1px solid #d8dde8;border-radius:999px;padding:0 16px!important}.ccgw-variable-form-wrap .single_add_to_cart_button,.ccgw-simple-modal-form .single_add_to_cart_button,.ccgw-submit-cart{display:inline-flex;align-items:center;justify-content:center;height:52px;padding:0 24px;border-radius:999px;background:#151515!important;color:#fff!important;border:0;box-shadow:none;transition:none}.ccgw-variable-form-wrap .single_add_to_cart_button.disabled,.ccgw-variable-form-wrap .single_add_to_cart_button:disabled,.ccgw-simple-modal-form .single_add_to_cart_button.disabled,.ccgw-simple-modal-form .single_add_to_cart_button:disabled,.ccgw-submit-cart:disabled{opacity:.5}.ccgw-modal-open{overflow:hidden}@media (max-width: 1200px){.ccgw-products-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width: 1024px){.ccgw-wrap{grid-template-columns:240px minmax(0,1fr)}.ccgw-products-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ccgw-modal-grid{grid-template-columns:1fr}}@media (max-width: 767px){.ccgw-wrap{display:block;position:relative}.ccgw-mobile-filter-button{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 14px;border:1px solid #dfe3eb;border-radius:999px;background:#fff;color:#192036;font-weight:600;margin-bottom:14px}.ccgw-overlay{position:fixed;inset:0;background:rgba(0,0,0,.35);opacity:0;visibility:hidden;z-index:9997;transition:.2s}.ccgw-close-sidebar{display:inline-flex;width:30px;height:30px;align-items:center;justify-content:center;border:0;background:#f2f3f7;border-radius:50%;font-size:18px;cursor:pointer}.ccgw-sidebar{position:fixed;left:0;right:0;bottom:0;top:auto;z-index:9998;border-radius:18px 18px 0 0;max-height:82vh;overflow:auto;transform:translateY(100%);transition:.25s;padding:14px 14px 18px}.ccgw-wrap.is-sidebar-open .ccgw-sidebar{transform:translateY(0)}.ccgw-wrap.is-sidebar-open .ccgw-overlay{opacity:1;visibility:visible}.ccgw-products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ccgw-card{border-radius:10px}.ccgw-discount-badge{top:8px;left:8px;padding:6px 8px;border-radius:6px;font-size:11px}.ccgw-body{padding:10px}.ccgw-title{font-size:13px;line-height:1.35;min-height:36px;margin:0 0 8px}.ccgw-body-middle{gap:8px}.ccgw-save-pill{padding:5px 8px;border-radius:6px;font-size:11px}.ccgw-price-html > .amount,.ccgw-price-html bdi,.ccgw-price-html ins bdi,.ccgw-price-html ins .amount{font-size:15px}.ccgw-price-html del bdi,.ccgw-price-html del .amount{font-size:12px}.ccgw-inline-discount{font-size:12px}.ccgw-card-footer{min-height:0;margin-top:10px;justify-content:flex-start}.ccgw-cta-btn,.ccgw-simple-modal-form button.single_add_to_cart_button,.ccgw-submit-cart{height:46px;min-width:0;padding:0 16px;border-radius:999px;font-size:13px}.ccgw-simple-modal-form{gap:10px;align-items:stretch}.ccgw-qty-control{width:100%;gap:8px}.ccgw-qty-btn{width:46px;height:46px;font-size:24px}.ccgw-qty-input{flex:1;width:auto!important;height:46px;padding:0 12px!important;font-size:18px}.ccgw-submit-cart{width:100%}.ccgw-filter-head{font-size:16px}.ccgw-modal-dialog{width:calc(100vw - 16px);margin:8px auto;padding:18px;max-height:calc(100vh - 16px)}.ccgw-modal-grid{grid-template-columns:1fr;gap:18px}.ccgw-modal-image img{border-radius:12px}.ccgw-modal-title{font-size:20px}}


/* v4.6 fixes: force simple product qty layout to match variable product */
.ccgw-simple-modal-form{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:14px !important;
}
.ccgw-qty-control{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  gap:12px !important;
}
.ccgw-qty-control > .ccgw-qty-btn{
  display:inline-flex !important;
  flex:0 0 56px !important;
  width:56px !important;
  min-width:56px !important;
  max-width:56px !important;
  height:52px !important;
  margin:0 !important;
}
.ccgw-qty-control > .ccgw-qty-input{
  display:block !important;
  flex:0 0 128px !important;
  width:128px !important;
  min-width:128px !important;
  max-width:128px !important;
  height:52px !important;
  margin:0 !important;
}
.ccgw-simple-modal-form > .ccgw-submit-cart{
  display:inline-flex !important;
  width:auto !important;
  min-width:160px !important;
  margin:0 !important;
}
.ccgw-simple-modal-form button,
.ccgw-variable-form-wrap button,
.ccgw-simple-modal-form .button,
.ccgw-variable-form-wrap .button{
  transition:none !important;
  transform:none !important;
  filter:none !important;
}
.ccgw-simple-modal-form button:hover,
.ccgw-simple-modal-form button:focus,
.ccgw-simple-modal-form button:active,
.ccgw-variable-form-wrap button:hover,
.ccgw-variable-form-wrap button:focus,
.ccgw-variable-form-wrap button:active{
  transition:none !important;
  transform:none !important;
  filter:none !important;
}
@media (max-width: 767px){
  .ccgw-simple-modal-form{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
  }
  .ccgw-qty-control{
    width:100% !important;
    gap:8px !important;
  }
  .ccgw-qty-control > .ccgw-qty-btn{
    flex:0 0 46px !important;
    width:46px !important;
    min-width:46px !important;
    max-width:46px !important;
    height:46px !important;
  }
  .ccgw-qty-control > .ccgw-qty-input{
    flex:1 1 auto !important;
    width:auto !important;
    min-width:0 !important;
    max-width:none !important;
    height:46px !important;
  }
  .ccgw-simple-modal-form > .ccgw-submit-cart{
    width:100% !important;
    min-width:0 !important;
  }
}


/* v4.7 robust fixes */
a.ccgw-cta-btn,
button.ccgw-cta-btn,
.ccgw-submit-cart,
.ccgw-variable-form-wrap .single_add_to_cart_button,
.ccgw-simple-modal-form .single_add_to_cart_button{
  background:#151515 !important;
  color:#fff !important;
  box-shadow:none !important;
  transition:none !important;
  transform:none !important;
  filter:none !important;
  text-decoration:none !important;
}
a.ccgw-cta-btn:hover,
a.ccgw-cta-btn:focus,
a.ccgw-cta-btn:active,
a.ccgw-cta-btn:visited,
button.ccgw-cta-btn:hover,
button.ccgw-cta-btn:focus,
button.ccgw-cta-btn:active,
.ccgw-submit-cart:hover,
.ccgw-submit-cart:focus,
.ccgw-submit-cart:active,
.ccgw-variable-form-wrap .single_add_to_cart_button:hover,
.ccgw-variable-form-wrap .single_add_to_cart_button:focus,
.ccgw-variable-form-wrap .single_add_to_cart_button:active,
.ccgw-simple-modal-form .single_add_to_cart_button:hover,
.ccgw-simple-modal-form .single_add_to_cart_button:focus,
.ccgw-simple-modal-form .single_add_to_cart_button:active{
  background:#151515 !important;
  color:#fff !important;
  box-shadow:none !important;
  transition:none !important;
  transform:none !important;
  filter:none !important;
  text-decoration:none !important;
}
.ccgw-stock-text{margin:0 0 16px;color:#666;font-size:14px}
.ccgw-gallery{display:flex;flex-direction:column;gap:12px}
.ccgw-gallery-main img{width:100%;height:auto;border-radius:14px;background:#f5f5f7;display:block}
.ccgw-gallery-thumbs{display:flex;gap:10px;flex-wrap:wrap}
.ccgw-gallery-thumb{padding:0;border:1px solid #e2e6ef;background:#fff;border-radius:10px;overflow:hidden;width:68px;height:68px;display:inline-flex;align-items:center;justify-content:center;box-shadow:none;transition:none}
.ccgw-gallery-thumb.is-active{border-color:#192036}
.ccgw-gallery-thumb:hover,.ccgw-gallery-thumb:focus,.ccgw-gallery-thumb:active{box-shadow:none;transform:none;filter:none}
.ccgw-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.ccgw-modal[hidden]{display:none !important;visibility:hidden !important;opacity:0 !important;pointer-events:none !important}
.ccgw-modal:not([hidden]){display:block !important;visibility:visible !important;opacity:1 !important}
@media (max-width: 767px){
  .ccgw-gallery-thumbs{gap:8px}
  .ccgw-gallery-thumb{width:54px;height:54px;border-radius:8px}
}


/* v5.0.2 fixes */
.ccgw-card-inner{position:relative}
.ccgw-card-link{
  position:absolute;
  inset:0;
  z-index:3;
  display:block;
}
.ccgw-media,
.ccgw-body,
.ccgw-body-middle,
.ccgw-title,
.ccgw-pricing,
.ccgw-save-pill,
.ccgw-card-footer{
  position:relative;
  z-index:2;
  pointer-events:none;
}
.ccgw-card-footer,
.ccgw-card-footer *{
  pointer-events:auto;
}
.ccgw-open-modal,
.ccgw-cta-btn,
.ccgw-view-product{
  position:relative;
  z-index:5;
}


/* v5.0.3 card click layering fix */
.ccgw-card,
.ccgw-card-inner{
  position:relative;
}
.ccgw-card-link{
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  display:block !important;
}
.ccgw-media,
.ccgw-body,
.ccgw-body-middle,
.ccgw-title,
.ccgw-pricing,
.ccgw-save-pill,
.ccgw-card-footer{
  position:relative;
  z-index:2 !important;
}
.ccgw-media,
.ccgw-body,
.ccgw-body-middle,
.ccgw-title,
.ccgw-pricing,
.ccgw-save-pill{
  pointer-events:none !important;
}
.ccgw-card-footer,
.ccgw-card-footer *{
  pointer-events:auto !important;
}
.ccgw-open-modal,
.ccgw-cta-btn,
.ccgw-view-product{
  position:relative;
  z-index:5 !important;
  pointer-events:auto !important;
}

/* =========================================================
   COLOR & SIZE SWATCHES — v6
   ========================================================= */

/* Swatch row container */
.ccgw-swatch-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

/* ── COLOR swatches ── */
.ccgw-color-swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.ccgw-swatch-dot {
    display: block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid transparent;
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-sizing: border-box;
    transition: outline-color .15s, border-color .15s, transform .15s;
    box-shadow: 0 1px 3px rgba(0,0,0,.18);
}

.ccgw-color-swatch:hover .ccgw-swatch-dot {
    outline-color: #999;
    transform: scale(1.08);
}

.ccgw-color-swatch.is-active .ccgw-swatch-dot {
    outline-color: #192036;
    border-color: #fff;
    transform: scale(1.08);
}


/* ── SIZE swatches ── */
.ccgw-size-swatch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 36px;
    padding: 0 10px;
    border: 1.5px solid #dddfe6;
    border-radius: 6px;
    background: #fff;
    color: #192036;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s, transform .15s;
    box-sizing: border-box;
    white-space: nowrap;
}

.ccgw-size-swatch:hover {
    border-color: #192036;
    background: #f5f5f8;
    transform: translateY(-1px);
}

.ccgw-size-swatch.is-active {
    border-color: #192036;
    background: #192036;
    color: #fff;
    font-weight: 700;
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .ccgw-swatch-list { gap: 7px; }
    .ccgw-swatch-dot { width: 28px; height: 28px; }
    .ccgw-swatch-name { font-size: 10px; max-width: 34px; }
    .ccgw-size-swatch { min-width: 36px; height: 32px; padding: 0 8px; font-size: 12px; }
}
