/* DP Add to Cart Element */
.dp-atc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    background: #202020;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity .2s, background .2s;
    position: relative;
    text-decoration: none;
    line-height: 1.4;
}

.dp-atc-btn:hover { opacity: .85; }
.dp-atc-btn:disabled { opacity: .5; cursor: not-allowed; }

.dp-atc-btn.dp-atc-oos {
    background: #e5e7eb;
    color: #999;
    cursor: not-allowed;
}

.dp-atc-icon { display: inline-flex; align-items: center; }
.dp-atc-icon i { font-size: 1em; }
.dp-atc-icon svg { width: 1em; height: 1em; }

/* Loader spinner */
.dp-atc-loader {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: dpAtcSpin .6s linear infinite;
}

@keyframes dpAtcSpin {
    to { transform: rotate(360deg); }
}

/* Variable product wrapper */
.dp-atc-variable-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.dp-atc-variation-select {
    padding: 8px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    background: #fff;
    cursor: pointer;
    min-width: 120px;
}

.dp-atc-variation-select:focus {
    outline: none;
    border-color: #FFB600;
}

/* Link variant */
.dp-atc-btn.dp-atc-link { text-decoration: none; }
.dp-atc-btn.dp-atc-link:hover { color: #fff; }
