/* Shared content page layout */
.content-page {
    background: #ffffff;
    padding: 2.5rem 0 4rem;
}

.content-page .container {
    max-width: 900px;
}

.catalogue-page .container,
.contact-page .container {
    max-width: 1200px;
}

.page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-header h1,
.content-page h1 {
    font-size: var(--heading-1);
    text-align: center;
    margin: 0 0 0.5rem;
    letter-spacing: 0.02em;
    font-weight: 700;
}

.page-header .page-intro,
.content-page .page-intro,
.content-page .section-subtitle {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 1rem;
    color: var(--text-muted);
    font-size: var(--font-size-intro);
    line-height: 1.65;
}

.page-meta,
.catalogue-count {
    text-align: center;
    margin: 0;
    font-size: var(--font-size-sm);
    font-weight: 500;
    letter-spacing: var(--label-spacing);
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
}

/* About page */
.about-page .container {
    max-width: 960px;
}

.about-page .page-header {
    margin-bottom: 2.5rem;
}

.about-page .about-story {
    padding: 2.5rem 2.75rem;
    margin-bottom: 2rem;
}

.about-page .about-story h2 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 0 1.25rem;
    letter-spacing: 0.02em;
}

.about-page .about-story-body {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, 0.82);
}

.about-page .about-story-body p {
    margin-bottom: 1.25rem;
}

.about-page .about-story-body p:last-child {
    margin-bottom: 0;
}

.about-page .about-founder {
    position: relative;
    padding: 2.75rem 2.75rem 2.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    overflow: hidden;
}

.about-page .about-founder::before {
    content: '\201C';
    position: absolute;
    top: 0.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    line-height: 1;
    color: rgba(0, 0, 0, 0.35);
    font-family: Georgia, 'Times New Roman', serif;
    pointer-events: none;
}

.about-page .about-founder-quote {
    margin: 0;
    padding: 0;
    border: none;
}

.about-page .about-founder-quote p {
    font-size: 1.15rem;
    line-height: 1.85;
    font-style: italic;
    color: rgba(0, 0, 0, 0.78);
    max-width: 640px;
    margin: 0 auto;
}

.about-page .about-founder-meta {
    margin-top: 1.75rem;
}

.about-page .about-founder-name {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.65);
}

.about-page .about-founder-name::before,
.about-page .about-founder-name::after {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 1px;
    background: rgba(0, 0, 0, 0.7);
    vertical-align: middle;
    margin: 0 0.75rem;
}

.about-page .about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.about-page .about-value {
    padding: 1.75rem 1.5rem;
    text-align: center;
}

.about-page .about-value h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    letter-spacing: 0.01em;
}

.about-page .about-value p {
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
    color: rgba(0, 0, 0, 0.75);
}

.about-page .about-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

