/* Product Page Styles */

/* Header */
.gallery-header {
    background-color: #f4eae2;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.header-logo {
    height: 60px;
    width: auto;
}

.header-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.header-nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.header-nav a:hover {
    color: #d2a6a6;
}

/* Main Content */
.product-main {
    min-height: calc(100vh - 140px);
    padding: 40px 0;
}

/* Product Sections */
.product-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.product-name {
    font-size: 24px;
    color: #333;
    margin: 0;
    flex: 1;
}

.product-category {
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 16px;
}

.design-pattern-label,
.ready-to-wear-label {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.design-pattern-label {
    background: #e6f3ff;
    color: #0066cc;
}

.ready-to-wear-label {
    background: #e6ffe6;
    color: #006600;
}

.product-description {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin: 15px 0;
}

.service-info {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}

.custom-service-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #f9f9f9;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
}

.service-time,
.service-details {
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 6px;
}
.product-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Product Information Section */
.product-information-section {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: left;
}

/* Product Features Section - Same styling as description and info sections */
.product-features-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(210,166,166,0.08);
    padding: 28px 32px 24px 32px;
    margin-bottom: 35px;
    max-width: 700px;
    margin-top: 18px;
    margin-left: 0;
    color: #444;
    font-family: 'Arimo', Arial, sans-serif;
    border: 1px solid #f4eae2;
    text-align: left;
}

/* Product Care Section - Same styling as description and info sections */
.product-care-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(210,166,166,0.08);
    padding: 28px 32px 24px 32px;
    margin-bottom: 35px;
    max-width: 700px;
    margin-top: 18px;
    margin-left: 0;
    color: #444;
    font-family: 'Arimo', Arial, sans-serif;
    border: 1px solid #f4eae2;
    text-align: left;
}

