/* Main page styles */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700;800;900&display=swap");

:root {
    --navy: #102a43;
    --navy-2: #1c4966;
    --gold: #d49a2d;
    --gold-2: #f0c15a;
    --green: #4f8f7a;
    --mint: #e8f5ef;
    --paper: #fff9ee;
    --cream: #f8f4ec;
    --line: #e7dcc8;
    --text: #152033;
    --muted: #657083;
    --teal: #1f9a8a;
    --coral: #ef7d5c;
    --white: #ffffff;
    --shadow: 0 22px 55px rgba(16, 42, 67, .13);
    --shadow-strong: 0 28px 70px rgba(16, 42, 67, .2);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Cairo", "Tahoma", "Arial", sans-serif;
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(31, 154, 138, .08), transparent 32%),
        linear-gradient(225deg, rgba(239, 125, 92, .07), transparent 34%),
        var(--cream);
    line-height: 1.75;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

.page {
    margin: 0 auto;
    background:
        linear-gradient(180deg, #fffdf8 0%, #f8f4ec 46%, #fffaf2 100%);
    min-height: 100vh;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(16, 39, 68, .06);
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 252, 246, .82);
    border-bottom: 1px solid rgba(231, 220, 200, .78);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 28px rgba(16, 42, 67, .05);
}

.nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 900;
    font-size: clamp(1.45rem, 2vw, 1.95rem);
    white-space: nowrap;
}

.brand .star {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--gold-2), var(--gold));
    clip-path: polygon(50% 0%, 63% 34%, 98% 35%, 70% 56%, 79% 91%, 50% 70%, 21% 91%, 30% 56%, 2% 35%, 37% 34%);
    filter: drop-shadow(0 8px 12px rgba(212, 154, 45, .28));
    animation: starPulse 3.4s ease-in-out infinite;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #263249;
    font-weight: 700;
    font-size: .98rem;
}

.nav-links a {
    position: relative;
    transition: color .2s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    transition: width .25s ease;
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn {
    font-size: 14px;
    border: 0;
    border-radius: 999px;
    min-height: 46px;
    padding: 11px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 900;
    letter-spacing: 0;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-2), var(--gold) 58%, #bd7528);
    color: #fff;
    box-shadow: 0 14px 26px rgba(201, 145, 47, .3);
}

.btn-dark {
    background: linear-gradient(135deg, var(--navy-2), var(--navy));
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--navy);
    border: 1px solid rgba(31, 154, 138, .35);
}

.menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    font-size: 1.4rem;
}

.hero {
    position: relative;
    padding: 66px 0 44px;
    background:
        linear-gradient(90deg, rgba(31, 154, 138, .08) 1px, transparent 1px) 0 0 / 34px 34px,
        linear-gradient(180deg, #fffdf9 0%, #f8f1e5 100%);
}

.hero::after {
    display: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr .93fr;
    align-items: center;
    gap: 46px;
}

.hero-grid>div:first-child {
    animation: slideUp .72s ease both;
}

.hero h1 {
    color: var(--navy);
    margin: 0;
    font-size: clamp(2.45rem, 5.4vw, 4.35rem);
    line-height: 1.08;
    font-weight: 900;
    letter-spacing: 0;
    max-width: 760px;
}

.hero p {
    max-width: 610px;
    margin: 22px 0 0;
    color: #394358;
    font-size: clamp(1.06rem, 1.45vw, 1.24rem);
    font-weight: 700;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 22px 0;
}

.tag {
    min-width: 94px;
    padding: 7px 15px;
    border: 1px solid rgba(31, 154, 138, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    text-align: center;
    font-weight: 800;
    color: var(--navy);
    box-shadow: 0 8px 20px rgba(16, 42, 67, .06);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-media {
    position: relative;
    min-height: 420px;
    border-radius: 32px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-strong);
    border: 9px solid #fffdf7;
    animation: mediaFloat 6s ease-in-out infinite, slideUp .78s .08s ease both;
}

.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(251, 248, 240, .02), rgba(255, 255, 255, .34)),
        linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, .42) 48%, transparent 58%);
    transform: translateX(80%);
    animation: shine 4.8s ease-in-out infinite;
    pointer-events: none;
}

.floating-star {
    position: absolute;
    right: 48%;
    bottom: 18px;
    color: var(--gold);
    font-size: 2.2rem;
    font-weight: 900;
    animation: starDrift 3.2s ease-in-out infinite;
}

.audience {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 34px;
}

