/* =========================================================
   TABAK-MARKET – PFEIFENTABAK CATEGORY
   /56-pfeifentabak
   File: tm-pipe.css
   ========================================================= */


/* =========================================================
   1. BASE
   ========================================================= */

.tm-pipe-category {
    --pipe-brown: #3b281b;
    --pipe-brown-soft: #65472f;
    --pipe-gold: #a47a36;
    --pipe-gold-dark: #806029;
    --pipe-cream: #f8f4ec;
    --pipe-cream-light: #fcfaf6;
    --pipe-border: #e3d8c8;
    --pipe-text: #453d36;
    --pipe-muted: #70665d;

    width: 100%;
    margin: 28px 0 40px;
    color: var(--pipe-text);
    font-size: 15px;
    line-height: 1.75;
}

.tm-pipe-category *,
.tm-pipe-category *::before,
.tm-pipe-category *::after {
    box-sizing: border-box;
}

.tm-pipe-category p {
    margin: 0 0 16px;
    line-height: 1.75;
}

.tm-pipe-category p:last-child {
    margin-bottom: 0;
}

.tm-pipe-category h2 {
    margin: 0 0 18px;
    color: var(--pipe-brown);
    font-size: 25px;
    line-height: 1.3;
    font-weight: 700;
}

.tm-pipe-category h3 {
    margin: 0 0 9px;
    color: var(--pipe-brown);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.tm-pipe-category a {
    text-decoration: none;
}


/* =========================================================
   2. SECTIONS
   ========================================================= */

.tm-pipe-section {
    position: relative;
    margin: 0 0 28px;
    padding: 30px 32px;
    overflow: hidden;

    background: #fff;
    border: 1px solid var(--pipe-border);
    border-radius: 16px;

    box-shadow:
        0 8px 25px rgba(59, 40, 27, 0.045);
}

.tm-pipe-section::after {
    content: "";
    position: absolute;
    top: -42px;
    right: -42px;

    width: 130px;
    height: 130px;

    border: 22px solid rgba(164, 122, 54, 0.045);
    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   3. INTRO
   ========================================================= */

.tm-pipe-intro {
    background:
        linear-gradient(
            135deg,
            #fff 0%,
            var(--pipe-cream-light) 55%,
            var(--pipe-cream) 100%
        );
}


/* =========================================================
   4. SMALL SECTION LABEL
   ========================================================= */

.tm-pipe-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0 0 13px;
    padding: 5px 11px;

    color: #665535;
    background: #fffdf8;

    border: 1px solid #ded2bd;
    border-radius: 999px;

    font-size: 10px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.tm-pipe-kicker::before {
    content: "";
    width: 6px;
    height: 6px;

    flex: 0 0 6px;

    background: var(--pipe-gold);
    border-radius: 50%;
}


/* =========================================================
   5. GRIDS
   ========================================================= */

.tm-pipe-grid {
    display: grid;
    gap: 18px;
    margin-top: 24px;
}

.tm-pipe-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tm-pipe-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


/* =========================================================
   6. STANDARD CARDS
   ========================================================= */

.tm-pipe-card {
    position: relative;
    min-width: 0;
    padding: 21px 20px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fcfaf6 100%
        );

    border: 1px solid #e6ddd0;
    border-radius: 13px;

    box-shadow:
        0 5px 16px rgba(59, 40, 27, 0.04);
}

.tm-pipe-card p {
    color: var(--pipe-muted);
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   7. CATEGORY LINK CARDS
   ========================================================= */

.tm-pipe-link-card {
    display: flex;
    flex-direction: column;

    color: var(--pipe-text) !important;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.tm-pipe-link-card:hover {
    color: var(--pipe-text) !important;
    text-decoration: none;

    transform: translateY(-3px);

    border-color: #cdbb9d;

    box-shadow:
        0 10px 24px rgba(59, 40, 27, 0.09);
}

.tm-pipe-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    margin: 0 0 14px;

    color: var(--pipe-gold-dark);
    background: #f7f1e5;

    border: 1px solid #e5d7bd;
    border-radius: 50%;

    font-size: 20px;
    line-height: 1;
}

.tm-pipe-card-link {
    display: block;
    margin-top: auto;
    padding-top: 12px;

    color: #79602e;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}


/* =========================================================
   8. HIGHLIGHT SECTIONS
   ========================================================= */

.tm-pipe-highlight {
    background:
        linear-gradient(
            135deg,
            #faf6ee 0%,
            #fff 60%,
            #f7f0e4 100%
        );

    border-color: #ddcfba;
}


/* =========================================================
   9. BUTTONS
   ========================================================= */

.tm-pipe-button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 23px;
}

.tm-pipe-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 43px;
    padding: 10px 18px;

    color: #fff !important;
    background: var(--pipe-brown);

    border: 1px solid var(--pipe-brown);
    border-radius: 8px;

    font-size: 13px;
    line-height: 1.35;
    font-weight: 700;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.tm-pipe-button:hover {
    color: #fff !important;
    background: var(--pipe-brown-soft);
    border-color: var(--pipe-brown-soft);

    text-decoration: none;
    transform: translateY(-1px);
}

.tm-pipe-button-light {
    color: var(--pipe-brown) !important;
    background: #fff;
    border-color: #cdbb9d;
}

.tm-pipe-button-light:hover {
    color: var(--pipe-brown) !important;
    background: #f7f1e7;
    border-color: #bba37c;
}


/* =========================================================
   10. INFO NOTE
   ========================================================= */

.tm-pipe-note {
    position: relative;

    margin-top: 22px;
    padding: 16px 18px 16px 21px;

    color: #54493f;
    background: #faf7f1;

    border: 1px solid #e4d9ca;
    border-left: 4px solid var(--pipe-gold);
    border-radius: 9px;

    font-size: 14px;
    line-height: 1.65;
}

.tm-pipe-note strong {
    color: var(--pipe-brown);
}


/* =========================================================
   11. STRENGTH SCALE
   ========================================================= */

.tm-pipe-scale {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;

    margin-top: 23px;
}

.tm-pipe-scale-item {
    padding: 19px;

    background: #fcfaf6;
    border: 1px solid #e5dccf;
    border-radius: 11px;
}

.tm-pipe-scale-label {
    display: inline-block;

    margin-bottom: 9px;
    padding: 4px 10px;

    color: #fff;
    background: var(--pipe-brown-soft);

    border-radius: 999px;

    font-size: 11px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.tm-pipe-scale-item p {
    margin: 0;
    color: var(--pipe-muted);
    font-size: 14px;
}


/* =========================================================
   12. SELECTION CHECK GRID
   ========================================================= */

.tm-pipe-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;

    margin-top: 23px;
}

.tm-pipe-check {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 18px;

    background: rgba(255, 255, 255, 0.82);
    border: 1px solid #e3d7c6;
    border-radius: 11px;
}

.tm-pipe-check > span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    color: var(--pipe-gold-dark);
    background: #f5eddf;

    border: 1px solid #e2d1b4;
    border-radius: 50%;

    font-size: 11px;
    font-weight: 700;
}

.tm-pipe-check h3 {
    margin: 1px 0 5px;
    font-size: 16px;
}

.tm-pipe-check p {
    margin: 0;
    color: var(--pipe-muted);
    font-size: 13px;
    line-height: 1.6;
}


/* =========================================================
   13. PREMIUM BLOCK
   ========================================================= */

.tm-pipe-premium {
    background:
        linear-gradient(
            135deg,
            #3b281b 0%,
            #513824 55%,
            #65472f 100%
        );

    border-color: #3b281b;
    color: #f4ede4;
}

.tm-pipe-premium::after {
    border-color: rgba(255, 255, 255, 0.045);
}

.tm-pipe-premium h2 {
    color: #fff;
}

.tm-pipe-premium p {
    color: #eee5da;
}

.tm-pipe-premium .tm-pipe-kicker {
    color: #f0dfbe;
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.18);
}

