




        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body {
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
        }

        .modal {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 2000;
            background: rgba(0, 0, 0, 0.75);
            align-items: center;
            justify-content: center;
            overflow-y: auto;
            padding: 20px;
        }

        .modal.show {
            display: flex;
        }

        .modal-content {
            background: #fff;
            width: 100%;
            max-width: 1200px;
            border-radius: 16px;
            margin: auto;
            padding: 30px;
            box-sizing: border-box;
            display: flex;
            flex-wrap: nowrap;
            gap: 40px;
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            position: relative;
        }

        .modal-close {
            position: absolute;
            right: 24px;
            top: 20px;
            background: transparent;
            border: none;
            font-size: 32px;
            cursor: pointer;
            color: #555;
            z-index: 10;
            transition: color 0.2s;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
        }

        .modal-close:hover {
            color: #333;
            background-color: rgba(0,0,0,0.05);
        }

        .modal-left { 
            flex: 1; 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            gap: 20px; 
            width: 50%;
        }
        .modal-main-img img { 
            width: 100%; 
            max-width: 500px; 
            border-radius: 12px; 
            object-fit: cover; 
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .modal-thumbs { 
            display: flex; 
            gap: 12px; 
            flex-wrap: wrap; 
            justify-content: center; 
        }
        .modal-thumbs img { 
            width: 80px; 
            height: 80px; 
            border-radius: 8px; 
            cursor: pointer; 
            border: 2px solid transparent; 
            transition: 0.3s; 
            object-fit: cover;
        }
        .modal-thumbs img:hover, 
        .modal-thumbs img.active { 
            border-color: #cf9755; 
            transform: translateY(-2px);
        }

        .modal-right { 
            flex: 1; 
            display: flex; 
            flex-direction: column; 
            gap: 24px; 
            justify-content: flex-start;
        }

        .modal-header {
            padding-bottom: 20px;
            border-bottom: 1px solid #eee;
        }

        .modal-header h2 {
            margin: 0 0 12px 0;
            font-size: 1.9rem;
            font-weight: 700;
            color: #222;
            letter-spacing: -0.02em;
        }

        .modal-header p {
            margin: 0;
            color: #666;
            line-height: 1.6;
            font-size: 1.05rem;
            font-weight: 400;
        }

        .order-section { 
            background: #fafafa; 
            padding: 24px; 
            border-radius: 14px; 
            border: 1px solid #eee;
        }

        .order-section h3 {
            margin-top: 0;
            margin-bottom: 20px;
            color: #222;
            font-size: 1.3rem;
            font-weight: 600;
        }

        .hoop-row { 
            display: flex; 
            justify-content: space-between; 
            align-items: flex-end; 
            gap: 20px; 
            flex-wrap: wrap; 
            margin-bottom: 20px;
        }
        
        .hoop-select-block {
            flex: 1;
        }
        
        .hoop-select-block label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
            font-size: 0.95rem;
        }
        
        .hoop-select-block select { 
            width: 100%; 
            padding: 12px 14px; 
            border-radius: 10px; 
            border: 1px solid #ddd; 
            background: white;
            font-size: 1rem;
            font-weight: 400;
            transition: border-color 0.2s;
        }
        
        .hoop-select-block select:focus {
            border-color: #cf9755;
            outline: none;
        }
        
        .price-small {
            text-align: right;
            min-width: 130px;
        }
        
        .price-small-label {
            font-size: 0.9rem;
            color: #666;
            font-weight: 500;
        }
        
        .price-small-value {
            font-size: 1.5rem;
            font-weight: 700;
            color: #cf9755;
            margin: 4px 0;
        }
        
        .price-small-sub {
            font-size: 0.85rem;
            color: #888;
            font-weight: 400;
        }

        .custom-message-section {
            margin: 20px 0;
        }

        .custom-message-section label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
            font-size: 0.95rem;
        }

        .custom-message-section textarea {
            width: 100%;
            padding: 14px;
            border-radius: 10px;
            border: 1px solid #ddd;
            font-size: 1rem;
            font-weight: 400;
            resize: vertical;
            min-height: 100px;
            transition: border-color 0.2s;
            font-family: 'Inter', sans-serif;
        }

        .custom-message-section textarea:focus {
            border-color: #cf9755;
            outline: none;
        }

        .toggle-section {
            margin-top: 20px;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .toggle-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #f5f5f5;
            padding: 14px 16px;
            border-radius: 12px;
            transition: 0.3s ease;
        }

        .toggle-item:hover {
            background: #eeeeee;
        }

        .toggle-title {
            font-size: 1rem;
            color: #333;
            font-weight: 600;
        }

        .toggle-text {
            font-size: 0.9rem;
            color: #666;
            margin-left: 8px;
            font-weight: 400;
        }

        /* Toggle Switch */
        .switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 26px;
        }

        .switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .slider {
            position: absolute;
            cursor: pointer;
            inset: 0;
            background-color: #ccc;
            border-radius: 34px;
            transition: 0.4s;
        }

        .slider:before {
            position: absolute;
            content: "";
            height: 20px;
            width: 20px;
            left: 3px;
            bottom: 3px;
            background-color: white;
            border-radius: 50%;
            transition: 0.4s;
        }

        .switch input:checked + .slider {
            background-color: #7d0a0a;
        }

        .switch input:checked + .slider:before {
            transform: translateX(24px);
        }

        .modal-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            margin-top: 10px;
        }

        .qty-block {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .qty-block label {
            font-weight: 600;
            color: #333;
            font-size: 0.95rem;
        }

        .quantity-selector {
            display: flex;
            align-items: center;
            border: 1px solid #ddd;
            border-radius: 10px;
            overflow: hidden;
            width: fit-content;
        }

        .quantity-selector button {
            background: #f5f5f5;
            border: none;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.2rem;
            font-weight: 500;
            transition: background 0.2s;
        }

        .quantity-selector button:hover {
            background: #e9e9e9;
        }

        .quantity-selector input {
            width: 50px;
            height: 40px;
            border: none;
            text-align: center;
            font-size: 1.1rem;
            font-weight: 600;
            background: white;
        }

        .quantity-selector input:focus {
            outline: none;
        }

        .actions-right {
            flex: 1;
            display: flex;
            justify-content: flex-end;
        }

        .btn-primary {
            background: #cf9755;
            color: #fff;
            border: none;
            padding: 16px 28px;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            font-size: 1.05rem;
            transition: 0.3s;
            display: flex;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 12px rgba(207, 151, 85, 0.3);
        }
        
        .btn-primary:hover {
            background: #b87f3f;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(207, 151, 85, 0.4);
        }
        
        .btn-primary.whatsapp {
            background: #25D366;
            box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
        }
        
        .btn-primary.whatsapp:hover {
            background: #128C7E;
            box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
        }

        .inquiry-section {
            background: #f9f9f9;
            padding: 24px;
            border-radius: 14px;
            border: 1px solid #eee;
            margin-top: 10px;
        }

        .inquiry-section h3 {
            margin-top: 0;
            color: #222;
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 18px;
        }

        .form-group {
            margin-bottom: 18px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #333;
            font-size: 0.95rem;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 14px 16px;
            border-radius: 10px;
            border: 1px solid #ddd;
            font-size: 1rem;
            font-weight: 400;
            box-sizing: border-box;
            transition: border-color 0.2s;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #cf9755;
            outline: none;
        }

        .form-group textarea {
            min-height: 100px;
            resize: vertical;
            font-family: 'Inter', sans-serif;
        }

        .suggested-section {
            margin-top: 24px;
        }

        .suggested-section h4 {
            margin-bottom: 16px;
            color: #222;
            font-size: 1.2rem;
            font-weight: 600;
        }

        .suggested-products {
            display: flex;
            flex-wrap: wrap;
            gap: 18px;
        }

        .suggested-item {
            width: 140px;
            text-align: center;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .suggested-item:hover {
            transform: translateY(-4px);
        }

        .suggested-item img {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 10px;
            border: 1px solid #ddd;
        }

        .suggested-item p {
            margin-top: 8px;
            font-size: 0.95rem;
            font-weight: 500;
            color: #333;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        /* Frames Carousel Styles */
        .frames-section {
            margin-top: 20px;
            width: 100%;
        }

        .frames-section h3 {
            margin-bottom: 15px;
            color: #222;
            font-size: 1.2rem;
            font-weight: 600;
            text-align: center;
        }

        .frames-carousel {
            position: relative;
            width: 100%;
            overflow: hidden;
            border-radius: 12px;
            background: #f9f9f9;
            padding: 15px 0;
        }

        .frames-container {
            display: flex;
            transition: transform 0.5s ease;
            gap: 15px;
            padding: 0 10px;
        }

        .frame-item {
            flex: 0 0 150px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            border-radius: 10px;
            padding: 10px;
            background: white;
            box-shadow: 0 4px 8px rgba(0,0,0,0.08);
        }

        .frame-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0,0,0,0.12);
        }

        .frame-item.active {
            border: 2px solid #cf9755;
            transform: translateY(-5px);
        }

        .frame-image {
            width: 100%;
            height: 120px;
            border-radius: 8px;
            object-fit: cover;
            margin-bottom: 8px;
            border: 1px solid #eee;
        }

        .frame-name {
            font-size: 0.9rem;
            font-weight: 600;
            color: #333;
            margin-bottom: 4px;
        }

        .frame-number {
            font-size: 0.8rem;
            color: #666;
            font-weight: 500;
        }

        .carousel-nav {
            display: flex;
            justify-content: center;
            gap: 10px;
            margin-top: 15px;
        }

        .carousel-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #ddd;
            cursor: pointer;
            transition: background 0.3s;
        }

        .carousel-dot.active {
            background: #cf9755;
        }

        .carousel-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.8);
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 2px 6px rgba(0,0,0,0.15);
            z-index: 2;
            transition: all 0.3s;
        }

        .carousel-arrow:hover {
            background: white;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

        .carousel-arrow.prev {
            left: 10px;
        }

        .carousel-arrow.next {
            right: 10px;
        }

        .carousel-arrow svg {
            width: 20px;
            height: 20px;
        }

        @media (max-width: 900px) {
            .modal-content { 
                flex-direction: column; 
                height: auto; 
                max-width: 95%;
                padding: 20px;
                gap: 25px;
            }
            
            .modal-left {
                width: 100%;
            }
            
            .modal-main-img img {
                width: 100%;
                max-width: 100%;
            }
            
            .hoop-row { 
                flex-direction: column; 
                align-items: flex-start; 
            }
            
            .modal-actions {
                flex-direction: column;
                align-items: stretch;
                gap: 16px;
            }
            
            .actions-right {
                justify-content: stretch;
            }
            
            .btn-primary {
                width: 100%;
                justify-content: center;
            }
            
            .frame-item {
                flex: 0 0 120px;
            }
        }
    