* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Inter,Arial,sans-serif;
    color: #0f172a;
    background: #f8fafc
}

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

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

.container {
    width: min(1180px,92%);
    margin: 0 auto
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #e5e7eb
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: #111827
}

.brand img {
    width: 150px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 18px
}

.main-nav>a,.nav-dropdown>button {
    color: #475569;
    background: none;
    border: 0;
    font: inherit;
    cursor: pointer
}

.main-nav a:hover,
.nav-dropdown:hover > button {
    color: #111827
}

.locale-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 14px;
    border-left: 1px solid #e5e7eb;
}

.locale-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #475569;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .04em;
    transition: all .2s ease;
}

.locale-switch a:hover {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #3730a3;
}

.locale-switch a.is-active,
.locale-switch a[aria-current="true"] {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #fff;
    box-shadow: 0 10px 24px rgba(79,70,229,.22);
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: #111827;
    font-size: 28px
}

.nav-dropdown {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: -10px;
}

.nav-dropdown > button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 20px 50px rgba(15,23,42,.12);
    z-index: 60;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
    display: block;
}

.nav-dropdown.is-manually-closed:hover .dropdown-menu,
.nav-dropdown.is-manually-closed:focus-within .dropdown-menu {
    display: none;
}

.dropdown-group>a {
    display: block;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 12px
}

.dropdown-submenu {
    display: grid;
    gap: 6px;
    padding: 4px 0 10px 12px
}

.dropdown-submenu a {
    padding: 6px 10px;
    border-radius: 10px;
    color: #64748b
}

.dropdown-submenu a:hover,.dropdown-group>a:hover {
    background: #f1f5f9;
    color: #111827
}

.nav-dropdown > button i {
    transition: transform .2s ease;
}

.nav-dropdown.is-open > button i {
    transform: rotate(180deg);
}

.hero {
    padding: 10px 0;
    background: linear-gradient(180deg,#eef2ff 0,#f8fafc 100%)
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 30px;
    align-items: center
}

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

.hero-content-full {
    width: 100%;
    max-width: 100%;
}

.eyebrow {
    display: inline-block;
    background: #e0e7ff;
    color: #4338ca;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700
}

.hero h1 {
    font-size: clamp(2.2rem,4vw,4rem);
    line-height: 1.04;
    margin: 16px 0;
    color: #0f172a
}

.hero p {
    font-size: 1.08rem;
    color: #475569;
    max-width: 60ch
}

.hero-card,.content-card,.product-card,.blog-card,.testimonial-card,.faq-item,.newsletter-box,.about-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(15,23,42,.06)
}

.hero-card {
    padding: 26px;
    display: grid;
    gap: 16px
}

.mini-stat {
    padding: 18px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid #eef2f7
}

.mini-stat strong {
    display: block;
    font-size: 1.8rem;
    color: #111827
}

.mini-stat span {
    color: #64748b
}

.hero-actions,.product-foot,.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 700;
    border: 0;
    cursor: pointer
}

.btn-primary {
    background: #4f46e5;
    color: #fff
}

.btn-secondary {
    background: #e2e8f0;
    color: #0f172a
}

.alert {
    margin-top: 18px;
    padding: 14px 16px;
    border-radius: 14px
}

.alert.success {
    background: #ecfdf5;
    color: #166534
}

.section {
    padding: 20px 0
}

.section.alt {
    background: #f1f5f9
}

.section-head {
    margin-bottom: 24px
}

.section-head h2,.page-head h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.7rem,3vw,2.5rem)
}

.section-head a {
    color: #4f46e5
}

.about-card {
    padding: 28px
}

.about-card p {
    color: #475569;
    line-height: 1.8
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px
}

.product-card {
    overflow: hidden;
    position: relative
}

.product-card .thumb img {
    aspect-ratio: 16/10;
    object-fit: cover;
    background: #f8fafc
}

.product-body {
    padding: 18px
}

.product-minihead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.product-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    object-fit: contain;
    background: #fff;
    padding: 4px
}

.product-body h3 {
    margin: 10px 0;
    font-size: 1.15rem;
    color: #111827
}

.product-body p {
    color: #64748b;
    min-height: 60px
}

.product-foot {
    padding-top: 12px;
    border-top: 1px solid #e5e7eb
}

.badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.badge {
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    font-weight: 800
}

.badge.free {
    background: #ecfdf5;
    color: #166534
}

.badge.featured {
    background: #e0e7ff;
    color: #4338ca
}

