/* Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

:root {
    --beige: #F5F1E8;
    --dark: #2A2725;
    --accent: #D4C4B0;
    --white: #FFFFFF;
    --border: #E0D5C7;
    --light-gray: #F9F7F3;
    --text-muted: #8B8680;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--white);
    color: var(--dark);
    cursor: none;
    overflow-x: hidden;
    letter-spacing: -0.3px;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Force normal cursor on interactive elements to ensure clicks work */
button, a, input, select, textarea, .faq-question {
    cursor: pointer !important;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Custom Cursor */
.cursor {
    width: 12px;
    height: 12px;
    background: #2A2725;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, opacity 0.2s, background 0.1s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid #2A2725;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-out, border-color 0.1s;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(245, 241, 232, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 60px;
    border-bottom: 1px solid var(--border);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--dark);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.cart-link {
    position: relative;
    padding-right: 30px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: 0;
    background: var(--dark);
    color: var(--beige);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
}

/* Typography */
h1, h2, h3 {
    font-weight: 500;
    letter-spacing: -0.02em;
}

.section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    opacity: 0.6;
}

.section-title {
    font-size: clamp(40px, 8vw, 120px);
    line-height: 0.95;
    margin-bottom: 40px;
}

.section-title span {
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 140px 60px 80px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-animated-balls {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
}

.hero-ball {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(42, 39, 37, 0.1);
    animation: floatBall 6s ease-in-out infinite;
    border: 3px solid rgba(42, 39, 37, 0.05);
    position: relative;
    top: -20px;
}

.hero-ball:nth-child(1) {
    animation-delay: 0s;
    transform: translateX(-30px);
}

.hero-ball:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-ball:nth-child(3) {
    animation-delay: 1s;
    transform: translateX(30px);
}

.hero-ball img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-ball:hover img {
    transform: scale(1.1);
}

@keyframes floatBall {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-ball:nth-child(1) {
    animation: floatBall 6s ease-in-out infinite 0s;
}

.hero-ball:nth-child(2) {
    animation: floatBall 6s ease-in-out infinite 0.5s;
}

.hero-ball:nth-child(3) {
    animation: floatBall 6s ease-in-out infinite 1s;
}

.hero-tag {
    font-size: 14px;
    margin-bottom: 30px;
    opacity: 0.7;
}

.hero-title {
    font-size: clamp(50px, 6vw, 90px);
    line-height: 1;
    margin-bottom: 20px;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.8;
}

.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: var(--dark);
    color: var(--beige);
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(42, 39, 37, 0.2);
}

.hero-product {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    max-height: 80vh;
    z-index: 1;
}

.hero-product img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Parallax effect on scroll */
@supports (animation: parallax 1s linear) {
    .hero-product {
        position: relative;
        top: auto;
        transform: none;
        animation: none;
    }
}

/* About Section */
.about {
    padding: 120px 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-quote {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.4;
    font-style: italic;
}

/* Store Preview */
.store-preview {
    padding: 120px 60px;
}

.view-all {
    display: inline-block;
    padding: 12px 32px;
    border: 1px solid var(--dark);
    color: var(--dark);
    text-decoration: none;
    border-radius: 50px;
    margin-bottom: 60px;
    transition: all 0.3s;
}

.view-all:hover {
    background: var(--dark);
    color: var(--beige);
}

.products-grid {
    display: grid;
    gap: 40px;
    margin-bottom: 60px;
}

/* Homepage store preview: exactly five columns on wide screens,
   fallback to horizontal scroll on smaller viewports for usability */
.store-preview .products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-bottom: 0; /* spacing managed above */
}

/* Small screens: switch to a single-row horizontal scroller to avoid tiny cards */
@media (max-width: 900px) {
    .store-preview .products-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .store-preview .products-grid::-webkit-scrollbar { height: 8px; }
    .store-preview .products-grid::-webkit-scrollbar-track { background: transparent; }
    .store-preview .products-grid::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.06); border-radius: 4px; }

    .store-preview .product-card {
        flex: 0 0 75%;
        min-width: 220px;
    }
}

.product-card {
    text-decoration: none;
    color: var(--dark);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

/* Only hide products on homepage - store.html has its own grid with inline CSS */
.store-preview .product-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.23, 1, 0.320, 1), transform 0.7s cubic-bezier(0.23, 1, 0.320, 1);
}

.store-preview .product-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.store-preview .product-card.visible:hover {
    transform: translateY(-8px);
}

