/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* --- REGISTRO LOCAL DE FONTES FRANK RUHL LIBRE --- */
/* latin (300) */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/frankruhllibre/v23/j8_w6_fAw7jrcalD7oKYNX0QfAnPW7Dl4Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin (400) */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/frankruhllibre/v23/j8_w6_fAw7jrcalD7oKYNX0QfAnPW7Dl4Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin (500) */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/frankruhllibre/v23/j8_w6_fAw7jrcalD7oKYNX0QfAnPW7Dl4Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin (700) */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/frankruhllibre/v23/j8_w6_fAw7jrcalD7oKYNX0QfAnPW7Dl4Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin (900) */
@font-face {
  font-family: 'Frank Ruhl Libre';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/frankruhllibre/v23/j8_w6_fAw7jrcalD7oKYNX0QfAnPW7Dl4Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- DARK TREE PREMIUM DESIGN SYSTEM --- */
:root {
    --dkt-bg: #0B0B0B;
    --dkt-surface: #121212;
    --dkt-surface-card: #1C1C1E;
    --dkt-gold: #CD901F;
    --dkt-gold-hover: #E2A62C;
    --dkt-gold-light: #BFA066;
    --dkt-text-primary: #FFFFFF;
    --dkt-text-secondary: #A0A0A5;
    --dkt-border: #2C2C2E;
    --dkt-border-active: #CD901F;
}

/* --- FORÇA TIPOGRAFIA BRAND FRANK RUHL LIBRE GERAL E FILHOS --- */
.dkt-quiz-wrapper, 
.dkt-quiz-wrapper *,
.dkt-quiz-card, 
.dkt-quiz-card *,
.dkt-segmented-option label, 
.dkt-btn-primary, 
.dkt-btn-secondary, 
.dkt-locked-row, 
.dkt-result-card, 
.dkt-result-card *,
.dkt-trust-badges-row,
.dkt-trust-badges-row *,
.dkt-option-label,
.dkt-option-desc,
.dkt-quiz-question-title,
.dkt-progress-label,
.dkt-step-dot,
[class^="dkt-"]:not(body):not(.dkt-radar-label):not(.dkt-radar-chart-container), 
[class*=" dkt-"]:not(body):not(.dkt-radar-label):not(.dkt-radar-chart-container) {
    font-family: 'Frank Ruhl Libre', Georgia, serif !important;
}

/* Permitir que rótulos e container do radar sensorial sejam sobrescrevidos no Elementor */
.dkt-radar-label,
.dkt-radar-chart-container,
.dkt-radar-chart-container * {
    font-family: 'Frank Ruhl Libre', Georgia, serif;
}

/* =============================================================================
   FIX: Barra de ícones de autoridade da home — visibilidade no mobile
   =============================================================================
   CAUSA: O widget Elementor Icon List usa flex-wrap:nowrap no modo inline,
   fazendo os itens transbordarem para fora do container .e-con que tem
   overflow:hidden — resultado: apenas 3 dos 6 ícones ficam visíveis no mobile.
   SOLUÇÃO: No mobile, habilitamos scroll horizontal com scrollbar invisível
   para que todos os ícones sejam acessíveis deslizando o dedo.
============================================================================= */
@media (max-width: 767px) {
    .elementor-widget-icon-list .elementor-icon-list-items.elementor-inline-items {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 4px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .elementor-widget-icon-list .elementor-icon-list-items.elementor-inline-items::-webkit-scrollbar {
        display: none;
    }
    .elementor-widget-icon-list .elementor-icon-list-items.elementor-inline-items
    > .elementor-icon-list-item.elementor-inline-item {
        scroll-snap-align: start;
        flex-shrink: 0;
        white-space: nowrap;
    }
    .elementor-widget-icon-list,
    .elementor-widget-icon-list > .elementor-widget-container {
        overflow: visible !important;
    }
}

/* --- CUSTOM SEGMENTED PILL SELECTORS --- */
.dkt-segmented-control {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.dkt-segmented-option {
    flex: 1;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.dkt-segmented-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.dkt-segmented-option label {
    display: block;
    background-color: var(--dkt-surface);
    border: 1px solid var(--dkt-border);
    color: var(--dkt-text-secondary);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    user-select: none;
    cursor: pointer;
    margin: 0 !important;
}

.dkt-segmented-option input[type="radio"]:checked + label {
    border-color: var(--dkt-border-active);
    background-color: rgba(205, 144, 31, 0.1);
    color: var(--dkt-gold);
    box-shadow: 0 0 10px rgba(205, 144, 31, 0.2);
    font-weight: bold;
}

.dkt-segmented-option label:hover {
    color: var(--dkt-text-primary);
    border-color: #555;
}

/* --- CTA BUTTONS HIERARCHY --- */
.dkt-cta-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.dkt-btn-primary {
    display: block;
    width: 100%;
    background-color: var(--dkt-gold) !important;
    color: #000000 !important;
    border: none !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-align: center !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(205, 144, 31, 0.3) !important;
    text-decoration: none !important;
}

.dkt-btn-primary:hover {
    background-color: var(--dkt-gold-hover) !important;
    box-shadow: 0 6px 20px rgba(205, 144, 31, 0.4) !important;
    transform: translateY(-1px);
}

.dkt-btn-secondary {
    display: block;
    width: 100%;
    background-color: transparent !important;
    color: var(--dkt-text-secondary) !important;
    border: 1px solid var(--dkt-border) !important;
    padding: 10px 15px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
    transition: all 0.2s ease-in-out !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.dkt-btn-secondary:hover {
    color: var(--dkt-text-primary) !important;
    border-color: var(--dkt-text-secondary) !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
}

/* --- PRODUCT DETAIL STICKY PANEL --- */
.dkt-product-detail-container {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.dkt-product-gallery-column {
    flex: 1.2;
}

.dkt-product-purchase-column {
    flex: 0.8;
}

.dkt-sticky-purchase-panel {
    position: sticky;
    top: 100px;
    background-color: var(--dkt-surface-card);
    border: 1px solid var(--dkt-border);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- ACCORDION & TABS --- */
.dkt-accordion-item {
    border-bottom: 1px solid var(--dkt-border);
    margin-bottom: 10px;
}

.dkt-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dkt-text-primary);
}

.dkt-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    color: var(--dkt-text-secondary);
    font-size: 14px;
    line-height: 1.6;
    padding-bottom: 15px;
}

.dkt-accordion-item.active .dkt-accordion-content {
    max-height: 1000px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* --- GLOWING SENSORY RADAR CHART --- */
.dkt-radar-chart-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    border: none;
    margin-top: 15px;
    overflow: visible;
    width: 100%;
}

.dkt-radar-svg {
    width: 100%;
    max-width: 350px;
    height: auto;
    display: block;
    overflow: visible;
}

.dkt-radar-grid {
    fill: none;
    stroke: #2c2c2e;
    stroke-width: 1;
}

.dkt-radar-axis {
    stroke: #2c2c2e;
    stroke-dasharray: 2;
    stroke-width: 1;
}

.dkt-radar-poly-fill {
    fill: rgba(205, 144, 31, 0.2);
    stroke: var(--dkt-gold);
    stroke-width: 2;
    filter: drop-shadow(0 0 4px rgba(205, 144, 31, 0.6));
}

.dkt-radar-label {
    fill: var(--dkt-text-secondary);
    font-size: 10px;
    font-weight: bold;
    text-anchor: middle;
}

/* --- MOBILE BOTTOM STICKY BAR --- */
.dkt-mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #121212;
    border-top: 1px solid var(--dkt-border);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.6);
}

.dkt-mobile-sticky-info {
    display: flex;
    flex-direction: column;
}

.dkt-mobile-sticky-title {
    color: var(--dkt-text-primary);
    font-size: 14px;
    font-weight: 700;
}

.dkt-mobile-sticky-price {
    color: var(--dkt-gold);
    font-size: 16px;
    font-weight: 800;
}

.dkt-mobile-sticky-btn {
    background-color: var(--dkt-gold) !important;
    color: #000000 !important;
    border: none !important;
    padding: 10px 18px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

/* ==========================================
   --- QUIZ DE PERFIL - DARK TREE HIGH-FIDELITY ---
   ========================================== */

/* Quiz Step Card Wrapper */
.dkt-quiz-wrapper {
    max-width: 650px;
    width: 100%;
    margin: 30px auto;
}

.dkt-quiz-card {
    background-color: rgba(14, 14, 16, 0.75) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    padding: 16px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

/* Numbered Progress Indicators */
.dkt-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.dkt-progress-label {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #CD901F;
}

.dkt-progress-steps-track {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dkt-step-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #1C1C1E;
    border: 1.5px solid #2C2C2E;
    color: #A0A0A5;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dkt-step-dot.active {
    background-color: #CD901F;
    border-color: #CD901F;
    color: #000000;
    box-shadow: 0 0 10px rgba(205, 144, 31, 0.4);
}

.dkt-step-dot.completed {
    background-color: #2C2C2E;
    border-color: #2C2C2E;
    color: #CD901F;
}

.dkt-step-line {
    width: 30px;
    height: 2px;
    background-color: #2C2C2E;
    transition: all 0.3s ease;
}

.dkt-step-line.active {
    background-color: #CD901F;
}

.dkt-quiz-question-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 25px 0;
    color: #FFFFFF;
    text-align: left;
}

/* Options Grid (2x2) */
.dkt-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.dkt-option-card {
    background-color: rgba(28, 28, 30, 0.85) !important;
    border: 1.5px solid rgba(191, 160, 102, 0.25) !important;
    border-radius: 10px !important;
    padding: 25px 20px !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: all 0.2s ease-in-out !important;
    user-select: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.dkt-option-card:hover {
    border-color: #CD901F !important;
    background-color: rgba(205, 144, 31, 0.08) !important;
    transform: translateY(-2px) !important;
}

.dkt-option-card.selected {
    border-color: #CD901F !important;
    background-color: rgba(205, 144, 31, 0.15) !important;
    box-shadow: 0 0 15px rgba(205, 144, 31, 0.25) !important;
}

.dkt-option-icon-wrap {
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 15px !important;
    background-color: rgba(191, 160, 102, 0.05) !important;
    border-radius: 50% !important;
    border: 1px solid rgba(191, 160, 102, 0.15) !important;
    transition: all 0.2s ease !important;
}

.dkt-option-card:hover .dkt-option-icon-wrap,
.dkt-option-card.selected .dkt-option-icon-wrap {
    background-color: rgba(205, 144, 31, 0.12) !important;
    border-color: rgba(205, 144, 31, 0.25) !important;
}

.dkt-option-icon {
    width: 28px !important;
    height: 28px !important;
    color: #BFA066 !important; /* Golden/bronze instead of gray! */
    transition: color 0.2s ease !important;
}

.dkt-option-card:hover .dkt-option-icon,
.dkt-option-card.selected .dkt-option-icon {
    color: #CD901F !important;
}

.dkt-option-label {
    font-size: 17px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 6px;
}

.dkt-option-desc {
    font-size: 13px;
    color: #8E8E93;
    line-height: 1.4;
}

/* Wizard Actions */
.dkt-quiz-actions {
    display: flex;
    gap: 15px;
}

.dkt-quiz-btn {
    background-color: #CD901F !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 15px 25px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    flex-grow: 2;
}

.dkt-quiz-btn:hover {
    background-color: #E2A62C !important;
    box-shadow: 0 4px 15px rgba(205, 144, 31, 0.4);
}

.dkt-quiz-btn.disabled {
    background-color: #2C2C2E !important;
    color: #8E8E93 !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

.dkt-quiz-btn-back {
    background-color: transparent !important;
    color: #A0A0A5 !important;
    border: 1px solid #2C2C2E !important;
    border-radius: 8px !important;
    padding: 15px 20px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    flex-grow: 0.5;
    display: none; /* Mostrado dinamicamente a partir do Passo 2 */
    text-align: center;
}

.dkt-quiz-btn-back:hover {
    color: #FFFFFF !important;
    border-color: #555 !important;
    background-color: rgba(255, 255, 255, 0.02) !important;
}

/* Collapsed Locked Headers */
.dkt-locked-row {
    background-color: #0E0E10;
    border: 1px solid #1C1C1E;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #48484A;
    font-weight: 700;
    font-size: 15px;
    user-select: none;
    transition: all 0.2s ease;
}

.dkt-locked-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dkt-lock-svg {
    width: 14px;
    height: 14px;
    fill: #48484A;
}

.dkt-chevron-svg {
    width: 12px;
    height: 12px;
    fill: #48484A;
}

/* Final Matched Result Screen */
.dkt-result-wrapper {
    max-width: 650px;
    width: 100%;
    margin: 30px auto;
    display: none; /* Revelado dinamicamente */
}

.dkt-result-header-text {
    font-size: 26px; /* increased from 14px */
    font-weight: 800;
    color: #CD901F;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    display: block;
}

.dkt-result-header-subtext {
    font-size: 12px;
    color: #555;
    margin-bottom: 20px;
    display: block;
}

.dkt-result-card {
    background-color: #121214;
    border: 1px solid #1C1C1E;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: visible;
}

.dkt-result-layout {
    display: flex;
    gap: 20px !important;
    align-items: center !important;
}

.dkt-result-product-img-col {
    flex: 0 0 30% !important;
    max-width: 30% !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center !important;
    align-items: center;
    box-sizing: border-box;
    box-shadow: none !important;
}

.dkt-result-product-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.6));
    transition: transform 0.3s ease;
}

.dkt-result-product-img:hover {
    transform: scale(1.05);
}

/* --- BOTÃO REFAZER QUIZ (RODAPÉ DA IMAGEM) --- */
.dkt-result-back-btn {
    background-color: transparent !important;
    border: 1px solid var(--dkt-border) !important;
    color: var(--dkt-text-secondary) !important;
    padding: 10px 20px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    max-width: 180px !important;
    margin-top: 20px !important;
    text-align: center !important;
    outline: none !important;
}

.dkt-result-back-btn:hover {
    color: var(--dkt-gold) !important;
    border-color: var(--dkt-gold) !important;
    background-color: rgba(205, 144, 31, 0.05) !important;
    box-shadow: 0 0 12px rgba(205, 144, 31, 0.15) !important;
}

.dkt-result-product-info-col {
    flex: 0 0 70% !important;
    max-width: 70% !important;
    text-align: left;
    box-sizing: border-box !important;
    padding-left: 25px !important;
}

.dkt-result-bottom-block {
    width: 100% !important;
    margin-top: 15px;
    box-sizing: border-box !important;
}

.dkt-result-prod-title {
    font-size: 26px;
    font-weight: 900;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.dkt-result-prod-desc {
    font-size: 15px;
    color: #8E8E93;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

/* Flavor tag pills */
.dkt-result-flavor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.dkt-flavor-tag {
    background-color: rgba(191, 160, 102, 0.05) !important;
    border: 1px solid rgba(191, 160, 102, 0.3) !important;
    padding: 6px 14px !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    color: #BFA066 !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.dkt-flavor-tag::before {
    content: "☕";
    font-size: 10px;
}

.dkt-flavor-tag.dkt-has-icon::before {
    display: none !important;
}

.dkt-flavor-tag i {
    font-size: 14px !important;
    color: #BFA066 !important;
    margin: 0 !important;
    vertical-align: middle;
    display: inline-block;
}

/* Centered price on the left product column */
.dkt-result-price-left {
    margin-top: 15px;
    text-align: center;
    width: 100%;
}

.dkt-price-large {
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF !important;
    display: inline-block;
    letter-spacing: -0.5px;
    font-family: 'Frank Ruhl Libre', Georgia, serif !important;
}

/* Custom Segmented Control styling for the Quiz options */
.dkt-result-selectors-block .dkt-segmented-control {
    display: flex;
    background-color: #0b0b0c;
    border: 1px solid #2C2C2E;
    border-radius: 4px;
    padding: 4px;
    gap: 0;
    width: 100%;
}

.dkt-result-selectors-block .dkt-segmented-option {
    flex: 1;
    text-align: center;
}

.dkt-result-selectors-block .dkt-segmented-option label {
    display: block;
    background: transparent !important;
    border: none !important;
    color: #FFFFFF !important;
    padding: 8px 16px !important;
    border-radius: 2px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.dkt-result-selectors-block .dkt-segmented-option input[type="radio"]:checked + label {
    background-color: #E5E5EA !important; /* solid white/light gray background */
    color: #000000 !important; /* dark text */
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
}

/* New full-width purchase blocks */
.dkt-result-purchase-block-new {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.dkt-result-checkout-btn-full {
    background-color: #BFA066 !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 16px 20px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none !important;
    text-align: center;
    display: block;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(191, 160, 102, 0.2);
}

.dkt-result-checkout-btn-full:hover {
    background-color: #CD901F !important;
    color: #000000 !important;
    box-shadow: 0 6px 20px rgba(205, 144, 31, 0.35);
    transform: translateY(-1px);
}

.dkt-btn-secondary-centered {
    color: #A0A0A5 !important;
    font-size: 16px !important;
    text-decoration: underline !important;
    text-align: center !important;
    display: block;
    width: 100%;
    margin-top: 8px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.dkt-btn-secondary-centered:hover {
    color: #FFFFFF !important;
}

/* Handwritten pointer note */
.dkt-pointer-note-wrap {
    position: absolute;
    right: -170px; /* adjusted from -130px */
    bottom: 40px;
    width: 155px; /* increased from 120px to fit larger font beautifully */
    display: none; /* Oculto em telas menores, visível no desktop */
}

.dkt-pointer-text {
    font-family: "Georgia", cursive, serif;
    font-style: italic;
    font-size: 18px; /* increased from 14px */
    color: #CD901F;
    line-height: 1.3;
    display: block;
    margin-bottom: 5px;
}

.dkt-pointer-arrow {
    width: 60px;
    height: auto;
    stroke: #CD901F;
    fill: none;
    stroke-width: 1.5;
}

@media (min-width: 900px) {
    .dkt-pointer-note-wrap {
        display: block;
    }
}

/* Trust Badges under Quiz Result */
.dkt-quiz-trust-badges {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dkt-trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.dkt-trust-icon {
    width: 28px;
    height: 28px;
    stroke: #BFA066 !important;
    flex-shrink: 0;
}

.dkt-trust-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.dkt-trust-title {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF !important;
    line-height: 1.2;
}

.dkt-trust-subtitle {
    font-size: 12px;
    color: #8E8E93 !important;
    margin-top: 2px;
    line-height: 1.2;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    /* Otimização de margem do wrapper principal no mobile */
    .dkt-quiz-wrapper {
        margin: 10px auto !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }

    /* Otimização de altura do cabeçalho minimalista da página do quiz no mobile */
    .dkt-quiz-page-header {
        padding: 10px 0 !important;
    }
    .dkt-quiz-page-header .custom-logo-link img {
        max-height: 42px !important;
    }

    .dkt-quiz-card {
        padding: 12px !important;
    }

    /* Círculos e progresso mais compactos no mobile */
    .dkt-progress-header {
        margin-bottom: 15px !important;
    }

    .dkt-progress-label {
        font-size: 14px !important;
    }

    .dkt-step-dot {
        width: 20px !important;
        height: 20px !important;
        font-size: 12px !important;
    }

    .dkt-step-line {
        width: 20px !important;
    }

    .dkt-quiz-question-title {
        font-size: 18px !important;
        margin: 0 0 15px 0 !important;
        line-height: 1.25 !important;
    }

    /* Otimização agressiva da grade e cards para caber no iPhone */
    .dkt-options-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 15px !important;
    }

    .dkt-option-card {
        padding: 12px 8px !important;
        border-radius: 8px !important;
        min-height: 105px !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .dkt-option-icon-wrap {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: 4px !important;
    }

    .dkt-option-icon {
        width: 16px !important;
        height: 16px !important;
    }

    .dkt-option-label {
        font-size: 13px !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
    }

    .dkt-option-desc {
        font-size: 10.5px !important;
        line-height: 1.2 !important;
    }

    /* Botões lado a lado no mobile economizando espaço vertical */
    .dkt-quiz-actions {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        width: 100% !important;
        gap: 10px !important;
        margin-top: 15px !important;
    }

    .dkt-quiz-btn {
        padding: 12px 16px !important;
        font-size: 13px !important;
        width: auto !important;
        flex: 2 !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    .dkt-quiz-btn-back {
        padding: 12px 16px !important;
        font-size: 13px !important;
        width: auto !important;
        flex: 1 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        margin-bottom: 0 !important;
    }

    /* Tela de resultados compactada */
    .dkt-result-wrapper {
        margin: 10px auto !important;
        padding: 0 10px !important;
    }

    .dkt-result-header-text {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }

    .dkt-result-card {
        padding: 15px !important;
    }

    .dkt-result-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
    }

    .dkt-result-product-img-col {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: transparent !important;
        border: none !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        box-shadow: none !important;
    }

    .dkt-result-product-img {
        max-width: 120px !important;
        width: 100% !important;
        height: auto !important;
        margin-bottom: 6px !important;
    }

    .dkt-result-price-left {
        margin-top: 2px !important;
        margin-bottom: 2px !important;
        text-align: center !important;
        width: 100% !important;
        display: block !important;
    }

    .dkt-price-large {
        font-size: 20px !important;
        font-weight: 800 !important;
        color: #FFFFFF !important;
    }

    .dkt-result-back-btn {
        margin-top: 15px !important;
        width: 100% !important;
        max-width: 180px !important;
        background-color: transparent !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        color: #A0A0A5 !important;
        padding: 8px 12px !important;
        border-radius: 30px !important;
        font-size: 12px !important;
        text-align: center !important;
        box-sizing: border-box !important;
        display: inline-block !important;
    }

    .dkt-result-product-info-col {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    .dkt-result-prod-title {
        font-size: 18px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 6px !important;
        text-align: center !important;
        line-height: 1.2 !important;
        color: #FFFFFF !important;
    }

    .dkt-result-prod-desc {
        display: none !important;
    }

    .dkt-result-flavor-tags {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        margin-bottom: 10px !important;
        gap: 5px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .dkt-result-flavor-tags .dkt-flavor-tag {
        font-size: 10.5px !important;
        padding: 4px 6px !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        width: auto !important;
        white-space: nowrap !important;
    }

    .dkt-result-flavor-tags .dkt-flavor-tag i {
        font-size: 13px !important;
    }

    .dkt-result-bottom-block {
        width: 100% !important;
        margin-top: 10px !important;
        box-sizing: border-box !important;
    }

    .dkt-result-selectors-block {
        margin-top: 5px !important;
        width: 100% !important;
    }

    .dkt-result-selectors-block .dkt-segmented-option label {
        padding: 6px 12px !important;
        font-size: 14px !important;
    }

    .dkt-result-purchase-block-new {
        margin-top: 10px !important;
        width: 100% !important;
        gap: 8px !important;
    }

    .dkt-result-checkout-btn-full {
        padding: 12px 15px !important;
        font-size: 15px !important;
    }

    .dkt-quiz-trust-badges {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
        width: 100% !important;
        margin-top: 20px !important;
        padding-top: 15px !important;
    }

    .dkt-trust-badge {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 260px !important;
    }
    
    .dkt-trust-title {
        font-size: 13px !important;
    }
    
    .dkt-trust-subtitle {
        font-size: 11px !important;
    }
}

/* Wizard active screens */
.dkt-quiz-step-viewport {
    display: none;
}

.dkt-quiz-step-viewport.active {
    display: block;
}

/* =========================================================================
   --- ESTILOS DO CARRINHO LATERAL PREMIUM (SIDE CART DRAWER) ---
   ========================================================================= */

/* Overlay de Vidro Desfocado */
.dkt-side-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
	height: 100dvh;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.dkt-side-cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Gaveta Lateral (Drawer) */
.dkt-side-cart-drawer {
    position: fixed;
    top: 0;
    right: -450px; /* Esconde completamente a gaveta */
    width: 420px;
    height: 100vh;
	height: 100dvh;
    background-color: #0B0B0C;
    border-left: 1px solid #1C1C1E;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
}

.dkt-side-cart-drawer.active {
    right: 0;
}

/* Cabeçalho da Gaveta */
.dkt-side-cart-header {
    height: 75px;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #1C1C1E;
    background-color: #0F0F11;
    box-sizing: border-box;
}

.dkt-side-cart-title {
    font-size: 16px;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dkt-cart-count-badge {
    background-color: #CD901F;
    color: #000000;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    line-height: 1.3;
}

.dkt-side-cart-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dkt-side-cart-close svg {
    width: 22px;
    height: 22px;
    fill: #A0A0A5;
    transition: fill 0.2s ease;
}

.dkt-side-cart-close:hover {
    background-color: transparent !important;
    background: transparent !important;
}

.dkt-side-cart-close:hover svg {
    fill: #FFFFFF;
}

/* Corpo Rolável */
.dkt-side-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Ocultar barra de rolagem no Webkit */
.dkt-side-cart-body::-webkit-scrollbar {
    width: 6px;
}
.dkt-side-cart-body::-webkit-scrollbar-track {
    background: transparent;
}
.dkt-side-cart-body::-webkit-scrollbar-thumb {
    background-color: #2C2C2E;
    border-radius: 10px;
}

/* Item de Carrinho */
.dkt-cart-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
    box-sizing: border-box;
}

.dkt-cart-item-img-col {
    width: 70px;
    height: 70px;
    background-color: #141416;
    border: 1px solid #1C1C1E;
    border-radius: 6px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dkt-cart-item-img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

.dkt-cart-item-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.dkt-cart-item-title {
    font-size: 14px;
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 4px;
}

.dkt-cart-item-meta {
    font-size: 11px;
    color: #8E8E93;
    line-height: 1.3;
    margin-bottom: 2px;
    display: block;
}

.dkt-cart-item-qty-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 8px;
}

/* Seletor de Quantidade */
.dkt-qty-selector {
    display: flex;
    align-items: center;
    background-color: #141416;
    border: 1px solid #1C1C1E;
    border-radius: 20px;
    padding: 2px 6px;
    gap: 10px;
}

.dkt-qty-btn {
    background: transparent !important;
    border: none !important;
    color: #8E8E93 !important;
    font-size: 15px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    padding: 0 4px !important;
    line-height: 1 !important;
    transition: color 0.2s ease !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
}

.dkt-qty-btn:hover {
    color: #FFFFFF !important;
}

.dkt-qty-value {
    font-size: 13px;
    font-weight: 800;
    color: #FFFFFF;
    min-width: 14px;
    text-align: center;
}

.dkt-cart-item-price {
    font-size: 14px;
    font-weight: 800;
    color: #BFA066;
}

/* Botão Lixeira */
.dkt-cart-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px;
}

.dkt-cart-item-remove svg {
    width: 16px;
    height: 16px;
    fill: #48484A;
    transition: fill 0.2s ease;
}

.dkt-cart-item-remove:hover svg {
    fill: #D10000;
}

/* Estado de Carrinho Vazio */
.dkt-cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    gap: 15px;
}

.dkt-empty-cart-icon {
    width: 48px;
    height: 48px;
    fill: #2C2C2E;
}

.dkt-empty-cart-message {
    font-size: 14px;
    color: #8E8E93;
    margin: 0;
}

.dkt-empty-cart-shop-btn {
    background-color: transparent;
    border: 1px solid var(--dkt-border);
    color: var(--dkt-text-secondary);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dkt-empty-cart-shop-btn:hover {
    color: #FFFFFF;
    border-color: #FFFFFF;
    background-color: rgba(255,255,255,0.02);
}

/* Addons: CEP e Cupom */
.dkt-cart-addons-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.dkt-cart-addon-box {
    background-color: #121214;
    border: 1px solid #1C1C1E;
    border-radius: 8px;
    padding: 18px;
    box-sizing: border-box;
}

.dkt-addon-box-title {
    font-size: 12px;
    font-weight: 800;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    text-align: left;
    margin-bottom: 10px;
}

.dkt-addon-form-row {
    display: flex;
    gap: 10px;
}

.dkt-addon-input {
    flex: 1;
    background-color: #0B0B0C;
    border: 1px solid #2C2C2E;
    border-radius: 6px;
    padding: 10px 12px;
    color: #FFFFFF;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
}

.dkt-addon-input:focus {
    border-color: #CD901F;
}

.dkt-addon-btn {
    background-color: #CD901F !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 16px !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer;
    box-shadow: none !important;
    transition: background-color 0.2s ease !important;
}

.dkt-addon-btn:hover {
    background-color: #E2A62C !important;
}

/* Resultados do Cálculo de Frete */
.dkt-shipping-methods-list {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.dkt-shipping-method-option {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid #1C1C1E;
    border-radius: 6px;
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0 !important;
}

.dkt-shipping-method-option:hover {
    border-color: #2C2C2E;
    background-color: rgba(255, 255, 255, 0.04);
}

.dkt-shipping-method-radio {
    margin: 0 !important;
    cursor: pointer;
}

.dkt-shipping-method-desc {
    font-size: 12px;
    color: #A0A0A5;
}

.dkt-shipping-method-desc strong {
    color: #FFFFFF;
}

.dkt-shipping-no-methods,
.dkt-shipping-error {
    font-size: 12px;
    color: #D10000;
}

/* Crachás de Cupons Ativos */
.dkt-active-coupons-list {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dkt-active-coupon-badge {
    background-color: rgba(205, 144, 31, 0.1);
    border: 1px solid rgba(205, 144, 31, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    color: #CD901F;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dkt-remove-coupon-btn {
    background: transparent;
    border: none;
    color: #CD901F;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    padding: 0;
    line-height: 1;
}

.dkt-remove-coupon-btn:hover {
    color: #FFFFFF;
}

/* Rodapé Fixo (Sumário e Finalização) */
.dkt-side-cart-footer {
    padding: 25px;
    border-top: 1px solid #1C1C1E;
    background-color: #0F0F11;
    box-sizing: border-box;
}

.dkt-side-cart-totals {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.dkt-totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #8E8E93;
}

.dkt-totals-row.dkt-discount-row {
    color: #CD901F;
}

.dkt-totals-value {
    color: #FFFFFF;
    font-weight: 700;
}

.dkt-totals-row.dkt-grand-total-row {
    font-size: 16px;
    color: #FFFFFF;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
    margin-top: 5px;
}

.dkt-totals-row.dkt-grand-total-row .dkt-totals-value {
    color: #CD901F;
    font-size: 18px;
    font-weight: 900;
}

.dkt-side-cart-actions {
    width: 100%;
}

.dkt-side-cart-checkout-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    background-color: #CD901F !important;
    color: #000000 !important;
    border: none !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(205, 144, 31, 0.3);
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.dkt-side-cart-checkout-btn:hover {
    background-color: #E2A62C !important;
    box-shadow: 0 6px 20px rgba(205, 144, 31, 0.4);
    transform: translateY(-1px);
}

.dkt-btn-arrow {
    width: 16px;
    height: 16px;
    fill: #000000;
}

.dkt-side-cart-continue-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.dkt-side-cart-continue-btn:hover {
    border-color: #CD901F !important;
    color: #CD901F !important;
    background-color: rgba(205, 144, 31, 0.08) !important;
}

/* Responsividade Mobile da Gaveta */
@media (max-width: 768px) {
    .dkt-side-cart-drawer {
        width: 100% !important;
        max-width: 100% !important;
        right: -100%;
    }
    .dkt-side-cart-drawer.active {
        right: 0 !important;
    }
    
    .dkt-side-cart-header {
        height: 60px !important;
        padding: 0 15px !important;
    }
    
    .dkt-side-cart-title {
        font-size: 14px !important;
    }
    
    .dkt-side-cart-body {
        padding: 15px !important;
        gap: 15px !important;
    }
    
    .dkt-cart-item {
        gap: 12px !important;
        padding-bottom: 15px !important;
    }
    
    .dkt-cart-item-img-col {
        width: 60px !important;
        height: 60px !important;
    }
    
    .dkt-cart-item-title {
        font-size: 13px !important;
    }
    
    .dkt-cart-addons-section {
        gap: 10px !important;
    }
    
    .dkt-cart-addon-box {
        padding: 12px !important;
    }
    
    .dkt-addon-box-title {
        font-size: 11px !important;
        margin-bottom: 6px !important;
    }
    
    .dkt-addon-input {
        padding: 8px 10px !important;
        font-size: 12px !important;
    }
    
    .dkt-addon-btn {
        padding: 8px 12px !important;
        font-size: 10px !important;
    }
    
    .dkt-side-cart-footer {
        padding: 15px 15px calc(15px + env(safe-area-inset-bottom, 10px)) 15px !important;
        background-color: #0F0F11 !important;
    }
    
    .dkt-side-cart-totals {
        gap: 8px !important;
        margin-bottom: 12px !important;
    }
    
    .dkt-totals-row {
        font-size: 12px !important;
    }
    
    .dkt-totals-row.dkt-grand-total-row {
        font-size: 14px !important;
        padding-top: 8px !important;
        margin-top: 3px !important;
    }
    
    .dkt-totals-row.dkt-grand-total-row .dkt-totals-value {
        font-size: 16px !important;
    }
    
    .dkt-side-cart-checkout-btn {
        padding: 12px 15px !important;
        font-size: 14px !important;
        height: auto !important;
    }
}


/* =========================================================================
   --- ESTILOS DOS CARDS DA LOJA DARK PREMIUM (SHOP LOOP ARCHIVE CARDS) ---
   ========================================================================= */

/* Forçar visual dos cards de produto padrão e Elementor na Loja */
.dkt-new-shop-design li.product,
.dkt-new-shop-design .elementor-widget-container .product,
.dkt-new-shop-design .elementor-loop-container .product,
.dkt-new-shop-design .dkt-product-card-loop {
    background-color: #121214 !important;
    border: 1px solid #1C1C1E !important;
    border-radius: 12px !important;
    padding: 10px 10px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: visible !important;
}

.dkt-new-shop-design li.product:hover,
.dkt-new-shop-design .elementor-widget-container .product:hover,
.dkt-new-shop-design .elementor-loop-container .product:hover {
    transform: translateY(-5px) !important;
    border-color: #BFA066 !important;
    box-shadow: 0 20px 45px rgba(205, 144, 31, 0.15) !important;
}

/* Ajuste de Sombra e Zoom nas imagens de produto do catálogo */
.dkt-new-shop-design li.product img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.65)) !important;
    transition: transform 0.3s ease !important;
    margin-bottom: 15px !important;
}

.dkt-new-shop-design li.product:hover img {
    transform: scale(1.04) !important;
}

/* Fix para imagem de emojis nativos do WordPress convertidos no catálogo e calculadora */
.dkt-new-shop-design li.product img.emoji,
.dkt-new-shop-design .product img.emoji,
.dkt-new-shop-design [class*="dkt-"] img.emoji {
    display: inline !important;
    border: none !important;
    box-shadow: none !important;
    height: 1em !important;
    width: 1em !important;
    margin: 0 0.07em !important;
    vertical-align: -0.1em !important;
    background: none !important;
    padding: 0 !important;
    filter: none !important;
    transition: none !important;
    transform: none !important;
}

/* Títulos dos Cafés nos Cards */
.dkt-new-shop-design li.product .woocommerce-loop-product__title,
.dkt-new-shop-design li.product h2,
.dkt-new-shop-design li.product h3,
.dkt-new-shop-design .product .woocommerce-loop-product__title,
.dkt-new-shop-design .product h3 {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    margin: 15px 0 8px 0 !important;
    line-height: 1.3 !important;
    font-family: 'Frank Ruhl Libre', Georgia, serif !important;
}


/* ================================================
   PREÇO DE ASSINATURA NO LOOP DA LOJA
   O WooCommerce Subscriptions gera HTML diferente:
   <span class="price"><bdi>R$ 160,00</bdi><span class="subscription-details"> / mês</span></span>
   Forçamos cor e tamanho para que fique igual aos produtos regulares.
   ================================================ */

/* ---- SELETORES GENÉRICOS DO LOOP ---- */
.elementor-loop-document .price,
.elementor-loop-document .price ins,
.elementor-loop-document .price ins .woocommerce-Price-amount,
.elementor-loop-document .price ins .amount,
.elementor-loop-document .price ins bdi,
.elementor-loop-document .price .woocommerce-Price-amount,
.elementor-loop-document .price bdi,
.e-loop-item .price,
.e-loop-item .price ins,
.e-loop-item .price ins .woocommerce-Price-amount,
.e-loop-item .price ins .amount,
.e-loop-item .price ins bdi,
.e-loop-item .price .woocommerce-Price-amount,
.e-loop-item .price bdi {
    color: #CD901F !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-family: inherit !important;
    text-decoration: none !important;
}

/* ---- SELETORES ESPECÍFICOS DO PRODUTO DE ASSINATURA ----
   O WCS adiciona classes .subscription e .type-variable-subscription
   no <li> do produto — especificidade maior que o CSS do widget Elementor */
li.product.subscription .price,
li.product.subscription .price *,
li.product.type-variable-subscription .price,
li.product.type-variable-subscription .price *,
li.product.variable-subscription .price,
li.product.variable-subscription .price * {
    color: #CD901F !important;
    font-size: 25px !important;
    font-weight: 900 !important;
    line-height: 25px !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

/* Correção: .woocommerce-Price-currencySymbol herda o mesmo tamanho */
li.product.subscription .price .woocommerce-Price-currencySymbol,
li.product.type-variable-subscription .price .woocommerce-Price-currencySymbol,
li.product.variable-subscription .price .woocommerce-Price-currencySymbol {
    font-size: inherit !important;
}

/* "/ mês" — período de assinatura: menor e discreto */
li.product.subscription .price .subscription-details,
li.product.subscription .price .subscription-price-string,
li.product.type-variable-subscription .price .subscription-details,
li.product.type-variable-subscription .price .subscription-price-string,
li.product.variable-subscription .price .subscription-details,
li.product.variable-subscription .price .subscription-price-string {
    font-size: 0.50em !important;
    font-weight: 500 !important;
    opacity: 0.85 !important;
    color: #CD901F !important;
}

/* Remove preço riscado */
.elementor-loop-document .price del,
.e-loop-item .price del,
li.product.subscription .price del,
li.product.type-variable-subscription .price del,
li.product.variable-subscription .price del {
    display: none !important;
}

/* ---- Alinhamento vertical dos cards do loop (igual altura) ---- */
/* Faz o documento interno do card ser flex coluna ocupando 100% da altura do item */
.elementor-loop-container .e-loop-item .elementor-loop-document {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

/* A última seção/container (preço + botões) empurra para o fundo do card */
.elementor-loop-container .e-loop-item .elementor-loop-document > .elementor-section:last-of-type,
.elementor-loop-container .e-loop-item .elementor-loop-document > .e-con:last-of-type {
    margin-top: auto !important;
}

/* Período de assinatura genérico ("/ mês") */
.elementor-loop-document .price .subscription-details,
.elementor-loop-document .price .subscription-price-string,
.e-loop-item .price .subscription-details,
.e-loop-item .price .subscription-price-string {
    color: #CD901F !important;
    font-size: 0.55em !important;
    opacity: 0.85 !important;
    font-weight: 500 !important;
}

/* Oculta badge flutuante do reCAPTCHA v3 */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* No contexto do WooCommerce nativo (ul.products) */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price ins,
.woocommerce ul.products li.product .price ins .woocommerce-Price-amount,
.woocommerce ul.products li.product .price ins .amount,
.woocommerce ul.products li.product .price ins bdi,
.woocommerce ul.products li.product .price .woocommerce-Price-amount,
.woocommerce ul.products li.product .price bdi {
    color: #CD901F !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    text-decoration: none !important;
}

.woocommerce ul.products li.product .price del {
    display: none !important;
}

.woocommerce ul.products li.product .price .subscription-details,
.woocommerce ul.products li.product .price .subscription-price-string {
    color: #CD901F !important;
    font-size: 0.55em !important;
    opacity: 0.85 !important;
    font-weight: 500 !important;
}

/* ==========================================================================
   RESPONSIVIDADE E PROPORÇÃO VISUAL (TÍTULOS E PREÇOS NO LOOP)
   ========================================================================== */

/* ---- DESKTOP (GERAL) ---- */
.e-loop-item .ekit-heading-title,
.e-loop-item .elementor-heading-title,
.elementor-loop-document .ekit-heading-title,
.elementor-loop-document .elementor-heading-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    font-family: 'Frank Ruhl Libre', Georgia, serif !important;
}

.e-loop-item .price,
.e-loop-item .price bdi,
.e-loop-item .price .woocommerce-Price-amount,
.e-loop-item .product-price,
.e-loop-item .product-price bdi,
.elementor-loop-document .price,
.elementor-loop-document .price bdi,
.elementor-loop-document .price .woocommerce-Price-amount,
.elementor-loop-document .product-price,
.elementor-loop-document .product-price bdi,
li.product.subscription .price,
li.product.subscription .price *,
li.product.type-variable-subscription .price,
li.product.type-variable-subscription .price *,
li.product.variable-subscription .price,
li.product.variable-subscription .price * {
    font-size: 30px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

/* ---- TABLET (MAX-WIDTH: 1024PX) ---- */
@media (max-width: 1024px) {
    .e-loop-item .ekit-heading-title,
    .e-loop-item .elementor-heading-title,
    .elementor-loop-document .ekit-heading-title,
    .elementor-loop-document .elementor-heading-title {
        font-size: 20px !important;
    }
    
    .e-loop-item .price,
    .e-loop-item .price bdi,
    .e-loop-item .price .woocommerce-Price-amount,
    .e-loop-item .product-price,
    .e-loop-item .product-price bdi,
    .elementor-loop-document .price,
    .elementor-loop-document .price bdi,
    .elementor-loop-document .price .woocommerce-Price-amount,
    .elementor-loop-document .product-price,
    .elementor-loop-document .product-price bdi,
    li.product.subscription .price,
    li.product.subscription .price *,
    li.product.type-variable-subscription .price,
    li.product.type-variable-subscription .price *,
    li.product.variable-subscription .price,
    li.product.variable-subscription .price * {
        font-size: 26px !important;
    }
}

/* ---- MOBILE (MAX-WIDTH: 767PX) ---- */
@media (max-width: 767px) {
    .e-loop-item .ekit-heading-title,
    .e-loop-item .elementor-heading-title,
    .elementor-loop-document .ekit-heading-title,
    .elementor-loop-document .elementor-heading-title {
        font-size: 18px !important;
    }
    
    .e-loop-item .price,
    .e-loop-item .price bdi,
    .e-loop-item .price .woocommerce-Price-amount,
    .e-loop-item .product-price,
    .e-loop-item .product-price bdi,
    .elementor-loop-document .price,
    .elementor-loop-document .price bdi,
    .elementor-loop-document .price .woocommerce-Price-amount,
    .elementor-loop-document .product-price,
    .elementor-loop-document .product-price bdi,
    li.product.subscription .price,
    li.product.subscription .price *,
    li.product.type-variable-subscription .price,
    li.product.type-variable-subscription .price *,
    li.product.variable-subscription .price,
    li.product.variable-subscription .price * {
        font-size: 22px !important;
    }

    /* Anula o grid/absolute Masonry do Elementor no mobile para evitar sobreposição após injeção de botões */
    .elementor-loop-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }
    
    .elementor-loop-document,
    .e-loop-item {
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        margin-bottom: 0 !important;
        height: auto !important;
        min-height: min-content !important;
    }
}

/* Badge de Destaque Superior nos Cards (Mockup) */
.dkt-tag-top {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #BFA066 !important;
    color: #000000 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    padding: 5px 10px !important;
    border-radius: 4px !important;
    letter-spacing: 0.5px;
    z-index: 10;
}

/* Descrição curta nos Cards da loja */
.dkt-product-card-desc {
    font-size: 16px !important;
    color: #8E8E93 !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
    display: block !important;
}

/* Custom Segmented Control styling for the Shop Loop Cards */
.dkt-card-selectors .dkt-segmented-control {
    display: flex;
    background-color: #0b0b0c;
    border: 1px solid #2C2C2E;
    border-radius: 4px;
    padding: 3px;
    gap: 0;
    width: 100%;
    margin-bottom: 8px;
    box-sizing: border-box;
}

.dkt-card-selectors .dkt-segmented-option {
    flex: 1;
    text-align: center;
}

.dkt-card-selectors .dkt-segmented-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.dkt-card-selectors .dkt-segmented-option label {
    display: block;
    background: transparent !important;
    border: none !important;
    color: #FFFFFF !important;
    padding: 6px 12px !important;
    border-radius: 2px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.dkt-card-selectors .dkt-segmented-option input[type="radio"]:checked + label {
    background-color: #E5E5EA !important; /* solid white/light gray background */
    color: #000000 !important; /* dark text */
    font-weight: 700 !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) !important;
}

/* Aumento e destaque do Preço Principal na Página do Produto (Single Product Page) */
.single-product div.product p.price,
.single-product div.product span.price,
.single-product .summary .price,
.single-product .elementor-widget-woocommerce-product-price .price {
    font-size: 38px !important;
    font-weight: 700 !important;
    color: #CD901F !important; /* Dourado Dark Tree oficial */
    line-height: 1.1 !important;
    letter-spacing: -0.5px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

@media (max-width: 768px) {
    .single-product div.product p.price,
    .single-product div.product span.price,
    .single-product .summary .price,
    .single-product .elementor-widget-woocommerce-product-price .price {
        font-size: 32px !important;
    }
}

/* -------------------------------------------------------
   PREÇO DE ASSINATURA NA PÁGINA DO PRODUTO (SINGLE)
   Cobre: Simple Subscription e Variable Subscription (ID 6047)
   O WCS envolve o valor em <ins> — forçamos herança de cor
   ------------------------------------------------------- */

/* Preço principal dentro de <ins> */
.single-product div.product p.price ins,
.single-product div.product span.price ins,
.single-product .summary .price ins,
.single-product .elementor-widget-woocommerce-product-price .price ins,
.single-product .price ins .woocommerce-Price-amount,
.single-product .price ins .amount,
.single-product .price ins bdi,
/* Variable Subscription — preço da variação selecionada */
.single-product .woocommerce-variation-price .price,
.single-product .woocommerce-variation-price .price ins,
.single-product .woocommerce-variation-price .price ins .woocommerce-Price-amount,
.single-product .woocommerce-variation-price .price ins bdi,
.single-product .woocommerce-variation-price span.price {
    color: #CD901F !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-family: inherit !important;
    text-decoration: none !important;
    background: none !important;
}

/* Remove preço riscado */
.single-product div.product .price del,
.single-product .summary .price del,
.single-product .woocommerce-variation-price .price del {
    display: none !important;
}

/* "/ mês" — discreto mas legível */
.single-product .price .subscription-details,
.single-product .price .subscription-price-string,
.single-product .woocommerce-variation-price .subscription-details,
.single-product .woocommerce-variation-price .subscription-price-string {
    font-size: 0.45em !important;
    font-weight: 500 !important;
    opacity: 0.80 !important;
    color: #CD901F !important;
    display: inline !important;
}

/* --- DYNAMIC INSTALLMENT STYLE --- */
.dkt-installment-info {
    font-size: 18px !important;   /* Aumentado para 18px no desktop */
    color: #8E8E93 !important;
    font-weight: 500 !important;
    letter-spacing: 0px !important;
    margin-top: 6px !important;   /* mais próximo do preço */
    margin-bottom: 12px !important;
    display: block !important;
    text-align: left !important;  /* alinhado à esquerda por padrão */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

@media (max-width: 767px) {
    .dkt-installment-info {
        font-size: 15px !important;   /* Menor no mobile para melhor ajuste */
        text-align: center !important; /* centralizado no mobile */
    }
}

/* --- QUANTITY STEPPER (+/-) --- */
.dkt-qty-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    background-color: #121214 !important;
    border: 1.5px solid #23232a !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    height: 48px !important;
    margin-bottom: 20px !important;
}

.dkt-qty-wrapper input.qty {
    width: 52px !important;
    text-align: center !important;
    border: none !important;
    background: transparent !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 0 !important;
    margin: 0 !important;
    -moz-appearance: textfield !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.dkt-qty-wrapper input.qty::-webkit-inner-spin-button,
.dkt-qty-wrapper input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

.dkt-qty-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    color: #FFFFFF !important;
    font-size: 22px !important;
    font-weight: 300 !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    padding: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    line-height: 1 !important;
}

.dkt-qty-btn:hover {
    background-color: rgba(205, 144, 31, 0.12) !important;
    color: #CD901F !important;
}

.dkt-qty-minus {
    border-right: 1.5px solid #23232a !important;
}

.dkt-qty-plus {
    border-left: 1.5px solid #23232a !important;
}

/* Oculta o wrapper nativo de quantidade (substituído pelo stepper) dentro do escopo */
.dkt-single-actions .quantity:not(.dkt-qty-wrapper) > input.qty {
    /* preservado — wrapper nativo pode ficar; nosso JS envolve o input */
}

/* Garante que o seletor de variações do Elementor não seja duplicado por CSS residual */
.dkt-single-segmented-control:empty {
    display: none !important;
}

/* --- SINGLE PRODUCT SEGMENTED CONTROL --- */
/* In line with reference: separate button layout, no background for container, border-radius 8px */
.dkt-single-segmented-control {
    display: flex !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 450px !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
}

.dkt-single-segmented-control .dkt-segmented-option {
    flex: 1 !important;
    text-align: center !important;
    position: relative !important;
}

.dkt-single-segmented-control .dkt-segmented-option input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

.dkt-single-segmented-control .dkt-segmented-option label {
    display: block !important;
    background-color: #121214 !important; /* Dark Obsidian */
    border: 1px solid #23232a !important; /* subtle border */
    color: #A0A0A5 !important; /* text secondary */
    padding: 12px 18px !important;
    border-radius: 4px !important; /* rectangular with slightly rounded corners */
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: none !important; /* capitalize as in original text */
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    box-shadow: none !important;
    margin: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    user-select: none !important;
}

/* Checked active state: Gold background, Black text */
.dkt-single-segmented-control .dkt-segmented-option input[type="radio"]:checked + label {
    background-color: #CD901F !important; /* Gold */
    color: #000000 !important; /* Black */
    border-color: #CD901F !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(205, 144, 31, 0.25) !important;
}

/* Hover state */
.dkt-single-segmented-control .dkt-segmented-option label:hover {
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}
.dkt-single-segmented-control .dkt-segmented-option input[type="radio"]:checked + label:hover {
    color: #000000 !important;
}

/* Oculta linhas nativas e UI do widget Elementor dentro do escopo .dkt-single-variations */
/* (as pílulas custom DKT são injetadas no lugar) */
.dkt-single-variations .dkt-native-variation-hidden,
.dkt-single-variations .woo-variation-swatches,
.dkt-single-variations .variable-items-wrapper {
    display: none !important;
}

/* Tabela de variações: torna-se container transparente para os grupos injetados */
.dkt-single-variations .variations_form table.variations {
    border: none !important;
    background: transparent !important;
    width: 100% !important;
}

/* Label de cada grupo de variação customizado */
.dkt-variation-group {
    margin-bottom: 16px !important;
}

.dkt-variation-label {
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #8E8E93 !important;
    margin-bottom: 8px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.single-product .reset_variations {
    color: #8E8E93 !important;
    font-size: 12px !important;
    text-decoration: underline !important;
    margin-top: 5px !important;
    display: inline-block !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}


/* --- PREMIUM STACKED DUAL CTA ACTION BUTTONS --- */
.dkt-single-actions-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 450px !important;
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

/* Primary BUY NOW Button */
.dkt-single-actions-wrapper .dkt-single-buy-now {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    background-color: #CD901F !important; /* Gold */
    color: #000000 !important; /* Black */
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: 0 4px 20px rgba(205, 144, 31, 0.3) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.dkt-single-actions-wrapper .dkt-single-buy-now .dkt-btn-title {
    font-size: 18px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    line-height: 1.2 !important;
}

.dkt-single-actions-wrapper .dkt-single-buy-now .dkt-btn-subtitle {
    font-size: 11px !important;
    font-weight: 500 !important;
    opacity: 0.8 !important;
    margin-top: 3px !important;
    text-transform: none !important;
    letter-spacing: 0px !important;
}

.dkt-single-actions-wrapper .dkt-single-buy-now:hover {
    background-color: #E2A62C !important; /* lighter gold */
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(205, 144, 31, 0.45) !important;
}

.dkt-single-actions-wrapper .dkt-single-buy-now:active {
    transform: translateY(0) !important;
}

/* Secondary AJAX ADD TO CART Button */
.dkt-single-actions-wrapper .dkt-single-add-to-cart {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    background-color: transparent !important;
    color: #FFFFFF !important;
    border: 1.5px solid #2c2c2e !important;
    border-radius: 8px !important;
    padding: 16px 24px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.25s ease-in-out !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.dkt-single-actions-wrapper .dkt-single-add-to-cart:hover {
    border-color: #CD901F !important; /* Gold border */
    color: #CD901F !important;
    background-color: rgba(205, 144, 31, 0.05) !important;
}

.dkt-single-actions-wrapper .dkt-single-add-to-cart.loading {
    background-color: rgba(255,255,255,0.05) !important;
    border-color: #2c2c2e !important;
    color: #8E8E93 !important;
    cursor: not-allowed !important;
}

/* --- PREMIUM VARIATION POPUP MODAL (DARK OBSIDIAN) --- */
.dkt-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 11, 12, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto !important; /* Habilita rolagem vertical se o modal exceder o tamanho da tela */
    padding: 20px 10px !important; /* Área de escape de segurança para evitar colisão com as bordas da tela */
    box-sizing: border-box !important;
}

.dkt-modal-overlay.active {
    opacity: 1;
}

.dkt-modal-card {
    background-color: #121214;
    border: 1.5px solid #23232a;
    border-radius: 16px;
    width: 100%;
    max-width: 500px;
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    margin: auto !important; /* Permite centralização vertical dinâmica respeitando a rolagem se estourar a tela */
}

.dkt-modal-overlay.active .dkt-modal-card {
    transform: scale(1);
}

.dkt-modal-close-x {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #8E8E93 !important;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0;
}

.dkt-modal-close-x:hover,
.dkt-modal-close-x:focus,
.dkt-modal-close-x:active {
    color: #FFFFFF !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

.dkt-modal-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #CD901F;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dkt-modal-subtitle {
    font-size: 14px;
    color: #8E8E93;
    margin: 0 0 25px 0;
    line-height: 1.4;
}

.dkt-modal-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dkt-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.dkt-modal-option {
    background-color: #141416 !important;
    border: 1.5px solid #1C1C1F !important;
    border-radius: 10px !important;
    padding: 20px 15px !important;
    cursor: pointer !important;
    text-align: center !important;
    transition: all 0.2s ease-in-out !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    user-select: none !important;
}

.dkt-modal-option:hover {
    border-color: #CD901F !important;
    background-color: rgba(205, 144, 31, 0.05) !important;
    transform: translateY(-2px) !important;
}

.dkt-modal-option.selected {
    border-color: #CD901F !important;
    background-color: rgba(205, 144, 31, 0.08) !important;
    box-shadow: 0 0 15px rgba(205, 144, 31, 0.15) !important;
}

.dkt-modal-option:hover .dkt-option-icon-wrap,
.dkt-modal-option.selected .dkt-option-icon-wrap {
    background-color: rgba(205, 144, 31, 0.1) !important;
    border-color: rgba(205, 144, 31, 0.2) !important;
}

.dkt-modal-option:hover .dkt-option-icon,
.dkt-modal-option.selected .dkt-option-icon {
    color: #CD901F !important;
}

.dkt-modal-option-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin-bottom: 4px !important;
}

.dkt-modal-option-desc {
    font-size: 11px !important;
    color: #8E8E93 !important;
    line-height: 1.3 !important;
}

.dkt-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dkt-modal-confirm-btn {
    background-color: #CD901F !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 15px 25px !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    width: 100%;
}

.dkt-modal-confirm-btn:hover {
    background-color: #E2A62C !important;
    box-shadow: 0 4px 15px rgba(205, 144, 31, 0.4);
}

.dkt-modal-cancel-lnk {
    color: #8E8E93 !important;
    font-size: 14px !important;
    text-decoration: underline !important;
    text-align: center !important;
    cursor: pointer;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 5px;
}

.dkt-modal-cancel-lnk:hover,
.dkt-modal-cancel-lnk:focus,
.dkt-modal-cancel-lnk:active {
    color: #FFFFFF !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

/* Adjust for 2x2 grid on mobile for both quiz and modal */
@media (max-width: 768px) {
    .dkt-modal-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .dkt-modal-option {
        padding: 15px 8px !important;
        min-height: 125px !important; /* Reduzido de 140px para economizar altura vertical */
        border-radius: 8px !important;
    }
    .dkt-modal-option .dkt-option-icon-wrap {
        width: 38px !important;
        height: 38px !important;
        margin-bottom: 8px !important;
    }
    .dkt-modal-option .dkt-option-icon {
        width: 20px !important;
        height: 20px !important;
    }
    .dkt-modal-option-title {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }
    .dkt-modal-option-desc {
        font-size: 9.5px !important;
        line-height: 1.2 !important;
    }
}

/* Otimizações exclusivas para celulares compactos e iPhones (telas estreitas ou curtas) */
@media (max-width: 480px) {
    .dkt-modal-card {
        padding: 20px !important; /* Padding interno mais enxuto para ganhar espaço vertical */
        border-radius: 12px !important;
    }
    .dkt-modal-title {
        font-size: 18px !important; /* Título mais compacto */
        margin-bottom: 6px !important;
    }
    .dkt-modal-subtitle {
        font-size: 12px !important; /* Subtítulo ligeiramente menor */
        margin-bottom: 15px !important;
    }
    .dkt-modal-section-title {
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }
    .dkt-modal-grid {
        gap: 6px !important;
        margin-bottom: 15px !important;
    }
    .dkt-modal-option {
        min-height: 105px !important; /* Opções compactas no celular para caber tudo na tela */
        padding: 10px 4px !important;
    }
    .dkt-modal-option .dkt-option-icon-wrap {
        width: 32px !important;
        height: 32px !important;
        margin-bottom: 4px !important;
    }
    .dkt-modal-option .dkt-option-icon {
        width: 16px !important;
        height: 16px !important;
    }
    .dkt-modal-option-title {
        font-size: 12px !important;
    }
    .dkt-modal-option-desc {
        font-size: 9px !important;
        display: none !important; /* Oculta a descrição secundária no mobile estreito para priorizar espaço */
    }
    .dkt-modal-confirm-btn {
        padding: 12px 20px !important; /* Botão ligeiramente menor e mais ergonômico */
        font-size: 14px !important;
    }
    .dkt-modal-actions {
        margin-top: 15px !important;
        gap: 8px !important;
    }
}

/* =========================================================================
   --- GLOBAL HOVER ANTI-PINK OVERRIDES (DEATH TO #C36 ON CUSTOM BLOCKS) ---
   ========================================================================= */

/* 1. Modal Close & Cancel buttons */
.dkt-modal-close-x,
.dkt-modal-close-x:hover,
.dkt-modal-close-x:focus,
.dkt-modal-close-x:active,
.dkt-modal-close-x:hover:focus {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #8E8E93 !important;
}
.dkt-modal-close-x:hover,
.dkt-modal-close-x:active {
    color: #FFFFFF !important;
}

.dkt-modal-cancel-lnk,
.dkt-modal-cancel-lnk:hover,
.dkt-modal-cancel-lnk:focus,
.dkt-modal-cancel-lnk:active,
.dkt-modal-cancel-lnk:hover:focus {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #8E8E93 !important;
    text-decoration: underline !important;
}
.dkt-modal-cancel-lnk:hover,
.dkt-modal-cancel-lnk:active {
    color: #FFFFFF !important;
}

/* 2. Side Cart Close Button */
.dkt-side-cart-close,
.dkt-side-cart-close:hover,
.dkt-side-cart-close:focus,
.dkt-side-cart-close:active,
.dkt-side-cart-close:hover:focus {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
.dkt-side-cart-close:hover svg,
.dkt-side-cart-close:active svg {
    fill: #FFFFFF !important;
}

/* 3. Side Cart Item Remove Button */
.dkt-cart-item-remove,
.dkt-cart-item-remove:hover,
.dkt-cart-item-remove:focus,
.dkt-cart-item-remove:active,
.dkt-cart-item-remove:hover:focus {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
.dkt-cart-item-remove:hover svg,
.dkt-cart-item-remove:active svg {
    fill: #FF3B30 !important;
}

/* 4. Side Cart Quantity Buttons */
.dkt-qty-btn,
.dkt-qty-btn:hover,
.dkt-qty-btn:focus,
.dkt-qty-btn:active,
.dkt-qty-btn:hover:focus {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #8E8E93 !important;
}
.dkt-qty-btn:hover,
.dkt-qty-btn:active {
    color: #FFFFFF !important;
}

/* 5. Side Cart Addon/Form Button (Coupon & Cep) */
.dkt-addon-btn,
.dkt-addon-btn:hover,
.dkt-addon-btn:focus,
.dkt-addon-btn:active,
.dkt-addon-btn:hover:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
.dkt-addon-btn:hover,
.dkt-addon-btn:active {
    background-color: #E2A62C !important;
    background: #E2A62C !important;
    color: #000000 !important;
}

/* 6. Side Cart Checkout Button */
.dkt-side-cart-checkout-btn,
.dkt-side-cart-checkout-btn:hover,
.dkt-side-cart-checkout-btn:focus,
.dkt-side-cart-checkout-btn:active,
.dkt-side-cart-checkout-btn:hover:focus {
    border: none !important;
    outline: none !important;
}
.dkt-side-cart-checkout-btn:hover,
.dkt-side-cart-checkout-btn:active {
    background-color: #E2A62C !important;
    background: #E2A62C !important;
    color: #000000 !important;
    box-shadow: 0 6px 20px rgba(205, 144, 31, 0.4) !important;
}

/* 7. Primary buttons (Comprar agora, checkout, etc.) */
.dkt-btn-primary,
.dkt-btn-primary:hover,
.dkt-btn-primary:focus,
.dkt-btn-primary:active,
.dkt-btn-primary:hover:focus,
.dkt-result-checkout-btn-full,
.dkt-result-checkout-btn-full:hover,
.dkt-result-checkout-btn-full:focus,
.dkt-result-checkout-btn-full:active,
.dkt-result-checkout-btn-full:hover:focus {
    border: none !important;
    outline: none !important;
}
.dkt-btn-primary:hover,
.dkt-btn-primary:active,
.dkt-result-checkout-btn-full:hover,
.dkt-result-checkout-btn-full:active {
    background-color: #CD901F !important;
    background: #CD901F !important;
    color: #000000 !important;
    box-shadow: 0 6px 20px rgba(205, 144, 31, 0.35) !important;
}

/* 8. Secondary buttons (Adicionar ao carrinho) */
.dkt-btn-secondary,
.dkt-btn-secondary:hover,
.dkt-btn-secondary:focus,
.dkt-btn-secondary:active,
.dkt-btn-secondary:hover:focus {
    outline: none !important;
    box-shadow: none !important;
}
.dkt-btn-secondary:hover,
.dkt-btn-secondary:active {
    background-color: rgba(255, 255, 255, 0.05) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--dkt-text-secondary) !important;
    color: var(--dkt-text-primary) !important;
}

/* 9. Modal confirm button */
.dkt-modal-confirm-btn,
.dkt-modal-confirm-btn:hover,
.dkt-modal-confirm-btn:focus,
.dkt-modal-confirm-btn:active,
.dkt-modal-confirm-btn:hover:focus {
    border: none !important;
    outline: none !important;
}
.dkt-modal-confirm-btn:hover,
.dkt-modal-confirm-btn:active {
    background-color: #E2A62C !important;
    background: #E2A62C !important;
    color: #000000 !important;
    box-shadow: 0 4px 15px rgba(205, 144, 31, 0.4) !important;
}

/* 10. Back button in Quiz */
.dkt-quiz-btn-back,
.dkt-quiz-btn-back:hover,
.dkt-quiz-btn-back:focus,
.dkt-quiz-btn-back:active,
.dkt-quiz-btn-back:hover:focus {
    outline: none !important;
    box-shadow: none !important;
}
.dkt-quiz-btn-back:hover,
.dkt-quiz-btn-back:active {
    background-color: transparent !important;
    background: transparent !important;
    color: #FFFFFF !important;
    border-color: #FFFFFF !important;
}

/* =========================================================================
   --- ESTILOS DO SKELETON LOADER (CARRINHO LATERAL INSTANTÂNEO) ---
   ========================================================================= */

.dkt-skeleton-item {
    display: flex;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    box-sizing: border-box;
    align-items: center;
}

.dkt-skeleton-image {
    width: 70px;
    height: 70px;
    background-color: #141416;
    border: 1px solid #1C1C1E;
    border-radius: 6px;
    flex-shrink: 0;
    background: linear-gradient(90deg, #121214 25%, #1C1C1E 50%, #121214 75%);
    background-size: 200% 100%;
    animation: dkt-shimmer 1.5s infinite;
}

.dkt-skeleton-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}

.dkt-skeleton-line {
    height: 12px;
    border-radius: 4px;
    background: linear-gradient(90deg, #121214 25%, #1C1C1E 50%, #121214 75%);
    background-size: 200% 100%;
    animation: dkt-shimmer 1.5s infinite;
}

.dkt-skeleton-line.w-80 { width: 80%; }
.dkt-skeleton-line.w-50 { width: 50%; }
.dkt-skeleton-line.w-35 { width: 35%; }

@keyframes dkt-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* =========================================================================
   --- ESTILOS DE CORREÇÃO DE ALINHAMENTO E IMPEDIMENTO DE VAZAMENTO ---
   ========================================================================= */

/* Força que o campo Tipo de Pessoa (e todos os campos e selects do checkout) respeitem a largura do contêiner */
#billing_persontype_field,
#billing_persontype,
.woocommerce-checkout select,
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Evita que componentes Select2 (usados para selects responsivos no WC) vazem a largura e causem quebras */
.woocommerce-checkout .select2-container,
.woocommerce-checkout .select2-container--default,
.woocommerce-checkout .select2-selection--single,
.select2-container,
.select2-container--default {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* =========================================================================
   --- ESTILOS PREMIUM PARA SELETORES SELECT2 (CAIXAS DE SELEÇÃO) ---
   ========================================================================= */

/* Estilização do cabeçalho da caixa de seleção (fechada) */
.select2-container--default .select2-selection--single {
    background-color: #FFFFFF !important;
    border: 1px solid #E5E5EA !important;
    border-radius: 8px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 12px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: #CD901F !important;
    box-shadow: 0 0 0 3px rgba(205, 144, 31, 0.15) !important;
}

/* Texto selecionado dentro do seletor */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #1E1E1E !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding-left: 0 !important;
    line-height: normal !important;
}

/* Seta/Chevron do seletor */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    width: 36px !important;
    position: absolute !important;
    top: 0 !important;
    right: 8px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #5C5C60 transparent transparent transparent !important;
    border-style: solid !important;
    border-width: 5px 4px 0 4px !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    margin-left: -4px !important;
    margin-top: -2px !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #5C5C60 transparent !important;
    border-width: 0 4px 5px 4px !important;
}

/* --- Menu Dropdown Aberto (Pop-up de opções) --- */
.select2-dropdown {
    background-color: #FFFFFF !important;
    border: 1px solid #CD901F !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
    overflow: hidden !important;
    z-index: 99999 !important;
}

/* Campo de busca dentro do Dropdown */
.select2-search--dropdown {
    padding: 8px 12px !important;
    background-color: #F9F9F9 !important;
    border-bottom: 1px solid #E5E5EA !important;
}

.select2-search--dropdown .select2-search__field {
    background-color: #FFFFFF !important;
    border: 1px solid #E5E5EA !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    height: 36px !important;
    color: #1E1E1E !important;
    font-size: 13px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    outline: none !important;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #CD901F !important;
}

/* Lista de Opções */
.select2-results__options {
    max-height: 250px !important;
    padding: 4px 0 !important;
}

/* Cada opção individual */
.select2-results__option {
    padding: 10px 16px !important;
    color: #1E1E1E !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: background 0.15s ease, color 0.15s ease !important;
    background-color: transparent !important;
}

/* Opção Destacada (Hover) */
.select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #CD901F !important;
    color: #FFFFFF !important;
}

/* Opção Selecionada (mas não hover) */
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #FAF1E6 !important;
    color: #A37014 !important;
}

/* Opção Selecionada E Hover */
.select2-container--default .select2-results__option[aria-selected=true].select2-results__option--highlighted {
    background-color: #CD901F !important;
    color: #FFFFFF !important;
}

/* Garante o alinhamento vertical perfeito das duas colunas de checkout pelo topo (sem degraus) */
.elementor-widget-woocommerce-checkout .e-checkout__container,
.woocommerce-checkout .e-checkout__container {
    display: flex !important;
    align-items: flex-start !important; /* Alinha os topos horizontalmente de forma exata */
    gap: 24px !important; /* Espaço consistente entre as colunas */
    flex-wrap: wrap !important; /* Permite quebra elegante em telas muito estreitas */
}

/* Definição de proporção flexível saudável no desktop e tablet horizontal para evitar esmagamento sob zoom */
@media (min-width: 769px) {
    .elementor-widget-woocommerce-checkout .e-checkout__container .e-checkout__column-start,
    .woocommerce-checkout .e-checkout__column-start {
        flex: 1 1 58% !important;
        max-width: 58% !important;
        box-sizing: border-box !important;
    }
    .elementor-widget-woocommerce-checkout .e-checkout__container .e-checkout__column-end,
    .woocommerce-checkout .e-checkout__column-end {
        flex: 1 1 38% !important;
        max-width: 38% !important;
        box-sizing: border-box !important;
    }
}

/* Ajustes finos adicionais no mobile para as colunas ocuparem a tela toda */
@media (max-width: 768px) {
    .elementor-widget-woocommerce-checkout .e-checkout__container .e-checkout__column-start,
    .elementor-widget-woocommerce-checkout .e-checkout__container .e-checkout__column-end,
    .woocommerce-checkout .e-checkout__column-start,
    .woocommerce-checkout .e-checkout__column-end {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}

/* =========================================================================
   --- PRODUTO SINGLE (ID 6017) - TRUST BADGES & TABS (ELEMENTOR) ---
   ========================================================================= */

/* --- TRUST BADGES --- */
/* Horizontal flex list, wrapping gracefully on mobile */
.dkt-trust-badges {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px !important;
    padding: 0;
    background: transparent;
    border: none;
    justify-content: space-between;
}

.dkt-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 120px !important; /* flex grow, shrink, and smaller basis to fit 3 items side-by-side */
    max-width: 100%;
}

@media (max-width: 480px) {
    .dkt-trust-badges {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .dkt-trust-item {
        flex: 1 1 100% !important;
    }
}

.dkt-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
}

.dkt-trust-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

.dkt-trust-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #FFFFFF;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.dkt-trust-item small {
    display: block;
    font-size: 11px;
    color: #8E8E93;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
    margin-top: 2px;
}

/* --- PREMIUM SHIPPING SIMULATOR (#wc-shipping-sim) --- */
#wc-shipping-sim,
.dkt-shipping-simulator-box,
[id^="dkt-simulator-"] {
    background-color: #121214 !important;
    border: 1px solid #23232a !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin-top: 12px !important;
    margin-bottom: 12px !important;
    box-sizing: border-box !important;
}

#wc-shipping-sim-form-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 12px !important;
}

#wc-shipping-sim-form-fields {
    display: flex !important;
    gap: 8px !important;
}

#wc-shipping-sim-form-fields input.input-postcode {
    flex: 1 !important;
    background-color: #0B0B0C !important;
    border: 1px solid #23232a !important;
    border-radius: 6px !important;
    color: #FFFFFF !important;
    font-size: 14px !important;
    padding: 10px 14px !important;
    height: 44px !important;
    box-sizing: border-box !important;
    outline: none !important;
    transition: border-color 0.2s ease !important;
}

#wc-shipping-sim-form-fields input.input-postcode:focus {
    border-color: #CD901F !important;
}

#wc-shipping-sim-form-fields button.submit {
    background-color: #CD901F !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0 16px !important;
    height: 44px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

#wc-shipping-sim-form-fields button.submit:hover {
    background-color: #E2A62C !important;
    box-shadow: 0 4px 12px rgba(205, 144, 31, 0.3) !important;
}

/* Shipping Simulator Results */
#wc-shipping-sim-results {
    margin-top: 12px !important;
    background-color: #0B0B0C !important;
    border-radius: 6px !important;
    border: 1px solid #23232a !important;
    padding: 12px !important;
}

#wc-shipping-sim-results table {
    width: 100% !important;
    border-collapse: collapse !important;
}

#wc-shipping-sim-results table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

#wc-shipping-sim-results table tr:last-child {
    border-bottom: none !important;
}

#wc-shipping-sim-results table th, 
#wc-shipping-sim-results table td {
    padding: 10px 8px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    color: #A0A0A5 !important;
    vertical-align: middle !important;
    text-align: left !important;
}

#wc-shipping-sim-results table th.col-label {
    font-weight: 600 !important;
    color: #FFFFFF !important;
}

#wc-shipping-sim-results table td.col-cost {
    text-align: right !important;
    font-weight: 700 !important;
    color: #CD901F !important;
}

