@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Poppins:wght@300;500&display=swap');
 /* Reset and base styles */
 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

li {
    list-style: none;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Ensure no conflicting styles for the logo */
.logo-z, .logo-text {
    all: unset; /* Reset any styles from shop.css that might override main-nav styles */
}


/* Hero Section - match shop.css */
.hero {
    background: linear-gradient(135deg, #1A1A1A 0%, #333333 100%);
    color: #FFFFFF;
    padding: 150px 0px 100px 0px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('/api/placeholder/1200/400') center/cover no-repeat;
    opacity: 0.2;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Improved Breadcrumbs */
.zgadget-breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.04em;
    font-weight: 500;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1.5rem;
    backdrop-filter: blur(5px);
    max-width: 80%;
    margin: 0 auto;
    border: 1px solid #D7B4A3;
}

.zgadget-breadcrumbs a {
    color: #D7B4A3;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    padding: 0 0.5rem;
}

.zgadget-breadcrumbs a:hover {
    color: #fff;
    transform: translateY(-2px);
}

.zgadget-breadcrumbs .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0.3rem;
}

.zgadget-breadcrumbs span.current {
    color: #fff;
    font-weight: 600;
    padding: 0 0.5rem;
}

@media (max-width: 600px) {
    .zgadget-breadcrumbs {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
        max-width: 95%;
    }
}

/* Product Detail Page Specific Styles */
.zgadget-product-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.zgadget-product-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.zgadget-product-gallery {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.zgadget-product-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.zgadget-product-gallery::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 5%;
    width: 90%;
    height: 20px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    filter: blur(10px);
}

.zgadget-product-gallery img:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.zgadget-product-info {
    flex: 1.5;
    min-width: 300px;
}

.zgadget-product-title {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1rem;
    color: #222;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.zgadget-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid #eee;
}

.zgadget-product-meta-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.zgadget-product-meta-item i {
    color: #D7B4A3;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.zgadget-product-meta-label {
    font-weight: 600;
    margin-right: 0.5rem;
    color: #555;
}

.zgadget-product-price {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #D7B4A3;
    margin: 1.2rem 0;
    padding: 0.5rem 1.2rem;
    background: rgba(215, 180, 163, 0.1);
    border-radius: 8px;
    position: relative;
}

.zgadget-product-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #D7B4A3;
    border-radius: 4px 0 0 4px;
}

.zgadget-product-description {
    line-height: 1.8;
    color: #444;
    margin-bottom: 2rem;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px dashed #eee;
    padding-bottom: 1.5rem;
}

.zgadget-product-variants {
    margin-bottom: 2rem;
}

.zgadget-product-variants-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #222;
    display: flex;
    align-items: center;
}

.zgadget-product-variants-title i {
    margin-right: 0.5rem;
    color: #D7B4A3;
}

.zgadget-product-variants-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    list-style: none;
    padding: 0;
}

.zgadget-product-variant-item {
    background-color: #f8f6f5;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #2B2B2B;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.zgadget-product-variant-item:hover {
    background-color: #f0e9e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.zgadget-product-variant-item.selected {
    background-color: #D7B4A3;
    color: #fff;
    border-color: #D7B4A3;
    box-shadow: 0 4px 12px rgba(215, 180, 163, 0.4);
    transform: translateY(-2px);
}

.zgadget-product-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    align-items: center;
}

.zgadget-product-quantity {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f8f8f8;
    padding: 0.3rem 1rem;
    border-radius: 8px;
    border: 1px solid #eee;
}

.zgadget-product-quantity-label {
    font-weight: 600;
    color: #555;
}

.zgadget-product-quantity-input {
    width: 70px;
    padding: 0.7rem;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-weight: 500;
    color: #333;
    background: #fff;
}

.zgadget-product-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: #D7B4A3;
    color: #fff;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(215, 180, 163, 0.4);
    letter-spacing: 0.03em;
}

.zgadget-product-add-to-cart:hover {
    background-color: #c69c8b;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(215, 180, 163, 0.5);
}

