/* Força Modais Nativos Acima do Modal CF */
.mfp-bg { z-index: 1000000 !important; }
.mfp-wrap { z-index: 1000001 !important; }
.wd-popup, .wd-snackbar, .wd-toast { z-index: 1000002 !important; }
#yith-wcwl-popup-message, .yith-wcwl-popup-wrapper { z-index: 1000002 !important; }

/* Variáveis */
:root {
    --cf-catalogo-primary: #1e2830;
    --cf-catalogo-primary-hover: #31404b;
    --cf-bg-app: #f5f5f5;
    --cf-bg-card: #ffffff;
    --cf-border-light: #e6e6e6;
    --cf-text-main: #333333;
    --cf-text-muted: #666666;
}

/* Skeleton / loader do quick view */
.cf-quick-view-skeleton {
    background: #ffffff;
    z-index: 99999;
    animation: cf-modal-open 0.35s ease-out both;
}
@keyframes cf-modal-open {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes cf-skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.cf-quick-view-skeleton .cf-modal-split-layout {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: stretch;
    background: var(--cf-bg-app);
    position: relative;
}
.cf-quick-view-skeleton .cf-split-image {
    flex: 0 0 30%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.cf-quick-view-skeleton .cf-split-image .cf-skeleton-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #f8f8f8 25%, #f0f0f0 50%, #f8f8f8 75%);
    background-size: 200% 100%;
    animation: cf-skeleton-shimmer 1.5s infinite;
}
.cf-quick-view-skeleton .cf-split-image .cf-skeleton-image-placeholder svg {
    width: 64px;
    height: 64px;
    color: #d0d0d0;
    opacity: 0.6;
}
.cf-quick-view-skeleton .cf-split-content {
    flex: 0 0 70%;
    height: 100%;
    background: var(--cf-bg-app);
    display: flex;
    flex-direction: column;
    position: relative;
}
.cf-quick-view-skeleton .cf-v3-container {
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding: 50px 80px 20px 80px;
    color: var(--cf-text-main);
}
.cf-quick-view-skeleton .cf-skeleton-header {
    margin-bottom: 40px;
    animation: cf-modal-open 0.4s ease-out 0.05s both;
}
.cf-quick-view-skeleton .cf-skeleton-meta {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #d4af37;
    font-weight: 700;
    margin-bottom: 10px;
}
.cf-quick-view-skeleton .cf-skeleton-title {
    font-size: 2.8rem;
    color: #1e2830;
    font-weight: 500;
    margin: 0;
    line-height: 1.15;
}
.cf-quick-view-skeleton .cf-skeleton-lines {
    width: 100%;
    max-width: 500px;
    animation: cf-modal-open 0.45s ease-out 0.1s both;
}
.cf-quick-view-skeleton .cf-skeleton-line {
    height: 16px;
    border-radius: 8px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: cf-skeleton-shimmer 1.5s infinite;
    margin-bottom: 16px;
}
.cf-quick-view-skeleton .cf-skeleton-line-short {
    width: 60%;
}

@media (min-width: 1601px) {
    .cf-quick-view-skeleton .cf-split-image { flex: 0 0 calc(50vw - 320px); padding-left: calc(50vw - 800px); }
    .cf-quick-view-skeleton .cf-split-content { flex: 0 0 calc(50vw + 320px); }
    .cf-quick-view-skeleton .cf-v3-container { padding-right: calc(80px + (50vw - 800px)); }
}

@media (max-width: 1024px) {
    .cf-quick-view-skeleton .cf-modal-split-layout { flex-direction: column; overflow-y: auto; overflow-x: hidden; }
    .cf-quick-view-skeleton .cf-split-image { flex: 0 0 auto; min-height: 400px; width: 100%; border-right: none; border-bottom: 1px solid var(--cf-border-light); }
    .cf-quick-view-skeleton .cf-split-content { flex: 1 0 auto; overflow: visible; display: block; }
    .cf-quick-view-skeleton .cf-v3-container { padding: 35px 25px; overflow-y: visible; }
    .cf-quick-view-skeleton .cf-skeleton-title { font-size: 2.2rem; }
}

@media (max-width: 576px) {
    .cf-quick-view-skeleton .cf-split-image { min-height: auto; height: 35vh; max-height: 280px; }
}

/* Estado base do modal enquanto carrega (com dados do card) */
.cf-modal-empty .cf-split-image .image-zoom-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.cf-base-thumb-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.95;
    transition: opacity 0.3s ease;
}
.cf-modal-empty .cf-v3-container {
    animation: cf-modal-open 0.3s ease-out;
}

/* Troca suave da imagem full sobre a miniatura base */
.cf-fullscreen-modal .cf-split-image .image-zoom-wrapper {
    position: relative;
    overflow: hidden;
}
.cf-full-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 10;
    background: #fff;
}
.cf-base-thumb-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.95;
}

/* Oculta elementos padrão do grid */
.product-grid-item .wd-product-sku,
.product-grid-item .price,
.product-grid-item .wrap-price,
.product-grid-item .wd-add-btn { display: none !important; }
.product-grid-item .product-wrapper { cursor: pointer !important; }
.product-grid-item .wd-product-sku,
.product-grid-item .price,
.product-grid-item .wrap-price,
.product-grid-item .wd-add-btn { display: none !important; }
.product-grid-item .product-wrapper { cursor: pointer !important; }

/* Trava de rolagem global */
body.modal-open,
html.modal-open { overflow: hidden !important; touch-action: none; }

/* Modal fullscreen base */
.cf-fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: #fff;
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
    animation: slideUp 0.3s ease-out;
}

