/* ============================================================
   Romashka Birman — Frontend Portfolio Styles
   Elegant, luxury Sacred Birman cat breeding aesthetic
   Palette: warm ivory, antique gold, deep seal brown, pearl
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
    --rb-gold:        #b8963e;
    --rb-gold-light:  #d4b06a;
    --rb-gold-pale:   #f5ead0;
    --rb-ivory:       #faf7f2;
    --rb-cream:       #f0ebe1;
    --rb-seal:        #2c1f14;
    --rb-brown:       #5c3d2a;
    --rb-brown-mid:   #8a6045;
    --rb-pearl:       #ece8e0;
    --rb-white:       #ffffff;
    --rb-text:        #3a2a1e;
    --rb-text-light:  #7a6050;
    --rb-radius:      4px;
    --rb-radius-lg:   12px;
    --rb-shadow:      0 4px 24px rgba(44,31,20,.10);
    --rb-shadow-lg:   0 12px 48px rgba(44,31,20,.16);
    --rb-font-serif:  'Cormorant Garamond', Georgia, serif;
    --rb-font-sans:   'Jost', 'Helvetica Neue', sans-serif;
    --rb-transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── Shared section wrapper ──────────────────────────────────── */
.rb-section {
    font-family: var(--rb-font-sans);
    color: var(--rb-text);
    padding: 64px 0;
}

.rb-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.rb-section-eyebrow {
    display: inline-block;
    font-family: var(--rb-font-sans);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--rb-gold);
    margin-bottom: 12px;
}

.rb-section-title {
    font-family: var(--rb-font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: var(--rb-seal);
    margin: 0 0 16px;
    line-height: 1.2;
}

.rb-section-title em {
    font-style: italic;
    color: var(--rb-gold);
}

.rb-section-subtitle {
    font-size: 15px;
    color: var(--rb-text-light);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

.rb-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 20px auto 0;
    max-width: 240px;
}

.rb-divider::before,
.rb-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--rb-gold-light));
}

.rb-divider::after {
    background: linear-gradient(to left, transparent, var(--rb-gold-light));
}

.rb-divider-diamond {
    width: 6px;
    height: 6px;
    background: var(--rb-gold);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* ── Available Kittens Grid ───────────────────────────────────── */
.rb-kittens-section {
    background: var(--rb-ivory);
}

.rb-kittens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.rb-kitten-card {
    background: var(--rb-white);
    border-radius: var(--rb-radius-lg);
    overflow: hidden;
    box-shadow: var(--rb-shadow);
    transition: transform var(--rb-transition), box-shadow var(--rb-transition);
    position: relative;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.rb-kitten-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--rb-shadow-lg);
    text-decoration: none;
    color: inherit;
}

.rb-kitten-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--rb-cream);
}

.rb-kitten-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4,0,0.2,1);
}

.rb-kitten-card:hover .rb-kitten-card-image img {
    transform: scale(1.06);
}

.rb-kitten-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--rb-cream) 0%, var(--rb-pearl) 100%);
    font-size: 64px;
}

/* Availability ribbon */
.rb-availability-ribbon {
    position: absolute;
    top: 16px;
    right: 0;
    background: var(--rb-gold);
    color: var(--rb-white);
    font-family: var(--rb-font-sans);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 5px 14px 5px 10px;
    clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%);
}

.rb-availability-ribbon.rb-ribbon-reserved {
    background: var(--rb-brown-mid);
}

.rb-availability-ribbon.rb-ribbon-sold {
    background: #999;
}

/* Gender badge */
.rb-gender-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}

.rb-gender-badge.rb-male   { background: #e8f0fe; }
.rb-gender-badge.rb-female { background: #fce4ec; }

/* Card body */
.rb-kitten-card-body {
    padding: 22px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rb-kitten-name {
    font-family: var(--rb-font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--rb-seal);
    margin: 0 0 4px;
}

.rb-kitten-reg {
    font-size: 11px;
    color: var(--rb-text-light);
    margin: 0 0 14px;
    letter-spacing: .05em;
}

.rb-kitten-details {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.rb-detail-chip {
    font-size: 11px;
    font-weight: 400;
    background: var(--rb-cream);
    color: var(--rb-brown);
    border: 1px solid var(--rb-pearl);
    border-radius: 20px;
    padding: 3px 10px;
    letter-spacing: .03em;
}

.rb-kitten-price {
    margin-top: auto;
    font-family: var(--rb-font-serif);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--rb-gold);
    letter-spacing: .02em;
}

.rb-kitten-price small {
    font-size: .7em;
    color: var(--rb-text-light);
    font-family: var(--rb-font-sans);
}

.rb-kitten-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--rb-gold);
    transition: gap var(--rb-transition);
}

.rb-kitten-card:hover .rb-kitten-cta {
    gap: 10px;
}

/* ── Queens / Studs Section ──────────────────────────────────── */
.rb-cats-section {
    background: var(--rb-cream);
}

.rb-cats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.rb-cat-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0;
    background: var(--rb-white);
    border-radius: var(--rb-radius-lg);
    overflow: hidden;
    box-shadow: var(--rb-shadow);
    transition: transform var(--rb-transition), box-shadow var(--rb-transition);
}

