:root {
    --site-bg: #ffffff;
    --site-surface: #f6f7fb;
    --site-surface-2: #fffdf5;
    --site-text: #111827;
    --site-muted: #6b7280;
    --site-dark: #111111;
    --site-accent: #ffd400;
    --site-accent-2: #ffbf00;
    --site-success: #16a34a;
    --site-danger: #ef4444;
    --site-border: #e5e7eb;
    --site-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
    --site-radius: 24px;
    --site-radius-sm: 18px;
    --site-radius-xs: 14px;
    --site-transition: 180ms ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.site-body {
    margin: 0;
    font-family: 'Be Vietnam Pro', sans-serif;
    background: var(--site-bg);
    color: var(--site-text);
    overflow-x: hidden;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.site-main {
    position: relative;
    z-index: 1;
}

.site-topbar {
    background: linear-gradient(90deg, #111111, #1d1d1f);
    color: rgba(255, 255, 255, 0.88);
}

.site-nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.03);
}

.brand-mark {
    display: inline-flex;
    align-items: stretch;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.14);
    letter-spacing: -0.04em;
    flex-shrink: 0;
}

.brand-mark__shop,
.brand-mark__tgdd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 14px;
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1;
}

.brand-mark__shop {
    background: #111111;
    color: #ffffff;
}

.brand-mark__tgdd {
    background: var(--site-accent);
    color: #111111;
}

.brand-mark--footer .brand-mark__shop,
.brand-mark--footer .brand-mark__tgdd,
.brand-mark--auth .brand-mark__shop,
.brand-mark--auth .brand-mark__tgdd {
    min-height: 42px;
}

.search-form .input-group {
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.06);
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.search-form .form-control,
.search-form .input-group-text {
    background: #fff;
    border: 0;
}

.search-form .form-control:focus {
    box-shadow: none;
}

.btn-warning {
    background: linear-gradient(180deg, var(--site-accent) 0%, var(--site-accent-2) 100%);
    border-color: transparent;
    color: #111111;
}

.btn-warning:hover,
.btn-warning:focus {
    background: linear-gradient(180deg, #ffd94d 0%, #ffb800 100%);
    color: #111111;
}

.menu-scroll {
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
}

.menu-scroll::-webkit-scrollbar {
    height: 6px;
}

.menu-scroll::-webkit-scrollbar-thumb {
    background: rgba(17, 24, 39, 0.16);
    border-radius: 999px;
}

.menu-chip {
    min-width: 170px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 18px;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
    transition: transform var(--site-transition), box-shadow var(--site-transition), border-color var(--site-transition);
}

.menu-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(17, 24, 39, 0.08);
    border-color: rgba(255, 212, 0, 0.5);
}

.menu-chip__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 212, 0, 0.18), rgba(255, 212, 0, 0.08));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.menu-chip__icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.menu-chip__text {
    line-height: 1.2;
}

.menu-chip__text span {
    font-weight: 600;
    color: var(--site-text);
}

.menu-chip__text small {
    color: var(--site-muted);
}

.section-space-top {
    padding-top: 1.5rem;
}

.section-space {
    padding: 3.25rem 0;
}

.section-band {
    position: relative;
}