.tm-pipe-premium .tm-pipe-kicker::before {
    background: #d2ae68;
}

.tm-pipe-premium .tm-pipe-button {
    margin-top: 7px;

    color: var(--pipe-brown) !important;
    background: #f4e7ce;
    border-color: #f4e7ce;
}

.tm-pipe-premium .tm-pipe-button:hover {
    color: var(--pipe-brown) !important;
    background: #fff4df;
    border-color: #fff4df;
}


/* =========================================================
   14. FAQ – TOGGLE
   ========================================================= */

.tm-pipe-faq-list {
    margin-top: 20px;
}

.tm-pipe-faq-item {
    margin-bottom: 10px;
    overflow: hidden;

    background: #fff;
    border: 1px solid #e4dbcf;
    border-radius: 10px;
}

.tm-pipe-faq-item:last-child {
    margin-bottom: 0;
}

.tm-pipe-faq-question {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    width: 100% !important;
    margin: 0 !important;
    padding: 16px 17px !important;

    color: var(--pipe-brown) !important;
    background: #fff !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;

    font-family: inherit;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 700;
    text-align: left;

    cursor: pointer;
}

.tm-pipe-faq-question:hover {
    background: #fcfaf6 !important;
}

.tm-pipe-faq-question > span:first-child {
    flex: 1 1 auto;
}

