/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 4px; /* 增加上下内边距来增加高度 */
}

.nav-logo img {
    height: 70px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-family: 'Modern Minimal', sans-serif;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #e74c3c;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
}

.nav-icons {
    display: flex;
    gap: 20px;
}

.nav-icon {
    font-size: 18px;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-icon:hover {
    color: #875fa5;
}

/* Search Overlay 放大镜搜索*/
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 0; /* collapsed by default */
    background: rgba(245, 246, 247, 0.96);
    backdrop-filter: blur(6px);
    z-index: 1200;
    overflow: hidden;
    transition: height 300ms ease;
}

.search-overlay.open {
    height: 33vh; /* one third of viewport height */
}

.search-overlay-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-input-large {
    width: 100%;
    height: 56px;
    padding: 0 64px 0 24px; /* leave space for icon */
    border: 1px solid #bdbdbd;
    border-radius: 2px;
    font-size: 20px;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

.search-submit {
    position: absolute;
    top: 50%;
    right: 56px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 22px;
    color: #222;
    cursor: pointer;
}

.search-close {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 28px;
    color: #222;
    cursor: pointer;
}/* 放大镜搜索 */

/* 搜索页面暗化遮罩，控制整体透明度效果 */
.page-dim {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms ease;
    z-index: 1100; /* behind search overlay (1200) */
}

.page-dim.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: calc(100vw * 2 / 7); /* 2/7 viewport width */
    max-width: 520px;
    min-width: 320px;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    transform: translateX(100%);
    transition: transform 300ms ease;
    z-index: 1300; /* above dim & search */
    display: flex;
    flex-direction: column;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.cart-drawer__header h2 {
    font-size: 28px;
    letter-spacing: 2px;
}

.cart-drawer__close {
    background: transparent;
    border: none;
    font-size: 28px;
    cursor: pointer;
}

.cart-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

/* Chat bubble */
.chat-bubble {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f4b7c1;
    color: #fff;
    border: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    cursor: pointer;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

/* Chat Drawer */
.chat-drawer {
    position: fixed;
    bottom: 0;
    right: 0;
    height: 700px;
    width: 380px;
    max-width: 90vw;
    background: #fff;
    box-shadow: -4px 0 24px rgba(0,0,0,0.12);
    transform: translateY(100%);
    transition: transform 300ms ease;
    z-index: 1350;
    display: flex;
    flex-direction: column;
}

.chat-drawer.open { transform: translateY(0); }

.chat-drawer__header {
    background: #e7a7b2;
    color: #fff;
    padding: 80px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-drawer__header h2 { font-size: 24px; }

.chat-drawer__close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

.chat-drawer__body { 
    padding: 40px; 
    display: flex;
    flex-direction: column;
}

.chat-drawer__body p {
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 16px 12px;
}
.chat-drawer__body p2 {
    font-size: 1.2rem;
    line-height: 3;
}
.chat-start-btn {
    margin-top: 50px;
    background: #111;
    color: #fff;
    border: none;
    padding: 16px 12px;
    border-radius: 6px;
    letter-spacing: 1px;
    font-weight: 700;
    cursor: pointer;
    align-self: center;
    font-size: 1.1rem;
    min-width: 200px;
}

.chat-reply-time { color: #666; margin-top: 8px; font-size: 0.8rem; }

/* Contact Section */
.contact-section {
    padding: 100px 0 80px 0;
    background: #fff;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #555;
}

.contact-item i {
    color: #e74c3c;
    font-size: 1.2rem;
    width: 20px;
}

.contact-form-container {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 6400;
    color: #2c3e50;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: linear-gradient(45deg, #e74c3c, #e74c3c);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 0.9rem;
    font-weight: 400;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.form-notice {
    font-size: 0.9rem;
    color: #7f8c8d;
    text-align: center;
    margin-top: 20px;
    line-height: 1.4;
}

/* Shipping Policy Section */
.shipping-section {
    padding: 150px 0;
    background: #fff;
}

.shipping-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    text-align: center;
    letter-spacing: 6px;
    color: #4a4a4a;
    margin-bottom: 60px;
}

.shipping-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.policy-section ul {
    list-style: none;
    padding: 0;
}

.policy-section li {
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.policy-section li::before {
    content: "•";
    color: #e74c3c;
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .shipping-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    
    .shipping-content {
        padding: 0 15px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 150px 0;
    background: #fff;
}

.faq-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    text-align: center;
    letter-spacing: 6px;
    color: #4a4a4a;
    margin-bottom: 60px;
}

.faq-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    margin-bottom: 40px;
}

.faq-item h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.faq-item p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.faq-item p strong {
    color: #2c3e50;
    font-weight: 600;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    
    .faq-content {
        padding: 0 15px;
    }
}

/* Privacy Policy Section */
.privacy-section {
    padding: 120px 0;
    background: #fff;
}

/* Terms of Service minimal containers */
.terms-section {
    padding: 120px 0;
    background: #fff;
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.terms-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-title {
    font-weight: 700;
    color: #111;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    text-align: center;
    letter-spacing: 6px;
    margin-bottom: 60px;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #111;
    margin-bottom: 20px;
    border-bottom: 2px solid #c27ba0;
    padding-bottom: 10px;
}

.policy-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin: 20px 0 10px 0;
}

.policy-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.policy-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.policy-section li {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 10px;
}

.policy-section li::before {
    content: "•";
    color: #c27ba0;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.policy-section a {
    color: #c27ba0;
    text-decoration: none;
}

.policy-section a:hover {
    text-decoration: underline;
}

.policy-section hr {
    border: none;
    height: 2px;
    background: #c27ba0;
    margin: 20px 0;
}

/* Reviews Section */
.reviews-section {
    padding: 150px 0;
    background: #fff;
}

.reviews-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    text-align: center;
    letter-spacing: 6px;
    color: #4a4a4a;
    margin-bottom: 40px;
}

.reviews-intro {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.featured-content {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.featured-image-container {
    width: 100%;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.featured-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.featured-image:hover {
    transform: scale(1.02);
}

.studio-intro {
    max-width: 800px;
    text-align: center;
}

.studio-intro p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .featured-content {
        margin-top: 80px;
    }
}

.reviews-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-summary {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating-display {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.stars {
    display: flex;
    gap: 3px;
}

.stars i {
    color: #f39c12;
    font-size: 1.2rem;
}

.review-count {
    color: #555;
    font-size: 1rem;
}

.write-review-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.write-review-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.review-item {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
}

.review-date {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 10px;
}

.review-stars i {
    color: #f39c12;
    font-size: 1rem;
}

.review-product {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.review-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.review-images {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.review-images img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .reviews-title {
        font-size: 2rem;
        letter-spacing: 4px;
    }
    
    .reviews-container {
        padding: 0 15px;
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .rating-display {
        flex-direction: column;
        gap: 10px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .review-images {
        justify-content: center;
    }
    
    .review-images img {
    width: 120px;
    height: 120px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0 30px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-section {
        padding: 30px 0 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
}

/* Product Detail Section */
.product-detail-section {
    padding-top: 120px;
    padding-bottom: 60px;
    padding-left: 0;
    padding-right: 0;
    background: #fff;
}

.product-header {
    margin-bottom: 40px;
    padding: 0 20px;
    text-align: center;
}

.product-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #2c3e50;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.product-price {
    font-size: 1.2rem;
    color: #e74c3c;
    font-weight: 500;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 60px;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 10px 0;
}

.product-image-section {
    position: sticky;
    top: 100px;
    align-self: start;
    margin-left: -40px;
    height: fit-content;
}

.product-image-container {
    position: relative;
    background: transparent;
    border-radius: 0px;
    padding: 0;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
}

.product-main-image {
    max-width: 100%;
    width: 100%;
    max-height: 850px;
    height: auto;
    object-fit: contain;
    border-radius: 0px;
    box-shadow: none;
}

.product-surroundings {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.markers-container {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.marker-row {
    display: flex;
    gap: 5px;
}

.marker {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.marker.red { background: #e74c3c; }
.marker.orange { background: #f39c12; }
.marker.yellow { background: #f1c40f; }
.marker.green { background: #27ae60; }
.marker.blue { background: #3498db; }
.marker.purple { background: #9b59b6; }
.marker.pink { background: #e91e63; }
.marker.brown { background: #8d6e63; }
.marker.gray { background: #95a5a6; }
.marker.black { background: #2c3e50; }

.plant-element {
    position: absolute;
    bottom: 20px;
    left: 20px;
}

.plant-pot {
    width: 20px;
    height: 25px;
    background: #8d6e63;
    border-radius: 3px;
}

.plant-leaves {
    width: 30px;
    height: 20px;
    background: #27ae60;
    border-radius: 50%;
    margin-top: -10px;
    margin-left: -5px;
}

.glass-sphere {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.product-info-section {
    padding: 0px 0;
}

.product-description {
    margin-bottom: 0px;
}

.product-description p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.product-description ul {
    margin-bottom: 20px;
}

.product-description li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.product-description h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #333;
}

.product-description-spanish {
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.product-description-spanish p {
    color: #777;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
    font-style: italic;
}

.product-options {
    margin-bottom: 30px;
}

.product-option-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 6px;
}

.product-select {
    width: 100%;
    padding: 18px 16px;
    border: 1px solid #c27ba0;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 20px;
    background: white;
    cursor: pointer;
    color: #c27ba0;
}

.packaging-gallery {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.packaging-gallery.hidden {
    display: none;
}

.pack-item {
    flex: 1;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 4px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    background: #fff;
}

.pack-item img {
    width: 100%;
    display: block;
    border-radius: 4px;
}

.pack-item.active {
    text-decoration: none;
    transform: translateY(-2px);
    position: relative;
    padding-bottom: 8px;
}

.pack-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 8px;
    right: 8px;
    height: 2px;
    background: #c27ba0;
    border-radius: 2px;
}

.packaging-info {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.packaging-info.hidden {
    display: none;
}

.packaging-info-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.packaging-info-price {
    color: #e74c3c;
}

.product-select:focus {
    outline: none;
    border-color: #c27ba0;
}

.product-select option {
    color: #333;
}

.add-to-cart-btn {
    background: #6c757d;
    color: white;
    border: none;
    padding: 16px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.add-to-cart-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.add-to-cart-btn:disabled {
    background: #6c757d;
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.add-to-cart-btn:disabled:hover {
    background: #6c757d;
    transform: none;
}

.add-to-cart-btn.enabled {
    background: #000;
    opacity: 1;
    cursor: pointer;
}

.add-to-cart-btn.enabled:hover {
    background: #333;
    transform: translateY(-2px);
}

.product-share {
    margin-top: 80px;
    text-align: center;
}

.product-share h3 {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 20px;
    letter-spacing: 1px;
    position: relative;
    padding: 0 80px;
}

.product-share h3::before,
.product-share h3::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 60px;
    height: 1px;
    background: #dee2e6;
}

.product-share h3::before {
    left: 0;
}

.product-share h3::after {
    right: 0;
}

.share-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #c27ba0;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    border: 1px solid #c27ba0;
}

.share-icon.twitter {
    color: #c27ba0;
    background: transparent;
    border: 1px solid #c27ba0;
}

.share-icon.facebook {
    color: #c27ba0;
    background: transparent;
    border: 1px solid #c27ba0;
}

.share-icon.pinterest {
    color: #c27ba0;
    background: transparent;
    border: 1px solid #c27ba0;
}

.share-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-thumbs {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 0 4px;
}

.product-thumb {
    height: 120px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    display: block;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.product-thumb.active {
    border: none;
    box-shadow: none;
    border-bottom: 3px solid #c27ba0;
}

.product-thumb:hover {
    opacity: 0.8;
}

.product-thumbs-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
}

.thumb-arrow {
    border: none;
    background: transparent;
    color: #c27ba0;
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    flex-shrink: 0;
    min-width: 32px;
}

.thumb-arrow:hover {
    color: #a45b8a;
}

@media (max-width: 768px) {
    .product-detail-section {
        padding-top: 100px;
        padding-bottom: 40px;
        padding-left: 0;
        padding-right: 0;
    }
    
    .product-header {
        padding: 0 15px;
        margin-bottom: 30px;
    }
    
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
        max-width: 100%;
    }
    
    .product-image-section {
        margin-left: 0;
        width: 100%;
        position: static;
    }
    
    .product-image-container {
        padding: 0;
        min-height: 250px;
        background: transparent;
        width: 100%;
    }
    
    .product-main-image {
        max-width: 100%;
        width: 100%;
        max-height: 320px;
        box-shadow: none;
    }
    .product-thumb {
        height: 100px;
        width: auto;
        flex-shrink: 0;
    }
    
    .product-info-section {
        width: 100%;
        padding: 0;
    }
    
    .product-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .product-price {
        font-size: 1.1rem;
        margin-top: 10px;
    }
}

/* Product Reviews Section */
.product-reviews-section {
    padding: 0px 0;
    background: #fff;
}

.product-reviews-section .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-header {
    text-align: center;
    margin-bottom: 30px;
}

.reviews-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #f8b5b5;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.rating-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
}

.reviews-summary .stars {
    display: flex;
    gap: 3px;
}

.reviews-summary .stars i {
    color: #f8b5b5;
    font-size: 1.2rem;
}

.review-count {
    color: #666;
    font-size: 1rem;
}

.reviews-summary .fas.fa-chevron-down {
    color: #666;
    font-size: 0.8rem;
}

.reviews-info-bar {
    background: #f5f5f5;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.9rem;
}

.reviews-info-bar i {
    color: #999;
}

.reviews-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.showing-reviews {
    color: #666;
    font-size: 0.9rem;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
}

.sort-dropdown i {
    font-size: 0.8rem;
}

.product-reviews-section .reviews-list {
    padding: 0 20px;
}

.product-reviews-section .review-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.reviewer-info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #a8e6cf;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.reviewer-details {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1rem;
}

.reviewer-location {
    color: #666;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.reviewer-location i {
    color: #2c3e50;
    font-size: 0.8rem;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-date {
    color: #666;
    font-size: 0.85rem;
}

.product-reviews-section .review-stars {
    display: flex;
    gap: 3px;
}

.product-reviews-section .review-stars i {
    color: #f8b5b5;
    font-size: 1rem;
}

.review-product {
    font-weight: 600;
    color: #f8b5b5;
    margin-bottom: 15px;
    font-size: 1rem;
}

.product-reviews-section .review-text {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.product-reviews-section .review-images {
    display: flex;
    gap: 15px;
}

.product-reviews-section .review-images img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-reviews-section .review-images img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .product-reviews-section .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .reviews-header {
        margin-bottom: 25px;
    }
    
    .reviews-title {
        font-size: 1.6rem;
    }
    
    .reviews-controls {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .reviewer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .review-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .product-reviews-section .review-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .product-reviews-section .review-images {
        justify-content: center;
    }
    
    .product-reviews-section .review-images img {
        width: 60px;
        height: 60px;
    }
}

.cart-item__title {
    font-size: 18px;
    font-weight: 500;
    color: #111;
}

.cart-item__price {
    font-weight: 600;
}

.cart-item__size,
.cart-item__packaging {
    font-size: 0.85rem;
    color: #666;
    margin: 2px 0;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.qty-control button {
    width: 36px;
    height: 36px;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.qty-control span {
    width: 40px;
    text-align: center;
}

.cart-drawer__footer {
    border-top: 1px solid #eee;
    padding: 16px 24px 24px;
}

.cart-drawer__subtotal {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    letter-spacing: 4px;
}

.cart-drawer__note {
    color: #444;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.cart-drawer__checkout {
    width: 100%;
    background: #111;
    color: #fff;
    border: none;
    padding: 16px;
    border-radius: 6px;
    letter-spacing: 4px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 768px) {
    .cart-drawer { width: 90vw; }
}/* Cart Drawer */

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
    background-image: url('../img/home1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-text {
    padding: 40px;
}

.hero-title {
    font-family: 'Modern Minimal', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, #f9bbb4, #f6ada5, #f6ada5);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-subtitle {
    font-family: 'Montserrat', serif;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 30px;
    font-weight: 500;
}

.buy-now-btn {
    background: transparent;
    color: #f6ada5;
    border: 2px solid #f6ada5;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2);
}

.buy-now-btn:hover {
    background: #f6ada5;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
}

/* Selling Points Section */
.selling-points-section {
    padding: 60px 0 30px;
    background: #fff;
}

.selling-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.selling-point-item {
    text-align: center;
    padding: 30px 20px;
}

.selling-point-icon {
    font-size: 2.5rem;
    color: #c27ba0;
    margin-bottom: 20px;
}

.selling-point-icon i {
    display: inline-block;
    transition: transform 0.3s ease;
}

.selling-point-item:hover .selling-point-icon i {
    transform: scale(1.1);
}

.selling-point-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.selling-point-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.selling-point-image {
    margin-top: 20px;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.selling-point-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

@media (max-width: 992px) {
    .selling-points-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .selling-point-item {
        padding: 25px 15px;
    }
    
    .selling-point-icon {
        font-size: 2.2rem;
        margin-bottom: 18px;
    }
    
    .selling-point-title {
        font-size: 1.1rem;
    }
    
    .selling-point-description {
        font-size: 0.9rem;
    }
    
    .selling-point-image {
        max-width: 280px;
        margin-top: 18px;
    }
}

@media (max-width: 600px) {
    .selling-points-section {
        padding: 50px 0;
    }
    
    .selling-points-grid {
        gap: 25px;
    }
    
    .selling-point-item {
        padding: 20px 10px;
    }
    
    .selling-point-icon {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .selling-point-title {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .selling-point-description {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .selling-point-image {
        max-width: 250px;
        margin-top: 15px;
    }
}

/* Featured Section */
.featured-section {
    padding: 30px 0 40px;
    background: #fff;
}

.featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    text-align: center;
    letter-spacing: 6px;
    color: #4a4a4a;
}

.featured-subtitle {
    text-align: center;
    color: #777;
    font-size: 1rem;
    margin: 50px 0 5px;
    letter-spacing: 2px;
    font-weight: 500;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.2s;
}

.featured-description-main {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.4;
    max-width: 1200px;
    margin: 0 auto 15px;
    color: #333;
    padding: 0 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.4s;
}

.featured-description {
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 800px;
    font-weight: 500;
    margin: 0 auto 40px;
    color: #666;
    padding: 0 20px;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards 0.6s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.featured-card {
    background: #fff;
    text-decoration: none;
    color: inherit;
}

.featured-card img {
    width: 100%;
    height: 380px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    /* Wood frame using border-image
    border: 26px solid transparent;
    padding: 6px; /* inner space between artwork and frame 
    border-image-source: url('../img/frame-wood.jpg');  put the provided wood frame image at this path 
    border-image-slice: 120 fill; /* adjust if corners/edges look stretched 
    border-image-width: 26px;
    border-image-repeat: stretch; */
}

.featured-card-info {
    text-align: center;
    padding: 14px 6px 6px;
}

.featured-card-info h3 {
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 6px;
     transition: color 0.3s ease;
}

.featured-card-info h3:hover {
    color: #c27ba0;
}

.featured-card-info .price {
    color: #c27ba0;
}

@media (max-width: 992px) {
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-card img { height: 300px; }
}

@media (max-width: 600px) {
    .featured-grid { grid-template-columns: 1fr; }
    .featured-card img { height: 260px; }
}

/* Pet Gallery Section */
.pet-gallery-section {
    padding: 80px 0;
    background: #faf9f8;
}

.pet-gallery-header {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 48px auto;
}

.pet-gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    letter-spacing: 4px;
    color: #3a3a3a;
    margin-bottom: 16px;
}

.pet-gallery-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

.pet-gallery-grid {
    column-count: 3;
    column-gap: 20px;
}

.pet-gallery-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 20px 0;
    position: relative;
    overflow: hidden;
}

.pet-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.pet-gallery-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 16px 20px 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
}

.pet-gallery-item:hover .pet-gallery-caption,
.pet-gallery-item:focus-within .pet-gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.pet-gallery-caption .caption-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pet-gallery-caption .caption-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
    letter-spacing: 0.3px;
}

@media (max-width: 992px) {
    .pet-gallery-section { padding: 60px 0; }
    .pet-gallery-title { font-size: 2rem; }
    .pet-gallery-grid { column-count: 2; column-gap: 18px; }
}

@media (max-width: 600px) {
    .pet-gallery-header {
        margin-bottom: 36px;
    }

    .pet-gallery-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .pet-gallery-description {
        font-size: 0.95rem;
    }

    .pet-gallery-grid { column-count: 1; column-gap: 16px; }
}

/* Products Section */
.products-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.page-title {
    padding: 40px 0px 20px 0px;
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    text-align: center;
    letter-spacing: 6px;
    color: #4a4a4a;
}

/* Products showcase (reference layout) */
.products-showcase {
    padding: 80px 30px 40px 30px;
    background: #fff;
}

.products-categories {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 12px 0 28px;
    color: #d9a8ba;
}

.products-categories li { position: relative; }
.products-categories li + li::before {
    content: '/';
    margin: 0 8px 0 2px;
    color: #e6c7d4;
}

.products-categories a {
    color: #d89bb4;
    text-decoration: none;
}
.products-categories a:hover { text-decoration: underline; }

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.search-bar {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 25px;
    padding: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-input {
    border: none;
    outline: none;
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 25px;
    width: 300px;
}

.search-btn {
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 50%;
    cursor: pointer;
    margin-left: 5px;
}

.category-filter {
    display: flex;
    gap: 10px;
}

.filter-btn {
    background: white;
    border: 2px solid #e9ecef;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    color: white;
    border-color: transparent;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.product-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-title {

    font-size: 2rem;
    color: #e67e22;
    margin: 15px 0 5px;
    font-weight: 600;
}

.product-price {
    color: #7f8c8d;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* About Section */
.about-section {
    padding: 80px 0 40px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-gallery {
    display: grid;
    grid-template-columns: 1fr; /* single column, top-to-bottom */
    gap: 20px;
    justify-items: center; /* center images when reduced size */
    width: 70%;
    max-width: 900px; /* shrink overall gallery width */
    margin: -300px auto 0 auto; /* move up by 50px and center within column */
}

.gallery-item {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item {
    width: 70%; /* shrink each item container a bit more */
}

.gallery-item img {
    width: 100%;
    max-width: 100%;
    height: auto; /* keep original aspect ratio */
    object-fit: contain;
    display: block;
}

/* Hide text overlay inside gallery items */
.gallery-overlay { display: none; }

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 500;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 30px;
}

/* Adjust vertical position of about text */
.about-text {
    margin-top: 100px;
    margin-bottom: 200px;
}

.about-text p {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #ecf0f1;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #e74c3c;
    margin-bottom: 5px;
}

.stat-item p {
    color: #7f8c8d;
    font-weight: 500;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 50px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 20px;
}

.footer-left {
    flex: 1;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #e74c3c;
}

.footer-right {
    flex: 2;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-row {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-row a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-row a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .products-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-input {
        width: 100%;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-gallery {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-row {
        justify-content: center;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .chat-drawer { 
        width: 100vw; 
        height: 100vh;
        bottom: 0;
        top: auto;
    }
}

/* Image Viewer Modal */
.image-viewer-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-viewer-modal.active {
    display: flex;
    opacity: 1;
}

.image-viewer-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-viewer-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.image-viewer-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 10001;
}

.image-viewer-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
}

.image-viewer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
    z-index: 10001;
}

.image-viewer-nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.image-viewer-nav.prev {
    left: 30px;
}

.image-viewer-nav.next {
    right: 30px;
}

.image-viewer-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    z-index: 10001;
}

@media (max-width: 768px) {
    .image-viewer-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .image-viewer-nav.prev {
        left: 15px;
    }
    
    .image-viewer-nav.next {
        right: 15px;
    }
    
    .image-viewer-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .image-viewer-counter {
        bottom: 20px;
        font-size: 14px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-row {
        flex-direction: column;
        gap: 10px;
    }
}

/* Product Options Refined Styles */
.option-group {
    margin-bottom: 14px;
}

.option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.option-label {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.guide-link {
    font-size: 0.9rem;
    color: #555;
    text-decoration: underline;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.guide-link:hover {
    color: #000;
}

.product-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s;
}

.product-select:focus {
    border-color: #333;
}

.option-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Frame Series Styles */
.frame-series {
    margin-bottom: 12px;
}

.series-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #444;
    border-bottom: 1px solid #eee;
    padding-bottom: 3px;
}

.frame-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.frame-option {
    width: 90px;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s;
    padding-bottom: 5px;
}

.frame-option:hover {
    transform: translateY(-2px);
}

.frame-img, .frame-color-box {
    width: 70px;
    height: 70px;
    border-radius: 6px;
    margin: 0 auto 6px;
    border: 2px solid transparent;
    display: block;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    object-fit: cover;
}

.frame-color-box {
    border: 1px solid #eee;
}

.frame-option.selected .frame-img,
.frame-option.selected .frame-color-box {
    border-color: #c27ba0;
    box-shadow: 0 0 0 2px #c27ba0;
}

.frame-name {
    display: block;
    font-size: 0.8rem;
    color: #333;
    line-height: 1.2;
    margin-bottom: 2px;
    word-wrap: break-word;
}

.frame-price-text {
    font-size: 0.75rem;
    color: #27ae60;
    font-weight: 600;
}

/* Hide per-option price text; we now show price at the series level */
.frame-option .frame-price-text {
    display: none;
}

/* Series-level price shown inline to the right of the title */
.series-title .frame-price-text.series-price {
    display: inline-block;
    margin-left: 8px;
    font-size: 0.8rem;
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 10002; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.5); 
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: none;
    width: auto;
    max-width: 90%;
    max-height: 90vh;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
}

.modal-content img {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    height: auto;
}

.close-modal {
    color: #333;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    background: rgba(255,255,255,0.8);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.close-modal:hover {
    background: rgba(255,255,255,1);
}
