/* -- LUXURY SPA PRODUCT PAGE DESIGN -- */
* {
    box-sizing: border-box;
}

:root {
    --accent-blue: #536ea1;
    --primary-text: #3d4449;
    --secondary-text: #7f888f;
    --light-text: #999999;
    --border-color: #e6ebef;
    --bg-light: #fcfcfd;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 15px rgba(0,0,0,0.04);
    --shadow-md: 0 5px 25px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 50px rgba(0,0,0,0.12);
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Product Gallery */
.spa-product-gallery {
    margin-bottom: 0;
    background: var(--bg-light);
}

.spa-main-image-container {
    position: relative;
    overflow: hidden;
    height: 70vh;
    min-height: 500px;
    background: #f5f5f5;
}

.spa-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.spa-thumbnail-container {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-light);
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.spa-thumbnail-container::-webkit-scrollbar {
    height: 6px;
}

.spa-thumbnail-container::-webkit-scrollbar-track {
    background: transparent;
}

.spa-thumbnail-container::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.spa-thumbnail {
    min-width: 120px;
    height: 80px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    flex-shrink: 0;
}

.spa-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.spa-thumbnail:hover img {
    transform: scale(1.05);
}

.spa-thumbnail.active {
    border-color: var(--accent-blue);
}

/* Product Info Container */
.spa-product-info-container {
    padding: 4rem 6%;
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.spa-product-details {
    padding-right: 2rem;
}

.spa-product-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-text);
    margin-bottom: 1rem;
    font-family: "Roboto Slab", serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.spa-product-subtitle {
    color: var(--secondary-text);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.spa-product-description {
    color: var(--secondary-text);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-size: 1rem;
}

/* Key Features */
.spa-key-features {
    margin-bottom: 3rem;
}

.spa-key-features h3 {
    font-size: 1.2rem;
    color: var(--primary-text);
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-family: "Roboto Slab", serif;
}

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

.spa-feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--secondary-text);
}

.spa-feature-list li::before {
    content: '✦';
    color: var(--accent-blue);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Purchase/Inquiry Section */
.spa-purchase-section {
    background: var(--bg-light);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}

.spa-inquiry-form .spa-form-group {
    margin-bottom: 1.5rem;
}

.spa-inquiry-form label {
    display: block;
    color: var(--primary-text);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.spa-inquiry-form input,
.spa-inquiry-form textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: 'Open Sans', sans-serif;
    border-radius: 0;
}

.spa-inquiry-form input:focus,
.spa-inquiry-form textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(83, 110, 161, 0.1);
}

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

/* Contact Toggle */
.spa-contact-toggle {
    margin-bottom: 1.5rem;
}

.spa-toggle-options {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.spa-toggle-option {
    flex: 1;
    position: relative;
}

.spa-toggle-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.spa-toggle-option label {
    display: block;
    padding: 0.8rem 1rem;
    border: 1px solid var(--border-color);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: none;
    margin-bottom: 0;
}

.spa-toggle-option input[type="radio"]:checked + label {
    background: var(--accent-blue);
    color: var(--bg-white);
    border-color: var(--accent-blue);
}

.spa-toggle-option input[type="radio"]:not(:checked) + label:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

/* Checkbox Group */
.spa-checkbox-group {
    margin-bottom: 1.5rem;
}

.spa-checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

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

.spa-checkbox-item label {
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: none;
    margin-bottom: 0;
    cursor: pointer;
}

.spa-inquiry-btn {
    width: 100%;
    padding: 1.2rem;
    background: transparent;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.spa-inquiry-btn:hover {
    background: var(--accent-blue);
    color: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.spa-inquiry-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.spa-contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.spa-contact-info h4 {
    font-size: 0.9rem;
    color: var(--primary-text);
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.spa-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.spa-contact-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 0.9rem;
}

/* Specifications */
.spa-specifications {
    padding: 4rem 6%;
    max-width: 1600px;
    margin: 0 auto;
}

.spa-specifications h2 {
    font-size: 2rem;
    color: var(--primary-text);
    margin-bottom: 3rem;
    font-weight: 400;
    font-family: "Roboto Slab", serif;
}

.spa-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.spa-spec-category {
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: var(--transition);
    background: var(--bg-white);
}

.spa-spec-category:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-sm);
}

.spa-spec-category h3 {
    font-size: 1.2rem;
    color: var(--primary-text);
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-family: "Roboto Slab", serif;
}

.spa-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.spa-spec-item:last-child {
    border-bottom: none;
}

.spa-spec-label {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.spa-spec-value {
    color: var(--primary-text);
    font-weight: 500;
    font-size: 0.9rem;
    text-align: right;
}

/* Reviews */
.spa-reviews-section {
    padding: 4rem 6%;
    max-width: 1600px;
    margin: 0 auto;
    background: var(--bg-light);
}

.spa-reviews-section h2 {
    font-size: 2rem;
    color: var(--primary-text);
    margin-bottom: 3rem;
    font-weight: 400;
    font-family: "Roboto Slab", serif;
}

.spa-review-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.spa-review-card:hover {
    border-color: var(--accent-blue);
    box-shadow: var(--shadow-sm);
}

.spa-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.spa-reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.spa-reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-weight: 600;
    font-size: 1.1rem;
}

.spa-reviewer-name {
    font-weight: 600;
    color: var(--primary-text);
}

.spa-review-date {
    color: var(--light-text);
    font-size: 0.85rem;
}

.spa-review-rating {
    color: var(--accent-blue);
    font-size: 1.2rem;
}

.spa-review-text {
    color: var(--secondary-text);
    line-height: 1.8;
}

/* Breadcrumb */
.spa-breadcrumb {
    padding: 1.5rem 6% 1rem;
    color: var(--secondary-text);
    font-size: 0.9rem;
    max-width: 1600px;
    margin: 0 auto;
}

.spa-breadcrumb a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.spa-breadcrumb a:hover {
    color: var(--primary-text);
}

/* Responsive */
@media (max-width: 1024px) {
    .spa-product-info-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .spa-purchase-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .spa-product-info-container,
    .spa-specifications,
    .spa-reviews-section,
    .spa-breadcrumb {
        padding-left: 4%;
        padding-right: 4%;
    }

    .spa-specs-grid {
        grid-template-columns: 1fr;
    }

    .spa-thumbnail {
        min-width: 80px;
        height: 60px;
    }

    .spa-toggle-options {
        flex-direction: column;
    }

    .spa-main-image-container {
        height: 50vh;
        min-height: 300px;
    }
}

/* Toast Notification */
.spa-toast {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    background: var(--primary-text);
    color: var(--bg-white);
    padding: 1.2rem 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(400px);
    transition: transform 0.4s ease;
    z-index: 2000;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-radius: 0;
}

.spa-toast.show {
    transform: translateX(0);
}
