/* ==========================================================================
   MOBILE HEADER REDESIGN
   ========================================================================== */

/* Hide mobile elements on desktop */
@media (min-width: 992px) {
    #header-mobile-right-panel,
    #mobile-bottom-bar {
        display: none !important;
    }
}

/* Only for mobile devices (below 992px) */
@media (max-width: 991.98px) {
    
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden !important;
    }
    
    /* Override margin-top: 80px from template - header is fixed so offset is needed */
    body .body-inner {
        margin-top: 60px !important;
    }
    
    /* Checkout layout - no .body-inner here, uses #content-wrapper instead */
    #content-wrapper {
        margin-top: 60px !important;
        padding-bottom: 80px !important;
    }
    
    /* Checkout: page-container needs overflow-x hidden to not block the menu */
    #page-container {
        overflow-x: hidden !important;
    }
    
    #wrapper {
        overflow-x: hidden !important;
    }
    
    /* ===== TOP BAR: Logo + Burger + Language + Dark Mode ===== */
    
    #header {
        height: 60px !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 200 !important;
    }
    
    #header .header-inner {
        height: 60px !important;
        padding: 0 !important;
    }
    
    /* Override ALL container styles - including data-fullwidth and global .container */
    #header .header-inner .container,
    #header[data-fullwidth="true"] .header-inner .container,
    body #header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 60px !important;
        padding: 0 !important; /* Full zero - custom spacing applied below */
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 !important;
    }
    
    /* Logo - with custom padding */
    #header #logo {
        flex: 0 1 auto; /* Allow shrinking but not growing */
        height: 60px !important;
        display: flex;
        align-items: center;
        margin: 0 !important;
        padding: 0 0 0 10px !important; /* 10px from left */
        min-width: 0; /* Allow proper shrinking */
        z-index: 1 !important; /* Lower z-index than icons */
    }
    
    #header #logo a {
        display: flex;
        align-items: center;
        height: 100%;
    }
    
    #header #logo img {
        max-height: 50px !important;
        height: auto !important;
        width: auto !important;
        object-fit: contain !important;
    }
    
    /* Hide original header-extras (moved to bottom bar) */
    #header .header-extras {
        display: none !important;
    }
    
    /* #mainMenu moved to body via JS - position: fixed works without parent interference */
    #mainMenu[data-mobile-moved="true"] {
        position: fixed !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: calc(100vh - 60px) !important;
        z-index: 999 !important;
        background: #fff !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        /* Hidden by default - animated in */
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-15px) !important;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
    }
    
    /* Menu OPEN - slide-in animation */
    .mainMenu-open #mainMenu[data-mobile-moved="true"] {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }
    
    /* Inner nav - no offset, immediately visible */
    #mainMenu[data-mobile-moved="true"] nav {
        transform: translateY(0) !important;
        opacity: 1 !important;
        padding: 15px 24px 20px 24px !important;
        margin: 0 !important;
    }
    
    /* UL - reset */
    #mainMenu[data-mobile-moved="true"] nav > ul {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Dropdowns hidden by default, revealed only with hover-active */
    #mainMenu[data-mobile-moved="true"] nav > ul > li .dropdown-menu {
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }
    
    #mainMenu[data-mobile-moved="true"] nav > ul > li.hover-active > .dropdown-menu {
        max-height: 4000px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Dark mode for menu — background + text of entire overlay */
    #mainMenu.darkModeDiv[data-mobile-moved="true"] {
        background: #1e2022 !important;
        color: #f1f1f3 !important;
    }

    /* Inner .container gets darkModeDiv = #283144, align to outer menu color */
    #mainMenu.darkModeDiv[data-mobile-moved="true"] > .container {
        background: transparent !important;
    }

    #mainMenu.darkModeDiv[data-mobile-moved="true"] nav > ul > li {
        border-bottom-color: #374151 !important;
    }

    #mainMenu.darkModeDiv[data-mobile-moved="true"] nav > ul > li > a {
        color: #f1f1f3 !important;
    }

    #mainMenu.darkModeDiv[data-mobile-moved="true"] nav > ul > li > a:hover,
    #mainMenu.darkModeDiv[data-mobile-moved="true"] nav > ul > li.hover-active > a {
        color: #EE780E !important;
    }

    #mainMenu.darkModeDiv[data-mobile-moved="true"] nav > ul > li.dropdown > .mobile-menu-toggle {
        color: #aaa !important;
    }

    /* Dropdown in dark mode */
    #mainMenu.darkModeDiv[data-mobile-moved="true"] nav > ul > li .dropdown-menu {
        background: #283144 !important;
    }

    #mainMenu.darkModeDiv[data-mobile-moved="true"] nav > ul > li .dropdown-menu > li > a,
    #mainMenu.darkModeDiv[data-mobile-moved="true"] nav > ul > li .dropdown-menu > li [class*="col-"] > ul > li > a,
    #mainMenu.darkModeDiv[data-mobile-moved="true"] nav > ul > li .dropdown-menu .mega-menu-content a {
        color: #d1d5db !important;
    }

    #mainMenu.darkModeDiv[data-mobile-moved="true"] nav > ul > li .dropdown-menu > li > a:hover,
    #mainMenu.darkModeDiv[data-mobile-moved="true"] nav > ul > li .dropdown-menu > li [class*="col-"] > ul > li > a:hover,
    #mainMenu.darkModeDiv[data-mobile-moved="true"] nav > ul > li .dropdown-menu .mega-menu-content a:hover {
        color: #EE780E !important;
        background: rgba(238,120,14,0.1) !important;
    }
    
    /* Style original mainMenu-trigger for mobile */
    #mainMenu-trigger {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 36px !important;
        height: 36px !important;
        opacity: 1 !important;
        visibility: visible !important;
        flex-shrink: 0;
        margin: 0 !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        z-index: 10 !important;
    }
    
    /* Restore original burger styles from template */
    #mainMenu-trigger a.lines-button {
        cursor: pointer !important;
        pointer-events: auto !important;
    }
    
    /* Remove !important from properties that need to animate */
    #mainMenu-trigger a.lines-button .lines {
        width: 20px;
        height: 2px;
        background: #111;
        border-radius: 4px;
        transition: 0.3s;
        top: 0 !important; /* Reset top: -4px from original - centers the bar */
    }
    
    #mainMenu-trigger a.lines-button .lines:before,
    #mainMenu-trigger a.lines-button .lines:after {
        width: 20px;
        height: 2px;
        background: #111;
        border-radius: 4px;
        transition: 0.3s;
    }
    
    #mainMenu-trigger a.lines-button .lines:before {
        top: 6px;
    }
    
    #mainMenu-trigger a.lines-button .lines:after {
        top: -6px;
    }
    
    /* Toggle-active animation (X shape) */
    #mainMenu-trigger a.lines-button.toggle-active .lines {
        background: transparent !important;
    }
    
    #mainMenu-trigger a.lines-button.toggle-active .lines:before,
    #mainMenu-trigger a.lines-button.toggle-active .lines:after {
        top: 0;
        width: 26px;
    }
    
    #mainMenu-trigger a.lines-button.toggle-active .lines:before {
        transform: rotate3d(0, 0, 1, 45deg);
    }
    
    #mainMenu-trigger a.lines-button.toggle-active .lines:after {
        transform: rotate3d(0, 0, 1, -45deg);
    }
    
    /* Dark mode for burger - #mainMenu-trigger is a div → gets darkModeDiv */
    #mainMenu-trigger.darkModeDiv a.lines-button .lines,
    #mainMenu-trigger.darkModeDiv a.lines-button .lines:before,
    #mainMenu-trigger.darkModeDiv a.lines-button .lines:after {
        background: #fff !important;
    }
    
    /* Dark mode for toggle-active - transparent stays transparent */
    #mainMenu-trigger.darkModeDiv a.lines-button.toggle-active .lines {
        background: transparent !important;
    }
    
    /* Right panel: Language + Dark Mode + Burger - FORCE VISIBILITY */
    #header-mobile-right-panel {
        display: flex !important;
        align-items: center; /* Vertically center items */
        justify-content: flex-end;
        gap: 6px !important;
        height: 60px;
        flex-shrink: 0;
        flex-wrap: nowrap;
        margin-left: auto;
        padding: 0 10px 0 0 !important; /* Extra padding on the right */
        position: relative !important;
        z-index: 10 !important;
    }
    
    #header-mobile-right-panel.d-lg-none {
        display: flex !important; /* Override Bootstrap d-lg-none */
    }
    
    /* Language switch - icon + text */
    .mobile-language-switch {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 3px;
        text-decoration: none;
        color: #1e2022;
        font-size: 13px;
        font-weight: 500;
        padding: 6px 8px;
        border-radius: 6px;
        transition: background 0.2s ease;
        white-space: nowrap;
        flex-shrink: 0;
        height: 36px;
    }
    
    .mobile-language-switch:hover {
        background: #f8f9fa;
    }

    /* Dark mode - language switch is an <a> so it gets darkModeHref */
    .mobile-language-switch.darkModeHref {
        color: #f1f1f3 !important;
    }

    .mobile-language-switch.darkModeHref:hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    .mobile-language-switch i {
        font-size: 16px;
    }
    
    /* Dark mode toggle button */
    .mobile-dark-mode-switch {
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 6px;
        flex-shrink: 0;
        height: 36px;
        width: 36px;
    }
    
    .mobile-dark-mode-switch img {
        width: 20px !important;
        height: 20px !important;
        transform: none !important;
        margin: 0 !important;
    }
    
    /* ===== BOTTOM BAR: Cart + Search + Categories + Chat ===== */
    
    #mobile-bottom-bar {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 60px !important;
        background: #fff !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
        z-index: 199 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        padding: 0 !important;
    }
    
    /* Hide original Dify chatbot button on mobile - replaced by bottom bar */
    /* Using opacity instead of display:none so programmatic .click() still works */
    #dify-chatbot-bubble-button {
        opacity: 0 !important;
        pointer-events: none !important;
        bottom: -200px !important;
    }
    
    /* Chat window above bottom bar (60px height) */
    #dify-chatbot-bubble-window {
        bottom: 70px !important;
        right: 0 !important;
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 16px 16px 0 0 !important;
    }
    
    #mobile-bottom-bar.d-lg-none {
        display: flex !important; /* Override Bootstrap d-lg-none */
    }
    
    .mobile-bottom-bar-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        text-decoration: none;
        color: #1e2022;
        padding: 6px 8px;
        border-radius: 10px;
        transition: all 0.2s ease;
        position: relative;
        min-width: 0;
        flex: 1;
    }
    
    .mobile-bottom-bar-item:hover,
    .mobile-bottom-bar-item:active {
        background: #f8f9fa;
        color: #EE780E;
    }
    
    .mobile-bottom-bar-item i {
        font-size: 22px;
    }
    
    .mobile-bottom-bar-item span {
        font-size: 11px;
        font-weight: 500;
    }
    
    /* Cart item badge */
    .mobile-bottom-bar-item .badge {
        position: absolute;
        top: 4px;
        right: 8px;
        background: #EE780E;
        color: #fff;
        font-size: 10px;
        font-weight: 600;
        padding: 2px 6px;
        border-radius: 10px;
        min-width: 18px;
        text-align: center;
    }
    
    /* Orange chat button */
    .mobile-bottom-bar-chat {
        background: #EE780E !important;
        color: #fff !important;
        border-radius: 0 !important;
    }
    .mobile-bottom-bar-chat i,
    .mobile-bottom-bar-chat span {
        color: #fff !important;
    }
    .mobile-bottom-bar-chat:hover,
    .mobile-bottom-bar-chat:active {
        background: #d46a0a !important;
        color: #fff !important;
    }
    
    /* ===== CATEGORY BAR - Fixed, appears on scroll ===== */
    
    .alu-category-bar-mobile {
        position: fixed !important;
        top: 60px !important; /* Below the header */
        left: 0 !important;
        right: 0 !important;
        z-index: 190 !important;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        padding: 10px 0;
        border-bottom: 1px solid #e4e6ef;
        will-change: transform;
        
        /* Hidden by default - using opacity instead of visibility so the layer
           is always rendered and text doesn't "flash" on reveal */
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.2s ease;
    }
    
    /* Show category bar when scroll > 100px */
    body.scrolled .alu-category-bar-mobile {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    /* ===== MAIN CONTENT - padding-bottom for bottom bar ===== */
    
    #wrapper {
        padding-bottom: 80px; /* Space for bottom bar + margin */
    }
    
}