.product-card:hover {
    transform: translateY(-8px);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.product-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-name {
    font-size: 20px;
    margin-bottom: 8px;
}

.product-brand {
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 8px;
}

.product-price {
    font-size: 16px;
    font-weight: 500;
}

/* Image Gallery */
/* Image Carousel (continuous horizontal scroll) */
.carousel {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,0.02));
}

.carousel.loading {
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    pointer-events: none;
}

.carousel.ready {
    animation: fadeInCarousel 0.4s ease-out forwards;
}

@keyframes fadeInCarousel {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-track {
    display: flex;
    gap: 18px;
    align-items: center;
    will-change: transform;
    animation: scroll-left 24s linear infinite;
}

.carousel-viewport {
    overflow: hidden;
}

.carousel-item {
    flex: 0 0 auto;
    width: 260px;
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 14px 40px rgba(0,0,0,0.12);
}

/* Duplicate sequence will be appended by JS to create a seamless loop */

@keyframes scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Pause on hover */
.carousel:hover .carousel-track { animation-play-state: paused; }

/* Reduce animation on small screens */
@media (max-width: 700px) {
    .carousel-track { gap: 12px; }
    .carousel-item { width: 180px; height: 250px; }
}

/* Carousel controls */
.carousel { position: relative; }
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    z-index: 10;
}
.carousel-prev { left: 12px; }
.carousel-next { right: 12px; }
.carousel-btn:active { transform: translateY(-50%) scale(0.98); }

/* Hide buttons on very small screens */
@media (max-width: 520px) {
    .carousel-btn { display: none; }
}

/* Indicators (dots) */
.carousel-indicators {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    display: flex;
    gap: 8px;
    z-index: 12;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.7);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    padding: 0;
    cursor: pointer;
}

.carousel-indicators button.active {
    background: var(--dark);
    transform: scale(1.1);
}

/* Stats Section */
.stats {
    padding: 120px 60px;
    text-align: center;
}

.stats-quote {
    font-size: 24px;
    font-style: italic;
    margin-bottom: 40px;
}

/* Features Section */
.features {
    padding: 120px 60px;
    text-align: center;
}

.features-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.8;
}

/* Materials Section */
.materials {
    padding: 80px 60px;
    background: var(--white);
}

.materials-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    gap: 80px;
}

.material-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.material-card:nth-child(even) {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.material-card:nth-child(even) > * {
    direction: ltr;
}

.material-content {
    padding: 40px 0;
}

.material-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    opacity: 0.6;
}

.material-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 20px;
    line-height: 1.1;
}

.material-description {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.8;
}

.material-visual {
    display: grid;
    gap: 20px;
}

.material-badge {
    background: var(--dark);
    color: var(--beige);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: fit-content;
}

.material-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
}

.material-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.material-image-container:hover img {
    transform: scale(1.05);
}

