/*-----------------------------------------------------------------------------
    ARK7 Productions - Custom CSS
    Customizações específicas do site ARK7
-----------------------------------------------------------------------------*/

/* ==========================================================================
   MENU - Ajustes de espaçamento
   ========================================================================== */

#mainmenu,
#mainmenu li a {
    letter-spacing: 0 !important;
    font-size: 12px !important;
}

#mainmenu > li {
    margin: 0 3px !important;
}

#mainmenu > li > a {
    padding: 0 2px !important;
    letter-spacing: 0 !important;
}

/* Reduzir espaço das bolinhas separadoras */
#mainmenu li a:after {
    margin-left: 8px !important;
    font-size: 4px !important;
}

/* ==========================================================================
   HEADER - Layout Flexbox (apenas desktop)
   ========================================================================== */

@media (min-width: 993px) {
    /* Container principal do header */
    header:not(.header-mobile) .md-flex {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        height: 80px;
        gap: 15px;
    }

    /* Logo - primeiro item */
    header:not(.header-mobile) #logo {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        height: auto !important;
        flex-shrink: 0;
        order: 1 !important;
    }

    /* Esconder botão hamburger no desktop */
    header:not(.header-mobile) #menu-btn {
        display: none !important;
    }

    /* Extra menu no desktop - esconder float, usar order */
    header:not(.header-mobile) #de-extra-menu {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        order: 3 !important;
        margin: 0 !important;
    }

    /* Navegação - após a logo */
    header:not(.header-mobile) .md-flex-col {
        display: flex !important;
        align-items: center !important;
        order: 2 !important;
        flex: 1;
    }

    header:not(.header-mobile) .md-flex-col nav {
        float: none !important;
        display: flex !important;
        align-items: center !important;
    }

    header:not(.header-mobile) #mainmenu {
        display: flex !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    header:not(.header-mobile) #mainmenu > li {
        display: flex !important;
        align-items: center !important;
    }

    header:not(.header-mobile) #mainmenu > li > a {
        display: flex !important;
        align-items: center !important;
        height: 28px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 1 !important;
    }

    /* Área extra (idioma, carrinho) - à direita */
    header:not(.header-mobile) .md-flex-col.col-extra {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 10px;
        margin-left: auto !important;
        flex-shrink: 0;
        order: 3 !important;
    }

    /* Seletor de idioma - centralizado */
    header:not(.header-mobile) .language-selector {
        display: inline-flex !important;
        align-items: center !important;
        height: 28px;
    }

    /* Ícone do carrinho - mesma altura */
    header:not(.header-mobile) .d-cart-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 28px;
        font-size: 16px;
    }

    /* Telefone no menu - destaque */
    #mainmenu .menu-phone {
        font-weight: 600 !important;
    }

    #mainmenu .menu-phone i {
        margin-right: 5px;
    }
}

/* ==========================================================================
   HEADER - Container Direito (idioma + carrinho + hamburger)
   ========================================================================== */

/* Container direito - sempre visível e à direita */
#header-right-container {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 100;
}

/* Esconder hamburger no desktop */
@media (min-width: 993px) {
    #header-right-container #menu-btn {
        display: none !important;
    }
}

/* ==========================================================================
   HEADER - Mobile/Responsivo (tablet e menor)
   ========================================================================== */

