.azra-collections {
    --azra-ink: #26211d;
    --azra-muted: #756b62;
    --azra-line: #dfd4c7;
    --azra-paper: #f4efe7;
    --azra-paper-deep: #ece3d7;
    --azra-white: #ffffff;
    --azra-accent: #9a6a3a;
    --azra-accent-dark: #6f4728;
    color: var(--azra-ink);
    background: var(--azra-paper);
    max-width: 1440px;
    margin: 0 auto;
    padding: 30px 20px 80px;
    box-sizing: border-box;
}

.azra-collections *,
.azra-collections *::before,
.azra-collections *::after {
    box-sizing: border-box;
}

.azra-collections a {
    color: inherit;
    text-decoration: none;
}

.azra-collections__section-heading {
    color: var(--azra-accent-dark);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding: 0 0 16px;
    margin: 0 0 34px;
    border-bottom: 2px solid var(--azra-accent);
}

.azra-collections__section-heading p {
    margin: 0;
    font-size: clamp(1.75rem, 2.1vw, 2.35rem);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.azra-collections__section-heading span {
    flex: 0 0 auto;
    color: var(--azra-accent-dark);
    font-size: 0.75rem;
    line-height: 1.2;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.azra-collections__card {
    min-width: 0;
    background: var(--azra-white);
    color: var(--azra-ink);
    border: 1px solid rgba(111, 71, 40, 0.14);
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(62, 43, 29, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.azra-collections__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 30px rgba(62, 43, 29, 0.13);
}

.azra-collections__card--featured {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
    align-items: stretch;
    margin: 0 0 38px;
    border: 1px solid rgba(111, 71, 40, 0.18);
    box-shadow: 0 14px 34px rgba(62, 43, 29, 0.11);
}

.azra-collections__image-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #dedbd4;
}

.azra-collections__image-link--featured {
    height: 100%;
    min-height: 360px;
    aspect-ratio: auto;
}

.azra-collections__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease;
}

.azra-collections__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #d9d4ca, #f0ece4);
    color: rgba(29, 29, 27, 0.42);
    font-size: clamp(1.5rem, 3vw, 3rem);
    letter-spacing: 0.24em;
    text-indent: 0.24em;
}

.azra-collections__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(27,18,12,0.46) 0%, rgba(27,18,12,0.05) 42%, rgba(27,18,12,0) 68%);
    opacity: 0.72;
    transition: opacity 280ms ease;
    pointer-events: none;
}

.azra-collections__image-link--featured .azra-collections__shade {
    background: linear-gradient(to right, rgba(27,18,12,0.42) 0%, rgba(27,18,12,0.08) 42%, rgba(27,18,12,0) 76%);
}

.azra-collections__view-label {
    position: absolute;
    left: 16px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    color: #fff;
    background: rgba(73, 45, 25, 0.74);
    backdrop-filter: blur(2px);
    border-radius: 2px;
    font-size: 0.69rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 220ms ease, transform 220ms ease;
}

.azra-collections__view-label b {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1;
}

.azra-collections__image-link:hover .azra-collections__image,
.azra-collections__image-link:focus-visible .azra-collections__image {
    transform: scale(1.035);
}

.azra-collections__image-link:hover .azra-collections__shade,
.azra-collections__image-link:focus-visible .azra-collections__shade {
    opacity: 0.9;
}

.azra-collections__image-link:hover .azra-collections__view-label,
.azra-collections__image-link:focus-visible .azra-collections__view-label {
    background: rgba(73, 45, 25, 0.92);
    transform: translateY(-1px);
}

.azra-collections__copy {
    padding: 21px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.azra-collections__copy--featured {
    justify-content: center;
    padding: 32px 32px 34px;
}

.azra-collections__featured-kicker {
    margin: 0 0 12px;
    color: var(--azra-accent-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.azra-collections__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.azra-collections__title-row h2 {
    margin: 0;
    font-size: clamp(1.16rem, 1.3vw, 1.42rem);
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.012em;
    color: var(--azra-ink);
}

.azra-collections__title-row--featured h2 {
    font-size: clamp(1.75rem, 2.6vw, 2.55rem);
    line-height: 1.05;
}

.azra-collections__title-row h2 a {
    background-image: linear-gradient(var(--azra-accent), var(--azra-accent));
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 220ms ease;
}

.azra-collections__title-row h2 a:hover,
.azra-collections__title-row h2 a:focus-visible {
    background-size: 100% 1px;
}

.azra-collections__title-row > span {
    flex: 0 0 auto;
    color: var(--azra-accent-dark);
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    padding-top: 4px;
}

.azra-collections__title-row--featured > span {
    font-size: 0.74rem;
    padding-top: 8px;
}

.azra-collections__copy > p {
    margin: 13px 0 0;
    max-width: 50ch;
    color: var(--azra-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.azra-collections__copy--featured > p:last-of-type {
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.75;
    max-width: 40ch;
}

.azra-collections__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: var(--azra-accent-dark);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.azra-collections__cta span,
.azra-collections__custom-inner > a span {
    transition: transform 180ms ease;
}

.azra-collections__cta:hover span,
.azra-collections__cta:focus-visible span,
.azra-collections__custom-inner > a:hover span,
.azra-collections__custom-inner > a:focus-visible span {
    transform: translateX(4px);
}

.azra-collections__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 38px 30px;
    align-items: stretch;
}

.azra-collections__card--custom {
    min-height: 100%;
    background: var(--azra-paper-deep);
    border: 1px solid var(--azra-line);
    box-shadow: none;
}

.azra-collections__card--custom:hover {
    transform: none;
    box-shadow: none;
}

.azra-collections__custom-inner {
    min-height: 100%;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.azra-collections__eyebrow {
    margin: 0 0 12px;
    color: var(--azra-accent-dark);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.azra-collections__custom-inner h2 {
    margin: 0 auto 22px;
    max-width: 12ch;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.azra-collections__custom-inner > a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 6px;
    border-bottom: 1px solid var(--azra-accent);
    color: var(--azra-accent-dark);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.azra-collections a:focus-visible {
    outline: 2px solid var(--azra-accent);
    outline-offset: 3px;
}

@media (max-width: 980px) {
    .azra-collections__card--featured {
        grid-template-columns: 1fr;
    }

    .azra-collections__image-link--featured {
        min-height: 280px;
    }

    .azra-collections__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .azra-collections {
        padding: 20px 16px 54px;
    }

    .azra-collections__section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 24px;
    }

    .azra-collections__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .azra-collections__title-row {
        flex-direction: column;
        gap: 8px;
    }

    .azra-collections__copy {
        padding: 18px 18px 22px;
    }

    .azra-collections__copy--featured {
        padding: 22px 20px 24px;
    }

    .azra-collections__custom-inner {
        padding: 34px 24px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .azra-collections *,
    .azra-collections *::before,
    .azra-collections *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Critters uses the bundled deer image so its framing stays consistent even if the WooCommerce catalog changes. */
.azra-collections__image--critters {
    object-position: center 18%;
}
