/* Accessory Card CSS */

/* Base styles */
.accessory-card {
    width: 100%;
    background-color: white;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.accessory-card-image-container {
    width: 100%;
    height: 250px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border-radius: 6px 6px 0 0;
}

.promotion-badge {
    position: absolute;
    top: 3px;
    left: 3px;
    z-index: 5;
}

.promotion-badge-content {
    background-color: #BE930B;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
}

.accessory-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
    max-width: 100%;
    max-height: 100%;
}

.accessory-info {
    padding: 10px 20px 16px;
    background-color: white;
    border-radius: 0 0 6px 6px;
}

.accessory-title {
    font-size: 16px;
    font-weight: 800;
    font-family: "Proxima Nova";
    color: #1C1C1C;;
    margin-bottom: 4px;
    line-height: normal;
}

.accessory-price {
    margin-bottom: 4px;
}

.current-price {
    color: #DE2A2A;
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-right: 10px;
}

.original-price {
    color: #68788E;
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: line-through;
}

.accessory-rating {
    margin-bottom: 10px;
}

/* Affirm Payment Info */
.affirm-payment-info {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    padding: 12px 0;
    min-height: 32px;
    cursor: pointer;
}

.payment-text {
    color: #1C1C1C;
    font-family: "Proxima Nova";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    align-self: center;
}

.payment-price {
    color: #1C1C1C;
    font-family: "Proxima Nova";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    align-self: center;
}

.stars {
    color: #F6A429;
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.review-count {
    color: #1C1C1C;
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.accessory-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(28, 28, 28, 0.1);
}

.add-to-cart-btn {
    width: 47px;
    height: 47px;
    background-color: #BE930B;
    border-radius: 8.29px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.add-to-cart-btn:hover {
    opacity: 0.9;
}

.view-btn {
    flex: 1;
    height: 47px;
    border: 1px solid #BE930B;
    border-radius: 6px;
    color: #BE930B;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Proxima Nova';
    line-height: normal;
}

.view-btn:hover {
    background-color: #BE930B;
    color: white;
}

/* Responsive styles */
@media (min-width: 768px) {
    .accessory-card-image-container {
        height: 314px;
    }
}

@media (max-width: 767px) {
    .accessory-card-image-container {
        height: 250px;
    }
    
    .accessory-info {
        padding: 10px 16px 16px;
    }
    
    .accessory-title {
        font-size: 14px;
    }
    
    .current-price {
        font-size: 14px;
    }
    
    .original-price {
        font-size: 14px;
    }
    
    .stars {
        font-size: 14px;
    }
    
    .review-count {
        font-size: 14px;
    }
}