.rb-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--rb-shadow-lg);
}

.rb-cat-card-image {
    position: relative;
    overflow: hidden;
    background: var(--rb-cream);
}

.rb-cat-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.rb-cat-card:hover .rb-cat-card-image img {
    transform: scale(1.08);
}

.rb-cat-card-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    background: linear-gradient(160deg, var(--rb-cream), var(--rb-pearl));
}

.rb-cat-card-body {
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
}

.rb-cat-name {
    font-family: var(--rb-font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--rb-seal);
    margin: 0 0 2px;
    line-height: 1.2;
}

.rb-cat-reg {
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--rb-text-light);
    margin-bottom: 12px;
}

.rb-cat-ems {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    background: var(--rb-gold-pale);
    color: var(--rb-brown);
    border: 1px solid rgba(184,150,62,.3);
    border-radius: 4px;
    padding: 2px 8px;
    margin-bottom: 10px;
    letter-spacing: .04em;
}

/* Health badges */
.rb-health-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.rb-health-badge {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rb-health-badge.rb-health-ok {
    background: #e6f4ea;
    color: #2e7d32;
}

.rb-health-badge.rb-health-unknown {
    background: #fff8e1;
    color: #f57f17;
}

.rb-health-badge.rb-health-pending {
    background: var(--rb-cream);
    color: var(--rb-text-light);
}

.rb-cat-status {
    margin-top: auto;
    font-size: 11px;
    color: var(--rb-text-light);
    font-style: italic;
}

/* ── Litters Section ─────────────────────────────────────────── */
.rb-litters-section {
    background: var(--rb-ivory);
}

.rb-litters-list {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.rb-litter-card {
    background: var(--rb-white);
    border-radius: var(--rb-radius-lg);
    box-shadow: var(--rb-shadow);
    overflow: hidden;
    transition: box-shadow var(--rb-transition);
}

.rb-litter-card:hover {
    box-shadow: var(--rb-shadow-lg);
}

.rb-litter-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--rb-pearl);
    background: linear-gradient(to right, var(--rb-cream), var(--rb-white));
}

.rb-litter-letter {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rb-gold), var(--rb-gold-light));
    color: var(--rb-white);
    font-family: var(--rb-font-serif);
    font-size: 1.8rem;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(184,150,62,.35);
}

.rb-litter-meta {
    flex: 1;
}

.rb-litter-title {
    font-family: var(--rb-font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--rb-seal);
    margin: 0 0 4px;
}

.rb-litter-parents {
    font-size: 13px;
    color: var(--rb-text-light);
    margin: 0 0 6px;
}

.rb-litter-parents strong {
    color: var(--rb-brown);
    font-weight: 500;
}

.rb-litter-date-count {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--rb-text-light);
}

.rb-litter-date-count span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rb-kitten-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 28px;
}

.rb-strip-kitten {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    transition: transform var(--rb-transition);
}

.rb-strip-kitten:hover {
    transform: translateY(-4px);
}

.rb-strip-kitten-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid var(--rb-pearl);
    transition: border-color var(--rb-transition);
}

.rb-strip-kitten:hover .rb-strip-kitten-img {
    border-color: var(--rb-gold);
}