.tm-pipe-faq-plus {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;
    flex: 0 0 27px;

    color: var(--pipe-gold-dark);
    background: #f6f0e5;

    border: 1px solid #e6d8bf;
    border-radius: 50%;

    font-size: 19px;
    line-height: 1;
    font-weight: 400;
}

.tm-pipe-faq-item.is-open .tm-pipe-faq-plus {
    transform: rotate(45deg);
}

.tm-pipe-faq-answer {
    display: none;

    padding: 0 17px 17px;

    background: #fdfbf8;
    border-top: 1px solid #eee6dc;
}

.tm-pipe-faq-item.is-open .tm-pipe-faq-answer {
    display: block;
}

.tm-pipe-faq-answer p {
    margin: 0;
    padding-top: 15px;

    color: var(--pipe-muted);
    font-size: 14px;
    line-height: 1.7;
}

@media (max-width: 767px) {

    .tm-pipe-faq-question {
        padding: 15px !important;
    }

    .tm-pipe-faq-answer {
        padding: 0 15px 15px;
    }
}


/* =========================================================
   15. CONCLUSION
   ========================================================= */

.tm-pipe-conclusion {
    margin-bottom: 0;

    background:
        linear-gradient(
            135deg,
            #f8f3ea 0%,
            #fff 100%
        );
}

.tm-pipe-conclusion a {
    color: #745a28;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(116, 90, 40, .35);
    text-underline-offset: 3px;
}

.tm-pipe-conclusion a:hover {
    color: var(--pipe-brown);
    text-decoration-color: var(--pipe-brown);
}


/* =========================================================
   16. TABLET
   ========================================================= */