/* Tablet (768-991.98px) - may have different settings */
@media (min-width: 768px) and (max-width: 991.98px) {
    #header {
        height: 70px !important;
    }
    
    #header .header-inner,
    #header .header-inner .container,
    #header #logo {
        height: 70px !important;
    }
    
    .alu-category-bar-mobile {
        top: 70px !important;
    }
}

/* ===== ACTIVE STATE - category chip ===== */
@media (max-width: 991.98px) {
    .alu-category-chip--active {
        background: #EE780E !important;
        color: #fff !important;
        border-color: #EE780E !important;
        font-weight: 600 !important;
    }
}

/* ===== TOUCH ACTION - eliminate 300ms click delay ===== */
@media (max-width: 991.98px) {
    a,
    button,
    .btn,
    .mobile-bottom-bar-item,
    .alu-category-chip,
    .alu-category-card,
    .alu-cat-card,
    input[type="submit"],
    input[type="button"],
    label {
        touch-action: manipulation;
    }
}

/* ===== FOOTER - padding for fixed bottom bar ===== */
@media (max-width: 991.98px) {
    .copyright-content {
        padding-bottom: 70px !important;
    }
}

/* ===== MOBILE MENU - dropdown redesign ===== */
@media (max-width: 991.98px) {

    /* Each top-level item — clear divider line */
    #mainMenu[data-mobile-moved="true"] nav > ul > li {
        border-bottom: 1px solid #f0f0f0 !important;
        position: relative !important;
    }

    /* Category link — large touch target, padding-right for toggle arrow */
    #mainMenu[data-mobile-moved="true"] nav > ul > li > a {
        display: block !important;
        padding: 16px 56px 16px 4px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #1e2022 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        line-height: 1.3 !important;
    }

    #mainMenu[data-mobile-moved="true"] nav > ul > li > a:hover,
    #mainMenu[data-mobile-moved="true"] nav > ul > li.hover-active > a {
        color: #EE780E !important;
    }

    /* Hide old :before arrow (font icon) */
    #mainMenu[data-mobile-moved="true"] nav > ul > li.dropdown:before {
        display: none !important;
    }

    /* Large toggle button — separate from link, 48x48px tap target */
    #mainMenu[data-mobile-moved="true"] nav > ul > li.dropdown > .mobile-menu-toggle {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 52px !important;
        height: 52px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        z-index: 2 !important;
        background: transparent !important;
        border: none !important;
        color: #666 !important;
        font-size: 20px !important;
        transition: transform 0.25s ease, color 0.2s ease !important;
    }

    #mainMenu[data-mobile-moved="true"] nav > ul > li.dropdown.hover-active > .mobile-menu-toggle {
        transform: rotate(45deg) !important;
        color: #EE780E !important;
    }

    /* Dropdown content — accordion style */
    #mainMenu[data-mobile-moved="true"] nav > ul > li .dropdown-menu {
        position: static !important;
        max-height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: max-height 0.35s ease, opacity 0.25s ease !important;
        background: #fafafa !important;
        border-radius: 8px !important;
        margin: 0 0 8px 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }

    #mainMenu[data-mobile-moved="true"] nav > ul > li.hover-active > .dropdown-menu {
        max-height: 4000px !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 8px 0 !important;
    }

    /* Links inside dropdown */
    #mainMenu[data-mobile-moved="true"] nav > ul > li .dropdown-menu > li > a,
    #mainMenu[data-mobile-moved="true"] nav > ul > li .dropdown-menu > li [class*="col-"] > ul > li > a,
    #mainMenu[data-mobile-moved="true"] nav > ul > li .dropdown-menu .mega-menu-content a {
        font-size: 14px !important;
        padding: 10px 16px !important;
        color: #444 !important;
        border-bottom: none !important;
        display: block !important;
        transition: color 0.15s ease, background 0.15s ease !important;
    }

    /* Hover on submenu links */
    #mainMenu[data-mobile-moved="true"] nav > ul > li .dropdown-menu > li > a:hover,
    #mainMenu[data-mobile-moved="true"] nav > ul > li .dropdown-menu > li [class*="col-"] > ul > li > a:hover,
    #mainMenu[data-mobile-moved="true"] nav > ul > li .dropdown-menu .mega-menu-content a:hover {
        color: #EE780E !important;
        background: rgba(238,120,14,0.06) !important;
        padding-left: 22px !important;
    }

    #mainMenu[data-mobile-moved="true"] nav > ul > li .dropdown-menu .mega-menu-title {
        font-size: 11px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        color: #EE780E !important;
        padding: 12px 16px 4px !important;
        letter-spacing: 0.8px !important;
    }

    /* col-lg-4 inside mega menu — full width on mobile */
    #mainMenu[data-mobile-moved="true"] nav > ul > li .dropdown-menu [class*="col-lg"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 100% !important;
        padding: 0 !important;
    }
}

