﻿:root {
    --tp-red: #d92332;
    --tp-red-dark: #a41522;
    --tp-black: #12141a;
    --tp-white: #ffffff;
    --tp-soft: #f5f7fc;
    --tp-border: #e4e8f2;
}

body {
    font-family: "Poppins", sans-serif;
    color: #12141a;
    background: #fff;
}

.top-strip {
    background: #0f131c;
    color: #e6e8ee;
    font-size: 0.76rem;
    padding: 0.45rem 0;
}

.top-strip i {
    margin-right: 0.3rem;
    color: #ff8c96;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    border-bottom: 1px solid var(--tp-border);
    padding: 0.85rem 0;
    transition: box-shadow 0.2s ease;
}

.navbar.is-scrolled {
    box-shadow: 0 10px 22px rgba(13, 18, 34, 0.08);
}

.navbar-brand {
    font-weight: 800;
    color: #111;
}

.brand-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    background: linear-gradient(135deg, #ff4a63 0%, var(--tp-red) 100%);
}

.navbar .nav-link {
    color: #3b4254;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: #111;
}

.navbar .form-select {
    min-width: 118px;
    border-color: #d6dceb;
}

.store-hero {
    background: linear-gradient(180deg, #f8f9fd 0%, #ffffff 100%);
    padding: 2rem 0 2.8rem;
}

.hero-copy-box {
    background: #fff;
    border: 1px solid var(--tp-border);
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 16px 28px rgba(15, 20, 36, 0.08);
}

.hero-kicker {
    color: var(--tp-red);
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 700;
}

.hero-copy-box h1 {
    font-size: clamp(2rem, 3.8vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.hero-subtitle {
    color: #575f72;
    font-size: 1.02rem;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.hero-media-wrap {
    min-height: 210px;
}

.store-hero-media {
    border: 1px solid #e8ebf3;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    position: relative;
}

.store-hero-media-copy {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #eff1f7;
}

.store-hero-media-copy h4 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
}

.store-hero-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    background: #f0f3fa;
}

.store-hero-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667085;
    font-weight: 600;
}

#storeHeroCarousel .carousel-control-prev,
#storeHeroCarousel .carousel-control-next {
    width: 52px;
    opacity: 1;
}

#storeHeroCarousel .carousel-control-prev {
    justify-content: flex-start;
    padding-left: 12px;
}

#storeHeroCarousel .carousel-control-next {
    justify-content: flex-end;
    padding-right: 12px;
}

#storeHeroCarousel .carousel-control-prev-icon,
#storeHeroCarousel .carousel-control-next-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background-size: 18px 18px;
    background-color: rgba(15, 20, 36, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

#storeHeroCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#storeHeroCarousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(217, 35, 50, 0.88);
}

.membership-card {
    border: 1px solid var(--tp-border);
    border-radius: 18px;
    background: #fff;
    padding: 1.4rem;
    box-shadow: 0 14px 24px rgba(15, 20, 36, 0.08);
    height: 100%;
}

.membership-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.membership-card p {
    color: #596174;
    margin-bottom: 1rem;
}

.frontpage-widget-stack {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.frontpage-widget-stack .membership-card {
    margin: 0;
}

.frontpage-widget-stack:empty {
    min-height: 0;
}

.footer-widget-location {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-top-widget-location:empty {
    display: none;
}

.footer-widget-location:empty {
    display: none;
    margin-bottom: 0;
}

.footer-widget-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.9rem 1rem;
    color: #e5e8ef;
}

.footer-widget-item h1,
.footer-widget-item h2,
.footer-widget-item h3,
.footer-widget-item h4,
.footer-widget-item h5,
.footer-widget-item h6 {
    color: #fff;
    margin-bottom: 0.45rem;
}

.footer-widget-item p:last-child {
    margin-bottom: 0;
}

.footer-widget-item a {
    color: #ffd1d6;
}

.footer-widget-item .btn {
    color: #fff;
}

.store-section {
    padding: 4.2rem 0;
}

#products.store-section {
    padding-top: 2rem;
}

.bg-soft {
    background: var(--tp-soft);
}

.section-kicker {
    margin-bottom: 0.4rem;
    color: var(--tp-red);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.74rem;
    font-weight: 700;
}

.card-soft {
    background: #fff;
    border: 1px solid var(--tp-border);
    border-radius: 14px;
    padding: 1rem;
}

.product-count-pill {
    border: 1px solid #dce2ef;
    border-radius: 999px;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    color: #2f3b55;
    padding: 0.45rem 0.9rem;
    min-width: 124px;
    text-align: center;
}

.product-search-group .input-group-text {
    background: #f4f6fb;
    border-color: #dce2ef;
}

