.thermo-single-share:active,
.thermo-single-share:focus,
.thermo-single-share:focus-visible {
    color: var(--thermo-dark) !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* =====================
   Single Product Page
   ===================== */
.thermo-single-page {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 50px 0px 0px;
    font-family: 'ThermoFont', sans-serif;
    box-sizing: border-box;
}

body.single-product {
    background-color: #F5F5F7 !important;
}

/* =====================
   Breadcrumbs
   ===================== */
.thermo-single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--thermo-dark);
    flex-wrap: wrap;
}

.thermo-single-breadcrumb a {
    color: var(--thermo-dark);
    text-decoration: none;
    transition: color 0.15s;
}

.thermo-single-breadcrumb a:hover {
    color: var(--thermo-dark);
}

.thermo-bc-sep {
    color: var(--thermo-dark);
    font-size: 16px;
}

.thermo-bc-current {
    color: var(--thermo-dark);
    font-weight: 600;
}

/* =====================
   Brand + SKU row
   ===================== */
.thermo-single-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.thermo-single-brand {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border: 1.5px solid var(--thermo-dark);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--thermo-dark);
}

a.thermo-single-brand {
    text-decoration: none;
    transition: all 0.15s;
}

a.thermo-single-brand:hover {
    background: var(--thermo-dark);
    color: #fff;
}

.thermo-single-sku {
    font-size: 16px;
    color: var(--thermo-dark);
}

/* =====================
   Main content layout
   ===================== */
.thermo-single-content {
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

/* =====================
   Gallery
   ===================== */
.thermo-single-main-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    border-radius: 14px;
    border: 1px solid #F3F3F3;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 16px;
}

.thermo-single-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s ease;
}

/* =====================
   Thumbs slider
   ===================== */
.thermo-single-thumbs-wrap {
    position: relative;
}

.thermo-single-thumbs {
    display: flex;
    gap: 12px;
    overflow: hidden;
    scroll-behavior: smooth;
}

.thermo-single-thumb {
    flex: 0 0 calc(50% - 6px);
    aspect-ratio: 1 / 1;
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    transition: border-color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
}

.thermo-single-thumb:hover { border-color: var(--thermo-gray-light); }
.thermo-single-thumb.is-active { border-color: var(--thermo-dark); }

.thermo-single-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.thermo-thumbs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 32px;
    height: 32px;
    border: 1.5px solid #E5E5E5;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.thermo-thumbs-prev { left: 6px; }
.thermo-thumbs-next { right: 6px; }

.thermo-thumbs-arrow:hover {
    border-color: var(--thermo-dark);
    background: var(--thermo-dark);
}

.thermo-thumbs-arrow:hover img {
    filter: brightness(0) invert(1);
}

.thermo-thumbs-arrow.is-hidden { display: none; }

.thermo-thumbs-arrow:focus,
.thermo-thumbs-arrow:focus-visible,
.thermo-thumbs-arrow:focus-within {
    outline: none !important;
    box-shadow: none !important;
    background: #fff !important;
    border-color: #E5E5E5 !important;
}

.thermo-thumbs-arrow:focus:hover,
.thermo-thumbs-arrow:focus-visible:hover {
    background: var(--thermo-dark) !important;
    border-color: var(--thermo-dark) !important;
}

/* =====================
   Info — right column
   ===================== */
.thermo-single-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.thermo-single-title {
    font-size: 25px;
    font-weight: 700;
    line-height: 35px;
    color: var(--thermo-dark);
    margin: 0;
    text-transform: uppercase;
    font-feature-settings: "case" on !important;
    -webkit-font-feature-settings: "case" on !important;
    -moz-font-feature-settings: "case" on !important;
}

/* =====================
   Price
   ===================== */
.thermo-single-price {
    font-family: 'ThermoFont', sans-serif;
    font-size: 30px;
    line-height: 45px;
    font-weight: 700;
    padding-bottom: 20px;
    border-bottom: 1px solid #DDDDDF;
}

.thermo-single-price .price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.thermo-single-price .price del .woocommerce-Price-amount {
    font-size: 30px;
    color: var(--thermo-near-black);
    opacity: 0.45;
}

.thermo-single-price .price ins { text-decoration: none; }

.thermo-single-price .price ins .woocommerce-Price-amount,
.thermo-single-price .price > .woocommerce-Price-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--thermo-dark);
}

/* =====================
   Hint
   ===================== */
.thermo-single-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 18px;
    color: #3391FE;
    font-weight: 700;
}

.thermo-single-hint img { flex-shrink: 0; }
.thermo-single-hint.is-hidden { display: none; }

/* =====================
   Attributes
   ===================== */
.thermo-single-attr-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thermo-single-attr-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--thermo-dark);
}

