.announce .container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.announce .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.announce .header h1 {
    font-size: 16px;
    color: #333;
}

.announce .clear-link {
    color: #2861a4;
    text-decoration: none;
    font-size: 14px;
}

.announce .input-title {
    font-size: 16px;
    margin-bottom: 3px;
}

.announce input[type="text"], 
.announce textarea, 
.announce select {
    /* width: 100%; */
    /* padding: 12px; */
    /* border: 1px solid #ddd; */
    /* border-radius: 4px; */
    /* font-size: 14px; */
}

.announce .subtitle {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.announce .help-link {
    color: #2861a4;
    text-decoration: none;
    font-size: 16px;
}

.announce .ad-types {
    display: flex;
    gap: 20px;
    margin: 0 0 20px 0;
}

.announce .ad-type {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
}

.announce .ad-type.selected {
    border-color: #2861a4;
    border-width: 2px;
}

.announce .ad-type h3 {
    font-size: 14px;
    margin-bottom: 8px;
}

.announce .ad-type p {
    font-size: 16px;
    color: #666;
}

.announce .continue-btn {
    background-color: #2861a4;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    font-size: 14px;
}

.announce .continue-btn:hover {
    background-color: #ffdd00;
}

.announce .required-icon {
    color: #666;
    font-size: 14px;
    margin-right: 4px;
}

/* > */

.announce #dynamic-items{
    margin: 1.8em 0;
    padding: 1em;
    border: 1px solid #2861a4;
    border-radius: 8px;
}

.announce .dynamic-items-header {
    font-size: 16px;
    color: #333;
    margin-bottom: 16px;
}


.announce .item-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
}


.announce .item-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
}


.announce .input-group {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}


.announce .input-field {
    flex: 1;
}
.announce .input-field input {
    width: 100%;
    /* padding: 8px 12px; */
    /* border: 1px solid #ddd; */
    /* border-radius: 4px; */
    font-size: 14px;
}

.announce .input-field label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.announce .currency-prefix {
    position: relative;
}

.announce .currency-prefix input {
    padding-left: 29px;
}

.announce .currency-prefix:before {
    content: "R$";
    position: absolute;
    left: 8px;
    top: 33px;
    color: #666;
    font-size: 14px;
    z-index: 999
}

.announce .remove-button {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 18px;
    padding: 4px;
}

.announce .remove-button:hover {
    color: #333;
}

.announce .dynamic-items{
    margin-bottom: 2.2em;
}

.announce .add-item-button {
    background-color: #2861a4;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    /* display: flex; */
    align-items: center;
    gap: 8px;
    width: 100%;
}

.announce .add-item-button:hover {
    background-color: #ffdd00;
}

.announce .add-item-button:before {
    content: "+";
    font-size: 16px;
}

.announce .info-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    font-size: 14px;
    color: #666;
    cursor: help;
    margin-left: 8px;
}




.section-how-to-contract {
    /* min-height: 100vh; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: url(https://fastdomain.com.br/wp-content/themes/fastdomain/assets/image/bgs/background-faqs.jpg); */
    background-repeat: no-repeat;
    background-size: contain;
}

.section-how-to-contract .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.section-how-to-contract .title {
    font-size: 3.5rem;
    color: #00875A;
    margin-bottom: 70px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.section-how-to-contract .steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    position: relative;
}

