.fun88-product-page,
.fun88-category-page {
    padding: 24px 0 0;
    background: #ffffff;
}

.fun88-product-container {
    width: 100%;
    max-width: 1120px;
    padding-inline: 20px;
    margin: 0 auto;
}

.fun88-product-breadcrumb {
    display: flex;
    min-height: 42px;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
    color: var(--fun88-muted);
    font-size: 14px;
}

.fun88-product-breadcrumb a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
}

.fun88-product-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
    gap: 24px;
    align-items: center;
    padding: 24px;
    background: #eef9ff;
    border-radius: 10px;
}

.fun88-product-hero h1,
.fun88-category-hero h1 {
    margin: 0 0 12px;
    color: var(--fun88-brand-blue-dark);
}

.fun88-product-hero p,
.fun88-category-hero p {
    margin: 0;
    color: var(--fun88-text);
    font-size: 17px;
}

.fun88-product-hero__media {
    margin: 0;
    overflow: hidden;
    background: #d7f1ff;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
}

.fun88-product-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fun88-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.fun88-product-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
}

.fun88-product-button--primary {
    color: #111827;
    background: var(--fun88-brand-orange);
    border-color: #d9680b;
}

.fun88-product-button--primary:hover {
    color: #111827;
    background: #df7017;
}

.fun88-product-button--secondary {
    color: #ffffff;
    background: var(--fun88-brand-blue);
    border-color: var(--fun88-brand-blue);
}

.fun88-product-button--secondary:hover {
    color: #ffffff;
    background: var(--fun88-brand-blue-dark);
}

.fun88-product-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.fun88-product-facts > div {
    padding: 16px 18px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: var(--fun88-shadow);
}

.fun88-product-facts strong {
    display: block;
    color: var(--fun88-brand-blue-dark);
}

.fun88-product-facts p {
    margin: 5px 0 0;
    color: var(--fun88-muted);
}

.fun88-product-content {
    max-width: 900px;
    padding: 20px 0 30px;
    margin: 0 auto;
}

.fun88-product-section {
    padding: 22px 24px;
    margin-bottom: 14px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: var(--fun88-shadow);
}

.fun88-product-section h2 {
    margin: 0 0 10px;
    color: var(--fun88-brand-blue-dark);
}

.fun88-product-section > p {
    margin: 0 0 12px;
}

.fun88-product-section > p:last-child {
    margin-bottom: 0;
}

.fun88-product-info-grid,
.fun88-product-related,
.fun88-category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.fun88-product-info-card {
    padding: 16px;
    background: var(--fun88-page);
    border-radius: 7px;
}

.fun88-product-info-card h3 {
    margin: 0 0 7px;
    color: var(--fun88-ink);
}

.fun88-product-info-card p {
    margin: 0;
    color: var(--fun88-muted);
}

.fun88-product-list {
    padding-left: 1.3em;
    margin: 14px 0 0;
}

.fun88-product-list li + li {
    margin-top: 7px;
}

.fun88-product-faq {
    display: grid;
    gap: 9px;
    margin-top: 14px;
}

.fun88-product-faq details {
    padding: 0 16px;
    background: var(--fun88-page);
    border-radius: 7px;
}

.fun88-product-faq summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    color: var(--fun88-ink);
    font-weight: 750;
    cursor: pointer;
}

.fun88-product-faq details p {
    padding: 0 0 14px;
    margin: 0;
    color: var(--fun88-text);
}

.fun88-product-related a {
    display: flex;
    min-height: 112px;
    flex-direction: column;
    justify-content: center;
    padding: 15px;
    color: var(--fun88-ink);
    background: #eef9ff;
    border-radius: 7px;
    text-decoration: none;
}

.fun88-product-related a:hover {
    background: #d8f1ff;
}

.fun88-product-related strong {
    color: var(--fun88-brand-blue-dark);
}

.fun88-product-related span {
    margin-top: 4px;
    color: var(--fun88-muted);
    font-size: 14px;
}

.fun88-product-responsible {
    padding: 17px 20px;
    color: #4d2b00;
    background: var(--fun88-warning);
    border-left: 5px solid var(--fun88-warning-border);
    border-radius: 7px;
}

.fun88-product-responsible p {
    margin: 5px 0 0;
}

.fun88-category-hero {
    padding: 24px;
    background: #eef9ff;
    border-radius: 10px;
}

.fun88-category-hero__actions {
    margin-top: 18px;
}

.fun88-category-section {
    padding: 26px 0;
}

.fun88-category-section--soft {
    padding-inline: 24px;
    background: var(--fun88-page);
    border-radius: 10px;
}

.fun88-category-heading {
    max-width: 76ch;
    margin-bottom: 16px;
}

.fun88-category-heading h2 {
    margin: 0 0 7px;
    color: var(--fun88-brand-blue-dark);
}

.fun88-category-heading p {
    margin: 0;
    color: var(--fun88-muted);
}

.fun88-category-card {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: var(--fun88-shadow);
}

.fun88-category-card__image {
    display: block;
    overflow: hidden;
    background: #d7f1ff;
    aspect-ratio: 16 / 9;
}

.fun88-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fun88-category-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.fun88-category-card h3 {
    margin: 0 0 7px;
}

.fun88-category-card h3 a {
    color: var(--fun88-ink);
    text-decoration: none;
}

.fun88-category-card h3 a:hover {
    text-decoration: underline;
}

.fun88-category-card p {
    margin: 0 0 12px;
    color: var(--fun88-muted);
}

.fun88-category-card__link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    margin-top: auto;
    font-weight: 750;
}

.fun88-category-copy {
    max-width: 760px;
}

.fun88-category-copy h2 {
    margin: 0 0 10px;
    color: var(--fun88-brand-blue-dark);
}

.fun88-category-copy h3 {
    margin: 18px 0 6px;
}

.fun88-category-copy p {
    margin: 0 0 11px;
}

.fun88-category-copy ul {
    padding-left: 1.3em;
}

@media (max-width: 900px) {
    .fun88-product-hero {
        grid-template-columns: 1fr;
    }

    .fun88-product-facts,
    .fun88-product-info-grid,
    .fun88-product-related,
    .fun88-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .fun88-product-page,
    .fun88-category-page {
        padding-top: 14px;
    }

    .fun88-product-container {
        padding-inline: 14px;
    }

    .fun88-product-hero,
    .fun88-category-hero,
    .fun88-product-section,
    .fun88-category-section--soft {
        padding: 19px 16px;
    }

    .fun88-product-hero p,
    .fun88-category-hero p {
        font-size: 16px;
    }

    .fun88-product-facts,
    .fun88-product-info-grid,
    .fun88-product-related,
    .fun88-category-grid {
        grid-template-columns: 1fr;
    }

    .fun88-product-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .fun88-product-button {
        width: 100%;
    }

    .fun88-category-section {
        padding: 20px 0;
    }
}