.audience-card,
.service-card,
.program-card,
.product-card,
.consult-card {
    background: var(--white);
    border: 1px solid rgba(231, 220, 200, .9);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(16, 39, 68, .06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.audience-card:hover,
.service-card:hover,
.program-card:hover,
.product-card:hover,
.consult-card:hover {
    transform: translateY(-8px);
    border-color: rgba(31, 154, 138, .32);
    box-shadow: var(--shadow);
}

.audience-card {
    padding: 22px 18px;
    text-align: center;
    min-height: 150px;
}

.icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff9f5, #fff4dd);
    color: var(--teal);
    box-shadow: inset 0 0 0 1px rgba(31, 154, 138, .08);
}

.icon svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.8;
}

.audience-card h3,
.service-card h3,
.program-card h3,
.consult-card h3 {
    margin: 0;
    color: var(--navy);
    font-size: 1.22rem;
    line-height: 1.35;
}

.audience-card p,
.service-card p,
.program-card p,
.consult-card p,
.product-card p {
    margin: 6px 0 20px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.section {
    padding: 58px 0;
}

.section-title {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 28px;
}

.section-title h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.85rem, 3.2vw, 2.7rem);
    line-height: 1.22;
    font-weight: 900;
}

.section-title p {
    margin: 8px 0 0;
    color: var(--muted);
    font-weight: 600;
    font-size: 1.05rem;
}

.star-dot {
    color: var(--gold);
    font-weight: 900;
}

.services {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 265px;
    padding: 22px 16px;
    background: rgba(255, 255, 255, .9);
    text-align: center;
}

.service-icon {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 14px;
    transition: transform .35s ease, filter .35s ease;
}

.service-card:hover .service-icon,
.program-card:hover figure,
.product-card:hover {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.04);
}

.service-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
}

.outline {
    margin-top: auto;
    border: 1px solid #94a285;
    background: #fff;
    color: var(--green);
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 800;
    transition: background .22s ease, color .22s ease, border-color .22s ease;
}

.outline:hover {
    background: var(--teal);
    border-color: var(--teal);
    color: #fff;
}

.program-wrap {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 22px;
    align-items: stretch;
}

.program-intro {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
        linear-gradient(135deg, rgba(31, 154, 138, .1), transparent 46%),
        #fff;
}

.program-intro h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.18;
}

.program-intro p {
    color: #4f5c70;
    font-weight: 600;
}

.programs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.program-card {
    overflow: hidden;
}

.program-card figure {
    margin: 0;
    position: relative;
    height: 300px;
    background: var(--mint) url("img.jpeg") center / 230% auto no-repeat;
    transition: transform .35s ease, filter .35s ease;
}

.program-card:nth-child(1) figure {
    background: #fff url("assets/images/intelijan-money.jpg") center / contain no-repeat;
}

.program-card:nth-child(2) figure {
    background: #fff url("assets/images/skills.jpg") center / contain no-repeat;
}

.program-card:nth-child(3) figure {
    background-position: 36% 50%;
}

.age {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fff;
    color: var(--navy);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .8rem;
    font-weight: 900;
    box-shadow: 0 8px 16px rgba(16, 42, 67, .12);
}

.program-card .body {
    padding: 16px;
    text-align: center;
}

.products {
    display: grid;
    grid-template-columns: .58fr 1.42fr;
    gap: 22px;
    align-items: center;
}

.product-copy h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.18;
}

.shelf {
    background:
        linear-gradient(180deg, rgba(31, 154, 138, .08), transparent 30%),
        #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--shadow);
}

.shelf-title {
    text-align: center;
    color: var(--navy);
    margin: 0 0 14px;
    font-weight: 900;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.product-card {
    aspect-ratio: 3 / 4;
    display: grid;
    place-items: end center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--mint);
    transform-origin: center;
}

.product-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.product-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(180deg, transparent, rgba(16, 39, 68, .68));
    z-index: 1;
}

.product-card:hover img {
    transform: scale(1.05);
}

.product-card strong {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
    font-size: .9rem;
    text-align: center;
    line-height: 1.35;
    z-index: 2;
    padding: 8px;
}

.help {
    background:
        linear-gradient(135deg, rgba(31, 154, 138, .13), rgba(239, 125, 92, .08)),
        #ecf4eb;
    padding: 58px 0;
}

.help-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 26px;
    align-items: center;
}

.help-photo {
    position: relative;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
}

.help-photo img,
.band-photo img {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.help h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2rem, 3.2vw, 2.85rem);
    line-height: 1.18;
}

.consults {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.consult-card {
    padding: 18px;
    text-align: center;
}

.institutions {
    padding: 30px 0 44px;
}

.institution-band {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 28px;
    align-items: center;
    background: var(--navy);
    color: #fff;
    border-radius: 8px;
    padding: 28px;
    box-shadow: var(--shadow-strong);
    position: relative;
    overflow: hidden;
}

.institution-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(31, 154, 138, .24) 1px, transparent 1px) 0 0 / 36px 36px,
        linear-gradient(135deg, rgba(240, 193, 90, .18), transparent 42%);
    pointer-events: none;
}

