/* =========================================================
   CaffeeMandala'D – Tricotin alkotások részletes termékoldal
   Külön CSS a tricotin-alkotasok.html oldalhoz
   ========================================================= */

.tricotin-hero {
    position: relative;
    min-height: calc(100vh - 74px);
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    padding: 46px 0 70px;
    background:
        linear-gradient(90deg, rgba(255, 248, 236, 0.95) 0%, rgba(255, 238, 204, 0.84) 36%, rgba(255, 211, 208, 0.54) 70%, rgba(236, 229, 249, 0.38) 100%),
        url("../assets/og2.jpg");
    background-size: cover;
    background-position: center center;
}

.tricotin-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 211, 111, 0.42), transparent 34%),
        radial-gradient(circle at 82% 20%, rgba(255, 154, 108, 0.20), transparent 32%),
        radial-gradient(circle at 20% 82%, rgba(189, 167, 239, 0.18), transparent 38%);
}

.tricotin-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -130px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle, rgba(255, 154, 108, 0.13) 0 1px, transparent 1px 22px),
        radial-gradient(circle, rgba(255, 211, 111, 0.30), transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.tricotin-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 0.98fr;
    gap: 74px;
    align-items: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    color: rgba(75, 51, 34, 0.72);
    font-size: 14px;
    font-weight: 800;
}

.breadcrumb a {
    color: #c26b25;
}

.breadcrumb strong {
    color: #2f2118;
}

.tricotin-title {
    max-width: 880px;
    margin-bottom: 24px;
    color: #2f2118;
    font-family: var(--font-serif);
    font-size: clamp(54px, 5.7vw, 84px);
    line-height: 1.02;
    letter-spacing: 0.1px;
    text-shadow: 0 12px 34px rgba(255, 255, 255, 0.76);
}

.tricotin-lead {
    max-width: 700px;
    margin-bottom: 34px;
    color: rgba(58, 39, 25, 0.82);
    font-size: 19px;
    line-height: 1.8;
    font-weight: 600;
}

.tricotin-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* HERO VISUAL */

.tricotin-hero-visual {
    position: relative;
    min-height: 560px;
}

.tricotin-main-photo {
    position: absolute;
    right: 0;
    top: 46px;
    overflow: hidden;
    width: min(100%, 470px);
    border: 10px solid rgba(255, 250, 242, 0.92);
    border-radius: 34px;
    box-shadow:
        0 34px 90px rgba(130, 79, 31, 0.30),
        0 0 0 1px rgba(255, 188, 135, 0.24);
    background: #fff4e4;
}

.tricotin-main-photo img {
    width: 100%;
    aspect-ratio: 4 / 4.9;
    object-fit: cover;
    filter: saturate(1.16) contrast(1.05) brightness(1.04);
}

.tricotin-small-photo {
    position: absolute;
    overflow: hidden;
    width: 210px;
    border: 8px solid rgba(255, 250, 242, 0.92);
    border-radius: 26px;
    box-shadow:
        0 22px 56px rgba(130, 79, 31, 0.24),
        0 0 0 1px rgba(255, 188, 135, 0.18);
    background: #fff4e4;
}

.tricotin-small-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    filter: saturate(1.14) contrast(1.04);
}

.photo-one {
    left: 0;
    top: 20px;
    transform: rotate(-4deg);
}

.photo-two {
    left: 36px;
    bottom: 24px;
    transform: rotate(5deg);
}

/* INTRO */

.tricotin-intro {
    background:
        linear-gradient(180deg, rgba(255, 247, 232, 0.93), rgba(255, 232, 199, 0.78)),
        url("../assets/og1.jpg");
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
}

.tricotin-intro-grid {
    display: grid;
    grid-template-columns: 1fr 0.92fr;
    gap: 68px;
    align-items: center;
}

.tricotin-intro-content p {
    max-width: 740px;
    margin-bottom: 20px;
    color: rgba(75, 51, 34, 0.78);
    font-size: 18px;
    line-height: 1.85;
    font-weight: 600;
}

.tricotin-feature-list {
    display: grid;
    gap: 20px;
}

.tricotin-feature-card {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 22px;
    align-items: start;
    padding: 30px 32px;
    border-radius: 30px;
    background: rgba(255, 250, 242, 0.90);
    border: 1px solid rgba(228, 154, 53, 0.22);
    box-shadow:
        0 22px 58px rgba(130, 79, 31, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.tricotin-feature-card:nth-child(1) {
    background:
        radial-gradient(circle at 88% 18%, rgba(236, 229, 249, 0.20), transparent 34%),
        linear-gradient(145deg, rgba(255,250,242,0.94), rgba(236,229,249,0.82));
}

.tricotin-feature-card:nth-child(2) {
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 154, 108, 0.18), transparent 34%),
        linear-gradient(145deg, rgba(255,250,242,0.94), rgba(255,211,208,0.84));
}

.tricotin-feature-card:nth-child(3) {
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 201, 95, 0.20), transparent 34%),
        linear-gradient(145deg, rgba(255,250,242,0.94), rgba(255,226,186,0.84));
}

