File size: 55,933 Bytes
6c9c0da | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 | <!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BLAKESTORE - Roupas de Treino Personalizadas</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.gradient-bg {
background: linear-gradient(135deg, #000000 0%, #7f1d1d 100%);
}
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(239, 68, 68, 0.3);
}
.customization-panel {
border-left: 3px solid #ef4444;
}
.color-option {
width: 30px;
height: 30px;
cursor: pointer;
transition: all 0.3s;
}
.color-option:hover {
transform: scale(1.1);
}
.color-option.selected {
border: 2px solid white;
box-shadow: 0 0 5px rgba(255,255,255,0.7);
}
.cart-item:hover {
background-color: rgba(239, 68, 68, 0.1);
}
.checkout-step {
position: relative;
}
.checkout-step:not(:last-child):after {
content: '';
position: absolute;
right: -20px;
top: 50%;
transform: translateY(-50%);
width: 10px;
height: 10px;
background-color: #ef4444;
border-radius: 50%;
}
.checkout-step.active {
color: #ef4444;
font-weight: bold;
}
.checkout-step.completed {
color: #22c55e;
}
</style>
</head>
<body class="bg-gray-100 font-sans">
<!-- Header/Navbar -->
<header class="gradient-bg text-white shadow-lg">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-dumbbell text-2xl text-red-500"></i>
<h1 class="text-2xl font-bold">BLAKE<span class="text-red-500">STORE</span></h1>
</div>
<nav class="hidden md:flex space-x-6">
<a href="#" class="hover:text-red-400 transition">Início</a>
<a href="#" class="hover:text-red-400 transition">Produtos</a>
<a href="#" class="hover:text-red-400 transition">Personalizar</a>
<a href="#" class="hover:text-red-400 transition">Sobre Nós</a>
<a href="#" class="hover:text-red-400 transition">Contato</a>
</nav>
<div class="flex items-center space-x-4">
<button id="cart-btn" class="relative">
<i class="fas fa-shopping-cart text-xl"></i>
<span id="cart-count" class="absolute -top-2 -right-2 bg-red-500 text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">0</span>
</button>
<button class="md:hidden" id="mobile-menu-btn">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
</div>
<!-- Mobile Menu -->
<div id="mobile-menu" class="hidden md:hidden gradient-bg pb-4 px-4">
<a href="#" class="block py-2 hover:text-red-400 transition">Início</a>
<a href="#" class="block py-2 hover:text-red-400 transition">Produtos</a>
<a href="#" class="block py-2 hover:text-red-400 transition">Personalizar</a>
<a href="#" class="block py-2 hover:text-red-400 transition">Sobre Nós</a>
<a href="#" class="block py-2 hover:text-red-400 transition">Contato</a>
</div>
</header>
<!-- Hero Section -->
<section class="gradient-bg text-white py-16">
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-8 md:mb-0">
<h2 class="text-4xl md:text-5xl font-bold mb-4">ROUPAS DE TREINO <span class="text-red-500">PERSONALIZADAS</span></h2>
<p class="text-lg mb-6">Crie sua própria coleção de roupas de treino com suas cores, estampas e mensagens preferidas.</p>
<div class="flex space-x-4">
<button class="bg-red-500 hover:bg-red-600 text-white px-6 py-3 rounded-lg font-medium transition">Personalizar Agora</button>
<button class="border-2 border-white hover:bg-white hover:text-black text-white px-6 py-3 rounded-lg font-medium transition">Ver Coleção</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<img src="https://images.unsplash.com/photo-1594381898411-846e7d193883?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Modelo com roupa de treino" class="rounded-lg shadow-2xl max-w-md w-full">
</div>
</div>
</section>
<!-- Product Customization Section -->
<section class="py-12 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12">PERSONALIZE SEU PRODUTO</h2>
<div class="flex flex-col lg:flex-row gap-8">
<!-- Product Display -->
<div class="lg:w-2/3 bg-gray-50 p-8 rounded-lg shadow-md">
<div class="flex justify-center mb-8">
<div class="relative">
<img id="product-image" src="https://images.unsplash.com/photo-1583743814966-8936f5b7be1a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80" alt="Camiseta de treino" class="w-full max-w-md rounded-lg">
<div id="custom-text" class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-center font-bold" style="color: #ef4444; font-size: 24px;">SEU TEXTO</div>
</div>
</div>
<div class="grid grid-cols-2 md:grid-cols-4 gap-4">
<div class="product-card bg-gray-100 p-4 rounded-lg cursor-pointer transition" data-product="camiseta">
<img src="https://images.unsplash.com/photo-1583743814966-8936f5b7be1a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80" alt="Camiseta" class="w-full rounded mb-2">
<h3 class="font-medium">Camiseta</h3>
<p class="text-red-500 font-bold">R$ 89,90</p>
</div>
<div class="product-card bg-gray-100 p-4 rounded-lg cursor-pointer transition" data-product="regata">
<img src="https://images.unsplash.com/photo-1620799140408-edc6dcb6d633?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1372&q=80" alt="Regata" class="w-full rounded mb-2">
<h3 class="font-medium">Regata</h3>
<p class="text-red-500 font-bold">R$ 79,90</p>
</div>
<div class="product-card bg-gray-100 p-4 rounded-lg cursor-pointer transition" data-product="calca">
<img src="https://images.unsplash.com/photo-1591047139829-d91aecb6caea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1376&q=80" alt="Calça" class="w-full rounded mb-2">
<h3 class="font-medium">Calça</h3>
<p class="text-red-500 font-bold">R$ 129,90</p>
</div>
<div class="product-card bg-gray-100 p-4 rounded-lg cursor-pointer transition" data-product="shorts">
<img src="https://images.unsplash.com/photo-1591195853828-11db59a44f6b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Shorts" class="w-full rounded mb-2">
<h3 class="font-medium">Shorts</h3>
<p class="text-red-500 font-bold">R$ 99,90</p>
</div>
</div>
</div>
<!-- Customization Panel -->
<div class="lg:w-1/3 bg-gray-50 p-8 rounded-lg shadow-md customization-panel">
<h3 class="text-xl font-bold mb-6">PERSONALIZAÇÃO</h3>
<div class="mb-6">
<label class="block text-sm font-medium mb-2">Cor Principal</label>
<div class="flex flex-wrap gap-2">
<div class="color-option bg-black rounded-full selected" data-color="black" data-hex="#000000"></div>
<div class="color-option bg-red-600 rounded-full" data-color="red" data-hex="#dc2626"></div>
<div class="color-option bg-gray-500 rounded-full" data-color="gray" data-hex="#6b7280"></div>
<div class="color-option bg-white rounded-full border border-gray-300" data-color="white" data-hex="#ffffff"></div>
<div class="color-option bg-blue-600 rounded-full" data-color="blue" data-hex="#2563eb"></div>
<div class="color-option bg-green-600 rounded-full" data-color="green" data-hex="#16a34a"></div>
</div>
</div>
<div class="mb-6">
<label class="block text-sm font-medium mb-2">Cor do Texto</label>
<div class="flex flex-wrap gap-2">
<div class="color-option bg-red-600 rounded-full selected" data-text-color="red" data-hex="#dc2626"></div>
<div class="color-option bg-black rounded-full" data-text-color="black" data-hex="#000000"></div>
<div class="color-option bg-white rounded-full border border-gray-300" data-text-color="white" data-hex="#ffffff"></div>
<div class="color-option bg-yellow-400 rounded-full" data-text-color="yellow" data-hex="#facc15"></div>
<div class="color-option bg-blue-600 rounded-full" data-text-color="blue" data-hex="#2563eb"></div>
</div>
</div>
<div class="mb-6">
<label for="custom-text-input" class="block text-sm font-medium mb-2">Texto Personalizado</label>
<input type="text" id="custom-text-input" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-red-500 focus:border-red-500" value="SEU TEXTO">
</div>
<div class="mb-6">
<label for="text-size" class="block text-sm font-medium mb-2">Tamanho do Texto</label>
<select id="text-size" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-red-500 focus:border-red-500">
<option value="16px">Pequeno</option>
<option value="24px" selected>Médio</option>
<option value="32px">Grande</option>
<option value="40px">Extra Grande</option>
</select>
</div>
<div class="mb-6">
<label for="product-size" class="block text-sm font-medium mb-2">Tamanho do Produto</label>
<select id="product-size" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-red-500 focus:border-red-500">
<option value="P">P</option>
<option value="M" selected>M</option>
<option value="G">G</option>
<option value="GG">GG</option>
<option value="XG">XG</option>
</select>
</div>
<div class="mb-6">
<label class="block text-sm font-medium mb-2">Quantidade</label>
<div class="flex items-center">
<button id="decrease-qty" class="bg-gray-200 px-3 py-1 rounded-l-lg">-</button>
<input type="number" id="quantity" value="1" min="1" class="w-16 text-center border-t border-b border-gray-300 py-1">
<button id="increase-qty" class="bg-gray-200 px-3 py-1 rounded-r-lg">+</button>
</div>
</div>
<button id="add-to-cart" class="w-full bg-red-500 hover:bg-red-600 text-white py-3 rounded-lg font-medium transition flex items-center justify-center">
<i class="fas fa-shopping-cart mr-2"></i> ADICIONAR AO CARRINHO - R$ <span id="product-price">89,90</span>
</button>
</div>
</div>
</div>
</section>
<!-- Featured Products -->
<section class="py-12 bg-gray-100">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold text-center mb-12">NOSSOS PRODUTOS</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
<!-- Product 1 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden transition hover:shadow-xl">
<div class="relative">
<img src="https://images.unsplash.com/photo-1591047139829-d91aecb6caea?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1376&q=80" alt="Calça de Treino" class="w-full h-64 object-cover">
<div class="absolute top-2 right-2 bg-red-500 text-white text-xs font-bold px-2 py-1 rounded">NOVO</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-2">Calça de Treino Premium</h3>
<p class="text-gray-600 text-sm mb-3">Tecnologia Dry-Fit para máximo conforto durante seus treinos.</p>
<div class="flex justify-between items-center">
<span class="font-bold text-red-500">R$ 129,90</span>
<button class="bg-black text-white px-3 py-1 rounded-full text-sm hover:bg-red-500 transition">+ Carrinho</button>
</div>
</div>
</div>
<!-- Product 2 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden transition hover:shadow-xl">
<div class="relative">
<img src="https://images.unsplash.com/photo-1620799140408-edc6dcb6d633?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1372&q=80" alt="Regata Performance" class="w-full h-64 object-cover">
<div class="absolute top-2 right-2 bg-black text-white text-xs font-bold px-2 py-1 rounded">MAIS VENDIDO</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-2">Regata Performance</h3>
<p class="text-gray-600 text-sm mb-3">Leve e respirável para treinos intensos.</p>
<div class="flex justify-between items-center">
<span class="font-bold text-red-500">R$ 79,90</span>
<button class="bg-black text-white px-3 py-1 rounded-full text-sm hover:bg-red-500 transition">+ Carrinho</button>
</div>
</div>
</div>
<!-- Product 3 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden transition hover:shadow-xl">
<img src="https://images.unsplash.com/photo-1591195853828-11db59a44f6b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Shorts de Compressão" class="w-full h-64 object-cover">
<div class="p-4">
<h3 class="font-bold text-lg mb-2">Shorts de Compressão</h3>
<p class="text-gray-600 text-sm mb-3">Suporte muscular para melhor performance.</p>
<div class="flex justify-between items-center">
<span class="font-bold text-red-500">R$ 99,90</span>
<button class="bg-black text-white px-3 py-1 rounded-full text-sm hover:bg-red-500 transition">+ Carrinho</button>
</div>
</div>
</div>
<!-- Product 4 -->
<div class="bg-white rounded-lg shadow-md overflow-hidden transition hover:shadow-xl">
<div class="relative">
<img src="https://images.unsplash.com/photo-1583743814966-8936f5b7be1a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80" alt="Camiseta Dry-Fit" class="w-full h-64 object-cover">
<div class="absolute top-2 right-2 bg-red-500 text-white text-xs font-bold px-2 py-1 rounded">PROMOÇÃO</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-2">Camiseta Dry-Fit</h3>
<p class="text-gray-600 text-sm mb-3">Tecido tecnológico que mantém você seco.</p>
<div class="flex justify-between items-center">
<div>
<span class="text-gray-400 text-sm line-through mr-2">R$ 99,90</span>
<span class="font-bold text-red-500">R$ 79,90</span>
</div>
<button class="bg-black text-white px-3 py-1 rounded-full text-sm hover:bg-red-500 transition">+ Carrinho</button>
</div>
</div>
</div>
</div>
<div class="text-center mt-8">
<button class="border-2 border-black text-black px-6 py-2 rounded-lg font-medium hover:bg-black hover:text-white transition">Ver Todos os Produtos</button>
</div>
</div>
</section>
<!-- Shopping Cart Modal -->
<div id="cart-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 hidden">
<div class="absolute right-0 top-0 h-full w-full md:w-1/2 lg:w-1/3 bg-white shadow-lg overflow-y-auto">
<div class="p-6">
<div class="flex justify-between items-center mb-6">
<h3 class="text-xl font-bold">SEU CARRINHO</h3>
<button id="close-cart" class="text-gray-500 hover:text-red-500">
<i class="fas fa-times text-xl"></i>
</button>
</div>
<div id="cart-items" class="mb-6">
<!-- Cart items will be added here dynamically -->
<div class="text-center py-8 text-gray-500">
<i class="fas fa-shopping-cart text-4xl mb-2"></i>
<p>Seu carrinho está vazio</p>
</div>
</div>
<div class="border-t border-gray-200 pt-4 mb-6">
<div class="flex justify-between mb-2">
<span>Subtotal</span>
<span id="cart-subtotal">R$ 0,00</span>
</div>
<div class="flex justify-between mb-2">
<span>Frete</span>
<span id="cart-shipping">A calcular</span>
</div>
<div class="flex justify-between font-bold text-lg">
<span>Total</span>
<span id="cart-total">R$ 0,00</span>
</div>
</div>
<button id="checkout-btn" class="w-full bg-red-500 hover:bg-red-600 text-white py-3 rounded-lg font-medium transition mb-4">
FINALIZAR COMPRA
</button>
<button class="w-full border-2 border-black text-black py-3 rounded-lg font-medium hover:bg-black hover:text-white transition">
CONTINUAR COMPRANDO
</button>
</div>
</div>
</div>
<!-- Checkout Process -->
<div id="checkout-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 hidden">
<div class="absolute right-0 top-0 h-full w-full md:w-2/3 lg:w-1/2 bg-white shadow-lg overflow-y-auto">
<div class="p-6">
<div class="flex justify-between items-center mb-6">
<h3 class="text-xl font-bold">FINALIZAR COMPRA</h3>
<button id="close-checkout" class="text-gray-500 hover:text-red-500">
<i class="fas fa-times text-xl"></i>
</button>
</div>
<!-- Checkout Steps -->
<div class="flex justify-between mb-8 relative">
<div class="checkout-step active" data-step="1">
<div class="w-8 h-8 bg-red-500 text-white rounded-full flex items-center justify-center mx-auto mb-2">1</div>
<span>Endereço</span>
</div>
<div class="checkout-step" data-step="2">
<div class="w-8 h-8 bg-gray-200 rounded-full flex items-center justify-center mx-auto mb-2">2</div>
<span>Pagamento</span>
</div>
<div class="checkout-step" data-step="3">
<div class="w-8 h-8 bg-gray-200 rounded-full flex items-center justify-center mx-auto mb-2">3</div>
<span>Revisão</span>
</div>
</div>
<!-- Step 1: Address -->
<div id="step-1" class="checkout-step-content">
<h4 class="font-bold mb-4">INFORMAÇÕES DE ENTREGA</h4>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-6">
<div>
<label class="block text-sm font-medium mb-1">Nome</label>
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<div>
<label class="block text-sm font-medium mb-1">Sobrenome</label>
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
</div>
<div class="mb-4">
<label class="block text-sm font-medium mb-1">Endereço</label>
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6">
<div>
<label class="block text-sm font-medium mb-1">Cidade</label>
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<div>
<label class="block text-sm font-medium mb-1">Estado</label>
<select class="w-full px-4 py-2 border border-gray-300 rounded-lg">
<option>Selecione</option>
<option>SP</option>
<option>RJ</option>
<option>MG</option>
<!-- outros estados -->
</select>
</div>
<div>
<label class="block text-sm font-medium mb-1">CEP</label>
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
</div>
<div class="mb-6">
<label class="block text-sm font-medium mb-1">Telefone</label>
<input type="tel" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
<div class="flex justify-end">
<button id="next-to-payment" class="bg-red-500 hover:bg-red-600 text-white px-6 py-2 rounded-lg font-medium transition">
PRÓXIMO <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
<!-- Step 2: Payment -->
<div id="step-2" class="checkout-step-content hidden">
<h4 class="font-bold mb-4">MÉTODO DE PAGAMENTO</h4>
<div class="space-y-4 mb-6">
<div class="border border-gray-300 rounded-lg p-4 cursor-pointer hover:border-red-500 payment-method">
<div class="flex items-center">
<input type="radio" name="payment" id="credit-card" class="mr-3" checked>
<label for="credit-card" class="font-medium flex-1">Cartão de Crédito</label>
<div class="flex space-x-2">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/visa/visa-original.svg" alt="Visa" class="w-8">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/mastercard/mastercard-original.svg" alt="Mastercard" class="w-8">
<img src="https://cdn.jsdelivr.net/gh/devicons/devicon/icons/apple/apple-original.svg" alt="Apple Pay" class="w-8">
</div>
</div>
<div id="credit-card-details" class="mt-4 pl-7">
<div class="mb-4">
<label class="block text-sm font-medium mb-1">Número do Cartão</label>
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg" placeholder="1234 5678 9012 3456">
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mb-4">
<div>
<label class="block text-sm font-medium mb-1">Validade</label>
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg" placeholder="MM/AA">
</div>
<div>
<label class="block text-sm font-medium mb-1">CVV</label>
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg" placeholder="123">
</div>
</div>
<div>
<label class="block text-sm font-medium mb-1">Nome no Cartão</label>
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg">
</div>
</div>
</div>
<div class="border border-gray-300 rounded-lg p-4 cursor-pointer hover:border-red-500 payment-method">
<div class="flex items-center">
<input type="radio" name="payment" id="pix" class="mr-3">
<label for="pix" class="font-medium flex-1">PIX</label>
<img src="https://logospng.org/download/pix/logo-pix-icone-1024.png" alt="PIX" class="w-8">
</div>
</div>
<div class="border border-gray-300 rounded-lg p-4 cursor-pointer hover:border-red-500 payment-method">
<div class="flex items-center">
<input type="radio" name="payment" id="boleto" class="mr-3">
<label for="boleto" class="font-medium flex-1">Boleto Bancário</label>
<img src="https://cdn-icons-png.flaticon.com/512/2965/2965300.png" alt="Boleto" class="w-8">
</div>
</div>
</div>
<div class="flex justify-between">
<button id="back-to-address" class="border-2 border-black text-black px-6 py-2 rounded-lg font-medium hover:bg-black hover:text-white transition">
<i class="fas fa-arrow-left mr-2"></i> VOLTAR
</button>
<button id="next-to-review" class="bg-red-500 hover:bg-red-600 text-white px-6 py-2 rounded-lg font-medium transition">
PRÓXIMO <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
</div>
<!-- Step 3: Review -->
<div id="step-3" class="checkout-step-content hidden">
<h4 class="font-bold mb-4">REVISAR PEDIDO</h4>
<div class="mb-6">
<h5 class="font-medium mb-2">ENDEREÇO DE ENTREGA</h5>
<div class="bg-gray-100 p-4 rounded-lg">
<p id="review-name">João Silva</p>
<p id="review-address">Rua Exemplo, 123 - Apt 45</p>
<p id="review-city">São Paulo - SP</p>
<p id="review-zip">01234-567</p>
<p id="review-phone">(11) 98765-4321</p>
</div>
</div>
<div class="mb-6">
<h5 class="font-medium mb-2">MÉTODO DE PAGAMENTO</h5>
<div class="bg-gray-100 p-4 rounded-lg">
<p id="review-payment">Cartão de Crédito - Visa ****3456</p>
</div>
</div>
<div class="mb-6">
<h5 class="font-medium mb-2">ITENS DO PEDIDO</h5>
<div id="review-items" class="space-y-4">
<!-- Items will be added here dynamically -->
</div>
</div>
<div class="border-t border-gray-200 pt-4 mb-6">
<div class="flex justify-between font-bold text-lg">
<span>Total do Pedido</span>
<span id="review-total">R$ 0,00</span>
</div>
</div>
<div class="flex justify-between">
<button id="back-to-payment" class="border-2 border-black text-black px-6 py-2 rounded-lg font-medium hover:bg-black hover:text-white transition">
<i class="fas fa-arrow-left mr-2"></i> VOLTAR
</button>
<button id="place-order" class="bg-red-500 hover:bg-red-600 text-white px-6 py-2 rounded-lg font-medium transition">
<i class="fas fa-check-circle mr-2"></i> CONFIRMAR PEDIDO
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Order Confirmation -->
<div id="confirmation-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 hidden">
<div class="absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 bg-white p-8 rounded-lg shadow-xl max-w-md w-full">
<div class="text-center">
<div class="w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4">
<i class="fas fa-check-circle text-green-500 text-3xl"></i>
</div>
<h3 class="text-xl font-bold mb-2">PEDIDO CONFIRMADO!</h3>
<p class="text-gray-600 mb-6">Obrigado por comprar na BLAKESTORE. Seu pedido #12345 foi recebido e está sendo processado.</p>
<p class="text-sm text-gray-500 mb-6">Um e-mail de confirmação foi enviado para seu endereço de e-mail.</p>
<button id="close-confirmation" class="bg-red-500 hover:bg-red-600 text-white px-6 py-2 rounded-lg font-medium transition">
VOLTAR À LOJA
</button>
</div>
</div>
</div>
<!-- Footer -->
<footer class="bg-black text-white py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4">BLAKE<span class="text-red-500">STORE</span></h3>
<p class="text-gray-400">Roupas de treino personalizadas para quem busca performance e estilo.</p>
<div class="flex space-x-4 mt-4">
<a href="#" class="text-gray-400 hover:text-red-500"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="text-gray-400 hover:text-red-500"><i class="fab fa-instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-red-500"><i class="fab fa-twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-red-500"><i class="fab fa-youtube"></i></a>
</div>
</div>
<div>
<h4 class="font-bold mb-4">LINKS ÚTEIS</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-red-500">Sobre Nós</a></li>
<li><a href="#" class="text-gray-400 hover:text-red-500">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-red-500">Como Personalizar</a></li>
<li><a href="#" class="text-gray-400 hover:text-red-500">Política de Privacidade</a></li>
<li><a href="#" class="text-gray-400 hover:text-red-500">Termos de Serviço</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">AJUDA</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-red-500">Central de Ajuda</a></li>
<li><a href="#" class="text-gray-400 hover:text-red-500">Trocas e Devoluções</a></li>
<li><a href="#" class="text-gray-400 hover:text-red-500">Rastrear Pedido</a></li>
<li><a href="#" class="text-gray-400 hover:text-red-500">Formas de Pagamento</a></li>
<li><a href="#" class="text-gray-400 hover:text-red-500">Perguntas Frequentes</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">CONTATO</h4>
<ul class="space-y-2 text-gray-400">
<li class="flex items-center"><i class="fas fa-map-marker-alt mr-2 text-red-500"></i> Av. Paulista, 1000 - São Paulo, SP</li>
<li class="flex items-center"><i class="fas fa-phone-alt mr-2 text-red-500"></i> (11) 1234-5678</li>
<li class="flex items-center"><i class="fas fa-envelope mr-2 text-red-500"></i> contato@blakestore.com</li>
</ul>
<div class="mt-4">
<h5 class="font-medium mb-2">NEWSLETTER</h5>
<div class="flex">
<input type="email" placeholder="Seu e-mail" class="px-4 py-2 bg-gray-800 text-white rounded-l-lg focus:outline-none w-full">
<button class="bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-r-lg"><i class="fas fa-paper-plane"></i></button>
</div>
</div>
</div>
</div>
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
<p>© 2023 BLAKESTORE. Todos os direitos reservados.</p>
</div>
</div>
</footer>
<script>
// Mobile Menu Toggle
document.getElementById('mobile-menu-btn').addEventListener('click', function() {
document.getElementById('mobile-menu').classList.toggle('hidden');
});
// Shopping Cart Logic
let cart = [];
let currentProduct = {
name: 'Camiseta',
price: 89.90,
color: 'black',
textColor: 'red',
text: 'SEU TEXTO',
textSize: '24px',
size: 'M',
quantity: 1
};
// Update product price when product changes
document.querySelectorAll('.product-card').forEach(card => {
card.addEventListener('click', function() {
const product = this.dataset.product;
let price = 89.90;
let name = 'Camiseta';
switch(product) {
case 'regata':
price = 79.90;
name = 'Regata';
break;
case 'calca':
price = 129.90;
name = 'Calça';
break;
case 'shorts':
price = 99.90;
name = 'Shorts';
break;
}
currentProduct.price = price;
currentProduct.name = name;
document.getElementById('product-price').textContent = price.toFixed(2).replace('.', ',');
// Update product image
document.getElementById('product-image').src = this.querySelector('img').src;
// Update active state
document.querySelectorAll('.product-card').forEach(c => c.classList.remove('bg-red-100'));
this.classList.add('bg-red-100');
});
});
// Color selection
document.querySelectorAll('.color-option[data-color]').forEach(option => {
option.addEventListener('click', function() {
document.querySelectorAll('.color-option[data-color]').forEach(opt => opt.classList.remove('selected'));
this.classList.add('selected');
currentProduct.color = this.dataset.color;
// Apply color to product image (simplified for demo)
document.getElementById('product-image').style.filter = 'brightness(70%)';
});
});
// Text color selection
document.querySelectorAll('.color-option[data-text-color]').forEach(option => {
option.addEventListener('click', function() {
document.querySelectorAll('.color-option[data-text-color]').forEach(opt => opt.classList.remove('selected'));
this.classList.add('selected');
currentProduct.textColor = this.dataset.color;
document.getElementById('custom-text').style.color = this.dataset.hex;
});
});
// Text customization
document.getElementById('custom-text-input').addEventListener('input', function() {
currentProduct.text = this.value;
document.getElementById('custom-text').textContent = this.value;
});
// Text size
document.getElementById('text-size').addEventListener('change', function() {
currentProduct.textSize = this.value;
document.getElementById('custom-text').style.fontSize = this.value;
});
// Product size
document.getElementById('product-size').addEventListener('change', function() {
currentProduct.size = this.value;
});
// Quantity controls
document.getElementById('increase-qty').addEventListener('click', function() {
const qtyInput = document.getElementById('quantity');
let qty = parseInt(qtyInput.value);
qtyInput.value = qty + 1;
currentProduct.quantity = qty + 1;
});
document.getElementById('decrease-qty').addEventListener('click', function() {
const qtyInput = document.getElementById('quantity');
let qty = parseInt(qtyInput.value);
if (qty > 1) {
qtyInput.value = qty - 1;
currentProduct.quantity = qty - 1;
}
});
// Add to cart
document.getElementById('add-to-cart').addEventListener('click', function() {
// Check if this exact product is already in cart
const existingIndex = cart.findIndex(item =>
item.name === currentProduct.name &&
item.color === currentProduct.color &&
item.text === currentProduct.text &&
item.size === currentProduct.size
);
if (existingIndex >= 0) {
// Update quantity if product already exists
cart[existingIndex].quantity += currentProduct.quantity;
} else {
// Add new product to cart
cart.push({...currentProduct});
}
updateCart();
// Show feedback
this.innerHTML = '<i class="fas fa-check mr-2"></i> ADICIONADO!';
setTimeout(() => {
this.innerHTML = '<i class="fas fa-shopping-cart mr-2"></i> ADICIONAR AO CARRINHO - R$ ' + currentProduct.price.toFixed(2).replace('.', ',');
}, 2000);
});
// Cart modal toggle
document.getElementById('cart-btn').addEventListener('click', function() {
document.getElementById('cart-modal').classList.remove('hidden');
});
document.getElementById('close-cart').addEventListener('click', function() {
document.getElementById('cart-modal').classList.add('hidden');
});
// Update cart display
function updateCart() {
const cartItemsContainer = document.getElementById('cart-items');
const cartCount = document.getElementById('cart-count');
const cartSubtotal = document.getElementById('cart-subtotal');
const cartTotal = document.getElementById('cart-total');
// Update count
const totalItems = cart.reduce((sum, item) => sum + item.quantity, 0);
cartCount.textContent = totalItems;
if (cart.length === 0) {
cartItemsContainer.innerHTML = `
<div class="text-center py-8 text-gray-500">
<i class="fas fa-shopping-cart text-4xl mb-2"></i>
<p>Seu carrinho está vazio</p>
</div>
`;
cartSubtotal.textContent = 'R$ 0,00';
cartTotal.textContent = 'R$ 0,00';
return;
}
// Calculate subtotal
const subtotal = cart.reduce((sum, item) => sum + (item.price * item.quantity), 0);
cartSubtotal.textContent = 'R$ ' + subtotal.toFixed(2).replace('.', ',');
cartTotal.textContent = 'R$ ' + (subtotal + 15).toFixed(2).replace('.', ','); // Adding fixed shipping
// Render cart items
cartItemsContainer.innerHTML = '';
cart.forEach((item, index) => {
const cartItem = document.createElement('div');
cartItem.className = 'cart-item flex items-center py-4 border-b border-gray-200';
cartItem.innerHTML = `
<div class="w-16 h-16 bg-gray-200 rounded-lg mr-4 overflow-hidden">
<img src="${document.getElementById('product-image').src}" alt="${item.name}" class="w-full h-full object-cover">
<div class="relative">
<div class="absolute inset-0 bg-${item.color}-500 opacity-30"></div>
</div>
</div>
<div class="flex-1">
<h4 class="font-medium">${item.name} ${item.size}</h4>
<p class="text-sm text-gray-500">Cor: ${item.color} | Texto: "${item.text}"</p>
</div>
<div class="flex items-center">
<button class="decrease-item px-2 text-gray-500" data-index="${index}">-</button>
<span class="mx-2">${item.quantity}</span>
<button class="increase-item px-2 text-gray-500" data-index="${index}">+</button>
<span class="ml-4 font-medium">R$ ${(item.price * item.quantity).toFixed(2).replace('.', ',')}</span>
<button class="remove-item ml-4 text-red-500" data-index="${index}">
<i class="fas fa-trash"></i>
</button>
</div>
`;
cartItemsContainer.appendChild(cartItem);
});
// Add event listeners to quantity buttons
document.querySelectorAll('.decrease-item').forEach(btn => {
btn.addEventListener('click', function() {
const index = parseInt(this.dataset.index);
if (cart[index].quantity > 1) {
cart[index].quantity--;
} else {
cart.splice(index, 1);
}
updateCart();
});
});
document.querySelectorAll('.increase-item').forEach(btn => {
btn.addEventListener('click', function() {
const index = parseInt(this.dataset.index);
cart[index].quantity++;
updateCart();
});
});
document.querySelectorAll('.remove-item').forEach(btn => {
btn.addEventListener('click', function() {
const index = parseInt(this.dataset.index);
cart.splice(index, 1);
updateCart();
});
});
}
// Checkout process
document.getElementById('checkout-btn').addEventListener('click', function() {
if (cart.length === 0) return;
document.getElementById('cart-modal').classList.add('hidden');
document.getElementById('checkout-modal').classList.remove('hidden');
// Update review items
updateReviewItems();
});
document.getElementById('close-checkout').addEventListener('click', function() {
document.getElementById('checkout-modal').classList.add('hidden');
});
// Checkout steps navigation
document.getElementById('next-to-payment').addEventListener('click', function() {
document.getElementById('step-1').classList.add('hidden');
document.getElementById('step-2').classList.remove('hidden');
// Update step indicator
document.querySelector('.checkout-step[data-step="1"]').classList.remove('active');
document.querySelector('.checkout-step[data-step="1"]').classList.add('completed');
document.querySelector('.checkout-step[data-step="2"]').classList.add('active');
});
document.getElementById('back-to-address').addEventListener('click', function() {
document.getElementById('step-2').classList.add('hidden');
document.getElementById('step-1').classList.remove('hidden');
// Update step indicator
document.querySelector('.checkout-step[data-step="2"]').classList.remove('active');
document.querySelector('.checkout-step[data-step="1"]').classList.add('active');
document.querySelector('.checkout-step[data-step="1"]').classList.remove('completed');
});
document.getElementById('next-to-review').addEventListener('click', function() {
document.getElementById('step-2').classList.add('hidden');
document.getElementById('step-3').classList.remove('hidden');
// Update step indicator
document.querySelector('.checkout-step[data-step="2"]').classList.remove('active');
document.querySelector('.checkout-step[data-step="2"]').classList.add('completed');
document.querySelector('.checkout-step[data-step="3"]').classList.add('active');
// Update review information
updateReviewInfo();
});
document.getElementById('back-to-payment').addEventListener('click', function() {
document.getElementById('step-3').classList.add('hidden');
document.getElementById('step-2').classList.remove('hidden');
// Update step indicator
document.querySelector('.checkout-step[data-step="3"]').classList.remove('active');
document.querySelector('.checkout-step[data-step="2"]').classList.add('active');
document.querySelector('.checkout-step[data-step="2"]').classList.remove('completed');
});
// Update review information
function updateReviewInfo() {
// Simulate getting form data
document.getElementById('review-name').textContent = 'João Silva';
document.getElementById('review-address').textContent = 'Rua Exemplo, 123 - Apt 45';
document.getElementById('review-city').textContent = 'São Paulo - SP';
document.getElementById('review-zip').textContent = '01234-567';
document.getElementById('review-phone').textContent = '(11) 98765-4321';
// Payment method
const paymentMethod = document.querySelector('input[name="payment"]:checked').id;
let paymentText = '';
switch(paymentMethod) {
case 'credit-card':
paymentText = 'Cartão de Crédito - Visa ****3456';
break;
case 'pix':
paymentText = 'PIX';
break;
case 'boleto':
paymentText = 'Boleto Bancário';
break;
}
document.getElementById('review-payment').textContent = paymentText;
// Total
const subtotal = cart.reduce((sum, item) => sum + (item.price * item.quantity), 0);
document.getElementById('review-total').textContent = 'R$ ' + (subtotal + 15).toFixed(2).replace('.', ',');
}
// Update review items
function updateReviewItems() {
const reviewItemsContainer = document.getElementById('review-items');
reviewItemsContainer.innerHTML = '';
cart.forEach(item => {
const itemElement = document.createElement('div');
itemElement.className = 'flex justify-between items-center';
itemElement.innerHTML = `
<div class="flex items-center">
<div class="w-12 h-12 bg-gray-200 rounded-lg mr-3 overflow-hidden">
<img src="${document.getElementById('product-image').src}" alt="${item.name}" class="w-full h-full object-cover">
</div>
<div>
<h5 class="font-medium">${item.name} ${item.size}</h5>
<p class="text-sm text-gray-500">${item.quantity} x R$ ${item.price.toFixed(2).replace('.', ',')}</p>
</div>
</div>
<span class="font-medium">R$ ${(item.price * item.quantity).toFixed(2).replace('.', ',')}</span>
`;
reviewItemsContainer.appendChild(itemElement);
});
}
// Place order
document.getElementById('place-order').addEventListener('click', function() {
document.getElementById('checkout-modal').classList.add('hidden');
document.getElementById('confirmation-modal').classList.remove('hidden');
// Clear cart
cart = [];
updateCart();
});
// Close confirmation
document.getElementById('close-confirmation').addEventListener('click', function() {
document.getElementById('confirmation-modal').classList.add('hidden');
});
// Payment method selection
document.querySelectorAll('.payment-method').forEach(method => {
method.addEventListener('click', function() {
const radio = this.querySelector('input[type="radio"]');
radio.checked = true;
// Update UI
document.querySelectorAll('.payment-method').forEach(m => {
m.classList.remove('border-red-500');
m.classList.add('border-gray-300');
});
this.classList.remove('border-gray-300');
this.classList.add('border-red-500');
});
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=BLAKESTOREGG/https-blakestoregg-my-canva-site" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |