/*
Theme Name: Codmaxx
Theme URI: https://codmaxx.com/
Author: Codmaxx
Description: Tema leve para a loja Codmaxx, integrado ao plugin Codmaxx — Site e Editor e ao WooCommerce.
Version: 2.0.1
Requires at least: 6.5
Requires PHP: 7.4
Text Domain: codmaxx
License: GPL-2.0-or-later
*/
body{margin:0;background:#fff;color:#000;font-family:Roboto,Arial,sans-serif;font-size:16px;line-height:1.5}
.cmxl-home.cmxl-inner{font-family:Roboto,Arial,sans-serif;font-size:16px;line-height:1.5;color:#000}
.cmxl-inner-header{position:relative;background:var(--cmxl-inner-header,#05070b);height:43px;color:#fff;z-index:30;display:flex;justify-content:flex-end}
.cmxl-inner-header-items{display:flex;align-items:center;gap:28px;padding:0 16px;height:43px}
.cmxl-home .cmxl-inner-brand{font-family:Caudex,Georgia,serif;font-size:17px;font-weight:700;color:var(--cmxl-inner-brand,#f70101);line-height:1.5}
.cmxl-inner-brand img{max-height:30px;width:auto}
.cmxl-inner-header .cmxl-toggle{display:block;margin:0;padding:0 8px;background:transparent;width:42px;height:42px}
.cmxl-home .cmxl-account-link{display:flex;color:var(--cmxl-inner-brand,#f70101);padding:6px}
.cmxl-home .cmxl-cart-link{display:flex;color:#fff;padding:6px}
.cmxl-inner-header .cmxl-inner-nav{position:absolute;top:43px;right:12px;left:auto;min-width:230px;display:none;flex-direction:column;gap:0;align-items:stretch;background:var(--cmxl-inner-header,#05070b);padding:15px 20px;box-shadow:0 10px 24px #0003}
.cmxl-inner-header .cmxl-inner-nav.is-open{display:flex}
.cmxl-home .cmxl-inner-nav a{font:16px/1.5 Roboto,Arial,sans-serif;letter-spacing:0;text-transform:none;border-bottom:1px solid #ffffff22;padding:12px 8px}
.cmxl-content{max-width:1100px;padding:40px 0 64px;margin:0 auto;min-height:45vh}
.cmxl-home.cmxl-inner h1,.cmxl-home.cmxl-inner h2,.cmxl-home.cmxl-inner h3,.cmxl-home.cmxl-inner h4{font-family:Caudex,Georgia,serif;font-weight:700;line-height:1.5;color:#000}
.cmxl-home.cmxl-inner h1{font-size:32px;margin:0 0 36px}
.cmxl-home.cmxl-inner h2{font-size:24px;margin:24px 0 16px}
.cmxl-home.cmxl-inner h3{font-size:20px;margin:20px 0 14px}
.cmxl-home.cmxl-inner .cmxl-page-content p{margin:0 0 18px;line-height:1.7}
.cmxl-home.cmxl-inner .cmxl-page-content a{color:inherit;text-decoration:underline}
.cmxl-page-content .alignwide{width:100%}
.cmxl-content .woocommerce-breadcrumb{font:17px/1.5 Roboto,Arial,sans-serif;color:#000;margin:0 0 36px}
.cmxl-content .woocommerce-breadcrumb a{color:#000;text-decoration:underline}
.cmxl-content .woocommerce-result-count{margin:0 0 50px}
.cmxl-content .woocommerce-ordering{margin:0 0 50px}
.cmxl-content .woocommerce-ordering select{font-size:16px;min-width:300px;padding:3px 4px;background:#fff;color:#000;border:1px solid #767676;border-radius:0}
.cmxl-content ul.products{display:grid;grid-template-columns:repeat(var(--cmxl-columns,3),minmax(0,1fr));gap:40px 20px;clear:both;padding:0;margin:0 0 40px;list-style:none}
.cmxl-content ul.products::before,.cmxl-content ul.products::after{display:none!important}
.cmxl-content ul.products li.product{float:none!important;width:auto!important;margin:0!important;text-align:center;min-width:0}
.cmxl-content ul.products li.product a img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:4px;margin:0 0 12px}
.cmxl-home.cmxl-inner ul.products li.product .woocommerce-loop-product__title{font:700 17px/1.5 Caudex,Georgia,serif;padding:0;margin:0 0 12px}
.cmxl-content ul.products li.product .price{font:16px/1.5 Roboto,Arial,sans-serif;color:#000;margin:0 0 20px;display:block}
.cmxl-content ul.products li.product .button{display:inline-flex;align-items:center;justify-content:center;background:#f4262c;color:#fff;font-weight:400;font-size:18px;padding:12px;border-radius:30px;line-height:1.3;margin:0 0 20px;min-height:46px}
.cmxl-content ul.products li.product .cmxl-buy-now{display:flex;width:100%;background:#000;color:#fff;border-radius:3px;font-size:16px;font-weight:700;text-transform:uppercase;text-decoration:underline;min-height:50px;margin:10px 0 0}
.cmxl-content .button,.cmxl-content button,.cmxl-content input[type=submit]{cursor:pointer}
.cmxl-content .woocommerce .button.alt,.cmxl-content .woocommerce button.button.alt,.cmxl-content button.single_add_to_cart_button{background:var(--cmxl-product,#f00);color:#fff;border-radius:3px;padding:16px 24px;line-height:20px;font-size:16px;font-weight:700;text-transform:uppercase}
.cmxl-content .woocommerce .button.alt:hover,.cmxl-content .woocommerce button.button.alt:hover,.cmxl-content button.single_add_to_cart_button:hover{filter:brightness(.9);background:var(--cmxl-product,#f00);color:#fff}
.single-product .cmxl-content{padding-top:0}
.cmxl-content div.product div.images{width:34%;float:left}
.cmxl-content div.product div.summary{width:62%;float:right}
.cmxl-home.cmxl-inner .product_title{font-size:32px;margin:0 0 10px;line-height:1.4}
.cmxl-content div.product p.price{font-size:18px;line-height:1.5;margin:0 0 36px;color:#000}
.cmxl-content .woocommerce-product-details__short-description{margin:22px 0 0;padding:18px 20px;background:#f7f8fa;border:1px solid #e8eaee;border-radius:12px;font:16px/1.7 Roboto,Arial,sans-serif;color:#303642;overflow-wrap:anywhere}
.cmxl-content .woocommerce-product-details__short-description p{margin:0 0 12px}
.cmxl-content .woocommerce-product-details__short-description>:last-child{margin-bottom:0}
.cmxl-content div.product form.cart{margin-bottom:15px;display:flex;gap:12px;flex-wrap:wrap}
.cmxl-content div.product form.cart .variations{width:100%}
.cmxl-content div.product form.cart .quantity{margin-right:0}
.cmxl-content div.product form.cart .qty{width:75px;height:52px;padding:12px;border:1px solid #888;background:#fff;color:#000;font-size:16px}
.cmxl-content div.product form.cart .single_add_to_cart_button{min-height:52px;min-width:55%;flex:1}
.cmxl-content .cmxl-buy-single{display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;border-radius:3px;background:#000;color:#fff;text-transform:uppercase;text-decoration:underline;font-weight:700;margin:0 0 24px;padding:14px 20px}
.cmxl-content .woocommerce-tabs{clear:both;padding-top:50px}
.cmxl-content .woocommerce-tabs ul.tabs{padding:0!important;display:flex;gap:24px}
.cmxl-content .woocommerce-tabs ul.tabs::before{border:0!important}
.cmxl-content .woocommerce-tabs ul.tabs li{border:0!important;background:transparent!important;border-radius:0!important;padding:0!important;margin:0!important}
.cmxl-content .woocommerce-tabs ul.tabs li::before,.cmxl-content .woocommerce-tabs ul.tabs li::after{display:none!important}
.cmxl-content .woocommerce-tabs ul.tabs li a{font:700 16px/1.5 Roboto,Arial,sans-serif;padding:10px 15px!important}
.cmxl-content .woocommerce-tabs ul.tabs li.active{border-bottom:2px solid #000!important}
.cmxl-content .related.products{clear:both;margin-top:44px}
.cmxl-content .woocommerce-product-gallery__wrapper{margin:0}
.cmxl-content .product_meta{font-size:14px;margin:18px 0}
.cmxl-content .woocommerce-product-gallery img{max-width:100%;height:auto}
.cmxl-content .comprar-agora-loop,.cmxl-content .comprar-agora-botao{display:none!important}
.cmxl-inner .cmxl-footer h3{color:#fff;margin:0 0 18px;font-size:22px}
.cmxl-content .woocommerce-form-row label,.cmxl-content .form-row label{display:block}
.cmxl-content input.input-text,.cmxl-content textarea{padding:12px;border:1px solid #aaa;border-radius:3px;max-width:100%;color:#111;background:#fff}
.cmxl-content .woocommerce-message,.cmxl-content .woocommerce-error,.cmxl-content .woocommerce-info{font-family:Roboto,Arial,sans-serif}
.cmxl-content .woocommerce-cart-form,.cmxl-content .cart-collaterals{margin-top:24px}
.cmxl-content .cart_totals h2,.cmxl-content #order_review_heading{margin:20px 0}
.cmxl-content .woocommerce-checkout #payment{background:#f7f8fa}
.cmxl-content .woocommerce-MyAccount-navigation{margin-bottom:25px}
.cmxl-content .woocommerce-MyAccount-navigation a{text-decoration:underline}
@media(max-width:1160px){.cmxl-content{margin:0 30px}}
@media(max-width:767px){.cmxl-content{margin:0 20px;padding-top:30px}.cmxl-inner-header-items{gap:20px}.cmxl-home.cmxl-inner h1,.cmxl-home.cmxl-inner .product_title{font-size:28px}.cmxl-content ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 20px}.cmxl-content .woocommerce-ordering select{min-width:0;width:100%;max-width:100%}.cmxl-content .woocommerce-result-count,.cmxl-content .woocommerce-ordering{float:none;margin:0 0 24px}.cmxl-content ul.products li.product .button{font-size:14px}.cmxl-content ul.products li.product .cmxl-buy-now{font-size:13px}.cmxl-content div.product div.images,.cmxl-content div.product div.summary{width:100%;float:none}.cmxl-content div.product div.images{max-width:400px;margin:0 auto 30px}.cmxl-content .woocommerce-tabs{padding-top:30px}.cmxl-content .woocommerce-tabs ul.tabs{gap:8px}.cmxl-content .woocommerce-tabs ul.tabs li a{padding:8px!important}.cmxl-content .cmxl-page-content>div{padding-left:0!important;padding-right:0!important}}
@media(max-width:380px){.cmxl-content ul.products{grid-template-columns:1fr}}

.cmxl-content.cmxl-document{padding-top:0;padding-bottom:0}.cmxl-document .cmxl-page-content>div[style*="max-width:900px"],.cmxl-document .cmxl-page-content>div[style*="max-width:900px"] *{box-sizing:content-box}.cmxl-home.cmxl-inner .cmxl-document .cmxl-page-content p{margin:0 0 16px}

/* Stronger selectors keep the product buttons consistent with WooCommerce CSS. */
body.woocommerce .cmxl-content ul.products li.product a.button,
body.woocommerce .cmxl-content ul.products li.product a.cmxl-buy-now,
body.woocommerce .cmxl-content div.product form.cart .button,
body.woocommerce .cmxl-content div.product a.button.cmxl-buy-single{
    display:flex;align-items:center;justify-content:center;box-sizing:border-box;
    min-height:52px;padding:14px 20px;border:1px solid transparent;border-radius:10px;
    background:var(--cmxl-product,#e31b23);color:#fff;
    font:700 15px/1.4 Roboto,Arial,sans-serif;letter-spacing:.2px;text-align:center;
    text-decoration:none;text-transform:uppercase;white-space:normal;
    transition:background-color .18s,box-shadow .18s,filter .18s;
}
body.woocommerce .cmxl-content ul.products li.product a.button{width:100%;margin:10px 0 0}
body.woocommerce .cmxl-content ul.products li.product a.cmxl-buy-now,
body.woocommerce .cmxl-content div.product a.button.cmxl-buy-single{background:#151b25;color:#fff;border-color:#151b25}
body.woocommerce .cmxl-content div.product a.button.cmxl-buy-single{width:100%;margin:12px 0 0}
body.woocommerce .cmxl-content div.product form.cart{align-items:stretch;gap:12px;margin:0}
body.woocommerce .cmxl-content div.product form.cart .quantity{margin:0;flex:0 0 76px}
body.woocommerce .cmxl-content div.product form.cart .qty{width:76px;min-height:52px;height:100%;border:1px solid #d4d8df;border-radius:10px;text-align:center;padding:12px 6px;box-sizing:border-box}
body.woocommerce .cmxl-content div.product form.cart .single_add_to_cart_button{float:none;flex:1;min-width:0;margin:0}
body.woocommerce .cmxl-content div.product form.cart .single_variation_wrap{width:100%}
body.woocommerce .cmxl-content div.product form.cart .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch}
body.woocommerce .cmxl-content ul.products li.product a.button:hover,
body.woocommerce .cmxl-content div.product form.cart .button:not(:disabled):not(.disabled):hover,
body.woocommerce .cmxl-content div.product a.button.cmxl-buy-single:hover{filter:brightness(.88);box-shadow:0 4px 12px #0002;color:#fff;text-decoration:none}
body.woocommerce .cmxl-content ul.products li.product a.button:focus-visible,
body.woocommerce .cmxl-content div.product form.cart .button:focus-visible,
body.woocommerce .cmxl-content div.product a.button.cmxl-buy-single:focus-visible{outline:3px solid #151b25;outline-offset:3px;box-shadow:0 0 0 2px #fff}
body.woocommerce .cmxl-content div.product form.cart .button:disabled,
body.woocommerce .cmxl-content div.product form.cart .button.disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
@media(max-width:767px){body.woocommerce .cmxl-content ul.products li.product a.button{font-size:13px;padding:12px 10px}.cmxl-content .woocommerce-product-details__short-description{padding:16px}}
@media(prefers-reduced-motion:reduce){body.woocommerce .cmxl-content .button{transition:none}}
