:root {
    --bg: #ffffff;
    --surface: #fafafa;
    --text: #000000;
    --muted: #6b7280;
    --primary: #000000;
    --primary-dark: #1a1a1a;
    --accent: #404040;
    --accent2: #737373;
    --accent3: #525252;
    --border: #e5e5e5;
    --radius: 16px;
    --container: 1400px;
}

.badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    margin: 0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--primary);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(100%, var(--container));
    margin-inline: auto;
    padding-inline: 1.5rem;
    position: relative;
    z-index: 1;
}

.site-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 56px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    display: none;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-cart-icon {
    display: flex;
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all 0.2s ease;
}

.header-cart-icon:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.header-cart-icon svg {
    display: block;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.3rem;
    line-height: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--surface);
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span + span {
    margin-top: 4px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.site-nav a {
    padding: 0.55rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
    background: var(--primary);
    color: #fff;
}

.cart-link,
.checkout-link {
    border: 1px solid var(--border);
    background: var(--surface);
}

.cart-link:hover,
.checkout-link:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.main-content {
    padding-block: 0;
}

.categories-section {
    background: var(--surface);
    padding: 2rem 0 3.5rem 0;
    position: relative;
    overflow: hidden;
}

.categories-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(0, 0, 0, 0.01) 0%, 
        rgba(0, 0, 0, 0.02) 50%, 
        rgba(0, 0, 0, 0.01) 100%);
    pointer-events: none;
}

.categories-scroll {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 0.75rem;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: var(--text);
    background: var(--surface);
    border-radius: 50%;
    border: 2px solid var(--border);
    position: relative;
    overflow: visible;
    width: 110px;
    height: 110px;
    justify-content: center;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.category-item:hover::before {
    opacity: 0.06;
}

.category-icon {
    width: 100%;
    height: auto;
    border-radius: 0;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    box-shadow: none;
}

.category-item:hover .category-icon {
    background: transparent;
    color: var(--primary);
    transform: scale(1.15) rotate(5deg);
    box-shadow: none;
    border-color: transparent;
}

.category-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: block;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
    background: var(--surface);
}

.category-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-item:hover .category-image img {
    transform: scale(1.1);
}

.category-item span {
    font-size: 0.75rem;
    font-weight: 600;
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.category-item:hover span {
    color: var(--primary);
    font-weight: 700;
}

.category-item:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(0, 0, 0, 0.02) 100%);
}

.hero-slider-wrapper {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

/* Product Detail Page */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-image-section {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.product-detail-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.product-info-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.product-category-badge {
    display: inline-block;
    width: fit-content;
    padding: 0.4rem 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0;
}

.product-detail-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

.product-description {
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.product-description p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted);
}

.product-detail-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.size-selector {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.size-selector > label {
    font-weight: 600;
    font-size: 0.9rem;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.size-option {
    position: relative;
    cursor: pointer;
}

.size-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.size-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.2s ease;
    background: var(--surface);
}

.size-option input[type="radio"]:checked + span {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.size-option:hover span {
    border-color: var(--primary);
}

.quantity-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.quantity-selector label {
    font-weight: 600;
    font-size: 0.9rem;
}

.quantity-selector input {
    width: 100px;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.product-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--muted);
    margin: 0;
}

.related-products-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border);
}

/* Shop Page Filters */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.mobile-filter-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
}

.mobile-filter-btn:hover {
    border-color: var(--primary);
}

.filter-icon {
    font-size: 1.2rem;
}

.filter-header-mobile {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 10;
}