/* Header flutuante de botões */
.cf-fullscreen-modal .cf-modal-top-controls {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 15px;
}

.cf-fullscreen-modal .cf-modal-close-global {
    background: var(--cf-catalogo-primary);
    color: #fff;
    height: 42px;
    padding: 0 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cf-fullscreen-modal .cf-modal-close-global:hover {
    background: var(--cf-catalogo-primary-hover);
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(49, 64, 75, 0.3);
}

.cf-fullscreen-modal .cf-modal-close-global svg { width: 18px; height: 18px; }

.cf-fullscreen-modal .modal-action-icons { display: flex; gap: 10px; margin-bottom: 0; }

.cf-fullscreen-modal .modal-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--cf-catalogo-primary);
    transition: all 0.3s ease;
    background: #fff;
    width: 42px;
    height: 42px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.cf-fullscreen-modal .modal-icon-btn svg { width: 18px; height: 18px; }

.cf-fullscreen-modal .modal-icon-btn:hover,
.cf-fullscreen-modal .modal-icon-btn.is-active {
    background: var(--cf-catalogo-primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(49, 64, 75, 0.25);
}

/* Split layout desktop */
.cf-fullscreen-modal .cf-modal-split-layout {
    display: flex;
    width: 100%;
    height: 100%;
    background: var(--cf-bg-app);
    position: relative;
}

.cf-fullscreen-modal .cf-split-image {
    flex: 0 0 30%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.cf-fullscreen-modal .cf-split-image .image-zoom-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    padding: 20px;
}

.cf-fullscreen-modal .cf-split-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.2s ease-out;
}

.cf-fullscreen-modal .cf-split-content {
    flex: 0 0 70%;
    height: 100%;
    background: var(--cf-bg-app);
    display: flex;
    flex-direction: column;
    position: relative;
}

.cf-fullscreen-modal .cf-v3-container {
    flex: 1;
    overflow-y: auto;
    scroll-behavior: smooth;
    padding: 50px 80px 20px 80px;
    color: var(--cf-text-main);
}

.cf-fullscreen-modal .cf-v3-container::-webkit-scrollbar { width: 6px; }
.cf-fullscreen-modal .cf-v3-container::-webkit-scrollbar-track { background: transparent; }
.cf-fullscreen-modal .cf-v3-container::-webkit-scrollbar-thumb { background: #d0d0d0; border-radius: 4px; }

/* Trava virtual de 1600px para telas ultrawide */
@media (min-width: 1601px) {
    .cf-fullscreen-modal .cf-split-image { flex: 0 0 calc(50vw - 320px); padding-left: calc(50vw - 800px); }
    .cf-fullscreen-modal .cf-split-content { flex: 0 0 calc(50vw + 320px); }
    .cf-fullscreen-modal .cf-v3-container { padding-right: calc(80px + (50vw - 800px)); }
}

/* Produtos sugeridos embutidos */
.cf-fullscreen-modal .cf-v3-suggestions-wrapper {
    margin-top: 2rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--cf-border-light);
    padding-bottom: 2rem;
}

.cf-fullscreen-modal .cf-v3-sugg-header { text-align: center; margin-bottom: 2.5rem; }
.cf-fullscreen-modal .cf-v3-sugg-title { font-size: 2.2rem; color: var(--cf-catalogo-primary); font-weight: 400; margin: 0 0 10px 0; line-height: 1.2; }
.cf-fullscreen-modal .cf-v3-sugg-subtitle { font-size: 1rem; color: var(--cf-text-muted); margin: 0; font-weight: 300; font-style: italic; }

.cf-fullscreen-modal .cf-v3-sugg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cf-fullscreen-modal .cf-v3-sugg-card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: var(--cf-bg-card);
    transition: all 0.4s ease;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--cf-border-light);
}
.cf-fullscreen-modal .cf-v3-sugg-card-link:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06); border-color: var(--cf-catalogo-primary); }

.cf-fullscreen-modal .cf-v3-sugg-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    margin-bottom: 1.2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}
.cf-fullscreen-modal .cf-v3-sugg-image img { width: 100%; height: 100%; object-fit: contain; position: absolute; top: 0; left: 0; transition: opacity 0.5s ease; }
.cf-fullscreen-modal .cf-main-img { z-index: 2; opacity: 1; }
.cf-fullscreen-modal .cf-sec-img { z-index: 1; opacity: 0; }
.cf-fullscreen-modal .cf-v3-sugg-card-link:hover .has-sec-img .cf-main-img { opacity: 0; }
.cf-fullscreen-modal .cf-v3-sugg-card-link:hover .has-sec-img .cf-sec-img { opacity: 1; }