.section-band--light {
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.section-band--warm {
    background: linear-gradient(180deg, #ffffff 0%, #fff8d9 100%);
}

.section-band--cool {
    background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.section-head h2 {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.25rem;
}

.section-head p {
    color: var(--site-muted);
    margin: 0;
}

.section-head__link {
    color: #111111;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.section-head__link:hover {
    color: #000;
    text-decoration: underline;
}

.section-head--light .section-head__link,
.section-head--light p,
.section-head--light h2 {
    color: #111111;
}

.home-hero {
    position: relative;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 212, 0, 0.14), transparent 26%),
        linear-gradient(180deg, rgba(255, 249, 217, 0.55), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.home-hero .container {
    position: relative;
    z-index: 1;
}

.hero-carousel,
.hero-slide {
    position: relative;
    height: 100%;
}

.hero-carousel {
    height: 560px;
    border-radius: var(--site-radius);
    overflow: hidden;
    box-shadow: var(--site-shadow);
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: linear-gradient(135deg, #ffffff 0%, #fff8d8 54%, #fff1b8 100%);
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}

.hero-carousel .carousel-indicators {
    margin-bottom: 0;
    gap: 0.45rem;
    bottom: 1rem;
}

.hero-carousel .carousel-indicators [data-bs-slide-to] {
    width: 18px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.2);
    opacity: 1;
}

.hero-carousel .carousel-indicators .active {
    width: 30px;
    background: var(--site-accent);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 46px;
    height: 46px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.14);
    opacity: 1;
}

.hero-carousel .carousel-control-prev {
    left: 1rem;
}

.hero-carousel .carousel-control-next {
    right: 1rem;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    filter: brightness(0) saturate(100%);
    width: 1.1rem;
    height: 1.1rem;
}

.hero-slide {
    min-height: 560px;
    color: #111111;
    background:
        radial-gradient(circle at 10% 14%, rgba(255, 212, 0, 0.28), transparent 24%),
        radial-gradient(circle at 88% 20%, rgba(255, 212, 0, 0.12), transparent 18%);
}

.hero-slide--tgdd {
    display: block;
    width: 100%;
    height: 100%;
    color: #111111;
    text-decoration: none;
}

.hero-slide__img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: cover;
    object-position: center center;
}

.hero-slide__overlay {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
}

.hero-slide__content {
    max-width: 560px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    box-shadow: none;
}

.hero-slide__kicker,
.page-hero__kicker,
.detail-hero__category,
.news-card__category,
.post-card__badge,
.mini-promo__category {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 212, 0, 0.92);
    color: #111111;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-bottom: 0.9rem;
}

.hero-slide__content h2 {
    font-size: clamp(2rem, 4.3vw, 3.7rem);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -0.06em;
    margin-bottom: 0.8rem;
}

.hero-slide__content p {
    color: #4b5563;
    margin-bottom: 1.1rem;
    max-width: 42ch;
    font-size: 1.02rem;
}

.hero-slide__content .btn {
    box-shadow: 0 14px 28px rgba(255, 212, 0, 0.32);
}

.hero-slide__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 0.55rem;
    border-radius: 34px;
    background: linear-gradient(180deg, #0f0f0f 0%, #1d1d1d 100%);
    border: 1px solid rgba(255, 212, 0, 0.28);
    box-shadow: 0 28px 60px rgba(17, 24, 39, 0.18);
    overflow: hidden;
}

.hero-slide__media-glow {
    position: absolute;
    inset: 8% 5% 5%;
    border-radius: 34px;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 212, 0, 0.34), rgba(255, 212, 0, 0.08) 42%, transparent 72%),
        radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.1), transparent 24%);
    filter: blur(8px);
}

.hero-slide__media .hero-slide__img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    height: 100%;
    max-height: 420px;
    padding: 0.5rem;
    border-radius: 30px;
    border: 0;
    box-shadow: none;
    background: transparent;
    object-fit: contain;
    object-position: center center;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.45));
}

.hero-stack {
    height: 560px;
    grid-template-rows: repeat(3, minmax(0, 1fr));
}

.mini-promo {
    position: relative;
    display: grid;
    grid-template-columns: minmax(132px, 38%) minmax(0, 1fr);
    grid-template-rows: 1fr;
    align-items: stretch;
    background: linear-gradient(180deg, #ffffff 0%, #fffdf2 100%);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: var(--site-radius);
    overflow: hidden;
    box-shadow: var(--site-shadow);
    transition: transform var(--site-transition), box-shadow var(--site-transition);
    color: #111111;
    text-decoration: none;
}

.mini-promo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--site-accent) 0%, #ffd94d 60%, rgba(255, 212, 0, 0) 100%);
    z-index: 1;
}

.mini-promo:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.12);
}

.mini-promo__media {
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.mini-promo__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 212, 0, 0.12) 0%, transparent 38%);
    pointer-events: none;
}

.mini-promo img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    transition: transform 220ms ease;
}

.mini-promo:hover img {
    transform: scale(1.03);
}

.mini-promo__body {
    padding: 0.95rem 1rem 1.05rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mini-promo__body h3 {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mini-promo__body p {
    color: var(--site-muted);
    margin-bottom: 0;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-card,
.post-card,
.news-card,
.trend-item,
.side-panel,
.article-card,
.promo-card,
.page-hero,
.detail-hero,
.empty-state,
.search-header,
.admin-panel,
.section-subpanel {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow);
    color: #111111;
    text-decoration: none;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    padding: 1.1rem;
    text-align: center;
    transition: transform var(--site-transition), box-shadow var(--site-transition), border-color var(--site-transition);
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 212, 0, 0.55);
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.12);
}