@media (max-width: 991px) {

    .tm-pipe-category {
        margin-top: 24px;
    }

    .tm-pipe-section {
        padding: 26px 25px;
    }

    .tm-pipe-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tm-pipe-grid-3 > :last-child {
        grid-column: 1 / -1;
    }

    .tm-pipe-scale {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   17. MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .tm-pipe-category {
        margin: 20px 0 30px;

        font-size: 14px;
        line-height: 1.7;
    }

    .tm-pipe-section {
        margin-bottom: 18px;
        padding: 22px 17px;

        border-radius: 12px;
    }

    .tm-pipe-section::after {
        width: 90px;
        height: 90px;

        top: -35px;
        right: -35px;

        border-width: 16px;
    }

    .tm-pipe-category h2 {
        margin-bottom: 14px;

        font-size: 21px;
        line-height: 1.32;
    }

    .tm-pipe-category h3 {
        font-size: 17px;
    }

    .tm-pipe-kicker {
        margin-bottom: 11px;

        font-size: 9px;
        letter-spacing: .05em;
    }

    .tm-pipe-grid {
        gap: 12px;
        margin-top: 19px;
    }

    .tm-pipe-grid-2,
    .tm-pipe-grid-3 {
        grid-template-columns: 1fr;
    }

    .tm-pipe-grid-3 > :last-child {
        grid-column: auto;
    }

    .tm-pipe-card {
        padding: 18px 16px;
    }

    .tm-pipe-link-card:hover {
        transform: none;
    }

    .tm-pipe-button-row {
        flex-direction: column;
        gap: 9px;

        margin-top: 19px;
    }

    .tm-pipe-button {
        width: 100%;
        min-height: 44px;

        text-align: center;
    }

    .tm-pipe-check-grid {
        grid-template-columns: 1fr;
        gap: 10px;

        margin-top: 19px;
    }

    .tm-pipe-check {
        padding: 15px;
    }

    .tm-pipe-note {
        margin-top: 18px;
        padding: 14px 14px 14px 16px;
    }

    .tm-pipe-faq summary {
        padding: 15px 46px 15px 15px;
    }

    .tm-pipe-faq details > div {
        padding: 14px 15px 16px;
    }
}


/* =========================================================
   18. VERY SMALL SCREENS
   ========================================================= */

@media (max-width: 420px) {

    .tm-pipe-section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .tm-pipe-category h2 {
        font-size: 20px;
    }

    .tm-pipe-check {
        gap: 11px;
    }

    .tm-pipe-check > span {
        width: 34px;
        height: 34px;

        flex-basis: 34px;
    }
}


/* =========================================================
   19. ACCESSIBILITY / REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .tm-pipe-link-card,
    .tm-pipe-button {
        transition: none;
    }
}

/* =========================================================
   PFEIFENTABAK – CATEGORY CARDS FINAL
   ========================================================= */

.tm-pipe-category .tm-pipe-category-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;

    padding: 21px 20px !important;
}

.tm-pipe-category .tm-pipe-category-card .tm-pipe-icon {
    display: flex !important;
    margin: 0 0 14px !important;
}

.tm-pipe-category .tm-pipe-category-card h3 {
    display: block !important;
    width: 100% !important;
    margin: 0 0 9px !important;
}

.tm-pipe-category .tm-pipe-category-card p {
    display: block !important;
    width: 100% !important;
    margin: 0 0 16px !important;
}

.tm-pipe-category .tm-pipe-category-card .tm-pipe-card-link {
    display: inline-block !important;
    width: auto !important;

    margin-top: auto !important;
    padding-top: 4px !important;

    color: #79602e !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.tm-pipe-category .tm-pipe-category-card .tm-pipe-card-link:hover {
    color: #3b281b !important;
    text-decoration: underline !important;
}

/* =========================================================
   PFEIFENTABAK FAQ – NATIVE, OHNE JAVASCRIPT
   ========================================================= */

.tm-pipe-native-faq {
    margin-top: 20px;
}

.tm-pipe-native-faq details {
    display: block !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    overflow: hidden;

    background: #fff !important;
    border: 1px solid #e4dbcf !important;
    border-radius: 10px !important;
}

.tm-pipe-native-faq summary {
    position: relative;
    display: block !important;

    padding: 16px 55px 16px 17px !important;
    margin: 0 !important;

    color: #3b281b !important;
    background: #fff !important;

    font-size: 14px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;

    list-style: none !important;
    cursor: pointer;
}

.tm-pipe-native-faq summary::-webkit-details-marker {
    display: none;
}

.tm-pipe-native-faq summary::marker {
    display: none;
    content: "";
}

.tm-pipe-native-faq summary::after {
    content: "+";

    position: absolute;
    right: 16px;
    top: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    transform: translateY(-50%);

    color: #806029;
    background: #f6f0e5;

    border: 1px solid #e6d8bf;
    border-radius: 50%;

    font-size: 19px;
    line-height: 1;
    font-weight: 400;
}