@media (max-width: 992px) {
    /* Esconder qualquer menu-btn fora do nosso container */
    header > .container #menu-btn:not(#header-right-container #menu-btn),
    .md-flex > #menu-btn {
        display: none !important;
    }

    /* Container direito no mobile - FIXED para não descer com o menu */
    #header-right-container {
        position: fixed !important;
        right: 15px !important;
        top: 18px !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        gap: 20px !important;
        z-index: 10000 !important;
    }

    /* Hamburger visível no mobile */
    #header-right-container #menu-btn {
        display: block !important;
        position: relative !important;
        float: none !important;
        margin: 0 !important;
        margin-left: 5px !important;
    }

    /* Carrinho */
    .d-cart-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        position: relative !important;
        font-size: 18px;
        padding-right: 5px !important;
    }

    .d-cart-icon-count {
        position: absolute !important;
        top: -5px !important;
        right: -8px !important;
        min-width: 16px;
        width: auto;
        height: 16px;
        line-height: 16px;
        font-size: 9px;
        padding: 0 4px;
        border-radius: 10px;
    }

    /* Idioma */
    .language-selector {
        display: inline-flex !important;
        align-items: center !important;
    }

    .lang-current-btn {
        padding: 5px 10px;
        font-size: 12px;
        height: 28px;
    }

    /* Dropdown de idiomas - abre para a esquerda */
    .lang-dropdown {
        right: 0;
        left: auto;
    }

    /* Telefone no menu mobile */
    #mainmenu .menu-phone {
        font-weight: 600;
    }
}

/* Mobile pequeno - ajuste extra */
@media (max-width: 480px) {
    #header-right-container {
        gap: 12px !important;
        right: 10px !important;
        top: 15px !important;
    }

    .lang-current-btn {
        padding: 4px 8px;
        font-size: 11px;
        height: 24px;
    }

    .d-cart-icon {
        font-size: 16px;
    }
}

/* ==========================================================================
   PORTFOLIO - Usando Bootstrap Grid do template original
   ========================================================================== */

/* Reduz espaçamento entre as imagens do portfólio */
#gallery.gallery.row {
    margin-left: -2px !important;
    margin-right: -2px !important;
}

#gallery.gallery [class*="col-"] {
    padding-left: 2px !important;
    padding-right: 2px !important;
    margin-bottom: 4px !important;
}

/* Força proporção 4:3 nas thumbs do portfólio */
#gallery.gallery .picframe img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   SELETOR DE IDIOMAS - DROPDOWN
   ========================================================================== */

.language-selector {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
}

/* Botão principal que mostra o idioma atual */
.lang-current-btn {
    background: none;
    border: 1px solid #999;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    color: #333;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    height: 28px;
}

.lang-current-btn:hover {
    border-color: #333;
    background: #f5f5f5;
}

.lang-current-btn i {
    font-size: 8px;
    transition: transform 0.3s ease;
}

/* Dropdown container */
.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 100%;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    margin-top: 5px;
}

/* Mostrar dropdown ao hover ou quando aberto */
.language-selector:hover .lang-dropdown,
.language-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-selector:hover .lang-current-btn i,
.language-selector.open .lang-current-btn i {
    transform: rotate(180deg);
}

/* Itens do dropdown */
.lang-dropdown .lang-btn {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 6px 10px;
    font-size: 11px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    color: #333;
    text-align: left;
    transition: all 0.2s ease;
}

.lang-dropdown .lang-btn:hover {
    background: #f5f5f5;
}

.lang-dropdown .lang-btn.active {
    background: #1a1a1a;
    color: #fff;
}

.lang-dropdown .lang-btn:first-child {
    border-radius: 3px 3px 0 0;
}

.lang-dropdown .lang-btn:last-child {
    border-radius: 0 0 3px 3px;
}

/* Versão para header light */
.header-light .lang-current-btn {
    border-color: #999;
    color: #333;
}

.header-light .lang-current-btn:hover {
    border-color: #333;
    background: #f5f5f5;
}

/* Mobile adjustments */
@media (max-width: 992px) {
    .language-selector {
        margin: 10px 0;
    }

    .lang-dropdown {
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
    }

    .language-selector:hover .lang-dropdown,
    .language-selector.open .lang-dropdown {
        transform: translateX(-50%) translateY(0);
    }
}

/* ==========================================================================
   FORM STYLES (complemento)
   ========================================================================== */

.error_mensagem {
    background-color: #d1232a;
    color: #fff;
    padding: 1%;
    text-align: center;
    font-size: 18px;
    display: none;
    position: relative;
}

.mensagem_enviando {
    display: none;
    line-height: 0.5;
}

.enviando {
    position: relative;
    top: -8px;
}