.category-card__icon {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 212, 0, 0.16), rgba(255, 212, 0, 0.06));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.category-card__icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.category-card__title {
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.category-card__meta {
    color: var(--site-muted);
    font-size: 0.9rem;
}

.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--site-transition), box-shadow var(--site-transition), border-color var(--site-transition);
}

.post-card:hover,
.news-card:hover,
.side-post:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 212, 0, 0.5);
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.12);
}

.post-card__image {
    position: relative;
    background: #f8fafc;
    overflow: hidden;
    flex: 0 0 auto;
    aspect-ratio: 1 / 1;
    padding: 0.75rem;
    box-sizing: border-box;
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.post-card__badge {
    position: absolute;
    left: 1rem;
    top: 1rem;
    margin-bottom: 0;
}

.post-card__body {
    padding: 1rem 1rem 1.15rem;
    flex: 1 1 auto;
}

.post-card__body h3 {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.45rem;
}

.post-card__body p {
    color: var(--site-muted);
    margin-bottom: 0.95rem;
    font-size: 0.93rem;
}

.post-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--site-muted);
    font-size: 0.84rem;
}

.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--site-transition), box-shadow var(--site-transition), border-color var(--site-transition);
    color: #111111;
    text-decoration: none;
}

.news-card__image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fffef7, #f8fafc);
    flex: 0 0 auto;
    aspect-ratio: 16 / 10;
    padding: 0.75rem;
    box-sizing: border-box;
}

.news-card__image img,
.news-card > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
    display: block;
}

.news-card__body {
    padding: 1rem 1rem 1.15rem;
    flex: 1 1 auto;
}

.news-card__body h2,
.news-card__body h3 {
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.45rem;
}

.news-card__body p {
    color: var(--site-muted);
    margin-bottom: 0.95rem;
    font-size: 0.93rem;
}

.news-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--site-muted);
    font-size: 0.84rem;
}

.news-card--compact {
    min-height: 100%;
}

.trend-list {
    display: grid;
    gap: 0.85rem;
}

.trend-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 0.95rem;
    padding: 1rem;
    align-items: start;
}

.trend-item__rank {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 212, 0, 0.18), rgba(255, 212, 0, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #111111;
}

.trend-item__content h3 {
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.3rem;
}

.trend-item__content p {
    margin: 0;
    color: var(--site-muted);
    font-size: 0.9rem;
}

.promo-card {
    overflow: hidden;
}

.promo-card img {
    width: 100%;
    height: auto;
}

.promo-card__body {
    padding: 1rem 1.1rem 1.1rem;
}

.promo-card__body h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.45rem;
}

.promo-card__body p {
    margin: 0;
    color: var(--site-muted);
}

.banner-strip {
    overflow: hidden;
    border-radius: var(--site-radius);
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: var(--site-shadow);
}

.banner-strip img {
    width: 100%;
    object-fit: cover;
}

.page-hero,
.detail-hero {
    position: relative;
    overflow: hidden;
}

.page-hero img,
.detail-hero img {
    width: 100%;
    height: clamp(180px, 22vw, 260px);
    min-height: 0;
    object-fit: cover;
    display: block;
}

.page-hero__overlay,
.detail-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.04) 0%, rgba(17, 24, 39, 0.72) 100%);
}

.page-hero__content,
.detail-hero__content {
    max-width: 720px;
    color: #fff;
}

.page-hero__content h1,
.detail-hero__content h1 {
    font-size: clamp(1.65rem, 4vw, 3rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 0.75rem;
}

.page-hero__content p,
.detail-hero__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

.detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    font-size: 0.9rem;
}

.detail-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
}

.article-card {
    padding: 1.25rem;
}