.cf-fullscreen-modal .cf-v3-sugg-info { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 5px; }
.cf-fullscreen-modal .cf-v3-sugg-cat { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--cf-text-muted); font-weight: 600; margin-bottom: 8px; }
.cf-fullscreen-modal .cf-v3-sugg-name { font-size: 1.05rem; color: var(--cf-catalogo-primary); margin: 0 0 6px 0; font-weight: 600; line-height: 1.4; }
.cf-fullscreen-modal .cf-v3-sugg-sku { font-size: 0.75rem; color: #888; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }

/* Header */
.cf-fullscreen-modal .cf-v3-header { padding-bottom: 0.5rem; margin-bottom: 0; }
.cf-fullscreen-modal .cf-v3-tag { color: var(--cf-text-muted); text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; font-weight: 700; margin-bottom: 10px; display: block; }
.cf-fullscreen-modal .cf-v3-title { font-size: 2.8rem; font-weight: 500; margin: 0; line-height: 1.15; color: var(--cf-catalogo-primary); letter-spacing: -0.5px; }
.cf-fullscreen-modal .cf-v3-short-desc { font-size: 1.1rem; line-height: 1.6; color: var(--cf-text-muted); margin: 15px 0 0 0; font-weight: 400; }

/* CTA */
.cf-fullscreen-modal .cf-v3-cta-wrapper { margin: 1.8rem 0 2.5rem 0; padding: 0; width: 100%; }
.cf-fullscreen-modal .cf-v3-cta-wrapper form.cart { display: flex !important; align-items: center !important; gap: 15px !important; flex-wrap: wrap; }
.cf-fullscreen-modal .cf-v3-cta-wrapper .quantity { height: 50px !important; display: flex !important; align-items: stretch !important; border: none; background: transparent; }
.cf-fullscreen-modal .cf-v3-cta-wrapper .quantity input[type="number"],
.cf-fullscreen-modal .cf-v3-cta-wrapper .quantity input[type="button"] {
    height: 100% !important;
    min-height: 50px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    border: 1px solid var(--cf-border-light);
    background: var(--cf-bg-card);
    font-weight: bold;
    color: var(--cf-catalogo-primary);
}
.cf-fullscreen-modal .cf-v3-cta-wrapper .quantity input[type="button"] { width: 45px; cursor: pointer; transition: background 0.2s; }
.cf-fullscreen-modal .cf-v3-cta-wrapper .quantity input[type="button"]:hover { background: var(--cf-bg-app); }
.cf-fullscreen-modal .cf-v3-cta-wrapper .quantity input[type="number"] { width: 55px; text-align: center; border-left: none; border-right: none; -moz-appearance: textfield; font-size: 1.1rem; }
.cf-fullscreen-modal .cf-v3-cta-wrapper .quantity input::-webkit-outer-spin-button,
.cf-fullscreen-modal .cf-v3-cta-wrapper .quantity input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cf-fullscreen-modal .cf-v3-cta-wrapper button.single_add_to_cart_button {
    height: 50px !important;
    min-height: 50px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--cf-catalogo-primary) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-size: 0.9rem !important;
    padding: 0 45px !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(49, 64, 75, 0.2) !important;
}
.cf-fullscreen-modal .cf-v3-cta-wrapper button.single_add_to_cart_button:hover { background-color: var(--cf-catalogo-primary-hover) !important; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(49, 64, 75, 0.3) !important; }

/* Variações / Conjuntos */
.cf-fullscreen-modal .cf-v3-actions-container { margin-top: 20px; }
.cf-fullscreen-modal .modal-conjunto-gallery {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
    padding-bottom: 8px;
}
.cf-fullscreen-modal .modal-conjunto-gallery::-webkit-scrollbar { height: 6px; }
.cf-fullscreen-modal .modal-conjunto-gallery::-webkit-scrollbar-track { background: transparent !important; border-radius: 4px; }
.cf-fullscreen-modal .modal-conjunto-gallery::-webkit-scrollbar-thumb { background: #d0d0d0 !important; border-radius: 4px; }

.cf-fullscreen-modal .conjunto-thumb {
    border: none;
    width: 140px;
    min-width: 140px;
    flex-shrink: 0;
    cursor: pointer;
    background-color: transparent !important;
    padding: 0;
    border-radius: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
}
.cf-fullscreen-modal .conjunto-thumb:hover { opacity: 0.8; }
.cf-fullscreen-modal .conjunto-thumb.active { opacity: 1; }
.cf-fullscreen-modal .conjunto-thumb.active img { box-shadow: 0 6px 18px rgba(49, 64, 75, 0.25); transition: box-shadow 0.3s ease; }
.cf-fullscreen-modal .conjunto-thumb img { width: 100%; height: auto; display: block; margin-bottom: auto; border-radius: 0; }
.cf-fullscreen-modal .conjunto-title { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-align: center; margin-top: 10px; line-height: 1.3; color: var(--cf-text-main); font-weight: 600; }
.cf-fullscreen-modal .conjunto-sku { font-size: 11px; color: var(--cf-text-muted); text-transform: uppercase; margin-top: 4px; text-align: center; letter-spacing: 0.5px; }

/* Galeria de fotos do produto */
.cf-fullscreen-modal .cf-product-gallery {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
    padding-bottom: 8px;
}
.cf-fullscreen-modal .cf-product-gallery::-webkit-scrollbar { height: 6px; }
.cf-fullscreen-modal .cf-product-gallery::-webkit-scrollbar-track { background: transparent !important; border-radius: 4px; }
.cf-fullscreen-modal .cf-product-gallery::-webkit-scrollbar-thumb { background: #d0d0d0 !important; border-radius: 4px; }

.cf-fullscreen-modal .cf-gallery-thumb {
    width: 105px;
    min-width: 105px;
    flex-shrink: 0;
    cursor: pointer;
    background-color: var(--cf-bg-card) !important;
    padding: 4px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid var(--cf-border-light);
}
.cf-fullscreen-modal .cf-gallery-thumb.active,
.cf-fullscreen-modal .cf-gallery-thumb:hover { border-color: var(--cf-catalogo-primary); box-shadow: 0 4px 10px rgba(49, 64, 75, 0.15); }
.cf-fullscreen-modal .cf-gallery-thumb img { width: 100%; height: auto; display: block; border-radius: 4px; }

/* Highlights */
.cf-fullscreen-modal .cf-v3-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 15px; margin-bottom: 3.5rem; }
.cf-fullscreen-modal .cf-v3-h-item { background: var(--cf-bg-card); padding: 1.5rem 10px; text-align: center; border: 1px solid var(--cf-border-light); border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02); transition: all 0.4s ease; }
.cf-fullscreen-modal .cf-v3-h-item:hover { border-color: var(--cf-catalogo-primary); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); }
.cf-fullscreen-modal .cf-v3-h-icon { width: 32px; height: 32px; margin: 0 auto 10px; color: var(--cf-catalogo-primary); opacity: 0.9; }
.cf-fullscreen-modal .cf-v3-h-label { font-size: 0.75rem; text-transform: uppercase; color: var(--cf-text-muted); letter-spacing: 1.5px; margin-bottom: 6px; font-weight: 600; }
.cf-fullscreen-modal .cf-v3-h-val { font-size: 1.1rem; font-weight: 600; color: var(--cf-catalogo-primary); }

