/*
Theme Name: CW Viral Meme Prints
Theme URI: https://hub.arenacity.online/
Author: CWEnterprize
Description: CW Custom Prints, meme creator + custom design + ready-to-print storefront. WooCommerce / MEMEME compatible.
Version: 2.0.18
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: cw-viral-meme-prints
*/
:root{--ink:#0e1629;--blue:#00a0ef;--pink:#fc0784;--purple:#7923e8;--muted:#68738b}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto}.wrap{width:min(100% - 66px,1440px);margin-inline:auto}.head{position:relative;z-index:10;background:white;box-shadow:0 1px 10px #14102410}.nav{height:78px;display:flex;align-items:center;gap:25px}.brand{display:flex;align-items:center;gap:8px;min-width:310px}.cw-splash{font-size:42px;font-weight:1000;line-height:1;letter-spacing:-.17em;color:#110d25;text-shadow:-4px 4px #f90095,4px -3px #07b6fa}.brandword{font-size:22px;letter-spacing:-.065em;line-height:1;font-weight:1000}.brandword small{display:block;font-size:10px;letter-spacing:.095em;margin-top:5px;font-weight:850}.navlinks{display:flex;align-items:center;justify-content:center;gap:22px;flex:1;white-space:nowrap}.navlinks a{font-size:13px;font-weight:750;padding:28px 0}.navlinks a:hover,.navlinks a.active{color:#0086d4}.actions{display:flex;align-items:center;gap:16px}.action-icon{font-size:24px;position:relative}.cart-count{background:var(--pink);position:absolute;right:-8px;top:-8px;color:#fff;font-size:10px;min-width:17px;padding:2px 3px;text-align:center;border-radius:100px}.mobile-menu-toggle{display:none;background:#fff;border:0;font-size:24px}.newhero{background:radial-gradient(ellipse at 75% 20%,#ffe1fb 0%,transparent 44%),linear-gradient(120deg,#fff 0%,#fff8fd 37%,#c3e9fc 70%,#ecc3ff 100%);overflow:hidden}.newhero-inner{position:relative;min-height:370px;display:flex;align-items:center}.hero-message{z-index:2;position:relative;width:36%;padding:30px 0 25px}.hero-message h1{font-size:clamp(45px,4.4vw,79px);font-weight:1000;letter-spacing:-.065em;line-height:.99;margin:0 0 19px}.hero-message h1 span{color:#f20b79}.hero-message p{max-width:400px;font-size:17px;line-height:1.35;margin:0 0 23px}.hero-buttons{display:flex;gap:10px;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;border-radius:28px;font-weight:850;font-size:14px;padding:13px 23px;border:1px solid transparent}.button.primary{background:linear-gradient(95deg,#ff008c,#bc08dc);color:white}.button.white{background:#fff;color:#101a32;box-shadow:0 3px 14px #14112c18;border-color:#e4e4ee}.brush-star{position:absolute;left:-15px;top:1px;color:#fc0987;font-size:48px;transform:rotate(-20deg)}.hero-scene{position:absolute;right:-5%;top:0;bottom:0;width:76%;background:url('assets/hero-products.webp') center center/cover no-repeat;mask-image:linear-gradient(to right,transparent 0%,black 12%);-webkit-mask-image:linear-gradient(to right,transparent 0%,black 12%)}.hero-scribble{position:absolute;right:0;top:20px;font-weight:1000;transform:rotate(-9deg);font-size:15px;color:#e70087;text-shadow:0 1px white}.choices{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.choice{display:flex;min-height:258px;position:relative;border-radius:19px;overflow:hidden;align-items:center;isolation:isolate;color:#fff}.choice-meme{background:linear-gradient(120deg,#009ad9,#0164dc 68%,#104bb9)}.choice-print{background:linear-gradient(120deg,#fc268d,#ef008c 45%,#bd006b)}.choice-art{position:absolute;left:0;top:0;bottom:0;width:47%;background-position:center;background-size:cover;opacity:.97}.meme-art{background-image:linear-gradient(90deg,transparent 68%,#0164dc),url('assets/meme-examples.webp')}.print-art{background-image:linear-gradient(90deg,transparent 65%,#ea0789),url('assets/design-example.webp')}.choice-text{position:relative;z-index:2;margin-left:45%;padding:15px 25px 15px 0}.choice-overline{font-size:10px;font-weight:900;letter-spacing:.13em}.choice h2{font-size:clamp(25px,2.5vw,40px);line-height:1.05;letter-spacing:-.05em;margin:8px 0}.choice p{font-size:13px;line-height:1.4;max-width:310px}.choice-button{display:inline-block;margin-top:11px;background:white;color:#07122d;font-weight:900;font-size:12px;padding:14px 22px;border-radius:24px}.quicklinks{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid #ebeff5;padding-block:20px}.quicklinks a{display:flex;align-items:center;gap:9px;font-size:26px}.quicklinks span{display:flex;flex-direction:column;gap:4px}.quicklinks strong{font-size:12px}.quicklinks small{font-size:11px;color:#4d546b}.popular{padding-block:18px 45px}.sectionhead{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.sectionhead h2,.howto h2{font-size:29px;letter-spacing:-.05em;margin:0}.sectionhead p{color:var(--muted);font-size:13px;margin:4px 0}.all-designs{color:#008ce3;font-size:13px;font-weight:750}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.product-card{border:1px solid #e7ecf3;border-radius:11px;overflow:hidden;background:white;box-shadow:0 2px 9px #272c4510}.product-photo{height:205px;background:#f2f4f9;display:flex;justify-content:center;align-items:center}.product-photo img{width:100%;height:100%;object-fit:contain}.product-info{padding:12px}.product-info h3{font-size:13px;margin:0 0 5px}.product-info p{margin:0 0 9px;color:#7d8292;font-size:11px}.product-info .mpp-purchase-options{display:flex;gap:7px;flex-wrap:wrap}.product-info .mpp-purchase-options a,.cwvm-buy{display:inline-block;background:#f00881;color:white;border-radius:20px;padding:9px 12px;font-size:11px;font-weight:850}.empty-designs{background:#f2f5ff;padding:42px 30px;text-align:center;border-radius:18px}.empty-designs h3{font-size:24px;margin:0 0 8px}.empty-designs p{color:var(--muted);margin:0 auto 18px;max-width:560px}.howto{padding-block:22px 45px}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:16px}.steps article{border:1px solid #eceaf5;background:#fcfbff;border-radius:15px;padding:20px}.steps b{color:#e6008b}.steps h3{margin:9px 0}.steps p{font-size:13px;color:var(--muted)}.footer{padding:42px 0;background:#10152a;color:white}.footerrow{display:flex;justify-content:space-between;gap:24px;font-size:13px}.footer p{color:#b9bbd1}.site-main{min-height:50vh;padding-block:40px}.site-main img{max-width:100%}.woocommerce .button{background:#ec0086!important;border-radius:25px!important}.screen-reader-text{position:absolute;left:-9999px}.site-main input,.site-main textarea{max-width:100%}
@media(max-width:1130px){.brand{min-width:auto}.brandword{font-size:17px}.navlinks{gap:14px}.navlinks a{font-size:12px}.hero-message{width:43%}.hero-scene{width:72%}.quicklinks{flex-wrap:wrap;justify-content:center}.quicklinks a{min-width:170px}.choice-art{width:42%}.choice-text{margin-left:42%}}
@media(max-width:800px){.wrap{width:min(100% - 30px,720px)}.nav{height:70px}.mobile-menu-toggle{display:block;margin-left:auto}.navlinks{display:none;position:absolute;top:70px;left:0;right:0;background:#fff;flex-direction:column;align-items:flex-start;padding:16px 20px;box-shadow:0 15px 18px #25263b17;gap:0}.navlinks.nav-open{display:flex}.navlinks a{padding:10px}.actions{gap:9px}.action-icon{font-size:19px}.newhero-inner{min-height:345px}.hero-message{width:60%}.hero-scene{width:77%;right:-25%;opacity:.85}.choices{grid-template-columns:1fr}.choice{min-height:210px}.choice h2{font-size:32px}.product-grid{grid-template-columns:repeat(2,1fr)}.steps{grid-template-columns:1fr}}
@media(max-width:530px){.brandword{font-size:14px}.brandword small{font-size:7px}.cw-splash{font-size:31px}.actions .action-icon:first-child,.actions .action-icon:nth-child(2){display:none}.newhero-inner{min-height:550px;align-items:flex-start}.hero-message{width:100%;padding-top:35px}.hero-message h1{font-size:49px}.hero-message p{font-size:14px;max-width:270px}.hero-scene{top:auto;right:-21%;bottom:0;height:270px;width:125%;background-position:center;mask-image:linear-gradient(to bottom,transparent,black 26%);-webkit-mask-image:linear-gradient(to bottom,transparent,black 26%)}.hero-scribble{display:none}.choice{min-height:212px}.choice-text{margin-left:37%;padding:12px}.choice-art{width:44%}.choice h2{font-size:27px}.choice p{font-size:12px}.choice-button{font-size:10px;padding:11px 12px}.quicklinks{display:grid;grid-template-columns:1fr 1fr;gap:12px}.quicklinks a{font-size:23px;min-width:0}.quicklinks strong{font-size:11px}.quicklinks small{font-size:10px}.sectionhead h2{font-size:25px}.product-photo{height:155px}.footerrow{flex-direction:column}}

/* v2.0.2: contain the artwork and prevent navigation overflow at normal browser zoom. */
html,body{max-width:100%;overflow-x:clip}
.nav{min-width:0;gap:clamp(9px,1.15vw,22px)}
.brand{min-width:0;flex:0 0 auto;max-width:35%;gap:12px}
.brandword{font-size:clamp(17px,1.6vw,24px);letter-spacing:-.05em;white-space:nowrap}
.brandword small{font-size:clamp(8px,.75vw,10px);letter-spacing:.055em}
.navlinks{min-width:0;gap:clamp(9px,1vw,20px)}
.navlinks a{font-size:clamp(11px,.75vw,13px)}
.actions{flex:0 0 auto;margin-left:auto;padding-right:10px;gap:clamp(10px,.9vw,17px)}
.action-icon{display:inline-flex;align-items:center;justify-content:center;min-width:24px}
.newhero-inner{min-width:0}
.hero-scene{right:0;width:74%;background-size:100% 100%;background-position:right center}
@media(max-width:1400px){.navlinks{gap:10px}.navlinks a{font-size:11px}.brand{max-width:33%}.cw-splash{font-size:35px}}
@media(max-width:1150px){.mobile-menu-toggle{display:block;margin-left:auto}.navlinks{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;align-items:flex-start;padding:16px 20px;box-shadow:0 15px 18px #25263b17;gap:0;white-space:normal}.navlinks.nav-open{display:flex}.navlinks a{padding:10px;font-size:14px}.brand{max-width:none}.actions{margin-left:4px}.hero-scene{right:0;width:72%}}
@media(max-width:800px){.brandword{font-size:clamp(14px,3vw,19px)}.nav{gap:10px}.hero-scene{right:-10%;width:80%;background-size:100% 100%}}
@media(max-width:530px){.brandword{font-size:14px}.brandword small{font-size:7px}.brand{gap:8px}.nav{gap:8px}.hero-scene{right:0;width:100%;background-size:contain;background-repeat:no-repeat;background-position:center bottom}}

/* v2.0.3 — protected text zone and edge-to-edge hero artwork */
.newhero{background:#fff;overflow:hidden}
.newhero-inner{width:100%;max-width:none;min-height:clamp(390px,31vw,570px);margin:0;display:grid;grid-template-columns:minmax(350px,36%) minmax(0,64%);align-items:stretch;gap:0}
.hero-message{width:auto;min-width:0;max-width:650px;padding:clamp(32px,4vw,75px) clamp(25px,3vw,65px);align-self:center;background:linear-gradient(90deg,#fff 0%,#fff 90%,#fff9fd 100%);z-index:3}
.hero-message h1{font-size:clamp(46px,4.3vw,82px)}
.hero-message p{font-size:clamp(15px,1.17vw,20px)}
.hero-scene{position:relative;right:auto;top:auto;bottom:auto;width:100%;min-width:0;min-height:100%;background-image:url('assets/hero-products.webp');background-position:center center;background-size:cover;background-repeat:no-repeat;mask-image:none;-webkit-mask-image:none;opacity:1}
.hero-scribble{display:none}
@media(max-width:1150px){.newhero-inner{grid-template-columns:minmax(300px,39%) minmax(0,61%)}.hero-message{width:auto}.hero-scene{width:100%;right:auto;background-size:cover}}
@media(max-width:800px){.newhero-inner{grid-template-columns:42% 58%;min-height:400px}.hero-message{width:auto;padding:30px 18px}.hero-message h1{font-size:clamp(37px,5.5vw,55px)}.hero-message p{font-size:14px}.hero-scene{right:auto;width:100%;background-size:cover;opacity:1}}
@media(max-width:600px){.newhero-inner{display:flex;flex-direction:column;min-height:0}.hero-message{width:100%;max-width:none;padding:32px 22px 22px;align-self:auto}.hero-message h1{font-size:clamp(45px,10vw,62px)}.hero-message p{max-width:500px}.hero-scene{width:100%;height:auto;min-height:0;aspect-ratio:1450/650;background-size:cover;background-position:center center;opacity:1;mask-image:none;-webkit-mask-image:none}}

/* v2.0.4: show COMPLETE original product artwork, never cover/clip. Image height dictates hero height. */
.newhero{overflow:visible;background:#fff}
.newhero-inner{width:100%;max-width:none;min-height:0!important;display:grid;grid-template-columns:minmax(0,35%) minmax(0,65%);align-items:stretch;gap:0}
.hero-message{position:relative;z-index:2;width:100%;height:auto;max-width:none;min-width:0;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:25px clamp(22px,3vw,62px);background:#fff}
.hero-message h1{font-size:clamp(40px,4.1vw,76px)}
.hero-scene{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1450 / 550;background-image:url('assets/hero-products.webp')!important;background-size:100% 100%!important;background-position:center!important;background-repeat:no-repeat!important;mask-image:none!important;-webkit-mask-image:none!important;opacity:1!important}
.hero-scribble{display:none}
@media(max-width:1100px){.newhero-inner{grid-template-columns:minmax(0,38%) minmax(0,62%)}.hero-message{padding:20px 24px}.hero-message h1{font-size:clamp(35px,4vw,55px)}.hero-message p{font-size:14px}.hero-message .button{font-size:12px;padding:10px 14px}}
@media(max-width:700px){.newhero-inner{display:flex;flex-direction:column}.hero-message{width:100%;align-self:auto;padding:28px 24px}.hero-message h1{font-size:clamp(42px,10vw,64px)}.hero-scene{aspect-ratio:1450 / 550;width:100%!important;min-height:0!important;height:auto!important}}

/* v2.0.5: Three equal customer pathways */
.choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.choice{min-width:0;min-height:265px}.choice-art{width:38%}.choice-text{margin-left:37%;padding:15px 12px 15px 0;min-width:0}.choice h2{font-size:clamp(22px,2.05vw,33px)}.choice p{font-size:12px}.choice-button{padding:12px 13px;font-size:10px}.choice-ready{background:linear-gradient(125deg,#6b36e8,#663fe0 50%,#225acb)}.ready-art{background-image:linear-gradient(90deg,transparent 60%,#663fe0),url("assets/sample-4.webp");background-position:center;background-size:cover}
@media(max-width:1050px){.choices{grid-template-columns:repeat(3,minmax(0,1fr))}.choice-art{width:34%;opacity:.8}.choice-text{margin-left:31%}.choice h2{font-size:clamp(20px,2.3vw,27px)}.choice-button{padding:10px 9px}}
@media(max-width:800px){.choices{grid-template-columns:1fr}.choice{min-height:210px}.choice-art{width:42%}.choice-text{margin-left:40%;padding:15px}.choice h2{font-size:30px}.choice-button{padding:12px 15px;font-size:11px}}


/* 2.0.6: WooCommerce print-order pages, full-width without the fallback blog sidebar. */
.cwvm-woocommerce-main{width:min(100% - 48px,1440px);padding-top:30px;padding-bottom:45px;min-height:65vh}
.cwvm-woocommerce-main .woocommerce-notices-wrapper{width:100%}
.cwvm-woocommerce-main .woocommerce-breadcrumb{margin:0 0 22px;font-size:13px;color:#67718a}
.cwvm-woocommerce-main .woocommerce div.product{display:flow-root}
.cwvm-woocommerce-main .woocommerce div.product div.images{width:41%;float:left;margin:0 3% 30px 0}
.cwvm-woocommerce-main .woocommerce div.product div.summary{width:56%;float:right;margin:0 0 35px}
.cwvm-woocommerce-main .woocommerce div.product .woocommerce-product-gallery__wrapper{border:1px solid #e7dff6;border-radius:16px;overflow:hidden;background:#faf8ff}
.cwvm-woocommerce-main .woocommerce div.product .woocommerce-product-gallery__image img{width:100%;height:auto;max-height:540px;object-fit:contain}
.cwvm-woocommerce-main .woocommerce div.product .product_title{font-size:clamp(24px,2.8vw,37px);line-height:1.2;margin:0 0 12px;color:#261144}
.cwvm-woocommerce-main .woocommerce div.product p.price{font-size:22px;color:#ba1796;font-weight:800;margin:6px 0 16px}
.cwvm-woocommerce-main .woocommerce div.product form.cart{max-width:100%;margin-bottom:18px}
.cwvm-woocommerce-main .woocommerce div.product form.cart .variations{width:100%;border:0}
.cwvm-woocommerce-main .woocommerce div.product form.cart .variations td,.cwvm-woocommerce-main .woocommerce div.product form.cart .variations th{padding:8px 10px 8px 0;background:transparent;vertical-align:middle}
.cwvm-woocommerce-main .woocommerce div.product form.cart .variations select{height:44px;max-width:100%;min-width:190px;border:1px solid #d5c4ec;border-radius:9px;padding:8px;background:#fff;color:#261144}
.cwvm-woocommerce-main .woocommerce div.product form.cart .single_add_to_cart_button{background:linear-gradient(105deg,#16a34a,#06a678)!important;color:#fff!important;font-weight:800;padding:14px 25px;border:0;border-radius:10px;box-shadow:0 6px 15px #15803d30}
.cwvm-woocommerce-main .woocommerce div.product form.cart .quantity .qty{height:43px;border:1px solid #d5c4ec;border-radius:8px;padding:4px}
.cwvm-woocommerce-main .woocommerce div.product .woocommerce-tabs,.cwvm-woocommerce-main .woocommerce div.product .related{clear:both;width:100%;margin-top:22px}
.cwvm-woocommerce-main .woocommerce div.product .related ul.products{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,230px));gap:20px}
.cwvm-woocommerce-main .woocommerce div.product .related ul.products:before,.cwvm-woocommerce-main .woocommerce div.product .related ul.products:after{display:none}
.cwvm-woocommerce-main .woocommerce div.product .related ul.products li.product{float:none;width:auto!important;margin:0!important}
.cwvm-woocommerce-main .woocommerce div.product .related ul.products li.product img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#f7f6fb;border-radius:10px}
.cwvm-woocommerce-main .woocommerce div.product .summary img{max-height:380px;object-fit:contain}
.cwvm-woocommerce-main .woocommerce div.product .summary .mpp-selected-artwork img{max-height:74px}
.mpp-preview-card{padding:15px;border:1px solid #d9c9ef;border-radius:14px;margin:12px 0 18px;background:linear-gradient(145deg,#fff,#faf5ff)}
.mpp-preview-card h3{margin:0 0 5px;font-size:16px;color:#5522a7}
.mpp-preview-card p{font-size:12px;color:#596579;margin:0 0 12px}
.mpp-preview-stage{max-width:360px;min-height:180px;margin:0 auto;padding:18px;background:repeating-linear-gradient(0deg,#eff1fa 0,#eff1fa 1px,transparent 1px,transparent 36px),repeating-linear-gradient(90deg,#eff1fa 0,#eff1fa 1px,transparent 1px,transparent 36px),#fff;border:1px solid #d4d7e5;border-radius:8px;display:flex;align-items:center;justify-content:center}
.mpp-preview-paper{display:flex;align-items:center;justify-content:center;width:100%;max-width:260px;aspect-ratio:1/1;overflow:hidden;padding:7px;border:2px solid #bca5dd;box-shadow:0 4px 10px #4b2c7519;background:#fff}
.mpp-preview-paper img{display:block;width:100%;height:100%;max-height:none!important;object-fit:contain}
.mpp-preview-size{text-align:center;color:#5522a7;font-size:12px;margin-top:8px;font-weight:700}
@media(max-width:850px){.cwvm-woocommerce-main{width:min(100% - 28px,1000px)}.cwvm-woocommerce-main .woocommerce div.product div.images,.cwvm-woocommerce-main .woocommerce div.product div.summary{float:none;width:100%;margin:0 0 22px}.cwvm-woocommerce-main .woocommerce div.product .woocommerce-product-gallery__image img{max-height:380px}}

/* 2.0.7: One true selected-design preview instead of duplicated product mockups. */
.cwvm-woocommerce-main .woocommerce div.product .images.mpp-has-selected-preview .woocommerce-product-gallery__wrapper,
.cwvm-woocommerce-main .woocommerce div.product .images.mpp-has-selected-preview > .woocommerce-product-gallery__image,
.cwvm-woocommerce-main .woocommerce div.product .woocommerce-product-gallery.mpp-has-selected-preview .woocommerce-product-gallery__wrapper,
.cwvm-woocommerce-main .woocommerce div.product .woocommerce-product-gallery.mpp-has-selected-preview .flex-viewport,
.cwvm-woocommerce-main .woocommerce div.product .woocommerce-product-gallery.mpp-has-selected-preview .flex-control-nav,
.cwvm-woocommerce-main .woocommerce div.product .woocommerce-product-gallery.mpp-has-selected-preview .woocommerce-product-gallery__trigger{display:none!important}
.cwvm-woocommerce-main .woocommerce div.product .mpp-left-preview{display:block!important;width:100%;margin:0}
.cwvm-woocommerce-main .woocommerce div.product .mpp-left-preview .mpp-primary-artwork{margin:0;padding:16px;border:1px solid #d6b8f9;border-radius:16px;background:linear-gradient(145deg,#fefcff,#f1efff)}
.cwvm-woocommerce-main .woocommerce div.product .mpp-left-preview .mpp-preview-stage{max-width:none;min-height:250px;padding:22px;background:repeating-linear-gradient(0deg,#e5e9f6 0,#e5e9f6 1px,transparent 1px,transparent 36px),repeating-linear-gradient(90deg,#e5e9f6 0,#e5e9f6 1px,transparent 1px,transparent 36px),#fff}
.cwvm-woocommerce-main .woocommerce div.product .mpp-left-preview .mpp-preview-paper{max-width:390px;max-height:490px}
.cwvm-woocommerce-main .woocommerce div.product .mpp-left-preview .mpp-preview-paper img{max-height:470px!important;object-fit:contain}
.cwvm-woocommerce-main .woocommerce div.product .mpp-product-with-selected-art .mpp-selected-artwork{border-radius:9px!important;border-color:#d6b8f9!important;background:#faf8ff;margin-bottom:14px!important}
@media(max-width:850px){.cwvm-woocommerce-main .woocommerce div.product .mpp-left-preview .mpp-preview-stage{min-height:180px}.cwvm-woocommerce-main .woocommerce div.product .mpp-left-preview .mpp-preview-paper{max-width:280px}}

/* Selected ready-to-print design is the *only* main gallery image. */
.cwvm-woocommerce-main .woocommerce div.product .woocommerce-product-gallery.mpp-gallery-replaced,
.cwvm-woocommerce-main .woocommerce div.product div.images.mpp-gallery-replaced{overflow:visible!important;min-height:0!important}
.cwvm-woocommerce-main .woocommerce div.product .mpp-gallery-replaced .mpp-primary-artwork{display:block!important;width:100%;margin:0!important;box-sizing:border-box;background:linear-gradient(145deg,#fff,#f4edff);border:2px solid #cfb5fa;border-radius:16px;padding:18px}
.cwvm-woocommerce-main .woocommerce div.product .mpp-gallery-replaced .mpp-preview-stage{display:flex;align-items:center;justify-content:center;background:#f1f3fa;padding:18px;border-radius:12px;min-height:260px}
.cwvm-woocommerce-main .woocommerce div.product .mpp-gallery-replaced .mpp-preview-paper{width:100%;max-width:420px;max-height:480px;display:flex;align-items:center;justify-content:center;background:#fff;box-shadow:0 6px 24px #24165025;overflow:hidden}
.cwvm-woocommerce-main .woocommerce div.product .mpp-gallery-replaced .mpp-preview-paper img{display:block!important;width:100%;height:100%;max-height:450px;object-fit:contain;margin:auto}
.mpp-fit-controls{padding:12px 0;display:grid;gap:6px}.mpp-fit-controls select{max-width:100%;padding:8px;border-radius:8px}.mpp-fit-controls p{font-size:13px;margin:0;color:#5b477f}#mpp-fit-result{font-weight:600;color:#47208b;font-size:13px}

/* ClapbackMemes finished meme purchase + creator permission panel */
.single-mememe .mememe-recaption-link{display:none!important}
.single-mememe .mpp-cb-finished-actions{margin:24px auto;padding:24px;max-width:850px;border:1px solid #d7c9f4;border-radius:18px;background:linear-gradient(135deg,#fbf7ff 0%,#f5efff 55%,#e9f6ff 100%)}
.single-mememe .mpp-cb-finished-actions h2{color:#521ca7;margin:0 0 16px}
.single-mememe .mpp-cb-finished-actions h3{color:#6d28d9}
.single-mememe .mpp-cb-order-button{display:inline-block;background:linear-gradient(110deg,#16a34a,#059669);color:white!important;padding:13px 19px;border-radius:12px;text-decoration:none;font-weight:700;margin:6px 10px 6px 0;box-shadow:0 4px 12px #16653444}
.single-mememe .mpp-cb-order-button:hover{filter:brightness(1.07)}
.single-mememe .mpp-cb-notice{border-left:4px solid #8b5cf6;background:white;padding:12px;border-radius:8px}
.single-mememe .mpp-print-permissions{background:white;border-radius:12px}


/* v2.0.10: Keep account and cart controls in distinct header slots.
   Does not alter the WordPress administrator toolbar. */
.head .nav{min-width:0}
.head .actions{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto;gap:14px;min-width:112px;white-space:nowrap;position:relative;z-index:15}
.head .actions > .action-icon{flex:0 0 32px;display:inline-flex;align-items:center;justify-content:center;position:relative;width:32px;height:38px;margin:0;padding:0;text-align:center;vertical-align:middle;line-height:1;white-space:nowrap;isolation:isolate}
.head .actions > .action-icon[aria-label="Cart"]{margin-right:9px}
.head .actions .cart-count{right:-8px;top:-3px;line-height:1.4;z-index:2}
.head .actions > .action-icon img,.head .actions > .action-icon svg{max-height:27px;max-width:27px;object-fit:contain}
@media(max-width:1150px){.head .actions{min-width:96px;gap:9px;margin-left:0}}
@media(max-width:530px){.head .actions{min-width:38px;gap:0}.head .actions > .action-icon{flex-basis:32px}}

/* Shop card imagery echoes the homepage; does not alter selected artwork in cart. */
.woocommerce ul.products li.product img.cwvm-shop-custom-art{aspect-ratio:1/1;object-fit:cover;border-radius:14px;background:linear-gradient(135deg,#fa168d,#9634e6)}

/* v2.0.12: Keep the cart clickable when an account plugin inserts a label/avatar. */
.head .actions{position:relative;isolation:isolate;min-width:132px;overflow:visible}
.head .actions > .action-icon[aria-label="Cart"]{position:relative;z-index:100;pointer-events:auto;flex-shrink:0;background:#fff;border-radius:7px}
.head .actions > .action-icon[aria-label="My account"]{position:relative;z-index:20;max-width:38px;overflow:hidden}
.head .actions > .action-icon[aria-label="Cart"] .cart-count{pointer-events:none}
@media(max-width:530px){.head .actions{min-width:44px}}

/* v2.0.13 branded catalog images */
.cwvm-branded-product-preview{width:100%;height:100%;object-fit:cover;display:block;border-radius:10px}

/* v2.0.14: prevent injected account/admin labels from extending into cart click target. */
.head .actions{position:relative;isolation:isolate;}
.head .actions > a[aria-label="Cart"]{position:relative;z-index:50;flex-shrink:0;pointer-events:auto;}
.head .actions > a[aria-label="My account"]{position:relative;overflow:hidden;width:28px;max-width:28px;flex-shrink:0;white-space:nowrap;z-index:1;}
.head .actions > a[aria-label="My account"] *{max-width:28px;overflow:hidden;text-overflow:clip;}
.head .actions > a[aria-label="Cart"] .cart-count{pointer-events:none;z-index:51;}
#wpadminbar{z-index:99999;}


/* v2.0.15 All Designs gallery */
.cwvm-all-designs{padding:32px 0 65px}
.cwvm-gallery-intro h1{font-size:clamp(32px,4vw,52px);margin:0 0 8px;letter-spacing:-.05em}
.cwvm-gallery-intro p{color:#68738b;margin:0 0 26px}
.cwvm-gallery-section-heading{font-size:25px;margin:24px 0 16px}
.cwvm-gallery-grid .product-photo{height:245px}
.cwvm-gallery-grid .empty-photo{font-size:13px;color:#64748b}
.cwvm-gallery-ready{margin-top:50px;border-top:1px solid #e9eaf2;padding-top:22px}
.cwvm-gallery-pages ul{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;list-style:none;padding:0;margin:28px 0}
.cwvm-gallery-pages a,.cwvm-gallery-pages span{display:block;padding:10px 15px;border-radius:9px;background:#f1edfc}
.cwvm-gallery-pages .current{background:#7923e8;color:#fff}
@media(max-width:700px){.cwvm-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cwvm-gallery-grid .product-photo{height:160px}}

/* v2.0.16: Prevent front-end WP Admin user name from overlaying the shop cart.
   Keep the admin-bar avatar and dropdown usable; do not hide the toolbar. */
body.admin-bar #wpadminbar #wp-admin-bar-my-account > .ab-item .display-name,
body.admin-bar #wpadminbar #wp-admin-bar-my-account > .ab-item .username,
body.admin-bar #wpadminbar #wp-admin-bar-my-account > .ab-item .ab-label {display:none!important;}
body.admin-bar #wpadminbar #wp-admin-bar-my-account > .ab-item{
  box-sizing:border-box!important;width:44px!important;max-width:44px!important;
  white-space:nowrap!important;overflow:hidden!important;padding-left:5px!important;
  padding-right:5px!important;
}
body.admin-bar #wpadminbar #wp-admin-bar-my-account > .ab-item .avatar{float:none!important;display:inline-block!important;vertical-align:middle!important;margin:0!important;}
/* Independently constrain any account widget injected into the theme's header. */
.head .actions{display:flex;align-items:center;flex-wrap:nowrap;min-width:0;overflow:visible;}
.head .actions > a[aria-label="My account"]{display:flex;align-items:center;justify-content:center;width:34px!important;min-width:34px!important;max-width:34px!important;overflow:hidden!important;white-space:nowrap;font-size:22px;}
.head .actions > a[aria-label="My account"] .display-name,
.head .actions > a[aria-label="My account"] .username,
.head .actions > a[aria-label="My account"] .user-name{display:none!important;}
.head .actions > a[aria-label="Cart"]{display:flex;justify-content:center;align-items:center;width:40px;min-width:40px;position:relative;z-index:60!important;pointer-events:auto!important;}

/* v2.0.18: explicit, branded Shop images and creation choice landing page. */
.cwvm-shop-entries{padding:18px 0 65px}.cwvm-shop-entries>h1{font-size:clamp(34px,4vw,50px);margin:0 0 8px}.cwvm-shop-intro{color:#68738b;margin-bottom:25px}
.cwvm-shop-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.cwvm-shop-card{background:#fff;border-radius:18px;overflow:hidden;border:1px solid #e7eafa;box-shadow:0 8px 25px #25125212}.cwvm-shop-card-image{display:block;aspect-ratio:1;overflow:hidden;background:#f8f1ff}.cwvm-shop-card-image img{display:block;width:100%;height:100%;object-fit:cover}.cwvm-shop-card-info{padding:18px 18px 25px}.cwvm-shop-card-info h2{font-size:21px;margin:0 0 7px}.cwvm-shop-card-info p{font-size:14px;color:#68738b;min-height:40px}.cwvm-shop-card-button,.cwvm-chooser-button{display:inline-block;color:#fff;background:linear-gradient(110deg,#ff078b,#ac20df);font-size:13px;font-weight:800;padding:12px 18px;border-radius:50px;margin-top:8px}.cwvm-chooser-top{display:grid;grid-template-columns:minmax(200px,360px) 1fr;align-items:center;gap:32px;padding:20px 0 28px}.cwvm-chooser-top img{width:100%;border-radius:20px}.cwvm-chooser-top h1{font-size:clamp(30px,4vw,50px);margin:6px 0 15px}.cwvm-chooser-top p{color:#5f6d84}.cwvm-chooser-top h2{font-size:25px;margin-top:22px}.cwvm-chooser-kicker{font-weight:900;font-size:11px;letter-spacing:.15em;color:#d90096}.cwvm-shop-back{color:#0079c9;font-size:14px;font-weight:750}.cwvm-chooser-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}.cwvm-chooser-option{border:1px solid #e8e9f4;border-radius:18px;padding:23px;background:linear-gradient(145deg,#fff,#faf2ff)}.cwvm-chooser-option h3{font-size:23px;margin:0 0 9px}.cwvm-chooser-option p{font-size:14px;color:#59687e;min-height:45px}.cwvm-option-meme{border-top:5px solid #159cfc}.cwvm-option-custom{border-top:5px solid #f3009b}.cwvm-option-ready{border-top:5px solid #7440e9}
@media(max-width:760px){.cwvm-shop-card-grid{grid-template-columns:1fr}.cwvm-chooser-top{grid-template-columns:1fr}.cwvm-chooser-top img{max-width:340px}.cwvm-shop-card-image{max-height:370px}}
