/**
 * Sticky Add to Cart Button - Mobile
 * Hadra Home Theme
 */

.sticky-add-to-cart {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
    z-index: 998;
    transform: translateY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    padding: 12px 16px;
}

.sticky-add-to-cart.hidden {
    transform: translateY(100%);
}

.sticky-atc-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-atc-info {
    flex: 1;
    min-width: 0;
}

.sticky-atc-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.sticky-atc-price {
    font-size: 16px;
    font-weight: 700;
    color: #D4AF37;
}

.sticky-atc-price .woocommerce-Price-amount {
    color: #D4AF37;
}

.sticky-atc-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #D4AF37;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sticky-atc-button:hover {
    background: #8B4513;
    transform: translateY(-2px);
}

.sticky-atc-button:active {
    transform: translateY(0);
}

.sticky-atc-button .bi {
    font-size: 18px;
}

/* Desktop: hide sticky button */
@media (min-width: 768px) {
    .sticky-add-to-cart {
        display: none;
    }
}

/* Very small mobile adjustments */
@media (max-width: 360px) {
    .sticky-atc-button span:last-child {
        display: none;
    }
    
    .sticky-atc-button {
        padding: 12px 16px;
    }
}