.rb-strip-kitten-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--rb-cream);
    border: 2px dashed var(--rb-pearl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.rb-strip-kitten-name {
    font-size: 11px;
    font-weight: 400;
    text-align: center;
    color: var(--rb-text);
    max-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rb-strip-kitten-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.rb-strip-dot-available  { background: #4caf50; }
.rb-strip-dot-reserved   { background: var(--rb-gold); }
.rb-strip-dot-sold       { background: #999; }
.rb-strip-dot-breeding   { background: var(--rb-brown); }

/* ── Portfolio combined section wrapper ──────────────────────── */
.rb-portfolio {
    font-family: var(--rb-font-sans);
}

/* ── Empty state ─────────────────────────────────────────────── */
.rb-empty-state {
    text-align: center;
    padding: 64px 24px;
    color: var(--rb-text-light);
}

.rb-empty-state .rb-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
    opacity: .5;
}

.rb-empty-state p {
    font-size: 15px;
    font-style: italic;
}

/* ── Single kitten / cat page ──────────────────────────────────── */
.rb-single-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 520px;
    border-radius: var(--rb-radius-lg);
    overflow: hidden;
    box-shadow: var(--rb-shadow-lg);
    margin-bottom: 48px;
}

.rb-single-hero-image {
    position: relative;
    overflow: hidden;
}

.rb-single-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rb-single-hero-body {
    background: var(--rb-seal);
    color: var(--rb-ivory);
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rb-single-eyebrow {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--rb-gold-light);
    margin-bottom: 12px;
}

.rb-single-name {
    font-family: var(--rb-font-serif);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 300;
    color: var(--rb-white);
    margin: 0 0 4px;
    line-height: 1.1;
}

.rb-single-reg {
    font-size: 12px;
    color: rgba(255,255,255,.45);
    margin-bottom: 32px;
    letter-spacing: .06em;
}

.rb-single-facts {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rb-single-fact {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
}

.rb-single-fact-label {
    color: rgba(255,255,255,.5);
    letter-spacing: .05em;
    text-transform: uppercase;
    font-size: 10px;
}

.rb-single-fact-value {
    color: var(--rb-ivory);
    font-weight: 400;
}

.rb-single-price {
    margin-top: 28px;
    font-family: var(--rb-font-serif);
    font-size: 2.2rem;
    color: var(--rb-gold-light);
    font-weight: 300;
}

.rb-single-cta {
    display: inline-block;
    margin-top: 24px;
    background: var(--rb-gold);
    color: var(--rb-white);
    font-family: var(--rb-font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .15em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: var(--rb-radius);
    text-decoration: none;
    transition: background var(--rb-transition), transform var(--rb-transition);
    align-self: flex-start;
}

.rb-single-cta:hover {
    background: var(--rb-gold-light);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--rb-white);
}

/* ── Contact / enquiry CTA block ──────────────────────────────── */
.rb-cta-block {
    background: linear-gradient(135deg, var(--rb-seal) 0%, var(--rb-brown) 100%);
    color: var(--rb-ivory);
    text-align: center;
    padding: 72px 24px;
    margin: 48px 0 0;
}

.rb-cta-block .rb-section-eyebrow {
    color: var(--rb-gold-light);
}

.rb-cta-block .rb-section-title {
    color: var(--rb-white);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.rb-cta-block .rb-section-subtitle {
    color: rgba(255,255,255,.65);
}

.rb-cta-btn {
    display: inline-block;
    margin-top: 32px;
    background: var(--rb-gold);
    color: var(--rb-white);
    font-family: var(--rb-font-sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: 16px 40px;
    border-radius: var(--rb-radius);
    text-decoration: none;
    transition: background var(--rb-transition), box-shadow var(--rb-transition), transform var(--rb-transition);
    box-shadow: 0 4px 20px rgba(184,150,62,.4);
}

.rb-cta-btn:hover {
    background: var(--rb-gold-light);
    box-shadow: 0 8px 32px rgba(184,150,62,.6);
    transform: translateY(-3px);
    text-decoration: none;
    color: var(--rb-white);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    .rb-kittens-grid,
    .rb-cats-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .rb-cat-card {
        grid-template-columns: 100px 1fr;
    }

    .rb-single-hero {
        grid-template-columns: 1fr;
    }

    .rb-single-hero-body {
        padding: 36px 28px;
    }

    .rb-litter-header {
        flex-wrap: wrap;
    }

    .rb-section {
        padding: 48px 0;
    }

    .rb-kitten-strip {
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .rb-kittens-grid {
        grid-template-columns: 1fr;
    }

    .rb-cat-card {
        grid-template-columns: 1fr;
    }

    .rb-cat-card-image {
        height: 200px;
    }

    .rb-litter-letter {
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
}

/* Privacy price lock */
.rb-price-login {
    display: inline-block;
    font-size: 12px;
    color: #7a6050;
    background: #f5ead0;
    border: 1px dashed #b8963e;
    border-radius: 4px;
    padding: 3px 10px;
    font-style: italic;
}