.zgadget-product-add-to-cart i {
    font-size: 1.1rem;
}

.zgadget-wishlist-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f6f5;
    color: #D7B4A3;
    border: 1px solid #D7B4A3;
    width: 46px;
    height: 46px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zgadget-wishlist-btn:hover {
    background-color: #f0e9e6;
    color: #a97c6d;
    transform: translateY(-3px);
}

.zgadget-product-additional {
    margin-top: 3rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 0.5rem;
    margin-bottom: 3rem;
}

.zgadget-product-additional-tabs {
    display: flex;
    gap: 0.5rem;
    border-bottom: 1px solid #eee;
    padding: 0 1rem;
}

.zgadget-product-tab {
    padding: 1rem 1.8rem;
    cursor: pointer;
    background: transparent;
    border: none;
    font-weight: 600;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.zgadget-product-tab i {
    font-size: 1.1rem;
}

.zgadget-product-tab.active {
    color: #D7B4A3;
    border-bottom-color: #D7B4A3;
}

.zgadget-product-tab:hover:not(.active) {
    color: #a97c6d;
    background: rgba(215, 180, 163, 0.05);
}

.zgadget-product-tab-content {
    padding: 2rem;
    display: none;
}

.zgadget-product-tab-content.active {
    display: block;
}

/* Related Products Section */
.zgadget-related-products {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.zgadget-related-products-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #D7B4A3;
    display: inline-block;
    position: relative;
}

.zgadget-related-products-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #333;
}

.zgadget-related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.zgadget-related-product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.zgadget-related-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.zgadget-related-product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #f0f0f0;
}

.zgadget-related-product-info {
    padding: 1.2rem;
}

.zgadget-related-product-category {
    font-size: 0.8rem;
    color: #D7B4A3;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.zgadget-related-product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.7rem;
    line-height: 1.3;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box ;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.zgadget-related-product-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #D7B4A3;
    margin-top: 0.5rem;
}

.zgadget-related-product-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px dashed #eee;
}

.zgadget-related-product-view {
    font-size: 0.9rem;
    color: #555;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.zgadget-related-product-view:hover {
    color: #D7B4A3;
}

.zgadget-related-product-cart {
    width: 34px;
    height: 34px;
    background: none; /* Remove background */
    border-radius: 0;  /* Remove circular shape */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D7B4A3;
    transition: all 0.3s ease;
    border: none; /* Remove any border */
    box-shadow: none; /* Remove any shadow */
    padding: 0;
}

.zgadget-related-product-cart:hover {
    background: none; /* No background on hover */
    color: #a97c6d;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .zgadget-product-additional {
        min-width: 100%;
        flex-direction: column;
        padding: 1.5rem;
    }
    .zgadget-product-detail {
        flex-direction: column;
        padding: 1.2rem 0.5rem;
        gap: 1.2rem;
        box-shadow: none;
        border-radius: 0;
    }
    .zgadget-product-gallery {
        min-width: 0;
        width: 100%;
        margin-bottom: 1.2rem;
    }
    .zgadget-product-info {
        min-width: 0;
        width: 100%;
    }
    .zgadget-product-actions {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: stretch;
    }
    .zgadget-product-quantity {
        width: 100%;
        justify-content: space-between;
    }
    .zgadget-product-add-to-cart {
        width: 100%;
    }
    .zgadget-related-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    .zgadget-product-additional {
        margin-top: 2rem;
        margin-bottom: 2rem;
        padding: 0.5rem 0.5rem;
        border-radius: 0;
        box-shadow: none;
    }
    .zgadget-product-additional-tabs {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0;
        border-bottom: 1px solid #eee;
    }
    .zgadget-product-tab {
        width: 100%;
        text-align: left;
        padding: 0.75rem 1rem;
        font-size: 1rem;
        border-radius: 0;
    }
    .zgadget-product-tab-content {
        padding: 1rem 0.2rem;
        font-size: 0.98rem;
    }
}