.section-how-to-contract .step {
    flex: 1;
    padding: 0px 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.section-how-to-contract .step:nth-child(2) {
    animation-delay: 0.2s;
}

.section-how-to-contract .step:nth-child(3) {
    animation-delay: 0.4s;
}

.section-how-to-contract .step-number {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #eacc00;
    margin: 0 auto 30px;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.section-how-to-contract .step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
    background: #ffde00;
    color: white;
}

.section-how-to-contract .step-title {
    font-size: 1.8rem;
    color: var(--main-font-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.section-how-to-contract .step-description {
    font-size: 1rem;
    color: var(--main-font-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.section-how-to-contract .contact-link {
    color: #00875A;
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.section-how-to-contract .contact-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00875A;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.section-how-to-contract .contact-link:hover::after {
    transform: scaleX(1);
}

.section-how-to-contract .steps-container::before {
    content: '';
    position: absolute;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    width: 52%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #00875a7a 20%, #00875a70 68%, transparent 100%);
    opacity: 0.2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .section-how-to-contract .steps-container {
        flex-direction: column;
        gap: 60px;
    }

    .section-how-to-contract .steps-container::before {
        display: none;
    }

    .section-how-to-contract .title {
        font-size: 2.5rem;
        margin-bottom: 60px;
    }
}


/* > */
.announce .upload-area {
    width: 100%;
    margin: 0 auto;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: #fff;
}

.announce .upload-area.dragover {
    border-color: #3498db;
    background: #f7f9fc;
}

.announce .upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 15px;
    background: #f0f0f0;
    border-radius: 50%;
    padding: 15px;
}

.announce .upload-icon svg {
    width: 100%;
    height: 100%;
    color: #666;
}

.announce .upload-text {
    margin-bottom: 15px;
    color: #666;
}

.announce .upload-button {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.announce .upload-button:hover {
    background: #2980b9;
}

.announce .file-input {
    display: none;
}

.announce .cropper-container {
    display: none;
    margin: 0 auto 4em;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 10%);
    border: 1px solid #e1e1e1;
}

.announce .cropper-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.announce .cropper-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.announce .cropper-actions {
    display: flex;
    gap: 10px;
}

.announce .cropper-button {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.announce .cropper-button.cancel {
    background: #f1f1f1;
    border: 1px solid #ddd;
    color: #666;
}

.announce .cropper-button.apply {
    background: #3498db;
    border: none;
    color: white;
}

.announce .crop-area {
    position: relative;
    width: 100%;
    max-width: 825px;
    height: 490px;
    overflow: hidden;
    background: #f0f0f0;
    border-radius: 4px;
}

.announce .crop-img {
    position: absolute;
    max-width: none;
    cursor: move;
}

.announce .crop-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid #3498db;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.announce .resize-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #3498db;
    border-radius: 50%;
}

.announce .resize-handle.nw { top: -5px; left: -5px; cursor: nw-resize; }
.announce .resize-handle.ne { top: -5px; right: -5px; cursor: ne-resize; }
.announce .resize-handle.sw { bottom: -5px; left: -5px; cursor: sw-resize; }
.announce .resize-handle.se { bottom: -5px; right: -5px; cursor: se-resize; }

.announce .helper-text {
    margin-top: 10px;
    color: #666;
    font-size: 13px;
}

/* Estilos do carrinho */
.cart-product {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.cart-product:last-child {
    border-bottom: none;
}

.cart-product .thumb img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-product .info {
    flex: 1;
}

.cart-product .info .title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.cart-product .info .price {
    color: #007bff;
    font-weight: 500;
    font-size: 14px;
}

.cart-product .info .quantity {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-product .info .quantity button {
    margin-left: 8px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 2px 6px;
    font-size: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cart-product .info .quantity button:hover {
    background: #c82333;
}

.cart-count {
    background: #007bff;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

/* Animação para notificações */
.cart-notification {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Estilos específicos da página de carrinho */
.btn-gradient {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    color: white;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #007bff;
    border: 2px solid #007bff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
    text-decoration: none;
}

.btn-small {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
}

.btn-fullwidth {
    width: 100%;
    justify-content: center;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Melhorias nos estilos do dropdown do carrinho */
#cart-dropdown {
    min-width: 350px;
    max-height: 400px;
    overflow-y: auto;
}

#cart-dropdown .cart-wrapper {
    max-height: 250px;
    overflow-y: auto;
}

/* Animações suaves */
.cart-item {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo para valores de desconto */
.discount-value {
    color: #28a745 !important;
    font-weight: 600;
}

/* Loading state */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Espaçamento global para ícones em botões */
.btn .crumina-icon {
    margin-right: 8px;
}

.btn .crumina-icon:only-child {
    margin-right: 0;
}

/* Correções para nice-select2 em português */
.nice-select .current {
    color: #333;
}

.nice-select .current:empty::after {
    content: 'Selecione uma opção';
    color: #999;
}

/* Estilos para botão de favoritar */
.fav-counter {
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fav-counter:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.fav-counter.favorited svg {
    fill: #ff6b6b !important;
    stroke: #ff6b6b !important;
}

.fav-counter svg {
    width: 18px;
    height: 18px;
    transition: all 0.3s ease;
    fill: transparent;
    stroke: #666;
    stroke-width: 2;
}

.fav-counter .count {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    min-width: 20px;
    text-align: center;
}

.fav-counter:hover svg {
    stroke: #ff6b6b;
}

/* Posicionamento do botão no card */
.featured-item-content {
    position: relative;
}

.featured-item-content .fav-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    display: none;
}

/* Animação de pulso quando favoritado */
.fav-counter.favorited {
    animation: favoritePulse 0.3s ease-in-out;
}

@keyframes favoritePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Responsividade */
@media (max-width: 768px) {
    .fav-counter {
        padding: 4px 8px;
    }
    
    .fav-counter svg {
        width: 16px;
        height: 16px;
    }
    
    .fav-counter .count {
        font-size: 12px;
    }
}

.cryptoki-form{
    margin: 1em 1em 0 0;
}