/**
* 2007-2025 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-2025 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.
*/

/* Store header styling */
.tienda-header-info {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 15px 0;
    margin-bottom: 20px;
}

.tienda-brand-container {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Layout Left (Default) */
.tienda-brand-container.layout-left {
    justify-content: flex-start;
}

/* Layout Center */
.tienda-brand-container.layout-center {
    justify-content: center;
    text-align: center;
}

.tienda-brand-container.layout-center .tienda-name {
    text-align: center;
}

.tienda-logo {
    flex-shrink: 0;
}

.tienda-logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.tienda-name {
    flex-grow: 1;
}

.tienda-name h1 {
    margin: 0;
    font-size: 2.2em;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

/* Responsive design */
@media (max-width: 768px) {
    .tienda-header-info {
        padding: 10px 0;
    }
    
    .tienda-brand-container {
        justify-content: center !important;
        text-align: center;
        gap: 15px;
    }
    
    .tienda-brand-container .tienda-name {
        text-align: center !important;
    }
    
    .tienda-logo img {
        max-height: 50px;
    }
    
    .tienda-name h1 {
        font-size: 1.8em;
    }
}

@media (max-width: 480px) {
    .tienda-brand-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .tienda-logo img {
        max-height: 40px;
    }
    
    .tienda-name h1 {
        font-size: 1.5em;
    }
}

/* Integration with PrestaShop themes */
.tienda-header-info .container {
    max-width: 1200px;
}

/* Alternative layout for horizontal display */
.tienda-brand-container.horizontal {
    justify-content: space-between;
}

.tienda-brand-container.horizontal .tienda-name {
    text-align: right;
}

@media (max-width: 768px) {
    .tienda-brand-container.horizontal {
        justify-content: center;
        flex-direction: column;
    }
    
    .tienda-brand-container.horizontal .tienda-name {
        text-align: center;
    }
}
