    :root {
        --primary-color: #3498db;
        --secondary-color: #2ecc71;
        --background-color: #f5f5f5;
        --card-background: #ffffff;
        --text-color: #333333;
    }

    body {
        font-family: 'Roboto', sans-serif;
        background-color: var(--background-color);
        color: var(--text-color);
        line-height: 1.6;
    }
    @media screen and (min-width: 768px) {
    .container {
        max-width: 800px;
        margin: 0 auto;
        padding: 2rem;
    }
}
    .card {
        background-color: var(--card-background);
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1.5rem;
        margin-bottom: 2rem;
        transition: all 0.3s ease;
    }

    .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    .card-title {
        color: var(--primary-color);
        margin-bottom: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-control {
        width: 100%;
        padding: 0.5rem;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 1rem;
    }

    .btn {
        display: inline-block;
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
        text-align: center;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .btn-whatsapp {
        background-color: var(--secondary-color);
        color: white;
    }

    .custom-design-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 0.5rem 0;
    }

    .custom-range {
        width: 100%;
    }

    .progress {
        height: 20px;
        background-color: #f1f1f1;
        border-radius: 10px;
        overflow: hidden;
    }

    .progress-bar {
        height: 100%;
        background-color: var(--primary-color);
        transition: width 0.3s ease;
    }

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

    .fade-in {
        animation: fadeIn 0.5s ease-in-out;
    }

    .design-container-wrapper {
        position: relative;
        max-width: 374px;
        margin: 0 auto;
    }

    .design-container {
        max-height: 510px;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .design-container::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .design-grid {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    grid-template-columns: repeat(1, 1fr); /* Default to 1 column for mobile */
}

.design-item {
    width: 100%; /* Full width for mobile */
    height: auto; /* Allow height to adjust based on content */
    aspect-ratio: 177 / 245; /* Maintain aspect ratio */
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

@media screen and (min-width: 768px) {
    .design-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns for non-mobile */
    }

    .design-item {
        width: 100%; /* Full width within its grid cell */
    }
}

    .design-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .design-item.selected {
        border-color: var(--primary-color);
    }

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

    .design-item p {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        padding: 0.5rem;
        text-align: center;
        font-size: 0.9rem;
        background-color: rgba(255, 255, 255, 0.8);
    }

    .scroll-indicator {
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        color: var(--primary-color);
        font-size: 1.5rem;
        opacity: 0.7;
        transition: opacity 0.3s ease;
        animation: bounce 2s infinite;
    }

    @keyframes bounce {
        0%, 20%, 50%, 80%, 100% {
            transform: translateY(0) translateX(-50%);
        }
        40% {
            transform: translateY(-10px) translateX(-50%);
        }
        60% {
            transform: translateY(-5px) translateX(-50%);
        }
    }

    .design-container:hover + .scroll-indicator {
        opacity: 0;
    }