/* ==========================================================================
   LOJA / SHOP
   ========================================================================== */

/* Filtros de categoria */
.shop-filters {
    margin-bottom: 30px;
}

.shop-filters .btn-filter {
    display: inline-block;
    padding: 10px 20px;
    margin: 5px;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.shop-filters .btn-filter:hover,
.shop-filters .btn-filter.active {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

/* Grid de produtos */
.products {
    list-style: none;
    padding: 0;
    margin: 0;
}

.products .product {
    margin-bottom: 30px;
}

.products .p-inner {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    transition: all 0.3s ease;
    text-align: center;
}

.products .p-inner:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.products .p-images {
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.products .p-images img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.products .p-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f44336;
    color: #fff;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.products .product-name {
    font-size: 16px;
    margin: 10px 0;
    color: #333;
}

.products .p-category {
    color: #999;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.products .price {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.products .btn-add-cart {
    width: 100%;
}

/* ==========================================================================
   CARRINHO / CART
   ========================================================================== */

/* Ícone do carrinho no header */
.d-cart-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    color: #333;
    font-size: 16px;
    height: 28px;
    width: 28px;
}

.d-cart-icon:hover {
    color: #000;
}

.d-cart-icon-count {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #f44336;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
}

/* Tabela do carrinho */
.table-cart {
    width: 100%;
    background: #fff;
}

.table-cart th {
    background: #f5f5f5;
    padding: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    border-bottom: 2px solid #eee;
}

.table-cart td {
    padding: 20px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #eee;
}

/* Item do carrinho */
.d-cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.d-cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.d-cart-item .text {
    text-align: left;
}

.d-cart-item .text .price {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

/* Controle de quantidade */
.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.qty-control button {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.qty-control button:hover {
    background: #eee;
}

.qty-control .qty-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
    -moz-appearance: textfield;
}

.qty-control .qty-input::-webkit-outer-spin-button,
.qty-control .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Botão de remover */
.btn-remove-item {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
}

.btn-remove-item:hover .fa-trash {
    color: #c62828 !important;
}

/* Resumo do carrinho */
.d-summary {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
}

.d-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
}

.d-summary .de-flex {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.d-summary .total-line {
    font-size: 18px;
}

.d-summary .spacer-line {
    height: 1px;
    background: #ddd;
    margin: 15px 0;
}

/* Ações do carrinho */
.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Carrinho vazio */
#cart-empty {
    background: #f9f9f9;
    padding: 50px;
    border-radius: 8px;
}

#cart-empty i {
    color: #ccc;
    margin-bottom: 20px;
}

/* Notificação do carrinho */
.cart-notification {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal de checkout */
#checkoutModal .modal-content {
    border-radius: 8px;
}

#checkoutModal .modal-header {
    background: #1a1a1a;
    color: #fff;
    border-radius: 8px 8px 0 0;
}

#checkoutModal .btn-close {
    filter: invert(1);
}

#checkoutModal .form-control {
    padding: 12px 15px;
    border-radius: 4px;
}

#checkoutModal .form-control:focus {
    border-color: #333;
    box-shadow: none;
}

/* Botões customizados */
.btn-custom {
    display: inline-block;
    padding: 12px 30px;
    background: #1a1a1a;
    color: #fff !important;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-custom:hover {
    background: #333;
}

.btn-fullwidth {
    width: 100%;
    text-align: center;
}

/* Responsivo - Carrinho */
@media (max-width: 768px) {
    .d-cart-item {
        flex-direction: column;
        text-align: center;
    }

    .d-cart-item img {
        margin-bottom: 10px;
    }

    .table-cart th,
    .table-cart td {
        padding: 10px;
    }

    .cart-actions {
        flex-direction: column;
    }

    .cart-actions .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Responsivo - Extra Menu (carrinho + idiomas) - regra removida, já definido acima */

/* ==========================================================================
   CARRINHO SIDEBAR (Lateral)
   ========================================================================== */

/* Overlay escuro */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    display: block;
    opacity: 1;
}

