* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.armani-category-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
}

.armani-category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px;
    background-color: #76213B0D;
    border-radius: 25px;
    max-width: fit-content;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 5px;
}

.armani-tab {
    background: none;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.armani-tab:hover {
    color: #76213B;
}

.armani-tab.armani-active {
    color: #76213B;
    background: #76213B;
    color: white;
    border-radius: 25px;
}

.armani-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 60px;
    padding-top: 30px;
    min-height: 350px;
}

.armani-carousel-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    align-items: flex-start;
    min-height: 320px;
}

.armani-category-item {
    flex: 0 0 220px;
    margin: 0 10px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.armani-category-item:hover {
    transform: translateY(-5px);
}

.armani-category-image {
    width: 200px;
    height: 280px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.armani-category-image:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.armani-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    object-position: center;
    min-height: 0;
    max-height: 280px;
}

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

.armani-category-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.armani-category-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.armani-category-link:hover {
    text-decoration: none;
    color: inherit;
}

.armani-nav-button {
    position: absolute!important;
    top: 50%!important;
    transform: translateY(-50%)!important;
    background: white!important;
    border: 1px solid #e5e5e5!important;
    width: 40px!important;
    height: 40px!important;
    border-radius: 50%!important;
    cursor: pointer!important;
    display: flex!important;
    align-items: center!important;
    justify-content: center!important;
    z-index: 10!important;
    transition: all 0.3s ease!important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1)!important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.armani-nav-button:hover {
    background: #f8f8f8!important;
    transform: translateY(-50%) scale(1.1)!important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15)!important;
}

.armani-nav-button.armani-prev {
    left: 10px!important;
}

.armani-nav-button.armani-next {
    right: 10px!important;
}

/* Ensure arrows are visible */
.armani-nav-button {
    background: white !important;
    color: #000000 !important;
    border: none !important;
}

.armani-nav-button svg {
    width: 16px !important;
    height: 16px !important;
    display: block !important;
}

/* Fallback arrow styling */
.armani-nav-button::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid #000000;
    border-top: none;
    border-right: none;
}

.armani-nav-button.armani-prev::before {
    transform: rotate(45deg);
    left: 16px;
    top: 16px;
}

.armani-nav-button.armani-next::before {
    transform: rotate(-135deg);
    right: 16px;
    top: 16px;
}

.armani-nav-arrow {
    width: 16px;
    height: 16px;
    stroke: #000000 !important;
    stroke-width: 2 !important;
    fill: none !important;
    color: #000000 !important;
}

.armani-nav-arrow path {
    stroke: #000000 !important;
    stroke-width: 2 !important;
    fill: none !important;
}

@media (max-width: 1024px) {
    .armani-category-section {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .armani-carousel-container {
        padding: 0 50px;
    }
    
    .armani-category-item {
        flex: 0 0 200px;
    }
    
    .armani-category-image {
        width: 180px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .armani-category-section {
        margin: 25px auto;
    }
    
    .armani-category-tabs {
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 12px;
        background-color: #fafafa;
        border-radius: 22px;
        box-shadow: 0 1px 8px rgba(0,0,0,0.08);
    }
    
    .armani-tab {
        padding: 12px 18px;
        font-size: 14px;
        min-width: 110px;
        border-radius: 18px;
        transition: all 0.3s ease;
    }
    
    .armani-tab.armani-active {
        box-shadow: 0 2px 10px rgba(118, 33, 59, 0.25);
    }
    
    .armani-carousel-container {
        padding: 0 40px;
        min-height: 300px;
        margin-top: 25px;
    }
    
    .armani-carousel-wrapper {
        min-height: 280px;
    }
    
    .armani-category-item {
        flex: 0 0 180px;
        margin: 0 8px;
    }
    
    .armani-category-image {
        width: 160px;
        height: 220px;
        border-radius: 15px;
        box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    }
    
    .armani-nav-button {
        width: 35px !important;
        height: 35px !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.12) !important;
    }
    
    .armani-nav-arrow {
        width: 14px !important;
        height: 14px !important;
    }
}

@media (max-width: 600px) {
    .armani-category-section {
        margin: 15px auto;
        padding: 0 10px;
    }
    
    .armani-category-tabs {
        flex-direction: row;
        justify-content: center;
        gap: 5px;
        padding: 8px 12px;
        background-color: #f8f8f8;
        border-radius: 20px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .armani-tab {
        padding: 10px 16px;
        font-size: 13px;
        min-width: auto;
        border-radius: 15px;
        background: transparent;
        transition: all 0.3s ease;
    }
    
    .armani-tab.armani-active {
        background: #76213B;
        color: white;
        box-shadow: 0 2px 8px rgba(118, 33, 59, 0.3);
    }
    
    .armani-carousel-container {
        padding: 0 25px;
        margin-top: 20px;
    }
    
    .armani-category-item {
        flex: 0 0 150px;
        margin: 0 8px;
    }
    
    .armani-category-image {
        width: 130px;
        height: 180px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .armani-category-name {
        font-size: 13px;
        margin-top: 8px;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .armani-category-section {
        padding: 0 8px;
        margin: 10px auto;
    }
    
    .armani-category-tabs {
        padding: 6px 10px;
        gap: 3px;
    }
    
    .armani-tab {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 12px;
    }
    
    .armani-carousel-container {
        padding: 0 20px;
        min-height: 220px;
        margin-top: 15px;
    }
    
    .armani-carousel-wrapper {
        min-height: 200px;
    }
    
    .armani-category-item {
        flex: 0 0 130px;
        margin: 0 6px;
    }
    
    .armani-category-image {
        width: 110px;
        height: 150px;
        border-radius: 10px;
    }
    
    .armani-nav-button {
        width: 28px !important;
        height: 28px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    }
    
    .armani-nav-arrow {
        width: 11px !important;
        height: 11px !important;
    }
    
    .armani-category-name {
        font-size: 11px;
        margin-top: 6px;
    }
}

@media (max-width: 360px) {
    .armani-category-section {
        padding: 0 5px;
        margin: 8px auto;
    }
    
    .armani-category-tabs {
        padding: 5px 8px;
        gap: 2px;
        border-radius: 15px;
    }
    
    .armani-tab {
        padding: 6px 10px;
        font-size: 11px;
        border-radius: 10px;
    }
    
    .armani-carousel-container {
        padding: 0 15px;
        margin-top: 12px;
    }
    
    .armani-category-item {
        flex: 0 0 110px;
        margin: 0 4px;
    }
    
    .armani-category-image {
        width: 90px;
        height: 130px;
        border-radius: 8px;
    }
    
    .armani-nav-button {
        width: 25px !important;
        height: 25px !important;
    }
    
    .armani-nav-arrow {
        width: 10px !important;
        height: 10px !important;
    }
    
    .armani-category-name {
        font-size: 10px;
        margin-top: 5px;
    }
}