.institution-band>* {
    position: relative;
    z-index: 1;
}

.band-photo {
    position: relative;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.institution-band h2 {
    margin: 0;
    font-size: clamp(2rem, 3.1vw, 2.75rem);
    line-height: 1.18;
}

.institution-band p {
    color: #dce5ef;
    margin: 10px 0 18px;
}

.band-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.band-options div {
    border: 1px solid rgba(227, 184, 94, .65);
    border-radius: 8px;
    padding: 14px 10px;
    text-align: center;
    color: #fff6dc;
    font-weight: 800;
    background: rgba(255, 255, 255, .06);
    backdrop-filter: blur(8px);
}

.footer {
    background:
        linear-gradient(135deg, rgba(31, 154, 138, .12), transparent 42%),
        linear-gradient(225deg, rgba(240, 193, 90, .18), transparent 38%),
        #fffaf1;
    border-top: 1px solid var(--line);
    padding: 42px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .9fr .9fr 1.05fr;
    gap: 28px;
    align-items: start;
}

.footer-brand p {
    max-width: 310px;
    margin: 12px 0 0;
}

.footer h3 {
    color: var(--navy);
    margin: 0 0 12px;
    font-size: 1.08rem;
}

.footer p,
.footer a,
.footer li {
    color: #5e6676;
    font-size: .94rem;
}

.footer a {
    transition: color .22s ease, transform .22s ease, background .22s ease;
}

.footer a:hover {
    color: var(--teal);
}

.footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer li+li {
    margin-top: 8px;
}

.footer-contact {
    margin: 0 0 12px;
    font-weight: 800;
}

.footer-contact a {
    color: var(--navy);
}

.social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.social a,
.qr {
    display: grid;
    place-items: center;
    color: var(--green);
    font-weight: 900;
}

.social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--mint);
    border: 1px solid rgba(31, 154, 138, .18);
    box-shadow: 0 10px 20px rgba(16, 42, 67, .08);
}

.social a:hover {
    background: var(--teal);
    color: #fff;
    transform: translateY(-3px);
}

.social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.qr {
    width: 84px;
    height: 84px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, #111 10px, transparent 10px) 0 0 / 20px 20px,
        linear-gradient(#111 10px, transparent 10px) 0 0 / 20px 20px,
        #fff;
    border: 8px solid #fff;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 16px;
    border-top: 1px solid rgba(231, 220, 200, .9);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #6c7482;
    font-size: .88rem;
}

.reveal {
    opacity: 0;
    transform: translateY(24px) scale(.98);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.toast {
    animation: toastIn .24s ease both;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mediaFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes shine {

    0%,
    55% {
        transform: translateX(82%);
    }

    75%,
    100% {
        transform: translateX(-82%);
    }
}

@keyframes starPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.08) rotate(8deg);
    }
}

@keyframes starDrift {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-12px) rotate(14deg);
    }
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 980px) {
    .menu-btn {
        display: grid;
        place-items: center;
    }

    .nav-links {
        position: absolute;
        inset: 74px 16px auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
        padding: 8px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px;
        border-radius: 8px;
    }

    .nav-links a:hover {
        background: var(--mint);
    }

    .nav-actions .btn {
        display: none;
    }

    .hero-grid,
    .program-wrap,
    .products,
    .help-grid,
    .institution-band,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .audience {
        grid-template-columns: repeat(2, 1fr);
    }

    .services {
        grid-template-columns: repeat(2, 1fr);
    }

    .programs,
    .consults {
        grid-template-columns: 1fr;
    }

    .help .btn-primary {
        width: 100%;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .band-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 22px, 1120px);
    }

    .hero {
        padding-top: 34px;
    }

    .hero-media {
        min-height: unset;
        aspect-ratio: 16 / 9;
    }

    .audience,
    .services,
    .product-grid,
    .band-options {
        grid-template-columns: 1fr;
    }

    .program-card figure {
        height: 175px;
    }

    .product-card {
        aspect-ratio: 5 / 3;
    }

    .institution-band,
    .shelf,
    .program-intro {
        padding: 18px;
    }
}

/* Product details page styles */
body.product-detail-page {
    margin: 0;
    font-family: "Cairo", "Tahoma", "Arial", sans-serif;
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(31, 154, 138, .1), transparent 34%),
        linear-gradient(225deg, rgba(239, 125, 92, .08), transparent 36%),
        var(--cream);
    line-height: 1.75;
}

body.product-detail-page a {
    color: inherit;
    text-decoration: none;
}