/* Sidebar do carrinho */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
}

.cart-sidebar.active {
    right: 0;
}

/* Header do sidebar */
.cart-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #1a1a1a !important;
    color: #fff !important;
}

.cart-sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    color: #fff !important;
}

.cart-sidebar-header h3 i {
    color: #fff !important;
}

.cart-sidebar-close {
    background: none;
    border: none;
    color: #fff !important;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.cart-sidebar-close:hover {
    color: #f44336 !important;
}

/* Conteúdo do sidebar */
.cart-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Loading */
.cart-sidebar-loading {
    text-align: center;
    padding: 50px 20px;
    color: #999;
}

.cart-sidebar-loading i {
    display: block;
    margin-bottom: 15px;
}

/* Carrinho vazio */
.cart-sidebar-empty {
    text-align: center;
    padding: 50px 20px;
    color: #999;
}

.cart-sidebar-empty i {
    display: block;
    margin-bottom: 15px;
    color: #ddd;
}

.cart-sidebar-empty p {
    margin-bottom: 20px;
}

/* Lista de itens no sidebar */
.cart-sidebar-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Item individual no sidebar */
.cart-sidebar-item {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cart-sidebar-item:last-child {
    border-bottom: none;
}

.cart-sidebar-item-img {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-sidebar-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-sidebar-item-info {
    flex: 1;
    min-width: 0;
}

.cart-sidebar-item-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-sidebar-item-price {
    color: #666;
    font-size: 13px;
    margin-bottom: 8px;
}

.cart-sidebar-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-sidebar-item-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.cart-sidebar-item-qty button {
    width: 28px;
    height: 28px;
    border: none;
    background: #f5f5f5;
    cursor: pointer;
    font-size: 14px;
}

.cart-sidebar-item-qty button:hover {
    background: #eee;
}

.cart-sidebar-item-qty input {
    width: 35px;
    height: 28px;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    text-align: center;
    font-size: 13px;
    -moz-appearance: textfield;
}

.cart-sidebar-item-qty input::-webkit-outer-spin-button,
.cart-sidebar-item-qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-sidebar-item-remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    padding: 5px;
}

.cart-sidebar-item-remove:hover {
    color: #f44336;
}

/* Footer do sidebar */
.cart-sidebar-footer {
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #eee;
}

.cart-sidebar-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 18px;
}

.cart-sidebar-total strong {
    font-size: 22px;
    color: #1a1a1a;
}

.cart-sidebar-actions {
    display: flex;
    gap: 10px;
}

.cart-sidebar-actions .btn-line,
.cart-sidebar-actions .btn-custom,
.cart-sidebar-actions button,
.cart-sidebar-actions a {
    flex: 1;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    height: 42px;
    padding: 0 15px !important;
    white-space: nowrap;
    text-decoration: none;
}

/* Remover setas dos botões do carrinho */
.cart-sidebar-actions .btn-line::after,
.cart-sidebar-actions .btn-custom::after,
.cart-sidebar-actions button::after,
.cart-sidebar-actions a::after {
    display: none !important;
    content: none !important;
}

.cart-sidebar-actions .btn-custom {
    flex: 2;
    background: #1a1a1a;
    color: #fff !important;
    border: none;
    border-radius: 4px;
}

.cart-sidebar-actions .btn-custom:hover {
    background: #333;
}

.cart-sidebar-actions .btn-line {
    background: transparent;
    border: 1px solid #333;
    color: #333 !important;
    border-radius: 4px;
}

.cart-sidebar-actions .btn-line:hover {
    background: #f5f5f5;
}

/* Responsivo - Sidebar */
@media (max-width: 480px) {
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .cart-sidebar-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-sidebar-item-img {
        width: 100%;
        height: 150px;
    }
}

/* Body com sidebar aberto - bloquear scroll */
body.cart-sidebar-open {
    overflow: hidden;
}

/* ==========================================================================
   MODAL DE CONFIRMAÇÃO CUSTOMIZADO
   ========================================================================== */

