/* Botões do WooCommerce */
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button {
    background-color: #0071a1;
    color: #fff;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    border-radius: 4px;
    float: right;
}

.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover {
    background-color: #005880;
}

/* Ajustar tabelas */
.woocommerce table.shop_table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce table.shop_table th, 
.woocommerce table.shop_table td {
    padding: 10px;
    border: 1px solid #ddd;
}

/* Corrigir conflito de .row e .container */
.woocommerce .row {
    display: flex;
    flex-wrap: wrap;
    margin-left: 0;
    margin-right: 0;
}

.woocommerce .container {
    max-width: 100%;
    padding: 0 15px;
}


.woocommerce form .form-row .input-text, .woocommerce-page form .form-row .input-text {
    padding: 10px;
    border: 1px #dedede solid;
    border-radius: 4px;
}

.woocommerce-account .woocommerce h1, .woocommerce-account .woocommerce h2, .woocommerce-account .woocommerce h3, .woocommerce-account .woocommerce h4, .woocommerce-account .woocommerce h5, .woocommerce-account .woocommerce h6 {
    font-weight: bold;
    margin-bottom: 15px;
}

.woocommerce-account .woocommerce h1 { font-size: 36px;}
.woocommerce-account .woocommerce h2 { font-size: 28px;}
.woocommerce-account .woocommerce h3 { font-size: 24px;}
.woocommerce-account .woocommerce h4 { font-size: 22px;}
.woocommerce-account .woocommerce h5 { font-size: 20px;}
.woocommerce-account .woocommerce h6 { font-size: 18px;}


.woocommerce-account .woocommerce-MyAccount-content {
    padding: 40px !important;
}


.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
    background: var(--azul);
    padding: 15px 30px;
    color: #fff;
    font-weight: bold;
    font-family: var(--font);
}

.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
    color: #fff;
}

.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2, .woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1 {
    max-width: 100% !important;
    border: 1px #dedede solid;
    padding: 15px;
    margin-bottom: 20px;
}


.woocommerce-account .addresses .title .edit {
    padding: 
    10px 20px;
    background: var(--azul);
    color: #fff;
    border-radius: 4px;
}

.woocommerce-edit-address .woocommerce .col2-set, .woocommerce-page .col2-set {
    margin-top: 15px;
}



/* Carrinho */
.wc-block-components-product-metadata__description {
    display: none;
}

table.wc-block-cart-items .wc-block-cart-items__row .wc-block-components-product-name {
    color: var(--azul);
    font-weight: bold;
}

.wc-block-components-product-badge {
    padding: 5px !important;
}

body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
    background: green;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    padding: 20px;
}


.woocommerce .woocommerce-customer-details, .woocommerce .woocommerce-order-details, .woocommerce .woocommerce-order-downloads {
    margin-top: 40px;
}


body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-totals-coupon__content .wc-block-components-button:not(.is-link) {
    padding: 10px;
    background: var(--azul);
}


#customer_login {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

#customer_login .col-1,
#customer_login .col-2 {
    border: 0 !important;
}

.woocommerce .col2-set::after, .woocommerce .col2-set::before, .woocommerce-page .col2-set::after, .woocommerce-page .col2-set::before {
    display: none;
}

.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register {
    border: 1px #dedede solid;
}


.woocommerce ul.products li.product .price {
    color: #000;
}



/* Produto */
.pswp--open {
    z-index: 999999;
}

#primary #main {
    max-width: 1300px;
    margin:60px auto;
}


#primary #main .product .onsale {
    border-radius: 5px;
    padding: 5px 10px !important;
    min-height: initial;
    height: inherit;
    line-height: 18px;
    text-transform: uppercase;
    background: var(--azul);
    font-size: 11px;
    font-weight: 700;
    width: max-content;
}


