/* /home/beautyt1/public_html/medical_static/css/podo_home.css */

.podo-store-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px !important;   
    margin: 0 auto;
    padding: 0 0 20px 0;
    max-width: 1300px;
}

.podo-store-grid .med-promo-card--product {
    margin: 0 !important;
}

.med-promo-card--product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    padding: 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    width: 320px;
    max-width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.med-promo-card--product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(34, 178, 174, 0.15);
    border-color: #22b2ae;
}

.med-promo-card--product img {
    max-width: 90%;
    height: 200px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    display: block;
}

.med-promo-card--product h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
    min-height: 3em;
}

.med-promo-card--product p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.5;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f5f5f5;
    padding-top: 15px;
    margin-top: auto;
}

.product-price {
    font-weight: 700;
    color: #22b2ae;
    font-size: 1.2rem;
}

.product-btn {
    background-color: #22b2ae;
    color: #fff;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s;
}

.product-btn:hover {
    background-color: #1a8a86;
}

#ebooks .med-product-grid {
    justify-content: center !important;
    gap: 20px !important;
}

.med-promo-card--placeholder {
    justify-content: center;
    background-color: #fcfcfc;
    border: 2px dashed #e0e0e0;
    color: #a0a0a0;
}

.med-promo-card--placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #d0d0d0;
    display: block;
}

.med-promo-card--placeholder h3 {
    color: #999;
    margin-bottom: 5px;
    min-height: auto;
}

.med-promo-card--podo {
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* --- UNIKALNE KLASY DLA KART EBOOKÓW W MEDICAL APP --- */
.iris-ebook-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
    gap: 30px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.iris-ebook-card {
    width: 320px !important;
    max-width: 320px !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none !important;
    color: inherit !important;
    box-sizing: border-box !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.iris-ebook-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(34, 178, 174, 0.15);
}

.iris-ebook-image-wrapper {
    height: 400px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    position: relative !important;
}

.iris-ebook-image-wrapper img {
    max-height: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    width: auto !important;
    object-fit: contain !important;
}

.iris-ebook-content {
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}