/* Product Card CSS */

/* Product Card Container */
.product-card {
    width: 460px;
    background-color: white;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-item {
    /* Additional styles for product items if needed */
}

/* Product Image Container */
.product-image-container {
    width: 100%;
    height: 250px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .product-image-container {
        height: 314px;
    }
}

/* Promotion Badge */
.promotion-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
}

.promotion-badge-content {
    background-color: #ECDFB6;
    color: #775A00;
    font-size: 14px;
    font-weight: bold;
    padding: 4px 12px;
    border-radius: 4px;
}

/* Product Image */
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Content */
.product-content {
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

@media (max-width: 767px) {
    .product-card {
        width: 100%;
    }

    .product-content {
        padding: 10px 16px;
    }

    .product-title {
        font-size: 14px;
    }
    
    .current-price {
        font-size: 14px;
    }
    
    .original-price {
        font-size: 14px;
    }

    .rating-section {
        font-size: 14px;
    }
}

/* Product Title */
.product-title {
    color: #1C1C1C;
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Price Container */
.price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

/* Price Styles */
.current-price {
    color: #DE2A2A;
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.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;
}

.price-pending {
    font-size: 16px;
    font-weight: bold;
    color: #be930b;
}

/* Rating Section */
.rating-section {
    color: #1C1C1C;
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 4px;
}

.rating-stars {
    color: #F6A429;
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Color Container */
.color-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 2px;
    border: 2px solid #F4F4F4;
    margin-right: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.2);
    border-color: #BE930B;
}

.color-swatch:active {
    border-color: #BE930B;
}

.color-swatch.selected {
    border-color: #BE930B;
    transform: scale(1.2);
}

/* Compare Section */
.compare-section {
    display: flex;
    align-items: center;
}

.compare-checkbox {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.compare-label {
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

/* Attributes Grid */
.attributes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    flex-grow: 1;
    grid-auto-rows: min-content;
}

.attribute-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    height: 100%;
}

.attribute-icon {
    width: 30px;
    height: 30px;
    border-radius: 21.9px;
    background-color: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.attribute-value {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.attribute-value-text {
    color: #1C1C1C;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    min-height: 1.2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.attribute-value-name {
    color: rgba(28, 28, 28, 0.40);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Proxima Nova";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Affirm Payment Info */
.affirm-payment-info {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2px;
    padding: 12px 0;
    margin-top: auto;
    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;
}

.affirm-logo-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
}

.affirm-logo-semicircle {
    position: absolute;
    top: -6px;
    right: -4px;
    width: 18px;
    height: 10px;
    border: 2px solid #4A4AF4;
    border-bottom: none;
    border-radius: 12px 12px 0 0;
}

.affirm-logo-text {
    font-family: "Proxima Nova", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1C1C1C;
    letter-spacing: -0.5px;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    border-top: 1px solid rgba(28, 28, 28, 0.1);
    margin-top: auto;
}

.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;
}
