/* ============================================================
   O'BEAU — Collection styles
   ============================================================ */

/* ── Grid ── */
.obeau-grid-wrap {
    padding: 48px 0 0;
}

.obeau-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
}

@media (max-width: 1199px) { .obeau-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .obeau-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px)  { .obeau-grid { grid-template-columns: 1fr; } }

/* ── Card ── */
.obeau-card {
    background: #F5F1EA;
    display: flex;
    flex-direction: column;
    transition: background 0.3s;
}
.obeau-card:hover { background: #fff; }

/* Image */
.obeau-card__img {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    position: relative;
    flex-shrink: 0;
}
.obeau-card__img img {
    width: 100%;
    height: 100%!important;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    aspect-ratio: 4/3;
}
.obeau-card:hover .obeau-card__img img { transform: scale(1.04); }

.obeau-card__img-placeholder {
    width: 100%;
    height: 100%;
    background: #E8DED1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D8CCBD;
    font-size: 32px;
}

/* Body */
.obeau-card__body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Meta row: category + badge */
.obeau-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.obeau-card__category {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #B08A52;
}

.obeau-card__badge {
    font-family: 'Inter', sans-serif;
    font-size: 8px;
    font-weight: 300;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 3px 10px;
}
.obeau-card__badge--authentic {
    background: #2A211C;
    color: rgba(245, 241, 234, 0.7);
}
.obeau-card__badge--reproduction {
    border: 1px solid rgba(176, 138, 82, 0.3);
    color: rgba(176, 138, 82, 0.8);
}

/* Title */
.obeau-card__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    font-weight: 300;
    color: #2A211C;
    margin: 0 0 8px;
    line-height: 1.25;
}

/* Excerpt */
.obeau-card__excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #8B7B6B;
    line-height: 1.7;
    margin: 0 0 20px;
}

/* Footer: price + inquire */
.obeau-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #D8CCBD;
    margin-top: auto;
}

.obeau-card__price {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: rgba(139, 123, 107, 0.5);
    font-style: italic;
}

.obeau-card__inquire {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #2A211C;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.obeau-card__inquire:hover { color: #B08A52; }
.obeau-card__inquire span  { font-size: 14px; line-height: 1; }

/* ── Featured Pieces grid ── */
.obeau-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 1023px) { .obeau-featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px)  { .obeau-featured-grid { grid-template-columns: 1fr; } }

.obeau-card--featured {
    background: #fff;
    border: 1px solid #D8CCBD;
    transition: border-color 0.3s;
}
.obeau-card--featured:hover {
    background: #fff;
    border-color: rgba(176, 138, 82, 0.3);
}

.obeau-card__img--portrait {
    aspect-ratio: 3 / 4;
}
.obeau-card__img--portrait img {
    aspect-ratio: unset;
}

/* ── Empty state ── */
.obeau-empty {
    text-align: center;
    padding: 80px 24px;
}
.obeau-empty__text {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px;
    font-weight: 300;
    color: #8B7B6B;
    margin: 0 0 32px;
}
.obeau-empty__btn {
    display: inline-block;
    padding: 14px 32px;
    background: #2A211C;
    color: #F5F1EA;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s;
}
.obeau-empty__btn:hover { background: #B08A52; }

/* ── Pagination ── */
.obeau-pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-top: 48px;
}
.obeau-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 300;
    text-decoration: none;
    border: 1px solid #D8CCBD;
    color: #2A211C;
    transition: all 0.2s;
}
.obeau-pagination .page-numbers:hover     { background: #2A211C; color: #F5F1EA; border-color: #2A211C; }
.obeau-pagination .page-numbers.current   { background: #2A211C; color: #F5F1EA; border-color: #2A211C; }

/* ── Collection Hero ── */
.obeau-hero {
    position: relative;
    height: 50vh;
    min-height: 360px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.obeau-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}
.obeau-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(42, 33, 28, 0.62);
}
.obeau-hero__frame {
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(245, 241, 234, 0.08);
    pointer-events: none;
}
.obeau-hero__content {
    position: relative;
    padding: 0 24px;
    max-width: 700px;
}
.obeau-hero__label {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    font-weight: 300;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #B08A52;
    margin: 0 0 16px;
}
.obeau-hero__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 300;
    color: #F5F1EA;
    margin: 0 0 20px;
    letter-spacing: 0.04em;
    line-height: 1.1;
}
.obeau-hero__divider {
    width: 40px;
    height: 1px;
    background: #B08A52;
    margin: 0 auto 20px;
}
.obeau-hero__desc {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: rgba(245, 241, 234, 0.55);
    line-height: 1.7;
    margin: 0;
}