.tricotin-feature-card span {
    display: flex;
    width: 62px;
    height: 62px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #392414;
    background: linear-gradient(135deg, #ffc95f, #ffe7a8 52%, #ffb38a);
    box-shadow: 0 16px 34px rgba(228, 154, 53, 0.28);
    font-size: 24px;
}

.tricotin-feature-card h3 {
    margin: 0 0 8px;
    color: #2f2118;
    font-size: 31px;
}

.tricotin-feature-card p {
    margin: 0;
    color: rgba(75, 51, 34, 0.76);
    font-size: 16px;
    line-height: 1.72;
    font-weight: 600;
}

/* GALLERY */

.tricotin-gallery-section {
    background:
        linear-gradient(135deg, rgba(255, 248, 236, 0.96), rgba(255, 236, 213, 0.84), rgba(255, 211, 208, 0.70));
}

.tricotin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 20px;
}

.tricotin-gallery-item {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 28px;
    border: 8px solid rgba(255, 250, 242, 0.82);
    box-shadow:
        0 24px 60px rgba(130, 79, 31, 0.22),
        0 0 0 1px rgba(255, 188, 135, 0.20);
    background: #ffe1bd;
    isolation: isolate;
}

.tricotin-gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.tricotin-gallery-item.wide {
    grid-column: span 2;
}

.tricotin-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.18) contrast(1.06) brightness(1.04);
    transition:
        transform 0.65s var(--ease),
        filter 0.45s var(--ease);
}

.tricotin-gallery-item:hover img {
    transform: scale(1.08);
    filter: saturate(1.26) contrast(1.07) brightness(1.05);
}

.tricotin-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, transparent 34%, rgba(85, 48, 21, 0.68));
    pointer-events: none;
}

.gallery-caption {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 20px;
    z-index: 2;
    color: #fffaf2;
    text-shadow: 0 3px 16px rgba(45, 28, 16, 0.72);
}

.gallery-caption span {
    display: block;
    margin-bottom: 4px;
    color: #ffe7a8;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gallery-caption strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 28px;
    line-height: 1.05;
}

/* OPTIONS */

.tricotin-options {
    background:
        linear-gradient(180deg, rgba(255, 247, 232, 0.92), rgba(255, 232, 199, 0.76));
}