.product-search-group .form-control {
    border-color: #dce2ef;
}

.product-filter-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.product-filter-wrap .btn {
    border-radius: 999px;
}

.store-product-card {
    border: 1px solid #e5e9f4;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    box-shadow: 0 10px 20px rgba(15, 20, 36, 0.06);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.store-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 30px rgba(15, 20, 36, 0.13);
}

.store-product-link {
    text-decoration: none;
}

.store-product-media {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    background: #f1f3f9;
}

.store-product-media.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #7a8294;
}

.store-product-body {
    padding: 0.95rem 1rem 1rem;
}

.store-product-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
}

.store-product-tag {
    color: var(--tp-red);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.store-product-badge {
    font-size: 0.66rem;
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
    border: 1px solid #ffd2d7;
    background: #fff2f4;
    color: var(--tp-red-dark);
    font-weight: 700;
}

.store-product-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.store-product-desc {
    margin: 0.65rem 0 0.95rem;
    color: #5f687b;
    font-size: 0.88rem;
    line-height: 1.45;
    min-height: 3.8em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.store-product-cta {
    border-radius: 10px;
}

.category-showcase {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

.category-block {
    background: #fff;
    border: 1px solid #e5e9f4;
    border-radius: 14px;
    padding: 1rem;
}

.category-block-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.category-block-head h4 {
    margin: 0;
    font-size: 1.03rem;
}

.category-block-head span {
    font-size: 0.75rem;
    color: #626d83;
    font-weight: 600;
}

.mini-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.mini-product-card {
    text-decoration: none;
    border: 1px solid #edf0f7;
    border-radius: 10px;
    padding: 0.45rem;
    background: #fff;
    color: #111827;
    transition: border-color 0.2s ease;
}

.mini-product-card:hover {
    border-color: #d4dceb;
    color: #111827;
}

.mini-product-img-wrap {
    border-radius: 8px;
    overflow: hidden;
    background: #f4f6fb;
    margin-bottom: 0.45rem;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    display: block;
}

.mini-product-img.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7c8394;
}

.mini-product-name {
    font-size: 0.8rem;
    line-height: 1.3;
    font-weight: 600;
}

.review-card {
    border: 1px solid #e3e8f2;
    border-radius: 14px;
    background: #fff;
    padding: 1rem;
    height: 100%;
}

.review-card p {
    color: #5e6678;
    margin-bottom: 0.75rem;
}

.review-card h6 {
    margin: 0;
    font-size: 0.9rem;
}

.cta-band {
    background: linear-gradient(145deg, var(--tp-red-dark), var(--tp-red));
    color: #fff;
}

.cta-panel {
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.contact-list {
    display: grid;
    gap: 0.7rem;
    color: #50596d;
}

.contact-list i {
    margin-right: 0.45rem;
    color: var(--tp-red);
}

.contact-card {
    border: 1px solid #e4e8f2;
    border-radius: 16px;
    background: #fff;
    padding: 1.3rem;
    box-shadow: 0 12px 24px rgba(15, 20, 36, 0.08);
}

.site-footer {
    background: #0e121a;
    color: #d7dae1;
    padding: 1.25rem 0;
}

.footer-note {
    color: #9299ab;
    font-size: 0.88rem;
}

.back-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1040;
}

.back-top.show {
    display: inline-flex;
}

.tpd-page {
    background: #f6f8fc;
}

.tpd-nav {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
}

.tpd-back-btn {
    border-color: #d8deed;
    color: #2e3a54;
    font-weight: 600;
}

.tpd-back-btn:hover {
    background: #f2f5fb;
    border-color: #ccd5e8;
    color: #12141a;
}

.tpd-main {
    padding: 1.7rem 0 4.2rem;
}

.tpd-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    color: #667087;
    font-size: 0.85rem;
}

.tpd-breadcrumb a {
    color: #3a4a68;
    text-decoration: none;
}

.tpd-breadcrumb a:hover {
    text-decoration: underline;
}

.tpd-breadcrumb strong {
    color: #151b27;
    font-weight: 600;
}

.tpd-gallery-card {
    border: 1px solid #e3e8f4;
    border-radius: 18px;
    background: #fff;
    padding: 0.95rem;
    box-shadow: 0 14px 28px rgba(15, 20, 36, 0.06);
}

.tpd-main-image-wrap {
    border-radius: 14px;
    overflow: hidden;
    background: #f1f4fa;
    aspect-ratio: 5 / 4;
}

.tpd-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tpd-main-image-wrap.is-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.tpd-image-placeholder {
    color: #6d778d;
    text-align: center;
    display: grid;
    gap: 0.35rem;
    font-weight: 600;
}

.tpd-image-placeholder i {
    font-size: 1.8rem;
}

.tpd-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(82px, 1fr));
    gap: 0.65rem;
}