.article-card__summary {
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: linear-gradient(180deg, #fffef1, #fff8d9);
    font-weight: 600;
    margin-bottom: 1rem;
}

.article-content {
    font-size: 1.02rem;
    line-height: 1.8;
    color: #1f2937;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-content h2,
.article-content h3 {
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
}

.article-content ul,
.article-content ol {
    padding-left: 1.2rem;
}

.sticky-stack {
    position: sticky;
    top: 120px;
    display: grid;
    gap: 1rem;
}

.side-panel {
    padding: 1.25rem;
}

.side-panel h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.side-link {
    display: block;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(17, 24, 39, 0.08);
    text-decoration: none;
    font-weight: 600;
}

.side-link:hover {
    background: #fff;
}

.side-post {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 0.85rem;
    padding: 0.75rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    text-decoration: none;
}

.side-post img {
    width: 76px;
    height: 76px;
    border-radius: 16px;
    object-fit: cover;
    background: #f8fafc;
}

.side-post h4 {
    font-size: 0.95rem;
    line-height: 1.25;
    margin-bottom: 0.25rem;
    font-weight: 800;
}

.side-post p {
    color: var(--site-muted);
    margin: 0;
    font-size: 0.88rem;
}

.side-meta {
    display: grid;
    gap: 0.75rem;
}

.side-meta div {
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.side-meta span {
    display: block;
    color: var(--site-muted);
    font-size: 0.8rem;
    margin-bottom: 0.15rem;
}

.side-meta strong {
    font-weight: 700;
}

.search-header {
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
}

.search-header h1 {
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 0.35rem;
}

.search-header p {
    margin: 0;
    color: var(--site-muted);
}

.search-header__label {
    display: inline-flex;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 212, 0, 0.16);
    color: #111111;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.search-header__form {
    display: flex;
    gap: 0.75rem;
    width: min(100%, 470px);
}

.search-header__form .form-control {
    border-radius: 18px;
}

.empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
}

.empty-state--large {
    padding: 4rem 1.5rem;
}

.empty-state i {
    font-size: 3rem;
    color: var(--site-accent-2);
    margin-bottom: 1rem;
}

.empty-state h1,
.empty-state h2 {
    font-weight: 800;
    letter-spacing: -0.04em;
}

.empty-state p {
    color: var(--site-muted);
    max-width: 42ch;
    margin: 0 auto 1.25rem;
}

.pagination-wrap .pagination {
    margin-bottom: 0;
    gap: 0.35rem;
}

.pagination-wrap .page-link {
    border-radius: 12px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    color: #111111;
    font-weight: 600;
}

.pagination-wrap .page-item.active .page-link {
    background: #111111;
    border-color: #111111;
    color: #fff;
}

.breadcrumb-clean .breadcrumb-item a {
    text-decoration: none;
    color: var(--site-muted);
}

.breadcrumb-clean .breadcrumb-item.active {
    color: var(--site-text);
    font-weight: 700;
}

.site-footer {
    background: linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
    color: #fff;
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.72);
}

.footer-links li + li {
    margin-top: 0.65rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
}

.social-pill:hover {
    background: rgba(255, 212, 0, 0.18);
    color: #fff;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 450ms ease, transform 450ms ease;
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-card,
.product-hero {
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow);
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform var(--site-transition), box-shadow var(--site-transition), border-color var(--site-transition);
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 212, 0, 0.55);
    box-shadow: 0 20px 40px rgba(17, 24, 39, 0.12);
}

.product-card__image {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 212, 0, 0.06), rgba(248, 250, 252, 1));
}

.product-card__image img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-card__badge {
    position: absolute;
    left: 1rem;
    top: 1rem;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.92);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
}

.product-card__body {
    padding: 1rem 1rem 1.1rem;
}

.product-card__category {
    display: inline-flex;
    margin-bottom: 0.55rem;
    color: var(--site-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.product-card__body h3 {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.22;
    margin-bottom: 0.5rem;
}

.product-card__rating {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #f59e0b;
    font-size: 0.86rem;
    margin-bottom: 0.65rem;
}

.product-card__rating small {
    color: var(--site-muted);
}

.product-card__price {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.65rem;
    align-items: baseline;
    margin-bottom: 0.55rem;
}

.product-card__price strong {
    font-size: 1.06rem;
    color: #d97706;
}

.product-card__price span {
    color: var(--site-muted);
    font-size: 0.86rem;
}

.product-card__stock {
    color: var(--site-muted);
    font-size: 0.86rem;
}

.product-card--compact .product-card__body {
    padding: 0.95rem 1rem 1rem;
}

.product-card--compact .product-card__image img {
    aspect-ratio: 16 / 10;
}

.product-hero {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.15fr);
    overflow: hidden;
}

.product-hero__visual {
    background: linear-gradient(180deg, rgba(255, 212, 0, 0.08), rgba(255, 255, 255, 0.98));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-hero__visual img {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 22px;
    background: #fff;
}

.product-hero__content {
    padding: 1.5rem;
}

.product-hero__kicker {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 212, 0, 0.18);
    color: #111111;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.product-hero__content h1 {
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 0.8rem;
}

.product-hero__rating {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 0.9rem;
    align-items: center;
    color: var(--site-muted);
    margin-bottom: 0.9rem;
}

.product-stars i {
    color: #f59e0b;
    margin-right: 0.15rem;
}

.product-hero__price {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 0.8rem;
    align-items: baseline;
    margin-bottom: 1rem;
}

.product-hero__price strong {
    font-size: 1.9rem;
    font-weight: 900;
    color: #d97706;
    letter-spacing: -0.04em;
}

.product-hero__price span {
    color: var(--site-muted);
}

.product-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.product-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(17, 24, 39, 0.08);
    font-size: 0.88rem;
}