.tm-pipe-native-faq details[open] summary::after {
    content: "−";
}

.tm-pipe-native-faq details[open] summary {
    background: #fcfaf6 !important;
    border-bottom: 1px solid #eee6dc;
}

.tm-pipe-native-faq details > p {
    display: block !important;

    margin: 0 !important;
    padding: 15px 17px 17px !important;

    color: #70665d !important;
    background: #fdfbf8 !important;

    font-size: 14px !important;
    line-height: 1.7 !important;
}

@media (max-width: 767px) {
    .tm-pipe-native-faq summary {
        padding: 15px 52px 15px 15px !important;
    }

    .tm-pipe-native-faq details > p {
        padding: 14px 15px 16px !important;
    }
}

/* =========================================================
   PFEIFENTABAK – TABAKSORTEN GALERIE
   3 Bilder oben / 2 Bilder unten
   ========================================================= */

.tm-pipe-tobacco-gallery {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin: 22px 0 28px !important;
}

/* Общие настройки */
.tm-pipe-tobacco-gallery > img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    object-fit: contain !important;
    border-radius: 12px;
    box-shadow: 0 5px 16px rgba(60, 35, 15, 0.08);
}

/* Virginia / Burley / Latakia */
.tm-pipe-tobacco-gallery > img:nth-child(1),
.tm-pipe-tobacco-gallery > img:nth-child(2),
.tm-pipe-tobacco-gallery > img:nth-child(3) {
    grid-column: span 2 !important;
}

/* Black Cavendish / Orient */
.tm-pipe-tobacco-gallery > img:nth-child(4),
.tm-pipe-tobacco-gallery > img:nth-child(5) {
    grid-column: span 3 !important;
}


/* ===== MOBILE ===== */

@media (max-width: 767px) {

    .tm-pipe-tobacco-gallery {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        margin: 18px 0 22px !important;
    }

    .tm-pipe-tobacco-gallery > img:nth-child(1),
    .tm-pipe-tobacco-gallery > img:nth-child(2),
    .tm-pipe-tobacco-gallery > img:nth-child(3),
    .tm-pipe-tobacco-gallery > img:nth-child(4) {
        grid-column: span 1 !important;
    }

    .tm-pipe-tobacco-gallery > img:nth-child(5) {
        grid-column: 1 / -1 !important;
    }
}

/* =========================================================
   PFEIFENTABAK – TABAKSORTEN TEXTKARTEN
   3 oben / 2 unten
   ========================================================= */

.tm-pipe-tobacco-cards {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 24px;
}

/* erste Reihe: 3 Karten */
.tm-pipe-tobacco-cards .tm-pipe-card:nth-child(1),
.tm-pipe-tobacco-cards .tm-pipe-card:nth-child(2),
.tm-pipe-tobacco-cards .tm-pipe-card:nth-child(3) {
    grid-column: span 2;
}

/* zweite Reihe: 2 Karten */
.tm-pipe-tobacco-cards .tm-pipe-card:nth-child(4),
.tm-pipe-tobacco-cards .tm-pipe-card:nth-child(5) {
    grid-column: span 3;
}

.tm-pipe-tobacco-cards .tm-pipe-card {
    height: 100%;
}

/* Tablet */
@media (max-width: 991px) {

    .tm-pipe-tobacco-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tm-pipe-tobacco-cards .tm-pipe-card:nth-child(n) {
        grid-column: auto;
    }

    .tm-pipe-tobacco-cards .tm-pipe-card:last-child {
        grid-column: 1 / -1;
    }
}

/* Smartphone */
@media (max-width: 575px) {

    .tm-pipe-tobacco-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tm-pipe-tobacco-cards .tm-pipe-card:nth-child(n) {
        grid-column: auto;
    }
}

/* =========================================================
   PFEIFENTABAK – PREMIUM VISUAL v2
   Nur Optik – keine Änderung der Grid-Struktur
   ========================================================= */