/* FAQs Section */
.faqs {
    padding: 120px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.faqs-subtitle {
    font-size: 16px;
    margin-bottom: 60px;
    opacity: 0.8;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 24px 0;
    font-size: 20px;
    cursor: pointer !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: opacity 0.3s;
    color: var(--dark);
    font-family: inherit;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

.faq-question:hover {
    opacity: 0.7;
}

.faq-question::after {
    content: '+';
    font-size: 28px;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: grid-template-rows 0.3s ease-out;
}

.faq-answer > p {
    min-height: 0;
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
    padding-bottom: 24px;
}

.faq-answer p {
    line-height: 1.6;
    opacity: 0.7;
}

/* CTA Final Section */
.cta-final {
    padding: 120px 60px;
    text-align: center;
}

.cta-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 60px 0 40px;
}

.cta-images img {
    width: 200px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.cta-images img:hover {
    transform: translateY(-10px);
}

.cta-tag {
    font-size: 14px;
    margin-bottom: 30px;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--beige);
    padding: 60px 60px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    margin-bottom: 16px;
    font-size: 18px;
}

.footer-section p {
    opacity: 0.7;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-section a {
    display: block;
    color: var(--beige);
    text-decoration: none;
    opacity: 0.7;
    margin-bottom: 8px;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(245, 241, 232, 0.1);
    opacity: 0.5;
    font-size: 14px;
}

/* Store Page Styles */
.store-header {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 60px 80px;
    text-align: center;
}

.store-title {
    font-size: clamp(50px, 8vw, 100px);
    line-height: 1;
    margin-bottom: 20px;
}

.store-subtitle {
    font-size: 18px;
    opacity: 0.8;
}

.store-filters {
    padding: 40px 60px;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.filter-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-size: 14px;
    opacity: 0.7;
}

.filter-select {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--beige);
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    color: var(--dark);
}

.products-count {
    margin-left: auto;
    font-size: 14px;
    opacity: 0.7;
}

.store-products {
    padding: 80px 60px;
}

.products-grid-full {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

/* Shopping Cart Modal */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.cart-modal.active {
    display: flex;
}

.cart-content {
    background: var(--beige);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    font-size: 24px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}

.cart-items {
    padding: 30px;
    overflow-y: auto;
    overflow-x: hidden;
    flex: 1;
    max-height: calc(90vh - 250px);
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
}

.cart-item-brand {
    font-size: 13px;
    opacity: 0.6;
    margin-bottom: 10px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-item-quantity button {
    width: 24px;
    height: 24px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark);
}

.cart-item-price {
    text-align: right;
}

.cart-item-price .price {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.remove-item {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 13px;
    padding: 5px;
}

.cart-footer {
    padding: 30px;
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.checkout-btn,
.continue-shopping {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    cursor: pointer;
    margin-bottom: 10px;
    font-family: inherit;
}

.checkout-btn {
    background: var(--dark);
    color: var(--beige);
}

.continue-shopping {
    background: var(--white);
    border: 1px solid var(--dark);
    color: var(--dark);
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 120px;
        min-height: auto;
    }
    
    .hero-animated-balls {
        gap: 16px;
    }
    
    .hero-ball {
        width: 100px;
        height: 100px;
    }
    
    .hero-product {
        position: relative;
        max-height: none;
        top: auto;
        transform: none;
    }
    
    .material-card {
        grid-template-columns: 1fr;
    }
    
    .material-card:nth-child(even) {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 30px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .hero,
    .about,
    .store-preview,
    .stats,
    .features,
    .materials,
    .faqs,
    .cta-final,
    .footer {
        padding: 60px 30px;
    }
    
    .store-header,
    .store-products {
        padding: 80px 30px;
    }
    
    .section-title {
        font-size: 48px;
    }
    
    /* Small screens: single column fallback handled in media queries lower in file */
    
    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
        padding: 30px;
    }

    @media (max-width: 1200px) {
        .store-preview .products-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }
    
    @media (max-width: 992px) {
        .store-preview .products-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }
    
    .cta-images {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .products-count {
        margin-left: 0;
    }
    
    .cursor,
    .cursor-follower {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}

/* WhatsApp Floating Bubble */
.whatsapp-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-bubble:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-bubble svg {
    width: 32px;
    height: 32px;
    fill: white;
}

@media (max-width: 768px) {
    .whatsapp-bubble {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .whatsapp-bubble svg {
        width: 28px;
        height: 28px;
    }
}

/* Checkout Form Styles */
#checkout-view {
    display: flex;
    flex-direction: column;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
    padding: 20px;
}

.checkout-summary {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    flex-shrink: 0;
}

.checkout-summary h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--dark);
}

#checkout-items-summary {
    margin-bottom: 15px;
}

#checkout-items-summary p {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
}

.checkout-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 600;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--dark);
}

.checkout-form-fields {
    padding: 0;
    flex-shrink: 0;
}

.checkout-form-fields h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--dark);
}

.checkout-footer {
    display: flex;
    gap: 15px;
    padding: 20px 0 0 0;
    border-top: 1px solid var(--border);
    margin-top: 20px;
    flex-shrink: 0;
}

.back-btn,
.confirm-btn {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn {
    background: var(--light-gray);
    color: var(--dark);
}

.back-btn:hover {
    background: var(--border);
}

.confirm-btn {
    background: var(--dark);
    color: var(--white);
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 39, 37, 0.3);
}

@media (max-width: 768px) {
    .cart-content {
        width: 95%;
        max-height: 90vh;
    }
    
    .cart-header {
        padding: 20px;
    }
    
    .cart-header h2 {
        font-size: 20px;
    }
    
    .cart-items {
        padding: 20px;
    }
    
    #checkout-view {
        padding: 15px;
        max-height: calc(90vh - 80px);
    }
    
    .checkout-summary {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .checkout-summary h3 {
        font-size: 16px;
    }
    
    .checkout-form-fields h3 {
        font-size: 16px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .checkout-footer {
        flex-direction: column;
        gap: 10px;
        padding-top: 15px;
        margin-top: 15px;
    }
    
    .back-btn,
    .confirm-btn {
        width: 100%;
        padding: 14px 20px;
    }
}