/* Both description and product information sections will use the same heading style */
.desc-heading {
    font-size: 1.25rem;
    color: #2D3748;
    margin: 0 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E2E8F0;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.info-row {
    display: flex;
    align-items: baseline;
    padding: 0.5rem 0;
    border-bottom: 1px solid #EDF2F7;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    min-width: 140px;
    font-weight: 600;
    color: #4A5568;
    font-size: 0.95rem;
}

.info-value {
    color: #2D3748;
    font-size: 0.95rem;
    line-height: 1.5;
    flex: 1;
}

.product-features {
    background: #f9f6f4;
    padding: 1.5rem;
    border-radius: 8px;
}

/* Product Action Buttons */
.product-actions {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 0.5rem 1.5rem;
    border-bottom: 1px solid #eee;
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    margin: 0;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.btn:hover:before {
    left: 100%;
}

.btn-primary {
    background-color: #d2a6a6;
    color: white;
}

.btn-primary:hover {
    background-color: #c79494;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(210, 166, 166, 0.2);
}

.btn-secondary {
    background-color: #4caf50;
    color: white;
}

.btn-secondary:hover {
    background-color: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.2);
}

/* Add icons to buttons */
.btn-primary::before {
    content: '📞';
    margin-right: 8px;
    font-size: 1.1em;
}

.btn-secondary::before {
    content: '💬';
    margin-right: 8px;
    font-size: 1.1em;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #d2a6a6;
}

/* Visually Hidden Elements */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Product Content Styles */
.product-image-container {
    text-align: center;
    margin-bottom: 2rem;
    cursor: pointer;
}

.product-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.info-item {
    padding: 0.75rem;
    background: #fff;
    border-radius: 6px;
    border: 1px solid #eee;
}

.info-item strong {
    color: #2c2c2c;
    margin-right: 0.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.features-list li:before {
    content: "•";
    color: #d2a6a6;
    font-weight: bold;
    margin-right: 0.75rem;
}

.features-list li:last-child {
    border-bottom: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .product-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .product-description {
        font-size: 1rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-width: 95%;
    }

    .modal-close {
        top: -35px;
        right: 0;
    }

    .modal-zoom-controls {
        bottom: -40px;
    }
}

@media (max-width: 480px) {
    .product-section {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }

    .modal-zoom-controls {
        bottom: -35px;
        padding: 6px 12px;
    }

    .zoom-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}

/* Service Banner */
.breadcrumb {
    margin-bottom: 2rem;
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: #666;
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #d2a6a6;
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: #999;
}

.breadcrumb .current {
    color: #999;
}

.service-banner {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.service-banner h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

.service-banner p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.service-info {
    color: #d2a6a6;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 500;
}

.design-pattern-label, .ready-to-wear-label {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    color: #fff;
}

.design-pattern-label {
    background-color: #d2a6a6;
}

.ready-to-wear-label {
    background-color: #d2a6a6;
}

.pattern-notice {
    background-color: #f8f9fa;
    border: 1px solid #d2a6a6;
    color: #666;
    padding: 10px 15px;
    margin: 15px 0;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
}

/* Maintenance Banner */
.maintenance-banner {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.maintenance-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.maintenance-icon {
    font-size: 20px;
    margin-right: 10px;
}

.maintenance-message {
    flex-grow: 1;
    font-size: 15px;
    line-height: 1.4;
}

.maintenance-close {
    background: none;
    border: none;
    color: #856404;
    cursor: pointer;
    font-size: 18px;
    padding: 0 5px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.maintenance-close:hover {
    opacity: 1;
}

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

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumb a {
    color: #d2a6a6;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #999;
}

.breadcrumb .current {
    color: #333;
    font-weight: 500;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    font-size: 18px;
    color: #666;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Error State */
.error {
    text-align: center;
    padding: 60px 20px;
}

.error h2 {
    color: #d2a6a6;
    margin-bottom: 15px;
}

.error a {
    color: #d2a6a6;
    text-decoration: none;
}

.error a:hover {
    text-decoration: underline;
}

/* Product Detail Layout */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: flex-start;
}

/* Product Images */

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.main-image {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}


.main-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
    margin: 0 auto;
}

.thumbnail-images {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s;
    background: #fff;
}
.thumbnail:hover {
    border-color: #d2a6a6;
    transform: scale(1.05);
}
.thumbnail.active {
    border-color: #d2a6a6;
    box-shadow: 0 4px 12px rgba(210, 166, 166, 0.3);
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-price-large {
    font-size: 32px;
    font-weight: 700;
    color: #2D3748;
    margin-bottom: 20px;
    font-family: 'Arimo', Arial, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 16px 24px;
    border-radius: 12px;
    border: 2px solid #d2a6a6;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(210, 166, 166, 0.15);
    position: relative;
    transition: all 0.3s ease;
    max-width: 100%;
}

.product-price-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 166, 166, 0.25);
}

.product-price-large::before {
    content: "Price";
    position: absolute;
    top: -8px;
    left: 12px;
    background: #d2a6a6;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price-starting {
    font-size: 14px;
    color: #6B7280;
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #2D3748;
    line-height: 1.2;
}

.product-price-context {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 4px;
    font-style: italic;
}

.price-value-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(238, 90, 36, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.price-breakdown {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
    font-size: 12px;
    color: #6B7280;
}

.price-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.price-include-item {
    background: #f0f4f8;
    color: #2d3748;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 500;
}

.payment-options {
    margin-top: 15px;
    padding: 16px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 4px solid #d2a6a6;
}

.payment-options h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #2d3748;
    font-weight: 600;
}

.payment-methods {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.payment-method {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    color: #4a5568;
    font-weight: 500;
}

.contact-note {
    margin-top: 8px;
    font-size: 11px;
    color: #718096;
    font-style: italic;
}

.product-availability {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
}

.product-availability.in-stock {
    background-color: #e8f5e8;
    color: #2d5a2d;
}

.product-availability.out-of-stock {
    background-color: #ffe8e8;
    color: #8b2635;
}


/* Modernized Product Description Card */
.product-description-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(210,166,166,0.08);
    padding: 28px 32px 24px 32px;
    margin-bottom: 35px;
    max-width: 700px;
    margin-top: 18px;
    margin-left: 0;
    color: #444;
    font-family: 'Arimo', Arial, sans-serif;
    border: 1px solid #f4eae2;
    text-align: left;
}

.desc-heading {
    font-size: 22px;
    font-weight: 700;
    color: #d2a6a6;
    margin-bottom: 12px;
    letter-spacing: 0.01em;
}

.product-description-text {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    word-break: break-word;
    white-space: pre-line;
}

/* Product Details Sections */
.product-details {
    margin-bottom: 35px;
}

.detail-section {
    margin-bottom: 30px;
}

.detail-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

/* Feature and Care Lists - Updated styling for new sections */
.product-features-section .feature-list,
.product-care-section .care-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features-section .feature-list li,
.product-care-section .care-list li {
    padding: 12px 0;
    padding-left: 24px;
    position: relative;
    color: #555;
    line-height: 1.7;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.product-features-section .feature-list li:last-child,
.product-care-section .care-list li:last-child {
    border-bottom: none;
}

.product-features-section .feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d2a6a6;
    font-weight: bold;
    font-size: 16px;
}

.product-care-section .care-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d2a6a6;
    font-weight: bold;
    font-size: 18px;
}

.info-grid {
    display: grid;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-label {
    font-weight: 600;
    color: #333;
}

.info-value {
    color: #555;
    text-align: right;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    min-width: 150px;
}

.btn-primary {
    background-color: #d2a6a6;
    color: white;
}

.btn-primary:hover {
    background-color: #c09595;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(210, 166, 166, 0.3);
}

.btn-secondary {
    background-color: #25D366;
    color: white;
}

.btn-secondary:hover {
    background-color: #22C55E;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Product Navigation */
.product-navigation {
    display: flex;
    justify-content: space-between;
    margin: 60px 0;
    gap: 20px;
}

.nav-item {
    flex: 1;
    max-width: 300px;
}

.nav-item.next {
    text-align: right;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    gap: 15px;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.nav-arrow {
    font-size: 24px;
    color: #d2a6a6;
    font-weight: bold;
}

.nav-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
}

.nav-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

/* Related Products */
.related-products {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 2px solid #f0f0f0;
}

.related-products h2 {
    text-align: center;
    font-size: 28px;
    color: #333;
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

/* Styling for related product cards */
.related-products .product-card {
    max-width: 300px;
    margin: 0 auto;
}

.related-products .product-image {
    aspect-ratio: 4/5;
}

.related-products .product-info {
    padding: 20px;
}

.related-products .product-name {
    font-size: 20px;
    margin-bottom: 8px;
}

.related-products .product-description {
    font-size: 14px;
    margin-bottom: 12px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.related-products .product-price {
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2D3748;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    display: inline-block;
}

.related-products .product-category {
    font-size: 12px;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.product-card.clickable:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

/* Position labels inside the product image at top right */
.product-image .design-pattern-label,
.product-image .ready-to-wear-label {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
}

.product-image .design-pattern-label {
    background: rgba(230, 243, 255, 0.95);
    color: #0066cc;
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.product-image .ready-to-wear-label {
    background: rgba(230, 255, 230, 0.95);
    color: #006600;
    border: 1px solid rgba(0, 102, 0, 0.2);
}

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

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-details {
    color: white;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 8px;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    display: inline-block;
}

.product-category {
    font-size: 12px;
    text-transform: uppercase;
    color: #999;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .header-logo {
        height: 50px;
    }

    .header-nav {
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-title {
        font-size: 28px;
    }

    .product-price-large {
        font-size: 28px;
        padding: 14px 20px;
        margin-bottom: 16px;
    }
    
    .product-price-large::before {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .product-price-amount {
        font-size: 28px;
    }
    
    .price-value-badge {
        top: -10px;
        right: -10px;
        font-size: 10px;
        padding: 5px 8px;
    }

    .thumbnail-images {
        justify-content: flex-start;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .product-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .nav-item.next {
        text-align: left;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 600px;
    }

    .related-products .product-card {
        max-width: 300px;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .product-main {
        padding: 20px 0;
    }

    .product-title {
        font-size: 24px;
    }

    .product-price-large {
        font-size: 24px;
        padding: 12px 16px;
        margin-bottom: 14px;
    }
    
    .product-price-large::before {
        font-size: 10px;
        padding: 2px 5px;
    }
    
    .product-price-amount {
        font-size: 24px;
    }
    
    .price-value-badge {
        top: -8px;
        right: -8px;
        font-size: 9px;
        padding: 4px 6px;
    }
    
    .price-breakdown {
        margin-top: 6px;
        padding-top: 6px;
    }
    
    .price-include-item {
        font-size: 9px;
        padding: 1px 4px;
    }

    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .info-value {
        text-align: left;
    }

    .nav-link {
        padding: 15px;
        gap: 10px;
    }

    .nav-arrow {
        font-size: 20px;
    }

    .related-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .related-products .product-card {
        max-width: 300px;
    }

    /* Mobile styles for product labels */
    .product-image .design-pattern-label,
    .product-image .ready-to-wear-label {
        top: 8px;
        right: 8px;
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 12px;
    }
}