.thermo-single-attr-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.thermo-attr-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border: 1.5px solid #E5E5E5;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--thermo-dark);
    cursor: pointer;
    transition: all 0.15s;
    background: #fff;
    user-select: none;
}

.thermo-attr-pill:hover { border-color: var(--thermo-gray-light); }
.thermo-attr-pill.is-active { border-color: var(--thermo-dark); background: var(--thermo-dark); color: #fff; }
.thermo-attr-pill.is-disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

.thermo-attr-color {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.15s;
    padding: 2px;
}

.thermo-attr-color:hover { border-color: var(--thermo-gray-light); }
.thermo-attr-color.is-active { border-color: var(--thermo-dark); }
.thermo-attr-color.is-disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

.thermo-attr-color-circle {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    display: block;
    border: 1px solid rgba(0,0,0,0.08);
}

/* =====================
   Add to cart
   ===================== */
.thermo-single-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.thermo-single-atc {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    background: var(--thermo-dark);
    border: none;
    border-radius: 15px;
    font-family: 'ThermoFont', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.15s;
}

.thermo-single-atc:hover:not(:disabled) { background: var(--thermo-dark-hover); color: #ffffff; }
.thermo-single-atc:disabled { background: #BDC0C5; color: #9297A0; cursor: not-allowed; }
.thermo-single-atc.is-loading { opacity: 0.7; pointer-events: none; }
.thermo-single-atc.is-added { background: var(--thermo-teal); }
.thermo-single-atc.is-cart-link { cursor: pointer; }

.thermo-cart-toast {
    position: fixed;
    z-index: 999999;
    inset-inline-end: 24px;
    inset-block-end: 24px;
    max-width: min(420px, calc(100vw - 32px));
    padding: 15px 20px;
    border-radius: 10px;
    background: #152231;
    color: #fff;
    font-family: 'ThermoFont', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    box-shadow: 0 14px 34px rgba(21, 34, 49, 0.22);
    opacity: 0;
    transform: translateY(12px);
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}

.thermo-cart-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

@media (max-width: 767px) {
    .thermo-cart-toast {
        inset-inline: 16px;
        inset-block-end: 16px;
        max-width: none;
        text-align: center;
    }
}

.thermo-single-actions .thermo-single-wl-btn,
.thermo-single-wl-btn {
    flex-shrink: 0;
    width: 52px !important;
    height: 52px !important;
    padding: 0 !important;
    border: 1.5px solid #E5E5E5 !important;
    border-radius: 12px !important;
    background: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.thermo-single-wl-btn:hover { border-color: var(--thermo-red) !important; }
.thermo-single-wl-btn .wl-heart {
    stroke: var(--thermo-gray-light);
    fill: none;
    transition: stroke .15s, fill .15s;
}
.thermo-single-wl-btn.in-wl .wl-heart {
    stroke: var(--thermo-red);
    fill: var(--thermo-red);
}
.thermo-single-wl-btn.in-wl { border-color: var(--thermo-red) !important; }

.thermo-wc-form { display: none; }

/* =====================
   Footer row
   ===================== */
.thermo-single-footer-row {
    display: flex;
    align-items: center;
    gap: 24px;
    border-top: 1px solid #F2F2F2;
    padding-top: 16px;
}

.thermo-single-guarantee,
.thermo-single-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--thermo-dark);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'ThermoFont', sans-serif;
    box-shadow: none;
}

.thermo-single-share:hover { color: var(--thermo-teal); background: transparent; }

/* =====================
   Outer wrap
   ===================== */
.thermo-single-wrap {
    display: flex;
    flex-direction: column;
}

/* =====================
   About section
   ===================== */
.thermo-single-about {
    width: 100%;
    margin-top: 50px;
    margin-bottom: 60px;
    font-family: 'ThermoFont', sans-serif;
}

.thermo-single-about-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    box-sizing: border-box;
}

.thermo-single-about-header {
    border-top: 1px solid #DDDDDF;
    padding-top: 50px;
    margin-bottom: 25px;
    text-align: center;
}

.thermo-single-about-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--thermo-dark);
    margin: 0;
    text-transform: uppercase;
    font-feature-settings: "case" on;
}

.thermo-single-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: #fff;
    border-radius: 25px;
    padding: 40px;
}

.thermo-about-col-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--thermo-dark);
    margin-bottom: 40px;
}

.thermo-spec-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 0px 0px 14px 0;
}

.thermo-spec-row::after {
    display: none;
}

.thermo-spec-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--thermo-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

.thermo-spec-line {
    flex: 1;
    border-bottom: 2px dashed #D1D1D6;
    margin-bottom: 3px;
    min-width: 20px;
}

.thermo-spec-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--thermo-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

