/*
 Theme Name:   Storefront Child
 Theme URI:    https://aswd.ro/
 Description:  Un child theme personalizat pentru tema Storefront
 Author:       Andrei Stefan
 Author URI:   https://aswd.ro
 Template:     storefront
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  storefront-child
*/

/* Importăm stilurile temei părinte */
@import url("../storefront/style.css");

/**
 * Stiluri pentru banner-ul din homepage
 *
 * @package Storefront Child
 */

/**
 * Stiluri actualizate pentru banner-ul din homepage
 *
 * @package Storefront Child
 */

@media (min-width: 768px) {
    .col-full {
        max-width: 72.498938em;
        margin-left: auto;
        margin-right: auto;
        padding: 0 2.617924em;
        box-sizing: content-box;
    }
}

/* Secțiunea banner */
.home-banner-section {
    padding: 30px 0;
    background-color: #ffffff;
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.home-banner {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.home-banner-link {
    display: block;
    width: 100%;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.home-banner-link:hover {
    opacity: 0.95;
}

.home-banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* Pentru desktop și laptop */
}

.related-products-container{
    margin-top: 0!important;
    border-top: unset !important;
}

.parfumlab-product-container{
    margin-bottom:unset !important;
}

@media (min-width: 768px) {
    .storefront-breadcrumb {
        margin-bottom: 0!important;
    }
}

.storefront-breadcrumb{
    margin-bottom: 0!important;
}

/* Media queries pentru responsive */
@media (max-width: 768px) {
    .home-banner-section {
        padding: 20px 0;
    }
    
    .home-banner-image {
        object-fit: cover; /* Doar pentru mobile */
    }
}

@media (max-width: 576px) {
    .home-banner-section {
        padding: 15px 0;
    }
}

/* Stil simplu pentru textul de primăvară */
.spring-text {
    font-size: 12px;
    color: #8e44ad;
    margin-top: 3px;
    margin-bottom: 5px;
    font-weight: normal;
}

/* Eliminare outline pentru toate elementele care pot primi focus */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
*[tabindex]:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Alternativă care păstrează accesibilitatea - recomandată */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus,
*[tabindex]:focus {
    outline: none !important;
    box-shadow: none !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
*[tabindex]:focus-visible {
    /* Poți adăuga un stil subtil pentru accesibilitate dacă dorești */
    /* outline: 2px solid rgba(0, 0, 0, 0.1) !important; */
}

/* Specific pentru cardurile de produse */
.card-wrapper a:focus,
.product-brand a:focus,
.card-overlay-link:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Eliminare outline pentru Firefox */
a::-moz-focus-inner,
button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
}

/* Fix pentru Internet Explorer */
a:active, a:active * {
    outline: none !important;
    box-shadow: none !important;
}

/* Eliminare highlight de tap pe mobile */
* {
    -webkit-tap-highlight-color: transparent;
}

.storefront-align-wide.page-template-template-fullwidth-php .hentry .entry-content .alignwide, .storefront-align-wide.storefront-full-width-content .hentry .entry-content .alignwide{
    width: 100% !important;
    margin: 0 auto !important;
}

.storefront-handheld-footer-bar{
    display: none !important;
}

@media (max-width: 767px) {
  #banner-primavara-popup{
    max-height: 250px !important;
    height: auto !important;
  }
}

.woocommerce-active .site-header .site-branding{
    width: auto !important;
}

.art-prod-container{
    padding: 0!important;
}