/* Análise */
.cf-fullscreen-modal .cf-v3-analysis { margin-bottom: 4rem; }
.cf-fullscreen-modal .cf-v3-section-title { font-size: 1.25rem; color: var(--cf-catalogo-primary); text-transform: uppercase; letter-spacing: 1.5px; border-bottom: 1px solid var(--cf-border-light); padding-bottom: 12px; margin-bottom: 1.8rem; font-weight: 600; }
.cf-fullscreen-modal .cf-v3-content { font-size: 1.15rem; line-height: 1.8; color: var(--cf-text-muted); margin-bottom: 2.5rem; text-align: justify; font-weight: 400; }
.cf-fullscreen-modal .cf-v3-tip { padding: 1.8rem; background: #eaedf0; border-left: 4px solid var(--cf-catalogo-primary); font-style: italic; font-size: 1.1rem; color: var(--cf-catalogo-primary); font-weight: 500; border-radius: 0 8px 8px 0; }
.cf-fullscreen-modal .cf-v3-composition-img { margin-top: 1.5rem; width: 100%; }
.cf-fullscreen-modal .cf-v3-composition-img img { width: 100%; height: auto; display: block; border: 1px solid var(--cf-border-light); }

/* Cards de composição */
.cf-fullscreen-modal .cf-v3-specs-cards-section { margin-bottom: 3rem; }
.cf-fullscreen-modal .cf-v3-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.cf-fullscreen-modal .cf-v3-spec-card { background: var(--cf-bg-card); border: 1px solid var(--cf-border-light); border-radius: 12px; padding: 22px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02); transition: all 0.3s ease; display: flex; flex-direction: column; justify-content: flex-start; }
.cf-fullscreen-modal .cf-v3-spec-card:hover { border-color: var(--cf-catalogo-primary); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06); transform: translateY(-3px); }
.cf-fullscreen-modal .cf-v3-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; border-bottom: 1px solid var(--cf-bg-app); padding-bottom: 12px; }
.cf-fullscreen-modal .cf-v3-card-header svg { width: 20px; height: 20px; color: var(--cf-catalogo-primary); flex-shrink: 0; opacity: 0.9; }
.cf-fullscreen-modal .cf-v3-card-title { font-size: 0.85rem; text-transform: uppercase; font-weight: 700; color: var(--cf-catalogo-primary); letter-spacing: 1px; }
.cf-fullscreen-modal .cf-v3-card-body .cf-v3-detail-text { font-size: 1.05rem; color: var(--cf-text-main); line-height: 1.6; font-weight: 500; }
.cf-fullscreen-modal .cf-v3-card-body .cf-v3-detail-text a { transition: color 0.2s; color: inherit; }
.cf-fullscreen-modal .cf-v3-card-body .cf-v3-detail-text a:hover { color: var(--cf-catalogo-primary); text-decoration: underline; }
.cf-fullscreen-modal .cf-v3-card-full { grid-column: 1 / -1; }
.cf-fullscreen-modal .cf-v3-color-block { margin-bottom: 15px; }
.cf-fullscreen-modal .cf-v3-color-label { font-size: 0.8rem; text-transform: uppercase; color: var(--cf-text-muted); display: block; margin-bottom: 8px; }
.cf-fullscreen-modal .cf-v3-tools-body { display: flex; gap: 15px; flex-wrap: wrap; padding-top: 15px; border-top: 1px solid var(--cf-border-light); }
.cf-fullscreen-modal .cf-v3-tool-btn { display: inline-flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--cf-catalogo-primary); text-transform: uppercase; letter-spacing: 1px; text-decoration: none; font-weight: 600; padding: 12px 22px; background: var(--cf-bg-card); border: 1px solid var(--cf-border-light); border-radius: 30px; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02); }
.cf-fullscreen-modal .cf-v3-tool-btn:hover { background: var(--cf-catalogo-primary); color: #fff; border-color: var(--cf-catalogo-primary); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(49, 64, 75, 0.2); }
.cf-fullscreen-modal .cf-v3-tool-btn svg { width: 16px; height: 16px; }

/* Swatches e tags */
.cf-fullscreen-modal .cf-v3-swatches { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-start; }
.cf-fullscreen-modal .cf-v3-swatch-item { display: flex; align-items: center; gap: 8px; }
.cf-fullscreen-modal .cf-v3-swatch { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.15); display: inline-block; box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.05); }
.cf-fullscreen-modal .cf-v3-swatch-name { font-size: 1rem; font-weight: 500; color: var(--cf-text-main); }
.cf-fullscreen-modal .cf-v3-tags-wrapper { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 1rem; }
.cf-fullscreen-modal .cf-v3-tag-pill { background: var(--cf-bg-card); color: var(--cf-text-muted); padding: 8px 18px; font-size: 0.85rem; border-radius: 20px; text-transform: lowercase; letter-spacing: 0.5px; border: 1px solid var(--cf-border-light); font-weight: 500; transition: all 0.3s ease; cursor: pointer; }
.cf-fullscreen-modal .cf-v3-tag-pill:hover { background: var(--cf-catalogo-primary); color: #fff; border-color: var(--cf-catalogo-primary); }

/* Metallic */
.metallic-gold { background: linear-gradient(135deg, #d39d45 0%, #f7e1ad 50%, #d39d45 100%); }
.metallic-silver { background: linear-gradient(135deg, #c0c0c0 0%, #ffffff 50%, #c0c0c0 100%); }
.metallic-copper { background: linear-gradient(135deg, #b35a38 0%, #ff9e7a 50%, #b35a38 100%); }
.metallic-rosegold { background: linear-gradient(135deg, #b76e79 0%, #e0bfb8 50%, #b76e79 100%); }
.metallic-bronze { background: linear-gradient(135deg, #cd7f32 0%, #e3a857 50%, #cd7f32 100%); }

/* Fullscreen image modal */
.custom-fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    backdrop-filter: blur(5px);
}
.custom-fullscreen-modal img { max-width: 90vw; max-height: 90vh; object-fit: contain; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); transition: transform 0.2s ease-out; cursor: zoom-in; background: #fff; border-radius: 8px; }
.custom-fullscreen-modal img.zoomed { cursor: zoom-out; }
.close-fullscreen { position: absolute; top: 30px; right: 40px; color: var(--cf-catalogo-primary); font-size: 50px; font-weight: 300; cursor: pointer; z-index: 1000000; transition: color 0.3s; line-height: 1; }
.close-fullscreen:hover { color: var(--cf-catalogo-primary-hover); transform: scale(1.1); }

/* Estados de carregamento/erro do modal fullscreen */
.custom-fullscreen-modal.cf-modal-loading::after,
#custom-fullscreen-modal.cf-modal-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    margin-left: -24px;
    border: 4px solid rgba(49, 64, 75, 0.15);
    border-top-color: var(--cf-catalogo-primary, #31404b);
    border-radius: 50%;
    animation: cf-quick-view-spin 0.8s linear infinite;
    z-index: 1000001;
}

.custom-fullscreen-modal.cf-modal-error img,
#custom-fullscreen-modal.cf-modal-error img {
    display: none;
}

.custom-fullscreen-modal.cf-modal-error::after,
#custom-fullscreen-modal.cf-modal-error::after {
    content: 'Não foi possível carregar a imagem.';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--cf-text-muted, #666);
    font-size: 1.1rem;
    text-align: center;
    padding: 1rem;
    z-index: 1000001;
}

@keyframes cf-quick-view-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Checkout prompt */
.custom-checkout-prompt { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 999999; align-items: center; justify-content: center; }
.prompt-overlay { position: absolute; width: 100%; height: 100%; background: rgba(30, 40, 48, 0.65); backdrop-filter: blur(6px); cursor: pointer; }
.prompt-content { position: relative; background: #fff; padding: 50px 45px; border-radius: 16px; z-index: 1; text-align: center; max-width: 480px; width: 90%; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); border: 1px solid var(--cf-border-light); animation: slideUp 0.35s ease-out; }
.prompt-icon { width: 64px; height: 64px; margin: 0 auto 22px; background: var(--cf-catalogo-primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(30, 40, 48, 0.25); }
.prompt-icon svg { width: 32px; height: 32px; }
.prompt-content h3 { margin: 0 0 12px 0; color: var(--cf-catalogo-primary); font-size: 1.6rem; font-weight: 500; letter-spacing: -0.3px; }
.prompt-content p { color: var(--cf-text-muted); font-size: 1rem; line-height: 1.6; margin: 0 0 32px 0; }
.prompt-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-continue-shopping { background: #fff; border: 2px solid var(--cf-catalogo-primary); padding: 16px 28px; border-radius: 8px; cursor: pointer; color: var(--cf-catalogo-primary); font-weight: 600; transition: all 0.3s; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-continue-shopping:hover { background: var(--cf-catalogo-primary); color: #fff; border-color: var(--cf-catalogo-primary); }
.btn-checkout { background: var(--cf-catalogo-primary); color: #fff !important; text-decoration: none; padding: 16px 28px; border-radius: 8px; font-weight: 600; box-shadow: 0 4px 14px rgba(30, 40, 48, 0.25); transition: all 0.3s; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; display: inline-flex; align-items: center; justify-content: center; }
.btn-checkout:hover { transform: translateY(-2px); background: var(--cf-catalogo-primary-hover); box-shadow: 0 6px 20px rgba(30, 40, 48, 0.35); }
.copied-feedback { color: #10b981 !important; border-color: #10b981 !important; background: #e6fffa !important; }

@media (max-width: 576px) {
    .prompt-content { padding: 40px 25px; }
    .prompt-content h3 { font-size: 1.35rem; }
    .btn-continue-shopping, .btn-checkout { width: 100%; padding: 16px 20px; }
    .prompt-actions { flex-direction: column; }
}

@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Badge "Imagem do conjunto" no card do catálogo */
.cf-conjunto-thumbnail-wrapper {
    position: relative;
    display: block;
}
.cf-conjunto-thumbnail-wrapper .cf-conjunto-image-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(49, 64, 75, 0.85);
    color: #fff;
    font-size: 10px;
    padding: 3px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    pointer-events: none;
}

/* Modo leitura (hover reader) */
.cf-reading-focus {
    outline: 2px dashed var(--cf-catalogo-primary) !important;
    outline-offset: 2px;
    background-color: rgba(49, 64, 75, 0.05) !important;
    border-radius: 4px;
    transition: all 0.2s ease;
}

/* Hover card: painel com quantidade/botão/variações */
.product-grid-item .label_conjunto,
.product-grid-item .custom-sku-display {
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.product-grid-item.cf-hover-active .label_conjunto,
.product-grid-item.cf-hover-active .custom-sku-display {
    opacity: 0;
    transform: translateY(-5px);
    pointer-events: none;
}

@keyframes cf-panel-fade-up {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.cf-card-hover-panel {
    position: absolute;
    left: 50%;
    bottom: 6px;
    transform: translateX(-50%) translateY(20px);
    z-index: 100;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: none;
    min-width: auto;
    width: 92%;
    max-width: 240px;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
}
.product-grid-item:hover .cf-card-hover-panel,
.product-grid-item.cf-hover-active .cf-card-hover-panel {
    display: flex;
    opacity: 1;
    visibility: visible;
    animation: cf-panel-fade-up 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Sobe o texto do card e remove padding/margin inferior para o painel ocupar o espaço */
.product-grid-item .wd-product-brands,
.product-grid-item .wd-product-cats,
.product-grid-item .wd-entities-title,
.product-grid-item .product-title,
.product-grid-item .wd-product-sku,
.product-grid-item .product-sku,
.product-grid-item .price,
.product-grid-item .product-information,
.product-grid-item .product-element-bottom {
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), margin 0.35s ease, padding 0.35s ease;
}
.product-grid-item.cf-hover-active .wd-product-brands,
.product-grid-item.cf-hover-active .wd-product-cats,
.product-grid-item.cf-hover-active .wd-entities-title,
.product-grid-item.cf-hover-active .product-title,
.product-grid-item.cf-hover-active .wd-product-sku,
.product-grid-item.cf-hover-active .product-sku,
.product-grid-item.cf-hover-active .price,
.product-grid-item.cf-hover-active .product-information,
.product-grid-item.cf-hover-active .product-element-bottom {
    transform: translateY(-32px);
}
.product-grid-item.cf-hover-active,
.product-grid-item.cf-hover-active .product-element-bottom,
.product-grid-item.cf-hover-active .product-information {
    overflow: visible !important;
    z-index: 10;
}

.cf-card-hover-panel .cf-card-hover-qty,
.cf-card-hover-panel .cf-card-hover-add {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease 0.1s, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;
}
.product-grid-item.cf-hover-active .cf-card-hover-panel .cf-card-hover-qty,
.product-grid-item.cf-hover-active .cf-card-hover-panel .cf-card-hover-add {
    opacity: 1;
    transform: translateY(0);
}
.cf-card-hover-panel .cf-card-hover-add {
    transition-delay: 0.18s;
}

.cf-card-hover-qty {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    padding: 0;
}
.cf-card-hover-qty button {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: #d9d9d9 !important;
    border: none !important;
    color: #666 !important;
    font-weight: 400;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: all 0.2s;
}
.cf-card-hover-qty button:hover { background: #bdbdbd !important; color: #333 !important; }
.cf-card-hover-qty input {
    width: 52px;
    height: 30px !important;
    text-align: center;
    border: 1px solid #c0c0c0 !important;
    background: #fff !important;
    border-radius: 50px !important;
    font-size: 0.85rem !important;
    color: #1a1a1a !important;
    font-weight: 500 !important;
    padding: 0 1px !important;
    font-family: inherit, sans-serif !important;
    position: relative;
    z-index: 2;
    -moz-appearance: textfield;
}
.cf-card-hover-qty input::-webkit-outer-spin-button,
.cf-card-hover-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cf-card-hover-add,
.product-grid-item .cf-card-hover-add {
    width: 90%;
    background: #173e49 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 2px 0 !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    font-family: inherit, sans-serif !important;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
    text-align: center;
    line-height: 1;
    height: 10px !important;
    min-height: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.cf-card-hover-add:hover { background: #0f2a32 !important; }
.cf-card-hover-add.cf-added { background: #10b981 !important; }

/* Setas de variação sobre a imagem */
.cf-card-hover-arrows {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    opacity: 0;
    transition: opacity 0.25s ease;
}
.product-grid-item.cf-hover-active .cf-card-hover-arrows { opacity: 1; }
.cf-card-hover-arrows button {
    pointer-events: auto;
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: transparent;
    border: none;
    color: #000;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.2s, color 0.2s;
    box-shadow: none;
}
.cf-card-hover-arrows button:hover { color: #d39d45; transform: scale(1.15); }
.cf-card-hover-arrows button svg { width: 24px; height: 24px; stroke-width: 2; }

/* Ajusta o container da imagem para receber as setas absolutas */
.product-grid-item .product-image-link,
.product-grid-item .product-image,
.product-grid-item .wd-product-image {
    position: relative !important;
}

/* Responsivo até 1024px */
@media (max-width: 1024px) {
    .cf-fullscreen-modal .cf-modal-split-layout { flex-direction: column; overflow-y: auto; overflow-x: hidden; }
    .cf-fullscreen-modal .cf-split-image { flex: 0 0 auto; min-height: 400px; width: 100%; border-right: none; border-bottom: 1px solid var(--cf-border-light); }
    .cf-fullscreen-modal .cf-split-content { flex: 1 0 auto; overflow: visible; display: block; }
    .cf-fullscreen-modal .cf-v3-container { padding: 35px 25px; overflow-y: visible; }
    .cf-fullscreen-modal .cf-v3-title { font-size: 2.2rem; }

    .cf-fullscreen-modal .cf-v3-highlights { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .cf-fullscreen-modal .cf-v3-highlights .cf-v3-h-item:last-child:nth-child(odd) { grid-column: span 2; }
    .cf-fullscreen-modal .cf-v3-cards-grid { grid-template-columns: 1fr; }
    .cf-fullscreen-modal .cf-v3-tools-body { flex-direction: column; text-align: center; }
    .cf-fullscreen-modal .cf-v3-tool-btn { width: 100%; justify-content: center; }
    .cf-fullscreen-modal .cf-v3-sugg-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }

    .cf-fullscreen-modal .cf-modal-top-controls { top: 15px; right: 15px; gap: 8px; }
    .cf-fullscreen-modal .cf-modal-close-global { height: 40px; font-size: 11px; padding: 0 15px; }
    .cf-fullscreen-modal .modal-icon-btn { width: 40px; height: 40px; }

    .cf-fullscreen-modal .cf-v3-cta-wrapper form.cart { justify-content: space-between; flex-wrap: nowrap !important; gap: 10px !important; }
    .cf-fullscreen-modal .cf-v3-cta-wrapper .quantity { flex: 0 0 auto !important; }
    .cf-fullscreen-modal .cf-v3-cta-wrapper button.single_add_to_cart_button { width: 100% !important; flex: 1 1 auto !important; margin: 0 !important; }

    .cf-fullscreen-modal .modal-conjunto-gallery,
    .cf-fullscreen-modal .cf-product-gallery { display: grid; grid-template-columns: repeat(4, 1fr); overflow-x: visible; gap: 10px; }
    .cf-fullscreen-modal .conjunto-thumb { border: none; width: 120px; min-width: 120px; flex-shrink: 0; cursor: pointer; background-color: transparent !important; padding: 0; border-radius: 0; transition: opacity 0.3s ease; display: flex; flex-direction: column; align-items: center; }
    .cf-fullscreen-modal .conjunto-thumb img { border-radius: 0; }
    .cf-fullscreen-modal .cf-gallery-thumb { width: auto; min-width: 0; }

    .cf-card-hover-panel { display: none !important; }
    .cf-card-hover-arrows { display: none !important; }
}

/* Animação de troca de imagem ao navegar entre variações */
@keyframes cf-slide-out-left {
    to { transform: translateX(-100%); opacity: 0; }
}
@keyframes cf-slide-out-right {
    to { transform: translateX(100%); opacity: 0; }
}
@keyframes cf-slide-in-left {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes cf-slide-in-right {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.product-grid-item .product-image-link img,
.product-grid-item .product-image img,
.product-grid-item .wd-product-image img,
.product-grid-item img.cf-slide-target {
    animation-duration: 0.3s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cf-slide-out-left { animation-name: cf-slide-out-left; }
.cf-slide-out-right { animation-name: cf-slide-out-right; }
.cf-slide-in-left { animation-name: cf-slide-in-left; }
.cf-slide-in-right { animation-name: cf-slide-in-right; }

/* Single product: galeria de conjunto */
.cf-single-conjunto-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cf-catalogo-primary);
    font-weight: 600;
    margin: 1.2rem 0 0.6rem;
    text-align: center;
}
.cf-single-conjunto-gallery {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.cf-single-conjunto-gallery .conjunto-thumb {
    border: none;
    width: 140px;
    min-width: 140px;
    flex-shrink: 0;
    cursor: pointer;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cf-single-conjunto-gallery .conjunto-thumb:hover { opacity: 0.8; }
.cf-single-conjunto-gallery .conjunto-thumb.active { opacity: 1; }
.cf-single-conjunto-gallery .conjunto-thumb.active img { box-shadow: 0 6px 18px rgba(49, 64, 75, 0.25); transition: box-shadow 0.3s ease; }
.cf-single-conjunto-gallery .conjunto-thumb img { width: 100%; height: auto; display: block; border-radius: 0; }
.cf-single-conjunto-gallery .conjunto-title { font-size: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-align: center; margin-top: 10px; line-height: 1.3; color: var(--cf-text-main); font-weight: 600; }
.cf-single-conjunto-gallery .conjunto-sku { font-size: 11px; color: var(--cf-text-muted); text-transform: uppercase; margin-top: 4px; text-align: center; letter-spacing: 0.5px; }

/* Responsivo até 576px */
@media (max-width: 576px) {
    .cf-fullscreen-modal .cf-modal-close-global span { display: none; }
    .cf-fullscreen-modal .cf-modal-close-global { width: 40px; padding: 0; }
    .cf-fullscreen-modal .cf-v3-sugg-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 15px 10px; }
    .cf-fullscreen-modal .cf-v3-sugg-title { font-size: 1.8rem; }
}

/* =========================================================
   Variações empilhadas no modal (tecidos)
   ========================================================= */
.cf-fullscreen-modal .cf-variation-options,
.cf-fullscreen-modal .has-cf-variations .cf-variation-options {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.7rem;
    margin-bottom: 1rem;
    width: 100%;
}

/* Cada opção individual é uma linha horizontal: rádio → ícone → nome/SKU. */
.cf-fullscreen-modal .cf-variation-option,
.cf-fullscreen-modal .has-cf-variations .cf-variation-option,
.cf-fullscreen-modal .cf-variation-options > .cf-variation-option {
    flex-direction: row !important;
}

.cf-fullscreen-modal .cf-variation-options__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cf-text-main, #31404b);
    margin: 0 0 0.15rem;
}

/* Oculta qualquer select/tabela/form nativo de variação no modal. */
.cf-fullscreen-modal .has-cf-variations .variations_form,
.cf-fullscreen-modal .has-cf-variations .variations,
.cf-fullscreen-modal .has-cf-variations .variations tbody,
.cf-fullscreen-modal .has-cf-variations .variations tr,
.cf-fullscreen-modal .has-cf-variations .variations th,
.cf-fullscreen-modal .has-cf-variations .variations td,
.cf-fullscreen-modal .has-cf-variations select[name="attribute_pa_variacao"],
.cf-fullscreen-modal .has-cf-variations select[name="pa_variacao"],
.cf-fullscreen-modal .has-cf-variations select[name^="attribute_"],
.cf-fullscreen-modal .has-cf-variations select[data-attribute_name="attribute_pa_variacao"],
.cf-fullscreen-modal .has-cf-variations select[data-show_option_none="pa_variacao"],
.cf-fullscreen-modal .has-cf-variations .reset_variations,
.cf-fullscreen-modal .has-cf-variations .single_variation_wrap,
.cf-fullscreen-modal .has-cf-variations .woocommerce-variation {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Fallback mais amplo: qualquer select ou tabela de variações dentro do wrapper customizado. */
.cf-fullscreen-modal .has-cf-variations select,
.cf-fullscreen-modal .has-cf-variations .variations,
.cf-fullscreen-modal .has-cf-variations .reset_variations {
    display: none !important;
    visibility: hidden !important;
}

.cf-fullscreen-modal .cf-variation-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--cf-border-light, #e2e2e2);
    border-radius: 8px;
    background: #fff;
    color: var(--cf-text-main, #31404b);
    cursor: pointer;
    text-align: left;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(49, 64, 75, 0.04);
}

.cf-fullscreen-modal .cf-variation-option__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.cf-fullscreen-modal .cf-variation-option:hover {
    border-color: var(--cf-catalogo-primary, #31404b);
    box-shadow: 0 4px 12px rgba(49, 64, 75, 0.08);
}

.cf-fullscreen-modal .cf-variation-option:has(.cf-variation-option__input:checked),
.cf-fullscreen-modal .cf-variation-option.selected {
    border-color: var(--cf-catalogo-primary, #31404b);
    background: rgba(49, 64, 75, 0.04);
    box-shadow: 0 4px 12px rgba(49, 64, 75, 0.1);
}

.cf-fullscreen-modal .cf-variation-option:has(.cf-variation-option__input:checked) .cf-variation-option__icon,
.cf-fullscreen-modal .cf-variation-option.selected .cf-variation-option__icon {
    color: var(--cf-catalogo-primary, #31404b);
}

.cf-fullscreen-modal .cf-variation-option:has(.cf-variation-option__input:checked) .cf-variation-option__radio,
.cf-fullscreen-modal .cf-variation-option.selected .cf-variation-option__radio {
    border-color: var(--cf-catalogo-primary, #31404b);
}

.cf-fullscreen-modal .cf-variation-option:has(.cf-variation-option__input:checked) .cf-variation-option__radio::after,
.cf-fullscreen-modal .cf-variation-option.selected .cf-variation-option__radio::after {
    transform: scale(1);
}

.cf-fullscreen-modal .cf-variation-option__input:focus-visible + .cf-variation-option__radio {
    outline: 2px solid var(--cf-catalogo-primary, #31404b);
    outline-offset: 2px;
    border-radius: 50%;
}

.cf-fullscreen-modal .cf-variation-option__radio {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border: 2px solid var(--cf-text-muted, #7a8a96);
    border-radius: 50%;
    background: #fff;
    position: relative;
    transition: border-color 0.25s ease;
}

.cf-fullscreen-modal .cf-variation-option__radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-top: -4px;
    margin-left: -4px;
    background: var(--cf-catalogo-primary, #31404b);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.cf-fullscreen-modal .cf-variation-option__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cf-text-muted, #7a8a96);
    transition: color 0.25s ease;
}

.cf-fullscreen-modal .cf-variation-option__icon svg {
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
}

.cf-fullscreen-modal .cf-variation-option__content {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.cf-fullscreen-modal .cf-variation-option__name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
    color: inherit;
}

.cf-fullscreen-modal .cf-variation-option__sku {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--cf-text-muted, #7a8a96);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

@media (max-width: 576px) {
    .cf-fullscreen-modal .cf-variation-option {
        padding: 0.5rem 0.65rem;
        gap: 0.55rem;
    }

    .cf-fullscreen-modal .cf-variation-option__radio {
        width: 16px;
        height: 16px;
    }

    .cf-fullscreen-modal .cf-variation-option__radio::after {
        width: 7px;
        height: 7px;
        margin-top: -3.5px;
        margin-left: -3.5px;
    }

    .cf-fullscreen-modal .cf-variation-option__icon {
        width: 28px;
        height: 28px;
    }

    .cf-fullscreen-modal .cf-variation-option__name {
        font-size: 0.9rem;
    }

    .cf-fullscreen-modal .cf-variation-option__sku {
        font-size: 0.7rem;
    }
}

/* =========================================================
   Ícones de variação no card do catálogo
   ========================================================= */
.cf-card-variation-icons-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 22px;
}

.cf-card-variation-icons {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    vertical-align: middle;
}

.cf-card-variation-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: #e19e48;
    transition: color 0.25s ease, transform 0.2s ease;
    cursor: help;
}

.cf-card-variation-icon:hover,
.cf-card-variation-icon:focus {
    color: var(--cf-catalogo-primary, #31404b);
    transform: scale(1.15);
}

.cf-card-variation-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}
