:root {
    --ink: #0e1116;
    --paper: #ffffff;
    --mist: #f5f5f2;
    --line: rgba(14, 17, 22, 0.11);
    --blue: #1d4ed8;
    --blue-soft: #eef3ff;
    --muted: #6b7280;
    --serif: Georgia, "Times New Roman", "Songti SC", serif;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.tp-main {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    -webkit-font-smoothing: antialiased;
}

.tp-main *,
.tp-main *::before,
.tp-main *::after {
    box-sizing: border-box;
}

.tp-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.tp-main img {
    max-width: 100%;
    height: auto;
    display: block;
}

.tp-main a {
    text-decoration: none;
    color: inherit;
}

.tp-main ul,
.tp-main ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* announcement */

.tp-bar {
    background: var(--ink);
    color: #fff;
}

.tp-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 38px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.tp-bar__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
}

/* hero */

.tp-hero {
    padding: 76px 0 96px;
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}

.tp-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.tp-eyebrow {
    margin: 0 0 18px;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--blue);
    font-weight: 600;
}

.tp-display {
    margin: 0 0 24px;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(38px, 4.8vw, 66px);
    line-height: 1.03;
    letter-spacing: -0.022em;
}

.tp-display em {
    font-style: italic;
    color: var(--blue);
}

.tp-lead {
    margin: 0 0 32px;
    max-width: 48ch;
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--muted);
}

.tp-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.tp-main .tp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background 0.35s ease, transform 0.35s cubic-bezier(0.22, 0.68, 0.16, 1);
}

.tp-btn:hover {
    background: var(--blue);
    transform: translateY(-2px);
}

.tp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.3s ease, color 0.3s ease;
}

.tp-link:hover {
    border-color: var(--ink);
}

.tp-link--sm {
    font-size: 13px;
    color: var(--muted);
}

.tp-link--sm:hover {
    color: var(--ink);
    border-color: var(--ink);
}

.tp-arrow {
    transition: transform 0.35s cubic-bezier(0.22, 0.68, 0.16, 1);
}

.tp-link:hover .tp-arrow {
    transform: translateX(5px);
}

.tp-trust {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--muted);
}

.tp-trust li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tp-trust svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--blue);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none;
}

.tp-hero__media {
    position: relative;
}

.tp-frame {
    position: absolute;
    inset: 26px -26px -26px 26px;
    border: 1px solid var(--line);
    border-radius: 18px;
    pointer-events: none;
}

.tp-hero__card {
    position: relative;
    margin: 0;
    background: var(--mist);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px -34px rgba(14, 17, 22, 0.35);
}

.tp-hero__card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.22, 0.68, 0.16, 1);
}

.tp-hero__card:hover img {
    transform: scale(1.03);
}

.tp-hero__card figcaption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

.tp-hero__label {
    font-weight: 500;
}

.tp-hero__price {
    color: var(--muted);
}

.tp-hero__price .amount {
    color: var(--ink);
}

.tp-hero__price del {
    opacity: 0.5;
    margin-right: 6px;
}

.tp-counter {
    position: absolute;
    top: -12px;
    right: -12px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 11px;
    letter-spacing: 0.1em;
}

/* sections */

.tp-section {
    padding: 88px 0;
}

.tp-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 36px;
    padding-top: 4px;
    border-top: 1px solid var(--line);
}

.tp-h2 {
    margin: 0;
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(26px, 2.6vw, 36px);
    letter-spacing: -0.015em;
    line-height: 1.15;
}

.tp-note {
    font-size: 12.5px;
    color: var(--muted);
    text-align: right;
}

/* categories */

.tp-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.tp-cat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    padding: 24px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    transition: transform 0.4s cubic-bezier(0.22, 0.68, 0.16, 1), border-color 0.4s ease, background 0.4s ease;
}

.tp-cat:hover {
    transform: translateY(-4px);
    border-color: var(--ink);
    background: var(--mist);
}

.tp-cat__icon {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: var(--ink);
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.35s ease;
}

.tp-cat:hover .tp-cat__icon {
    stroke: var(--blue);
}

.tp-cat__name {
    font-size: 14.5px;
    font-weight: 500;
}