/* ---------- BASIS-KARTEN ---------- */

.tm-pipe-category .tm-pipe-card,
.tm-pipe-category .tm-pipe-scale-item,
.tm-pipe-category .tm-pipe-check {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fffdf9 52%,
            #f8f1e7 100%
        ) !important;

    border: 1px solid #e7d7c2 !important;
    box-shadow:
        0 8px 22px rgba(70, 43, 24, 0.055),
        inset 0 1px 0 rgba(255,255,255,.9);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


/* feine goldene Linie oben */

.tm-pipe-category .tm-pipe-card::before,
.tm-pipe-category .tm-pipe-scale-item::before,
.tm-pipe-category .tm-pipe-check::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        #c79a55,
        #e5c68e,
        #c79a55,
        transparent
    );

    opacity: .65;
}


/* ---------- HOVER ---------- */

.tm-pipe-category .tm-pipe-card:hover,
.tm-pipe-category .tm-pipe-scale-item:hover,
.tm-pipe-category .tm-pipe-check:hover {
    transform: translateY(-3px);

    border-color: #d8bd96 !important;

    box-shadow:
        0 14px 30px rgba(70, 43, 24, .11),
        0 3px 8px rgba(70, 43, 24, .05);
}


/* ---------- 3 HAUPTKATEGORIEN ---------- */

.tm-pipe-category .tm-pipe-category-card {
    background:
        radial-gradient(
            circle at 90% 5%,
            rgba(218, 181, 122, .16),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fffaf2 100%
        ) !important;
}


/* Icons */

.tm-pipe-category .tm-pipe-icon {
    background:
        linear-gradient(
            145deg,
            #fffaf0,
            #f4e6cf
        ) !important;

    border: 1px solid #e3cda9 !important;

    box-shadow:
        inset 0 1px 0 #fff,
        0 4px 10px rgba(91, 55, 25, .07);
}


/* ---------- TABAKSORTEN-KARTEN ---------- */

.tm-pipe-category .tm-pipe-tobacco-cards .tm-pipe-card {
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fffdf9 58%,
            #f8eee1 100%
        ) !important;
}


/* ---------- BILDERGALERIE ---------- */

.tm-pipe-category .tm-pipe-tobacco-gallery img {
    display: block;
    border-radius: 8px;

    box-shadow:
        0 7px 18px rgba(55, 32, 17, .12);

    transition:
        transform .35s ease,
        filter .35s ease,
        box-shadow .35s ease;

    filter:
        saturate(.96)
        contrast(1.02);
}


/* Bild wird lebendiger */

.tm-pipe-category .tm-pipe-tobacco-gallery img:hover {
    transform: translateY(-4px) scale(1.015);

    filter:
        saturate(1.12)
        contrast(1.06)
        brightness(1.025);

    box-shadow:
        0 15px 30px rgba(55, 32, 17, .20);
}


/* ---------- STÄRKE LEICHT / MITTEL / STARK ---------- */

.tm-pipe-category .tm-pipe-scale-item {
    background:
        linear-gradient(
            145deg,
            #fff 0%,
            #fffaf2 100%
        ) !important;
}

.tm-pipe-category .tm-pipe-scale-label {
    box-shadow:
        0 3px 8px rgba(70, 40, 20, .12);
}


/* ---------- ORIENTIERUNG 01–04 ---------- */

.tm-pipe-category .tm-pipe-check {
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #fffaf3 100%
        ) !important;
}

.tm-pipe-category .tm-pipe-check > span {
    background:
        linear-gradient(
            145deg,
            #fff9ee,
            #f3e2c7
        ) !important;

    border: 1px solid #dec49e !important;

    box-shadow:
        inset 0 1px 0 #fff;
}


/* ---------- HINWEISBOXEN ---------- */

.tm-pipe-category .tm-pipe-note {
    position: relative;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            #fffaf1 0%,
            #fffdf9 55%,
            #f8efe2 100%
        ) !important;

    border: 1px solid #e4cfad !important;
    border-left: 4px solid #b98539 !important;

    box-shadow:
        0 6px 16px rgba(67, 42, 23, .055);
}


