/* Shop Page Specific Styles */

.shop-header {
    margin-top: 70px;
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.shop-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--white), var(--gray-light), var(--white));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shop-title {
    font-size: 3rem;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.shop-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
}

/* Shop Main Layout */
.shop-main {
    background-color: var(--gray-light);
    padding: 2rem 0;
    min-height: 100vh;
}

.shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 3rem;
}

/* Sidebar Filters */
.shop-sidebar {
    background-color: var(--white);
    padding: 1.5rem;
    border: none;
    height: fit-content;
    position: sticky;
    top: 90px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.shop-sidebar:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.filter-toggle {
    display: none;
    width: 100%;
    padding: 1rem;
    background-color: var(--black);
    color: var(--white);
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
    font-size: 1rem;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.filter-toggle:hover {
    background-color: var(--gray-dark);
}

.toggle-icon {
    transition: transform 0.3s ease;
}

.filter-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.filter-content {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.filter-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--gray-light);
}

.filter-section:last-of-type {
    border-bottom: none;
}

.filter-section-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color 0.3s ease;
}

.filter-section-title:hover {
    color: var(--gray-dark);
}

.section-toggle-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.filter-section-title.collapsed .section-toggle-icon {
    transform: rotate(-90deg);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-height: 500px;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.filter-group.collapsed {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
}

.filter-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
}

.filter-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.8rem;
    cursor: pointer;
    accent-color: var(--black);
}

.filter-option span {
    user-select: none;
}

