/* =========================================================================
   TEMPLESPA LUXURY BLOCKS STYLES
   ========================================================================= */

:root {
    --ts-teal: #225055;
    --ts-teal-dark: #163b3f;
    --ts-teal-light: #2c6369;
    --ts-black: #111111;
    --ts-charcoal: #252525;
    --ts-gray-light: #f6f6f6;
    --ts-gold: #c5a880;
    --ts-gold-dark: #a9875a;
    --ts-font-serif: 'Playfair Display', 'Cormorant Garamond', 'Georgia', serif;
    --ts-font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.templespa-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Button Base */
.templespa-btn {
    display: inline-block;
    font-family: var(--ts-font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    padding: 12px 28px;
    border-radius: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.templespa-btn-primary {
    background-color: var(--ts-black);
    color: #ffffff !important;
    border: 1px solid var(--ts-black);
}
.templespa-btn-primary:hover {
    background-color: var(--ts-teal);
    border-color: var(--ts-teal);
    color: #ffffff !important;
}

.templespa-btn-dark {
    background-color: var(--ts-black);
    color: #ffffff !important;
    border: 1px solid var(--ts-black);
    padding: 10px 24px;
}
.templespa-btn-dark:hover {
    background-color: var(--ts-teal);
    border-color: var(--ts-teal);
}

.templespa-btn-teal {
    background-color: var(--ts-teal);
    color: #ffffff !important;
    border: 1px solid var(--ts-teal);
    width: 100%;
    padding: 11px 16px;
    font-size: 11px;
    letter-spacing: 0.15em;
    display: block;
}
.templespa-btn-teal:hover {
    background-color: var(--ts-teal-dark);
    border-color: var(--ts-teal-dark);
}

.templespa-section-heading {
    font-family: var(--ts-font-serif);
    font-weight: 400;
    font-size: 32px;
    text-align: center;
    color: var(--ts-charcoal);
    margin: 0 0 35px 0;
    letter-spacing: 0.02em;
}

/* =========================================================================
   1. HERO BANNER
   ========================================================================= */
.templespa-hero {
    position: relative;
    background: linear-gradient(135deg, #e8eff0 0%, #f4eae1 100%);
    overflow: hidden;
    margin-bottom: 0;
}
.templespa-hero-inner {
    max-width: 1360px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 520px;
    padding: 40px 40px;
    position: relative;
}
.templespa-hero-content {
    max-width: 480px;
    z-index: 2;
}
.templespa-hero-title {
    font-family: var(--ts-font-serif);
    font-size: 46px;
    line-height: 1.15;
    font-weight: 400;
    color: var(--ts-charcoal);
    margin: 0 0 16px 0;
}
.templespa-hero-desc {
    font-family: var(--ts-font-sans);
    font-size: 14px;
    line-height: 1.6;
    color: #555555;
    margin: 0 0 28px 0;
}
.templespa-hero-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    height: 100%;
}
.templespa-hero-model {
    width: 520px;
    height: 480px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.templespa-hero-product-wrap {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 12px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}
.templespa-hero-product {
    width: 130px;
    height: 150px;
    object-fit: contain;
    display: block;
}
.templespa-hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 15px 0;
    background: transparent;
}
.templespa-hero-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bbb;
    cursor: pointer;
}
.templespa-hero-dots .dot.active {
    background: var(--ts-teal);
    width: 24px;
    border-radius: 4px;
}

/* =========================================================================
   2. TRUST BADGES
   ========================================================================= */
.templespa-trust-bar {
    background-color: #ffffff;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    padding: 18px 0;
}
.templespa-trust-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.templespa-trust-title {
    font-family: var(--ts-font-serif);
    font-size: 20px;
    letter-spacing: 0.12em;
    color: var(--ts-charcoal);
    font-weight: 500;
}
.templespa-trust-items {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.templespa-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.templespa-trust-icon {
    font-size: 16px;
}
.templespa-trust-label {
    font-family: var(--ts-font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #444444;
}

/* =========================================================================
   3. PROMO DUO
   ========================================================================= */
.templespa-promo-duo {
    padding: 50px 0;
    background-color: #ffffff;
}
.templespa-promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.templespa-promo-card {
    text-align: center;
    background-color: #ffffff;
}
.templespa-promo-img-wrap {
    overflow: hidden;
    margin-bottom: 20px;
    height: 380px;
}
.templespa-promo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.templespa-promo-card:hover .templespa-promo-img-wrap img {
    transform: scale(1.04);
}
.templespa-promo-title {
    font-family: var(--ts-font-serif);
    font-size: 26px;
    font-weight: 400;
    color: var(--ts-charcoal);
    margin: 0 0 10px 0;
}
.templespa-promo-desc {
    font-family: var(--ts-font-sans);
    font-size: 13px;
    line-height: 1.6;
    color: #666666;
    max-width: 440px;
    margin: 0 auto 20px auto;
}

/* =========================================================================
   4. PRODUCT CAROUSEL / GRID
   ========================================================================= */
.templespa-products-section {
    padding: 60px 0;
    background-color: #ffffff;
}
.templespa-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.templespa-product-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    padding: 16px;
    transition: box-shadow 0.3s ease;
    position: relative;
}
.templespa-product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.templespa-product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    min-height: 22px;
}
.templespa-product-stars {
    color: #2b7a78;
    font-size: 13px;
}
.templespa-product-stars small {
    color: #777;
    margin-left: 3px;
    font-family: var(--ts-font-sans);
}
.templespa-product-badge {
    background-color: #eaf1f1;
    color: var(--ts-teal);
    font-family: var(--ts-font-sans);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 7px;
    text-transform: uppercase;
}
.templespa-product-thumb {
    display: block;
    height: 220px;
    overflow: hidden;
    margin-bottom: 16px;
    text-align: center;
}
.templespa-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.templespa-product-card:hover .templespa-product-thumb img {
    transform: scale(1.05);
}
.templespa-product-name {
    font-family: var(--ts-font-serif);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0 0 8px 0;
    min-height: 44px;
}
.templespa-product-name a {
    color: var(--ts-charcoal);
    text-decoration: none;
    transition: color 0.2s;
}
.templespa-product-name a:hover {
    color: var(--ts-teal);
}
.templespa-product-meta {
    font-family: var(--ts-font-sans);
    font-size: 11px;
    color: #888888;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 32px;
}
.templespa-product-price {
    font-family: var(--ts-font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--ts-charcoal);
    margin-bottom: 16px;
}
.templespa-product-price del {
    color: #999;
    font-weight: 400;
    margin-right: 6px;
}
.templespa-product-price ins {
    text-decoration: none;
    color: var(--ts-teal);
}
.templespa-product-action {
    margin-top: auto;
}

/* =========================================================================
   5. CATEGORY PILLS
   ========================================================================= */
.templespa-category-pills-wrap {
    padding: 20px 0 40px 0;
    background-color: #ffffff;
}
.templespa-pills-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.templespa-pill {
    display: inline-block;
    padding: 8px 22px;
    border: 1px solid #dcdcdc;
    font-family: var(--ts-font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ts-charcoal);
    transition: all 0.2s ease;
}
.templespa-pill:hover,
.templespa-pill.active {
    background-color: var(--ts-charcoal);
    color: #ffffff;
    border-color: var(--ts-charcoal);
}

/* =========================================================================
   6. BENEFIT GRID
   ========================================================================= */
.templespa-benefit-section {
    padding: 60px 0;
    background-color: #fafafa;
}
.templespa-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.templespa-benefit-card {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.templespa-benefit-overlay {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(2px);
    width: 82%;
    padding: 24px 16px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}
.templespa-benefit-card:hover .templespa-benefit-overlay {
    background: rgba(255, 255, 255, 0.96);
    transform: translateY(-4px);
}
.templespa-benefit-title {
    font-family: var(--ts-font-serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--ts-charcoal);
    margin: 0 0 12px 0;
}
.templespa-btn-benefit {
    background-color: var(--ts-black);
    color: #ffffff !important;
    padding: 7px 18px;
    font-size: 10px;
}
.templespa-btn-benefit:hover {
    background-color: var(--ts-teal);
}

/* =========================================================================
   7. JOURNAL STORIES
   ========================================================================= */
.templespa-journal-section {
    padding: 50px 0;
    background-color: #ffffff;
}
.templespa-journal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.templespa-journal-card {
    background: #ffffff;
}
.templespa-journal-img {
    height: 220px;
    overflow: hidden;
    margin-bottom: 14px;
}
.templespa-journal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.templespa-journal-card:hover .templespa-journal-img img {
    transform: scale(1.05);
}
.templespa-journal-title {
    font-family: var(--ts-font-serif);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}
.templespa-journal-title a {
    color: var(--ts-charcoal);
    text-decoration: none;
    transition: color 0.2s;
}
.templespa-journal-title a:hover {
    color: var(--ts-teal);
}

/* =========================================================================
   8. BRAND HERITAGE
   ========================================================================= */
.templespa-heritage-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 80px 0;
}
.templespa-heritage-overlay {
    background: linear-gradient(180deg, rgba(22, 59, 63, 0.88) 0%, rgba(12, 35, 38, 0.94) 100%);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
}
.templespa-heritage-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.templespa-heritage-sub {
    display: block;
    font-family: var(--ts-font-sans);
    font-size: 12px;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 0.9;
}
.templespa-heritage-heading {
    font-family: var(--ts-font-serif);
    font-size: 32px;
    line-height: 1.35;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 28px 0;
}
.templespa-btn-heritage {
    background-color: transparent;
    color: #ffffff !important;
    border: 1px solid #ffffff;
    padding: 12px 30px;
}
.templespa-btn-heritage:hover {
    background-color: #ffffff;
    color: var(--ts-teal-dark) !important;
}
.templespa-heritage-awards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 45px;
    flex-wrap: wrap;
}
.templespa-award-badge {
    background: #ffffff;
    color: var(--ts-charcoal);
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 2px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.award-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #204e53;
    color: #204e53;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}
.award-circle.gold {
    border-color: var(--ts-gold);
    color: var(--ts-gold);
    font-size: 18px;
}
.award-text {
    text-align: left;
    display: flex;
    flex-direction: column;
}
.award-text strong {
    font-size: 11px;
    letter-spacing: 0.08em;
}
.award-text span {
    font-size: 10px;
    color: #666;
}

/* =========================================================================
   9. NEWSLETTER BANNER
   ========================================================================= */
.templespa-newsletter-section {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 50px 0;
    text-align: center;
}
.templespa-newsletter-title {
    font-family: var(--ts-font-serif);
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 10px 0;
    color: #ffffff;
}
.templespa-newsletter-sub {
    font-family: var(--ts-font-sans);
    font-size: 13px;
    color: #a0a0a0;
    margin: 0 0 24px 0;
}
.templespa-newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 480px;
    margin: 0 auto;
}
.templespa-newsletter-input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #444444;
    background: #2b2b2b;
    color: #ffffff;
    font-size: 13px;
    border-radius: 0;
    outline: none;
}
.templespa-newsletter-input:focus {
    border-color: var(--ts-teal);
}
.templespa-btn-subscribe {
    background-color: #444444;
    color: #ffffff !important;
    border: 1px solid #444444;
    padding: 12px 24px;
}
.templespa-btn-subscribe:hover {
    background-color: var(--ts-teal);
    border-color: var(--ts-teal);
}

/* Responsive */
@media (max-width: 991px) {
    .templespa-hero-inner {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }
    .templespa-hero-content {
        max-width: 100%;
        margin-bottom: 30px;
    }
    .templespa-hero-media {
        width: 100%;
        justify-content: center;
    }
    .templespa-hero-model {
        width: 100%;
        max-width: 400px;
        height: 350px;
    }
    .templespa-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .templespa-benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .templespa-promo-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .templespa-hero-title {
        font-size: 32px;
    }
    .templespa-product-grid {
        grid-template-columns: 1fr;
    }
    .templespa-benefit-grid {
        grid-template-columns: 1fr;
    }
    .templespa-journal-grid {
        grid-template-columns: 1fr;
    }
    .templespa-newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
}