.tricotin-option-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.tricotin-option-card {
    position: relative;
    overflow: hidden;
    min-height: 270px;
    padding: 34px 30px;
    border-radius: 32px;
    background: rgba(255, 250, 242, 0.90);
    border: 1px solid rgba(255, 188, 135, 0.26);
    box-shadow:
        0 22px 58px rgba(130, 79, 31, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
    transition:
        transform 0.4s var(--ease),
        box-shadow 0.4s var(--ease),
        border-color 0.4s var(--ease);
}

.tricotin-option-card:nth-child(1),
.tricotin-option-card:nth-child(4) {
    background: linear-gradient(180deg, rgba(255,250,242,0.94), rgba(236,229,249,0.82));
}

.tricotin-option-card:nth-child(2),
.tricotin-option-card:nth-child(5) {
    background: linear-gradient(180deg, rgba(255,250,242,0.94), rgba(255,211,208,0.84));
}

.tricotin-option-card:nth-child(3),
.tricotin-option-card:nth-child(6) {
    background: linear-gradient(180deg, rgba(255,250,242,0.94), rgba(255,226,186,0.84));
}

.tricotin-option-card:hover {
    transform: translateY(-9px);
    border-color: rgba(212, 108, 47, 0.38);
    box-shadow: 0 34px 82px rgba(130, 79, 31, 0.24);
}

.option-icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    border-radius: 50%;
    color: #392414;
    background: linear-gradient(135deg, #ffc95f, #ffe7a8 52%, #ffb38a);
    box-shadow: 0 16px 34px rgba(228, 154, 53, 0.30);
    font-size: 23px;
}

.tricotin-option-card h3 {
    margin-bottom: 12px;
    color: #2f2118;
    font-size: 31px;
    line-height: 1.06;
}

.tricotin-option-card p {
    color: rgba(75, 51, 34, 0.76);
    font-size: 16px;
    line-height: 1.72;
    font-weight: 600;
}

/* ORDER */

.tricotin-order {
    background:
        linear-gradient(90deg, rgba(255, 248, 236, 0.92), rgba(255, 238, 213, 0.80), rgba(255, 222, 194, 0.72)),
        url("../assets/og3.jpg");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.tricotin-order-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: start;
}

.tricotin-order-content .section-lead {
    margin-inline: 0;
}

.tricotin-order-steps {
    display: grid;
    gap: 18px;
}

.order-step {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 22px;
    align-items: start;
    padding: 26px 28px;
    border-radius: 26px;
    background: rgba(255, 250, 242, 0.88);
    border: 1px solid rgba(255, 188, 135, 0.24);
    box-shadow:
        0 20px 54px rgba(130, 79, 31, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.order-step span {
    display: inline-flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #392414;
    background: linear-gradient(135deg, #ffc95f, #ffe7a8 52%, #ffb38a);
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(228, 154, 53, 0.28);
}

.order-step h3 {
    margin-bottom: 8px;
    color: #2f2118;
    font-size: 28px;
}

.order-step p {
    color: rgba(75, 51, 34, 0.76);
    font-weight: 600;
}

/* FINAL CTA */

.tricotin-final {
    padding-bottom: 90px;
    background:
        linear-gradient(180deg, rgba(255, 244, 226, 0.66), rgba(255, 226, 206, 0.60)),
        url("../assets/og2.jpg");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
}

.tricotin-final-card {
    position: relative;
    overflow: hidden;
    max-width: 1120px;
    margin-inline: auto;
    padding: 78px 72px;
    border-radius: 40px;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(255, 246, 226, 0.90) 0%, rgba(255, 204, 111, 0.74) 34%, rgba(255, 154, 108, 0.42) 68%, rgba(236, 229, 249, 0.40) 100%),
        url("../assets/og1.jpg");
    background-size: cover;
    background-position: center center;
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow:
        0 36px 96px rgba(130, 79, 31, 0.30),
        inset 0 1px 0 rgba(255,255,255,0.62);
}

.tricotin-final-card::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -140px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background:
        repeating-radial-gradient(circle, rgba(75, 51, 34, 0.12) 0 1px, transparent 1px 22px),
        radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 68%);
    pointer-events: none;
}

.tricotin-final-card > * {
    position: relative;
    z-index: 2;
}

.tricotin-final-card h2 {
    max-width: 850px;
    margin: 0 auto 22px;
    color: #2f2118;
    font-family: var(--font-serif);
    font-size: clamp(44px, 5vw, 72px);
    line-height: 1.05;
    text-shadow: 0 8px 26px rgba(255,255,255,0.52);
}

.tricotin-final-card p {
    max-width: 740px;
    margin: 0 auto 32px;
    color: rgba(58, 39, 25, 0.82);
    font-size: 18px;
    line-height: 1.8;
    font-weight: 600;
}

.tricotin-final-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.main-nav .active-link {
    color: #d46c2f !important;
}

/* RESPONSIVE */

@media (max-width: 1150px) {
    .tricotin-hero-grid,
    .tricotin-intro-grid,
    .tricotin-order-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .tricotin-hero-content,
    .tricotin-intro-content,
    .tricotin-order-content {
        text-align: center;
    }

    .tricotin-lead,
    .tricotin-order-content .section-lead {
        margin-inline: auto;
    }

    .tricotin-hero-actions,
    .tricotin-final-buttons {
        justify-content: center;
    }

    .tricotin-hero-visual {
        min-height: 600px;
        max-width: 650px;
        margin-inline: auto;
        width: 100%;
    }

    .tricotin-main-photo {
        right: 30px;
    }

    .tricotin-option-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tricotin-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tricotin-gallery-item.large,
    .tricotin-gallery-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 900px) {
    .tricotin-hero {
        min-height: auto;
        padding: 64px 0 92px;
    }

    .tricotin-title {
        font-size: clamp(44px, 9vw, 64px);
    }

    .tricotin-lead {
        font-size: 17px;
    }

    .tricotin-intro,
    .tricotin-order,
    .tricotin-final {
        background-attachment: scroll;
    }

    .tricotin-hero-visual {
        min-height: auto;
        display: grid;
        gap: 18px;
    }

    .tricotin-main-photo,
    .tricotin-small-photo {
        position: relative;
        inset: auto;
        transform: none;
        width: min(100%, 430px);
        margin-inline: auto;
    }

    .tricotin-small-photo {
        width: min(100%, 310px);
    }

    .tricotin-gallery-grid {
        grid-auto-rows: 260px;
    }

    .tricotin-final-card {
        padding: 56px 32px;
    }
}

@media (max-width: 650px) {
    .tricotin-hero {
        padding: 52px 0 82px;
    }

    .breadcrumb {
        justify-content: center;
        font-size: 13px;
    }

    .tricotin-title {
        font-size: clamp(39px, 12vw, 52px);
    }

    .tricotin-lead {
        font-size: 16px;
        line-height: 1.72;
    }

    .tricotin-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .tricotin-main-photo {
        border-width: 7px;
        border-radius: 28px;
    }

    .tricotin-small-photo {
        display: none;
    }

    .tricotin-feature-card,
    .order-step {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .tricotin-feature-card span,
    .order-step span {
        margin-inline: auto;
    }

    .tricotin-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 280px;
    }

    .tricotin-option-grid {
        grid-template-columns: 1fr;
    }

    .tricotin-option-card {
        min-height: auto;
        text-align: center;
    }

    .tricotin-final-card {
        padding: 48px 24px;
        border-radius: 30px;
    }

    .tricotin-final-card h2 {
        font-size: clamp(38px, 11vw, 52px);
    }

    .tricotin-final-card p {
        font-size: 16px;
    }

    .tricotin-final-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}