/* ========================================
   PRODUCT CARD
======================================== */

.product-small.box {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all .35s ease;
    box-shadow: 0 6px 24px rgba(0,0,0,.05);
    border: 1px solid rgba(0,0,0,.04);
}

.product-small.box:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

/* ========================================
   IMAGE
======================================== */

.product-small .box-image {
    background: #fafafa;
    padding: 18px;
}

.product-small .box-image img {
    transition: transform .45s ease;
}

.product-small:hover .box-image img {
    transform: scale(1.04);
}

/* ========================================
   TITLE
======================================== */

.product-small .name.product-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 8px;
    min-height: 54px;
}

/* ========================================
   PRICE
======================================== */

.product-small .price {
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

.product-small del {
    opacity: .45;
}

/* ========================================
   SWATCHES
======================================== */

.ux-swatches {
    margin-top: 14px;
    margin-bottom: 18px;
}

.ux-swatch {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    border: 2px solid #fff !important;
    box-shadow: 0 0 0 1px rgba(0,0,0,.12);
    transition: all .25s ease;
}

.ux-swatch:hover {
    transform: scale(1.12);
}

.ux-swatch.selected,
.ux-swatch.st-selected {
    transform: scale(1.12);
    box-shadow:
        0 0 0 2px #ff7a1a,
        0 8px 18px rgba(255,122,26,.3);
}

/* ========================================
   CUSTOM CART AREA
======================================== */

.stelya-box {
    margin-top: 16px;
}

.stelya-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ========================================
   QUANTITY INPUT
======================================== */

.stelya-qty {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    overflow: hidden;
    min-width: 118px;
    height: 52px;
}

.st-minus,
.st-plus {
    display: none !important;
}

.st-qty-input {
    width: 68px !important;
    height: 50px !important;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-size: 18px !important;
    font-weight: 600;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.st-unit {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-right: 14px;
    white-space: nowrap;
}

/* ========================================
   BUTTON
======================================== */

.st-cart-btn,
.st-simple-btn {
    min-height: 52px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg,#ff8d32,#ff6a00) !important;
    border: none !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 0 26px !important;
    box-shadow: 0 12px 28px rgba(255,122,26,.28);
    transition: all .25s ease;
}

.st-cart-btn:hover,
.st-simple-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(255,122,26,.35);
}

.st-cart-btn.disabled {
    opacity: .55;
    box-shadow: none !important;
}

.success {
    background: linear-gradient(135deg,#2eb872,#159957) !important;
    box-shadow: 0 12px 28px rgba(46,184,114,.35) !important;
}

/* ========================================
   SUCCESS MESSAGE
======================================== */

.st-msg {
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #1f9c5c;
}

/* ========================================
   HIDE DEFAULT BUTTONS
======================================== */

.product-type-variable .add-to-cart-button,
.product-type-variable .product_type_variable,
.product-type-simple .add-to-cart-button{
    display:none!important;
}

/* ========================================
   MOBILE
======================================== */

@media(max-width:849px){

    .stelya-row {
        flex-direction: column;
        align-items: stretch;
    }

    .stelya-qty {
        width: 100%;
        justify-content: center;
    }

    .st-cart-btn,
    .st-simple-btn {
        width: 100%;
    }

}


/* ===== ALIGN BUTTON WITH QTY ===== */

.stelya-row{
    display:flex!important;
    align-items:stretch!important;
    gap:10px!important;
}

.stelya-qty{
    height:48px!important;
    display:flex!important;
    align-items:center!important;
}

.st-cart-btn,
.st-simple-btn{
    height:48px!important;
    min-height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
}