/* ==========================================================================
   QUICK CATEGORY BAR - MOBILE
   ========================================================================== */

.alu-category-bar-mobile {
    display: block !important;
    position: relative;
    z-index: 10;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    border-bottom: 1px solid #e4e6ef;
}

@media (min-width: 992px) {
    .alu-category-bar-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .alu-category-bar-mobile {
        position: sticky;
        top: 80px;
        z-index: 190;
    }
}

.alu-category-bar-scroll {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 8px;
    padding: 0 15px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.alu-category-bar-scroll::-webkit-scrollbar {
    display: none;
}

.alu-category-chip {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #e4e6ef;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #1e2022 !important;
}

.alu-category-chip--all {
    background: #f8f9fa;
    color: #1e2022 !important;
    border-color: #e4e6ef;
    font-weight: 600;
}

.alu-category-chip:hover,
.alu-category-chip:active {
    background: #EE780E;
    color: #fff !important;
    border-color: #EE780E;
    text-decoration: none;
}

.alu-category-chip--all:hover {
    background: #EE780E;
    border-color: #EE780E;
}

.alu-chip-icon {
    margin-right: 6px;
    font-size: 16px;
}

/* Dark mode */
.alu-category-bar-mobile.darkModeDiv {
    background: #1e2022;
    border-bottom-color: #374151;
}

.alu-category-bar-scroll.darkModeDiv {
    background-color: transparent !important;
}

.darkModeDiv .alu-category-chip {
    background: #1e2022;
    border-color: #374151;
    color: #fff !important;
}

.darkModeDiv .alu-category-chip:hover {
    background: #EE780E;
    border-color: #EE780E;
}

/* ==========================================================================
   SHOP CATEGORIES MOBILE - HOME PAGE SECTION
   ========================================================================== */

.alu-shop-categories-mobile {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

@media (min-width: 992px) {
    .alu-shop-categories-mobile {
        display: none !important;
    }
}

.alu-categories-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 0 auto;
    max-width: 500px;
}

@media (min-width: 576px) and (max-width: 991px) {
    .alu-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        gap: 20px;
    }
}

