.ccpf2-enabled ul.products li.product{position:relative;overflow:visible!important}
.ccpf2-enabled .onsale,.ccpf2-enabled .acoplw-badge,.ccpf2-enabled .acoplw-badge-wrap,.ccpf2-enabled .yith-wcbm-badge,.ccpf2-enabled .cc-safe-badge,.ccpf2-enabled .ccpb-badge,.ccpf2-enabled .custom-product-badge{display:none!important}
.ccpf2-enabled .ccpf2-image-shell{position:relative;display:block;width:100%;aspect-ratio:1/1;margin:2px auto 12px;padding:4px;box-sizing:border-box;border:3px solid #9d772d;border-radius:50%;background:radial-gradient(circle,#17222d 0,#071019 72%,#02070b 100%);overflow:visible;box-shadow:inset 0 0 0 2px rgba(255,220,127,.22),0 5px 14px rgba(0,0,0,.55)}
.ccpf2-enabled .ccpf2-image-shell>a,.ccpf2-enabled .ccpf2-image-shell img{display:block;width:100%!important;height:100%!important;margin:0!important;border-radius:50%!important;object-fit:cover!important;overflow:hidden}
.ccpf2-enabled .ccpf2-controls{position:absolute;inset:0;z-index:8;pointer-events:none}.ccpf2-enabled .ccpf2-controls a,.ccpf2-enabled .ccpf2-controls button{pointer-events:auto}
.ccpf2-magnify,.ccpf2-cycle{position:absolute;width:42px;height:42px;padding:0!important;border-radius:50%!important;display:flex!important;align-items:center;justify-content:center;text-decoration:none!important;font-size:20px;line-height:1;cursor:pointer;z-index:12;border:2px solid #a77a2a!important;color:#fff!important;box-shadow:0 3px 8px rgba(0,0,0,.55)}
.ccpf2-magnify{left:-8px;bottom:-4px;background:linear-gradient(#363636,#151515)!important}.ccpf2-cycle{right:-8px;bottom:-4px;background:linear-gradient(#285d9d,#102b50)!important}.ccpf2-cycle svg{width:21px;height:21px;display:block;fill:currentColor}
.ccpf2-metal-badge{position:absolute;z-index:10;top:-7px;display:flex;flex-direction:column;align-items:center;justify-content:center;width:58px;height:58px;border-radius:50%;color:#fff;text-align:center;line-height:1;box-shadow:inset 0 0 0 2px rgba(255,255,255,.16),inset 0 -8px 13px rgba(0,0,0,.42),0 3px 8px rgba(0,0,0,.65);text-shadow:0 1px 2px #000}.ccpf2-metal-badge b{font-size:24px}.ccpf2-metal-badge small{max-width:48px;margin-top:3px;font-size:8px;font-weight:900;line-height:1.05}.ccpf2-metal-badge--presale{left:-7px;border:2px solid #8c5a27;background:radial-gradient(circle at 35% 28%,#9b6839,#4f2b14 63%,#241207)}.ccpf2-metal-badge--new{left:-7px;border:2px solid #a98218;background:radial-gradient(circle at 35% 28%,#b68f27,#5f4805 64%,#221a00)}.ccpf2-metal-badge--sale{right:-7px;border:2px solid #70767b;background:radial-gradient(circle at 35% 28%,#92989d,#3d4246 63%,#17191b)}
.ccpf2-low-title{display:flex!important;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.ccpf2-low-stock{position:relative;display:inline-block;flex:0 0 auto;width:14px;height:14px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff 0 7%,#ff6a6d 15%,#ff1519 42%,#8c0003 75%,#310001 100%);box-shadow:0 0 4px #fff,0 0 10px #ff1d20,0 0 20px #ff1d20;animation:ccpf2Pulse .8s ease-in-out infinite alternate}.ccpf2-low-stock--before,.ccpf2-low-stock--after{vertical-align:middle}@keyframes ccpf2Pulse{to{transform:scale(1.24);filter:brightness(1.45)}}
.ccpf2-rack-button{width:100%;min-height:48px;margin:10px 0 0!important;padding:7px 18px!important;display:flex!important;align-items:center;justify-content:center;gap:10px;border:1px solid #a57824!important;border-radius:8px!important;background:linear-gradient(180deg,#17375d,#0b1e37)!important;color:#fff!important;font-weight:900!important;letter-spacing:.02em;text-transform:uppercase;box-shadow:inset 0 1px rgba(255,255,255,.12),0 3px 10px rgba(0,0,0,.35);cursor:pointer}.ccpf2-rack-button:hover{background:linear-gradient(180deg,#215082,#102b4e)!important}.ccpf2-rack-button img{width:34px!important;height:28px!important;object-fit:contain!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important}.ccpf2-rack-button.is-saved{background:linear-gradient(180deg,#5d261f,#2f1110)!important}.ccpf2-rack-button.is-working{opacity:.65;cursor:wait}.single-product .ccpf2-rack-button--single{max-width:440px;margin-top:12px!important}
.ccpf2-enabled .cc-collection-button,.ccpf2-enabled .cc-add-to-collection,.ccpf2-enabled [class*="add-to-collection"]{display:none!important}
.ccpf2-enabled ul.products li.product .button,.ccpf2-enabled ul.products li.product a.button,.ccpf2-enabled .single_add_to_cart_button{border:1px solid #a57824!important;border-radius:8px!important;background:linear-gradient(180deg,#17375d,#0b1e37)!important;color:#fff!important;font-weight:900!important;box-shadow:inset 0 1px rgba(255,255,255,.12),0 3px 10px rgba(0,0,0,.35)}
.ccpf2-enabled ul.products li.product .button:hover,.ccpf2-enabled .single_add_to_cart_button:hover{background:linear-gradient(180deg,#215082,#102b4e)!important}
.ccpf2-search{position:relative;z-index:30;margin:0 0 24px;padding:16px;border:1px solid #394654;border-radius:12px;background:#121b24;box-shadow:0 6px 20px rgba(0,0,0,.28)}.ccpf2-search label{display:block;margin:0 0 8px;color:#fff;font-size:17px;font-weight:900}.ccpf2-search-row{display:flex;gap:9px}.ccpf2-search input{flex:1;min-width:0;height:48px;padding:0 15px;border:1px solid #556777;border-radius:8px;background:#07111b;color:#fff;font-size:16px}.ccpf2-search input:focus{outline:2px solid #4a91d1;outline-offset:1px}.ccpf2-search-button{min-width:142px;border:1px solid #a57824!important;border-radius:8px!important;background:linear-gradient(180deg,#17375d,#0b1e37)!important;color:#fff!important;font-weight:900!important}.ccpf2-search-results{position:absolute;left:16px;right:16px;top:92px;z-index:9999;max-height:520px;overflow:auto;padding:10px;border:1px solid #a57824;border-radius:10px;background:#07111b;box-shadow:0 14px 40px rgba(0,0,0,.75)}.ccpf2-result-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.ccpf2-result{display:flex;align-items:center;gap:11px;padding:9px;border:1px solid #2d3c49;border-radius:8px;background:#111c26;color:#fff!important;text-decoration:none!important}.ccpf2-result:hover{border-color:#a57824;background:#172838}.ccpf2-result img{width:62px!important;height:62px!important;flex:0 0 62px;object-fit:cover;border-radius:50%!important;border:2px solid #9d772d}.ccpf2-result-copy{display:flex;min-width:0;flex-direction:column;gap:4px}.ccpf2-result-copy strong{line-height:1.2}.ccpf2-result-copy>span{color:#8fc2f2}.ccpf2-search-state{padding:18px;color:#d8dde2;text-align:center}
.ccpf2-toast{position:fixed;left:50%;bottom:28px;z-index:999999;transform:translate(-50%,20px);opacity:0;padding:11px 16px;border:1px solid #b88935;border-radius:8px;background:#07131f;color:#fff;box-shadow:0 8px 28px rgba(0,0,0,.5);transition:.2s}.ccpf2-toast.is-visible{transform:translate(-50%,0);opacity:1}
.ccpf2-single-gallery{position:relative}.ccpf2-single-gallery .ccpf2-controls{position:absolute;inset:0}.ccpf2-single-gallery .ccpf2-magnify,.ccpf2-single-gallery .ccpf2-cycle{bottom:12px}.ccpf2-single-gallery .ccpf2-magnify{left:12px}.ccpf2-single-gallery .ccpf2-cycle{right:12px}.ccpf2-single-gallery>.ccpf2-metal-badge{top:10px}.ccpf2-single-gallery>.ccpf2-metal-badge--presale,.ccpf2-single-gallery>.ccpf2-metal-badge--new{left:10px}.ccpf2-single-gallery>.ccpf2-metal-badge--sale{right:10px}.ccpf2-enabled .woocommerce-product-gallery__trigger{left:12px!important;right:auto!important;top:auto!important;bottom:12px!important;z-index:15!important}
@media(max-width:700px){.ccpf2-result-grid{grid-template-columns:1fr}.ccpf2-search-row{flex-direction:column}.ccpf2-search-button{height:46px}.ccpf2-search-results{top:142px}.ccpf2-metal-badge{width:44px;height:44px}.ccpf2-metal-badge b{font-size:18px}.ccpf2-metal-badge small{font-size:6px;max-width:35px}.ccpf2-magnify,.ccpf2-cycle{width:36px;height:36px;font-size:17px}.ccpf2-rack-button{font-size:14px}}

/* v2.1.0 directional gallery flip */
.ccpf2-enabled .ccpf2-image-shell img,
.ccpf2-enabled .woocommerce-product-gallery img{
  transform-origin:50% 0%;
  backface-visibility:hidden;
  will-change:transform,opacity;
}
.ccpf2-enabled .ccpf2-image-shell img.ccpf2-flip-forward,
.ccpf2-enabled .woocommerce-product-gallery img.ccpf2-flip-forward{
  animation:ccpf2FlipForward .44s ease-in-out both;
}
.ccpf2-enabled .ccpf2-image-shell img.ccpf2-flip-backward,
.ccpf2-enabled .woocommerce-product-gallery img.ccpf2-flip-backward{
  animation:ccpf2FlipBackward .44s ease-in-out both;
}
@keyframes ccpf2FlipForward{
  0%{transform:perspective(900px) rotateX(0deg);opacity:1}
  49%{transform:perspective(900px) rotateX(-90deg);opacity:.22}
  51%{transform:perspective(900px) rotateX(90deg);opacity:.22}
  100%{transform:perspective(900px) rotateX(0deg);opacity:1}
}
@keyframes ccpf2FlipBackward{
  0%{transform:perspective(900px) rotateX(0deg);opacity:1}
  49%{transform:perspective(900px) rotateX(90deg);opacity:.22}
  51%{transform:perspective(900px) rotateX(-90deg);opacity:.22}
  100%{transform:perspective(900px) rotateX(0deg);opacity:1}
}
.ccpf2-enabled ul.products li.product .ccpf2-image-shell{max-width:none!important}
.ccpf2-enabled ul.products li.product .ccpf2-image-shell>a{width:100%!important;height:100%!important}
@media(max-width:700px){.ccpf2-cycle{right:-6px;width:34px;height:34px}.ccpf2-low-title{gap:6px}.ccpf2-low-stock{width:12px;height:12px}}


/* v2.1.2: suppress legacy duplicate badges and preserve one clean metallic set */
.ccpf2-enabled ul.products li.product .onsale,
.ccpf2-enabled ul.products li.product .sale-flash,
.ccpf2-enabled ul.products li.product .sale-badge,
.ccpf2-enabled ul.products li.product .product-badge,
.ccpf2-enabled ul.products li.product .badge-sale,
.ccpf2-enabled ul.products li.product [class*="presale-badge"],
.ccpf2-enabled ul.products li.product [class*="pre-sale-badge"],
.ccpf2-enabled ul.products li.product [class*="sale-badge"],
.ccpf2-enabled .single-product .onsale,
.ccpf2-enabled .single-product .sale-flash,
.ccpf2-enabled .single-product .sale-badge,
.ccpf2-enabled .single-product .product-badge,
.ccpf2-enabled .single-product .badge-sale{
  display:none!important;
  visibility:hidden!important;
  opacity:0!important;
  width:0!important;
  height:0!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
.ccpf2-enabled .ccpf2-metal-badge{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  width:58px!important;
  height:58px!important;
  overflow:visible!important;
}

/* Deeper red-enamel, raised-metal heart appearance */
.ccpf2-rack-button img{
  position:relative;
  width:38px!important;
  height:34px!important;
  object-fit:contain!important;
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,.85))
    drop-shadow(0 3px 0 #7a5a24)
    drop-shadow(0 6px 4px rgba(0,0,0,.7))
    saturate(1.22)
    contrast(1.08)!important;
  transform:perspective(220px) rotateX(8deg) rotateY(-5deg);
  transition:transform .18s ease,filter .18s ease;
}
.ccpf2-rack-button:hover img,
.ccpf2-rack-button:focus img{
  transform:perspective(220px) rotateX(0deg) rotateY(0deg) translateY(-2px) scale(1.08);
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,.95))
    drop-shadow(0 4px 0 #8d6828)
    drop-shadow(0 8px 6px rgba(0,0,0,.74))
    saturate(1.35)
    contrast(1.12)!important;
}
.ccpf2-rack-button.is-saved img{
  filter:
    drop-shadow(0 1px 0 rgba(255,255,255,.9))
    drop-shadow(0 3px 0 #5c461f)
    drop-shadow(0 6px 5px rgba(0,0,0,.72))
    saturate(1.12)
    contrast(1.08)!important;
}


/* v2.1.3: restore and protect WooCommerce product imagery. */
.ccpf2-enabled ul.products li.product a.woocommerce-LoopProduct-link,
.ccpf2-enabled ul.products li.product a.woocommerce-loop-product__link{display:block!important;visibility:visible!important;opacity:1!important}
.ccpf2-enabled ul.products li.product .ccpf2-image-shell,
.ccpf2-enabled ul.products li.product .ccpf2-image-shell img,
.ccpf2-enabled .woocommerce-product-gallery,
.ccpf2-enabled .woocommerce-product-gallery img{display:block!important;visibility:visible!important;opacity:1!important}
.ccpf2-enabled ul.products li.product .ccpf2-image-shell img{position:relative!important;z-index:1!important}

/* v2.1.4: non-destructive WooCommerce image protection. */
.ccpf2-enabled ul.products li.product img.wp-post-image,
.ccpf2-enabled ul.products li.product img.attachment-woocommerce_thumbnail,
.ccpf2-enabled ul.products li.product .ccpf2-image-shell img,
.ccpf2-enabled .woocommerce-product-gallery img {
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  max-width:100%!important;
}
.ccpf2-enabled .ccpf2-image-shell {
  position:relative;
  display:block;
  width:100%;
  min-height:1px;
}
