* {
    -webkit-tap-highlight-color: transparent;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

button,
a,
input,
textarea {
    outline: none;
}

:root {
    --primary-black: #000000;
    --secondary-black: #111111;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --accent-silver: #c0c0c0;
    --text-gray: #666666;
    --border-gray: #e1e5e9;
    --whatsapp-green: #25D366;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    scroll-behavior: smooth;
    font-weight: 400;
    overflow-x: hidden;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
}

.loading-logo {
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -2px;
    margin-bottom: 2.5rem;
    animation: logoFade 1.5s ease-in-out infinite;
}

.loading-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #c0c0c0);
    border-radius: 10px;
    animation: loadingBar 1.5s ease-in-out infinite;
}

@keyframes logoFade {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes loadingBar {
    0% {
        width: 0%;
        margin-left: 0%;
    }

    50% {
        width: 70%;
        margin-left: 0%;
    }

    100% {
        width: 0%;
        margin-left: 100%;
    }
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    color: white;
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--accent-silver);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--white);
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: var(--accent-silver);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--white);
    color: var(--primary-black);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.cart-count.animate {
    transform: scale(1.3);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 900;
    display: none;
    cursor: pointer;
}

.sidebar-overlay.active {
    display: block;
}

.mobile-menu-sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 1100;
    transition: left 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.mobile-menu-sidebar.open {
    left: 0;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.mobile-menu-links a {
    color: var(--primary-black);
    font-weight: 500;
    padding: 0.8rem;
}

.shop-hero {
    padding: 140px 2rem 80px;
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    color: white;
    text-align: center;
}

.shop-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.shop-hero p {
    font-size: 1.2rem;
    color: var(--accent-silver);
    max-width: 600px;
    margin: 0 auto;
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 2rem;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 20px;
}

.filter-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 600;
    color: var(--primary-black);
    font-size: 0.95rem;
}

.filter-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    border: 2px solid var(--primary-black);
    background: transparent;
    color: var(--primary-black);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-black);
    color: var(--white);
    transform: translateY(-2px);
}

.shop-sort-select {
    padding: 8px 20px 8px 16px;
    border: 2px solid var(--primary-black);
    border-radius: 50px;
    background: white;
    font-weight: 500;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.product-count {
    text-align: center;
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-gray);
    transition: 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 280px;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--primary-black);
}

.product-price {
    color: var(--primary-black);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.add-to-cart {
    width: 100%;
    padding: 12px;
    background: var(--primary-black);
    color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: var(--secondary-black);
    transform: translateY(-2px);
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-gray);
}

.no-results i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close {
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    color: var(--primary-black);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    background: var(--light-gray);
    transform: rotate(90deg);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 3rem;
}

.product-images-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-product-image {
    width: 100%;
    height: 400px;
    background: var(--light-gray);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.main-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.product-thumbnail {
    width: 70px;
    height: 70px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumbnail.active {
    border-color: var(--primary-black);
}

.product-thumbnail:hover {
    border-color: var(--accent-silver);
}

.product-detail-info {
    display: flex;
    flex-direction: column;
}

.product-detail-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-detail-info>p:first-of-type {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 2rem;
}

.color-selector,
.product-options {
    margin-bottom: 2rem;
}

.color-selector h4,
.product-options h4 {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-black);
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.color-option:hover {
    transform: scale(1.1);
    border-color: var(--primary-black);
}

.color-option.active {
    border-color: var(--primary-black);
    border-width: 3px;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.size-option {
    padding: 8px 16px;
    border: 2px solid #ddd;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.size-option:hover {
    border-color: var(--primary-black);
    background: rgba(0, 0, 0, 0.05);
}

.size-option.selected {
    border-color: var(--primary-black);
    background: var(--primary-black);
    color: white;
}

.sizing-helper {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 1.5rem 0;
    padding: 0.8rem;
    background: var(--light-gray);
    border-left: 3px solid var(--primary-black);
    border-radius: 5px;
}

.sizing-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sizing-option-group {
    display: flex;
    flex-direction: column;
}

.sizing-option-group label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.sizing-option-group select {
    padding: 10px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.sizing-option-group select:hover {
    border-color: var(--primary-black);
}

.sizing-option-group select:focus {
    outline: none;
    border-color: var(--primary-black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-gray);
    background: white;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: var(--light-gray);
    transform: scale(1.05);
}

.quantity-input {
    width: 70px;
    text-align: center;
    padding: 10px;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    font-weight: 600;
}

.cart-sidebar {
    position: fixed;
    right: -450px;
    top: 0;
    width: 450px;
    height: 100%;
    background: white;
    z-index: 1500;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 10;
}

.cart-header h3 {
    font-weight: 700;
    font-size: 1.4rem;
}

.cart-items {
    padding: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-gray);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-total {
    padding: 2rem;
    border-top: 2px solid var(--border-gray);
    text-align: center;
    background: var(--light-gray);
    position: sticky;
    bottom: 0;
}

.cart-total h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-black);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: var(--secondary-black);
    transform: translateY(-2px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-black);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.thank-you-modal {
    text-align: center;
    padding: 4rem 2rem;
}

.thank-you-icon {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 2rem;
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {

    0%,
    20%,
    60%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-30px);
    }

    80% {
        transform: translateY(-15px);
    }
}

.thank-you-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 1rem;
}

.thank-you-message {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-button i {
    color: white;
    font-size: 28px;
}

.hidden {
    display: none !important;
}

.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1rem 2rem;
    border-radius: 10px;
    z-index: 3000;
    animation: notificationSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.notification.success {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.notification.error {
    background: linear-gradient(135deg, #f44336, #da190b);
    color: white;
}

.notification.info {
    background: linear-gradient(135deg, var(--primary-black), var(--secondary-black));
    color: white;
}

@keyframes notificationSlideIn {
    from {
        transform: translateX(100%) translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

.footer {
    background: var(--secondary-black);
    color: white;
    padding: 80px 2rem 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--accent-silver);
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.footer-section a {
    color: var(--accent-silver);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--accent-silver);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    font-size: 0.95rem;
    background: #111;
    color: #fff;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .shop-hero h1 {
        font-size: 2.5rem;
    }

    .product-detail {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .cart-sidebar {
        width: 100vw;
        right: -100vw;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .sizing-options-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 2% auto;
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .shop-hero h1 {
        font-size: 2rem;
    }

    .product-detail {
        gap: 1.5rem;
    }
}

/* Search Bar Styles */
.search-container {
    max-width: 600px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 1.2rem;
    color: var(--text-gray);
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 3.2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    font-family: inherit;
}

.search-input:focus {
    outline: none;
    border-color: var(--white);
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.search-input::placeholder {
    color: var(--text-gray);
}

.clear-search {
    position: absolute;
    right: 1rem;
    background: var(--primary-black);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clear-search:hover {
    background: var(--secondary-black);
    transform: scale(1.1);
}

.product-code {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-black);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 5;
}

.product-card {
    position: relative;
}

@media (max-width: 768px) {
    .search-container {
        margin-top: 1.5rem;
    }

    .search-input {
        font-size: 0.95rem;
        padding: 0.9rem 3rem 0.9rem 3rem;
    }

    .search-icon {
        left: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .search-input {
        font-size: 0.9rem;
    }

    .product-code {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}