/**
* 2007-2026 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to http://www.prestashop.com for more information.
*
*  @author    PrestaShop SA <contact@prestashop.com>
*  @copyright 2007-2026 PrestaShop SA
*  @license   http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*
* Don't forget to prefix your containers with your own identifier
* to avoid any conflicts with others containers.
*/

/* Irisphera Banner Styles */
.irisphera-banner-container {
    width: 100%;
    margin: 20px 0;
    padding: 0;
}

.irisphera-cta-banner,
.irisphera-recommendations-banner {
    width: 100%;
    min-height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background-color: transparent;
}

.irisphera-cta-banner iframe,
.irisphera-recommendations-banner iframe {
    width: 100%;
    border: none;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .irisphera-banner-container {
        margin: 15px 0;
    }
    
    .irisphera-cta-banner,
    .irisphera-recommendations-banner {
        min-height: 60px;
    }
}

/* Irisphera Modal Styles */
.irisphera-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.irisphera-modal-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: calc(100vh - 40px);
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.irisphera-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: #333;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s;
}

.irisphera-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.irisphera-modal-content {
    width: 100%;
    flex: 1;
    overflow: auto;
}

.irisphera-modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Responsive modal */
@media (max-width: 640px) {
    .irisphera-modal-overlay {
        padding: 10px;
    }
    
    .irisphera-modal-container {
        max-width: 100%;
        height: calc(100vh - 20px);
        border-radius: 8px;
    }
    
    .irisphera-modal-content {
        min-height: unset;
    }
}

/* Irisphera Product Sizing Block Styles */
.irisphera-sizing-container {
    width: 100%;
    margin: 20px 0;
    padding: 0;
}

.irisphera-sizing-block {
    width: 100%;
    min-height: 150px;
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.irisphera-sizing-block iframe {
    width: 100%;
    min-height: 150px;
    border: none;
    display: block;
}

/* Responsive sizing block */
@media (max-width: 768px) {
    .irisphera-sizing-container {
        margin: 15px 0;
    }
    
    .irisphera-sizing-block {
        min-height: 120px;
    }
}

/* Irisphera Recommendations Empty State */
.irisphera-recs-empty {
    text-align: center;
    padding: 60px 20px;
    max-width: 480px;
    margin: 0 auto;
}

.irisphera-recs-empty p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.5;
}