.alu-category-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-height: 100px;
}

.alu-category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(238, 120, 14, 0.2);
    text-decoration: none;
    color: inherit;
}

.alu-category-image {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    margin-right: 15px;
}

.alu-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alu-category-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.alu-category-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #1e2022;
    line-height: 1.4;
}

.alu-category-arrow {
    font-size: 24px;
    color: #EE780E;
    font-weight: bold;
    margin-left: 10px;
}

/* ==========================================================================
   CATEGORIES PAGE
   ========================================================================== */

.alu-categories-page {
    padding-top: 40px;
    padding-bottom: 60px;
}

.alu-cat-grid {
    max-width: 1100px;
    margin: 0 auto;
}

.alu-cat-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.alu-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(238,120,14,0.18);
    text-decoration: none;
    color: inherit;
}

.alu-cat-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f5f5;
}

.alu-cat-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.alu-cat-card:hover .alu-cat-card__image img {
    transform: scale(1.04);
}

.alu-cat-card__body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
}

.alu-cat-card__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #1e2022;
    line-height: 1.3;
}

.alu-cat-card__arrow {
    font-size: 22px;
    color: #EE780E;
    font-weight: bold;
    flex-shrink: 0;
    margin-left: 10px;
}

@media (max-width: 575px) {
    .alu-cat-card__image {
        aspect-ratio: 16 / 9;
    }

    .alu-cat-card__title {
        font-size: 16px;
    }
}