.woocommerce div.product div.images img {
    aspect-ratio: 1/1;
    object-fit: contain;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    cursor: pointer;
    opacity: .5;
    margin: 0;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 1px #dedede solid;
    margin: 4px;
    max-width: calc(100% - 10px);
    width: 90px;
    margin: auto;
    border-radius: 5px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price {
    color: #000;
}

.woocommerce div.product p.price ins {
    display: block;
    text-decoration: none;
    font-size: 24px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.woocommerce div.product .entry-summary form.cart .button {
    background: green !important;
    font-size: 17px;
}

.woocommerce div.product .entry-summary .quantity .qty {
    display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: var(--azul);
    color: #fff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
    color: #fff;
    padding: 12px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after, 
.woocommerce div.product .woocommerce-tabs ul.tabs li::before {
    border-color: var(--azul);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--azul);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    box-shadow: -2px 2px 0 var(--azul);
}

.woocommerce-Tabs-panel h2:first-child {
    display: none;
}

.woocommerce-Tabs-panel h3, .woocommerce-Tabs-panel h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.woocommerce-Tabs-panel p,
.woocommerce-Tabs-panel ul {
    line-height: 30px;
    margin-bottom: 30px;
    font-size: 16px;
}

.woocommerce-Tabs-panel ul {
    list-style: inherit;
    list-style-position: inside;
}

/* Calculo Frete */
.inline-inputs #wc-shipping-sim-form-fields .input-postcode {
    border: 1px #dedede solid;
    font-family: var(--font);
}

#wc-shipping-sim-br-cep-finder {
    font-weight: bold;
    font-size: 12px;
    color: #000;
    display: block;
    margin-top: 15px;
}

#wc-shipping-sim-form-fields button {
    font-size: 12px !important;
    height: auto !important;
}


#wc-shipping-sim-results table {
    width: 100%;
}

#wc-shipping-sim-results table span.amount,
#wc-shipping-sim-results table span.shipping-rate-label {
    display: block;
    padding: 10px;
}

/* Relacionados */
#wc-shipping-sim-form-title {
    margin-bottom: 15px;
    display: block;
}
section.related.products {
    margin-top: 60px;
}

section.related.products > h2 {
    font-size: 30px;
    text-transform: uppercase;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px #dedede solid;
    padding-bottom: 30px;
}
/* =========================
   Quote request modal (Budget button + Request a Quote section)
   ========================= */
.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.quote-modal.is-open {
    display: flex;
}

.quote-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.quote-modal__box {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 40px 34px 34px;
    width: 92%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.quote-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: 0;
    font-size: 30px;
    line-height: 1;
    color: #09013d;
    cursor: pointer;
}

.quote-modal__title {
    margin: 0 0 6px;
    color: #09013d;
    font-size: 24px;
    font-weight: 700;
}

.quote-modal__desc {
    margin: 0 0 14px;
    color: #555;
    font-size: 15px;
}

.quote-modal .wpcf7-form input,
.quote-modal .wpcf7-form textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
}

.quote-modal .wpcf7-form .submit,
.quote-modal .wpcf7-form input[type=submit] {
    width: 100%;
}

.quote-modal .wpcf7-form input[type=submit] {
    background: #09013d;
    color: #fff;
    border: 0;
    padding: 14px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 8px;
}

/* Paginação da listagem de produtos (Headwear e afins) */
.dwonder-pagination .page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
}

.dwonder-pagination .page-numbers li {
    display: inline-flex;
}

.dwonder-pagination .page-numbers a,
.dwonder-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #dedede;
    border-radius: 6px;
    color: var(--azul, #190f5d);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.dwonder-pagination .page-numbers a:hover {
    border-color: var(--azul, #190f5d);
    background: #f5f4fb;
}

.dwonder-pagination .page-numbers .current {
    background: var(--azul, #190f5d);
    border-color: var(--azul, #190f5d);
    color: #fff;
}

.dwonder-pagination .page-numbers .dots {
    border: 0;
    color: #999;
}

/* Bolinhas de cor nos cards da listagem (dwonder_render_card_color_dots) */
.dwonder-card-dots {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 5px;
	margin: 8px 0 4px;
}
.dwonder-card-dot {
	display: inline-block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid rgba(0, 0, 0, .18);
	box-sizing: border-box;
}
.dwonder-card-dot.is-current {
	outline: 2px solid #1b0f5e;
	outline-offset: 1px;
}
.dwonder-card-dots__more {
	font-size: 12px;
	color: #6b7280;
	margin-left: 2px;
}
