/* =====================================================
   Add to Cart – Elementor Widget
   Version: 2.0.0
   ===================================================== */

.atc-wrapper {
    background-color: #1a1410;
    padding: 22px 26px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 1400px;
    box-sizing: border-box;
    font-family: inherit;
}

.atc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.atc-qty-block {
    display: flex;
    align-items: center;
    gap: 0;
}

.atc-qty-label {
    font-size: 12px;
    font-weight: 700;
    color: #aaaaaa;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-right: 12px;
    line-height: 1;
}

/* ── Arrow buttons — SVG triangles, no theme override ── */
.atc-qty-btn {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 6px 4px;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s;
    flex-shrink: 0;
    line-height: 1;
}
.atc-qty-btn:hover  { opacity: 0.65; background: transparent !important; }
.atc-qty-btn:active { opacity: 0.35; }
.atc-qty-btn:focus  { outline: none !important; box-shadow: none !important; }

.atc-qty-btn svg {
    display: block;
    overflow: visible;
}

/* Number input */
.atc-qty-input {
    width: 52px;
    height: 36px;
    background-color: #1e1a16 !important;
    border: 2px solid #b8922a !important;
    border-radius: 3px;
    color: #ffffff !important;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    outline: none;
    font-family: inherit;
    -moz-appearance: textfield;
    appearance: textfield;
    box-shadow: none !important;
    margin: 0 2px;
}
.atc-qty-input::-webkit-outer-spin-button,
.atc-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Price area */
.atc-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.atc-price {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1;
}
.atc-price bdi,
.atc-price-sale bdi { font-style: normal; }
.atc-price-sale {
    font-size: 28px;
    font-weight: 800;
    color: #ff6b6b;
    letter-spacing: -0.5px;
    line-height: 1;
}
.atc-price-old {
    font-size: 16px;
    font-weight: 400;
    color: #888888;
    text-decoration: line-through;
    line-height: 1;
}
.atc-price-placeholder {
    font-size: 13px;
    font-style: italic;
    opacity: 0.6;
    color: #ffffff;
}

/* Add to Cart Button */
.atc-button {
    width: 100%;
    padding: 15px 20px;
    background-color: #b8922a !important;
    border: none !important;
    border-radius: 3px;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s, transform 0.1s;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    line-height: 1;
}
.atc-button:hover    { background-color: #c9a030 !important; }
.atc-button:active   { transform: scale(0.985); }
.atc-button.atc-added { background-color: #4a8c35 !important; cursor: default; }
.atc-button:disabled  { background-color: #555555 !important; cursor: not-allowed; opacity: 0.7; }

.atc-cart-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    pointer-events: none;
}

/* Editor notice */
.atc-editor-notice {
    font-size: 11px;
    color: #b0905a;
    background: #2a1f0d;
    border: 1px dashed #b8922a;
    border-radius: 4px;
    padding: 6px 10px;
    margin: 0;
    line-height: 1.5;
}
