/*
Theme Name: Thirsty Molecule
Theme URI: https://old.thirstymolecule.com/
Author: Thirsty Molecule
Author URI: https://old.thirstymolecule.com/
Description: Classic, hand-coded WordPress theme for Thirsty Molecule - hydration-first skincare. Bold pop-editorial landing page with an auto-rotating product hero, neon range cards, editorial sections and a Customizer-driven front page. No page builder, no build step, WooCommerce ready.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: thirsty-molecule
Tags: one-column, two-columns, right-sidebar, custom-logo, custom-menu, custom-background, custom-header, featured-images, translation-ready, blog, e-commerce, threaded-comments

*/

/*
 * The compiled theme styles live in assets/css/main.css and are enqueued from
 * functions.php. This file carries the required theme header and a small set of
 * WordPress core classes so the theme passes core markup expectations.
 */

.sticky{position:relative}
.bypostauthor{display:block}
.gallery-caption{display:block}
.wp-caption{max-width:100%}
.wp-caption-text{text-align:center}

/* ============================================================
   THIRSTY MOLECULE
   CUSTOM WOOCOMMERCE PRODUCT PAGE
   ============================================================ */

/* ============================================================
   THIRSTY MOLECULE
   PRODUCT PAGE — VISUAL OVERHAUL
   ============================================================ */

/* ---------- PAGE ---------- */

.tm-product-page {
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: #111;
}

.tm-product-page *,
.tm-product-page *::before,
.tm-product-page *::after {
    box-sizing: border-box;
}


/* ============================================================
   HERO
   ============================================================ */

.tm-product-hero {
    width: 100%;
    padding: 70px 30px 90px;
    background: #f6f1e8;
}

.tm-product-hero-inner {
    width: min(1180px, 100%);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 80px;
    align-items: center;
}


/* ============================================================
   PRODUCT IMAGE
   ============================================================ */

.tm-product-gallery {
    width: 100%;
}

.tm-product-main-image {
    position: relative;

    width: 100%;
    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    border-radius: 36px;

    overflow: hidden;
}

.tm-product-main-img {
    display: block;

    width: 100%;
    height: 100%;

    max-height: 600px;

    object-fit: contain;

    padding: 35px;

    transition: transform .45s ease;
}

.tm-product-main-image:hover .tm-product-main-img {
    transform: scale(1.025);
}


/* ---------- GALLERY THUMBNAILS ---------- */

.tm-product-gallery-thumbs {
    display: flex;
    gap: 12px;

    margin-top: 15px;

    overflow-x: auto;

    scrollbar-width: none;
}

.tm-product-gallery-thumbs::-webkit-scrollbar {
    display: none;
}

.tm-product-thumb {
    width: 76px;
    height: 76px;

    flex: 0 0 76px;

    background: #fff;

    border-radius: 15px;

    overflow: hidden;

    border: 1px solid rgba(0,0,0,.08);
}

.tm-product-thumb-img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* ============================================================
   PRODUCT INFORMATION
   ============================================================ */

.tm-product-info {
    width: 100%;
    max-width: 530px;
}


/* ---------- CATEGORY ---------- */

.tm-product-category {
    margin-bottom: 18px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .16em;

    text-transform: uppercase;

    opacity: .65;
}

.tm-product-category a {
    color: inherit;
    text-decoration: none;
}


/* ---------- TITLE ---------- */

.tm-product-title {
    margin: 0 0 22px !important;

    font-family: "Fredoka", sans-serif !important;

    font-size: clamp(44px, 5.5vw, 76px) !important;

    line-height: .96 !important;

    letter-spacing: -.045em !important;

    font-weight: 700 !important;

    color: #111 !important;
}


/* ---------- SHORT DESCRIPTION ---------- */

.tm-product-short-description {
    margin: 0 0 25px;

    font-size: 18px;

    line-height: 1.65;

    max-width: 510px;
}

.tm-product-short-description p {
    margin: 0 0 12px;
}