@media (max-width: 767px) {
    .about-page .about-story,
    .about-page .about-founder {
        padding: 1.75rem 1.5rem;
    }

    .about-page .about-founder::before {
        font-size: 3.5rem;
        top: 0.25rem;
    }

    .about-page .about-founder-quote p {
        font-size: 1.05rem;
    }

    .about-page .about-values {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-page .about-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .about-page .about-cta .btn {
        width: 100%;
        text-align: center;
    }
}

.footer-contact-item {
    margin: 0.5rem 0 0;
}
.footer-contact-item a {
    color: inherit;
    text-decoration: none;
}
.footer-contact-item a:hover {
    text-decoration: underline;
}

/* FAQ */
.faq-accordion {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 0.75rem;
}

.faq-item.glass-card {
    padding: 0;
    overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
    .faq-item.glass-card:hover {
        box-shadow: var(--shadow-sm), var(--shadow-md);
    }
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-dark);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.faq-answer {
    padding: 0 1.25rem 1.25rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-icon {
    position: relative;
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    opacity: 0.6;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    border-radius: 1px;
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
    transition: opacity 0.2s ease;
}

.faq-item.is-open .faq-icon::after {
    opacity: 0;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.alert {
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.alert-success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
    color: var(--text-dark);
}

.alert-error {
    background: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
    color: var(--text-dark);
}

/* Responsive: 767px (same breakpoint as main mobile block) */
@media (max-width: 767px) {
    .product-detail-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .contact-item {
        margin-bottom: 1.5rem;
    }
    
    .footer-map iframe {
        height: 250px;
    }
}

/* Contact page */
.contact-page .contact-grid {
    margin-top: 0;
    align-items: stretch;
    gap: 1.5rem;
}

.contact-page .contact-info,
.contact-page .contact-form-container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-page .contact-info h2,
.contact-page .contact-form-container h2 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.contact-page .contact-info > p {
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
}

.contact-page .alert {
    margin-bottom: 2rem;
}

/* Appointment recommendation */
.appointment-recommendation {
    font-size: 0.95rem;
    line-height: 1.65;
    color: rgba(0, 0, 0, 0.78);
}

.appointment-recommendation p {
    margin: 0;
}

.appointment-recommendation--center {
    text-align: center;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.appointment-recommendation--card {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.appointment-recommendation--hero {
    text-align: center;
    max-width: 480px;
    margin: 2.25rem auto 0;
    padding: 0.7rem 1.35rem;
    border-radius: 999px;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
}

.appointment-recommendation--hero p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
}

.appointment-recommendation--hero strong {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.78);
}

.appointment-recommendation-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.84rem;
    color: rgba(0, 0, 0, 0.82);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.65);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.appointment-recommendation-link:hover {
    color: rgba(0, 0, 0, 0.95);
    border-bottom-color: rgba(0, 0, 0, 0.95);
}

@media (max-width: 767px) {
    .appointment-recommendation--hero {
        max-width: 100%;
        margin-top: 1.75rem;
        padding: 0.75rem 1rem;
        border-radius: 16px;
        font-size: 0.82rem;
    }

    .appointment-recommendation--hero p {
        flex-direction: column;
        gap: 0.25rem;
    }
}

.appointment-recommendation--compact {
    font-size: 0.9rem;
    margin-top: 0.85rem;
}

.booking-page .appointment-recommendation--center {
    margin-top: -1.25rem;
    margin-bottom: 0.5rem;
}

.about-page .appointment-recommendation--center {
    margin-bottom: 1.5rem;
}

.product-actions + .appointment-recommendation--compact {
    margin-top: 1rem;
}

.size-guide-note .appointment-recommendation--compact {
    margin-bottom: 1rem;
}

/* Booking page */

.booking-page .booking-embed {
    margin-top: 1.5rem;
    padding: 1rem;
    overflow: hidden;
}

.booking-page .booking-embed iframe {
    border: 0;
    width: 100%;
    height: clamp(520px, 72vh, 780px);
    border-radius: var(--radius-md);
    display: block;
}

/* Product detail page */
.product-detail {
    padding: 2rem 0 4rem;
}

.breadcrumbs {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

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

.product-detail .product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.related-products {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-subtle);
}

.related-products h2 {
    margin-bottom: 1.75rem;
}

/* Catalogue page */
.catalogue-page {
    background: #ffffff;
}

.catalogue-page .catalogue-filters {
    margin: 0 0 2.5rem;
    padding: 1.35rem 1.5rem 1.5rem;
}

.catalogue-filters-label {
    margin: 0 0 1rem;
    font-size: var(--label-size);
    font-weight: 600;
    letter-spacing: var(--label-spacing);
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
}

.catalogue-page .filter-group label {
    font-size: var(--label-size);
    letter-spacing: var(--label-spacing);
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.65);
}

.catalogue-page .filter-group input[type="text"],
.catalogue-page .filter-group select {
    padding: 11px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    background: var(--surface-muted);
    box-shadow: none;
}

.catalogue-page .filter-group input[type="text"]:focus,
.catalogue-page .filter-group select:focus {
    background: var(--surface);
    border-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}

.catalogue-page .products-grid {
    gap: 1.75rem;
    margin-top: 0.5rem;
}

.catalogue-page .product-card.glass-card {
    padding: 0.85rem;
}

.catalogue-page .product-card-img-wrap {
    height: 320px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}

.catalogue-page .product-card img,
.catalogue-page .product-placeholder {
    min-height: 320px;
    border-radius: var(--radius-md);
}

.catalogue-page .product-info {
    position: relative;
    z-index: 1;
    padding: 1rem 0.35rem 0.25rem;
}

.catalogue-page .product-info h3 {
    margin-top: 0;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
}

.catalogue-page .no-results {
    padding: 2.5rem 1.5rem;
}

@media (max-width: 767px) {
    .catalogue-page .catalogue-filters {
        padding: 1.15rem 1.1rem 1.25rem;
    }

    .catalogue-page .product-card-img-wrap,
    .catalogue-page .product-card img,
    .catalogue-page .product-placeholder {
        height: 280px;
        min-height: 280px;
    }
}

/* Size guide page */
.size-guide-page .size-guide-content {
    margin-top: 0;
}

/* Legal Pages */
.legal-page .legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
}

@media (max-width: 767px) {
    .legal-content {
        padding: 1.5rem 1rem;
    }
    
    .legal-content h2 {
        font-size: 1.25rem;
    }
}

.legal-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    text-align: left;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-content a {
    color: var(--text-dark);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--text-dark);
}

.last-updated {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    font-style: italic;
    color: var(--text-light);
    text-align: center;
}

/* Cookie consent – compact card above footer elements, smooth slide-in */
.cookie-consent {
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translate(-50%, 120%);
    width: calc(100% - 2rem);
    max-width: 640px;
    z-index: 9998;
    padding: 1rem 1.25rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(245, 245, 245, 0.96));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.4s ease,
                visibility 0s linear 0.5s;
}

.cookie-consent.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.4s ease 0.08s,
                visibility 0s;
}

.cookie-consent.is-hidden {
    transform: translate(-50%, 120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.3s ease,
                visibility 0s linear 0.4s;
}

.cookie-consent-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-dark);
    flex: 1;
    min-width: 0;
}

.cookie-consent-text a {
    color: var(--primary-pink);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent-text a:hover {
    color: var(--gradient-end);
}

.cookie-consent-btn {
    flex-shrink: 0;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    color: #ffffff;
    background: #111111;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.cookie-consent-btn:hover {
    transform: scale(1.02);
    background: #000000;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.cookie-consent-btn:active {
    transform: scale(0.98);
}