.meta-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #64748b;
    font-size: .92rem;
    margin: 8px 0 10px
}

.price-block {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 10px 0 12px
}

.price-block strong {
    font-size: 1.1rem;
    color: #111827
}

.price-block span {
    text-decoration: line-through;
    color: #94a3b8
}

.product-price-big strong {
    font-size: 1.5rem
}

.mini-socials,.social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.mini-socials a,.social-links a {
    padding: 8px 10px;
    border-radius: 10px;
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e5e7eb
}

.btn-link-open {
    background: none;
    border: 0;
    color: #4f46e5;
    font-weight: 700;
    cursor: pointer
}

.sale-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.5);
    z-index: 80;
    padding: 18px
}

.sale-modal.is-open {
    display: grid;
    place-items: center
}

.sale-modal-card {
    position: relative;
    max-width: 480px;
    width: 100%;
    background: #fff;
    border-radius: 24px;
    padding: 24px;
    border: 1px solid #e5e7eb
}

.sale-close {
    position: absolute;
    right: 16px;
    top: 14px;
    background: none;
    border: 0;
    font-size: 24px;
    cursor: pointer
}

.sale-links {
    display: grid;
    gap: 12px;
    margin-top: 18px
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px
}

.blog-card {
    overflow: hidden
}

.blog-card img {
    aspect-ratio: 16/10;
    object-fit: cover
}

.blog-card-body {
    padding: 18px
}

.blog-card h3 {
    margin: 0 0 10px;
    color: #0f172a
}

.blog-card p {
    color: #64748b
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px
}

.testimonial-card {
    padding: 22px
}

.testimonial-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px
}

.testimonial-head img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover
}

.testimonial-head span,.testimonial-card p {
    color: #64748b
}

.faq-list {
    display: grid;
    gap: 14px
}

.faq-item {
    padding: 16px 18px
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    color: #0f172a
}

.faq-item div {
    margin-top: 12px;
    color: #475569
}

.newsletter-card {
    padding: 26px
}

.newsletter-form {
    display: flex;
    gap: 12px
}

.newsletter-form input {
    min-width: 280px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #dbe2ea;
    background: #fff;
    color: #111827
}

.page-head {
    padding: 14px 0 22px;
    background: #eef2ff
}

.page-head p {
    color: #64748b
}

.product-hero {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 24px;
    align-items: center
}

.product-cover img {
    border-radius: 24px;
    aspect-ratio: 16/10;
    object-fit: cover;
    background: #fff
}

.product-summary h1 {
    margin: 10px 0 12px
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #64748b;
    margin: 18px 0
}

.content-grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 22px
}

.content-card {
    padding: 10px 10px;
}

.prose {
    color: #334155;
    line-height: 1.75
}

.prose h2 {
    color: #111827;
    margin-top: 24px
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px
}

.site-footer {
    padding: 50px 0 0;
    background: #fff;
    border-top: 1px solid #e5e7eb
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px
}

.footer-grid h3,.footer-grid h4 {
    margin-top: 0;
    color: #111827
}

.footer-grid p,.footer-grid a,.footer-bottom {
    color: #64748b
}

.footer-grid a {
    display: block;
    margin: 6px 0
}

.footer-bottom {
    padding: 18px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 26px
}

.cookie-consent {
    display: none;
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 20px 50px rgba(15,23,42,.12);
    border-radius: 18px;
    padding: 16px 18px;
    z-index: 90;
    align-items: center;
    justify-content: space-between;
    gap: 16px
}

.cookie-consent.is-visible {
    display: flex
}

.alert.error {
    background: #fef2f2;
    color: #b91c1c;
}

.nav-user-block {
    display: flex;
    align-items: center;
    margin-left: 6px;
}

.nav-user-dropdown {
    position: relative;
}

.nav-user-avatar,
.mobile-user-trigger {
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(15,23,42,.06);
}

.nav-user-avatar img,
.mobile-user-trigger img,
.nav-user-header img,
.mobile-user-drawer-head img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-user-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 12px);
    min-width: 220px;
    padding: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(15,23,42,.12);
    z-index: 90;
    gap: 10px;
}

.nav-user-dropdown:hover .nav-user-menu,
.nav-user-dropdown:focus-within .nav-user-menu,
.nav-user-dropdown.is-open .nav-user-menu {
    display: grid;
}

.nav-user-btn {
    width: 100%;
    gap: 8px;
}

.nav-user-menu-auth {
    min-width: 270px;
    padding: 10px;
}

