/* 
 * Local eSIM Plans Specific Styles
 * Custom CSS for formatting the local eSIM plans display as shown in the screenshot
 */

/* Overall container formatting */
.esim-list-container {
    padding: 20px 0;
}

/* Product card style */
.esim-product-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.esim-product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

/* Product image container */
.esim-product-image {
    height: 200px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.esim-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Product details layout */
.esim-product-details {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Product name styling */
.esim-product-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Price formatting for specific layout in screenshot */
.esim-price-container {
    margin-top: auto;
}

.esim-current-price {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

.esim-discount {
    background-color: #e53935;
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 6px;
    display: inline-block;
}

.esim-original-price {
    display: block;
    color: #999;
    text-decoration: line-through;
    margin-top: 3px;
    font-size: 0.9rem;
}

/* View details button */
.esim-view-details {
    text-align: center;
    margin-top: 15px;
}

.esim-view-details-btn {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 6px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.esim-view-details-btn:hover {
    background-color: #3d9940;
    color: white;
    text-decoration: none;
}

/* Additional styling for inline price display like in Turkey 500MB/Day */
.esim-inline-price {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 5px;
}

.esim-inline-price .current-price {
    font-weight: 700;
    margin-right: 8px;
}

.esim-inline-price .discount {
    color: #e53935;
    font-weight: 600;
    margin-right: 8px;
}

.esim-inline-price .original-price {
    color: #999;
    text-decoration: line-through;
}