/* =====================
   Description
   ===================== */
.thermo-about-desc-body {
    font-size: 14px;
    line-height: 21px;
    color: var(--thermo-dark);
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.thermo-about-desc-body.is-expanded { max-height: 2000px; }

.thermo-desc-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    background: none;
    border: none;
    padding: 0;
    font-family: 'ThermoFont', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #3391FE;
    cursor: pointer;
}

.thermo-desc-toggle:focus,
.thermo-desc-toggle:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
    border: none !important;
    color: #3391FE !important;
}

.thermo-desc-toggle svg { transition: transform 0.2s ease; flex-shrink: 0; }
.thermo-desc-toggle.is-expanded svg { transform: rotate(180deg); }



/* =====================
   Related products
   ===================== */
.thermo-related {
    width: 100%;
    margin-top: 70px;
    margin-bottom: 60px;
    font-family: 'ThermoFont', sans-serif;
}

.thermo-related-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    box-sizing: border-box;
}

.thermo-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 25px;
	    border-bottom: 1px solid #E9E9EA;
}

.thermo-related-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--thermo-dark);
    margin: 0;
    text-transform: uppercase;
    font-feature-settings: "case" on;
}

.thermo-related-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #3391FE;
    text-decoration: none;
}

.thermo-related-more:hover {
    color: var(--thermo-teal);
}

.thermo-related-more img {
    filter: brightness(0) saturate(100%) invert(40%) sepia(100%) saturate(500%) hue-rotate(190deg);
}

/* 4 columns for related */
.thermo-related-inner ul.products {
	margin-top: 40px !important;
}

@media (min-width: 769px) and ( max-width: 1180px ) {
    .thermo-single-page,
    .thermo-single-about-inner,
    .thermo-related-inner {
        width: 100vw;
		padding-left:20px;
        padding-right: 20px;
    }
}

@media ( max-width: 1180px ) and ( min-width: 901px ) {
    .thermo-single-page {
        padding-top: 34px;
    }

    .thermo-single-content {
        grid-template-columns: minmax(0, 48%) minmax(0, 1fr);
        gap: 28px;
    }

    .thermo-single-title {
        font-size: 22px;
        line-height: 30px;
    }

    .thermo-single-price {
        font-size: 24px;
        line-height: 34px;
    }

    .thermo-single-price .price del .woocommerce-Price-amount,
    .thermo-single-price .price ins .woocommerce-Price-amount,
    .thermo-single-price .price > .woocommerce-Price-amount {
        font-size: 24px;
    }

    .thermo-single-actions {
        gap: 10px;
    }

    .thermo-single-atc {
        min-width: 0;
        padding: 15px 16px;
    }
}

@media ( max-width: 1100px ) and ( min-width: 769px ) {
    .thermo-related-inner ul.products.columns-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media ( max-width: 900px ) {
    .thermo-related-inner {
        width: calc(100vw - 32px);
    }

    .thermo-related-inner ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}



/* =====================
   Responsive
   ===================== */
@media ( max-width: 900px ) {
    .thermo-single-page {
        width: calc(100vw - 32px);
        padding: 20px 16px 40px;
    }

    .thermo-single-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .thermo-single-thumbs { flex: 1; }

    .thermo-single-about-inner {
        width: calc(100vw - 32px);
    }

    .thermo-single-about-grid {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

@media ( max-width: 600px ) {
    .thermo-single-title { font-size: 18px; }

    .thermo-single-price .price ins .woocommerce-Price-amount,
    .thermo-single-price .price > .woocommerce-Price-amount {
        font-size: 22px;
    }



    .thermo-single-page {
        padding-left: 0px;
        padding-right: 0px;
    }

    .thermo-single-actions,
    .thermo-single-footer-row,
    .thermo-related-header {
        flex-wrap: wrap;
    }

    .thermo-single-atc {
        flex-basis: calc(100% - 64px);
        padding: 14px 16px;
    }

    .thermo-single-about-grid {
        padding: 18px;
    }

    .thermo-spec-row {
        flex-wrap: wrap;
        gap: 4px 8px;
    }

    .thermo-spec-line {
        display: none;
    }
}

/* ── Stock status ──────────────────────────────────────────────────── */
.thermo-stock-status {
    display: none;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 4px;
    min-height: 20px;
}

.thermo-stock-status::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.thermo-stock-status.is-in-stock {
    display: flex;
    color: var(--thermo-teal);
}

.thermo-stock-status.is-in-stock::before {
    background-color: var(--thermo-teal);
}

.thermo-stock-status.is-out-of-stock {
    display: flex;
    color: var(--thermo-red);
}

.thermo-stock-status.is-out-of-stock::before {
    background-color: var(--thermo-red);
}
