/* css/home-custom.css */
:root {
    --gg-bg: #fbf7f4;
    --gg-surface: #ffffff;
    --gg-blush: #f7dce3;
    --gg-rose: #d97b93;
    --gg-ink: #241b1e;
    --gg-muted: #6e5d63;
    --gg-border: rgba(36, 27, 30, 0.08);
    --gg-radius: 22px;
}

.glowly-home {
    background: var(--gg-bg);
    color: var(--gg-ink);
    font-family: inherit;
    overflow-x: hidden;
}

.gg-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.gg-eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gg-rose);
    font-weight: 700;
    margin-bottom: 10px;
}

/* Hero + Watermark */
.gg-hero {
    position: relative;
    padding: 64px 0 44px;
    background: linear-gradient(180deg, #fdf3f5 0%, var(--gg-bg) 100%);
}

.gg-watermark {
    position: absolute;
    top: 26px;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(3.2rem, 11vw, 9.5rem);
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
    color: rgba(217, 123, 147, 0.09);
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.gg-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 36px;
    align-items: center;
}

.gg-hero-copy h1 {
    font-size: clamp(2.1rem, 4.2vw, 3.5rem);
    line-height: 1.08;
    margin: 0 0 16px;
    font-weight: 700;
}

.gg-hero-copy p {
    color: var(--gg-muted);
    font-size: 1rem;
    line-height: 1.65;
    max-width: 480px;
    margin: 0 0 24px;
}

.gg-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.gg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.gg-btn-primary {
    background: var(--gg-ink);
    color: #fff;
}

.gg-btn-primary:hover {
    background: var(--gg-rose);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(217, 123, 147, 0.3);
}

.gg-btn-ghost {
    background: transparent;
    color: var(--gg-ink);
    border: 1px solid var(--gg-border);
}

.gg-btn-ghost:hover {
    background: #fff;
}

.gg-hero-frame {
    border-radius: var(--gg-radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 45px rgba(36, 27, 30, 0.08);
    aspect-ratio: 16 / 10;
}

.gg-hero-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Promo Strip */
.gg-banner-strip {
    padding: 20px 0 36px;
}

.gg-promo-card {
    position: relative;
    border-radius: var(--gg-radius);
    overflow: hidden;
    min-height: 240px;
    max-height: 340px;
    display: flex;
    align-items: center;
}

.gg-promo-card img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    display: block;
}

.gg-promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 18, 22, 0.72) 0%, rgba(28, 18, 22, 0.25) 65%, transparent 100%);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.gg-promo-overlay span {
    font-size: 11px;
    letter-spacing: 0.16em;
    opacity: 0.9;
    margin-bottom: 6px;
}

.gg-promo-overlay h2 {
    margin: 0 0 12px;
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
}

.gg-link-arrow {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}

/* 5-Column Shelf + Coloured Hover Glow */
.gg-shelf-section {
    padding: 36px 0 64px;
}

.gg-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 28px;
}

.gg-section-head h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
}

.gg-view-all {
    color: var(--gg-ink);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid var(--gg-rose);
    padding-bottom: 2px;
}

.gg-product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.gg-product-card {
    position: relative;
    background: var(--gg-surface);
    border: 1px solid var(--gg-border);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.gg-glow-backdrop {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 0;
    height: 55%;
    background: var(--card-glow, #f6d5dc);
    border-radius: 24px 24px 0 0;
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 0;
}

.gg-product-card:hover .gg-glow-backdrop {
    opacity: 0.65;
    transform: translateY(0);
}

.gg-product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 34px rgba(36, 27, 30, 0.08);
}

.gg-badge,
.gg-img-wrap,
.gg-card-meta {
    position: relative;
    z-index: 1;
}

.gg-badge {
    align-self: flex-start;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: #fdf0f4;
    color: var(--gg-rose);
    padding: 4px 10px;
    border-radius: 999px;
}

.gg-img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    margin: 12px 0;
}

.gg-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.gg-product-card:hover .gg-img-wrap img {
    transform: scale(1.07) translateY(-4px);
}

.gg-card-meta h3 {
    margin: 0 0 10px;
    font-size: 0.98rem;
    font-weight: 600;
}

.gg-card-meta h3 a {
    color: inherit;
    text-decoration: none;
}

.gg-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gg-price {
    font-weight: 700;
    font-size: 0.96rem;
}

.gg-add-btn {
    background: var(--gg-ink);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.gg-add-btn:hover {
    background: var(--gg-rose);
}

/* Split Section */
.gg-split-section {
    padding: 16px 0 76px;
}

.gg-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--gg-border);
    border-radius: var(--gg-radius);
    padding: 24px;
}

.gg-split-media {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.gg-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gg-split-content h2 {
    margin: 0 0 14px;
    font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.gg-split-content p {
    color: var(--gg-muted);
    line-height: 1.65;
    margin: 0 0 22px;
}

@media (max-width: 1100px) {
    .gg-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .gg-hero-inner,
    .gg-split-grid {
        grid-template-columns: 1fr;
    }
    .gg-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .gg-product-grid {
        grid-template-columns: 1fr;
    }
}