.filter-header-mobile h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.close-filters {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.close-filters:hover {
    background: var(--bg);
    border-color: var(--primary);
}

.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-overlay.active {
    display: block;
    opacity: 1;
}

.shop-sidebar {
    position: sticky;
    top: 100px;
}

.filter-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.filter-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.filter-group {
    margin-bottom: 2rem;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.filter-option:hover {
    background: var(--bg);
}

.filter-option input[type="radio"],
.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-option span {
    font-size: 0.95rem;
}

.filter-select {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    transition: border-color 0.2s ease;
}

.filter-select:hover {
    border-color: var(--primary);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

.apply-filters-btn {
    display: none;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-inputs input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.9rem;
}

.price-inputs span {
    color: var(--muted);
}

.price-range-info {
    margin-top: 0.5rem;
    text-align: center;
    color: var(--muted);
}

.shop-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.results-count {
    font-size: 0.95rem;
    color: var(--muted);
}

.results-count strong {
    color: var(--text);
    font-weight: 600;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-dropdown label {
    font-size: 0.9rem;
    font-weight: 500;
}

.sort-dropdown select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
    font-size: 0.9rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.hero-slider-wrapper {
    position: relative;
    margin-bottom: 2rem;
    overflow: hidden;
    background: #f8f9fa;
}

body {
    overflow-x: hidden;
}

.hero-slider {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-select: none;
}

.hero-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: var(--radius);
    animation: fadeIn 0.5s ease-in-out;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.hero-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

@media (max-width: 768px) {
    .hero-slide img {
        image-rendering: -webkit-optimize-contrast;
    }
}

.hero-slide.active {
    display: block;
}

/* Mobile-first responsive heights */
@media (max-width: 480px) {
    .hero-slider-wrapper {
        margin-bottom: 0.5rem;
        margin-top: 0;
        padding-inline: 0 !important;
        width: 100vw !important;
        margin-inline: calc(-1 * (100vw - 100%) / 2);
    }
    
    .hero-slider {
        border-radius: 0;
        width: 100vw;
    }
    
    .hero-slide {
        height: 35vh; /* 35% of viewport height - rectangle shape */
        min-height: 200px;
        max-height: 280px;
        border-radius: 0;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .hero-slider-wrapper {
        margin-bottom: 1rem;
        margin-top: 0;
        padding-inline: 0 !important;
        width: 100vw !important;
        margin-inline: calc(-1 * (100vw - 100%) / 2);
    }
    
    .hero-slider {
        border-radius: 0;
        width: 100vw;
    }
    
    .hero-slide {
        height: 40vh; /* 40% of viewport height */
        min-height: 250px;
        max-height: 350px;
        border-radius: 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-slide {
        height: 450px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: 400;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-btn-prev {
    left: 1rem;
}

.slider-btn-next {
    right: 1rem;
}

/* Responsive slider buttons */
@media (max-width: 480px) {
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .slider-btn-prev {
        left: 0.5rem;
    }
    
    .slider-btn-next {
        right: 0.5rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .slider-btn {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    
    .slider-btn-prev {
        left: 0.75rem;
    }
    
    .slider-btn-next {
        right: 0.75rem;
    }
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

.slider-dot:hover {
    background: var(--muted);
}

@media (max-width: 768px) {
    .slider-dots {
        margin-top: 0.75rem;
        gap: 0.4rem;
    }
    
    .slider-dot {
        width: 6px;
        height: 6px;
        min-width: 6px;
        min-height: 6px;
    }
    
    .slider-dot.active {
        width: 18px;
        min-width: 18px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: var(--surface);
    border-color: var(--primary);
    color: var(--primary);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--muted);
    margin-bottom: 2.5rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
    max-width: 100%;
}

@media (min-width: 1400px) {
    .product-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 900px) and (max-width: 1199px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

.product-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 0;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: all 0.2s ease;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    background: #e5e7eb;
}

.product-image-wrapper img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.ad-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    color: #6b7280;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    border: 1px solid #d1d5db;
}

.wishlist-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    background: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 2;
}

.wishlist-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wishlist-btn svg {
    color: #6b7280;
    width: 18px;
    height: 18px;
}

.wishlist-btn:hover svg {
    color: #ef4444;
    fill: #ef4444;
}

.product-rating-badge {
    position: absolute;
    bottom: 0.4rem;
    left: 0.4rem;
    background: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 16px;
    font-size: 0.65rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.product-info {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-height: 140px;
}

@media (min-width: 900px) {
    .product-info {
        padding: 0.85rem;
        gap: 0.4rem;
        min-height: 145px;
    }
    
    .product-brand {
        font-size: 0.9rem;
    }
    
    .product-title {
        font-size: 0.85rem;
        line-height: 1.35;
        min-height: 2.7em;
        max-height: 2.7em;
    }
    
    .current-price {
        font-size: 1rem;
    }
    
    .bank-offer {
        font-size: 0.7rem;
    }
    
    .discount-badge {
        font-size: 0.68rem;
        padding: 0.12rem 0.35rem;
    }
    
    .original-price {
        font-size: 0.72rem;
    }
}

.product-brand {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    line-height: 1.2;
}

.product-title {
    font-size: 0.75rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    min-height: 2.6em !important;
    max-height: 2.6em !important;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.25rem;
    flex-wrap: wrap;
}

.discount-badge {
    background: #10b981;
    color: #fff;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.original-price {
    text-decoration: line-through;
    color: var(--muted);
    font-size: 0.7rem;
    flex-shrink: 0;
}

.current-price {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
    flex-shrink: 0;
}

.bank-offer {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    color: var(--text);
    margin-top: 0.15rem;
}

.wow-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.6rem;
    flex-shrink: 0;
}

.split-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

@media (min-width: 768px) {
    .split-columns {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.panel {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2rem;
    border: 1px solid var(--border);
    display: grid;
    gap: 1.5rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.table th {
    font-weight: 600;
    color: var(--muted);
}

.table td:last-child,
.table th:last-child {
    text-align: right;
}

.cart-table {
    width: 100%;
}

.cart-table input[type="number"] {
    width: 60px;
    padding: 0.5rem 0.6rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
}

.cart-table td[data-label]::before {
    display: none;
}

.cart-remove {
    padding: 0.5rem 1rem;
    border-radius: 999px;
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.cart-actions form {
    display: inline-flex;
    gap: 0.5rem;
}

.cart-summary {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.form-grid label {
    display: grid;
    gap: 0.35rem;
    font-weight: 500;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #f9fafb;
    font-family: inherit;
}

.form-grid textarea {
    min-height: 140px;
    resize: vertical;
}

.summary {
    background: var(--surface);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.5rem;
    display: grid;
    gap: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
}

.summary-total {
    font-size: 1.3rem;
    font-weight: 600;
}

.info-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.info-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    display: grid;
    gap: 0.75rem;
}

.flash-message {
    width: min(100%, var(--container));
    margin: 0 auto 2rem;
    background: var(--surface);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.site-footer {
    background: var(--surface);
    color: var(--text);
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.footer-inner {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-inner a:hover {
    color: var(--primary);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

.footer-brand p {
    color: var(--muted);
    margin-top: 0.75rem;
}

.footer-links h4,
.footer-newsletter h4 {
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--muted);
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
}

.newsletter-form input {
    flex: 1;
    border-radius: 8px;
    border: 1px solid var(--border);
    padding: 0.65rem 1rem;
    background: var(--surface);
    color: var(--text);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    border: none;
    background: var(--primary);
    color: #fff;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-form button:hover {
    background: var(--primary-dark);
}

.footer-bottom {
    margin-top: 3rem;
    border-top: 1px solid var(--border);
    padding: 1rem 0;
    font-size: 0.9rem;
    text-align: center;
    color: var(--muted);
}

/* Chatbot Widget */
.chatbot-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    font-family: inherit;
}

.chatbot-button {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.chatbot-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.chatbot-button:active {
    transform: scale(0.95);
}

.chatbot-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}

.chatbot-container {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    max-width: calc(100vw - 4rem);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: none;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-widget.show .chatbot-container {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    border-radius: var(--radius) var(--radius) 0 0;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

.chatbot-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--muted);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.chatbot-close:hover {
    background: var(--bg);
    color: var(--text);
}

.chatbot-messages {
    height: 300px;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-message {
    max-width: 80%;
    animation: slideIn 0.3s ease-out;
}

.bot-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
}

.message-content {
    background: var(--surface);
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
    border: 1px solid var(--border);
}

.user-message .message-content {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.bot-message.typing .message-content {
    background: var(--surface);
    color: var(--muted);
}

.typing-dots {
    display: inline-block;
    animation: typing 1.5s infinite;
}

.chatbot-input-container {
    display: flex;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
}

.chatbot-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 25px;
    background: var(--bg);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease;
}

.chatbot-input:focus {
    border-color: var(--primary);
}

.chatbot-send {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.chatbot-send:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

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

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
    .chatbot-widget {
        bottom: 1rem;
        right: 1rem;
    }

    .chatbot-container {
        width: calc(100vw - 2rem);
        max-width: calc(100vw - 2rem);
        right: -1rem;
    }

    .chatbot-messages {
        height: 250px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding-inline: 1rem;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-image-section {
        position: static;
    }

    .product-detail-title {
        font-size: 2rem;
    }

    .product-detail-price {
        font-size: 1.75rem;
    }

    .shop-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mobile-filter-btn {
        display: flex;
    }

    .filter-header-mobile {
        display: none;
    }

    .shop-sidebar {
        position: static;
        display: none;
        width: 100%;
        max-width: 100%;
        background: transparent;
        order: 2;
    }

    .shop-sidebar.active {
        display: block;
    }

    .filter-section {
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: var(--surface);
        padding: 1.5rem;
    }

    .filter-title {
        display: none;
    }

    .filter-group {
        background: transparent;
        padding: 0;
        border-radius: 0;
        border: none;
        border-bottom: none;
        margin-bottom: 1.5rem;
    }

    .filter-group:last-of-type {
        margin-bottom: 1rem;
    }

    .filter-group h4 {
        margin-bottom: 0.75rem;
    }

    .apply-filters-btn {
        display: block;
        margin: 0;
        margin-top: 1rem;
    }

    .filter-section > .btn-outline {
        margin: 0;
        margin-top: 0.5rem;
    }

    .shop-main {
        order: 3;
    }

    .filter-overlay {
        display: none !important;
    }

    .categories-scroll {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .category-item {
        width: 100px;
        height: 100px;
        padding: 0.85rem 0.5rem;
    }

    .category-icon {
        width: 100%;
        height: auto;
        font-size: 2.2rem;
        border-radius: 0;
    }

    .category-item span {
        font-size: 0.72rem;
        bottom: -27px;
    }

    .header-inner {
        position: relative;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        min-height: 60px;
        padding: 0.75rem 0;
    }

    .logo {
        flex: 0 1 auto;
        max-width: calc(100% - 60px);
        gap: 8px;
    }

    .logo-img {
        height: 44px;
        width: auto;
        max-width: 150px;
    }

    .logo-text {
        font-size: 22px;
        display: none;
    }

    .nav-toggle {
        display: flex;
        flex: 0 0 44px;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        margin-top: 0.5rem;
        padding: 1rem 1.5rem;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        flex-direction: column;
        gap: 0.75rem;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        pointer-events: none;
        box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
        z-index: 100;
    }

    .site-nav a {
        width: 100%;
        text-align: center;
    }

    .site-nav.site-nav--open {
        max-height: 420px;
        opacity: 1;
        pointer-events: auto;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .categories-scroll {
        display: flex;
        overflow-x: auto;
        overflow-y: visible;
        gap: 0.75rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2rem;
    }

    .categories-scroll::-webkit-scrollbar {
        display: none;
    }

    .category-item {
        flex: 0 0 auto;
        width: 90px;
        height: 90px;
        padding: 0.75rem 0.5rem;
        scroll-snap-align: start;
    }

    .category-icon {
        width: 100%;
        height: auto;
        font-size: 2rem;
        border-radius: 0;
    }

    .category-item span {
        font-size: 0.7rem;
        bottom: -26px;
    }

    .hero-slider-wrapper {
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }

    .hero-slide {
        padding: 1rem 0.85rem;
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 0.75rem;
    }

    .hero-slide-media {
        order: -1;
    }

    .hero-slide-media img {
        height: 160px;
        border-radius: 8px;
    }

    .hero-slide h1 {
        font-size: 1.25rem;
        line-height: 1.15;
        margin-bottom: 0.35rem;
    }

    .hero-slide p {
        font-size: 0.75rem;
        margin-top: 0.35rem;
        line-height: 1.3;
    }

    .hero-slide .badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.65rem;
        margin-bottom: 0.35rem;
    }

    .shop-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .sort-dropdown {
        width: 100%;
    }

    .sort-dropdown select {
        flex: 1;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .slider-btn-prev {
        left: 0.5rem;
    }

    .slider-btn-next {
        right: 0.5rem;
    }

    .slider-dots {
        margin-top: 1rem;
    }

    .hero-actions {
        margin-top: 1rem;
    }

    .hero-actions .btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }

    .product-card form {
        gap: 0.5rem;
    }

    .product-card input[type="number"] {
        width: 100%;
        padding: 0.65rem 0.85rem;
    }

    .cart-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .cart-actions > *:not(:first-child) {
        width: 100%;
        text-align: center;
    }

    .form-grid {
        gap: 0.85rem;
    }

    .panel {
        padding: 1.6rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        display: grid;
        gap: 0.75rem;
        padding: 1.25rem 0;
        border-bottom: 1px solid var(--border);
    }

    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .cart-table td[data-label]::before {
        display: inline-block;
        font-weight: 600;
        color: var(--muted);
        margin-right: 1rem;
        content: attr(data-label);
    }

    .cart-table input[type="number"] {
        width: 100%;
        padding: 0.65rem 0.85rem;
    }

    .cart-remove {
        width: 100%;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .product-info {
        padding: 0.6rem 0.5rem;
        gap: 0.3rem;
    }

    .product-brand {
        font-size: 0.8rem;
    }

    .product-title {
        font-size: 0.72rem;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }

    .current-price {
        font-size: 0.88rem;
    }
}

@media (max-width: 540px) {
    .container {
        padding-inline: 1rem;
    }

    .categories-section {
        padding: 1.5rem 0 3rem 0;
    }

    .categories-scroll {
        display: flex;
        overflow-x: auto;
        overflow-y: visible;
        gap: 0.65rem;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2rem;
    }

    .categories-scroll::-webkit-scrollbar {
        display: none;
    }

    .category-item {
        flex: 0 0 auto;
        width: 80px;
        height: 80px;
        padding: 0.65rem 0.4rem;
        border-radius: 50%;
        scroll-snap-align: start;
    }

    .category-icon {
        width: 100%;
        height: auto;
        font-size: 1.8rem;
        border-radius: 0;
    }

    .category-item span {
        font-size: 0.68rem;
        bottom: -24px;
    }

    .header-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .hero-slider-wrapper {
        margin-top: 0.25rem;
        margin-bottom: 0.75rem;
    }

    .hero-slide {
        padding: 0.85rem 0.75rem;
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 0.6rem;
    }

    .hero-slide h1 {
        font-size: 1.15rem;
        line-height: 1.15;
        margin-bottom: 0.25rem;
    }

    .hero-slide p {
        font-size: 0.7rem;
        margin-top: 0.25rem;
        line-height: 1.25;
    }

    .hero-slide .badge {
        font-size: 0.55rem;
        padding: 0.2rem 0.55rem;
        margin-bottom: 0.25rem;
    }

    .hero-slide-media {
        order: -1;
    }

    .hero-slide-media img {
        height: 145px;
        border-radius: 8px;
    }

    .hero-actions .btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    .slider-btn {
        width: 26px;
        height: 26px;
        font-size: 1rem;
    }

    .slider-dots {
        margin-top: 0.5rem;
    }

    .slider-dot {
        width: 5px;
        height: 5px;
    }

    .slider-dot.active {
        width: 16px;
    }

    .product-grid {
        gap: 0.5rem;
    }

    .product-info {
        padding: 0.5rem 0.4rem;
        gap: 0.25rem;
    }

    .product-brand {
        font-size: 0.75rem;
    }

    .product-title {
        font-size: 0.7rem;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
    }

    .current-price {
        font-size: 0.85rem;
    }

    .bank-offer {
        font-size: 0.6rem;
    }

    .cart-actions > div {
        flex-direction: column;
        gap: 0.75rem;
    }

    .summary {
        padding: 1.25rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

/* Hero Slider Styles - Optimized for 1920x655 images */
.hero-slider-wrapper {
    position: relative;
    margin-bottom: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}

.hero-slider {
    position: relative;
    width: 100%;
    /* Use aspect ratio of your images (1920:655) for proper display */
    aspect-ratio: 1920 / 655;
    min-height: 200px; /* Minimum height for very small screens */
    max-height: 400px; /* Maximum height on mobile to prevent too tall */
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Show complete image without cropping */
    object-position: center;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: 1rem;
}

.slider-btn-next {
    right: 1rem;
}

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    .hero-slider {
        max-height: 500px; /* Allow taller on tablet */
    }
    
    .slider-btn {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
    
    .slider-btn-prev {
        left: 1.5rem;
    }
    
    .slider-btn-next {
        right: 1.5rem;
    }
    
    .slider-dots {
        bottom: 1.5rem;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

@media (min-width: 1024px) {
    .hero-slider {
        max-height: 600px; /* Allow even taller on desktop */
    }
    
    .slider-btn {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    .slider-btn-prev {
        left: 2rem;
    }
    
    .slider-btn-next {
        right: 2rem;
    }
    
    .slider-dots {
        bottom: 2rem;
    }
    
    .slider-dot {
        width: 12px;
        height: 12px;
    }
}

/* Hide slider controls on very small screens */
@media (max-width: 480px) {
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .slider-btn-prev {
        left: 0.5rem;
    }
    
    .slider-btn-next {
        right: 0.5rem;
    }
    
    .slider-dots {
        bottom: 0.5rem;
    }
    
    .slider-dot {
        width: 6px;
        height: 6px;
    }
}
/* Hero Slider Styles - Perfect Fit Without Cropping */
.hero-slider-wrapper {
    position: relative;
    margin-bottom: 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
}

.hero-slider {
    position: relative;
    width: 100%;
    /* Use exact aspect ratio of your images (1920:655) */
    aspect-ratio: 1920 / 655;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fill entire container */
    object-position: center;
    display: block;
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: 10px;
}

.slider-btn-next {
    right: 10px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.3);
}