.nav-user-header {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eef2f7;
    margin-bottom: 6px;
}

.nav-user-header img {
    width: 52px;
    height: 52px;
    border-radius: 999px;
}

.nav-user-header strong,
.mobile-user-drawer-head strong {
    display: block;
    color: #0f172a;
}

.nav-user-header span,
.mobile-user-drawer-head span {
    display: block;
    color: #64748b;
    font-size: 13px;
    margin-top: 2px;
    word-break: break-word;
}

.nav-user-menu-auth a,
.mobile-user-drawer a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    color: #334155;
}

.nav-user-menu-auth a:hover,
.mobile-user-drawer a:hover {
    background: #f8fafc;
    color: #111827;
}

.nav-user-menu-auth a.is-logout,
.mobile-user-drawer a.is-logout {
    color: #b91c1c;
}

.mobile-user-panel {
    display: none;
}

.auth-page-wrap {
    max-width: 620px;
}

.auth-public-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 15px 40px rgba(15,23,42,.06);
}

.page-head-simple h1 {
    margin: 0 0 8px;
    color: #0f172a;
}

.page-head-simple p {
    margin: 0 0 20px;
    color: #64748b;
}

.auth-public-form {
    display: grid;
    gap: 16px;
}

.auth-public-form label {
    display: grid;
    gap: 8px;
}

.auth-public-form span {
    font-weight: 700;
    color: #0f172a;
}

.auth-public-form input,
.auth-public-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dbe2ea;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    font: inherit;
}

.auth-public-form textarea {
    resize: vertical;
    min-height: 120px;
}

.check-line {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.check-line input {
    width: 18px;
    height: 18px;
}

.auth-public-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.auth-link-muted {
    color: #64748b;
    font-size: 14px;
}

.auth-public-foot {
    margin: 0;
    color: #64748b;
}

.auth-public-foot a {
    color: #4f46e5;
    font-weight: 700;
}

.user-panel-wrap {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

.user-panel-side,
.user-panel-content,
.user-demo-card,
.user-list-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(15,23,42,.06);
}

.user-panel-side {
    padding: 14px;
    display: grid;
    gap: 8px;
    position: sticky;
    top: 96px;
}

.user-panel-side a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 14px;
    color: #334155;
    font-weight: 600;
}

.user-panel-side a:hover,
.user-panel-side a.is-active {
    background: #eef2ff;
    color: #3730a3;
}

.user-panel-side a.is-logout {
    color: #b91c1c;
}

.user-panel-content {
    padding: 24px;
}

.user-panel-hero {
    margin-bottom: 24px;
}

.user-panel-hero h1 {
    margin: 0 0 8px;
}

.user-panel-hero p {
    margin: 0;
    color: #64748b;
}

.user-demo-grid,
.user-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.user-demo-card {
    padding: 20px;
}

.user-demo-card strong {
    display: block;
    font-size: 2rem;
    color: #111827;
    margin-bottom: 6px;
}

.user-demo-card span,
.user-demo-card p {
    color: #64748b;
}

.user-demo-card h3 {
    margin-top: 0;
}

.user-demo-section {
    margin-top: 24px;
}

.user-list-card {
    padding: 12px 18px;
}

.user-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #eef2f7;
}

.user-list-row:last-child {
    border-bottom: 0;
}

.user-list-row small {
    color: #64748b;
}

@media (max-width: 760px) {
    .nav-user-block {
        display: none;
    }

    .mobile-user-drawer {
        display: none;
        position: absolute;
        right: 0;
        top: calc(100% + 12px);
        width: min(300px, calc(100vw - 24px));
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 18px;
        box-shadow: 0 20px 50px rgba(15,23,42,.18);
        padding: 14px;
    }

    .mobile-user-panel.is-open .mobile-user-drawer {
        display: grid;
        gap: 8px;
    }

    .mobile-user-drawer-head {
        display: grid;
        grid-template-columns: 56px 1fr;
        gap: 12px;
        align-items: center;
        padding: 6px 6px 12px;
        border-bottom: 1px solid #eef2f7;
        margin-bottom: 6px;
    }

    .mobile-user-drawer-head img {
        width: 56px;
        height: 56px;
        border-radius: 999px;
    }

    .user-panel-wrap,
    .user-demo-grid,
    .user-settings-grid {
        grid-template-columns: 1fr;
    }

    .user-panel-side {
        position: static;
    }

    .auth-public-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-public-actions .btn {
        width: 100%;
    }
}