/* ---------- PRICE ---------- */

.tm-product-price {
    margin: 20px 0 4px;

    font-family: "Fredoka", sans-serif;

    font-size: 31px;

    font-weight: 700;

    line-height: 1.1;
}

.tm-product-price del {
    opacity: .45;
    font-size: 20px;
}

.tm-product-price ins {
    text-decoration: none;
}


/* ============================================================
   PURCHASE AREA
   ============================================================ */

.tm-product-purchase {
    margin-top: 25px;
}

.tm-product-purchase form.cart {
    display: flex;

    align-items: center;

    gap: 12px;

    margin: 0;
}

.tm-product-purchase .quantity {
    margin: 0 !important;
}

.tm-product-purchase input.qty {
    width: 64px !important;
    height: 56px !important;

    padding: 0 !important;

    border: 1.5px solid #111 !important;

    border-radius: 100px !important;

    background: #fff !important;

    font-weight: 700 !important;

    text-align: center !important;
}

.tm-product-purchase button.single_add_to_cart_button {
    min-height: 56px;

    padding: 0 34px !important;

    border: 0 !important;

    border-radius: 100px !important;

    background: #111 !important;

    color: #fff !important;

    font-family: inherit !important;

    font-size: 14px !important;

    font-weight: 800 !important;

    letter-spacing: .08em;

    text-transform: uppercase;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.tm-product-purchase button.single_add_to_cart_button:hover {
    transform: translateY(-3px);

    opacity: .85;
}


/* ============================================================
   TRUST PILLS
   ============================================================ */

.tm-product-trust {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 28px;
}

.tm-product-trust span {
    display: inline-flex;

    align-items: center;

    min-height: 34px;

    padding: 7px 12px;

    border: 1px solid rgba(0,0,0,.15);

    border-radius: 100px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .02em;
}


/* ============================================================
   FORMULA SECTION
   ============================================================ */

.tm-product-details {
    width: 100%;

    padding: 110px 30px;

    background: #fff;
}

.tm-product-details-inner {
    width: min(1080px, 100%);

    margin: 0 auto;
}

.tm-product-details-heading {
    max-width: 720px;

    margin-bottom: 55px;
}

.tm-product-eyebrow {
    display: block;

    margin-bottom: 13px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .18em;

    text-transform: uppercase;

    opacity: .55;
}

.tm-product-details-heading h2,
.tm-product-benefit-heading h2,
.tm-product-related h2,
.tm-product-full-details h2 {
    margin: 0 !important;

    font-family: "Fredoka", sans-serif !important;

    font-weight: 700 !important;

    letter-spacing: -.035em !important;

    line-height: 1 !important;
}

.tm-product-details-heading h2 {
    font-size: clamp(45px, 6vw, 82px) !important;
}


/* ============================================================
   DESCRIPTION
   ============================================================ */

.tm-product-description {
    max-width: 900px;

    font-size: 17px;

    line-height: 1.75;
}

.tm-product-description p {
    margin: 0 0 22px;
}

.tm-product-description h2 {
    margin: 60px 0 20px !important;

    font-family: "Fredoka", sans-serif !important;

    font-size: 40px !important;

    line-height: 1.05 !important;
}

.tm-product-description h3 {
    margin: 45px 0 15px !important;

    font-family: "Fredoka", sans-serif !important;

    font-size: 29px !important;
}

.tm-product-description ul {
    margin: 20px 0 30px;

    padding-left: 24px;
}

.tm-product-description li {
    margin-bottom: 12px;
}

.tm-product-description strong {
    font-weight: 800;
}


/* ============================================================
   BENEFIT SECTION
   ============================================================ */

.tm-product-benefit-section {
    padding: 100px 30px;

    background: #111;

    color: #fff;
}

.tm-product-benefit-inner {
    width: min(1180px, 100%);

    margin: 0 auto;
}

.tm-product-benefit-heading {
    max-width: 780px;

    margin-bottom: 55px;
}

.tm-product-benefit-heading .tm-product-eyebrow {
    opacity: .55;
}

.tm-product-benefit-heading h2 {
    font-size: clamp(44px, 6vw, 80px) !important;

    color: #fff !important;
}

.tm-product-benefit-cards {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 16px;
}

.tm-product-benefit-card {
    min-height: 270px;

    padding: 30px;

    border: 1px solid rgba(255,255,255,.18);

    border-radius: 25px;

    background: rgba(255,255,255,.045);

    transition:
        transform .25s ease,
        background .25s ease;
}

.tm-product-benefit-card:hover {
    transform: translateY(-5px);

    background: rgba(255,255,255,.08);
}

.tm-benefit-number {
    display: block;

    margin-bottom: 55px;

    font-family: "Fredoka", sans-serif;

    font-size: 18px;

    opacity: .5;
}

.tm-product-benefit-card h3 {
    margin: 0 0 12px;

    font-family: "Fredoka", sans-serif;

    font-size: 29px;

    line-height: 1;
}

.tm-product-benefit-card p {
    margin: 0;

    font-size: 15px;

    line-height: 1.6;

    opacity: .72;
}


/* ============================================================
   FULL DETAILS
   ============================================================ */

.tm-product-full-details {
    padding: 110px 30px;

    background: #f6f1e8;
}

.tm-product-full-details-inner {
    width: min(1080px, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns: .65fr 1.35fr;

    gap: 80px;
}

.tm-product-full-details h2 {
    font-size: clamp(45px, 5vw, 68px) !important;
}

.tm-detail-content {
    font-size: 17px;

    line-height: 1.75;
}

.tm-detail-content p {
    margin: 0 0 20px;
}

.tm-detail-content ul {
    padding-left: 23px;
}

.tm-detail-content li {
    margin-bottom: 11px;
}


/* ============================================================
   RELATED PRODUCTS
   ============================================================ */

.tm-product-related {
    padding: 100px 30px;

    background: #fff;
}

.tm-product-related-inner {
    width: min(1180px, 100%);

    margin: 0 auto;
}

.tm-product-related h2 {
    margin-bottom: 45px !important;

    font-size: clamp(45px, 6vw, 78px) !important;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 900px) {

    .tm-product-hero {
        padding: 30px 18px 65px;
    }

    .tm-product-hero-inner {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .tm-product-info {
        max-width: none;
    }

    .tm-product-main-image {
        min-height: 500px;

        border-radius: 28px;
    }

    .tm-product-main-img {
        max-height: 520px;

        padding: 25px;
    }

    .tm-product-title {
        font-size: clamp(44px, 11vw, 68px) !important;
    }

    .tm-product-benefit-cards {
        grid-template-columns: 1fr;
    }

    .tm-product-benefit-card {
        min-height: auto;
    }

    .tm-product-full-details-inner {
        grid-template-columns: 1fr;

        gap: 35px;
    }
}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 600px) {

    .tm-product-hero {
        padding: 15px 14px 55px;
    }

    .tm-product-main-image {
        min-height: 360px;

        border-radius: 22px;
    }

    .tm-product-main-img {
        padding: 18px;
    }

    .tm-product-title {
        font-size: 45px !important;

        line-height: .98 !important;
    }

    .tm-product-short-description {
        font-size: 16px;

        line-height: 1.6;
    }

    .tm-product-purchase form.cart {
        width: 100%;
    }

    .tm-product-purchase button.single_add_to_cart_button {
        flex: 1;

        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .tm-product-details,
    .tm-product-benefit-section,
    .tm-product-full-details,
    .tm-product-related {
        padding: 70px 18px;
    }

    .tm-product-description,
    .tm-detail-content {
        font-size: 16px;
    }

    .tm-product-details-heading h2,
    .tm-product-benefit-heading h2,
    .tm-product-related h2 {
        font-size: 48px !important;
    }

}