/* Theme 15: Mint Fresh */
/* Mobile-first design with fresh mint green and clean white */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f0fdf4;
    color: #14532d;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 0;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 28px 20px;
    text-align: center;
    top: 0;
    z-index: 100;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.header-content {
    max-width: 100%;
}

.header-logo {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.header-logo-text {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Banner Carousel Section */
.banner-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner-slide {
    min-width: 100%;
    padding: 15px;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    aspect-ratio: 2/1;
}

.banner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 15px 15px 15px;
}

.banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d0d0d0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background-color: #000000;
    width: 24px;
    border-radius: 4px;
}

/* Section Titles */
.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #212121;
    margin: 0;
    padding: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.categories-title {
    padding: 15px 15px 10px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.items-title {
    padding: 20px 15px 10px 15px;
}

/* Categories Section */
.categories-section {
    padding: 18px 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.categories-container {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding-bottom: 5px;
}

.category-item {
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.category-item:active {
    transform: scale(0.95);
}

.category-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background-color: #f0fdf4;
    border-radius: 20px;
    padding: 12px 14px;
    min-width: 88px;
    border: 2px solid #bbf7d0;
    transition: all 0.3s ease;
}

.category-item.active .category-content {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.category-image {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #ffffff;
    border: 2px solid #bbf7d0;
}

.category-item.active .category-image {
    border-color: #ffffff;
}

.category-name {
    font-size: 13px;
    font-weight: 700;
    color: #059669;
    text-align: center;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.category-item.active .category-name {
    color: #ffffff;
}

/* Items Section */
.items-section {
    padding: 20px 15px 100px 15px;
}

.items-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.item-card {
    background-color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #d1fae5;
}

.item-card:active {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

.item-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.item-details {
    padding: 14px 12px;
    text-align: center;
}

.item-title {
    font-size: 16px;
    font-weight: 800;
    color: #14532d;
    margin-bottom: 6px;
    line-height: 1.3;
}

.item-description {
    font-size: 12px;
    color: #4d7c0f;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price {
    font-size: 17px;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 6px 14px;
    border-radius: 16px;
    display: inline-block;
}

/* Sticky Social Buttons - Bottom Floating Pill */
.floating-social {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 1000;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 12px 18px;
    border-radius: 32px;
    box-shadow: 0 8px 28px rgba(16, 185, 129, 0.4);
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.social-btn:active {
    transform: scale(0.9);
    background-color: rgba(255, 255, 255, 0.3);
}

.social-btn svg {
    color: #ffffff;
}

/* Scrollbar styling */
.categories-section::-webkit-scrollbar {
    height: 4px;
}

.categories-section::-webkit-scrollbar-track {
    background: transparent;
}

.categories-section::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 2px;
}

@media (max-width: 480px) {
    .item-title {
        font-size: 15px;
    }
    
    .social-btn {
        width: 44px;
        height: 44px;
    }
}