.product-hero__summary {
    color: var(--site-muted);
    margin-bottom: 0;
    max-width: 65ch;
}

.spec-list {
    display: grid;
    gap: 0.75rem;
}

.spec-list__item {
    padding: 0.9rem 1rem;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.front-alert {
    border-radius: 18px;
    box-shadow: var(--site-shadow);
}

.product-gallery {
    width: 100%;
    display: grid;
    gap: 0.9rem;
}

.product-gallery__main {
    padding: 0.75rem;
    background: #fff;
    border-radius: 22px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: var(--site-shadow);
}

.product-gallery__main img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 18px;
    background: #f8fafc;
    transition: opacity 180ms ease, transform 180ms ease;
}

.product-gallery__thumbs {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
}

.product-gallery__thumb {
    width: 76px;
    height: 76px;
    border: 1px solid rgba(17, 24, 39, 0.1);
    border-radius: 18px;
    padding: 0.35rem;
    background: #fff;
    flex: 0 0 auto;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
}

.product-gallery__thumb:hover,
.product-gallery__thumb.is-active {
    border-color: rgba(255, 212, 0, 0.9);
    box-shadow: 0 12px 28px rgba(17, 24, 39, 0.12);
    transform: translateY(-2px);
}

.product-variant-current {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    background: #fff8d9;
    color: #111111;
    margin-bottom: 1rem;
    font-size: 0.92rem;
    font-weight: 600;
}

.side-panel--purchase {
    background: linear-gradient(180deg, #fff, #fffdf3);
}

.purchase-box__head h3 {
    margin-bottom: 0.25rem;
}

.purchase-box__head p {
    color: var(--site-muted);
    margin-bottom: 1rem;
    font-size: 0.92rem;
}

.purchase-box__price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.55rem 0.75rem;
    margin-bottom: 1rem;
}

.purchase-box__price strong {
    font-size: 1.85rem;
    font-weight: 900;
    color: #d97706;
    letter-spacing: -0.04em;
}

.purchase-stock-card {
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background: #fff;
    display: grid;
    gap: 0.2rem;
}

.purchase-stock-card span {
    color: var(--site-muted);
    font-size: 0.84rem;
}

.purchase-stock-card strong {
    font-size: 1.1rem;
}

.purchase-box__actions {
    margin-top: 0.25rem;
}

.variant-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.variant-option {
    position: relative;
    display: grid;
    gap: 0.3rem;
    padding: 0.9rem 0.95rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.1);
    cursor: pointer;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.variant-option:hover,
.variant-option.is-selected {
    border-color: rgba(255, 212, 0, 0.95);
    box-shadow: 0 14px 30px rgba(17, 24, 39, 0.1);
    transform: translateY(-2px);
}

.variant-option__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.variant-option__name {
    font-weight: 800;
    line-height: 1.15;
}

.variant-option__meta {
    color: var(--site-muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.variant-option__price {
    color: #d97706;
    font-size: 0.96rem;
    font-weight: 800;
}

.cart-layout,
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 1.25rem;
}

.cart-panel,
.checkout-panel {
    display: grid;
    gap: 1rem;
}

.cart-panel {
    min-width: 0;
}

.cart-panel__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: var(--site-shadow);
}

.cart-item--disabled {
    opacity: 0.78;
}

.cart-item__image img {
    width: 100%;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
    border-radius: 18px;
    background: #f8fafc;
}

.cart-item__body {
    min-width: 0;
}

.cart-item__title {
    font-size: 1.03rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.35rem;
}

