/* ===================================
   Custom Styles - Enhanced Design
   =================================== */

/* SVG Icons */
.ecomus-svg-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Product Card Enhanced */
.product-card {
    background: transparent;
    border-radius: 10px;
    overflow: visible;
    box-shadow: none;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image {
    position: relative;
    overflow: hidden;
    background: transparent;
    aspect-ratio: 3/4;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-actions button {
    width: 45px;
    height: 45px;
    background: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.product-actions button:hover {
    background: #000;
    color: white;
    transform: scale(1.15);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-name a:hover {
    color: #ff0000;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.regular-price {
    color: #666;
    text-decoration: line-through;
    font-size: 18px;
    font-weight: 500;
}

.sale-price {
    color: #ff0000;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
}

/* Button Styles */
.btn-add-to-cart-mobile {
    width: 100%;
    padding: 12px;
    background: #000;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-add-to-cart-mobile:hover {
    background: #ff0000;
    transform: translateY(-2px);
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin: 40px 0;
}

.btn-load-more {
    padding: 15px 50px;
    background: transparent;
    color: #000;
    border: 2px solid #000;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background: #000;
    color: white;
}

/* Breaking News Section */
.breaking-news-section {
    margin: 60px 0;
}

.breaking-news-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* Text Banner */
.text-banner {
    margin: 40px 0;
}

.text-banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Final Banners */
.final-banners {
    margin: 30px 0;
}

/* Mobile Menu Styles */
.hamburger-panel {
    display: none;
}

.hamburger-panel.active {
    display: block;
}

.hamburger-panel .panel__container {
    width: 300px;
    background: white;
    height: 100vh;
    overflow-y: auto;
}

.hamburger-panel .hambuger-navigation {
    padding: 20px;
}

.hamburger-panel .menu {
    list-style: none;
    padding: 0;
}

.hamburger-panel .menu-item {
    border-bottom: 1px solid #eee;
}

.hamburger-panel .menu-item a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.hamburger-panel .sub-menu {
    padding-left: 20px;
    display: none;
}

.hamburger-panel .menu-item.open > .sub-menu {
    display: block;
}

/* Search Modal */
.search-modal {
    display: none;
}

.search-modal.active {
    display: block;
}

.search-modal .modal__container {
    width: 90%;
    max-width: 800px;
    padding: 40px;
}

.search-modal__form {
    margin-top: 20px;
}

.modal__content-search-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-modal__field {
    flex: 1;
    padding: 15px 50px 15px 20px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.search-modal__field:focus {
    outline: none;
    border-color: #000;
}

/* Cart Panel */
.cart-panel {
    display: none;
}

.cart-panel.active {
    display: block;
}

.cart-panel .panel__container {
    width: 400px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .product-actions {
        opacity: 1;
        bottom: 10px;
        top: auto;
        transform: translateX(-50%);
        left: 50%;
    }
    
    .cart-panel .panel__container,
    .hamburger-panel .panel__container {
        width: 85%;
        max-width: 350px;
    }
}

/* Animation for product hover */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.product-card:hover .product-actions {
    animation: fadeInUp 0.3s ease;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: #ff0000;
    color: white;
}

/* Focus styles */
a:focus,
button:focus,
input:focus {
    outline: 2px solid #ff0000;
    outline-offset: 2px;
}