.tpd-thumb-btn {
    border: 1px solid #e3e8f4;
    border-radius: 10px;
    background: #fff;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tpd-thumb-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tpd-thumb-btn:hover {
    border-color: #cfd8ea;
}

.tpd-thumb-btn.is-active {
    border-color: #d92332;
    box-shadow: 0 0 0 2px rgba(217, 35, 50, 0.14);
}

.tpd-info-card {
    border: 1px solid #e3e8f4;
    border-radius: 18px;
    background: #fff;
    padding: 1.35rem;
}

.tpd-category-badge {
    background: #f3f5fb;
    color: #30415e;
    border: 1px solid #dde4f2;
    padding: 0.42rem 0.7rem;
    font-weight: 600;
}

.tpd-title {
    margin: 0 0 0.7rem;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.15;
    font-weight: 800;
}

.tpd-short-description {
    margin: 0 0 0.7rem;
    color: #4a556d;
    font-size: 1.03rem;
}

.tpd-description {
    color: #5b6579;
    line-height: 1.72;
}

.tpd-point-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.tpd-point-list span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f7f9fe;
    color: #394a68;
    border: 1px solid #e3e8f4;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.83rem;
    font-weight: 600;
}

.tpd-point-list i {
    color: #d92332;
}

.tpd-order-sticky {
    position: sticky;
    top: 96px;
}

.tpd-order-card {
    border: 1px solid #dde3f0;
    box-shadow: 0 18px 30px rgba(15, 20, 36, 0.1);
}

.tpd-order-points {
    margin: 0 0 1rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.45rem;
}

.tpd-order-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    color: #505c74;
    font-size: 0.86rem;
}

.tpd-order-points i {
    color: #d92332;
    margin-top: 0.15rem;
}

.tpd-order-form .form-label {
    color: #364259;
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.tpd-form-section {
    border: 1px solid #e0e6f2;
    border-radius: 12px;
    background: #fafbfe;
    padding: 0.8rem;
}

.tpd-form-section-head h6 {
    color: #1d2638;
    font-size: 0.9rem;
    font-weight: 700;
}

.tpd-form-section-head p {
    color: #647089;
    font-size: 0.78rem;
}

.tpd-order-form .form-control,
.tpd-order-form .form-select {
    border-color: #d6deee;
    border-radius: 10px;
    min-height: 44px;
}

.tpd-order-form textarea.form-control {
    min-height: 96px;
}

.tpd-order-form .form-control:focus,
.tpd-order-form .form-select:focus {
    border-color: #d92332;
    box-shadow: 0 0 0 0.2rem rgba(217, 35, 50, 0.12);
}

.tpd-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.tpd-choice-item {
    display: flex;
    align-items: center;
    gap: 0.48rem;
    border: 1px solid #e0e6f3;
    border-radius: 10px;
    background: #fff;
    padding: 0.52rem 0.6rem;
    margin: 0;
}

.tpd-choice-item .form-check-input {
    margin-top: 0;
}

.tpd-choice-item .form-check-label {
    font-size: 0.86rem;
    color: #2e3a54;
    line-height: 1.3;
}

.tpd-submit-btn {
    border-radius: 12px;
    font-weight: 700;
}

.tpd-related-link {
    text-decoration: none;
    color: inherit;
}

.tpd-related-card {
    border: 1px solid #e3e8f4;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tpd-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 24px rgba(15, 20, 36, 0.11);
}

.tpd-related-media {
    width: 100%;
    height: 165px;
    object-fit: cover;
    display: block;
    background: #eff2f8;
}

.tpd-related-media.is-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #798399;
    font-size: 1.45rem;
}

.tpd-related-body {
    padding: 0.8rem 0.9rem 0.95rem;
}

.tpd-related-tag {
    color: #d92332;
    font-size: 0.71rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.tpd-related-title {
    margin: 0;
    color: #171c29;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.3;
}

.tpd-related-cta {
    margin-top: 0.45rem;
    color: #455674;
    font-size: 0.82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
}

@media (min-width: 992px) {
    .category-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mini-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .top-strip .container {
        justify-content: center;
        text-align: center;
    }

    .store-hero {
        padding-top: 1.4rem;
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }

    .tpd-order-sticky {
        position: static;
    }

    .tpd-main-image-wrap {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 575.98px) {
    .hero-copy-box h1 {
        font-size: 1.85rem;
    }

    .store-product-media {
        height: 185px;
    }

    .store-hero-image {
        height: 240px;
    }

    .tpd-main {
        padding-top: 1.2rem;
    }

    .tpd-choice-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .tpd-related-media {
        height: 200px;
    }
}
