/* ================= BASE STYLES ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    overflow-x: hidden;
    width: 100%;
}

/* ================= TOP INFO BAR ================= */
.top-bar {
    background: #1f6aa5;
    color: #fff;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.social-icons i {
    margin-left: 10px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.social-icons i:hover {
    color: #ffd400;
}

/* ================= MAIN HEADER ================= */
.header {
    background: #1f6aa5;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

/* ENHANCED LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.logo-img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    letter-spacing: 1px;
    font-size: 24px;
}

/* SEARCH BOX */
.search-box {
    flex: 1;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    border-radius: 6px;
    border: none;
    font-size: 16px;
    min-height: 48px;
}

.search-box input:focus {
    outline: 2px solid #ffd400;
    outline-offset: 2px;
}

.search-box i {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #555;
    cursor: pointer;
}

/* HEADER ICONS */
.header-icons {
    display: flex;
    gap: 25px;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.header-icons i {
    transition: color 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.header-icons i:hover {
    color: #ffd400;
}

.cart {
    position: relative;
}

.cart span {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ffd400;
    color: #000;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}

/* ================= MOBILE HEADER & NAVIGATION ================= */
/* Mobile Hamburger Menu */
.mobile-hamburger {
    display: none;
}

.mobile-cart {
    display: none;
}

/* Mobile specific styles */
@media (max-width: 768px) {
    /* Hide desktop elements on mobile */
    .search-box,
    .category-bar,
    .header-icons,
    .category-right {
        display: none !important;
    }
    
    /* Hide top bar on mobile */
    .top-bar {
        display: none !important;
    }
    
    /* Mobile Header Layout - Fixed and centered */
    .header {
        padding: 8px 15px;
        justify-content: space-between;
        align-items: center;
        height: 70px;
        position: relative;
        background: #1f6aa5;
        width: 100%;
    }
    
    /* Show hamburger menu on left */
    .mobile-hamburger {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 44px;
        height: 44px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        z-index: 1000;
        margin-left: 5px;
    }
    
    .mobile-hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .mobile-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* CENTERED LOGO CONTAINER - Improved version */
    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        text-decoration: none;
        width: auto;
        margin: 0;
        padding: 0;
    }
    
    /* Make logo image appropriate size on mobile */
    .logo-img {
        width: 45px !important;
        height: 45px !important;
        object-fit: contain;
        display: block;
    }
    
    /* Style the logo text - make it visible and properly positioned */
    .logo-text {
        font-size: 24px;
        font-weight: bold;
        color: white;
        letter-spacing: 1px;
        display: block !important;
        line-height: 1;
        margin: 0;
    }
    
    /* Show mobile cart icon on right */
    .mobile-cart {
        display: flex !important;
        position: relative;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        color: white;
        font-size: 22px;
        cursor: pointer;
        margin-right: 5px;
    }
    
    .mobile-cart span {
        position: absolute;
        top: -5px;
        right: -5px;
        background: #ffd400;
        color: #000;
        font-size: 11px;
        padding: 2px 6px;
        border-radius: 50%;
        font-weight: bold;
        min-width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile Side Menu */
    .mobile-side-menu {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100vh;
        background: #1f6aa5;
        z-index: 999;
        transition: left 0.3s ease;
        padding: 80px 20px 20px;
        overflow-y: auto;
        box-shadow: 5px 0 15px rgba(0,0,0,0.2);
    }
    
    .mobile-side-menu.active {
        left: 0;
    }
    
    /* Overlay */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 998;
        display: none;
    }
    
    .mobile-menu-overlay.active {
        display: block;
    }
    
    /* Mobile Menu Items */
    .mobile-menu-item {
        display: block;
        color: white;
        padding: 16px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        text-decoration: none;
        font-size: 16px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 12px;
    }
    
    .mobile-menu-item i {
        width: 24px;
        text-align: center;
        font-size: 18px;
    }
    
    .mobile-menu-item:hover {
        color: #ffd400;
        padding-left: 10px;
    }
    
    /* Mobile Search in Menu */
    .mobile-menu-search {
        margin-bottom: 25px;
        position: relative;
    }
    
    .mobile-menu-search input {
        width: 100%;
        padding: 14px 45px 14px 15px;
        border-radius: 8px;
        border: none;
        font-size: 15px;
        background: rgba(255,255,255,0.1);
        color: white;
    }
    
    .mobile-menu-search input::placeholder {
        color: rgba(255,255,255,0.7);
    }
    
    .mobile-menu-search i {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: white;
        font-size: 18px;
        cursor: pointer;
    }
    
    /* Contact Info in Mobile Menu */
    .mobile-menu-contact {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.1);
        color: white;
}

    .mobile-menu-contact p {
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 14px;
    }
    
    .mobile-menu-contact i {
        color: #ff7a1a;
        font-size: 16px;
        width: 20px;
    }
    
    /* Close button */
    .mobile-menu-close {
        position: absolute;
        top: 25px;
        right: 20px;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        padding: 5px;
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hero section adjustments for mobile */
    .hero {
        margin: 15px;
        padding: 25px 20px;
        border-radius: 8px;
        margin-top: 15px;
    }
    
    .hero-content h1 {
        font-size: 28px;
        text-align: center;
        line-height: 1.2;
    }
    
    .hero-content p {
        text-align: center;
        font-size: 14px;
        line-height: 1.4;
        margin: 10px 0;
    }
    
    .hero-btn {
        width: 100%;
        margin-top: 15px;
        padding: 12px 20px;
        font-size: 15px;
    }
    
    .hero-image {
        margin-top: 20px;
        text-align: center;
    }
    
    .hero-image img {
        width: 220px;
        max-width: 100%;
        height: auto;
    }
    
    .price-circle {
        width: 60px;
        height: 60px;
        font-size: 16px;
        top: -10px;
        right: 10px;
    }
    
    .dots {
        justify-content: center;
        margin-top: 20px;
    }
    
    /* Adjust service features for mobile */
    .service-features {
        margin: 20px 15px;
        padding: 15px;
        gap: 15px;
    }
    
    .service-box {
        flex-direction: row;
        text-align: left;
        padding: 15px;
        gap: 12px;
    }
    
    /* Product grid adjustments */
    .product-section {
        padding: 15px;
    }
    
    /* Latest News adjustments for mobile */
    .latest-news {
        padding: 20px 15px;
    }
    
    /* Promo section adjustments */
    .promo-section {
        padding: 20px 15px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    /* Header adjustments for very small screens */
    .header {
        height: 65px;
        padding: 8px 10px;
    }
    
    .logo {
        gap: 8px;
    }
    
    .logo-img {
        width: 40px !important;
        height: 40px !important;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    .mobile-hamburger {
        width: 40px;
        height: 40px;
        padding: 8px;
    }
    
    .mobile-cart {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .mobile-side-menu {
        width: 250px;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 13px;
    }
    
    .hero-image img {
        width: 180px;
    }
    
    .price-circle {
        width: 50px;
        height: 50px;
        font-size: 14px;
        border-width: 4px;
    }
    
    /* Latest News adjustments for very small screens */
    .news-grid {
        gap: 15px;
    }
    
    .news-item {
        padding: 15px;
    }
}

/* Very small devices */
@media (max-width: 360px) {
    .logo-img {
        width: 36px !important;
        height: 36px !important;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .header {
        padding: 6px 8px;
    }
    
    .mobile-hamburger,
    .mobile-cart {
        width: 36px;
        height: 36px;
    }
    
    .mobile-hamburger span {
        height: 2.5px;
    }
    
    .hero-content h1 {
        font-size: 22px;
    }
    
    .hero-image img {
        width: 160px;
    }
    
    /* Latest News adjustments for very very small screens */
    .latest-news h2 {
        font-size: 22px;
    }
    
    .news-header h3 {
        font-size: 15px;
    }
    
    .news-date, .news-number {
        font-size: 11px;
    }
}

/* Fix for logo positioning in all cases */
@media (max-width: 768px) {
    /* Ensure logo stays centered properly */
    .logo {
        transform: translate(-50%, -50%) !important;
        white-space: nowrap;
    }
    
    /* Prevent logo from being hidden */
    .logo-text {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* ================= CATEGORY BAR ================= */
.category-bar {
    background: #fff;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
}

.category-left {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* DROPDOWN */
.category-dropdown {
    position: relative;
}

.category-btn {
    background: #ff7a1a;
    color: #fff;
    border: none;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-btn:hover {
    background: #e86b10;
}

.category-btn i {
    transition: transform 0.3s ease;
}

.category-btn.active i {
    transform: rotate(180deg);
}

.category-menu {
    position: absolute;
    top: 50px;
    left: 0;
    width: 260px;
    background: #fff;
    list-style: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    display: none;
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.category-menu.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.category-menu li {
    padding: 14px 18px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f5f5f5;
}

.category-menu li:last-child {
    border-bottom: none;
}

.category-menu li:hover {
    background: #f5f5f5;
    color: #ff7a1a;
    padding-left: 22px;
}

/* LINKS */
.category-links span {
    margin-right: 20px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

.category-links span:hover {
    color: #ff7a1a;
}

.category-links i {
    color: #777;
    transition: color 0.3s ease;
}

.category-links span:hover i {
    color: #ff7a1a;
}

/* PHONE */
.category-right {
    font-size: 16px;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-right i {
    color: #ff7a1a;
}

/* ================= HERO SECTION ================= */
.hero {
    background: #f3f4f6;
    margin: 30px;
    border-radius: 10px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.hero-content {
    max-width: 500px;
}

.hero-tag {
    color: #1f6aa5;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 48px;
    margin: 15px 0;
    color: #111;
    line-height: 1.2;
}

.hero-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.hero-btn {
    margin-top: 25px;
    background: #ff7a1a;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
    min-height: 48px;
}

.hero-btn:hover {
    background: #e86b10;
}

.hero-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(5px);
}

/* DOTS */
.dots {
    margin-top: 40px;
    display: flex;
    gap: 10px;
}

.dots span {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dots span:hover {
    background: #999;
}

.dots .active {
    background: #111;
}

/* IMAGE SIDE */
.hero-image {
    position: relative;
}

.hero-image img {
    width: 320px;
    max-width: 100%;
    height: auto;
}

/* PRICE CIRCLE */
.price-circle {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 90px;
    height: 90px;
    background: #2aa4f4;
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 6px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ================= SERVICE FEATURES ================= */
.service-features {
    background: #fff;
    margin: 40px 30px;
    padding: 25px 30px;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.service-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-box:hover {
    background: #f8f9fa;
    transform: translateY(-5px);
}

.service-box i {
    font-size: 32px;
    color: #1f6aa5;
    min-width: 40px;
    text-align: center;
}

.service-box h4 {
    font-size: 16px;
    color: #111;
    margin-bottom: 4px;
}

.service-box p {
    font-size: 14px;
    color: #777;
}

/* ================= LATEST NEWS SECTION ================= */
.latest-news {
    background: #fff;
    padding: 50px 30px;
    margin-top: 40px;
}

.latest-news h2 {
    font-size: 28px;
    color: #111;
    margin-bottom: 35px;
    font-weight: 600;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.news-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    background: #fff;
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.news-header h3 {
    font-size: 18px;
    color: #1f6aa5;
    font-weight: 600;
    margin: 0;
}

.news-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.news-date {
    font-size: 14px;
    color: #555;
    font-weight: 600;
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 100px;
    text-align: center;
}

.news-number {
    font-size: 14px;
    color: #ff7a1a;
    font-weight: bold;
    background: #fff5eb;
    padding: 4px 8px;
    border-radius: 4px;
    min-width: 60px;
    text-align: center;
}

.news-excerpt {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
    font-style: italic;
}

.news-full {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #eee, transparent);
    margin-top: 15px;
}

/* ================= PRODUCT GRID ================= */
.product-section {
    padding: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.product-card {
    border: 1px solid #eee;
    padding: 20px;
    text-align: center;
    position: relative;
    background: #fff;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    z-index: 1;
}

.product-card img {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

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

.product-card h4 {
    font-size: 14px;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card .price {
    font-size: 15px;
    color: #1f6aa5;
    font-weight: bold;
    margin: 10px 0;
}

.product-card del {
    color: #999;
    margin-right: 6px;
}

/* BADGES */
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 12px;
    padding: 4px 8px;
    font-weight: bold;
    border-radius: 3px;
    z-index: 2;
}

.badge.gray {
    background: #9aa1a7;
    color: #fff;
}

.badge.yellow {
    background: #ffd400;
    color: #000;
}

.badge.red {
    background: #ff4d4f;
    color: #fff;
}

/* HOVER ICONS */
.hover-icons .icons {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: 0.3s;
    z-index: 3;
}

.hover-icons .icons i {
    background: #fff;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hover-icons .icons i:hover {
    background: #1f6aa5;
    color: #fff;
    transform: scale(1.1);
}

.hover-icons:hover .icons {
    opacity: 1;
}

/* SOLD OUT */
.sold-out {
    position: relative;
}

.sold-out::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.7);
}

/* ================= SHOP WITH CATEGORY SLIDER ================= */
.shop-category {
    padding: 50px 30px;
    background: #fff;
    text-align: center;
}

.shop-category h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #111;
}

.category-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.category-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    flex: 1;
}

.category-slider::-webkit-scrollbar {
    display: none;
}

.category-card {
    min-width: 240px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.category-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.category-card img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-card p {
    font-size: 16px;
    font-weight: 600;
    color: #222;
    margin: 0;
}

/* ARROWS */
.cat-arrow {
    width: 42px;
    height: 42px;
    background: #ff7a1a;
    border: none;
    color: #fff;
    font-size: 22px;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    min-height: 42px;
}

.cat-arrow.left {
    left: -20px;
}

.cat-arrow.right {
    right: -20px;
}

.cat-arrow:hover {
    background: #e86b10;
    transform: scale(1.1);
}

.cat-arrow:active {
    transform: scale(0.95);
}

/* ================= PROMO SECTION ================= */
.promo-section {
    padding: 40px 30px;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* CARD BASE */
.promo-card {
    border-radius: 10px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* VARIANTS */
.promo-card.light {
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo-card.dark {
    background: #14191e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.promo-card.yellow-bg {
    background: #fff1a8;
    text-align: center;
}

.promo-card.blue-bg {
    background: #123d5c;
    color: #fff;
    text-align: center;
}

.promo-card img {
    max-width: 180px;
    height: auto;
    transition: transform 0.3s ease;
}

.promo-card:hover img {
    transform: scale(1.05);
}

/* TEXT */
.promo-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.promo-tag.blue {
    background: #2aa4f4;
    color: #fff;
}

.promo-tag.yellow {
    background: #ffd400;
    color: #000;
}

.promo-tag.small {
    background: #1f6aa5;
    color: #fff;
}

.promo-card h3 {
    font-size: 26px;
    margin-bottom: 10px;
    line-height: 1.3;
}

.promo-card h2 {
    font-size: 36px;
    margin: 15px 0;
    line-height: 1.2;
}

.promo-card p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.promo-card.light p,
.promo-card.yellow-bg p {
    color: #555;
}

.price {
    display: block;
    margin: 10px 0 20px;
    font-size: 24px;
    font-weight: bold;
}

/* BUTTONS */
.promo-btn {
    border: none;
    padding: 12px 22px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.promo-btn.orange {
    background: #ff7a1a;
    color: #fff;
}

.promo-btn.orange:hover {
    background: #e86b10;
}

.promo-btn.blue {
    background: #2aa4f4;
    color: #fff;
}

.promo-btn.blue:hover {
    background: #1d8cd1;
}

.promo-btn.full {
    background: #ff7a1a;
    color: #fff;
    width: 100%;
}

.price-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 80px;
    height: 80px;
    background: #2aa4f4;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    border: 5px solid rgba(255,255,255,0.2);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ================= FEATURED PRODUCTS HEADER ================= */
.featured-header {
    padding: 0 30px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.featured-header h2 {
    font-size: 24px;
    color: #111;
}

.featured-tabs {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    flex-wrap: wrap;
}

.featured-tabs span {
    cursor: pointer;
    color: #555;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.featured-tabs span:hover {
    color: #ff7a1a;
}

.featured-tabs span.active {
    color: #ff7a1a;
    font-weight: bold;
}

.featured-tabs span.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #ff7a1a;
}

.featured-tabs .browse {
    color: #ff7a1a;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-tabs .browse:hover {
    color: #e86b10;
}

/* ================= FOOTER ================= */
.footer {
    background: linear-gradient(180deg, #1b1f23, #121417);
    color: #cfd3d7;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    padding: 60px 40px;
}

/* BRAND */
.brand .logo {
    margin-bottom: 20px;
}

.support-title {
    margin-top: 25px;
    font-size: 14px;
    color: #aaa;
    display: block;
    margin-bottom: 10px;
}

.footer h3 {
    color: #fff;
    margin: 10px 0;
    font-size: 20px;
}

.address,
.email {
    font-size: 14px;
    line-height: 1.6;
    color: #aaa;
    margin-bottom: 10px;
}

/* COLUMNS */
.footer-col h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 16px;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.footer-col ul li:hover {
    color: #fff;
    padding-left: 10px;
}

.highlight {
    color: #ff7a1a;
    font-weight: bold;
}

/* APP BUTTONS */
.app-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #2a2f34;
    padding: 14px;
    border-radius: 6px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.app-btn:hover {
    background: #3a3f44;
    transform: translateY(-2px);
}

.app-btn i {
    font-size: 28px;
}

.app-btn strong {
    color: #fff;
    font-size: 16px;
}

.app-btn small {
    font-size: 12px;
    color: #aaa;
    display: block;
}

/* TAGS */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags span {
    border: 1px solid #3a3f44;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 32px;
    display: flex;
    align-items: center;
}

.tags span:hover {
    background: #ff7a1a;
    border-color: #ff7a1a;
    color: #fff;
}

/* BOTTOM BAR */
.footer-bottom {
    border-top: 1px solid #2b2f33;
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #aaa;
}

/* ================= RESPONSIVE DESIGN (Continuation) ================= */
@media (max-width: 1200px) {
    .header {
        gap: 20px;
        padding: 15px 20px;
    }
    
    .hero {
        padding: 40px;
        margin: 20px;
    }
    
    .hero-content h1 {
        font-size: 42px;
    }
    
    .footer-container {
        gap: 30px;
        padding: 50px 30px;
    }
}

@media (max-width: 992px) {
    /* Service Features */
    .service-features {
        grid-template-columns: repeat(2, 1fr);
        margin: 30px 20px;
        padding: 20px;
    }
    
    /* Product Grid */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Latest News Grid */
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Promo Grid */
    .promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        padding: 40px 20px;
    }
    
    /* Header Layout */
    .header {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .search-box {
        order: 3;
        width: 100%;
        margin-top: 10px;
    }
    
    /* Hero Section */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        margin: 20px 15px;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .hero-image {
        text-align: center;
    }
    
    .hero-image img {
        width: 280px;
    }
    
    /* Category Bar */
    .category-bar {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }
    
    .category-left {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .category-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .category-links span {
        margin-right: 0;
    }
    
    /* Logo size for tablet */
    .logo-img {
        width: 48px;
        height: 48px;
    }
    
    .logo-text {
        font-size: 22px;
    }
    
    /* Latest News adjustments for tablet */
    .latest-news {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    /* Service Features */
    .service-features {
        grid-template-columns: 1fr;
        margin: 30px 15px;
        padding: 20px;
    }
    
    .service-box {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    /* Product Grid */
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    /* Latest News Grid */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .latest-news {
        padding: 30px 15px;
    }
    
    .news-item {
        padding: 20px;
    }
    
    .news-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-meta {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
    }
    
    /* Category Slider */
    .shop-category {
        padding: 40px 15px;
    }
    
    .category-card {
        min-width: 200px;
        padding: 20px;
    }
    
    .category-card img {
        width: 120px;
        height: 120px;
    }
    
    .cat-arrow.left {
        left: 5px;
    }
    
    .cat-arrow.right {
        right: 5px;
    }
    
    /* Promo Section */
    .promo-section {
        padding: 30px 15px;
    }
    
    .promo-card {
        padding: 25px;
        flex-direction: column;
        text-align: center;
    }
    
    .promo-card.light,
    .promo-card.dark {
        flex-direction: column;
    }
    
    .promo-card img {
        margin-top: 20px;
        max-width: 150px;
    }
    
    /* Featured Header */
    .featured-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 0 15px 20px;
    }
    
    .featured-tabs {
        justify-content: center;
        gap: 15px;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 30px 15px;
    }
}

@media (max-width: 576px) {
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col ul li {
        justify-content: center;
    }
    
    .brand .logo {
        justify-content: center;
    }
    
    .app-btn {
        justify-content: center;
    }
    
    .tags {
        justify-content: center;
    }
    
    /* Product Section */
    .product-section {
        padding: 15px;
    }
    
    /* Category Links */
    .category-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    /* Promo Cards */
    .promo-card h3 {
        font-size: 22px;
    }
    
    .promo-card h2 {
        font-size: 30px;
    }
    
    /* Featured Tabs */
    .featured-tabs {
        gap: 10px;
    }
    
    .featured-tabs span {
        font-size: 13px;
    }
    
    .featured-tabs .browse {
        font-size: 13px;
    }
    
    /* Latest News */
    .latest-news h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .news-header h3 {
        font-size: 16px;
    }
    
    .news-date, .news-number {
        font-size: 12px;
        padding: 3px 6px;
    }
    
    .news-excerpt {
        font-size: 14px;
    }
    
    .news-full {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    /* Category Dropdown */
    .category-btn {
        padding: 10px 15px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }
    
    /* Category Menu */
    .category-menu {
        width: 100%;
        position: static;
        margin-top: 10px;
    }
    
    /* Service Box */
    .service-box {
        padding: 15px;
    }
    
    /* Product Card */
    .product-card {
        padding: 15px;
    }
    
    /* Footer Bottom */
    .footer-bottom {
        font-size: 12px;
        padding: 15px;
    }
    
    /* Hide arrows on very small screens */
    .cat-arrow {
        display: none;
    }
    
    .category-slider {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ================= ACCESSIBILITY ================= */
button:focus,
input:focus,
a:focus {
    outline: 2px solid #1f6aa5;
    outline-offset: 2px;
}

/* ================= SMOOTH SCROLLING ================= */
html {
    scroll-behavior: smooth;
}

/* ================= LOADING STATES ================= */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ================= ANIMATIONS ================= */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.animate-slide-in {
    animation: slideIn 0.5s ease forwards;
}