/* Theme 8: Ocean Blue */
/* Mobile-first design with ocean-inspired blue tones */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(180deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1a237e;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 70px;
}

/* Header Section */
.header {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    padding: 30px 20px;
    text-align: center;
    top: 0;
    z-index: 100;
    box-shadow: 0 6px 20px rgba(25, 118, 210, 0.3);
}

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

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

.header-logo-text {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 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: 15px;
    font-weight: 800;
    color: #000000;
    margin: 0;
    padding: 0;
}

.categories-title {
    padding: 12px 15px 10px 15px;
    border-top: 2px solid #000000;
}

.items-title {
    padding: 18px 15px 10px 15px;
    border-top: 1px solid #d0d0d0;
}

/* Categories Section */
.categories-section {
    padding: 18px 15px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-radius: 0 0 30px 0;
}

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

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

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

.category-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 20px;
    padding: 14px 16px;
    min-width: 95px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.category-item.active .category-content {
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    border-color: #0d47a1;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
}

.category-image {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-name {
    font-size: 13px;
    font-weight: 700;
    color: #1565c0;
    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 20px 15px;
}

.items-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

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

.item-card:active {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
    border-color: #1976d2;
}

.item-image-wrapper {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

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

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

.item-details {
    padding: 18px;
}

.item-title {
    font-size: 20px;
    font-weight: 800;
    color: #1565c0;
    margin-bottom: 8px;
    line-height: 1.3;
}

.item-description {
    font-size: 14px;
    color: #546e7a;
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    padding: 10px 18px;
    border-radius: 12px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

/* Sticky Social Bar */
.floating-social {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.95) 20%, rgba(255,255,255,1) 100%);
    padding: 15px 20px 20px 20px;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

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

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

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

.social-btn.phone {
    background-color: #1976d2;
    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 */
.categories-section::-webkit-scrollbar {
    height: 4px;
}

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

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

@media (max-width: 480px) {
    .item-image-wrapper {
        height: 240px;
    }
    
    .social-btn {
        width: 52px;
        height: 52px;
    }
}