.admin-subtitle {
    margin: 6px 0 0;
    color: #64748b;
}

.admin-alert-success {
    background: #dcfce7;
    color: #166534;
}

.developer-panel {
    margin-bottom: 24px;
}

.developer-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.developer-section-head h2 {
    margin: 0 0 6px;
}

.developer-section-head p {
    margin: 0;
    color: #64748b;
}

.developer-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.developer-card {
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px;
    background: #f8fafc;
}

.developer-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

.developer-card p {
    margin-top: 0;
    margin-bottom: 16px;
    color: #64748b;
}

.developer-check {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding-top: 8px;
}

.developer-check input {
    width: 18px;
    height: 18px;
}

.developer-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.developer-test-form {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e5e7eb;
}

.admin-debug-box {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
}

.admin-debug-box strong {
    display: block;
    margin-bottom: 10px;
}

.admin-debug-box pre,
.developer-log-debug pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-word;
    font-family: Consolas, monospace;
    font-size: 12px;
}

.developer-log-table-wrap {
    overflow: auto;
}

.log-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.log-success {
    background: #dcfce7;
    color: #166534;
}

.log-error {
    background: #fee2e2;
    color: #991b1b;
}

.log-pending {
    background: #fef3c7;
    color: #92400e;
}

.developer-log-error {
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff1f2;
    color: #9f1239;
    margin-bottom: 10px;
}

.developer-log-debug {
    padding: 12px 14px;
    border-radius: 12px;
    background: #0f172a;
    color: #e2e8f0;
}

@media (max-width: 1100px) {
    .developer-card-grid {
        grid-template-columns: 1fr;
    }
}

.product-rating-inline,
.product-interaction-summary,
.rating-overview,
.comments-overview,
.comment-head,
.comment-actions,
.comment-form-actions,
.comments-box-head,
.comments-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-rating-inline .stars i,
.rating-overview .stars i,
.rating-star i {
    color: #f59e0b;
}

.rating-star {
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: .45;
    transition: .2s ease;
}

.rating-star.is-active,
.rating-star:hover {
    opacity: 1;
    transform: scale(1.08);
}

.product-rating-box,
.comments-box {
    border-radius: 18px;
}

.interaction-login-cta {
    border: 1px dashed #d1d5db;
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    background: #fafafa;
}

.comment-form textarea {
    width: 100%;
    min-height: 120px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 14px;
    resize: vertical;
}

.comments-list {
    display: grid;
    gap: 18px;
    margin-top: 18px;
}

.comment-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
}

.comment-avatar img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 50%;
}

.comment-content {
    min-width: 0;
}

.comment-text {
    white-space: pre-wrap;
    line-height: 1.6;
}

.comment-actions button {
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 10px;
}

.comment-actions button:hover,
.comment-actions button.is-active {
    background: #f3f4f6;
}

.comment-children {
    margin-top: 14px;
    margin-left: 24px;
    display: grid;
    gap: 12px;
}

.comment-more {
    position: relative;
}

.comment-more-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 140px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    padding: 6px;
    z-index: 20;
}

.comment-more.is-open .comment-more-menu {
    display: block;
}

.comment-more-menu button {
    width: 100%;
    text-align: left;
}

.comment-feedback,
.rating-feedback {
    margin-top: 8px;
    font-size: .95rem;
    color: #16a34a;
}

.comment-empty {
    padding: 14px;
    border-radius: 12px;
    background: #f9fafb;
}

.comment-inline-reply {
    margin-top: 12px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f9fafb;
}

.comment-inline-reply textarea {
    width: 100%;
    min-height: 100px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    padding: 12px;
    resize: vertical;
    background: #fff;
}

.comment-inline-reply-slot {
    margin-top: 10px;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.comment-actions span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    color: #6b7280;
}

.comment-children {
    margin-top: 14px;
    margin-left: 24px;
    padding-left: 14px;
    border-left: 2px solid #ececf3;
    display: grid;
    gap: 12px;
}

.comment-item.is-reply {
    background: #fcfcfe;
}

.comment-head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.comment-head span {
    font-size: .9rem;
    color: #6b7280;
}

.comment-actions [data-comment-toggle-replies][aria-expanded="true"] {
    background: #f3f4f6;
}

.comment-children[hidden] {
    display: none !important;
}

.comment-root-feedback {
    margin-top: 10px;
    font-size: .95rem;
    color: #16a34a;
}

