/* Our Coffee section styles, extracted from styles.css for the shop page */
/* ── Our Coffee Section ── */
.hm-coffee {
    position: relative;
    padding: 5.5rem 2rem 5rem;
    background:
	url('../img/coffe/bg-coffe.png') top right / 70% auto no-repeat,
	linear-gradient(180deg, #efeadf 0%, #efeadf 100%);
    overflow: hidden;
}

.hm-coffee__inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

.hm-coffee__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.hm-coffee__header-left {
    /* max-width: 620px; */
}

.hm-coffee__label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #8a6520;
    margin-bottom: 1rem;
}

.hm-coffee__label i {
    display: block;
    width: 1.75rem;
    height: 1px;
    background: #a06a2e;
    font-style: normal;
}

.hm-coffee__heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-size: clamp(2.2rem, 4.2vw, 3.4rem);
    line-height: 1.15;
    color: #17331f;
    margin: 0 0 1rem;
}

.hm-coffee__video-row {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    margin: 1.25rem 0;
}

.for_video {
    flex-shrink: 0;
	width: 560px;
    aspect-ratio: 4 / 2.8999999;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #c9a84c;
    box-shadow: 0 10px 24px rgba(60,38,15,0.15);
}

.for_video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 700px) {
    .hm-coffee__video-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .for_video {
        width: 100%;
        max-width: 320px;
    }
}

.hm-coffee__heading--gold {
    color: #a97e2f;
}

.hm-coffee__header-desc {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.2rem;
    letter-spacing: 0.01em;
    color: rgba(23,51,31,0.65);
    max-width: 46ch;
    line-height: 1.6;
    margin: 0;
}

.hm-coffee__header-right {
    flex-shrink: 0;
    padding-top: 0.5rem;
    text-align: right;
}

.hm-coffee__script {
    font-family: 'Caveat', cursive;
    font-weight: 700;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.2;
    color: #1c3a28;
    margin: 0;
    position: relative;
}

.hm-coffee__script::after {
    content: '';
    display: block;
    margin: 0.5rem 0 0 auto;
    width: 4rem;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #a06a2e);
}

.hm-coffee__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.hm-coffee-card {
    background: #ede3d3;
    border-radius: 20px;
    padding: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(60,38,15,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hm-coffee-card--popular {
    box-shadow: 0 0 0 2px #c9a84c, 0 14px 30px rgba(154,111,29,0.25);
}

.hm-coffee-card__badge {
    position: absolute;
    top: 1.15rem;
    right: -2.75rem;
    z-index: 3;
    transform: rotate(45deg);
    width: 12rem;
    padding: 0.5rem 0;
    text-align: center;
    white-space: nowrap;
    background: linear-gradient(135deg, #7a5c1e 0%, #c9a84c 40%, #f5e9d8 50%, #c9a84c 60%, #7a5c1e 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #1a0e00;
}

.hm-coffee-card__badge--shift {
    right: -2.25rem;
    padding-left: 1.8rem;
}

.hm-coffee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(60,38,15,0.14);
}

.hm-coffee-card__img-wrap {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.hm-coffee-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hm-coffee-card:hover .hm-coffee-card__img-wrap img {
    transform: scale(1.05);
}

.hm-coffee-card__meta {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    pointer-events: none;
}

.hm-coffee-card__num,
.hm-coffee-card__series {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #17331f;
    text-shadow: 0 1px 3px rgba(255,255,255,0.6);
}

.hm-coffee-card__name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: #17331f;
    margin: 0 1.25rem 0.5rem;
    line-height: 1.2;
    position: relative;
    padding-bottom: 0.7rem;
}

.hm-coffee-card__name::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 1.75rem;
    height: 2px;
    background: #a06a2e;
}

.hm-coffee-card__desc {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    color: rgba(23,51,31,0.7);
    line-height: 1.5;
    margin: 0 1.25rem;
    flex: 1;
}

.hm-coffee-card__actions {
    display: flex;
    align-items: center;
    margin: 1.25rem 1.25rem 0;
}

.hm-coffee-card__read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1px solid #c9a84c;
    background: #17331f;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #f5ece0;
    white-space: nowrap;
    width: 100%;
    transition: background 0.2s, transform 0.2s;
}

.hm-coffee-card__read-more:hover {
    background: #21462b;
    transform: translateY(-1px);
}

.hm-coffee__explore {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #8a6520;
}

.hm-coffee__explore i {
    display: block;
    width: 2.5rem;
    height: 1px;
    background: #a06a2e;
    font-style: normal;
}

@media (max-width: 1100px) {
    .hm-coffee__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hm-coffee__header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2.5rem;
    }

    .hm-coffee__header-right {
        text-align: left;
        padding-top: 0;
    }

    .hm-coffee__script::after {
        margin: 0.5rem auto 0 0;
    }
}

@media (max-width: 560px) {
    .hm-coffee__grid {
        grid-template-columns: 1fr;
    }
}