.confirm-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirm-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.confirm-modal {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.confirm-modal-overlay.active .confirm-modal {
    transform: scale(1);
}

.confirm-modal-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: #fff3cd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.confirm-modal-icon i {
    font-size: 32px;
    color: #856404;
}

.confirm-modal-icon.danger {
    background: #f8d7da;
}

.confirm-modal-icon.danger i {
    color: #721c24;
}

.confirm-modal-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.confirm-modal-message {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.5;
}

.confirm-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.confirm-modal-buttons button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-confirm-cancel {
    background: #f5f5f5;
    color: #666;
}

.btn-confirm-cancel:hover {
    background: #e0e0e0;
}

.btn-confirm-ok {
    background: #dc3545;
    color: #fff;
}

.btn-confirm-ok:hover {
    background: #c82333;
}

/* Responsivo */
@media (max-width: 480px) {
    .confirm-modal {
        padding: 25px 20px;
    }

    .confirm-modal-buttons {
        flex-direction: column;
    }

    .confirm-modal-buttons button {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   CARDS DE PRODUTO (Home e Loja)
   ========================================================================== */

.de__pcard {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.de__pcard:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Container de imagens */
.de__pcard .atr__images {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f5f5f5;
}

.de__pcard .atr__images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.de__pcard:hover .atr__images img {
    transform: scale(1.05);
}

/* Badge de destaque/promo */
.de__pcard .atr__promo {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #f44336;
    color: #fff;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 2;
}

/* Menu extra (visualizar, carrinho) */
.de__pcard .atr__extra-menu {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.de__pcard:hover .atr__extra-menu {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.de__pcard .atr__extra-menu > * {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: none;
    border-radius: 50%;
    color: #333;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.de__pcard .atr__extra-menu > *:hover {
    background: #1a1a1a;
    color: #fff;
}

/* Título do produto */
.de__pcard h3 {
    margin: 0;
    padding: 15px 15px 5px;
    font-size: 16px;
    font-weight: 600;
}

.de__pcard h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.de__pcard h3 a:hover {
    color: #666;
}

/* Categoria */
.de__pcard .atr__category {
    padding: 0 15px;
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Preço */
.de__pcard .atr__main-price {
    padding: 10px 15px 20px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Botão add to cart na home */
.btn-add-cart-home {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* Responsivo */
@media (max-width: 768px) {
    .de__pcard .atr__extra-menu {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    .de__pcard .atr__extra-menu > * {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}

/* ==========================================================================
   LIGHTBOX (Magnific Popup) - Botão Fechar
   ========================================================================== */

/* Botão X de fechar - posição fixa no canto superior direito */
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    text-align: center !important;
    padding: 0 !important;
    background: rgba(0, 0, 0, 0.6) !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 28px !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    z-index: 9999 !important;
}

.mfp-image-holder .mfp-close:hover,
.mfp-iframe-holder .mfp-close:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    transform: scale(1.1) !important;
}

/* Contador de imagens - posição ajustada */
.mfp-counter {
    position: fixed !important;
    top: 25px !important;
    left: 20px !important;
    right: auto !important;
    color: #fff !important;
    font-size: 14px !important;
    background: rgba(0, 0, 0, 0.6) !important;
    padding: 8px 15px !important;
    border-radius: 20px !important;
}

/* Mobile - ajustes */
@media (max-width: 768px) {
    .mfp-image-holder .mfp-close,
    .mfp-iframe-holder .mfp-close {
        top: 15px !important;
        right: 15px !important;
        width: 40px !important;
        height: 40px !important;
        line-height: 40px !important;
        font-size: 24px !important;
    }

    .mfp-counter {
        top: 20px !important;
        left: 15px !important;
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
}

/* ==========================================================================
   CAROUSEL DE PRODUTOS - Swiper Full Width
   ========================================================================== */

.products-carousel {
    padding: 20px 60px 60px;
    position: relative;
}

.products-carousel .swiper-slide {
    height: auto;
}

/* Card do Produto */
.product-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    padding: 15px;
    margin: 10px;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Imagem com Zoom */
.product-card .product-zoom {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-card .product-zoom img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.product-card:hover .product-zoom img {
    transform: scale(1.08);
}

/* Ícone de Zoom */
.product-card .zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #333;
    transition: all 0.3s ease;
    opacity: 0;
}

.product-card:hover .zoom-icon {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Título do Produto */
.product-card h4 {
    font-size: 18px;
    margin: 12px 0 10px;
    color: #333;
    font-weight: 600;
}

.product-card .btn-line {
    display: inline-block;
    padding: 10px 20px;
    font-size: 14px;
    position: relative;
}

/* Hover branco */
.product-card .btn-line:hover {
    color: #fff !important;
}

/* Seta no botão Available */
.product-card .btn-line:after {
    position: relative !important;
    padding-left: 8px !important;
    font-size: 12px !important;
    transition: all 0.3s ease;
}

.product-card .btn-line:hover:after {
    padding-left: 12px !important;
    color: #fff !important;
}

/* Navegação do Carousel */
.products-carousel .swiper-button-next,
.products-carousel .swiper-button-prev {
    color: #333;
    background: rgba(255,255,255,0.95);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 3px 15px rgba(0,0,0,0.15);
}

.products-carousel .swiper-button-next:after,
.products-carousel .swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.products-carousel .swiper-button-next:hover,
.products-carousel .swiper-button-prev:hover {
    background: #333;
    color: #fff;
}

/* Paginação */
.products-carousel .swiper-pagination {
    bottom: 10px;
}

.products-carousel .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    opacity: 1;
}

.products-carousel .swiper-pagination-bullet-active {
    background: #333;
}

/* Responsivo */
@media (max-width: 992px) {
    .product-card .product-zoom img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .products-carousel {
        padding: 20px 15px 50px;
    }

    .products-carousel .swiper-button-next,
    .products-carousel .swiper-button-prev {
        display: none;
    }

    .product-card .product-zoom img {
        height: 200px;
    }

    .product-card .zoom-icon {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ==========================================================================
   GLIGHTBOX - Customização
   ========================================================================== */

/* Botão X - Branco e Visível */
.gclose,
.glightbox-clean .gclose {
    background: rgba(0, 0, 0, 0.6) !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    top: 20px !important;
    right: 20px !important;
}

.gclose svg,
.glightbox-clean .gclose svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #fff !important;
    stroke-width: 3 !important;
}

.gclose:hover,
.glightbox-clean .gclose:hover {
    background: rgba(255, 255, 255, 0.9) !important;
}

.gclose:hover svg,
.glightbox-clean .gclose:hover svg {
    stroke: #333 !important;
}

/* Setas de Navegação - Brancas e Centralizadas */
.gnext,
.gprev,
.glightbox-clean .gnext,
.glightbox-clean .gprev {
    background: rgba(0, 0, 0, 0.6) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.gnext {
    right: 20px !important;
}

.gprev {
    left: 20px !important;
}

.gnext svg,
.gprev svg,
.glightbox-clean .gnext svg,
.glightbox-clean .gprev svg {
    width: 20px !important;
    height: 20px !important;
    stroke: #fff !important;
    stroke-width: 3 !important;
}

.gnext:hover,
.gprev:hover,
.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover {
    background: rgba(255, 255, 255, 0.9) !important;
}

.gnext:hover svg,
.gprev:hover svg,
.glightbox-clean .gnext:hover svg,
.glightbox-clean .gprev:hover svg {
    stroke: #333 !important;
}

/* Mobile - Margens menores */
@media (max-width: 768px) {
    .gclose,
    .glightbox-clean .gclose {
        top: 15px !important;
        right: 15px !important;
        width: 40px !important;
        height: 40px !important;
    }

    .gnext {
        right: 15px !important;
    }

    .gprev {
        left: 15px !important;
    }

    .gnext,
    .gprev,
    .glightbox-clean .gnext,
    .glightbox-clean .gprev {
        width: 44px !important;
        height: 44px !important;
    }
}