/* ---------- FAQ ---------- */

.tm-pipe-category .tm-pipe-faq-item {
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #fffdf9 72%,
            #f8efe2 100%
        ) !important;

    border: 1px solid #eadbc8 !important;
    border-radius: 8px !important;

    box-shadow:
        0 4px 12px rgba(65, 39, 21, .045);

    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.tm-pipe-category .tm-pipe-faq-item:hover {
    border-color: #d9bd94 !important;

    box-shadow:
        0 8px 20px rgba(65, 39, 21, .08);

    transform: translateY(-1px);
}


/* FAQ Frage */

.tm-pipe-category .tm-pipe-faq-question {
    background: transparent !important;
}


/* FAQ Plus */

.tm-pipe-category .tm-pipe-faq-plus {
    background:
        linear-gradient(
            145deg,
            #fff9ed,
            #f0dfc4
        ) !important;

    border: 1px solid #dfc59d !important;

    box-shadow:
        inset 0 1px 0 #fff,
        0 3px 7px rgba(70, 42, 22, .08);

    transition:
        transform .25s ease,
        background .25s ease;
}


/* geöffnetes FAQ */

.tm-pipe-category .tm-pipe-faq-item.is-open {
    border-color: #cfae7c !important;

    box-shadow:
        0 10px 24px rgba(65, 39, 21, .09);
}

.tm-pipe-category .tm-pipe-faq-item.is-open
.tm-pipe-faq-plus {
    transform: rotate(45deg);
}


/* ---------- BUTTONS ---------- */

.tm-pipe-category .tm-pipe-button {
    box-shadow:
        0 5px 12px rgba(55, 31, 17, .14);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.tm-pipe-category .tm-pipe-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 9px 18px rgba(55, 31, 17, .20);
}


/* ---------- KICKER ---------- */

.tm-pipe-category .tm-pipe-kicker {
    background:
        linear-gradient(
            90deg,
            #fffaf0,
            #ffffff
        ) !important;

    box-shadow:
        inset 0 0 0 1px rgba(205, 167, 108, .18);
}


/* ---------- MOBILE ---------- */

@media (max-width: 767px) {

    .tm-pipe-category .tm-pipe-card:hover,
    .tm-pipe-category .tm-pipe-scale-item:hover,
    .tm-pipe-category .tm-pipe-check:hover,
    .tm-pipe-category .tm-pipe-faq-item:hover {
        transform: none;
    }

    .tm-pipe-category .tm-pipe-tobacco-gallery img:hover {
        transform: none;
    }
}

/* =========================================================
   PFEIFENTABAK – Bilder final verfeinern
   ========================================================= */

.tm-pipe-category .tm-pipe-tobacco-gallery {
    gap: 12px !important;
}

.tm-pipe-category .tm-pipe-tobacco-gallery img {
    border-radius: 10px !important;
    overflow: hidden;
}

/* Mobile etwas kompakter */
@media (max-width: 767px) {
    .tm-pipe-category .tm-pipe-tobacco-gallery {
        gap: 8px !important;
    }
}

/* =========================================================
   PFEIFENTABAK – FAQ PLUS FIX
   gilt für alle tm-pipe Seiten
   ========================================================= */

.tm-pipe-category .tm-pipe-faq-question {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
}

.tm-pipe-category .tm-pipe-faq-plus {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 30px !important;

    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;

    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;

    padding: 0 !important;
    margin: 0 0 0 auto !important;

    border-radius: 50% !important;

    line-height: 1 !important;
}

/* geöffnet: nur Plus drehen */
.tm-pipe-category
.tm-pipe-faq-item.is-open
.tm-pipe-faq-plus {
    transform: rotate(45deg) !important;
}

/* Antwort darf Plus nicht beeinflussen */
.tm-pipe-category .tm-pipe-faq-answer {
    width: 100% !important;
}