/* Dedicated WooCommerce single-product hero. */
.tgit-wc-hero {
    position: relative;
    display: flex;
    min-height: 800px;
    align-items: flex-end;
    overflow: hidden;
    background: #1e1a14;
    color: #fff;
}

.tgit-wc-hero__media,
.tgit-wc-hero__overlay,
.tgit-wc-hero__texture {
    position: absolute;
    inset: 0;
}

.tgit-wc-hero__image {
    width: 100%;
    height: 100%;
}

.tgit-wc-hero__image {
    display: block;
    object-fit: cover;
    object-position: center 42%;
    transform: scale(1.015);
    transition: transform 8s ease;
}

.tgit-wc-hero:hover .tgit-wc-hero__image {
    transform: scale(1.045);
}

.tgit-wc-hero__image--fallback {
    object-position: center center;
}

.tgit-wc-hero__overlay {
    background:
        linear-gradient(180deg, rgba(10, 12, 9, .06) 0%, rgba(10, 12, 9, .08) 43%, rgba(10, 12, 9, .84) 100%);
}

.tgit-wc-hero__texture {
    opacity: .08;
    background-image: repeating-radial-gradient(
        ellipse at 82% 115%,
        transparent 0,
        transparent 42px,
        rgba(255, 255, 255, .7) 43px,
        transparent 44px
    );
}

.tgit-wc-hero__inner {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, 1400px);
    margin: 0 auto;
    padding: clamp(8rem, 18vh, 12rem) 0 clamp(3.25rem, 7vh, 5rem);
    text-align: center;
}

.tgit-wc-hero__breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, .68);
    font-size: .75rem;
    line-height: 1.5;
}

.tgit-wc-hero__breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease;
}

.tgit-wc-hero__breadcrumb a:hover,
.tgit-wc-hero__breadcrumb a:focus-visible {
    color: #e5b643;
}

.tgit-wc-hero__breadcrumb .ti {
    color: rgba(255, 255, 255, .36);
    font-size: .7rem;
}

.tgit-wc-hero__copy {
    max-width: 980px;
    margin: 0 auto;
}

.tgit-wc-hero__title {
    max-width: 18ch;
    margin: 0 auto;
    color: #fff;
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.2;
    text-wrap: balance;
    text-shadow: 0 3px 24px rgba(0, 0, 0, .45);
}

.tgit-wc-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .65rem 1.25rem;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(.8rem, 1.2vw, .95rem);
    font-weight: 400;
    line-height: 1.4;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}

.tgit-wc-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}

.tgit-wc-hero__meta-item .ti {
    color: #e5b643;
    font-size: 1rem;
}

.tgit-wc-hero__description {
    max-width: 60ch;
    margin: 1.25rem auto 0;
    color: rgba(255, 255, 255, .8);
    font-size: clamp(.95rem, 1.5vw, 1.1rem);
    line-height: 1.7;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}

@media (min-width: 640px) {
    .tgit-wc-hero__inner {
        width: min(100% - 3rem, 1400px);
    }
}

@media (min-width: 1024px) {
    .tgit-wc-hero__inner {
        width: min(100% - 5rem, 1400px);
    }
}

@media (max-width: 639px) {
    .tgit-wc-hero {
        min-height: 560px;
    }

    .tgit-wc-hero__overlay {
        background:
            linear-gradient(180deg, rgba(10, 12, 9, .1) 0%, rgba(10, 12, 9, .25) 44%, rgba(10, 12, 9, .94) 100%);
    }

    .tgit-wc-hero__breadcrumb span[aria-current="page"] {
        max-width: 14rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tgit-wc-hero__image {
        transition: none;
    }
}
