/**
 * SIDE TOURS - Responsive Styles
 * Antik Side Theme | Mobile-First Approach
 */

/* ===================================
   BREAKPOINTS
   =================================== */
/* 
   xs: 0-575px (Mobile Portrait)
   sm: 576-767px (Mobile Landscape)
   md: 768-991px (Tablet)
   lg: 992-1199px (Desktop)
   xl: 1200px+ (Large Desktop)
*/

/* ===================================
   TABLET & BELOW (max-width: 991px)
   =================================== */
@media (max-width: 991px) {
    
    /* Typography */
    h1 { font-size: var(--font-size-4xl); }
    h2 { font-size: var(--font-size-3xl); }
    h3 { font-size: var(--font-size-2xl); }
    
    /* Container */
    .container {
        padding: 0 var(--spacing-lg);
    }
    
    /* Hide desktop nav CTA button on mobile */
    .nav-cta {
        display: none !important;
    }
    
    /* Header - Mobile Navigation */
    .mobile-toggle {
        display: flex;
        position: relative;
        z-index: 1000;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #FDF9F2;
        flex-direction: column;
        padding: 80px var(--spacing-lg) var(--spacing-lg);
        box-shadow: -8px 0 24px rgba(61, 40, 23, 0.15);
        transition: right var(--transition-base);
        z-index: 999;
        overflow-y: auto;
        border-left: 1px solid #D4A574;
    }
    
    .nav-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, #C65D3A, #D4A574, #C65D3A);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--spacing-md);
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid #E8DCC4;
    }
    
    /* Mobile menu overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(42, 26, 14, 0.6);
        backdrop-filter: blur(2px);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Featured Tours */
    .tours-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Section Title */
    .section-title {
        font-size: var(--font-size-3xl);
    }
}

/* ===================================
   MOBILE & TABLET (max-width: 767px)
   =================================== */
@media (max-width: 767px) {
    
    /* Typography */
    h1 { font-size: var(--font-size-3xl); }
    h2 { font-size: var(--font-size-2xl); }
    h3 { font-size: var(--font-size-xl); }
    
    body {
        font-size: var(--font-size-sm);
    }
    
    /* Container */
    .container {
        padding: 0 var(--spacing-md);
    }
    
    /* Header */
    .header-top {
        padding: var(--spacing-sm) 0;
        font-size: var(--font-size-xs);
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: var(--spacing-xs);
        text-align: center;
    }
    
    .header-main {
        padding: var(--spacing-md) 0;
    }
    
    .logo-text {
        font-size: var(--font-size-xl);
    }
    
    /* Hero */
    .hero-section {
        height: 500px;
    }
    
    .hero-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-controls {
        display: none;
    }
    
    /* ===================================
       Search Form - Mobile 2x2 Grid + Full Width Button
       Satır 1: Tur Ara | Lokasyon
       Satır 2: Kategori | Sıralama
       Satır 3: Ara butonu (tam genişlik)
       =================================== */
    .search-form {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-sm);
    }
    
    .search-group {
        width: 100%;
        min-width: 0;
    }
    
    .search-btn {
        grid-column: 1 / -1;
        width: 100%;
    }
    
    /* Section Padding */
    section {
        padding: var(--spacing-2xl) 0;
    }
    
    /* Section Title */
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .section-subtitle {
        font-size: var(--font-size-base);
    }
    
    /* Featured Tours */
    .tours-grid {
        grid-template-columns: 1fr;
    }
    
    /* Categories */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    /* Why Section */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    /* CTA */
    .cta-title {
        font-size: var(--font-size-3xl);
    }
    
    .cta-text {
        font-size: var(--font-size-base);
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    /* Pagination */
    .pagination {
        flex-wrap: wrap;
    }
}

/* ===================================
   SMALL MOBILE (max-width: 575px)
   =================================== */