.product-gallery-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.product-gallery-thumb {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(255, 255, 255, 0.04);
    transition: transform .2s ease, border-color .2s ease;
}

.product-gallery-thumb:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.35);
}

.product-gallery-thumb img {
    width: 100%;
    height: 88px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .comment-item {
        grid-template-columns: 1fr;
    }

    .comment-avatar img {
        width: 44px;
        height: 44px;
    }

    .comment-children {
        margin-left: 10px;
    }
}

.blog-card-enhanced {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-thumb {
    display: block;
}

.blog-card-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.blog-card-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: #64748b;
    font-size: .92rem;
    margin-bottom: 12px;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.blog-card-body p {
    margin: 0;
    line-height: 1.7;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    margin-left: auto;
    justify-content: flex-end;
    font-weight: 700;
    color: #4f46e5;
    width: fit-content;
}

.blog-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
    gap: 24px;
    align-items: start;
}

.blog-article-card,
.blog-sidebar-card {
    padding: 20px;
}

.blog-single-cover {
    margin-bottom: 18px;
}

.blog-single-cover img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 20px;
    background: #fff;
}

.blog-single-header h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 1.55rem;
}

.blog-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    color: #64748b;
    margin-bottom: 18px;
}

.blog-single-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-single-content {
    font-size: 1rem;
    color: #334155;
}

.blog-sidebar-list {
    display: grid;
    gap: 16px;
}

.blog-sidebar-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.blog-sidebar-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.blog-sidebar-thumb img {
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 14px;
}

.blog-sidebar-body h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    line-height: 1.45;
}

.blog-sidebar-body p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

.section-head-sm h2 {
    font-size: 1.2rem;
}

@media (max-width: 980px) {
    .blog-single-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .blog-sidebar-item {
        grid-template-columns: 1fr;
    }

    .blog-sidebar-thumb img {
        height: auto;
        max-height: 180px;
    }

    .blog-single-cover img {
        max-height: 240px;
    }
}

@media (max-width: 980px) {
    .hero-grid,.product-hero,.content-grid,.footer-grid,.newsletter-box {
        grid-template-columns:1fr;
        display: grid
    }

    .card-grid,.blog-grid,.testimonial-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .newsletter-form {
        justify-content: stretch
    }

    .newsletter-form input {
        min-width: 0;
        width: 100%
    }
}

@media (max-width: 760px) {
    body.menu-open {
        overflow: hidden;
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 120;
    }

    .main-nav {
        display: none;
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        padding: 96px 24px 32px;
        z-index: 110;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        overflow-y: auto;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a,
    .nav-dropdown > button,
    .locale-switch a {
        width: 100%;
        padding: 14px 16px;
        border-radius: 14px;
        background: #f8fafc;
        color: #0f172a;
        text-align: left;
    }

    .locale-switch a {
        min-width: 0;
        height: auto;
        justify-content: center;
        border: 1px solid #e5e7eb;
        background: #f8fafc;
        color: #0f172a;
        box-shadow: none;
    }

    .locale-switch a.is-active,
    .locale-switch a[aria-current="true"] {
        background: #4f46e5;
        border-color: #4f46e5;
        color: #fff;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown > button {
        border: 1px solid #e5e7eb;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .dropdown-menu {
        position: static;
        display: none;
        margin-top: 10px;
        box-shadow: none;
        border: 1px solid #e5e7eb;
        padding: 12px;
        min-width: 0;
        width: 100%;
    }

    .nav-dropdown.is-open .dropdown-menu {
        display: block;
    }

    .dropdown-group > a {
        background: #f8fafc;
        margin-bottom: 6px;
    }

    .dropdown-submenu {
        padding: 6px 0 8px 10px;
    }

    .dropdown-submenu a {
        background: #fff;
        border: 1px solid #eef2f7;
    }

    .card-grid,
    .blog-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .locale-switch {
        border: 0;
        padding: 0;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .cookie-consent {
        flex-direction: column;
        left: 12px;
        right: 12px;
    }

    .nav-wrap {
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        align-items: center;
        gap: 10px;
    }

    .brand {
        min-width: 0;
    }

    .brand img {
        width: 122px;
    }

    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        width: 44px;
        height: 44px;
        font-size: 28px;
        padding: 0;
    }

    .mobile-user-panel {
        display: block;
        position: relative;
        z-index: 120;
    }

    .mobile-user-trigger {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
    }

    .main-nav {
        grid-column: 1 / -1;
    }
}