.cart-item__variant {
    color: var(--site-muted);
    margin-bottom: 0.45rem;
    font-size: 0.92rem;
}

.cart-item__attrs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.8rem;
}

.cart-item__attrs span {
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(17, 24, 39, 0.08);
    color: var(--site-muted);
    font-size: 0.82rem;
}

.cart-item__price {
    font-size: 1.1rem;
    font-weight: 900;
    color: #d97706;
}

.cart-item__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-top: 1rem;
}

.cart-item__qty {
    width: min(180px, 100%);
}

.cart-item__line {
    display: grid;
    gap: 0.2rem;
    text-align: right;
}

.cart-item__line span {
    color: var(--site-muted);
    font-size: 0.84rem;
}

.cart-item__actions {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.75rem;
    align-items: center;
}

.cart-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.checkout-items {
    display: grid;
    gap: 0.75rem;
}

.checkout-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.8rem 0.9rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.08);
}

.checkout-item img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
}

.checkout-item__body h4 {
    font-size: 0.96rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.checkout-item__body p {
    color: var(--site-muted);
    margin-bottom: 0;
    font-size: 0.88rem;
}

.checkout-summary {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.checkout-summary div,
.side-meta div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.checkout-summary span,
.side-meta span {
    color: var(--site-muted);
}

.order-success {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.1rem 1.2rem;
    border-radius: 26px;
    background: linear-gradient(135deg, #fff8d9, #fff);
    border: 1px solid rgba(255, 212, 0, 0.45);
    box-shadow: var(--site-shadow);
}

.order-success__icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: rgba(255, 212, 0, 0.22);
    color: #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.order-success__kicker {
    display: inline-flex;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.08);
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    font-weight: 800;
}

.table-thumb--square {
    aspect-ratio: 1;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    .section-space {
        padding: 2.35rem 0;
    }

    .hero-carousel {
        height: auto;
    }

    .hero-carousel .carousel-inner,
    .hero-carousel .carousel-item,
    .hero-slide {
        height: auto;
    }

    .hero-carousel .carousel-control-prev,
    .hero-carousel .carousel-control-next {
        display: none;
    }

    .hero-slide {
        min-height: 0;
    }

    .hero-slide__overlay {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }

    .hero-slide__content {
        max-width: none;
    }

    .hero-slide__content h2 {
        font-size: 2.1rem;
    }

    .hero-slide__media {
        min-height: 260px;
    }

    .hero-slide__media .hero-slide__img {
        max-width: 100%;
        height: 100%;
        max-height: 280px;
    }

    .hero-slide__img {
        min-height: 0;
    }

    .hero-stack {
        height: auto;
        grid-template-rows: none;
    }

    .mini-promo {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
    }

    .mini-promo img {
        height: auto;
        aspect-ratio: 16 / 9.4;
    }

    .search-header {
        flex-direction: column;
        align-items: stretch;
    }

    .search-header__form {
        width: 100%;
    }

    .sticky-stack {
        position: static;
    }

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

    .product-hero__content {
        padding: 1.25rem;
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 1fr;
    }

    .checkout-item {
        grid-template-columns: 56px minmax(0, 1fr);
    }

    .checkout-item strong {
        grid-column: 1 / -1;
        text-align: right;
    }
}

@media (max-width: 767.98px) {
    .brand-mark__shop,
    .brand-mark__tgdd {
        min-height: 40px;
        padding: 0 12px;
        font-size: 0.95rem;
    }

    .hero-slide__overlay,
    .page-hero__overlay,
    .detail-hero__overlay {
        padding: 1rem;
    }

    .hero-slide__content h2 {
        font-size: 1.55rem;
    }

    .hero-slide__media {
        min-height: 220px;
    }

    .hero-slide__media .hero-slide__img {
        border-radius: 24px;
    }

    .section-head {
        align-items: start;
        flex-direction: column;
    }

    .post-card__meta,
    .news-card__meta {
        flex-direction: column;
        gap: 0.25rem;
    }

    .product-hero__price strong {
        font-size: 1.55rem;
    }

    .product-card__price {
        flex-direction: column;
        align-items: start;
    }

    .variant-grid {
        grid-template-columns: 1fr;
    }

    .cart-item__footer {
        align-items: start;
    }

    .cart-item__line {
        text-align: left;
    }

    .cart-panel__actions {
        flex-direction: column;
    }
}
