/* Allaia template styles for Template 5 (copied from styles.css) */
/* ========================================
   ALLAIA ECOMMERCE TEMPLATE - STYLES
   ======================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

input,
select {
    font-family: inherit;
}

/* Container */
.container {
    max-width: 98vw;
    /*margin: 0 auto;
    padding: 0 20px;*/
}
.Menu-container {
    max-width: 100vw;
    /*margin: 0 auto;
    padding: 0 20px;*/
}


/* ========================================
   HEADER STYLES
   ======================================== */

.header {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #0066ff;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    letter-spacing: 1px;
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: #0066ff;
}

.header-help {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.header-help i {
    font-size: 18px;
    color: #0066ff;
}

.header-bottom {
    padding: 15px 0;
}

.header-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.categories-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    color: #333;
    white-space: nowrap;
}

.categories-toggle i {
    font-size: 18px;
}

.search-bar {
    flex: 1;
    display: flex;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f9f9f9;
}

.search-input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 13px;
    background-color: transparent;
    outline: none;
}

.search-btn {
    background-color: transparent;
    padding: 0 15px;
    color: #0066ff;
    font-size: 16px;
}

.search-btn:hover {
    background-color: #f0f0f0;
}

.header-icons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.header-icon {
    position: relative;
    font-size: 18px;
    color: #333;
}

.header-icon:hover {
    color: #0066ff;
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #ff3333;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* ========================================
   HERO SLIDER
   ======================================== */

.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 50px;
}

.slider-item.active {
    opacity: 1;
}

.slider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.3), transparent);
    z-index: 1;
}

.slider-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: right;
    max-width: 500px;
}

.slider-content h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
    letter-spacing: 1px;
}

.slider-content p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #333;
    font-size: 20px;
    border-radius: 4px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background-color: white;
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    padding: 12px 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #0066ff;
    color: white;
}

.btn-primary:hover {
    background-color: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.btn-white {
    background-color: white;
    color: #333;
    border: 2px solid white;
}

.btn-white:hover {
    background-color: transparent;
    color: white;
}

/* ========================================
   COLLECTIONS SECTION
   ======================================== */

.collections {
    padding: 60px 0;
    background-color: #fff;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.collection-card {
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.collection-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 1;
}

.collection-card:hover::before {
    background: rgba(0, 0, 0, 0.5);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: white;
    text-align: center;
}

.collection-overlay h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.products-section {
    /*padding: 80px 0;*/
    background-color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.section-header p {
    font-size: 15px;
    color: #999;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card {
    background-color: #f9f9f9;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.product-image::before {
    /*content: '';*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), transparent);
    z-index: 1;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
}

.badge-discount {
    background-color: #ff3333;
    color: white;
}

.badge-new {
    background-color: #9933ff;
    color: white;
}

.badge-hot {
    background-color: #00cc00;
    color: white;
}

.countdown-timer {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: #ff3333;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.countdown-timer i {
    font-size: 14px;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.product-name:hover {
    color: #0066ff;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
    font-size: 12px;
}

.star {
    color: #ffc107;
}

.star.empty {
    color: #ddd;
}

.rating-count {
    color: #999;
    margin-left: 5px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.current-price {
    color: #0066ff;
    font-size: 16px;
}

/* Compatibility with Controller generated HTML */
.product-item {
    /*background-color: #f9f9f9;*/
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    margin-bottom: 30px;
    /* Add margin for bootstrap grid */
    height: 100%;
}

.product-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}
.product-item a,
.product-item a:hover,
.product-item a:focus,
.product-item a:active {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}


.product-item .product-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.product-item .product-image img {
    width: 100%;
    height: 100%;
    /*object-fit: contain;
    padding: 10px;
    background-color: white;*/
}

.product-title {
    padding: 15px 15px 5px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align:center;
}

.product-title a {
    color: #333;
}

.product-title a:hover {
    color: #0066ff;
}

.product-item .product-price {
    padding: 0 15px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: bold;
}

.product-item .product-price span {
    color: #0066ff;
    font-size: 16px;
}


/* ========================================
   FEATURED BANNER
   ======================================== */

.featured-banner {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 50px;
    margin: 60px 0;
}

.featured-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 500px;
}

.banner-content h2 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.banner-content p {
    font-size: 15px;
    margin-bottom: 20px;
    opacity: 0.95;
}

.banner-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.banner-price .current-price {
    font-size: 28px;
    color: white;
}

.banner-price .original-price {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   CAROUSEL
   ======================================== */

.products-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: #0066ff;
    color: white;
}

/* ========================================
   BRANDS SECTION
   ======================================== */

.brands-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background-color: white;
    border-radius: 4px;
    padding: 20px;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ========================================
   BLOG SECTION
   ======================================== */

.blog-section {
    padding: 80px 0;
    background-color: #fff;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.blog-card {
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.blog-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: #ffc107;
    color: #333;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
    z-index: 2;
    font-weight: bold;
}

.blog-date-day {
    font-size: 20px;
    display: block;
}

.blog-date-month {
    font-size: 12px;
    display: block;
}

.blog-content {
    padding: 25px;
    background-color: #f9f9f9;
}

.blog-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.blog-title:hover {
    color: #0066ff;
}

.blog-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: #1a1f3a;
    color: #ccc;
    padding: 25px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column h3 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #ccc;
    font-size: 13px;
}

.footer-column a:hover {
    color: #0066ff;
}

.footer-column p {
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-column p a {
    color: #0066ff;
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 13px;
}

.newsletter-form .btn {
    border-radius: 0 4px 4px 0;
    padding: 12px 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.social-icons a:hover {
    background-color: #0066ff;
}

.footer-bottom {
    background-color: #141829;
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-selectors {
    display: flex;
    gap: 20px;
}

.language-select,
.currency-select {
    background-color: transparent;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}

.language-select:hover,
.currency-select:hover {
    border-color: #0066ff;
}

.payment-methods {
    display: flex;
    gap: 15px;
    align-items: center;
}

.payment-methods img {
    height: 25px;
    object-fit: contain;
}

.footer-links {
    display: flex;
    gap: 25px;
    align-items: center;
    font-size: 12px;
}

.footer-links a {
    color: #ccc;
}

.footer-links a:hover {
    color: #0066ff;
}

.footer-links p {
    color: #999;
    margin: 0;
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #0066ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
.image-cover-box a {
    display: block;
    width: 100%;
    height: 250px; /* jitni height chahiye set karo */
    overflow: hidden;
}

/*.image-cover-box img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 5px;
}*/
.image-cover-box {
    width: 100%;
    height: 250px; /* jitni height chahiye */
    overflow: hidden;
    position: relative;
}

.image-cover-box img {
    width: 45% !important;
    height: 100% !important;
    object-fit: cover;         /* image cover karegi */
    object-position: center;   /* center horizontally + vertically */
    border-radius: 5px;
    display: block;
}

/* Large tablets / small desktops */
@media (max-width: 1200px) {
    .collections-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .collections-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Mobile landscape */
@media (max-width: 768px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* Mobile portrait / small phones */
@media (max-width: 480px) {
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