.clear-filters {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.clear-filters:hover {
    background-color: var(--white);
    color: var(--black);
    border-color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.clear-filters:hover {
    background-color: var(--highlight-color);
    border-color: var(--highlight-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 51, 102, 0.3);
}

/* Shop Content */
.shop-content {
    width: 100%;
}

/* Shop Content */
.shop-content {
    width: 100%;
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.results-count {
    font-size: 1.1rem;
    font-weight: bold;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-options label {
    font-weight: bold;
}

#sortSelect {
    padding: 0.5rem 1rem;
    border: 2px solid var(--black);
    background-color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
}

#sortSelect:hover {
    border-color: var(--gray-dark);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-item {
    background-color: var(--white);
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.product-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.product-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    background-color: var(--white);
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--black), var(--gray-dark));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.product-item:hover .product-image::after {
    transform: scaleX(1);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    padding: 20px;
}

/* Image Carousel */
.product-image-carousel {
    width: 100%;
    height: 350px;
    position: relative;
    background-color: var(--white);
    overflow: hidden;
}

.carousel-images {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-image.active {
    opacity: 1;
    position: relative;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--black);
}

.dot:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 1.2rem;
}

.product-category {
    font-size: 0.9rem;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.product-name {
    font-family: 'Anton', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-description {
    font-size: 0.95rem;
    color: #333333;
    margin-bottom: 0.8rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #000000;
}

/* Shop CTA */
.shop-cta {
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.shop-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--white), var(--gray-light), var(--white));
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.shop-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.shop-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    background-color: var(--white);
    color: var(--black);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.cta-btn:hover {
    background-color: var(--black);
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.4);
}

/* Product Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background-color: var(--white);
    border-radius: 20px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--gray-dark);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.close-modal:hover {
    background-color: var(--black);
    color: var(--white);
    transform: scale(1.1);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
}

.modal-image-section {
    background-color: var(--gray-light);
    border-radius: 20px 0 0 20px;
    position: relative;
    overflow: hidden;
}

.modal-image-carousel {
    width: 100%;
    height: 100%;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-carousel-images {
    width: 100%;
    height: 100%;
    position: relative;
}

.modal-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal-carousel-image.active {
    opacity: 1;
    position: relative;
}

.modal-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.modal-carousel-btn.prev {
    left: 15px;
}

.modal-carousel-btn.next {
    right: 15px;
}

.modal-carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.modal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-dot.active {
    background-color: var(--black);
    transform: scale(1.2);
}

.modal-dot:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-info-section {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 0 20px 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.modal-product-category {
    font-size: 0.9rem;
    color: var(--gray-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.modal-product-name {
    font-family: 'Anton', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--black);
}

.modal-product-description {
    font-size: 1rem;
    color: var(--gray-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-product-details {
    margin-bottom: 2rem;
}

.detail-group {
    margin-bottom: 1.5rem;
}

.detail-group h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-group p {
    color: var(--gray-dark);
    font-size: 0.95rem;
}

.size-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.size-option {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gray-light);
    background-color: var(--white);
    color: var(--gray-dark);
    font-weight: bold;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.size-option:hover {
    border-color: var(--black);
    color: var(--black);
}

.modal-price-section {
    border-top: 2px solid var(--gray-light);
    padding-top: 1.5rem;
}

.modal-product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.modal-contact-buttons {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.modal-contact-btn {
    display: inline-block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.modal-contact-btn.whatsapp {
    background-color: #25D366;
    color: var(--white);
    border: 2px solid #25D366;
}

.modal-contact-btn.whatsapp:hover {
    background-color: var(--white);
    color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.modal-contact-btn.email {
    background-color: var(--black);
    color: var(--white);
    border: 2px solid var(--black);
}

.modal-contact-btn.email:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .shop-container {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        position: static;
        margin-bottom: 2rem;
    }
    
    .filter-toggle {
        display: flex;
    }
    
    .filter-content {
        max-height: 0;
        opacity: 0;
    }
    
    .filter-content.active {
        max-height: 2000px;
        opacity: 1;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Modal responsive */
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-image-section {
        border-radius: 20px 20px 0 0;
        min-height: 300px;
    }
    
    .modal-info-section {
        border-radius: 0 0 20px 20px;
    }
    
    .modal-image-carousel {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .shop-title {
        font-size: 2rem;
    }
    
    .shop-subtitle {
        font-size: 1rem;
    }
    
    .shop-header {
        padding: 2rem 1rem;
    }
    
    .shop-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        padding: 1rem;
    }
    
    .sort-options {
        width: 100%;
    }
    
    #sortSelect {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .product-image {
        height: 320px;
    }
    
    .product-image-carousel {
        height: 320px;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .shop-container {
        padding: 0 15px;
    }
    
    .filter-section h3 {
        font-size: 1rem;
    }
    
    .filter-section-title {
        font-size: 1rem;
    }
    
    .shop-cta {
        padding: 2rem 1.5rem;
    }
    
    .shop-cta h2 {
        font-size: 1.8rem;
    }
    
    .shop-cta p {
        font-size: 1rem;
    }

    /* Modal responsive for tablets */
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-info-section {
        padding: 1.5rem;
    }
    
    .modal-product-name {
        font-size: 1.8rem;
    }
    
    .modal-contact-buttons {
        flex-direction: row;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .shop-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .shop-subtitle {
        font-size: 0.9rem;
    }
    
    .shop-header {
        padding: 1.5rem 1rem;
    }
    
    .product-image {
        height: 280px;
    }
    
    .product-image img {
        padding: 15px;
    }
    
    .product-image-carousel {
        height: 280px;
    }
    
    .carousel-image {
        padding: 15px;
    }
    
    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 1.2rem;
    }
    
    .carousel-btn.prev {
        left: 5px;
    }
    
    .carousel-btn.next {
        right: 5px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .shop-sidebar {
        padding: 1rem;
    }
    
    .product-name {
        font-size: 1.1rem;
    }
    
    .product-info {
        padding: 1rem;
    }
    
    .product-category {
        font-size: 0.85rem;
    }
    
    .product-description {
        font-size: 0.9rem;
    }
    
    .product-price {
        font-size: 1rem;
    }
    
    .shop-cta {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }
    
    .shop-cta h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .shop-cta p {
        font-size: 0.95rem;
    }
    
    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .shop-toolbar {
        padding: 0.8rem;
    }
    
    .results-count {
        font-size: 1rem;
    }
    
    .filter-option {
        font-size: 0.95rem;
    }
    
    .clear-filters {
        padding: 0.7rem;
        font-size: 0.95rem;
    }

    /* Modal responsive for mobile */
    .modal-content {
        width: 98%;
        max-height: 98vh;
        border-radius: 15px;
    }
    
    .modal-body {
        min-height: auto;
    }
    
    .modal-image-section {
        border-radius: 15px 15px 0 0;
        min-height: 250px;
    }
    
    .modal-info-section {
        padding: 1rem;
        border-radius: 0 0 15px 15px;
    }
    
    .modal-image-carousel {
        min-height: 250px;
    }
    
    .modal-carousel-image {
        padding: 20px;
    }
    
    .modal-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.4rem;
    }
    
    .modal-carousel-btn.prev {
        left: 10px;
    }
    
    .modal-carousel-btn.next {
        right: 10px;
    }
    
    .modal-product-name {
        font-size: 1.5rem;
    }
    
    .modal-product-description {
        font-size: 0.95rem;
    }
    
    .modal-contact-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .close-modal {
        top: 10px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 1.8rem;
    }
}

@media (max-width: 360px) {
    .shop-title {
        font-size: 1.3rem;
    }
    
    .product-image {
        height: 250px;
    }
    
    .product-name {
        font-size: 1rem;
    }
}