/* --- ELEMENTOR TABS (Detalhes do Produto) --- */
/* Target Elementor's native tabs widget for dark styling */
.elementor-page-6017 .elementor-widget-tabs .elementor-tab-title {
    background: transparent !important;
    border: none !important;
    border-bottom: 2px solid transparent !important;
    color: #8E8E93 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    padding: 12px 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.elementor-page-6017 .elementor-widget-tabs .elementor-tab-title.elementor-active,
.elementor-page-6017 .elementor-widget-tabs .elementor-tab-title:hover {
    color: #CD901F !important;
    border-bottom-color: #CD901F !important;
}

.elementor-page-6017 .elementor-widget-tabs .elementor-tab-content {
    border: none !important;
    background: transparent !important;
    color: #A0A0A5 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    padding: 24px 0 !important;
}

/* Esconde a seleção de moagem detalhada nativa (white box buttons) na página de produto */
.dkt-detailed-grind-wrapper {
    display: none !important;
}

/* --- MODAL DE SELEÇÃO DE MOAGEM PREMIUM --- */
.dkt-grind-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.dkt-grind-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.dkt-grind-modal-content {
    background-color: #0b0b0b;
    border: 1px solid #CD901F;
    border-radius: 12px;
    width: 92%;
    max-width: 460px;
    padding: 35px 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-sizing: border-box;
}
.dkt-grind-modal-overlay.active .dkt-grind-modal-content {
    transform: scale(1);
}
.dkt-grind-modal-header {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}
.dkt-grind-modal-title {
    color: #FFFFFF !important;
    font-family: 'Frank Ruhl Libre', Georgia, serif !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.5px !important;
}
.dkt-grind-modal-subtitle {
    color: #A0A0A5 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    display: block !important;
}
.dkt-grind-modal-close {
    position: absolute;
    top: -20px;
    right: -15px;
    background: transparent !important;
    border: none !important;
    color: #A0A0A5 !important;
    font-size: 32px !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
}
.dkt-grind-modal-close:hover {
    color: #CD901F !important;
}
.dkt-modal-grind-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 25px;
}
.dkt-modal-grind-card {
    background-color: #121212;
    border: 1px solid #2C2C2E;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.dkt-modal-grind-card:hover {
    border-color: #CD901F;
    background-color: #18181a;
}
.dkt-modal-grind-card.selected {
    border-color: #CD901F;
    background-color: rgba(205, 144, 31, 0.08);
    box-shadow: 0 0 10px rgba(205, 144, 31, 0.15);
}
.dkt-modal-grind-icon {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dkt-modal-grind-label {
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}
.dkt-modal-confirm-btn {
    width: 100% !important;
    padding: 15px !important;
    border-radius: 8px !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 14px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}
.dkt-modal-confirm-btn:disabled {
    background-color: #2C2C2E !important;
    color: #5C5C60 !important;
    cursor: not-allowed !important;
}

/* --- FORÇAR MINIATURAS DA GALERIA DO PRODUTO EMBAIXO DA IMAGEM PRINCIPAL --- */
.woocommerce-product-gallery,
.woocommerce-product-gallery.woocommerce-product-gallery--vertical {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
.woocommerce-product-gallery.woocommerce-product-gallery--vertical .woocommerce-product-gallery__wrapper {
    margin: 0 !important;
}

/* Container de Miniaturas */
.woocommerce-product-gallery .flex-control-thumbs,
.woocommerce-product-gallery.woocommerce-product-gallery--vertical .flex-control-thumbs {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 12px !important;
}

/* Itens individuais de miniatura */
.woocommerce-product-gallery .flex-control-thumbs li,
.woocommerce-product-gallery.woocommerce-product-gallery--vertical .flex-control-thumbs li {
    flex: 1 1 0% !important;
    min-width: 50px !important;
    margin: 0 !important;
    float: none !important;
    list-style: none !important;
}

/* Imagens das miniaturas */
.woocommerce-product-gallery .flex-control-thumbs li img,
.woocommerce-product-gallery.woocommerce-product-gallery--vertical .flex-control-thumbs li img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    border-radius: 6px !important;
    border: 2px solid transparent !important;
    opacity: 0.5 !important;
    transition: opacity 0.3s ease, border-color 0.3s ease !important;
    cursor: pointer !important;
}

/* Efeito de Hover nas miniaturas */
.woocommerce-product-gallery .flex-control-thumbs li img:hover,
.woocommerce-product-gallery.woocommerce-product-gallery--vertical .flex-control-thumbs li img:hover {
    opacity: 0.8 !important;
}

/* Miniatura Ativa (Dourado da Dark Tree) */
.woocommerce-product-gallery .flex-control-thumbs li img.flex-active,
.woocommerce-product-gallery.woocommerce-product-gallery--vertical .flex-control-thumbs li img.flex-active {
    opacity: 1 !important;
    border-color: var(--dkt-gold, #CD901F) !important;
}

/* --- ORDENAÇÃO VISUAL DA CALCULADORA DE FRETE (SEMPRE EMBAIXO DOS BOTÕES) --- */

/* 1. Se estiver dentro do wrapper de add-to-cart (com quantidade e botões) */
.woocommerce-variation-add-to-cart,
.woocommerce_variation_add_to_cart {
    display: flex !important;
    flex-direction: column !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Reduz espaço abaixo da tabela de variações */
.single-product form.cart table.variations {
    margin-bottom: 8px !important;
}
.woocommerce-variation-add-to-cart > .quantity,
.woocommerce_variation_add_to_cart > .quantity {
    order: 1 !important;
}
.woocommerce-variation-add-to-cart > .dkt-single-actions-wrapper,
.woocommerce_variation_add_to_cart > .dkt-single-actions-wrapper {
    order: 2 !important;
}
.woocommerce-variation-add-to-cart > #wc-shipping-sim,
.woocommerce-variation-add-to-cart > .wc-shipping-simulator,
.woocommerce-variation-add-to-cart > .shipping-calculator-wrap,
.woocommerce-variation-add-to-cart > .infixs-correios-automatico-calculator,
.woocommerce-variation-add-to-cart > .dkt-shipping-simulator-box,
.woocommerce-variation-add-to-cart > [id^="dkt-simulator-"],
.woocommerce_variation_add_to_cart > #wc-shipping-sim,
.woocommerce_variation_add_to_cart > .wc-shipping-simulator,
.woocommerce_variation_add_to_cart > .shipping-calculator-wrap,
.woocommerce_variation_add_to_cart > .infixs-correios-automatico-calculator,
.woocommerce_variation_add_to_cart > .dkt-shipping-simulator-box,
.woocommerce_variation_add_to_cart > [id^="dkt-simulator-"] {
    order: 3 !important;
}

/* 2. Se estiver dentro do wrapper da variação simples/ativa (single_variation_wrap) */
.single_variation_wrap {
    display: flex !important;
    flex-direction: column !important;
}
.single_variation_wrap > .woocommerce-variation {
    order: 1 !important;
}
.single_variation_wrap > .woocommerce-variation-add-to-cart {
    order: 2 !important;
}
.single_variation_wrap > #wc-shipping-sim,
.single_variation_wrap > .wc-shipping-simulator,
.single_variation_wrap > .shipping-calculator-wrap,
.single_variation_wrap > .infixs-correios-automatico-calculator,
.single_variation_wrap > .dkt-shipping-simulator-box,
.single_variation_wrap > [id^="dkt-simulator-"] {
    order: 3 !important;
}

/* 3. Se estiver direto dentro do form.cart */
form.cart {
    display: flex !important;
    flex-direction: column !important;
}
form.cart > .variations {
    order: 1 !important;
}
form.cart > .single_variation_wrap {
    order: 2 !important;
}
form.cart > .quantity {
    order: 1 !important;
}
form.cart > .dkt-single-actions-wrapper {
    order: 2 !important;
}
form.cart > #wc-shipping-sim,
form.cart > .wc-shipping-simulator,
form.cart > .shipping-calculator-wrap,
form.cart > .infixs-correios-automatico-calculator,
form.cart > .dkt-shipping-simulator-box,
form.cart > [id^="dkt-simulator-"] {
    order: 3 !important;
}

/* Oculta o preço duplicado da variação que aparece dentro do formulário do WooCommerce / Elementor (apenas no template 6017) */
.elementor-page-6017 form.variations_form .price,
.elementor-page-6017 form.variations_form .woocommerce-variation-price,
.elementor-page-6017 .single_variation_wrap .woocommerce-variation-price,
.elementor-page-6017 .single_variation_wrap .woocommerce-variation .price,
.elementor-page-6017 .single_variation .price,
.elementor-page-6017 .woocommerce-variation-price,
.elementor-page-6017 .elementor-widget-woocommerce-product-add-to-cart .price,
.elementor-page-6017 .elementor-widget-woocommerce-add-to-cart .price,
.elementor-page-6017 .elementor-widget-woocommerce-product-add-to-cart .woocommerce-variation-price,
.elementor-page-6017 .elementor-widget-woocommerce-add-to-cart .woocommerce-variation-price {
    display: none !important;
}

/* =========================================================================
   --- NOVA LOJA DARK TREE: CARDS DE PRODUTO PERSONALIZADOS (SPLIT LAYOUT) ---
   ========================================================================= */

/* Estilos de loop item customizado */
.dkt-split-card {
    background-color: #0b0b0c !important;
    border: 1px solid #1c1c1e !important;
    border-radius: 12px !important;
    padding: 20px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    height: 100% !important;
    box-sizing: border-box !important;
    transition: transform 0.3s ease, border-color 0.3s ease !important;
}

.dkt-split-card:hover {
    transform: translateY(-4px) !important;
    border-color: #CD901F !important;
}

/* Linha Superior: Split Imagem (esquerda) e Detalhes (direita) */
.dkt-split-card-top {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    align-items: center !important;
    margin-bottom: 15px !important;
}

.dkt-split-card-img-col {
    flex: 0 0 40% !important;
    max-width: 40% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.dkt-split-card-img-col img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.dkt-split-card-info-col {
    flex: 0 0 60% !important;
    max-width: 60% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    text-align: left !important;
}

/* Badge (MAIS VENDIDO) */
.dkt-loop-product-badge {
    display: inline-block;
}

@media (max-width: 767px) {
    .dkt-loop-product-badge {
        font-size: 9px !important;
        letter-spacing: 0.5px !important;
    }
}

/* Título */
.dkt-loop-product-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #FFFFFF !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* Descrição curta */
.dkt-loop-product-short-desc {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12px !important;
    color: #A0A0A5 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

/* Meta (Torra | Peso) */
.dkt-loop-product-meta {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 11px !important;
    color: #8E8E93 !important;
}

/* Avaliação (Estrelas) */
.dkt-loop-product-rating {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    font-size: 12px !important;
}

.dkt-stars-gold {
    color: #CD901F !important;
}

.dkt-rating-count {
    color: #8E8E93 !important;
}

/* Wishlist Heart */
.dkt-loop-wishlist-btn {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 5px !important;
    color: #8E8E93 !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
    z-index: 5 !important;
}

.dkt-loop-wishlist-btn:hover {
    color: #DC2626 !important;
    transform: scale(1.1) !important;
}

.dkt-heart-icon {
    width: 20px !important;
    height: 20px !important;
}

/* Align product image to the bottom of the card on desktop/tablet */
@media (min-width: 768px) {
    /* Seletor pelo ID específico do widget local */
    .elementor-loop-document .elementor-element.elementor-element-2aab9ac2,
    .e-loop-item .elementor-element.elementor-element-2aab9ac2 {
        margin-top: auto !important;
    }
    /* Seletor genérico: widget de imagem WooCommerce dentro de loop-item */
    .e-loop-item .elementor-widget-woocommerce-product-images,
    .elementor-loop-document .elementor-widget-woocommerce-product-images {
        margin-top: auto !important;
    }
    /* Força os containers do loop-item a esticarem para preencher toda a altura do grid */
    .e-loop-item .elementor-element.elementor-element-13d3b5c2 {
        flex-grow: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .e-loop-item .elementor-element.elementor-element-32d5f69 {
        flex-grow: 1 !important;
        align-self: stretch !important;
        display: flex !important;
    }
    /* Força o container da esquerda (imagem/badge) a esticar verticalmente e a se comportar como coluna flex */
    .elementor-292 .elementor-element.elementor-element-20f6998f.e-con,
    .e-loop-item .elementor-element.elementor-element-20f6998f.e-con {
        align-self: stretch !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }
    /* Garante que o loop-item seja flex column para que margin-top:auto funcione e impede vazamentos */
    .elementor-loop-document,
    .e-loop-item {
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
}

/* Ajuste preventivo para a imagem do Drip Coffee (ID 4723) no loop não vazar o topo */
.e-loop-item.post-4723 .elementor-element-2aab9ac2 img,
.elementor-loop-document.post-4723 .elementor-element-2aab9ac2 img,
.e-loop-item.post-4723 .elementor-element-2aab9ac2,
.elementor-loop-document.post-4723 .elementor-element-2aab9ac2 {
    margin-top: 35px !important;
}

/* --- LOOP CARD QUANTITY AND QUICK BUY SELECTORS --- */
.dkt-quantity-quickbuy-container {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
}

.dkt-card-quantity-selector {
    display: flex;
    align-items: center;
    border: 1.5px solid #E0DCD5 !important;
    border-radius: 8px !important;
    overflow: hidden;
    background: #ffffff !important;
    height: 48px;
    width: 105px;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.dkt-card-quantity-selector:hover {
    border-color: #CD901F !important;
}

.dkt-qty-minus,
.dkt-qty-plus {
    width: 32px;
    height: 100%;
    border: none !important;
    background: transparent !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #120e0c !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    padding: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dkt-qty-minus:hover,
.dkt-qty-plus:hover {
    background-color: #f7f5f2 !important;
    color: #CD901F !important;
}

.dkt-qty-input {
    width: 38px;
    height: 100%;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #120e0c !important;
    padding: 0 !important;
    margin: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Quick Buy Button styled as obsidian/gold */
.dkt-btn-quickbuy {
    flex: 1;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box;
    text-align: center;
    line-height: 1;
    cursor: pointer;
}

/* --- Loja Teste (.dkt-new-shop-design): Compra Rápida é preto, Adicionar ao carrinho é nativo --- */
.dkt-new-shop-design .dkt-btn-quickbuy {
    background-color: #120e0c !important;
    border: 1.5px solid #120e0c !important;
    color: #ffffff !important;
}
.dkt-new-shop-design .dkt-btn-quickbuy:hover {
    background-color: #CD901F !important;
    border-color: #CD901F !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(205, 144, 31, 0.3) !important;
}

/* --- Loja Oficial: Compra Rápida é laranja, Adicionar ao carrinho é preto --- */
body:not(.dkt-new-shop-design) .dkt-btn-quickbuy {
    background-color: #CD901F !important;
    border: 1.5px solid #CD901F !important;
    color: #ffffff !important;
}
body:not(.dkt-new-shop-design) .dkt-btn-quickbuy:hover {
    background-color: #120e0c !important;
    border-color: #120e0c !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(18, 14, 12, 0.3) !important;
}

body:not(.dkt-new-shop-design) .dkt-cta-container .dkt-btn-secondary {
    background-color: #120e0c !important;
    border: 1.5px solid #120e0c !important;
    color: #ffffff !important;
}
body:not(.dkt-new-shop-design) .dkt-cta-container .dkt-btn-secondary:hover {
    background-color: #CD901F !important;
    border-color: #CD901F !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(205, 144, 31, 0.3) !important;
}


/* --- QUIZ INLINE --- */
.dkt-inline-quiz-wrapper {
    background-color: #0B0B0C !important;
    border: 1px solid #b39255 !important;
    border-radius: 12px !important;
    padding: 30px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 40px auto !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

.dkt-inline-quiz-layout {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 20px !important;
    overflow: visible !important;
}

.dkt-inline-quiz-col {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 15px !important;
    overflow: visible !important;
}

/* Coluna Intro */
.dkt-inline-quiz-intro {
    flex: 1.2 !important;
    text-align: left !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-right: 25px !important;
}

h3.dkt-inline-quiz-title,
.dkt-inline-quiz-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

.dkt-inline-quiz-subtitle {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 18px !important;
    color: #ffffff !important; /* White text matching mockup */
    line-height: 1.5 !important;
    margin: 15px 0 !important;
}

.dkt-inline-quiz-intro-btn {
    display: inline-block !important;
    background-color: #b58228 !important; /* Rich warm mustard gold */
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    padding: 12px 20px !important;
    border-radius: 5px !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    align-self: flex-start !important;
}

.dkt-inline-quiz-intro-btn:hover {
    background-color: #d09632 !important;
}

/* Pergunta do Quiz */
.dkt-step-number {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #b58228 !important; /* Gold step titles matching mockup */
    margin-bottom: 8px !important;
}

.dkt-step-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.dkt-step-btn {
    background-color: #0b0b0c !important;
    border: 1px solid rgba(181, 130, 40, 0.45) !important; /* Visible gold border matching mockup */
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border-radius: 4px !important; /* rectangular matching tag/logo */
    cursor: pointer !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
}

.dkt-step-btn:hover {
    border-color: #b58228 !important;
    color: #ffffff !important;
}

.dkt-step-btn.active {
    background-color: transparent !important;
    border-color: #b58228 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Setas Direcionais */
.dkt-inline-quiz-arrow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #b58228 !important;
    min-width: 24px !important;
}

.dkt-inline-quiz-arrow svg {
    width: 18px !important;
    height: 18px !important;
}

.dkt-inline-quiz-back-btn {
    display: none !important;
}

/* Colunas de passos com separadores verticais */
.dkt-inline-quiz-step[data-step="1"],
.dkt-inline-quiz-step[data-step="2"] {
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-right: 15px !important;
}

/* Coluna de Resultado */
.dkt-inline-quiz-result {
    flex: 1.4 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-left: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: visible !important;
}

.dkt-inline-result-card {
    background-color: #121214 !important;
    border: 1px solid #23232a !important;
    border-radius: 12px !important;
    padding: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-sizing: border-box !important;
    height: 100% !important;
    min-height: 200px !important;
    transition: all 0.3s ease !important;
}

/* Resultado Ativo - Estilo de 2 colunas e cor dourada */
.dkt-inline-result-card.has-result {
    background-color: #b58228 !important; /* Rich mustard gold matching mockup */
    border: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    text-align: left !important;
    padding: 25px !important;
    gap: 15px !important;
    position: relative !important;
    overflow: visible !important;
}

.dkt-inline-result-header {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.dkt-inline-result-body {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 15px !important;
    width: 100% !important;
    overflow: visible !important;
}

.dkt-inline-result-content {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.dkt-inline-result-card:not(.has-result) .dkt-inline-result-content {
    align-items: center !important;
    text-align: center !important;
}

.dkt-inline-result-card:not(.has-result) .dkt-inline-result-img-wrap {
    display: none !important;
}

.dkt-result-label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 2px !important;
}

.dkt-inline-result-title {
    font-family: 'Frank Ruhl Libre', Georgia, serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 !important;
    line-height: 1.1 !important;
}

.dkt-inline-result-desc {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    color: #ffffff !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    opacity: 0.95 !important;
}

.dkt-inline-result-img-wrap {
    flex: 0 0 28% !important;
    height: 100% !important;
    margin: -25px -25px -25px 0 !important; /* Overlap top, bottom and right edges */
    display: flex !important;
    align-items: flex-end !important; /* Align package to the bottom */
    justify-content: flex-end !important; /* Align package to the right */
    overflow: visible !important;
    position: relative !important;
}

.dkt-inline-result-img {
    height: 125% !important;
    max-height: 200px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    margin: 0 !important;
    transform: translateY(35px) translateX(-5px) !important; /* Negative placement to overlap border */
    filter: drop-shadow(-10px 10px 15px rgba(0, 0, 0, 0.45)) !important; /* Drop shadow for premium feel */
}

.dkt-inline-result-btn {
    display: inline-block !important;
    background-color: #0b0b0c !important;
    color: #ffffff !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    padding: 12px 24px !important;
    border-radius: 5px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    width: auto !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.dkt-inline-result-btn:hover {
    background-color: #23232a !important;
    color: #ffffff !important;
}

/* --- FILTROS AVANÇADOS --- */
.dkt-advanced-filter-toggle-wrap {
    margin-left: auto !important;
    display: flex !important;
    align-items: center !important;
}



.dkt-filter-toggle-icon {
    width: 14px !important;
    height: 14px !important;
    stroke: currentColor !important;
}

/* Painel de Filtros Avançados */
.dkt-advanced-filters-panel {
    width: 100% !important;
    background-color: #0B0B0C !important;
    border: 1px solid #b39255 !important;
    border-radius: 12px !important;
    padding: 25px !important;
    margin: 15px auto 25px auto !important;
    box-sizing: border-box !important;
}

.dkt-adv-filters-inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 40px !important;
}

.dkt-adv-filter-col {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.dkt-adv-filter-title {
    font-family: 'Outfit', sans-serif !important;
    color: #b39255 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin: 0 0 5px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding-bottom: 6px !important;
}

.dkt-adv-filter-options {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.dkt-adv-sort-btn,
.dkt-adv-price-btn,
.dkt-adv-torra-btn {
    background-color: #121214 !important;
    border: 1px solid rgba(179, 146, 85, 0.4) !important;
    color: #FFFFFF !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 8px 15px !important;
    border-radius: 4px !important; /* rectangular matching tag/logo */
    cursor: pointer !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
}

.dkt-adv-sort-btn:hover,
.dkt-adv-price-btn:hover,
.dkt-adv-torra-btn:hover {
    border-color: #b39255 !important;
}

.dkt-adv-sort-btn.active,
.dkt-adv-price-btn.active,
.dkt-adv-torra-btn.active {
    background-color: #b39255 !important;
    border-color: #b39255 !important;
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Responsividade do Quiz Inline */
@media (max-width: 991px) {
    .dkt-inline-quiz-layout {
        flex-direction: column !important;
        gap: 25px !important;
    }
    .dkt-inline-quiz-arrow {
        display: none !important;
    }
    .dkt-inline-quiz-col {
        display: none !important;
        border-right: none !important;
        border-left: none !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        text-align: center !important;
    }
    .dkt-inline-quiz-col.dkt-active-step {
        display: flex !important;
    }
    .dkt-inline-quiz-title {
        font-size: 30px !important;
    }
    .dkt-step-buttons {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-top: 10px !important;
    }
    .dkt-step-btn {
        padding: 12px 10px !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
    }
    .dkt-step-buttons .dkt-step-btn:nth-child(3):last-child {
        grid-column: span 2 !important;
    }
    .dkt-inline-quiz-intro-btn {
        align-self: center !important;
    }
    .dkt-inline-quiz-back-btn {
        display: inline-block !important;
        background-color: transparent !important;
        border: none !important;
        color: #b58228 !important;
        font-family: 'Outfit', sans-serif !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        padding: 8px 0 !important;
        margin-top: 15px !important;
        align-self: center !important;
        text-align: center !important;
        transition: color 0.2s ease !important;
    }
    .dkt-inline-quiz-back-btn:hover {
        color: #ffffff !important;
    }
    .dkt-inline-result-card.has-result {
        flex-direction: column !important;
        text-align: center !important;
        padding: 25px 25px 0 25px !important;
    }
    .dkt-inline-result-body {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    .dkt-inline-result-content {
        align-items: center !important;
        text-align: center !important;
    }
    .dkt-inline-result-img-wrap {
        flex: 0 0 100% !important;
        margin: 0 !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .dkt-inline-result-img {
        height: auto !important;
        max-height: 180px !important;
        transform: translateY(10px) translateX(0px) !important;
    }
    .dkt-adv-filters-inner {
        flex-direction: column !important;
        gap: 20px !important;
    }
}

.dkt-shop-layout li.product,
.dkt-shop-layout .elementor-widget-container .product,
.dkt-shop-layout .elementor-loop-container .product,
.dkt-shop-layout .dkt-product-card-loop,
.page-id-3228 li.product,
.page-id-3228 .elementor-widget-container .product,
.page-id-3228 .elementor-loop-container .product,
.page-id-3228 .dkt-product-card-loop,
.elementor-page-3228 li.product,
.elementor-page-3228 .elementor-widget-container .product,
.elementor-page-3228 .elementor-loop-container .product,
.elementor-page-3228 .dkt-product-card-loop {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.dkt-shop-layout li.product:hover,
.dkt-shop-layout .elementor-widget-container .product:hover,
.dkt-shop-layout .elementor-loop-container .product:hover,
.page-id-3228 li.product:hover,
.page-id-3228 .elementor-widget-container .product:hover,
.page-id-3228 .elementor-loop-container .product:hover,
.elementor-page-3228 li.product:hover,
.elementor-page-3228 .elementor-widget-container .product:hover,
.elementor-page-3228 .elementor-loop-container .product:hover {
    transform: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Oculta a informação de torra e peso (Torra média | 500g/250g) do loop */
.dkt-loop-product-meta {
    display: none !important;
}



/* Painel de Filtros Avançados */
.dkt-advanced-filters-panel {
    background-color: #121214 !important;
    border: 1px solid #23232a !important;
    border-radius: 12px !important;
    padding: 25px !important;
    margin: 20px 0 !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.dkt-adv-filters-inner {
    display: flex !important;
    justify-content: space-between !important;
    gap: 30px !important;
}

.dkt-adv-filter-col {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.dkt-adv-filter-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #b58228 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
}

.dkt-adv-filter-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.dkt-adv-sort-btn,
.dkt-adv-price-btn,
.dkt-adv-torra-btn {
    background-color: #0b0b0c !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 8px 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.dkt-adv-sort-btn:hover,
.dkt-adv-price-btn:hover,
.dkt-adv-torra-btn:hover {
    border-color: #b58228 !important;
}

.dkt-adv-sort-btn.active,
.dkt-adv-price-btn.active,
.dkt-adv-torra-btn.active {
    background-color: #b58228 !important;
    border-color: #b58228 !important;
    color: #000000 !important;
    font-weight: 700 !important;
}

/* Oculta produtos fora de estoque nas seções da loja (exceto IDs 7990 e 8038) */
#comece-aqui .product.outofstock:not(.post-7990):not(.post-8038),
#todos-os-cafes .product.outofstock:not(.post-7990):not(.post-8038),
#comece-aqui .e-loop-item.outofstock:not(.post-7990):not(.post-8038),
#todos-os-cafes .e-loop-item.outofstock:not(.post-7990):not(.post-8038),
#comece-aqui .outofstock:not(.post-7990):not(.post-8038),
#todos-os-cafes .outofstock:not(.post-7990):not(.post-8038) {
    display: none !important;
}

/* Desabilita botões de compra em produtos esgotados visíveis (cards e PDP) */
.e-loop-item.outofstock .elementor-widget-woocommerce-product-add-to-cart,
.e-loop-item.outofstock .elementor-widget-woocommerce-add-to-cart,
.e-loop-item.outofstock form.cart,
.e-loop-item.outofstock .woocommerce-variation-add-to-cart,
.e-loop-item.outofstock .single_add_to_cart_button,
.e-loop-item.outofstock .quantity,
.e-loop-item.outofstock .dkt-single-actions-wrapper,
.e-loop-item.outofstock .dkt-single-buy-now,
.e-loop-item.outofstock .dkt-single-segmented-control,
.e-loop-item.outofstock .dkt-qty-wrapper,
.product.outofstock .elementor-widget-woocommerce-product-add-to-cart,
.product.outofstock .elementor-widget-woocommerce-add-to-cart,
.product.outofstock form.cart,
.product.outofstock .woocommerce-variation-add-to-cart,
.product.outofstock .single_add_to_cart_button,
.product.outofstock .quantity,
.product.outofstock .dkt-single-actions-wrapper,
.product.outofstock .dkt-single-buy-now,
.product.outofstock .dkt-single-segmented-control,
.product.outofstock .dkt-qty-wrapper {
    display: none !important;
}

/* ── BACKORDER / ME AVISE ──────────────────────────────────────────────────── */

/* Fundo cinza em cards de produtos esgotados/sob encomenda */
.e-loop-item.outofstock .elementor-loop-document,
.e-loop-item.available-on-backorder .elementor-loop-document,
.e-loop-item.outofstock .elementor-section,
.e-loop-item.available-on-backorder .elementor-section,
.e-loop-item.outofstock .e-con,
.e-loop-item.available-on-backorder .e-con {
    background-color: #f0f0f0 !important;
}

/* Etiqueta vermelha em cards de produtos esgotados/sob encomenda */
.e-loop-item.available-on-backorder .dkt-loop-product-badge,
.product.available-on-backorder .dkt-loop-product-badge,
.e-loop-item.outofstock .dkt-loop-product-badge,
.product.outofstock .dkt-loop-product-badge,
.dkt-loop-product-badge.dkt-badge-esgotado {
    background: #c0392b !important;
    color: #fff !important;
}

/* Modal overlay */
.dkt-notify-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.dkt-notify-overlay.active { display: flex; }

/* Modal box */
.dkt-notify-modal {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    font-family: 'Outfit', sans-serif;
}
.dkt-notify-modal h3 {
    margin: 0 0 6px 0;
    font-size: 18px;
    font-weight: 700;
    color: #120e0c;
}
.dkt-notify-modal p.dkt-notify-subtitle {
    margin: 0 0 20px 0;
    font-size: 13px;
    color: #6b6b6b;
}
.dkt-notify-modal label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #120e0c;
    margin-bottom: 4px;
}
.dkt-notify-modal input[type="text"],
.dkt-notify-modal input[type="email"] {
    width: 100%;
    border: 1.5px solid #e0dcd5;
    border-radius: 8px;
    padding: 11px 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #120e0c;
    margin-bottom: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}
.dkt-notify-modal input:focus { border-color: #c0392b; }
.dkt-notify-modal .dkt-notify-submit {
    width: 100%;
    background: #c8860a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 4px;
}
.dkt-notify-modal .dkt-notify-submit:hover { background: #b5760a; }
.dkt-notify-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 22px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
    padding: 0;
}
.dkt-notify-close:hover,
.dkt-notify-close:focus,
.dkt-notify-close:active {
    color: #999;
    background: none !important;
    outline: none;
    box-shadow: none;
}
.dkt-notify-feedback {
    display: none;
    text-align: center;
    padding: 10px 0 0;
    font-size: 14px;
    font-weight: 600;
}
.dkt-notify-feedback.success { color: #27ae60; display: block; }
.dkt-notify-feedback.error   { color: #c0392b; display: block; }

/* ── CARD INDISPONÍVEL: elementos acinzentados (badge vermelho preservado) ─── */

/* Imagem desaturada */
.dkt-card-unavailable img {
    filter: grayscale(80%) !important;
}

/* Título, estrelas */
.dkt-card-unavailable .woocommerce-loop-product__title,
.dkt-card-unavailable .star-rating,
.dkt-card-unavailable .woocommerce-review-count,
.dkt-card-unavailable .elementor-widget-woocommerce-product-rating {
    color: #888 !important;
    filter: grayscale(100%) !important;
}

/* Preço mantém laranja padrão da loja */
.dkt-card-unavailable .price,
.dkt-card-unavailable .price .amount,
.dkt-card-unavailable .price ins .amount,
.dkt-card-unavailable .elementor-widget-woocommerce-product-price {
    color: #c8860a !important;
    filter: none !important;
}

/* Seletores de variação (Grãos/Moído, 250g/500g) */
.dkt-card-unavailable .dkt-swatch-btn,
.dkt-card-unavailable .dkt-swatch-btn.active,
.dkt-card-unavailable .dkt-segmented-control button {
    background: #ccc !important;
    color: #888 !important;
    border-color: #bbb !important;
}

/* Botão RESERVAR */
.dkt-card-unavailable .dkt-btn-quickbuy,
.dkt-card-unavailable .dkt-comprar-agora-grid {
    background: #aaa !important;
    color: #fff !important;
    border: none !important;
}

/* Botão Me avise! */
.dkt-card-unavailable .dkt-notify-btn {
    background: #aaa !important;
    color: #fff !important;
    border-color: #aaa !important;
    opacity: 1 !important;
    transition: background 0.2s, border-color 0.2s !important;
}
.dkt-card-unavailable .dkt-notify-btn:hover {
    background: #c0392b !important;
    border-color: #c0392b !important;
    color: #fff !important;
}

/* Contador de quantidade */
.dkt-card-unavailable .dkt-qty-wrapper,
.dkt-card-unavailable .quantity {
    opacity: 0.5 !important;
}

/* Badge vermelho: preservado (não incluído acima) */

/* ── PDP: BOTÕES BACKORDER / ESGOTADO ─────────────────────────────────────── */

.dkt-backorder-notice {
    display: block;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: #fff8f0 !important;
    border-left: 4px solid #c0392b;
    border-radius: 6px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #6b3a2a !important;
    line-height: 1.5;
}

.dkt-pdp-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    margin-bottom: 8px;
}

/* Linha quantidade + RESERVAR */
.dkt-pdp-reservar-row {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
}
.dkt-pdp-reservar-row .quantity {
    flex-shrink: 0 !important;
    margin: 0 !important;
    height: 52px !important;
}
.dkt-pdp-reservar-row .quantity input {
    height: 52px !important;
    box-sizing: border-box !important;
}

.dkt-pdp-reservar {
    display: block !important;
    flex: 1 !important;
    width: auto !important;
    height: 52px !important;
    background: #120e0c !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: opacity 0.2s !important;
    box-shadow: none !important;
}
.dkt-pdp-reservar:hover { opacity: 0.85 !important; }

.dkt-pdp-cta-wrapper .dkt-notify-btn {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    height: 52px !important;
    background: transparent !important;
    color: #c0392b !important;
    border: 2px solid #c0392b !important;
    border-radius: 8px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    cursor: pointer !important;
    transition: background 0.2s, color 0.2s !important;
    box-shadow: none !important;
}
.dkt-pdp-cta-wrapper .dkt-notify-btn:hover {
    background: #c0392b !important;
    color: #fff !important;
}
.dkt-pdp-cta-wrapper .dkt-notify-btn.dkt-notify-solid {
    background: #c0392b !important;
    color: #fff !important;
}
.dkt-pdp-cta-wrapper .dkt-notify-btn.dkt-notify-solid:hover { opacity: 0.85 !important; }

/* Layout lateral dos filtros avançados (Apenas Desktop) */
@media (min-width: 992px) {
    .dkt-shop-layout-wrapper {
        display: block;
        width: 100% !important;
        transition: all 0.3s ease-in-out !important;
    }

    .dkt-shop-layout-wrapper.filters-open {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 30px !important;
    }

    .dkt-shop-layout-wrapper.filters-open .dkt-advanced-filters-panel {
        flex: 0 0 280px !important;
        width: 280px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .dkt-shop-layout-wrapper.filters-open .dkt-adv-filters-inner {
        flex-direction: column !important;
        gap: 24px !important;
    }

    .dkt-shop-layout-wrapper.filters-open #todos-os-cafes {
        flex: 1 !important;
        width: calc(100% - 310px) !important;
    }

    /* Força os produtos para 2 colunas no desktop quando o filtro estiver aberto */
    .dkt-shop-layout-wrapper.filters-open #todos-os-cafes .elementor-grid,
    .dkt-shop-layout-wrapper.filters-open #todos-os-cafes ul.products,
    .dkt-shop-layout-wrapper.filters-open #todos-os-cafes .elementor-loop-container,
    .dkt-shop-layout-wrapper.filters-open #todos-os-cafes .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Custom mobile advanced filters and slider grid logic */
.dkt-adv-filters-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background-color: rgba(0, 0, 0, 0.75) !important;
    z-index: 999998 !important;
    display: none;
}

.dkt-adv-filters-mobile-header {
    display: none !important;
}

@media (max-width: 991px) {
    /* Premium mobile drawer bottom sheet */
    .dkt-advanced-filters-panel {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-height: 80vh !important;
        overflow-y: auto !important;
        background-color: #121214 !important;
        border: none !important;
        border-top: 2px solid #b58228 !important;
        border-radius: 20px 20px 0 0 !important;
        padding: 25px 20px 35px 20px !important;
        z-index: 999999 !important;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.8) !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    .dkt-adv-filters-mobile-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        position: relative !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }
    
    .dkt-adv-filters-handle {
        width: 40px !important;
        height: 4px !important;
        background-color: rgba(255, 255, 255, 0.2) !important;
        border-radius: 2px !important;
        margin-bottom: 15px !important;
    }
    
    .dkt-adv-filters-mobile-title {
        font-family: 'Outfit', sans-serif !important;
        font-size: 18px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
    }
    
    .dkt-adv-filters-close-btn {
        position: absolute !important;
        top: -5px !important;
        right: 0 !important;
        background: transparent !important;
        border: none !important;
        color: #ffffff !important;
        font-size: 28px !important;
        cursor: pointer !important;
        line-height: 1 !important;
        padding: 5px !important;
    }

    .dkt-adv-filters-inner {
        flex-direction: column !important;
        gap: 20px !important;
    }

    /* Horizontal scroll for category buttons */
    .dkt-filter-tabs-mobile-scroll {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: scroll !important;
        -webkit-overflow-scrolling: touch !important;
        transform: translate3d(0, 0, 0) !important;
        will-change: transform !important;
        scrollbar-width: none !important; /* Esconde barra no Firefox móvel */
        gap: 10px !important;
        padding: 5px 0 15px 0 !important;
        margin-bottom: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
    }
    
    .dkt-filter-tabs-mobile-scroll::-webkit-scrollbar {
        display: none !important;
    }
    
    .dkt-filter-tabs-mobile-scroll > .elementor-widget-button {
        flex: 0 0 auto !important;
        width: auto !important;
        margin: 0 !important;
        transform: translateZ(0) !important;
        will-change: transform !important;
    }

    .dkt-filter-tab {
        display: inline-block !important;
        white-space: nowrap !important;
    }

    /* Previne estouro de largura (horizontal overflow) na página.
       overflow-x: hidden bloqueia o scroll de filhos no iOS Safari — usamos clip como fallback moderno. */
    #todos-os-cafes,
    #comece-aqui,
    .dkt-shop-layout-wrapper {
        max-width: 100% !important;
        overflow-x: hidden !important; /* fallback: Safari < 16 */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    @supports (overflow: clip) {
        #todos-os-cafes,
        #comece-aqui,
        .dkt-shop-layout-wrapper {
            overflow-x: clip !important; /* não cria scroll context — libera scroll dos filhos no iOS 16+ */
        }
    }

    /* Permite que o container nativo deslize sem ser cortado pelo swiper wrap */
    #todos-os-cafes .elementor-widget-container,
    #todos-os-cafes .swiper,
    #todos-os-cafes .elementor-widget-loop-carousel,
    #comece-aqui .elementor-widget-container,
    #comece-aqui .swiper,
    #comece-aqui .elementor-widget-loop-carousel {
        overflow: visible !important;
    }

    /* Horizontal carousel slide for products on mobile */
    #todos-os-cafes .elementor-grid,
    #todos-os-cafes ul.products,
    #todos-os-cafes .elementor-loop-container,
    #todos-os-cafes .products-grid,
    #comece-aqui .elementor-grid,
    #comece-aqui ul.products,
    #comece-aqui .elementor-loop-container,
    #comece-aqui .products-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: scroll !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        scroll-snap-type: x mandatory !important;
        touch-action: pan-x pan-y !important; /* iOS: explicita que aceita scroll X e Y sem bloquear gestos */
        padding: 10px 0 25px 0 !important;
        gap: 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Sem transform/will-change aqui: aplicar transform em scroll container reseta posição no iOS após re-render do JS */
    }
    
    #todos-os-cafes .elementor-grid::-webkit-scrollbar,
    #todos-os-cafes ul.products::-webkit-scrollbar,
    #todos-os-cafes .elementor-loop-container::-webkit-scrollbar,
    #todos-os-cafes .products-grid::-webkit-scrollbar,
    #comece-aqui .elementor-grid::-webkit-scrollbar,
    #comece-aqui ul.products::-webkit-scrollbar,
    #comece-aqui .elementor-loop-container::-webkit-scrollbar,
    #comece-aqui .products-grid::-webkit-scrollbar {
        display: none !important;
    }

    #todos-os-cafes .product,
    #todos-os-cafes .e-loop-item,
    #todos-os-cafes .elementor-loop-document,
    #todos-os-cafes .product-grid-item,
    #comece-aqui .product,
    #comece-aqui .e-loop-item,
    #comece-aqui .elementor-loop-document,
    #comece-aqui .product-grid-item {
        flex: 0 0 82% !important;
        max-width: 82% !important;
        scroll-snap-align: start !important;
        margin: 0 !important;
        transform: translateZ(0) !important;
        will-change: transform !important;
    }

    /* Previne quebra de layout durante o "Carregar mais" (Load more) no mobile */
    #todos-os-cafes .elementor-load-more-spinner,
    #comece-aqui .elementor-load-more-spinner,
    #todos-os-cafes .elementor-load-more-spinner-wrapper,
    #comece-aqui .elementor-load-more-spinner-wrapper {
        flex: 0 0 80px !important;
        max-width: 80px !important;
        width: 80px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
    }
}

/* =========================================================================
   --- ECOSSISTEMA DOS FAVORITOS PREMIUM (WISHLIST DRAWER & PAGES) ---
   ========================================================================= */

/* Ativação do Coração de Favoritos */
.dkt-loop-wishlist-btn.active {
    color: #DC2626 !important;
}
.dkt-loop-wishlist-btn.active svg {
    fill: #DC2626 !important;
    stroke: #DC2626 !important;
}

/* Micro-animação de Pulso */
@keyframes dktPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.pulse-animation {
    animation: dktPulse 0.4s ease-out !important;
}

/* Navegação por Abas dentro do Carrinho Lateral */
.dkt-side-cart-tabs {
    display: flex !important;
    background-color: #0F0F11 !important;
    border-bottom: 1px solid #1C1C1E !important;
    box-sizing: border-box !important;
    height: 50px !important;
    width: 100% !important;
}

.dkt-cart-tab-btn {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    color: #8E8E93 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border-bottom: 2px solid transparent !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

.dkt-cart-tab-btn:hover {
    color: #FFFFFF !important;
}

.dkt-cart-tab-btn.active {
    color: #CD901F !important;
    border-bottom-color: #CD901F !important;
}

.dkt-tab-count {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    background-color: #1C1C1E !important;
    color: #8E8E93 !important;
    padding: 2px 7px !important;
    border-radius: 9999px !important;
    transition: all 0.3s ease !important;
}

.dkt-cart-tab-btn.active .dkt-tab-count.has-items {
    background-color: #CD901F !important;
    color: #000000 !important;
}

.dkt-cart-tab-btn[data-tab="wishlist"].active .dkt-tab-count.has-items {
    background-color: #DC2626 !important;
    color: #FFFFFF !important;
}

/* Containers de Conteúdo das Abas */
.dkt-tab-content {
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Lista de Itens de Favoritos no Container */
.dkt-wishlist-items {
    width: 100% !important;
    box-sizing: border-box !important;
}

.dkt-wishlist-items-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dkt-wishlist-item {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    box-sizing: border-box;
}

.dkt-wishlist-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dkt-wishlist-item-img-col {
    flex: 0 0 75px;
    max-width: 75px;
    aspect-ratio: 1 / 1;
    background-color: #0F0F11;
    border: 1px solid #1C1C1E;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dkt-wishlist-item-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.dkt-wishlist-item-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dkt-wishlist-item-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.dkt-wishlist-item-title:hover {
    color: #CD901F;
}

.dkt-wishlist-item-price {
    font-size: 13px;
    font-weight: 600;
    color: #CD901F;
}

.dkt-wishlist-item-price del {
    color: #8E8E93;
    font-weight: 400;
    margin-right: 5px;
    font-size: 11px;
}

.dkt-wishlist-item-price ins {
    text-decoration: none;
}

.dkt-wishlist-item-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.dkt-wishlist-add-to-cart-btn {
    background-color: #CD901F !important;
    color: #000000 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 6px 16px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: inline-block !important;
    text-align: center !important;
    border: none !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, transform 0.1s ease !important;
}

.dkt-wishlist-add-to-cart-btn:hover {
    background-color: #E2A62C !important;
}

.dkt-wishlist-add-to-cart-btn:active {
    transform: scale(0.97) !important;
}

.dkt-wishlist-add-to-cart-btn.select-options-btn {
    background-color: #1C1C1E !important;
    color: #FFFFFF !important;
}

.dkt-wishlist-add-to-cart-btn.select-options-btn:hover {
    background-color: #2D2D31 !important;
}

.dkt-wishlist-out-of-stock {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 11px;
    color: #8E8E93;
    text-transform: uppercase;
    font-weight: 600;
}

.dkt-wishlist-item-remove {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: #8E8E93;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    outline: none;
}

.dkt-wishlist-item-remove svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.dkt-wishlist-item-remove:hover {
    color: #DC2626;
}

/* Empty State */
.dkt-wishlist-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 10px;
    box-sizing: border-box;
}

.dkt-wishlist-empty-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    animation: dktPulse 2s infinite ease-in-out;
}

.dkt-wishlist-empty-title {
    font-family: 'Outfit', sans-serif !important;
    font-size: 16px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 10px 0 !important;
}

.dkt-wishlist-empty-desc {
    font-family: -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 13px;
    color: #8E8E93;
    line-height: 1.5;
    margin: 0 0 25px 0 !important;
}

.dkt-wishlist-empty-btn {
    display: inline-block;
    background-color: #CD901F;
    color: #000000;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 24px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.dkt-wishlist-empty-btn:hover {
    background-color: #E2A62C;
}

/* Shimmer Loader Skeletons */
.dkt-wishlist-skeleton-item {
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
}

.dkt-wishlist-skeleton-image {
    width: 75px;
    height: 75px;
    background-color: #121214;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.dkt-wishlist-skeleton-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dkt-wishlist-skeleton-line {
    height: 12px;
    background-color: #121214;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.dkt-wishlist-skeleton-line.w-80 { width: 80%; }
.dkt-wishlist-skeleton-line.w-60 { width: 60%; }
.dkt-wishlist-skeleton-line.w-40 { width: 40%; }

/* Shimmer Animation Effect */
@keyframes dktShimmer {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

.dkt-wishlist-skeleton-image::after,
.dkt-wishlist-skeleton-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    background-size: 200px 100%;
    animation: dktShimmer 1.5s infinite linear;
}

/* Standalone Page Grid Layout (para a página dedicada /favoritos) */
.dkt-favorites-page-section {
    width: 100%;
    margin: 20px auto;
}

.dkt-favorites-skeleton-grid,
.dkt-favorites-page-section .dkt-wishlist-items-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
}

.dkt-favorites-page-section .dkt-wishlist-item {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    align-items: stretch !important;
    background-color: #0b0b0c !important;
    border: 1px solid #1c1c1e !important;
    border-radius: 12px !important;
    padding: 20px !important;
    border-bottom: 1px solid #1c1c1e !important;
    position: relative !important;
}

.dkt-favorites-page-section .dkt-wishlist-item-img-col {
    flex: none !important;
    max-width: 100% !important;
    width: 100% !important;
    height: 180px !important;
    aspect-ratio: auto !important;
    background: transparent !important;
    border: none !important;
}

.dkt-favorites-page-section .dkt-wishlist-item-img {
    max-height: 100% !important;
    max-width: 100% !important;
}

.dkt-favorites-page-section .dkt-wishlist-item-info-col {
    gap: 8px !important;
}

.dkt-favorites-page-section .dkt-wishlist-item-title {
    font-size: 16px !important;
}

.dkt-favorites-page-section .dkt-wishlist-item-price {
    font-size: 15px !important;
}

.dkt-favorites-page-section .dkt-wishlist-item-actions {
    justify-content: space-between !important;
}

.dkt-favorites-page-section .dkt-wishlist-add-to-cart-btn {
    flex: 1 !important;
    padding: 10px 16px !important;
}

.dkt-favorites-page-section .dkt-wishlist-item-remove {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
}

/* Responsividade da Gaveta e Grade */
@media (max-width: 991px) {
    .dkt-favorites-skeleton-grid,
    .dkt-favorites-page-section .dkt-wishlist-items-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 768px) {
    .dkt-favorites-skeleton-grid,
    .dkt-favorites-page-section .dkt-wishlist-items-list {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

/* --- PREMIUM FILTER TAB ACTIVE HIGHLIGHT --- */
.dkt-filter-tab.active,
.dkt-shop-filter-btn.active {
    background-color: #b58228 !important;
    border-color: #b58228 !important;
    color: #000000 !important;
    font-weight: 700 !important;
}

/* --- AJUSTE DE ESPAÇAMENTO DE BOTÕES NA PÁGINA MINHA CONTA --- */
.woocommerce-MyAccount-content td.woocommerce-orders-table__cell-order-actions .button,
.woocommerce-MyAccount-content td.woocommerce-orders-table__cell-order-actions a.button,
.woocommerce-MyAccount-content td.woocommerce-orders-table__cell-order-actions .woocommerce-button,
.woocommerce-MyAccount-content .order-actions .button,
.woocommerce-MyAccount-content .subscription-actions .button,
.woocommerce-MyAccount-content td .button {
    margin-right: 8px !important;
    margin-bottom: 5px !important;
    display: inline-block !important;
}

.woocommerce-MyAccount-content td.woocommerce-orders-table__cell-order-actions .button:last-child,
.woocommerce-MyAccount-content td.woocommerce-orders-table__cell-order-actions a.button:last-child,
.woocommerce-MyAccount-content td.woocommerce-orders-table__cell-order-actions .woocommerce-button:last-child,
.woocommerce-MyAccount-content .order-actions .button:last-child,
.woocommerce-MyAccount-content .subscription-actions .button:last-child {
    margin-right: 0 !important;
}

/* --- NAVEGAÇÃO DA MINHA CONTA SCROLLÁVEL NO MOBILE/TABLET (UX OPTIMIZATION) --- */
@media (max-width: 991px) {
    .woocommerce-MyAccount-navigation {
        width: 100% !important;
        float: none !important;
        margin-bottom: 20px !important;
    }
    .woocommerce-MyAccount-navigation ul {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 8px !important;
        padding: 5px 2px 10px 2px !important;
        margin: 0 !important;
        list-style: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
        scrollbar-width: thin !important;
        scrollbar-color: #cd901f rgba(255, 255, 255, 0.05) !important;
    }
    /* Barra de rolagem sutil para indicar o scroll no mobile/tablet */
    .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
        height: 3px !important;
        display: block !important;
    }
    .woocommerce-MyAccount-navigation ul::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05) !important;
        border-radius: 2px !important;
    }
    .woocommerce-MyAccount-navigation ul::-webkit-scrollbar-thumb {
        background: #cd901f !important;
        border-radius: 2px !important;
    }
    .woocommerce-MyAccount-navigation-link {
        flex: 0 0 38% !important; /* Garante que 2.6 itens apareçam na tela (o 3º fica cortado pela metade) */
        max-width: 150px !important; /* Limita em telas maiores como tablets */
        margin: 0 !important;
        display: inline-block !important;
    }
    .woocommerce-MyAccount-navigation-link a {
        padding: 8px 10px !important;
        font-size: 11px !important;
        white-space: normal !important; /* Permite quebra de linha se o texto for longo */
        text-align: center !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 42px !important; /* Altura constante para alinhar todas as pílulas */
        line-height: 1.2 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        border-radius: 4px !important;
        box-sizing: border-box !important;
    }
}

/* --- ESTILIZAÇÃO DO BOTÃO "TROCAR ASSINATURA" (SWITCH SUBSCRIPTION) --- */
.woocommerce-MyAccount-content .button.switch,
.woocommerce-MyAccount-content a.button.switch,
.woocommerce-MyAccount-content .woocommerce-button.switch,
.woocommerce-MyAccount-content .wcs-switch-link,
.woocommerce-MyAccount-content a.wcs-switch-link {
    color: #ffffff !important;
    background-color: #120e0c !important;
    border: 1px solid #cd901f !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    display: inline-block !important;
}

.woocommerce-MyAccount-content .button.switch:hover,
.woocommerce-MyAccount-content a.button.switch:hover,
.woocommerce-MyAccount-content .woocommerce-button.switch:hover,
.woocommerce-MyAccount-content .wcs-switch-link:hover,
.woocommerce-MyAccount-content a.wcs-switch-link:hover {
    color: #120e0c !important;
    background-color: #cd901f !important;
    border-color: #cd901f !important;
}

/* ==========================================================================
   LOGIN & REGISTRO UNIFICADOS (WHITE-CARD STYLE)
   ========================================================================== */

/* Escopado estritamente para a página de minha conta deslogado */
body.woocommerce-account.logged-out {
    background-color: #f7f7f7 !important; /* Fundo cinza claro da página */
}

/* Oculta os contêineres originais do Elementor para evitar interferência na página de login */
body.woocommerce-account.logged-out .entry-content .elementor-section,
body.woocommerce-account.logged-out .entry-content .elementor-container,
body.woocommerce-account.logged-out .entry-content .elementor-column,
body.woocommerce-account.logged-out .entry-content .elementor-column-wrap,
body.woocommerce-account.logged-out .entry-content .elementor-widget-wrap,
body.woocommerce-account.logged-out .entry-content .elementor-widget-container {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* Card Branco Unificado */
body.woocommerce-account.logged-out .woocommerce {
    background-color: #ffffff !important;
    border: 1px solid #e2e2e2 !important;
    border-radius: 12px !important;
    max-width: 500px !important;
    margin: 60px auto !important;
    padding: 50px 40px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
}

/* Estilo da Coluna Set (força empilhamento vertical das duas colunas originais) */
body.woocommerce-account.logged-out #customer_login,
body.woocommerce-account.logged-out .u-columns.col2-set {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Força as colunas individuais a ocuparem 100% da largura e remover floats */
body.woocommerce-account.logged-out #customer_login .u-column1,
body.woocommerce-account.logged-out #customer_login .u-column2,
body.woocommerce-account.logged-out .u-columns .col-1,
body.woocommerce-account.logged-out .u-columns .col-2 {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
}

/* Remove estilos de borda/padding dos formulários individuais */
body.woocommerce-account.logged-out .woocommerce-form-login,
body.woocommerce-account.logged-out .woocommerce-form-register {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    color: #000000 !important;
}

/* Título de IDENTIFICAÇÃO */
.dkt-login-title {
    text-align: center !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #000000 !important;
    margin-top: 0 !important;
    margin-bottom: 35px !important;
}

/* Oculta os títulos originais H2 do WooCommerce */
body.woocommerce-account.logged-out .u-column1 h2,
body.woocommerce-account.logged-out .u-column2 h2 {
    display: none !important;
}

/* Rótulos/Labels do Formulário */
body.woocommerce-account.logged-out .woocommerce-form-row label {
    color: #000000 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin-bottom: 8px !important;
    display: block !important;
    text-align: left !important;
}

/* Label especial de cadastro (Título informativo centralizado) */
body.woocommerce-account.logged-out label[for="reg_email"] {
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    margin-top: 25px !important;
    margin-bottom: 15px !important;
    border-top: 1px dashed #e2e2e2 !important;
    padding-top: 30px !important;
}

/* Inputs de Texto/E-mail/Senha */
body.woocommerce-account.logged-out .woocommerce-Input,
body.woocommerce-account.logged-out input[type="text"],
body.woocommerce-account.logged-out input[type="email"],
body.woocommerce-account.logged-out input[type="password"] {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #dcdcdc !important;
    border-radius: 6px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    font-family: 'Outfit', sans-serif !important;
    transition: border-color 0.2s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Focus nos Inputs */
body.woocommerce-account.logged-out .woocommerce-Input:focus,
body.woocommerce-account.logged-out input[type="text"]:focus,
body.woocommerce-account.logged-out input[type="email"]:focus,
body.woocommerce-account.logged-out input[type="password"]:focus {
    border-color: #000000 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Olho de Senha */
body.woocommerce-account.logged-out .woocommerce-form-row .show-password-input {
    color: #888888 !important;
    right: 15px !important;
    top: 62% !important;
}
body.woocommerce-account.logged-out .woocommerce-form-row .show-password-input:hover {
    color: #000000 !important;
}

/* Botões (Prosseguir / Cadastrar) */
body.woocommerce-account.logged-out .woocommerce-form-login__submit,
body.woocommerce-account.logged-out .woocommerce-form-register__submit,
body.woocommerce-account.logged-out .woocommerce-button.button {
    background: #111111 !important;
    color: #ffffff !important;
    border: 1px solid #111111 !important;
    border-radius: 6px !important;
    padding: 14px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    width: 100% !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease, color 0.2s ease !important;
    box-shadow: none !important;
}

/* Hover dos Botões */
body.woocommerce-account.logged-out .woocommerce-form-login__submit:hover,
body.woocommerce-account.logged-out .woocommerce-form-register__submit:hover,
body.woocommerce-account.logged-out .woocommerce-button.button:hover {
    background-color: #cd901f !important; /* Dourado da marca no hover para toque premium */
    border-color: #cd901f !important;
    color: #ffffff !important;
}

/* Checkbox Lembrar-me */
body.woocommerce-account.logged-out .woocommerce-form__label-for-checkbox {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #666666 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    cursor: pointer !important;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
}

body.woocommerce-account.logged-out .woocommerce-form__label-for-checkbox input[type="checkbox"] {
    accent-color: #111111 !important;
    width: 16px !important;
    height: 16px !important;
}

/* Link de Senha Perdida */
body.woocommerce-account.logged-out .woocommerce-LostPassword {
    margin-top: 15px !important;
    text-align: center !important;
}

body.woocommerce-account.logged-out .woocommerce-LostPassword a {
    color: #666666 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
    text-decoration: underline !important;
    transition: color 0.2s ease !important;
}

body.woocommerce-account.logged-out .woocommerce-LostPassword a:hover {
    color: #000000 !important;
}

/* Textos de Ajuda e Privacidade */
body.woocommerce-account.logged-out .woocommerce-privacy-policy-text,
body.woocommerce-account.logged-out .woocommerce-form-register p {
    color: #666666 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    margin: 15px 0 !important;
}

/* Alinhamento de Social Logins (Google) */
body.woocommerce-account.logged-out .nsl-container {
    margin-bottom: 25px !important;
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}
body.woocommerce-account.logged-out .nsl-container-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
}
body.woocommerce-account.logged-out .nsl-button {
    border-radius: 6px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 13px !important;
}

/* ── Toast de feedback do carrinho ────────────────────────────────── */
.dkt-cart-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    max-width: 420px;
    width: calc(100% - 32px);
    padding: 14px 20px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    z-index: 999999;
    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
    pointer-events: none;
    text-align: center;
}
.dkt-cart-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}
.dkt-cart-toast--error {
    background: #3a1010;
    color: #f5c6c6;
    border: 1px solid #6b2020;
}
.dkt-cart-toast--info {
    background: #1a1a0e;
    color: #efe7da;
    border: 1px solid #4a4038;
}

/* ── Stripe Payment Element no mobile ─────────────────────────────── */
@media (max-width: 767px) {
    .eael-woo-checkout .woo-checkout-payment .payment_box,
    .eael-woo-checkout .woocommerce .woo-checkout-payment #payment .payment_methods .payment_box {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        box-sizing: border-box !important;
        overflow-x: hidden;
    }

    #wc-stripe-upe-form,
    #wc-stripe-upe-element,
    .wc-stripe-upe-element {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    #wc-stripe-upe-element iframe,
    .wc-stripe-upe-element iframe {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}