body.product-detail-page .page {
    min-height: 100vh;
    background: linear-gradient(180deg, #fffdf8 0%, #f8f4ec 54%, #fffaf2 100%);
}

body.product-detail-page .container {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
}

body.product-detail-page .topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 252, 246, .86);
    border-bottom: 1px solid rgba(231, 220, 200, .78);
    backdrop-filter: blur(18px);
}

body.product-detail-page .nav {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

body.product-detail-page .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 900;
    font-size: clamp(1.35rem, 2vw, 1.85rem);
}

body.product-detail-page .star {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gold);
}

body.product-detail-page .star::before {
    content: "★";
    color: #fff;
    font-size: 18px;
}

body.product-detail-page .back-link {
    color: var(--teal);
    font-weight: 900;
}

body.product-detail-page .hero {
    padding: 46px 0 62px;
}

body.product-detail-page .detail-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 34px;
    align-items: center;
}

body.product-detail-page .media-panel {
    position: relative;
    min-height: unset;
    aspect-ratio: 1/1;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    border: 10px solid #fffdf7;
    box-shadow: var(--shadow-strong);
}

body.product-detail-page .media-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.product-detail-page .content-panel {
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(231, 220, 200, .95);
    border-radius: 16px;
    padding: clamp(24px, 4vw, 44px);
    box-shadow: var(--shadow);
}

body.product-detail-page .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    font-weight: 900;
    background: var(--mint);
    border-radius: 999px;
    padding: 7px 13px;
    margin-bottom: 14px;
}

body.product-detail-page h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(2.2rem, 5vw, 4.2rem);
    line-height: 1.08;
    font-weight: 900;
}

body.product-detail-page .summary {
    color: #4f5c70;
    font-weight: 700;
    font-size: 1.08rem;
    margin: 18px 0 0;
}

body.product-detail-page .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

body.product-detail-page .tag {
    border: 1px solid rgba(31, 154, 138, .24);
    background: #fff;
    color: var(--teal);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: .92rem;
    font-weight: 900;
}

body.product-detail-page .info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 22px 0;
}

body.product-detail-page .info-card {
    border: 1px solid rgba(231, 220, 200, .95);
    border-radius: 12px;
    padding: 14px;
    background: #fffaf1;
}

body.product-detail-page .info-card strong {
    display: block;
    color: var(--navy);
    margin-bottom: 4px;
}

body.product-detail-page .info-card span {
    color: var(--muted);
    font-weight: 700;
    font-size: .94rem;
}

body.product-detail-page .features {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.product-detail-page .features li {
    position: relative;
    padding: 8px 26px 8px 0;
    color: #344054;
    font-weight: 700;
}

body.product-detail-page .features li::before {
    content: "★";
    position: absolute;
    right: 0;
    top: 8px;
    color: var(--gold);
    font-size: .78rem;
}

body.product-detail-page .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

body.product-detail-page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 900;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

body.product-detail-page .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(16, 42, 67, .14);
}

body.product-detail-page .btn-primary {
    background: var(--teal);
    color: #fff;
}

body.product-detail-page .btn-light {
    background: #fff;
    color: var(--green);
    border: 1px solid rgba(31, 154, 138, .22);
}

body.product-detail-page .more {
    padding: 0 0 54px;
}

body.product-detail-page .more h2 {
    margin: 0 0 16px;
    color: var(--navy);
    font-size: 1.6rem;
}

body.product-detail-page .mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

body.product-detail-page .mini-card {
    min-height: 240px;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: end;
    color: #fff;
    font-weight: 900;
    background: var(--navy);
    overflow: hidden;
    position: relative;
    box-shadow: 0 14px 30px rgba(16, 42, 67, .12);
}

body.product-detail-page .mini-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .82;
}

body.product-detail-page .mini-card::after {
    content: "";
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(180deg, transparent, rgba(16, 39, 68, .76));
}

body.product-detail-page .mini-card span {
    position: relative;
    z-index: 1;
}

@media (max-width: 860px) {

    body.product-detail-page .detail-layout,
    body.product-detail-page .info-grid,
    body.product-detail-page .mini-grid {
        grid-template-columns: 1fr;
    }

    body.product-detail-page .media-panel {
        min-height: unset;
        aspect-ratio: 1/1;
    }

    body.product-detail-page .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }
}

@media (max-width: 560px) {
    body.product-detail-page .container {
        width: min(100% - 22px, 1140px);
    }

    body.product-detail-page .hero {
        padding-top: 28px;
    }

    body.product-detail-page .media-panel {
        min-height: 330px;
        border-width: 6px;
    }

    body.product-detail-page .content-panel {
        border-radius: 12px;
    }

    body.product-detail-page .actions .btn {
        width: 100%;
    }
}