.tp-cat__count {
    font-size: 11.5px;
    color: var(--muted);
    letter-spacing: 0.04em;
}

/* product grid */

.tp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 26px;
}

.tp-card {
    display: block;
}

.tp-card__media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: var(--mist);
}

.tp-card__media img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 0.68, 0.16, 1);
}

.tp-card:hover .tp-card__media img {
    transform: scale(1.045);
}

.tp-main .tp-card__add {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font-size: 11.5px;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 0.68, 0.16, 1), background 0.3s ease;
}

.tp-card:hover .tp-card__add {
    opacity: 1;
    transform: translateY(0);
    background: var(--blue);
}

.tp-card__meta {
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tp-card__cat {
    font-size: 10.5px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
}

.tp-card__title {
    margin: 0;
    font-size: 15.5px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.tp-card:hover .tp-card__title {
    color: var(--blue);
}

.tp-card__price {
    font-size: 14px;
    color: var(--muted);
}

.tp-card__price .amount {
    color: var(--ink);
}

/* how we pick */

.tp-how {
    background: var(--mist);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.tp-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.tp-step__num {
    display: block;
    margin-bottom: 14px;
    font-family: var(--serif);
    font-size: 15px;
    letter-spacing: 0.1em;
    color: var(--blue);
}

.tp-steps h3 {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.tp-steps p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--muted);
    max-width: 34ch;
}

/* quote band */

.tp-band {
    background: var(--ink);
    color: #fff;
    padding: 84px 0;
}

.tp-band__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.tp-quote {
    margin: 0;
    max-width: 22ch;
    font-family: var(--serif);
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.tp-quote em {
    font-style: italic;
    color: #9db4ff;
}

.tp-quote__by {
    font-size: 11.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

/* reviews */

.tp-review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tp-review {
    padding: 26px 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.22, 0.68, 0.16, 1);
}

.tp-review:hover {
    border-color: var(--ink);
    transform: translateY(-3px);
}

.tp-review p {
    margin: 0;
    font-family: var(--serif);
    font-size: 17px;
    line-height: 1.55;
}

.tp-review span {
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

/* newsletter */

.tp-news {
    padding: 0 0 96px;
}

.tp-news__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 48px;
    border-radius: 20px;
    background: var(--blue-soft);
}

.tp-news h2 {
    margin-bottom: 10px;
}

.tp-news p {
    margin: 0;
    font-size: 14.5px;
    color: var(--muted);
}

.tp-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tp-form input {
    min-width: 250px;
    padding: 14px 18px;
    border: 1px solid rgba(29, 78, 216, 0.25);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-family: inherit;
    color: var(--ink);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tp-form input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.tp-form button {
    padding: 14px 26px;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.tp-form button:hover {
    background: var(--ink);
    transform: translateY(-2px);
}

/* motion */

.tp-anim {
    opacity: 0;
    animation: tpRise 0.85s cubic-bezier(0.22, 0.68, 0.16, 1) both;
    animation-delay: var(--d, 0s);
}

@keyframes tpRise {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.tp-reveal {
    transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 0.68, 0.16, 1);
    transition-delay: var(--d, 0s);
}

.tp-js .tp-reveal {
    opacity: 0;
    transform: translateY(22px);
}

.tp-js .tp-reveal.is-in {
    opacity: 1;
    transform: none;
}

/* header polish */

#header {
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 40;
}

#header .site-title,
#header .site-description {
    letter-spacing: -0.01em;
}

/* responsive */

@media (max-width: 1024px) {
    .tp-hero__grid {
        gap: 40px;
    }
    .tp-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tp-news__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 860px) {
    .tp-hero {
        padding: 52px 0 64px;
    }
    .tp-hero__grid {
        grid-template-columns: 1fr;
    }
    .tp-hero__media {
        order: -1;
        max-width: 420px;
    }
    .tp-frame {
        inset: 16px -16px -16px 16px;
    }
    .tp-section {
        padding: 60px 0;
    }
    .tp-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }
    .tp-steps,
    .tp-review-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .tp-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .tp-note {
        text-align: left;
    }
    .tp-news__inner {
        padding: 32px 24px;
    }
    .tp-band {
        padding: 60px 0;
    }
}

@media (max-width: 560px) {
    .tp-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tp-cat {
        padding: 18px 16px;
    }
    .tp-bar__inner {
        font-size: 10.5px;
        gap: 8px;
        flex-wrap: wrap;
        padding: 8px 0;
    }
    .tp-form {
        width: 100%;
    }
    .tp-form input {
        min-width: 0;
        flex: 1 1 100%;
    }
    .tp-form button {
        flex: 1 1 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-anim,
    .tp-reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* hide theme page title on the storefront home */
.page-id-20 .hero-section,
.page-id-20 .entry-header {
    display: none !important;
}

.page-id-20 .site-main,
.page-id-20 .ct-container-full {
    padding-top: 0 !important;
}

/* product page */

.tp-reassure {
    margin: 18px 0 0;
    padding: 16px 0 0;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tp-reassure li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

.tp-reassure svg {
    width: 17px;
    height: 17px;
    flex: none;
    fill: none;
    stroke: var(--blue);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tp-cart-link {
    display: flex;
    align-items: center;
    gap: 7px;
}

.tp-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 10.5px;
    line-height: 1;
}

.single-product .product_title {
    font-family: var(--serif);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.single-product .summary .price {
    font-size: 21px;
    color: var(--ink);
}

.single-product .single_add_to_cart_button {
    border-radius: 999px;
    padding: 16px 30px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background 0.3s ease, transform 0.3s ease;
}

.single-product .single_add_to_cart_button:hover {
    transform: translateY(-1px);
}

.single-product form.cart .quantity input {
    border-radius: 999px;
}

/* bundle tiers */

.tp-tiers {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

.tp-tiers__title {
    margin: 0 0 14px;
    font-size: 10.5px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
}

.tp-tiers__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.tp-tier {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 15px 12px 13px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: var(--ink);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s cubic-bezier(0.22, 0.68, 0.16, 1);
}

.tp-tier:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

.tp-tier.is-active {
    border-color: var(--blue);
    background: var(--blue-soft);
}

.tp-tier__label {
    font-size: 12.5px;
    font-weight: 500;
}

.tp-tier__price {
    font-size: 14px;
    line-height: 1.3;
}

.tp-tier__unit {
    font-size: 10.5px;
    color: var(--muted);
}

.tp-tier__note {
    font-size: 10.5px;
    color: var(--blue);
}

.tp-tier__badge {
    position: absolute;
    top: -9px;
    right: 8px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-size: 9.5px;
    letter-spacing: 0.04em;
}

.tp-tiers__summary {
    margin: 12px 0 18px;
    min-height: 18px;
    font-size: 12.5px;
    color: var(--muted);
}

@media (max-width: 480px) {
    .tp-tiers__row {
        grid-template-columns: 1fr;
    }
}

/* site footer */

.tp-footer {
    background: var(--ink);
    color: #fff;
    padding: 64px 0 0;
    margin-top: 72px;
}

.tp-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
    gap: 44px;
    padding-bottom: 48px;
}

.tp-footer__logo {
    display: inline-block;
    margin-bottom: 14px;
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: -0.01em;
}

.tp-footer__brand p {
    margin: 0 0 22px;
    max-width: 34ch;
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
}

.tp-footer__pay {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tp-footer__pay span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 26px;
    padding: 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    font-size: 9.5px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.75);
}

.tp-footer__col h3,
.tp-footer__news h3 {
    margin: 0 0 16px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.tp-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tp-footer__col a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tp-footer__col a:hover {
    color: #9db4ff;
}

.tp-footer__news p {
    margin: 0 0 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.62);
}

.tp-footer__form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tp-footer__form input {
    flex: 1 1 150px;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s ease;
}

.tp-footer__form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.tp-footer__form input:focus {
    border-color: #9db4ff;
}

.tp-footer__form button {
    padding: 11px 20px;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.tp-footer__form button:hover {
    background: var(--blue);
    color: #fff;
}

.tp-footer__hours {
    margin-top: 14px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.4);
}

.tp-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.tp-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    min-height: 56px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 980px) {
    .tp-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 620px) {
    .tp-footer {
        padding-top: 44px;
        margin-top: 48px;
    }
    .tp-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}
