/* Theme 1: Circular Categories with 2-Column Grid Layout */
/* Mobile-first design with white background */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #000000;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header Section */
.header {
    padding: 20px;
    text-align: center;
    top: 0;
    z-index: 100;
}

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

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

.header-logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
}

/* 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: 600;
    color: #000000;
    margin: 0;
    padding: 0;
}

.categories-title {
    padding: 15px 15px 8px 15px;
    border-bottom: 2px solid #000000;
}

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

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

.categories-container {
    display: flex;
    gap: 15px;
    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;
}

.category-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #e0e0e0;
    border: 3px solid transparent;
    transition: border-color 0.3s ease;
}

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

.category-name {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    text-align: center;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Items Section */
.items-section {
    padding: 0 15px 80px 15px;
}

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

.item-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.item-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #e0e0e0;
    border-radius: 8px;
}

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

.item-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

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

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

.item-description {
    font-size: 13px;
    color: #999999;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
}

/* Sticky Social Buttons - Bottom Right Vertical */
.floating-social {
    position: fixed;
    bottom: 20px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease;
}

.social-btn:active {
    transform: scale(0.95);
}

.social-btn.whatsapp {
    background-color: #25D366;
    color: white;
}

.social-btn.phone {
    background-color: #007AFF;
    color: white;
}

.social-btn.facebook {
    background-color: #1877F2;
    color: white;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-btn.snapchat {
    background-color: #FFFC00;
    color: #000000;
}

.social-btn.tiktok {
    background-color: #000000;
    color: white;
}

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

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

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

/* Mobile optimization */
@media (max-width: 480px) {
    .items-container {
        gap: 12px;
    }
    
    .item-title {
        font-size: 15px;
    }
    
    .item-description {
        font-size: 12px;
    }
}
