/* Product composition follows the supplied reference, using Coelho Gamer's palette. */
.single-product{--sticky-purchase-height:110px}
.single-product .commerce-main{width:min(1280px,calc(100% - 80px));padding-top:46px}
.single-product.woocommerce div.product.type-product{display:grid;grid-template-columns:minmax(0,.94fr) minmax(0,1.06fr);align-items:start;gap:60px clamp(40px,8vw,110px)}
.single-product.woocommerce div.product.type-product::before,.single-product.woocommerce div.product.type-product::after{display:none}
.single-product.woocommerce div.product .woocommerce-product-gallery{grid-column:1;float:none;width:100%!important;margin:0!important;padding:18px;border:1px solid #fff;border-radius:22px;background:linear-gradient(145deg,#fff,#eef0eb);box-shadow:inset 0 0 0 1px var(--line),0 20px 48px #171b1912;overflow:hidden}
.single-product.woocommerce div.product .woocommerce-product-gallery__wrapper{margin:0;border-radius:14px;overflow:hidden}
.single-product.woocommerce div.product .woocommerce-product-gallery img{aspect-ratio:4/5;max-height:610px;object-fit:contain;background:#fff}
.single-product.woocommerce div.product .woocommerce-product-gallery .zoomImg{aspect-ratio:auto;max-width:none;max-height:none;object-fit:fill}
.single-product.woocommerce div.product .woocommerce-product-gallery__trigger{top:26px;right:26px;width:42px;height:42px;background:#fff;box-shadow:0 5px 20px #171b191a}
.single-product.woocommerce div.product .summary{position:relative;grid-column:2;float:none;width:100%!important;min-height:550px;margin:0!important;padding:36px;border:1px solid var(--line);border-radius:20px;background:#fff;box-shadow:0 20px 48px #171b1912}
.single-product .summary .woocommerce-breadcrumb{margin:0 0 22px!important;font-size:10px!important;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.single-product .product-platform{margin:0 0 30px;color:var(--accent-dark);font-size:10px;font-weight:800;letter-spacing:.06em;text-transform:uppercase}
.single-product .product-platform span{white-space:nowrap}
.single-product.woocommerce div.product .product_title{margin:0 0 26px;padding-right:0;font-family:Arial,Helvetica,sans-serif;font-size:clamp(23px,2.1vw,29px);font-weight:900;line-height:1.22;letter-spacing:-.035em;text-transform:uppercase}
.single-product .product-discount{display:inline-block;margin:0 0 16px;padding:6px 12px;border-radius:30px;background:#dcf4ee;color:#176a59;font-size:12px;font-weight:800;line-height:1.4}
.single-product [hidden]{display:none!important}
.single-product .summary .woocommerce-product-rating{font-size:12px}
.single-product.woocommerce div.product form.cart{margin:0}
.single-product.woocommerce div.product form.cart .variations{margin:18px 0 28px!important}
.single-product .license-options{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:0;padding:0;border:0;min-width:0}
.single-product .license-options legend{float:none;width:100%;margin:0 0 10px;padding:0;color:var(--muted);font-size:12px;line-height:1.5}
.single-product .license-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 20px;grid-template-rows:auto 1fr auto;align-items:start;gap:4px 10px;min-height:92px;padding:12px 14px 0;border:1px solid var(--line);border-radius:10px;background:#fff;cursor:pointer;transition:background-color .18s,border-color .18s,box-shadow .18s}
.single-product .license-card:hover{border-color:#90b533;background:#f8fbef}
.single-product .license-card input{position:absolute;width:1px;height:1px;opacity:0}
.single-product .license-card strong{grid-column:1;grid-row:1;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.single-product .license-card small{grid-column:1;grid-row:2;color:var(--muted);font-size:10px;font-weight:400;line-height:1.3}
/* Reserve separate cells for the check and status, including before selection. */
.single-product .license-card::before{content:"✓";grid-column:2;grid-row:1;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--accent);color:var(--ink);font-size:13px;font-weight:700;line-height:1;visibility:hidden}
.single-product .license-card::after{content:"SELECIONADO";grid-column:1/-1;grid-row:3;display:block;align-self:end;margin:6px -14px 0;padding:5px 14px;border-radius:0 0 9px 9px;background:#eaf5bb;color:var(--accent-dark);font-size:8px;font-weight:800;line-height:10px;letter-spacing:.06em;text-align:center;visibility:hidden}
.single-product .license-card:has(input:checked){border-color:#99c400;background:#f6fbdf;box-shadow:0 5px 14px #171b1908}
.single-product .license-card:has(input:checked)::before,.single-product .license-card:has(input:checked)::after{visibility:visible}
.single-product .license-card:has(input:focus-visible){outline:3px solid #558100;outline-offset:3px}
.single-product .license-card:has(input:disabled){opacity:.5;cursor:not-allowed;background:var(--paper)}
.single-product .license-options{scroll-margin-top:var(--product-gallery-top,185px)}
.single-product .license-selection-error{margin:0;color:#a52323;font-size:12px;font-weight:700;line-height:1.5}
.single-product .license-options.has-selection-error .license-card:not(:has(input:disabled)){border-color:#bf3434;background:#fff7f7;box-shadow:0 0 0 1px #bf3434}
.single-product .license-options.has-selection-error .license-card:has(input:focus-visible){outline-color:#a52323}
.single-product .has-license-cards .label,.single-product .has-license-cards select{display:none!important}
.single-product .has-license-cards .reset_variations{display:inline-block!important;margin:10px 0 0;font-size:11px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.single-product .product-price-panel{margin:30px 0 34px;text-align:center}
.single-product.woocommerce .summary .product-price-panel .price{display:flex;justify-content:center;align-items:baseline;flex-wrap:wrap;gap:8px;margin:0!important;color:var(--accent-dark);font-size:30px;font-weight:900;line-height:1.35}
.single-product .product-price-panel .price del{font-size:13px;font-weight:400;color:#8b958e}
.single-product .product-price-panel .price ins{text-decoration:none;font-weight:900}
.single-product .product-price-panel .price .woocommerce-price-suffix{font-size:11px;font-weight:400}
.single-product .product-selection-caption{margin:8px 0 0;color:var(--muted);font-size:11px;line-height:1.6}
.single-product .has-license-cards .woocommerce-variation-price{display:none}
.single-product .has-duplicate-license-description .woocommerce-variation-description{display:none}
.single-product .summary form.cart:not(.variations_form),.single-product .summary .woocommerce-variation-add-to-cart{display:grid!important;grid-template-columns:minmax(0,1fr);align-items:end;gap:14px}
/* WooCommerce clearfix pseudo-elements otherwise consume the grid's first cell. */
.single-product .summary form.cart::before,.single-product .summary form.cart::after,.single-product .summary .woocommerce-variation-add-to-cart::before,.single-product .summary .woocommerce-variation-add-to-cart::after{content:none!important;display:none!important}
/* Keep WooCommerce's default quantity and stock validation in the native form. */
.single-product.woocommerce div.product .summary form.cart .quantity{display:none!important}
.single-product.woocommerce div.product form.cart .single_add_to_cart_button{position:relative;display:block;float:none;width:100%;max-width:none;min-height:72px;margin:0;padding:16px 20px!important;border-radius:var(--purchase-radius)!important;background:var(--accent)!important;color:var(--ink)!important;box-shadow:var(--purchase-shadow);font-size:20px;font-weight:800!important;line-height:1.3!important;transition:background-color .18s,box-shadow .18s,transform .18s}
.single-product.woocommerce div.product form.cart .single_add_to_cart_button::after{content:"COMPRA SEGURA · ENTREGA DIGITAL";display:block;margin-top:6px;font-size:8px;font-weight:700;letter-spacing:.03em}
.single-product.woocommerce div.product form.cart .single_add_to_cart_button:hover{background:var(--accent-hover)!important;box-shadow:var(--purchase-hover-shadow);transform:translateY(-1px)}
.single-product .summary .product_meta{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);font-size:10px;line-height:1.5}
.single-product .summary .woocommerce-variation-description,.single-product .summary .stock{font-size:12px}
.single-product .summary .woocommerce-variation-availability{margin-bottom:12px}
.single-product.woocommerce div.product .woocommerce-tabs,.single-product.woocommerce div.product .related,.single-product.woocommerce div.product .up-sells{grid-column:1/-1;min-width:0;width:100%}
.single-product.woocommerce div.product .woocommerce-tabs{padding:24px;border:1px solid var(--line);border-radius:18px;background:#fff}
.single-product .woocommerce-Tabs-panel{overflow-wrap:anywhere}
.single-product .woocommerce-Tabs-panel img{height:auto;max-width:100%}
.product-purchase-bar{position:fixed;right:0;bottom:0;left:0;z-index:1150;padding:14px 0;border-top:1px solid var(--line);background:rgba(255,255,255,.97);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:0 -10px 32px #171b191c;animation:coelho-purchase-in .2s ease-out}
.product-purchase-bar[hidden]{display:none!important}
.purchase-bar-inner{display:grid;grid-template-columns:minmax(0,1fr) auto 210px;align-items:center;gap:24px}
.purchase-bar-product{display:flex;align-items:center;gap:18px;min-width:0}
.purchase-bar-product>img{width:58px;height:74px;flex-shrink:0;object-fit:contain;border-radius:5px;background:#fff}
.purchase-bar-product>div{min-width:0}
.purchase-bar-product strong{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.5;text-transform:uppercase}
.purchase-bar-license{display:block;margin-top:5px;color:var(--muted);font-size:11px}
.purchase-bar-context{display:block;margin-bottom:4px;color:var(--muted);font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.purchase-bar-value{min-width:0}
.purchase-bar-value>strong{display:block;font-size:26px;line-height:1.25;white-space:nowrap;color:var(--accent-dark)}
.purchase-bar-value del{display:block;color:var(--muted);font-size:11px;font-weight:400}
.purchase-bar-value ins{text-decoration:none}
.purchase-bar-value .woocommerce-price-suffix{display:none}
.purchase-bar-buy{display:flex;justify-content:center;align-items:center;gap:20px;min-height:54px;padding:14px 20px;border:0;border-radius:var(--purchase-radius);background:var(--accent);color:var(--ink);box-shadow:var(--purchase-shadow);font:inherit;font-size:14px;font-weight:800;transition:background-color .18s,box-shadow .18s,transform .18s}
.purchase-bar-buy:hover{background:var(--accent-hover);box-shadow:var(--purchase-hover-shadow);transform:translateY(-1px)}
.purchase-bar-buy:disabled{opacity:.5;cursor:not-allowed}
.purchase-bar-close{position:absolute;top:-16px;right:24px;width:30px;height:30px;padding:7px;border:1px solid var(--line);border-radius:50%;background:#fff;box-shadow:0 3px 10px #171b1924}
.purchase-bar-close svg{width:16px;height:16px}
.single-product.has-sticky-purchase{padding-bottom:var(--sticky-purchase-height)}
.single-product.has-sticky-purchase .back-to-top{bottom:calc(var(--sticky-purchase-height) + 20px)}
@keyframes coelho-purchase-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
/* Size the cover independently from the purchase panel and anchor both at the top. */
.single-product .product-gallery-column{display:contents}
@media(min-width:769px){
  .single-product .product-gallery-column{display:block;grid-column:1;grid-row:1;align-self:stretch;min-width:0}
  .single-product.woocommerce div.product .images.woocommerce-product-gallery{position:sticky;top:var(--product-gallery-top,185px);width:min(445px,100%)!important;margin:0 auto!important;padding:24px;contain:none;min-height:0}
  .single-product.woocommerce div.product .woocommerce-product-gallery__wrapper{height:auto}
  .single-product.woocommerce div.product .woocommerce-product-gallery .flex-viewport{height:auto!important}
  .single-product.woocommerce div.product .woocommerce-product-gallery__image,.single-product.woocommerce div.product .woocommerce-product-gallery__image>a{display:block;height:auto}
  .single-product.woocommerce div.product .woocommerce-product-gallery__image img:not(.zoomImg){height:auto;max-height:calc(100dvh - var(--product-gallery-top,185px) - 68px);aspect-ratio:auto;object-position:center top}
  .single-product.woocommerce div.product .summary{min-height:0;padding:24px}
  .single-product .summary .woocommerce-breadcrumb{margin-bottom:14px!important}
  .single-product .product-platform{margin-bottom:16px}
  .single-product.woocommerce div.product .product_title{margin-bottom:20px}
  .single-product.woocommerce div.product form.cart .variations{margin:16px 0 18px!important}
  .single-product .product-price-panel{margin:18px 0 22px;text-align:left}
  .single-product.woocommerce .summary .product-price-panel .price{justify-content:flex-start}
}
/* Short landscape windows need normal scrolling to reach the entire cover. */
@media(min-width:769px) and (max-height:599px){
  .single-product.woocommerce div.product .images.woocommerce-product-gallery{position:relative;top:auto}
  .single-product.woocommerce div.product .woocommerce-product-gallery__image img:not(.zoomImg){max-height:none}
}
@media(max-width:1050px){
  .single-product.woocommerce div.product.type-product{gap:28px}
  .single-product.woocommerce div.product .summary{padding:24px}
  .single-product .license-card strong{font-size:12px}
  .purchase-bar-inner{grid-template-columns:minmax(0,1fr) auto 180px;gap:18px}
}
@media(max-width:768px){
  .single-product .commerce-main{width:calc(100% - 32px);padding-top:30px}
  .single-product.woocommerce div.product.type-product{display:block}
  .single-product.woocommerce div.product .woocommerce-product-gallery{padding:12px;margin-bottom:22px!important;border-radius:18px}
  .single-product.woocommerce div.product .woocommerce-product-gallery img{max-height:480px}
  .single-product.woocommerce div.product .summary{min-height:0;margin-bottom:32px!important;padding:28px 22px;border-radius:18px}
  .single-product.woocommerce div.product .product_title{font-size:24px}
  .single-product .product-platform{font-size:9px;margin-bottom:18px}
  .single-product .product-price-panel{margin:28px 0 30px}
  .single-product .summary form.cart:not(.variations_form),.single-product .summary .woocommerce-variation-add-to-cart{display:block!important}
  .single-product.woocommerce .summary .product-price-panel .price{font-size:29px}
  .single-product.woocommerce div.product .woocommerce-tabs{padding:18px;margin-bottom:28px}
  .product-purchase-bar{bottom:calc(82px + env(safe-area-inset-bottom));padding:12px 0}
  .purchase-bar-inner{width:calc(100% - 32px);grid-template-columns:minmax(0,1fr) minmax(130px,.9fr);gap:14px}
  .purchase-bar-product{display:none}
  .purchase-bar-context{font-size:8px;letter-spacing:.03em}
  .purchase-bar-value>strong{font-size:22px;white-space:normal}
  .purchase-bar-value del{font-size:10px}
  .purchase-bar-buy{gap:10px;padding:12px 10px;font-size:12px}
  .purchase-bar-buy svg{width:18px;height:18px}
  .purchase-bar-close{right:16px}
  .single-product.has-sticky-purchase{padding-bottom:calc(var(--sticky-purchase-height) + 88px + env(safe-area-inset-bottom))}
  .single-product.has-sticky-purchase .back-to-top{bottom:calc(var(--sticky-purchase-height) + 98px + env(safe-area-inset-bottom))}
}
@media(prefers-reduced-motion:reduce){.product-purchase-bar{animation:none}}
.single-product.woocommerce div.product.has-pix-price .summary .product-price-panel .price{font-size:18px;color:var(--muted);font-weight:500}
.single-product .product-price-panel .pix-price-line{justify-content:center}
.single-product .product-price-panel .coelho-pix-price .pix-price-line strong{font-size:32px}
.single-product .product-price-panel .coelho-pix-price .pix-price-line>span{font-size:13px}
.product-purchase-bar.has-pix-price .purchase-bar-value>strong{font-size:13px;color:var(--muted)}
.product-purchase-bar .coelho-pix-price{margin-top:2px}
.product-purchase-bar .coelho-pix-price .pix-price-line strong{font-size:23px}
.product-purchase-bar .coelho-pix-price>small{display:none}
@media(max-width:900px){.single-product .product-price-panel .pix-price-line{justify-content:flex-start}.product-purchase-bar .coelho-pix-price .pix-price-line strong{font-size:21px}.product-purchase-bar .coelho-pix-price .pix-price-line>span{font-size:10px}}