@media (max-width: 575px) {
    
    /* Container */
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    /* ===================================
       MOBILE TOP BAR - CLEAN & COMPACT
       Antik Side palette
       =================================== */
    
    /* Top Bar Container */
    .top-bar {
        font-size: 11px;
        padding: 0;
        background-color: #F5E6D3;
        border-bottom: 1px solid #E8DCC4;
    }
    
    .top-bar-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px 0;
        gap: 8px;
    }
    
    /* Left: Phone & Email Icons Only */
    .top-bar-left {
        display: flex;
        gap: 8px;
        justify-content: flex-start;
    }
    
    .top-link {
        font-size: 0 !important;
        padding: 4px;
        color: #6B5444;
        transition: color 0.2s;
    }
    
    .top-link:hover {
        color: #C65D3A;
    }
    
    .top-link svg {
        width: 16px;
        height: 16px;
    }
    
    /* Right: Language & Currency with Flags */
    .top-bar-right {
        display: flex;
        gap: 8px;
        justify-content: flex-end;
    }
    
    .dropdown {
        flex-shrink: 0;
    }
    
    .dropdown-toggle {
        padding: 4px 8px;
        font-family: 'Playfair Display', 'Georgia', serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.5px;
        border: 1px solid #D4A574;
        background-color: #FDF9F2;
        color: #3D2817;
        border-radius: 2px;
        gap: 4px;
        transition: all 0.2s;
        display: flex;
        align-items: center;
    }
    
    .dropdown-toggle:hover {
        background-color: #FBF7F0;
        border-color: #C65D3A;
        color: #C65D3A;
    }
    
    .dropdown-toggle svg {
        width: 8px;
        height: 8px;
    }
    
    /* Keep flag icons visible on mobile */
    .dropdown-toggle .fi {
        font-size: 12px;
    }
    
    /* Hero */
    .hero-section {
        height: 450px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .hero-content::before {
        font-size: 10px;
        letter-spacing: 10px;
        margin-bottom: 18px;
    }
    
    /* Categories - 1 column on small mobile */
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    /* Tour Card */
    .tour-image {
        height: 200px;
    }
    
    .tour-content {
        padding: var(--spacing-md);
    }
    
    .tour-title {
        font-size: 18px;
    }
    
    .tour-meta {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }
    
    /* Modal */
    .modal-content {
        margin: var(--spacing-md);
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   EXTRA SMALL (max-width: 425px)
   =================================== */
@media (max-width: 425px) {
    
    /* Top Bar - Even More Compact */
    .top-bar {
        font-size: 10px;
        background-color: #F5E6D3;
    }
    
    .top-bar-content {
        grid-template-columns: auto 1fr auto;
        gap: 6px;
        padding: 6px 0;
    }
    
    .top-bar-left {
        gap: 6px;
    }
    
    .top-link svg {
        width: 14px;
        height: 14px;
    }
    
    /* Book Button - Slightly Smaller */
    .mobile-book-btn {
        padding: 6px 14px;
        font-family: 'Playfair Display', 'Georgia', serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        border-radius: 2px;
    }
    
    /* Language & Currency */
    .top-bar-right {
        gap: 4px;
    }
    
    .dropdown-toggle {
        padding: 3px 5px;
        font-size: 9px;
        min-width: 38px;
    }
    
    /* Logo */
    .site-logo img {
        height: 50px;
        max-width: 150px;
        object-fit: contain;
    }
    
    /* Book Now Button - Ultra Minimal Mobile */
    .nav-cta {
        display: none !important;
    }
    
    /* ===================================
       Search Form - Çok Dar Ekranda Tek Sütun
       (Örn: 360px ekranlarda 2 sütun bile dar gelirse)
       =================================== */
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .search-btn {
        grid-column: 1;
    }
    
    /* ===================================
       STICKY SIDEBAR BOOK BUTTON (Mobile Only)
       LEFT SIDE - ANTİK STİL
       =================================== */
    .mobile-sidebar-book {
        position: fixed;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 998;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        background: linear-gradient(180deg, #C65D3A 0%, #A04826 100%);
        color: #FBF7F0;
        padding: 18px 8px;
        font-family: 'Playfair Display', 'Georgia', serif;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 2px;
        border-radius: 0 2px 2px 0;
        border-right: 1px solid #D4A574;
        box-shadow: 3px 3px 12px rgba(61, 40, 23, 0.25);
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
    }
    
    .mobile-sidebar-book::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        border-left: 2px solid #D4A574;
        border-right: 1px solid rgba(212, 165, 116, 0.4);
        pointer-events: none;
    }
    
    .mobile-sidebar-book:hover {
        background: linear-gradient(180deg, #A04826 0%, #8B3818 100%);
        box-shadow: 4px 4px 16px rgba(61, 40, 23, 0.35);
        padding-left: 12px;
    }
    
    /* Hero */
    .hero-section {
        height: 400px;
    }
    
    .hero-title {
        font-size: var(--font-size-2xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-sm);
    }
    
    /* Section Padding */
    section {
        padding: var(--spacing-xl) 0;
    }
    
    /* Section Title */
    .section-title {
        font-size: var(--font-size-xl);
    }
    
    /* Tour Image */
    .tour-image {
        height: 180px;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 18px;
        font-size: var(--font-size-sm);
    }
    
    /* Form */
    .form-control {
        padding: 10px 12px;
        font-size: var(--font-size-sm);
    }
}

/* ===================================
   LARGE DESKTOP (min-width: 1400px)
   =================================== */
@media (min-width: 1400px) {
    
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 72px;
    }
    
    .section-title {
        font-size: 48px;
    }
}

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
    
    .header,
    .footer,
    .hero-controls,
    .hero-dots,
    .btn,
    .menu-overlay,
    .nav-menu,
    .whatsapp-sticky,
    .mobile-sidebar-book {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
        font-family: 'Georgia', serif;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    img {
        max-width: 100%;
        page-break-inside: avoid;
    }
    
    .tour-card,
    .blog-card {
        page-break-inside: avoid;
        border: 1px solid #ddd;
        margin-bottom: 20px;
    }
}

/* ===================================
   HIGH CONTRAST MODE
   =================================== */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: none;
        --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.5);
        --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.5);
        --shadow-xl: 0 8px 16px rgba(0, 0, 0, 0.5);
    }
}