/* ── Category Nav ── */
.obeau-cat-nav {
    background: #F5F1EA;
    border-bottom: 1px solid #D8CCBD;
    position: sticky;
    top: 80px;
    z-index: 100;
    overflow-x: auto;
}
.obeau-cat-nav__inner {
    display: flex;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
}
.obeau-cat-nav__link {
    flex-shrink: 0;
    padding: 16px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
    color: #8B7B6B;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.obeau-cat-nav__link:hover  { color: #2A211C; border-bottom-color: #D8CCBD; }
.obeau-cat-nav__link--active { color: #2A211C; border-bottom-color: #B08A52; }

@media (max-width: 767px) {
    .obeau-cat-nav__inner { padding: 0 16px; }
    .obeau-cat-nav__link  { padding: 14px 12px; font-size: 9px; }
}

/* ── Categories Grid (homepage-style) ── */
.obeau-cg {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
@media (max-width: 1023px) { .obeau-cg { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px)  { .obeau-cg { grid-template-columns: 1fr; } }

.obeau-cg__item {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
}

/* Первый элемент — 2 ряда */
.obeau-cg__item--featured {
    grid-row: span 2;
}

.obeau-cg__img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    overflow: hidden;
    position: relative;
}

/* Пропорции: featured — высокий, остальные 4/3 */
.obeau-cg__item:not(.obeau-cg__item--featured) .obeau-cg__img {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: unset;
}
.obeau-cg__item--featured .obeau-cg__img {
    aspect-ratio: 3 / 4;
    height: 100%;
}
@media (min-width: 1024px) {
    .obeau-cg__item--featured .obeau-cg__img {
        aspect-ratio: unset;
        position: absolute;
        inset: 0;
        min-height: unset;
    }
    .obeau-cg__item--featured {
        min-height: 480px;
    }
}

.obeau-cg__img img {
    width: 100%;
    height: 100%!important;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.obeau-cg__item:hover .obeau-cg__img img {
    transform: scale(1.05);
}

.obeau-cg__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 50%, rgba(0,0,0,.5) 100%);
    pointer-events: none;
}

.obeau-cg__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 28px 28px;
}

.obeau-cg__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 22px;
    font-weight: 300;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.2;
}

.obeau-cg__subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: rgba(245, 241, 234, 0.55);
    margin: 0;
    line-height: 1.5;
}

.obeau-cg__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #B08A52;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.obeau-cg__item:hover .obeau-cg__cta {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 1023px) {
    .obeau-cg__cta {
        opacity: 1;
        transform: translateY(0);
    }
    .obeau-cg__subtitle {
        color: #fff;   
    }
}

/* ── What We Offer (About page) ── */
.obeau-offer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #D8CCBD;
}
@media (max-width: 767px) { .obeau-offer-grid { grid-template-columns: 1fr; } }

.obeau-offer-card {
    background: #F5F1EA;
    display: flex;
    flex-direction: column;
    transition: background 0.3s;
}

.obeau-offer-card__img {
    overflow: hidden;
    aspect-ratio: 16 / 9;
}
.obeau-offer-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.obeau-offer-card:hover .obeau-offer-card__img img { transform: scale(1.04); }

.obeau-offer-card__body {
    padding: 32px 40px 40px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.obeau-offer-card__divider {
    width: 32px;
    height: 1px;
    background: #B08A52;
    margin-bottom: 20px;
}

.obeau-offer-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.obeau-offer-card__title a:hover { color: #B08A52; }

.obeau-offer-card__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    font-weight: 300;
    color: #2A211C;
    margin: 0 0 16px;
    line-height: 1.2;
}

.obeau-offer-card__text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: #8B7B6B;
    line-height: 1.75;
    margin: 0 0 20px;
    flex: 1;
}

.obeau-offer-card__link {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #B08A52;
    text-decoration: none;
    transition: color 0.2s;
    align-self: flex-start;
}
.obeau-offer-card__link:hover { color: #2A211C; }

@media (max-width: 767px) {
    .obeau-offer-card__body { padding: 24px; }
}