/* ===================================
   REDUCED MOTION
   =================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===================================
   DARK MODE SUPPORT (OPTIONAL)
   =================================== */
@media (prefers-color-scheme: dark) {
    /* Future: Add dark mode styles here */
}

/* ===================================
   WHATSAPP STICKY BUTTON — Antik Zeytin Daveti
   All Devices
   =================================== */

.whatsapp-sticky {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 997;
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #4A5D2E 0%, #3D5520 100%);
    color: #FBF7F0;
    padding: 12px 18px 12px 14px;
    border: 1px solid #3D5520;
    border-radius: 2px;
    box-shadow: 0 4px 14px rgba(74, 93, 46, 0.35);
    text-decoration: none;
    transition: all 0.3s ease;
    animation: whatsappPulse 2.5s infinite;
    font-family: 'Playfair Display', 'Georgia', serif;
    position: fixed;
}

.whatsapp-sticky::before {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(212, 165, 116, 0.3);
    pointer-events: none;
    border-radius: 1px;
}

.whatsapp-sticky:hover {
    background: linear-gradient(135deg, #3D5520 0%, #2D4015 100%);
    box-shadow: 0 6px 20px rgba(74, 93, 46, 0.5);
    transform: translateY(-3px);
}

.whatsapp-sticky:hover::before {
    border-color: rgba(212, 165, 116, 0.5);
}

.whatsapp-sticky svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: #D4A574;
    position: relative;
    z-index: 1;
}

.whatsapp-badge {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #D4A574;
    white-space: nowrap;
    animation: badgeSlide 0.5s ease forwards;
    position: relative;
    z-index: 1;
}

/* Pulse animation — Antik altın parıltı */
@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(74, 93, 46, 0.35), 0 0 0 0 rgba(212, 165, 116, 0.4);
    }
    50% {
        box-shadow: 0 4px 18px rgba(74, 93, 46, 0.5), 0 0 0 8px rgba(212, 165, 116, 0);
    }
}

/* Badge slide in */
@keyframes badgeSlide {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smaller screens - compact version */
@media (max-width: 575px) {
    .whatsapp-sticky {
        left: 15px;
        bottom: 15px;
        padding: 10px 14px 10px 12px;
    }
    
    .whatsapp-sticky svg {
        width: 22px;
        height: 22px;
    }
    
    .whatsapp-badge {
        font-size: 11px;
        letter-spacing: 1px;
    }
}

/* ===================================
   OVERFLOW SAFEGUARD (global)
   =================================== */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

/* ===================================
   ATG SLIDER — Antik Slider
   =================================== */

/* Slider container */
.atg-slider-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 460px;
    overflow: hidden;
    border-radius: 2px;
    background: #2A1A0E;
    border: 1px solid #D4A574;
    box-shadow: 0 8px 24px rgba(61, 40, 23, 0.15);
}

.atg-slider-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #C65D3A, #D4A574, #C65D3A);
    z-index: 6;
}

.atg-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slides: stacked, fade with opacity */
.atg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
}

.atg-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Nav arrows — Antik */
.atg-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 2px;
    background: rgba(42, 26, 14, 0.7);
    border: 1px solid #D4A574;
    color: #D4A574;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.atg-nav:hover {
    background: #D4A574;
    color: #2A1A0E;
    border-color: #B08856;
    box-shadow: 0 0 16px rgba(212, 165, 116, 0.4);
}

.atg-nav-prev { left: 10px; }
.atg-nav-next { right: 10px; }

/* Counter badge */
.atg-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(42, 26, 14, 0.75);
    color: #D4A574;
    padding: 5px 12px;
    border: 1px solid rgba(212, 165, 116, 0.5);
    border-radius: 2px;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 4;
    backdrop-filter: blur(4px);
}

/* Expand / view-all button */
.atg-expand {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(42, 26, 14, 0.75);
    border: 1px solid rgba(212, 165, 116, 0.5);
    color: #D4A574;
    padding: 6px 12px;
    border-radius: 2px;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 4;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.atg-expand:hover {
    background: #D4A574;
    color: #2A1A0E;
    border-color: #B08856;
}

/* Thumbnail strip */
.atg-thumb-strip {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding: 2px;
    scrollbar-width: thin;
    scrollbar-color: #D4A574 #F5E6D3;
}

.atg-thumb-strip::-webkit-scrollbar {
    height: 6px;
}

.atg-thumb-strip::-webkit-scrollbar-track {
    background: #F5E6D3;
}

.atg-thumb-strip::-webkit-scrollbar-thumb {
    background: #D4A574;
    border-radius: 2px;
}

.atg-thumb {
    flex-shrink: 0;
    width: 78px;
    height: 58px;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #D4A574;
    opacity: 0.7;
    transition: all 0.25s ease;
}

.atg-thumb:hover,
.atg-thumb.active {
    opacity: 1 !important;
    border-color: #C65D3A;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(198, 93, 58, 0.25);
}

.atg-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lightbox — Antik Vitrin */
.atg-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 18, 8, 0.96);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.atg-lightbox::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 80px, rgba(212, 165, 116, 0.025) 80px, rgba(212, 165, 116, 0.025) 81px);
    pointer-events: none;
}

.atg-lb-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: transparent;
    border: 1px solid #D4A574;
    color: #D4A574;
    width: 44px;
    height: 44px;
    font-size: 24px;
    border-radius: 2px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atg-lb-close:hover {
    background: #D4A574;
    color: #2A1A0E;
    border-color: #B08856;
}

.atg-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid #D4A574;
    color: #D4A574;
    width: 50px;
    height: 50px;
    border-radius: 2px;
    font-size: 20px;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atg-lb-nav:hover {
    background: #D4A574;
    color: #2A1A0E;
    border-color: #B08856;
    box-shadow: 0 0 20px rgba(212, 165, 116, 0.4);
}

.atg-lb-prev { left: 20px; }
.atg-lb-next { right: 20px; }

.atg-lb-prev:hover { transform: translateY(-50%) translateX(-3px); }
.atg-lb-next:hover { transform: translateY(-50%) translateX(3px); }

#atgLbImg {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 2px;
    border: 1px solid #D4A574;
    box-shadow: 0 0 48px rgba(212, 165, 116, 0.15);
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 1;
}

.atg-lb-counter {
    color: #D4A574;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 13px;
    letter-spacing: 2px;
    margin-top: 16px;
    padding: 6px 18px;
    border: 1px solid rgba(212, 165, 116, 0.5);
    border-radius: 2px;
    position: relative;
    z-index: 1;
}

/* ATG Responsive */
@media (max-width: 991px) {
    .atg-slider-wrap { max-height: 360px; }
}

@media (max-width: 767px) {
    .atg-slider-wrap { max-height: 300px; aspect-ratio: 16 / 11; }
    .atg-nav { width: 36px; height: 36px; font-size: 14px; }
    .atg-expand { font-size: 10px; padding: 4px 8px; }
    .atg-counter { font-size: 11px; padding: 3px 10px; }
}

@media (max-width: 575px) {
    .atg-slider-wrap { max-height: 240px; aspect-ratio: 4 / 3; }
    .atg-thumb { width: 54px; height: 42px; }
    .atg-lb-nav { width: 40px; height: 40px; font-size: 16px; }
    .atg-lb-prev { left: 10px; }
    .atg-lb-next { right: 10px; }
    .atg-lb-close { width: 38px; height: 38px; font-size: 20px; top: 12px; right: 12px; }
}