/*GENEL AYARLAR & RESET*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scrollbar-width: thin;
    scrollbar-color: rgba(156, 122, 18, 0.55) rgba(244, 244, 240, 0.4);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

body::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(244, 244, 240, 0.45);
}

::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(156, 122, 18, 0.5);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(112, 86, 10, 0.62);
}

body {
    background-color: #f4f4f0;
    font-family: 'Lato', sans-serif;
    /* Okunabilir, modern font */
    color: #333;
    line-height: 1.6;
}

/* Başlıklar için daha şık bir font */
h1,
h2,
h3,
.site-logo {
    font-family: 'Playfair Display', serif;
}

/* Linkler */
a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

/* (Container) */
.container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    max-width: 1140px;
}

/* YARDIMCI SINIFLAR */
.mt-2 {
    margin-top: 20px;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.hidden {
    display: none;
}

/* POLICY PAGES */
.policy-page {
    min-height: 100vh;
}

.policy-shell {
    padding: 64px 0 90px;
}

.policy-card {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #ece7dc;
    border-radius: 8px;
    padding: 48px;
    box-shadow: 0 18px 48px rgba(47, 79, 79, 0.08);
}

.policy-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #b99a22;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.policy-card h1 {
    color: #1f2f2f;
    font-size: 44px;
    line-height: 1.08;
    margin-bottom: 24px;
}

.policy-card p {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* MODERN DETAIL PAGE */
.detail-page .divider {
    opacity: 0;
    margin: 0;
}

.detail-page .main-layout {
    align-items: flex-start;
    gap: 42px;
    padding-top: 36px;
}

.detail-page .content-area {
    background: rgba(255, 253, 248, 0.96);
    border: 1px solid #ece7dc;
    border-radius: 8px;
    padding: 34px;
    box-shadow: 0 22px 60px rgba(47, 79, 79, 0.10);
}

.detail-loading {
    min-height: 240px;
    display: grid;
    place-items: center;
    color: #667085;
    font-size: 14px;
    font-weight: 800;
}

.detail-loading.hidden {
    display: none;
}

.detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.detail-breadcrumb a {
    color: #667085;
}

.detail-breadcrumb a:hover,
.detail-breadcrumb #dCategoryLink {
    color: #bc9a1f;
}

.detail-breadcrumb-categories {
    max-width: min(520px, 100%);
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.detail-breadcrumb .detail-breadcrumb-categories a {
    color: #bc9a1f;
}

.detail-breadcrumb .detail-breadcrumb-categories a:hover {
    color: #142929;
}

.detail-breadcrumb-category-separator {
    color: #c8c1b3;
}

.detail-breadcrumb i {
    font-size: 10px;
    color: #c8c1b3;
}

.detail-breadcrumb span {
    max-width: min(520px, 100%);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #98a2b3;
}

.detail-breadcrumb .detail-breadcrumb-categories {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    color: inherit;
}

.detail-breadcrumb .detail-breadcrumb-category-separator {
    max-width: none;
    overflow: visible;
    color: #c8c1b3;
    white-space: normal;
}

.detail-title {
    max-width: 780px;
    margin: 0 0 14px !important;
    color: #142929;
    font-size: clamp(34px, 4.4vw, 56px) !important;
    line-height: 1.04;
    letter-spacing: 0;
}

.detail-page .category-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}

.detail-page .cat-tag {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid rgba(188, 154, 31, 0.28);
    border-radius: 999px;
    background: rgba(188, 154, 31, 0.08);
    color: #8a6d12;
    font-size: 12px;
    font-weight: 900;
}

.detail-page .cat-tag:hover {
    background: #142929;
    border-color: #142929;
    color: #fff;
}

.detail-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0 0 28px;
    padding: 14px 0 20px;
    border-top: 1px solid #ece7dc;
    border-bottom: 1px solid #ece7dc;
    color: #667085;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
}

.detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.detail-meta i {
    color: #bc9a1f;
}

.detail-updated {
    display: none;
    color: #9a3412;
}

.detail-page .article-container {
    gap: 26px;
}

.detail-page .share-sidebar {
    width: 54px;
}

.detail-page .sticky-share {
    top: 104px;
    padding: 10px 0;
}

.detail-page .share-count-box {
    width: 54px;
    min-height: 54px;
    display: grid;
    place-items: center;
    gap: 2px;
    margin: 0 0 10px;
    border: 1px solid #ece7dc;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(47, 79, 79, 0.08);
}

.detail-page .share-number {
    color: #142929;
    font-size: 22px;
}

.detail-page .share-label {
    color: #98a2b3;
    font-size: 9px;
}

.detail-page .share-btn-vertical {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(20, 41, 41, 0.12);
}

.detail-page .slider-nav {
    min-height: 62px;
    margin: 0 0 24px;
    padding: 10px;
    border: 1px solid #ece7dc;
    border-radius: 8px;
    background: #fbfaf7;
}

.detail-page .slider-nav.bottom-slider-nav {
    margin-top: 24px;
    margin-bottom: 32px;
    border-top: 1px solid #ece7dc;
}

.detail-page .nav-arrow {
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #475467;
    font-size: 13px;
    font-weight: 900;
}

.detail-page .nav-arrow:hover {
    border-color: #e2d8c4;
    background: #fff;
    color: #142929;
}

.detail-page .next-style-btn {
    min-width: 132px;
    justify-content: center;
    background: #142929;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(20, 41, 41, 0.16);
}

.detail-page .next-style-btn:hover {
    border-color: #142929;
    background: #203f3f;
    color: #fff !important;
}

.detail-page .slide-counter {
    min-width: 68px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: #142929;
    font-size: 13px;
    font-weight: 900;
}

.detail-page .active-slide-area {
    margin-bottom: 0;
    padding: 0 0 4px;
}

.detail-page .slide-img-container {
    overflow: hidden;
    border-radius: 8px;
    background: #f5f1e8;
    border: 1px solid #ece7dc;
}

@media (max-width: 768px) {
    .detail-page .slide-img-container {
        touch-action: pan-y pinch-zoom;
        overscroll-behavior-x: contain;
    }

    .detail-lightbox {
        touch-action: pan-y pinch-zoom;
        overscroll-behavior-x: contain;
    }
}

.detail-page #slideImg {
    width: 100%;
    max-height: 760px;
    object-fit: contain;
    border-radius: 0;
    background: #f5f1e8;
    cursor: zoom-in;
}

.detail-lightbox {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: 34px;
    background: rgba(8, 18, 18, 0.76);
    backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.detail-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.detail-lightbox-figure {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 12px;
    max-width: min(92vw, 980px);
    max-height: 88vh;
    margin: 0;
    transform: scale(0.96);
    transition: transform 0.22s ease;
}

.detail-lightbox.is-open .detail-lightbox-figure {
    transform: scale(1);
}

.detail-lightbox-figure img {
    max-width: min(92vw, 980px);
    max-height: 78vh;
    display: block;
    border-radius: 8px;
    background: #f5f1e8;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.38);
}

.detail-lightbox-figure figcaption {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.detail-lightbox-close,
.detail-lightbox-nav {
    position: fixed;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: transform 0.18s ease, background 0.18s ease;
}

.detail-lightbox-close:hover,
.detail-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.detail-lightbox-close {
    top: 24px;
    right: 24px;
}

.detail-lightbox-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.detail-lightbox-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.detail-lightbox-prev:hover,
.detail-lightbox-next:hover {
    transform: translateY(calc(-50% - 1px));
}

body.detail-lightbox-open {
    overflow: hidden;
}

.detail-page .pin-save-btn {
    top: 16px;
    left: 16px;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(230, 0, 35, 0.94);
    box-shadow: 0 12px 30px rgba(20, 41, 41, 0.20);
}

.detail-page #slideSource {
    margin: 0;
    padding: 10px 14px 12px;
    background: #fff;
    color: #98a2b3;
    font-size: 12px;
}

.detail-page #slideSource a {
    color: #667085;
}

.detail-page #slideSource a:hover {
    color: #bc9a1f;
}

.detail-page #slideDesc {
    margin-top: 24px;
    color: #344054;
    font-size: 17px;
    line-height: 1.86;
}

.detail-page #slideDesc p,
.detail-page #slideDesc div {
    margin-bottom: 18px;
}

.detail-back-home {
    margin-top: 38px;
}

.detail-back-home .pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    border-radius: 999px;
    text-decoration: none;
}

.detail-related {
    display: none;
    margin-top: 64px;
    padding-top: 38px;
    border-top: 1px solid rgba(20, 41, 41, 0.12);
}

.detail-related-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.detail-related h3 {
    margin: 0;
    color: #142929;
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 2.8vw, 38px);
    line-height: 1.08;
    letter-spacing: 0;
}

.detail-related-more {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid rgba(20, 41, 41, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    /* padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent; */
    color: #142929;
    font-size: 12px;
    font-weight: 900;
    /* letter-spacing: 0.08em;
    text-decoration: underline;
    text-underline-offset: 5px;
    text-transform: uppercase; */
    white-space: nowrap;
}

.detail-related-load-row {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.detail-related-load-row[hidden],
.detail-related-load-more[hidden] {
    display: none !important;
}

.detail-related-load-more {
    min-width: 156px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #142929;
    border-radius: 999px;
    background: #142929;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.detail-related-load-more:hover {
    transform: translateY(-2px);
    background: #203f3f;
    color: #fff;
    box-shadow: 0 14px 30px rgba(20, 41, 41, 0.18);
}

.detail-related-load-more:disabled {
    cursor: default;
    opacity: 0.72;
    transform: none;
    box-shadow: none;
}

.detail-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.detail-related-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 16px;
}

.detail-related-card {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    overflow: hidden;
    min-height: 0;
    border: 1px solid rgba(20, 41, 41, 0.10);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(20, 41, 41, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(20, 41, 41, 0.14);
}

.detail-related-image {
    overflow: hidden;
    background: #f5f1e8;
}

.detail-related-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.28s ease;
}

.detail-related-card:hover .detail-related-image img {
    transform: scale(1.025);
}

.detail-related-overlay {
    position: absolute;
    inset: auto 0 0;
    padding: 34px 13px 13px;
    background: linear-gradient(180deg, rgba(20, 41, 41, 0) 0%, rgba(20, 41, 41, 0.78) 100%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: none;
}

.detail-related-card:hover .detail-related-overlay {
    opacity: 0;
    transform: translateY(8px);
}

.detail-related-card h4 {
    margin: 0;
    padding: 0;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.32;
}

.detail-article-related {
    display: none;
    margin-top: 58px;
    padding-top: 34px;
    border-top: 1px solid rgba(20, 41, 41, 0.12);
}

.detail-article-related h3 {
    margin: 0 0 22px;
    color: #142929;
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.08;
    letter-spacing: 0;
}

.detail-article-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
}

.detail-article-related-card {
    display: flex;
    width: 100%;
    margin: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(20, 41, 41, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    color: #142929;
    box-shadow: 0 16px 36px rgba(20, 41, 41, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.detail-article-related-card:hover {
    transform: translateY(-3px);
    border-color: rgba(188, 154, 31, 0.42);
    color: #142929;
    box-shadow: 0 22px 46px rgba(20, 41, 41, 0.13);
}

.detail-article-related-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f5f1e8;
}

.detail-article-related-category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    border-radius: 999px;
    background: rgba(65, 58, 45, 0.78);
    color: #fff;
    padding: 0 13px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-decoration: none;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.detail-article-related-category:hover {
    background: #bc9a1f;
    color: #fff;
    transform: translateY(-1px);
}

.detail-article-related-category:focus-visible,
.detail-article-related-image-link:focus-visible,
.detail-article-related-copy:focus-visible {
    outline: 3px solid #bc9a1f;
    outline-offset: 2px;
}

.detail-article-related-image-link {
    display: block;
}

.detail-article-related-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.28s ease;
}

.detail-article-related-card:hover .detail-article-related-image img {
    transform: scale(1.035);
}

.detail-article-related-copy {
    display: flex;
    flex-direction: column;
    padding: 15px 16px 17px;
    color: #142929;
    text-decoration: none;
}

.detail-article-related-copy strong {
    color: #142929;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.14;
}

.detail-sidebar-card {
    border: 1px solid #ece7dc;
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.94);
    padding: 22px;
    box-shadow: 0 12px 32px rgba(47, 79, 79, 0.08);
}

.detail-page .detail-sidebar-ai-banner {
    border-radius: 8px;
    border: 1px solid #ece7dc;
    box-shadow: 0 14px 34px rgba(47, 79, 79, 0.12);
}

body[data-theme="dark"].detail-page .content-area,
body[data-theme="dark"].detail-page .detail-sidebar-card,
body[data-theme="dark"].detail-page .share-count-box,
body[data-theme="dark"].detail-page .detail-related-card {
    background: #1e1e1e;
    border-color: #333;
}

body[data-theme="dark"].detail-page .detail-title,
body[data-theme="dark"].detail-page .slide-counter,
body[data-theme="dark"].detail-page .detail-related h3,
body[data-theme="dark"].detail-page .detail-related-card h4 {
    color: #fff;
}

body[data-theme="dark"].detail-page .slider-nav,
body[data-theme="dark"].detail-page .slide-img-container,
body[data-theme="dark"].detail-page #slideSource {
    background: #151515;
    border-color: #333;
}

body[data-theme="dark"].detail-page #slideDesc,
body[data-theme="dark"].detail-page .detail-meta {
    color: #d0d5dd;
}

@media (max-width: 768px) {
    .detail-page .main-layout {
        gap: 24px;
        padding-top: 22px;
    }

    .detail-page .content-area {
        padding: 24px 18px;
    }

    .detail-title {
        font-size: 34px !important;
    }

    .detail-page .slider-nav {
        gap: 8px;
        padding: 8px;
    }

    .detail-page .nav-arrow {
        min-width: 0;
        padding: 0 11px;
        font-size: 12px;
    }

    .detail-page .next-style-btn {
        min-width: 104px;
    }

    .detail-page .sticky-share {
        gap: 12px;
        padding: 16px;
        border: 1px solid #ece7dc;
        background: #fbfaf7;
    }

    .detail-page .share-btn-vertical {
        width: 52px;
        height: 52px;
    }

    .detail-breadcrumb span {
        max-width: 100%;
        white-space: normal;
    }
}

.policy-list {
    display: grid;
    gap: 10px;
    margin: 20px 0;
}

.policy-list span {
    display: block;
    padding: 14px 16px;
    border: 1px solid #ece7dc;
    border-radius: 10px;
    background: #fbfaf7;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.45;
}

.policy-list strong {
    color: #1f2f2f;
    margin-right: 8px;
}

.policy-btn {
    margin-top: 12px;
    min-height: 44px;
    padding: 0 24px;
    border-radius: 999px;
    background: #2f4f4f;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.policy-btn:hover {
    background: #203a3a;
    color: #fff;
}

@media (max-width: 700px) {
    .policy-shell {
        padding: 34px 0 58px;
    }

    .policy-card {
        padding: 30px 22px;
    }

    .policy-card h1 {
        font-size: 34px;
    }
}

/* USER AUTH PAGES */
.auth-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 24% 18%, rgba(124, 58, 237, 0.10), transparent 26%),
        radial-gradient(circle at 78% 8%, rgba(185, 154, 34, 0.16), transparent 24%),
        #f7f5ef;
}

.auth-shell {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 18px;
}

.auth-card {
    position: relative;
    width: min(440px, 100%);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(234, 236, 240, 0.92);
    border-radius: 24px;
    padding: 34px;
    box-shadow: 0 28px 72px rgba(17, 24, 39, 0.16);
}

.auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #667085;
    background: #f3f4f6;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.auth-close:hover {
    background: #ece7dc;
    color: #1d2b3a;
    transform: translateY(-1px);
}

.auth-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    color: #d32f2f;
    font-family: 'Playfair Display', serif;
    font-size: 50px;
    font-weight: 900;
    margin-bottom: 0;
    line-height: 1;
}

.auth-brand-row span {
    padding: 7px 11px;
    border: 1px solid #ede9fe;
    border-radius: 999px;
    background: #f6f1ff;
    color: #6f2dbd;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    margin-top: auto;
}

.auth-kicker {
    display: block;
    color: #7c3aed;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 8px;
}

.auth-card h1 {
    color: #14171f;
    font-size: 32px;
    line-height: 1.06;
    margin-bottom: 10px;
    letter-spacing: 0;
}

.auth-card p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.48;
    margin-bottom: 22px;
}

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

.auth-panel {
    animation: authPanelIn 180ms ease both;
}

.auth-panel[hidden] {
    display: none;
}

@keyframes authPanelIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

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

.auth-google-wrap {
    display: flex;
    justify-content: center;
    margin: 0 0 14px;
}

.auth-google-button {
    min-height: 40px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: #9ca3af;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #eaecf0;
}

.auth-form label {
    color: #374151;
    font-size: 13px;
    font-weight: 800;
}

.auth-form input {
    width: 100%;
    margin-top: 8px;
    padding: 14px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    background: #f9fafb;
    color: #111827;
    font-size: 15px;
    outline: none;
    transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.auth-form input:focus {
    background: #fff;
    border-color: #7c3aed;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.auth-forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -4px;
}

.auth-forgot-row a {
    color: #6f2dbd;
    font-size: 13px;
    font-weight: 800;
}

.auth-form button,
.account-actions a,
.account-actions button {
    min-height: 46px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #7c3aed 0%, #b99a22 100%);
    color: #fff;
    font-size: 15px;
    /* font-weight: 800; */
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(124, 58, 237, 0.20);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.auth-form button:hover,
.account-actions a:hover,
.account-actions button:hover {
    color: #fff;
    filter: brightness(0.98);
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(124, 58, 237, 0.24);
}

.auth-message {
    display: none;
    margin-top: 14px;
    padding: 11px 12px;
    border-radius: 8px;
    background: #fff1f1;
    color: #b42318;
    font-size: 13px;
    font-weight: 800;
}

.auth-message.success {
    background: #ecfdf3;
    color: #027a48;
}

.auth-switch,
.auth-back {
    display: block;
    margin-top: 16px;
    color: #667085;
    font-size: 14px;
    text-align: center;
}

.auth-switch a,
.auth-back:hover {
    color: #6f2dbd;
    font-weight: 900;
}

.auth-trust-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 18px;
}

.auth-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f5f3ff;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
}

.auth-trust-row i {
    color: #7c3aed;
    font-size: 13px;
}

.account-card {
    width: min(620px, 100%);
}

.account-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.account-summary div {
    padding: 16px;
    border: 1px solid #ece7dc;
    border-radius: 8px;
    background: #fbfaf7;
}

.account-summary span {
    display: block;
    color: #667085;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.account-summary strong {
    color: #1d2b3a;
    font-size: 15px;
    word-break: break-word;
}

.account-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.account-actions a,
.account-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 640px) {
    .auth-card {
        padding: 28px 22px;
        border-radius: 20px;
    }

    .auth-card h1 {
        font-size: 28px;
    }

    .auth-brand-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .account-summary,
    .account-actions {
        grid-template-columns: 1fr;
    }
}

/* USER ACCOUNT DASHBOARD */
.account-page {
    background: #fff;
    color: #141414;
}

.account-header-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.account-header-credit {
    display: inline-flex;
    /* align-items: center;
    min-height: 54px; */
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 26px rgba(33, 21, 8, 0.08);
}

.account-header-credit span,
.account-header-credit a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.account-header-credit span {
    gap: 7px;
    padding: 0 18px;
    color: #6d27bd;
}

.account-header-credit span i {
    font-size: 18px;
}

.account-header-credit a {
    padding: 0 26px;
    background: #6d27bd;
    color: #fff;
}

.account-header-credit a:hover {
    background: #5e20a6;
    color: #fff;
}

.account-header-menu {
    position: relative;
}

.account-header-user {
    width: 44px;
    height: 44px;
    border: 2px solid #bd991d;
    border-radius: 50%;
    color: #9a7b0d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: #fff;
    cursor: pointer;
}

.account-header-user:hover {
    color: #6d27bd;
    border-color: #6d27bd;
}

.account-header-user[aria-expanded="true"] {
    color: #6d27bd;
    border-color: #6d27bd;
    box-shadow: 0 12px 26px rgba(109, 39, 189, 0.14);
}

.account-header-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 80;
    width: 230px;
    padding: 8px;
    border: 1px solid rgba(189, 153, 29, 0.18);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.account-header-dropdown::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 17px;
    width: 12px;
    height: 12px;
    border-left: 1px solid rgba(189, 153, 29, 0.18);
    border-top: 1px solid rgba(189, 153, 29, 0.18);
    background: #fff;
    transform: rotate(45deg);
}

.account-header-dropdown.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.account-header-dropdown a,
.account-header-dropdown button {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #243b3a;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    font: inherit;
    font-size: 13px;
    /* font-weight: 800; */
    line-height: 1;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.account-header-dropdown a:hover,
.account-header-dropdown button:hover {
    background: #f6f0ff;
    color: #6d27bd;
}

.account-header-dropdown i {
    width: 18px;
    color: #bd991d;
    font-size: 16px;
}

.account-header-dropdown button {
    margin-top: 4px;
    color: #b42318;
}

.account-header-dropdown button:hover {
    background: #fff1f0;
    color: #b42318;
}

.account-dashboard {
    background: #fff;
    min-height: 640px;
    position: relative;
}

.account-subnav {
    height: 64px;
    background: #f4eadc;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 46px;
    border-bottom: 1px solid #eadfcd;
    box-shadow: 0 6px 14px rgba(52, 38, 15, 0.06) inset;
}

.account-subnav a {
    height: 100%;
    display: inline-flex;
    align-items: center;
    color: #161616;
    font-size: 16px;
    font-weight: 800;
    position: relative;
}

.account-subnav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #bd991d;
}

.account-dashboard-inner {
    max-width: 1640px;
    padding-top: 42px;
    padding-bottom: 96px;
}

.account-view {
    display: none;
}

.account-view.active {
    display: block;
}

.account-view-loader {
    min-height: 520px;
    display: none;
    align-items: center;
    justify-content: center;
}

.account-dashboard.is-loading .account-view {
    display: none;
}

.account-dashboard.is-loading .account-view-loader {
    display: flex;
}

.account-view-loader span {
    width: 10px;
    height: 10px;
    margin: 0 3px;
    border-radius: 50%;
    background: #9d9d9d;
    animation: accountLoaderPulse 0.85s infinite ease-in-out;
}

.account-view-loader span:nth-child(2) {
    animation-delay: 0.12s;
}

.account-view-loader span:nth-child(3) {
    animation-delay: 0.24s;
}

.account-view-loader span:nth-child(4) {
    animation-delay: 0.36s;
}

@keyframes accountLoaderPulse {

    0%,
    80%,
    100% {
        opacity: 0.35;
        transform: scale(0.72);
    }

    40% {
        opacity: 1;
        transform: scale(1);
    }
}

.account-section {
    padding: 0 0 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #e8e8e8;
}

.account-section h2,
.account-usage-heading h2 {
    color: #8a8f98;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 26px;
}

.account-email-row {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 32px;
    color: #151515;
}

.account-email-row i {
    color: #bd991d;
    font-size: 26px;
}

.account-email-row strong {
    font-size: 18px;
    font-weight: 700;
}

.account-newsletter {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #161616;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.account-newsletter input {
    appearance: none;
    width: 28px;
    height: 28px;
    border: 1px solid #dedede;
    border-radius: 7px;
    background: #fff;
}

.account-newsletter input:checked {
    background: #bd991d;
    border-color: #bd991d;
    box-shadow: inset 0 0 0 6px #fff;
}

.account-credit-card {
    width: min(430px, 100%);
    min-height: 82px;
    border: 1px solid #e2e2e2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 18px 18px 28px;
}

.account-credit-card strong {
    color: #6d27bd;
    font-size: 24px;
    font-weight: 900;
}

.account-credit-card a {
    min-width: 156px;
    min-height: 54px;
    border-radius: 999px;
    background: #bd991d;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 900;
}

.account-section-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.account-section-heading-row h2 {
    margin-bottom: 8px;
}

.account-section-heading-row p,
.account-security-note {
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}

.account-security-pill {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #f8f3ff;
    color: #6d27bd;
    font-size: 13px;
    font-weight: 900;
    padding: 8px 12px;
}

.account-security-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.account-security-form label {
    color: #111;
    display: grid;
    gap: 8px;
    font-size: 13px;
    font-weight: 900;
}

.account-security-form label[hidden] {
    display: none;
}

.account-security-form input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #dedede;
    border-radius: 12px;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    padding: 0 14px;
    outline: none;
}

.account-security-form input:focus {
    border-color: #bd991d;
    box-shadow: 0 0 0 3px rgba(189, 153, 29, 0.13);
}

.account-security-form .account-outline-btn {
    min-width: 0;
    width: 100%;
    min-height: 48px;
    border-radius: 12px;
    font-size: 15px;
}

.account-security-note {
    margin-top: 12px;
}

.account-inline-message {
    display: none;
    margin-top: 12px;
    border-radius: 10px;
    background: #fff1f0;
    color: #b42318;
    font-size: 14px;
    font-weight: 800;
    padding: 12px 14px;
}

.account-inline-message.success {
    background: #ecfdf3;
    color: #027a48;
}

.account-usage-section {
    margin-bottom: 34px;
}

.account-usage-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.account-usage-heading h2 {
    color: #111;
    font-size: 24px;
    margin-bottom: 0;
}

.account-pagination {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #888;
    font-size: 15px;
}

.account-pagination button {
    width: 28px;
    height: 28px;
    border: 0;
    background: transparent;
    color: #d1d5db;
    font-size: 20px;
    cursor: pointer;
}

.account-table-wrap {
    overflow-x: auto;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
}

.account-usage-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    font-size: 16px;
}

.account-usage-table thead {
    background: #f4eadc;
}

.account-usage-table th,
.account-usage-table td {
    padding: 22px 30px;
    text-align: left;
    color: #111;
    font-weight: 800;
}

.account-usage-table td {
    background: #fff;
    font-weight: 500;
    border-top: 1px solid #ededed;
}

.account-usage-table .negative-credit {
    color: #ff2222;
}

.account-usage-table .positive-credit {
    color: #16a34a;
}

.account-contact-section p {
    color: #111;
    font-size: 17px;
}

.account-contact-section a {
    color: #bd991d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.account-action-row {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.account-outline-btn,
.account-danger-btn {
    min-width: 174px;
    min-height: 58px;
    border-radius: 999px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
}

.account-outline-btn {
    border: 1px solid #bd991d;
    color: #bd991d;
}

.account-danger-btn {
    border: 1px solid #ff2f2f;
    color: #ff1f1f;
}

.account-outline-btn:hover {
    background: #fff9e8;
}

.account-danger-btn:hover {
    background: #fff2f2;
}

.account-footer {
    margin-top: 0;
}

.account-gallery {
    min-height: 520px;
}

.gallery-top-row {
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 18px;
    /* border-bottom: 1px solid #ececec; */
}

.gallery-tabs {
    display: flex;
    align-items: center;
    gap: 30px;
}

.gallery-tabs button {
    border: 0;
    background: transparent;
    color: #151515;
    font-size: 17px;
    font-weight: 500;
    padding: 0 0 17px;
    position: relative;
    cursor: pointer;
}

.gallery-tabs button.active {
    color: #6d27bd;
}

.gallery-tabs button.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: #8f4de8;
}

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

.gallery-selection-actions {
    display: none;
    align-items: center;
    gap: 14px;
}

.account-gallery.is-selecting .gallery-actions {
    display: none;
}

.account-gallery.is-selecting .gallery-selection-actions {
    display: flex;
}

.gallery-selection-actions strong {
    color: #bd8500;
    font-size: 15px;
    font-weight: 500;
}

.gallery-cancel-btn,
.gallery-delete-btn {
    min-height: 38px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 0 22px;
}

.gallery-cancel-btn {
    border: 1px solid #dfe3ea;
    background: #fff;
    color: #405066;
}

.gallery-delete-btn {
    border: 0;
    background: #ff4a52;
    color: #fff;
    min-width: auto;
    padding: 0 24px;
}

.gallery-select-btn,
.gallery-download-btn {
    min-height: 38px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.gallery-select-btn:disabled,
.gallery-download-btn:disabled,
.gallery-delete-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.gallery-select-btn {
    padding: 0 22px;
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #67707c;
}

.gallery-download-btn {
    padding: 0 24px;
    border: 0;
    background: #bd991d;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gallery-created-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    color: #8a8f98;
    font-size: 16px;
    margin: 28px 0 18px;
}

.gallery-created-row span {
    height: 1px;
    background: #bd991d;
    opacity: 0.75;
}

.gallery-created-row b {
    color: #bd991d;
}

.gallery-new-results-banner {
    width: min(100%, 520px);
    margin: 0 auto 22px;
    border: 1px solid #e7d6a1;
    border-radius: 9px;
    background: #fffaf0;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #8a6500;
    font-size: 14px;
    font-weight: 700;
}

.gallery-new-results-banner[hidden] {
    display: none;
}

.gallery-new-results-banner i {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #bd991d;
    color: #fff;
    font-size: 13px;
}

.gallery-results-grid {
    min-height: 210px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

.gallery-load-error {
    width: 100%;
    color: #b42318;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
}

.gallery-result-card {
    width: 164px;
    height: 164px;
    border-radius: 9px;
    overflow: hidden;
    position: relative;
    background: #f4f4f0;
    box-shadow: 0 10px 28px rgba(22, 22, 22, 0.08);
    cursor: zoom-in;
}

.gallery-result-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #f4f4f0;
}

.gallery-favorite {
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #b9b9b9;
    position: absolute;
    right: 9px;
    top: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gallery-favorite.active {
    color: #ff4b8b;
}

.gallery-result-type-badge {
    position: absolute;
    left: 9px;
    bottom: 9px;
    z-index: 2;
    max-width: calc(100% - 18px);
    min-height: 25px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
}

.gallery-result-type-badge i {
    font-size: 12px;
}

.gallery-result-type-badge.is-video {
    background: rgba(189, 153, 29, 0.94);
    color: #fff;
}

.gallery-result-type-badge.is-color {
    color: #6417c8;
}

.gallery-result-type-badge.is-length {
    color: #0f766e;
}

.gallery-result-type-badge.is-styling {
    color: #be185d;
}

.gallery-result-type-badge.is-try-on {
    color: #bd991d;
}

.gallery-result-card.is-selected {
    box-shadow: 0 0 0 3px #bd991d, 0 10px 28px rgba(22, 22, 22, 0.10);
}

.gallery-result-card.is-new-result {
    box-shadow: 0 16px 36px rgba(189, 153, 29, 0.18);
}

.gallery-result-card.is-new-result::before {
    content: "New";
    position: absolute;
    left: 9px;
    top: 9px;
    z-index: 2;
    border-radius: 999px;
    background: #bd991d;
    padding: 4px 8px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.gallery-selected-check {
    width: 30px;
    height: 30px;
    border-radius: 0 0 6px 0;
    background: #bd991d;
    color: #fff;
    position: absolute;
    left: 0;
    top: 0;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.account-gallery.is-selecting .gallery-result-card {
    cursor: pointer;
}

.account-gallery.is-selecting .gallery-favorite {
    display: none;
}

.gallery-preview-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding: 28px;
    background: transparent;
}

.gallery-preview-modal.is-open {
    display: flex;
}

.gallery-preview-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.36);
    backdrop-filter: blur(5px);
}

.gallery-preview-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 500px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    opacity: 0;
    transform: translateY(16px) scale(0.92);
}

.gallery-preview-modal.is-open .gallery-preview-dialog {
    animation: galleryPreviewIn 220ms ease-out forwards;
}

.gallery-preview-toolbar {
    width: 100%;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gallery-preview-back,
.gallery-preview-icon-btn {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #f4f4f4;
    color: #bd991d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    font-size: 21px;
}

.gallery-preview-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-preview-icon-btn {
    width: 34px;
    height: 34px;
    font-size: 17px;
}

.gallery-preview-icon-btn.is-danger {
    color: #e12d2d;
}

.gallery-preview-media {
    position: relative;
    width: 100%;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    background: #f4f4f0;
    box-shadow: 0 18px 54px rgba(15, 23, 42, 0.22);
}

.gallery-preview-media img,
.gallery-preview-media video {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: min(62vh, 520px);
    display: block;
    object-fit: contain;
    background: transparent;
}

.gallery-preview-media img[hidden],
.gallery-preview-media video[hidden] {
    display: none !important;
}

.gallery-preview-media .gallery-preview-video-bg {
    position: absolute;
    inset: -18px;
    z-index: 0;
    width: calc(100% + 36px);
    height: calc(100% + 36px);
    max-height: none;
    object-fit: cover;
    filter: blur(24px) saturate(1.12);
    opacity: 0.72;
    transform: scale(1.08);
    pointer-events: none;
}

#galleryPreviewVideo {
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    transform: none;
}

.gallery-preview-heart,
.gallery-preview-copy,
.gallery-preview-nav {
    position: absolute;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.88);
    color: #c4c4c4;
    font-size: 23px;
    box-shadow: 0 8px 20px rgba(16, 24, 40, 0.13);
}

.gallery-preview-heart {
    right: 16px;
    top: 18px;
}

.gallery-preview-heart.active {
    color: #ff4b8b;
}

.gallery-preview-copy {
    right: 16px;
    bottom: 24px;
    color: #bd991d;
    font-size: 19px;
}

.gallery-preview-copy.active {
    color: #12b76a;
}

.gallery-preview-nav {
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.88);
    color: #bd991d;
}

.gallery-preview-prev {
    left: 18px;
}

.gallery-preview-next {
    right: 18px;
}

.gallery-preview-nav:disabled {
    opacity: 0.36;
    cursor: default;
}

.gallery-preview-actions {
    width: 100%;
    background: #f4f4f4;
    padding: 12px 14px 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.gallery-preview-actions button {
    min-height: 52px;
    border: 0;
    border-radius: 9px;
    background: #f0e5f8;
    color: #5d12bb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 14px;
    /* font-weight: 800; */
    cursor: pointer;
}

.gallery-preview-actions button i {
    font-size: 22px;
}

.gallery-preview-actions[hidden],
.gallery-preview-video-actions[hidden] {
    display: none !important;
}

.gallery-preview-video-actions {
    width: 100%;
    background: #f4f4f4;
    padding: 14px 14px 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.gallery-preview-video-actions a,
.gallery-preview-video-actions button {
    min-height: 52px;
    border: 0;
    border-radius: 9px;
    background: #f0e5f8;
    color: #5d12bb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font: inherit;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
}

.gallery-preview-video-actions a {
    background: #bd991d;
    color: #fff;
    box-shadow: 0 10px 24px rgba(189, 153, 29, 0.18);
}

.gallery-preview-video-actions i {
    font-size: 20px;
}

.gallery-preview-source {
    width: 100%;
    background: #f4f4f4;
    padding: 0 14px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #667085;
    font-size: 12px;
    line-height: 1.35;
}

.gallery-preview-source[hidden] {
    display: none !important;
}

.gallery-preview-source span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.gallery-preview-source i {
    color: #bd991d;
    font-size: 14px;
}

.gallery-preview-source button {
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #5d12bb;
    padding: 6px 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(93, 18, 187, 0.12);
}

.gallery-preview-source button:disabled {
    color: #98a2b3;
    cursor: default;
}

.gallery-preview-source.is-missing {
    color: #98a2b3;
}

.gallery-preview-feedback {
    width: 100%;
    min-height: 0;
    margin: 0;
    background: #f4f4f4;
    color: #5d12bb;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    text-align: center;
}

.gallery-preview-feedback.is-visible {
    padding: 4px 14px 6px;
}

.gallery-preview-report {
    width: 100%;
    margin: 0;
    border-radius: 0 0 8px 8px;
    background: #f4f4f4;
    padding: 8px 14px 18px;
    color: #101828;
    font-size: 13px;
    text-align: center;
}

.gallery-preview-report a {
    color: #e12d2d;
    text-decoration: underline;
}

.gallery-action-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2;
    background: rgba(15, 23, 42, 0.34);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.gallery-action-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.gallery-action-sheet {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 0;
    width: min(430px, calc(100vw - 32px));
    max-height: min(86dvh, 760px);
    overflow: auto;
    padding: 28px 18px 20px;
    border-radius: 22px 22px 0 0;
    background: #fff;
    box-shadow: 0 -18px 60px rgba(15, 23, 42, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 18px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.gallery-action-sheet.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.gallery-action-handle {
    position: absolute;
    top: 11px;
    left: 50%;
    width: 36px;
    height: 3px;
    border-radius: 999px;
    background: #dedede;
    transform: translateX(-50%);
}

.gallery-action-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: #f7f7f7;
    color: #bd991d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gallery-action-sheet h2 {
    margin: 0;
    padding: 4px 36px 8px;
    color: #231f20;
    font-size: 22px;
    line-height: 1.15;
    text-align: center;
}

.gallery-action-credit {
    width: fit-content;
    min-width: 122px;
    min-height: 38px;
    margin: 0 auto 16px;
    padding: 9px 22px;
    border-radius: 999px;
    background: #f3f1f3;
    color: #7429c6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
}

.gallery-action-credit-state {
    margin: -4px 0 14px;
    padding: 10px 12px;
    border: 1px solid rgba(18, 183, 106, 0.18);
    border-radius: 12px;
    background: rgba(236, 253, 243, 0.78);
    color: #067647;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    line-height: 1.3;
}

.gallery-action-credit-state[hidden] {
    display: none !important;
}

.gallery-action-credit-state.is-warning {
    border-color: rgba(217, 45, 32, 0.16);
    background: rgba(254, 243, 242, 0.86);
    color: #b42318;
}

.gallery-action-credit-state a {
    flex: 0 0 auto;
    min-height: 30px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #bd991d;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(189, 153, 29, 0.18);
}

.gallery-action-credit-state a[hidden] {
    display: none !important;
}

.gallery-action-body {
    display: grid;
    gap: 14px;
}

.gallery-color-group {
    padding: 14px 16px 16px;
    border: 1px solid #e7e5e7;
    border-radius: 14px;
    background: #fff;
}

.gallery-color-group h3 {
    margin: 0 0 12px;
    color: #111;
    font-size: 14px;
}

.gallery-color-swatches {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
}

.gallery-color-swatches::-webkit-scrollbar {
    display: none;
}

.gallery-color-swatch {
    flex: 0 0 auto;
    width: 31px;
    height: 31px;
    border: 0;
    border-radius: 50%;
    background: var(--swatch, #8d6b4b);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08), 0 5px 12px rgba(16, 24, 40, 0.12);
    cursor: pointer;
}

.gallery-color-swatch.is-selected {
    outline: 3px solid rgba(117, 47, 210, 0.24);
    box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #752fd2;
}

.gallery-action-video-copy {
    margin: -6px 8px 4px;
    color: #7a7580;
    font-size: 15px;
    line-height: 1.45;
    text-align: center;
}

.gallery-action-video {
    width: min(215px, 72%);
    aspect-ratio: 1 / 1;
    margin: 0 auto 8px;
    border-radius: 8px;
    overflow: hidden;
    background: #f3eee8;
    box-shadow: 0 14px 32px rgba(16, 24, 40, 0.14);
}

.gallery-action-video video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: translateX(-7%) scale(1.58);
    transform-origin: center;
}

.gallery-action-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
}

.gallery-action-option {
    position: relative;
    min-height: 150px;
    border: 1px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(252, 245, 226, 0.92), rgba(230, 205, 255, 0.72)),
        #f4eef9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gallery-action-option:hover,
.gallery-action-option.is-selected {
    border-color: #7c2bd9;
    box-shadow: 0 12px 28px rgba(124, 43, 217, 0.16);
}

.gallery-action-option.is-selected {
    transform: translateY(-1px);
}

.gallery-action-option img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-action-option span {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 1;
    padding: 7px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #42137a;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.gallery-action-option.is-contain img {
    padding: 8px;
    object-fit: contain;
}

.gallery-action-copy {
    margin: 2px 8px 4px;
    color: #111;
    font-size: 14px;
    line-height: 1.38;
    text-align: center;
}

.gallery-action-generate {
    width: 100%;
    min-height: 48px;
    margin-top: 16px;
    border: 0;
    border-radius: 12px;
    background: #bd991d;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 9px 22px rgba(189, 153, 29, 0.25);
}

.gallery-action-generate:disabled {
    background: #d8dbe3;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
}

.gallery-generating-modal {
    position: fixed;
    inset: 0;
    z-index: 3600;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(14, 18, 24, 0.44);
    backdrop-filter: blur(6px);
}

.gallery-generating-modal.is-open {
    display: flex;
}

.gallery-generating-card {
    width: min(100%, 430px);
    border-radius: 14px;
    background: #fff;
    padding: 34px 34px 30px;
    text-align: center;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.26);
}

.gallery-generating-modal.is-complete .gallery-generating-card {
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.gallery-generating-visual {
    height: 92px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gallery-generating-tile,
.gallery-generating-visual span {
    position: relative;
    width: 62px;
    height: 78px;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(160deg, #f8f2ff, #efe4d3);
    box-shadow: 0 10px 26px rgba(39, 31, 18, 0.14);
    animation: galleryGeneratingCardFloat 1.4s ease-in-out infinite;
}

.gallery-generating-tile:nth-child(2),
.gallery-generating-visual span:nth-child(2) {
    width: 72px;
    height: 88px;
    background: linear-gradient(160deg, #efe6d8, #f8f9fa);
    animation-delay: 0.16s;
}

.gallery-generating-tile:nth-child(3),
.gallery-generating-visual span:nth-child(3) {
    animation-delay: 0.32s;
}

.gallery-generating-tile img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-generating-tile.is-color {
    display: grid;
    place-items: center;
}

.gallery-generating-tile.is-icon {
    display: grid;
    place-items: center;
    color: #7c2bd9;
    font-size: 28px;
}

.gallery-generating-tile.is-color::after {
    content: "";
    width: 44px;
    height: 44px;
    border: 3px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    background: var(--gallery-generating-color, #bd991d);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
}

.gallery-generating-tile.is-result {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #f9f5ff, #f3eee4);
}

.gallery-generating-tile.is-result::before {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-90%);
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.72) 50%, transparent 80%);
    animation: galleryGeneratingTileShimmer 1.35s ease-in-out infinite;
}

.gallery-generating-tile.is-result i {
    position: relative;
    z-index: 1;
    color: #7c2bd9;
    font-size: 24px;
}

.gallery-generating-modal.is-complete .gallery-generating-tile {
    animation: none;
    opacity: 1;
}

.gallery-generating-modal.is-complete .gallery-generating-tile.is-result {
    background: #f7f1df;
}

.gallery-generating-modal.is-complete .gallery-generating-tile.is-result::before {
    display: none;
}

.gallery-generating-modal.is-complete .gallery-generating-tile.is-result i {
    color: #bd991d;
}

.gallery-generating-tile-label {
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 6px;
    z-index: 2;
    padding: 3px 5px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    color: #fff;
    font-size: 9px;
    line-height: 1;
    white-space: nowrap;
}

.gallery-generating-card h2 {
    margin: 0 0 8px;
    color: #0f2740;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    line-height: 1.15;
}

.gallery-generating-card p {
    min-height: 22px;
    margin: 0 0 22px;
    color: #667085;
    font-size: 15px;
}

.gallery-generating-bar {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #eee7f8;
}

.gallery-generating-bar span {
    display: block;
    width: 38%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #7c2bd9, #bd991d);
    animation: galleryGeneratingBarSlide 1.15s ease-in-out infinite;
}

.gallery-generating-modal.is-complete .gallery-generating-bar span {
    width: 100%;
    transform: none;
    background: linear-gradient(90deg, #bd991d, #7c2bd9);
    animation: none;
}

.gallery-generating-card button {
    min-width: 120px;
    height: 42px;
    margin-top: 24px;
    border: 0;
    border-radius: 7px;
    background: #bd991d;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

@keyframes galleryGeneratingCardFloat {
    0%,
    100% {
        transform: translateY(6px) scale(0.96);
        opacity: 0.72;
    }

    50% {
        transform: translateY(-6px) scale(1);
        opacity: 1;
    }
}

@keyframes galleryGeneratingBarSlide {
    0% {
        transform: translateX(-105%);
    }

    100% {
        transform: translateX(265%);
    }
}

@keyframes galleryGeneratingTileShimmer {
    0% {
        transform: translateX(-90%);
    }

    100% {
        transform: translateX(120%);
    }
}

@keyframes galleryPreviewIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.92);
    }

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

@media (max-width: 560px) {
    .gallery-preview-modal {
        padding: 16px;
    }

    .gallery-preview-dialog {
        width: 100%;
    }

    .gallery-preview-media img {
        max-height: 58vh;
    }

    .gallery-preview-actions,
    .gallery-preview-video-actions {
        grid-template-columns: 1fr;
    }

    .gallery-preview-actions button,
    .gallery-preview-video-actions a,
    .gallery-preview-video-actions button {
        min-height: 48px;
    }

    .gallery-preview-source {
        flex-wrap: wrap;
        text-align: center;
    }

    .gallery-action-sheet {
        width: calc(100vw - 24px);
        max-height: 88dvh;
        padding-inline: 16px;
    }

    .gallery-action-option {
        min-height: 134px;
    }
}

.account-gallery.is-selecting .gallery-result-card.is-selected .gallery-selected-check {
    display: inline-flex;
}

.gallery-results-grid.show-favorites [data-gallery-card]:not(.is-favorite) {
    display: none;
}

.gallery-empty-cta {
    margin-top: 28px;
    min-height: 148px;
    border-radius: 8px;
    background: #f4eadc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    text-align: center;
}

.gallery-empty-cta h2 {
    color: #635b4f;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 900;
}

.gallery-empty-cta a {
    width: min(370px, calc(100% - 40px));
    min-height: 54px;
    border-radius: 999px;
    background: #bd991d;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 900;
}

.purchase-credits-page {
    max-width: 930px;
    margin: 0 auto;
}

.purchase-credit-summary {
    min-height: 100px;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}

.purchase-credit-summary h2 {
    color: #111;
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    font-weight: 900;
}

.purchase-credit-summary strong {
    color: #6d27bd;
    font-size: 24px;
    font-weight: 900;
}

.purchase-info-panel {
    background: #f4eadc;
    border: 1px solid #eadfcd;
    border-radius: 14px;
    padding: 18px 18px;
    margin-bottom: 18px;
}

.purchase-info-panel h2 {
    color: #111;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 900;
    text-align: center;
    padding-bottom: 18px;
    border-bottom: 1px solid #e0d4c1;
}

.purchase-info-panel h2 span {
    color: #6d27bd;
}

.purchase-benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 48px;
    max-width: 720px;
    margin: 18px auto 0;
}

.purchase-benefit-grid p,
.purchase-plan-card li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #111;
    font-size: 15px;
    font-weight: 500;
}

.purchase-benefit-grid i,
.purchase-plan-card li i,
.purchase-guarantee i {
    color: #bd991d;
    font-size: 20px;
}

.purchase-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #111;
    font-size: 17px;
    margin: 18px 0 22px;
}

.purchase-plan-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.purchase-plan-card {
    background: #f4eadc;
    border: 1px solid #ead0a2;
    border-radius: 20px;
    padding: 20px 22px 18px;
    position: relative;
}

.purchase-plan-card.popular {
    border-color: #8f3bd5;
    box-shadow: 0 0 0 1px rgba(143, 59, 213, 0.1);
}

.purchase-popular-badge {
    position: absolute;
    right: 0;
    top: 0;
    background: #6d27bd;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    padding: 9px 20px;
    border-radius: 0 18px 0 12px;
}

.purchase-plan-card h2 {
    color: #111;
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 18px;
}

.purchase-plan-card h3 {
    color: #111;
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 16px;
}

.purchase-credit-option {
    min-height: 40px;
    display: grid;
    grid-template-columns: 28px minmax(110px, 1fr) 70px 80px 92px;
    align-items: center;
    column-gap: 8px;
    cursor: pointer;
}

.purchase-credit-option input {
    display: none;
}

.purchase-credit-option>span {
    width: 28px;
    height: 28px;
    border: 1.5px solid #bd991d;
    border-radius: 50%;
    background: #fff;
    position: relative;
}

.purchase-credit-option input:checked+span::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: #bd991d;
}

.purchase-credit-option strong,
.purchase-credit-option b,
.purchase-credit-option small {
    color: #111;
    font-size: 16px;
}

.purchase-credit-option b {
    font-weight: 800;
    text-align: right;
}

.purchase-credit-option small {
    font-weight: 400;
    white-space: nowrap;
}

.purchase-credit-option em {
    min-width: 86px;
    border-radius: 8px;
    background: #6d27bd;
    color: #fff;
    font-style: normal;
    font-size: 13px;
    font-weight: 800;
    padding: 6px 8px;
    text-align: center;
}

.purchase-credit-option em.empty {
    visibility: hidden;
}

.purchase-plan-card ul {
    display: grid;
    gap: 2px;
    margin: -11px 0;
}

.purchase-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 18px 0 24px;
}

.purchase-price-row strong {
    color: #16110a;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    line-height: 1;
}

.purchase-price-row span {
    color: #111;
    font-size: 15px;
    font-weight: 500;
}

.purchase-primary-btn {
    width: 100%;
    min-height: 54px;
    border: 0;
    border-radius: 10px;
    background: #bd991d;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.purchase-primary-btn.secondary {
    border: 1px solid #bd991d;
    background: transparent;
    color: #8d7115;
}

.purchase-primary-btn:hover {
    background: #aa8817;
    color: #fff;
}

.purchase-message {
    display: none;
    margin-top: 18px;
    padding: 13px 16px;
    border-radius: 10px;
    background: #ecfdf3;
    color: #027a48;
    font-size: 14px;
    font-weight: 900;
    text-align: center;
}

.account-demo-payment-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.account-demo-payment-modal.active {
    display: flex;
}

.account-demo-payment-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 12, 12, 0.54);
    backdrop-filter: blur(7px);
}

.account-demo-payment-card {
    width: min(460px, 100%);
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.24);
}

.account-demo-payment-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f4f4f0;
    color: #555;
    position: absolute;
    right: 18px;
    top: 18px;
    cursor: pointer;
}

.account-demo-payment-badge {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    background: #fff9e8;
    color: #9a7b0d;
    font-size: 13px;
    font-weight: 900;
    padding: 8px 12px;
    margin-bottom: 16px;
}

.account-demo-payment-card h2 {
    color: #16110a;
    font-family: 'Lato', sans-serif;
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 8px;
}

.account-demo-payment-card p {
    color: #667085;
    font-size: 15px;
    margin-bottom: 20px;
}

.account-demo-payment-summary {
    border: 1px solid #eadfcd;
    border-radius: 12px;
    background: #f9f4eb;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.account-demo-payment-summary span,
.account-demo-payment-summary strong {
    color: #111;
    font-size: 16px;
    font-weight: 900;
}

.account-demo-payment-summary small {
    display: block;
    color: #7b8492;
    font-size: 12px;
    margin-top: 3px;
}

.account-demo-payment-field {
    display: block;
    color: #1d2b3a;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 14px;
}

.account-demo-payment-field input {
    width: 100%;
    margin-top: 7px;
    padding: 13px 14px;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    font-size: 15px;
}

.account-demo-card-number {
    min-height: 48px;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    color: #667085;
    font-weight: 900;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
}

.account-demo-payment-submit {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    background: #bd991d;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

.account-demo-payment-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.account-delete-modal {
    position: fixed;
    inset: 0;
    z-index: 5100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.account-delete-modal.active {
    display: flex;
}

.account-delete-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(1px);
}

.account-delete-card {
    position: relative;
    z-index: 1;
    width: min(538px, 100%);
    border-radius: 24px;
    background: #fff;
    padding: 42px 40px 56px;
    text-align: center;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.account-delete-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #c9cbd1;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}

.account-delete-close:hover {
    background: #b5b8c0;
}

.account-delete-card h2 {
    max-width: 370px;
    margin: 0 auto 24px;
    color: #141414;
    font-family: 'Playfair Display', serif;
    font-size: 31px;
    /* font-weight: 900; */
    line-height: 1.25;
}

.account-delete-card p {
    color: #202124;
    font-size: 17px;
    line-height: 1.45;
    margin-bottom: 22px;
}

.account-delete-confirm,
.account-delete-cancel {
    width: 100%;
    min-height: 60px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.account-delete-confirm {
    border: 0;
    background: #ef2d25;
    color: #fff;
    margin-bottom: 20px;
}

.account-delete-confirm:hover {
    background: #dc211a;
}

.account-delete-confirm:disabled {
    opacity: 0.7;
    cursor: wait;
}

.account-delete-cancel {
    border: 1px solid #bd991d;
    background: #fff;
    color: #bd991d;
}

.account-delete-cancel:hover {
    background: #fff9e8;
}

@media (max-width: 768px) {
    .account-page .header-content {
        align-items: center;
        gap: 10px;
        flex-direction: row;
    }

    .account-page .logo-area {
        max-width: 132px;
        flex: 0 1 132px;
        min-width: 0;
    }

    .account-page .logo-area .site-logo {
        font-size: 28px;
        letter-spacing: -0.8px;
        white-space: nowrap;
    }

    .account-page .logo-area .site-slogan {
        display: block;
        font-size: 9px;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    .account-header-actions {
        align-self: auto;
        justify-content: flex-end;
        gap: 8px;
        flex-shrink: 0;
    }

    .account-header-credit {
        min-height: 38px;
        flex: 0 0 auto;
    }

    .account-header-credit span,
    .account-header-credit a {
        min-height: 38px;
        font-size: 11px;
    }

    .account-header-credit span {
        gap: 4px;
        padding: 0 8px;
    }

    .account-header-credit span i {
        font-size: 13px;
    }

    .account-header-credit a {
        padding: 0 10px;
    }

    .account-header-user {
        width: 38px;
        height: 38px;
        font-size: 18px;
        flex: 0 0 auto;
    }

    .account-header-dropdown {
        right: -4px;
        width: min(230px, calc(100vw - 24px));
    }

    .account-subnav {
        gap: 24px;
        height: 58px;
    }

    .account-subnav a {
        font-size: 14px;
    }

    .account-dashboard-inner {
        padding-top: 28px;
        padding-bottom: 56px;
    }

    .account-section h2,
    .account-usage-heading h2 {
        font-size: 15px;
    }

    .account-email-row strong,
    .account-newsletter,
    .account-contact-section p {
        font-size: 14px;
    }

    .account-credit-card {
        align-items: stretch;
        flex-direction: column;
        padding: 20px;
    }

    .account-credit-card a {
        width: 100%;
    }

    .account-section-heading-row {
        flex-direction: column;
    }

    .account-security-pill {
        width: fit-content;
    }

    .account-security-form {
        grid-template-columns: 1fr;
    }

    .account-usage-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery-top-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery-actions {
        width: 100%;
        justify-content: space-between;
    }

    .gallery-selection-actions {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .gallery-selection-actions strong,
    .gallery-cancel-btn,
    .gallery-delete-btn {
        font-size: 14px;
    }

    .gallery-cancel-btn,
    .gallery-delete-btn {
        min-height: 40px;
        padding: 0 16px;
    }

    .gallery-created-row {
        grid-template-columns: 1fr;
        gap: 10px;
        text-align: center;
    }

    .gallery-created-row span {
        width: 100%;
    }

    .gallery-result-card {
        width: 144px;
        height: 144px;
    }

    .purchase-credits-page {
        max-width: 100%;
    }

    .purchase-benefit-grid,
    .purchase-plan-grid {
        grid-template-columns: 1fr;
    }

    .purchase-benefit-grid {
        gap: 14px;
    }

    .purchase-credit-option {
        grid-template-columns: 28px 1fr auto;
    }

    .purchase-credit-option small {
        display: none;
    }

    .purchase-credit-option em {
        grid-column: 2 / -1;
        justify-self: flex-start;
    }

    .account-delete-card {
        padding: 40px 22px 32px;
        border-radius: 22px;
    }

    .account-delete-card h2 {
        font-size: 27px;
        margin-bottom: 20px;
    }

    .account-delete-card p {
        font-size: 16px;
    }
}

@media (max-width: 420px) {
    .account-page .top-header {
        padding: 14px 0;
    }

    .account-page .logo-area {
        max-width: 112px;
        flex-basis: 112px;
    }

    .account-page .logo-area .site-logo {
        font-size: 24px;
    }

    .account-page .logo-area .site-slogan {
        font-size: 8px;
        letter-spacing: 0.3px;
    }

    .account-header-credit {
        min-height: 34px;
    }

    .account-header-credit span,
    .account-header-credit a {
        min-height: 34px;
        font-size: 10px;
    }

    .account-header-credit span {
        padding: 0 7px;
    }

    .account-header-credit a {
        padding: 0 9px;
    }

    .account-header-user {
        width: 34px;
        height: 34px;
        font-size: 16px;
        border-width: 1px;
    }
}

/*HEADER*/
.top-header {
    background-color: #f4f4f0;
    /* Biraz daha soft bir bej */
    padding: 20px 0;
    border-bottom: 1px solid #e0e0d0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    color: #d32f2f;
    font-size: 42px;
    /* Logo büyütüldü */
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
}

.site-slogan {
    color: #666;
    font-size: 14px;
    font-family: 'Lato', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.top-icons {
    display: flex;
    gap: 30px;
}

.icon-item {
    text-align: center;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    color: #555;
    letter-spacing: 0.5px;
}

.icon-item i {
    font-size: 20px;
    display: block;
    margin-bottom: 5px;
    transition: 0.3s;
}

.icon-item:hover i {
    color: #d32f2f;
    transform: translateY(-3px);
}


/*NAVBAR*/
.main-navbar {
    background-color: #2f4f4f;
    color: white;
    height: 50px;
    position: sticky;
    /* Menü yukarı yapışsın */
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-links {
    display: flex;
    height: 100%;
}

.nav-links li {
    position: relative;
    height: 100%;
}

.nav-links li a {
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 0 18px;
    height: 100%;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links li a:hover,
.nav-links li a.active {
    background-color: #233d3d;
    /* Hover rengi koyulaştı */
    color: #fff;
}

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

.nav-right-icons i {
    cursor: pointer;
    font-size: 18px;
    transition: 0.2s;
}

.nav-right-icons i:hover {
    color: #ddd;
}

.nav-search-trigger {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-search-trigger i {
    margin: 0;
    font-size: 17px;
}

.nav-search-trigger:hover,
.nav-search-trigger.is-active {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
    transform: translateY(-1px);
}

.admin-link {
    text-decoration: none;
    /* Alt çizgiyi kaldırır */
    color: inherit;
    /* Rengin değişmesini engeller, mevcut rengi korur */
    cursor: pointer;
    /* Üzerine gelince el işareti çıkar */
}


.nav-auth-link {
    min-height: 34px;
    padding: 0 2px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 12px;
    /* font-weight: 900; */
    line-height: 1;
    text-transform: uppercase;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.nav-auth-link i {
    margin-left: 0;
    font-size: 16px;
}

.nav-auth-link span {
    white-space: nowrap;
}

.nav-auth-link small {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 7px;
    color: #e7d79d;
    font-size: 10px;
    white-space: nowrap;
}

.nav-auth-link:hover {
    background: transparent;
    border-color: transparent;
    color: #fff;
    transform: translateY(-1px);
}

.nav-auth-link.is-logged-in {
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.1);
}

.nav-auth-link.is-logged-in:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.nav-account-menu {
    position: relative;
    display: inline-flex;
}

.nav-account-menu .admin-link {
    border: 0;
    cursor: pointer;
}

.nav-account-menu .admin-link[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.nav-account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1200;
    width: 244px;
    padding: 8px;
    border: 1px solid rgba(189, 153, 29, 0.2);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 160ms ease, transform 160ms ease;
}

.nav-account-dropdown::before {
    content: "";
    position: absolute;
    top: -7px;
    right: 18px;
    width: 12px;
    height: 12px;
    border-left: 1px solid rgba(189, 153, 29, 0.2);
    border-top: 1px solid rgba(189, 153, 29, 0.2);
    background: #fff;
    transform: rotate(45deg);
}

.nav-account-dropdown.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-account-summary {
    margin: 2px 2px 8px;
    padding: 10px;
    border-radius: 11px;
    background: #f8f3ff;
    color: #243b3a;
}

.nav-account-summary strong,
.nav-account-summary span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-account-summary strong {
    font-size: 13px;
}

.nav-account-summary span {
    margin-top: 4px;
    color: #6d27bd;
    font-size: 12px;
    font-weight: 800;
}

.nav-account-dropdown a,
.nav-account-dropdown button {
    width: 100%;
    min-height: 40px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #243b3a;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.nav-account-dropdown a:hover,
.nav-account-dropdown button:hover {
    background: #f6f0ff;
    color: #6d27bd;
}

.nav-account-dropdown i {
    width: 18px;
    color: #bd991d;
    font-size: 16px;
}

.nav-account-dropdown button {
    margin-top: 4px;
    color: #b42318;
}

.nav-account-dropdown button:hover {
    background: #fff1f0;
    color: #b42318;
}

@media (max-width: 768px) {
    .nav-account-dropdown {
        right: -8px;
        width: min(244px, calc(100vw - 24px));
    }
}

/*NAVBAR ARAMA KUTUSU (MODERN TASARIM)*/
.nav-search-dropdown {
    display: none;
    position: absolute;
    top: 45px;
    right: 0;
    background-color: white;
    padding: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    z-index: 1000;
    width: 260px;
    border: 1px solid #f0f0f0;
}

/* Kutuyu göster dediğimizde çalışacak sınıf */
.nav-search-dropdown.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.nav-search-dropdown input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

/*Modern Efekt Buras*/
.nav-search-dropdown input:focus {
    background-color: #fff;
    /* Odaklanınca zemin beyazlaşsın */
    border-color: #2f4f4f;
    box-shadow: 0 0 0 3px rgba(47, 79, 79, 0.1);

}

/* Animasyon */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

body[data-theme="dark"] .nav-search-dropdown {
    background-color: #1e1e1e;
    border-color: #333;
}

body[data-theme="dark"] .nav-search-dropdown input {
    background-color: #2c2c2c;
    color: white;
    border-color: #444;
}

body[data-theme="dark"] .nav-search-dropdown input:focus {
    background-color: #333;
    border-color: #d32f2f;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.15);
}

.nav-right-icons .nav-search-dropdown {
    position: absolute;
    top: 50%;
    right: 100%;
    transform: translate(12px, -50%) scaleX(0.92);
    transform-origin: right center;
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(220px, calc(100vw - 220px));
    min-width: 190px;
    height: 40px;
    padding: 0 10px 0 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 38px rgba(4, 25, 25, 0.24);
    border-radius: 999px;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    backdrop-filter: blur(10px);
}

.nav-right-icons .nav-search-dropdown.active {
    animation: none;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transform: translate(-10px, -50%) scaleX(1);
}

.nav-search-field-icon {
    color: #b89114;
    flex: 0 0 auto;
    font-size: 15px;
}

.nav-right-icons .nav-search-dropdown input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0;
    outline: none;
    font-size: 13px;
    color: #163333;
    background: transparent;
    box-shadow: none;
}

.nav-right-icons .nav-search-dropdown input::placeholder {
    color: #708181;
}

.nav-search-close {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: rgba(47, 79, 79, 0.08);
    color: #2f4f4f;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex: 0 0 auto;
    transition: background 0.18s ease, color 0.18s ease;
}

.nav-search-close i {
    margin: 0;
    font-size: 12px;
}

.nav-search-close:hover {
    background: #2f4f4f;
    color: #fff;
}

body[data-theme="dark"] .nav-right-icons .nav-search-dropdown {
    background: rgba(28, 37, 37, 0.97);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

body[data-theme="dark"] .nav-right-icons .nav-search-dropdown input {
    color: #fff;
    background: transparent;
    border: 0;
}

body[data-theme="dark"] .nav-right-icons .nav-search-dropdown input::placeholder {
    color: #9ca9a9;
}

body[data-theme="dark"] .nav-search-close {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* DROPDOWN MENÜ*/
@media (max-width: 1020px) and (min-width: 769px) {
    .nav-right-icons .nav-search-dropdown {
        top: calc(100% + 10px);
        right: 0;
        width: 300px;
        transform: translateY(-6px) scale(0.98);
        transform-origin: top right;
    }

    .nav-right-icons .nav-search-dropdown.active {
        transform: translateY(0) scale(1);
    }
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 180px;
    /* Genişlik de biraz azaldı (200px -> 180px) */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0;
    border-radius: 0 0 4px 4px;
    display: none;
    border-top: 3px solid #d32f2f;
    z-index: 1000;
}

/* Link Ayarları */
.sub-menu li a {
    color: #333 !important;
    padding: 8px 15px;
    /* Boşluklar azaldı (10px -> 8px) */
    height: auto;
    font-size: 12px;
    /* Yazı boyutu küçüldü (13px -> 12px) */
    font-weight: 600;
    /* Okunabilirlik için hafif kalınlaştı */
    text-transform: none;
    border-bottom: 1px solid #f5f5f5;
    display: block;
    width: 100%;
    transition: all 0.2s ease;
}

/* Hover Efekti */
.sub-menu li a:hover {
    background-color: #f9f9f9;
    color: #d32f2f !important;
    padding-left: 20px;
    /* Kayma efekti */
}

/* Son eleman düzeltmesi */
.sub-menu li:last-child a {
    border-bottom: none;
}

/* Animasyon */
.nav-links li.has-dropdown:hover .sub-menu {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

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

/* ============================================================ */
/* AI HERO SECTION (BEFORE/AFTER SLIDER)                        */
/* ============================================================ */

.ai-hero-section {
    background-color: #fdfaf5;
    /* Soft beige/cream */
    padding: 60px 0;
    border-bottom: 1px solid #f0ebe1;
}

.ai-hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ai-hero-text {
    flex: 1;
    max-width: 500px;
}

.ai-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 900;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 20px;
}

.ai-hero-highlight {
    color: #d32f2f;
    /* Site Red */
    font-style: italic;
    font-family: inherit;
}

.ai-hero-desc {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 30px;
}

.ai-try-btn {
    display: inline-block;
    background-color: #2f4f4f;
    /* Dark Slate Gray */
    color: white;
    font-weight: 700;
    font-size: 16px;
    padding: 15px 35px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(47, 79, 79, 0.3);
    margin-bottom: 30px;
}

.ai-try-btn:hover {
    background-color: #233d3d;
    /* Darker Slate Gray */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 79, 79, 0.4);
    color: white;
}

.ai-hero-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-avatars {
    display: flex;
}

.ai-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fdfaf5;
    margin-left: -12px;
}

.ai-avatars img:first-child {
    margin-left: 0;
}

.ai-social-text {
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
}

.ai-social-text a {
    color: #d97706;
    text-decoration: underline;
}

/* SLIDER RIGHT SIDE */
.ai-slider-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.before-after-slider {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4/3;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    background: #e5e7eb;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
}

.before-after-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    /* prevent dragging */
}

.ba-img-after {
    clip-path: inset(0 0 0 50%);
    /* crops the left 50% */
}

/* Divider line */
.ba-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: white;
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Handle circle */
.ba-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    cursor: grab;
    color: #555;
    font-size: 14px;
}

.ba-handle:active {
    cursor: grabbing;
}

.ba-badge-after {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    pointer-events: none;
}

.ba-badge-before {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
    pointer-events: none;
}

/* Mobile Responsive For Slider */
@media (max-width: 768px) {
    .ai-hero-section {
        padding: 42px 0 46px;
    }

    .ai-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 22px;
    }

    .ai-hero-text {
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .ai-hero-title {
        font-size: 34px;
        margin-bottom: 14px;
    }

    .ai-hero-desc {
        max-width: 470px;
        margin-bottom: 20px;
        line-height: 1.55;
    }

    .ai-try-btn {
        margin-bottom: 22px;
        padding: 13px 30px;
    }

    .ai-hero-social {
        gap: 8px;
    }

    .ai-slider-wrapper {
        width: 100%;
        justify-content: center;
        margin-top: 0;
    }

    .before-after-slider {
        max-width: 420px;
        aspect-ratio: 16 / 11;
        border-radius: 14px;
    }
}

/* ============================================================ */
/* AI HERO SECTION - DARK MODE                                  */
/* ============================================================ */
body[data-theme="dark"] .ai-hero-section {
    background-color: #1a1a1a;
    border-bottom: none;
}

body[data-theme="dark"] .ai-hero-title {
    color: #f0f0f0;
}

body[data-theme="dark"] .ai-hero-desc,
body[data-theme="dark"] .ai-social-text {
    color: #aaa;
}

body[data-theme="dark"] .ai-avatars img {
    border-color: #1a1a1a;
}

body[data-theme="dark"] .before-after-slider {
    background: #2a2a2a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

body[data-theme="dark"] .ba-handle {
    background: #333;
    color: #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/*SONSUZ KAYAN ŞERİT*/

/*Sadece çerçeve görevi görür, taşanları gizler */
.container.mt-2 {
    background-color: white;
    overflow: hidden;
    /* Dışarı taşan resimleri gizle */
    max-width: 100%;
    /* Sayfa genişliğine yayıl */
    position: relative;
    padding: 14px 0 18px;
    min-height: 250px;
    isolation: isolate;
    /* Üstten alttan az boşluk */
}

/* İç Şerit: Resimlerin olduğu uzun tren */
.top-strip {
    display: block;
    /* Resimler arası boşluk */
    width: 100%;
    max-width: 100%;
    opacity: 0;
    transition: opacity 0.18s ease;
    /* İçindeki resimler kadar uza*/

    /* ANİMASYON KODU */
    /* 30s: Hız (ne kadar düşükse o kadar hızlı) */
    /* linear: Hep aynı hızda aksın */
    /* infinite: Sonsuza kadar dön */
    --strip-distance: 50%;
}

.top-strip.is-ready {
    opacity: 1;
}

.strip-loop-track {
    display: flex;
    gap: 15px;
    width: max-content;
    animation: sonsuzKaydir 120s linear infinite;
    animation-play-state: paused;
    will-change: transform;
}

.top-strip.is-ready .strip-loop-track {
    animation-play-state: running;
}

.strip-loop-group {
    display: flex;
    gap: 15px;
    flex: 0 0 auto;
    width: max-content;
}

/* Mouse üzerine gelince akış dursun */
.top-strip:hover .strip-loop-track {
    animation-play-state: paused;
}

/* Her Bir Resim Kutusu */
.strip-item {
    width: 148px;
    height: 218px;
    /* Resim genişliği sabit olsun */
    flex-shrink: 0;
    /* Asla büzüşmesin */
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
    text-align: left;
    background: #102b2b;
    box-shadow: 0 12px 26px rgba(10, 31, 31, 0.14);
}

.strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: inherit;
    box-shadow: none;
    display: block;
    transition: transform 0.35s ease;
}

.strip-item:hover {
    transform: translateY(-3px);
    /* Hafif yukarı zıplasın */
}

.strip-title {
    font-size: 11px;
    font-weight: 700;
    margin-top: 5px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.strip-item:hover img {
    transform: scale(1.035);
}

.strip-item::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 58%;
    background: linear-gradient(180deg, rgba(8, 22, 22, 0), rgba(8, 22, 22, 0.82));
    pointer-events: none;
}

.strip-item .strip-title {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

@media (hover: none), (max-width: 768px) {
    .container.mt-2 {
        padding: 12px 0 16px;
        min-height: 238px;
    }

    .strip-item {
        width: 132px;
        height: 198px;
    }

    .strip-item .strip-title {
        left: 10px;
        right: 10px;
        bottom: 10px;
        font-size: 12px;
    }

    .top-strip,
    .top-strip.is-ready {
        overflow-x: hidden;
        overflow-y: hidden;
        touch-action: pan-y;
        user-select: none;
    }

    .top-strip::-webkit-scrollbar {
        display: none;
    }

    .top-strip .strip-loop-track {
        animation: none !important;
        will-change: transform;
    }

}

/* 0'dan -50%'ye git */
/* İçeriği 2 katına çıkaracağımız için %50 kaydığında başa dönmüş gibi olur */
@keyframes sonsuzKaydir {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(var(--strip-distance) * -1));
        /* Tam yarısına kadar kay */
    }
}

.divider {
    margin: 30px 0;
    border: 0;
    border-top: 1px solid #eee;
}

/*ANA LAYOUT*/
.main-layout {
    display: flex;
    gap: 50px;
    /* Boşluk artırıldı */
    margin-bottom: 60px;
}

.content-area {
    flex: 2.5;
}

/* Sol */
.sidebar {
    flex: 1;
    max-width: 300px;
    /* Maksimum genişlik (Mevcut ayarın) */
    position: -webkit-sticky;
    /* Safari tarayıcılar için */
    position: sticky;
    /* Modern tarayıcılar için */
    top: 80px;
    /* Navbar'dan 50px sonra 30px boşluk bırakarak yapış */
    height: fit-content;
    /* Sidebar sadece içeriği kadar yer kaplasın, uzamasın */
    /* Flex yapısında yukarı yaslı kalsın */
    transform: translateZ(0);
    /* Animasyonlu Scrollarda Titremeyi (Jitter) Engeller */
}

/* Mobilde yapışkan özelliği kapatmak*/
@media (max-width: 768px) {
    .sidebar {
        position: static;
    }
}

/* Sağ */

/*SECTION TITLE*/
.section-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    border-bottom: 2px solid #2f4f4f;
    padding-bottom: 10px;
    display: inline-block;
    color: #2f4f4f;
}

/*BLOG GRIDKARTLAR */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.blog-card {
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 8px;
    padding-bottom: 10px;
}

.blog-card-link {
    color: inherit;
    display: block;
    height: 100%;
    text-decoration: none;
}

body[data-category] .app-coming-section,
body[data-category] .home-how-section,
body[data-category] .home-why-section,
body[data-category] .home-dream-section,
body[data-category] .home-dream-cta-section,
body[data-category] .home-faq-section {
    display: none;
}

body[data-category] .content-area {
    padding-top: 48px;
}

.category-breadcrumb {
    align-items: center;
    color: #5f6f6b;
    display: flex;
    flex-wrap: wrap;
    font-size: 12px;
    gap: 8px;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.category-breadcrumb a {
    color: var(--primary-color, #2f4f4f);
    text-decoration: none;
}

.category-breadcrumb a:hover {
    text-decoration: underline;
}

.category-breadcrumb i {
    font-style: normal;
    opacity: 0.55;
}

.detail-article-outline {
    border-top: 1px solid rgba(47, 79, 79, 0.16);
    margin: 34px 0;
    padding-top: 26px;
}

.detail-article-outline > h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(24px, 3vw, 34px);
    margin-bottom: 18px;
}

.detail-article-outline article {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: start;
    gap: 8px 10px;
    border-bottom: 1px solid rgba(47, 79, 79, 0.1);
    padding: 12px 0;
}

.detail-article-outline article.has-thumbnail {
    grid-template-columns: 52px minmax(0, 1fr);
}

.detail-article-outline article:last-child {
    border-bottom: 0;
}

.detail-article-outline-thumb {
    width: 52px;
    aspect-ratio: 4 / 5;
    display: block;
    overflow: hidden;
    border-radius: 6px;
    background: #f5f1e8;
}

.detail-article-outline-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.detail-article-outline article.no-thumbnail {
    grid-template-columns: 1fr;
}

.detail-article-outline h3 {
    grid-column: 1 / -1;
    font-size: 17px;
    margin: 0;
}

.detail-article-outline h3 a {
    color: var(--primary-color, #2f4f4f);
    text-decoration: none;
}

.detail-article-outline h3 a:hover {
    text-decoration: underline;
}

.detail-article-outline p {
    min-height: 52px;
    padding: 4px 0 4px 14px;
    border-left: 3px solid rgba(20, 41, 41, 0.82);
    color: #5b6562;
    line-height: 1.5;
    margin: 0;
}

.detail-style-guide {
    margin: 54px 0 34px;
    padding-top: 34px;
    border-top: 1px solid rgba(20, 41, 41, 0.12);
}

.detail-style-guide h2 {
    margin: 30px 0 14px;
    color: #142929;
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 2.8vw, 36px);
    line-height: 1.12;
    letter-spacing: 0;
}

.detail-style-guide h2:first-of-type {
    margin-top: 8px;
}

.detail-style-guide h3 {
    margin: 24px 0 10px;
    color: #142929;
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 2.2vw, 29px);
    line-height: 1.16;
    letter-spacing: 0;
}

.detail-style-guide p,
.detail-style-guide li {
    color: #4f5f5c;
    font-size: 16px;
    line-height: 1.72;
}

.detail-style-guide p {
    margin: 0 0 12px;
}

.detail-style-guide ol {
    margin: 10px 0 24px 20px;
    padding-left: 18px;
}

.detail-style-guide li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.detail-style-guide-kicker {
    display: block;
    margin-bottom: 10px;
    color: #bc9a1f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.detail-style-guide a {
    color: #2f4f4f;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.detail-style-guide-figure {
    margin: 24px 0 30px;
    overflow: hidden;
    border-radius: 8px;
    background: #f5f1e8;
    text-align: center;
}

.detail-style-guide-figure img {
    width: auto;
    max-width: 100%;
    max-height: 640px;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.detail-style-guide-figure figcaption {
    padding: 8px 12px 10px;
    background: rgba(255, 253, 248, 0.88);
    color: #6a6252;
    font-size: 12px;
    font-weight: 900;
}

.detail-style-guide-tryon {
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 4.2 / 1;
    display: block;
    margin: 18px 0 4px;
    overflow: hidden;
    border: 1px solid rgba(188, 154, 31, 0.28);
    border-radius: 18px;
    background: #f1e4c4;
    box-shadow: 0 18px 46px rgba(20, 41, 41, 0.14);
    text-decoration: none !important;
    transform: translateZ(0);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.detail-style-guide-tryon:hover {
    border-color: rgba(188, 154, 31, 0.5);
    box-shadow: 0 24px 58px rgba(20, 41, 41, 0.18);
    color: #142929 !important;
    transform: translateY(-2px);
}

.detail-style-guide-tryon-media {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    background: #efe8d8;
}

.detail-style-guide-tryon-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.035);
    animation: detailStyleGuideTryonFloat 7.2s ease-in-out infinite;
}

.detail-style-guide-tryon-shine {
    position: absolute;
    inset: -20%;
    background: linear-gradient(115deg, transparent 15%, rgba(255, 255, 255, 0.36) 42%, transparent 62%);
    mix-blend-mode: screen;
    transform: translateX(-70%) rotate(3deg);
    animation: detailStyleGuideTryonShine 5.6s ease-in-out infinite;
}

@keyframes detailStyleGuideTryonFloat {
    0%,
    100% {
        transform: scale(1.035) translate3d(0, 0, 0);
    }
    50% {
        transform: scale(1.07) translate3d(-8px, -4px, 0);
    }
}

@keyframes detailStyleGuideTryonShine {
    0%,
    38% {
        transform: translateX(-70%) rotate(3deg);
        opacity: 0;
    }
    52% {
        opacity: 1;
    }
    72%,
    100% {
        transform: translateX(70%) rotate(3deg);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .detail-style-guide-tryon,
    .detail-style-guide-tryon-media img,
    .detail-style-guide-tryon-shine {
        animation: none;
        transition: none;
    }
}

.home-empty-state {
    grid-column: 1 / -1;
    min-height: 220px;
    padding: 42px 28px;
    border: 1px dashed rgba(47, 79, 79, 0.24);
    border-radius: 8px;
    background: #fffdf8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.home-empty-state strong {
    font-family: 'Playfair Display', serif;
    color: #142929;
    font-size: 28px;
    line-height: 1.15;
}

.home-empty-state span {
    max-width: 360px;
    color: #687474;
    font-size: 14px;
    line-height: 1.55;
}

.home-empty-state a {
    margin-top: 4px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #142929;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.home-empty-state a:hover {
    background: #203f3f;
    color: #fff;
}

body[data-theme="dark"] .home-empty-state {
    background: #1e1e1e;
    border-color: rgba(255, 255, 255, 0.12);
}

body[data-theme="dark"] .home-empty-state strong {
    color: #fff;
}

body[data-theme="dark"] .home-empty-state span {
    color: rgba(255, 255, 255, 0.7);
}

.main-layout.filtered-stories-focus .content-area {
    animation: filteredStoriesIn 0.55s ease both;
}

@keyframes filteredStoriesIn {
    from {
        opacity: 0.35;
        transform: translateY(18px);
    }

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

/* Kart Hover Efekti */
.blog-card:hover {
    transform: translateY(-5px);
    /* Yukarı kalkar */
}

.blog-card:hover .blog-title {
    color: #d32f2f;
}

.blog-img-wrapper {
    position: relative;
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4 / 5;
    background: #f4f0e8;
}

.blog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: 0.5s;
    display: block;
}

/* Resim Hover Efekti */
.blog-card:hover img {
    transform: scale(1.025);
}

.category-group-grid {
    display: block;
}

.category-parent-intro {
    max-width: 760px;
    margin-bottom: 42px;
}

.category-parent-intro h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: 0;
    color: #1f1f1f;
    margin: 0 0 22px;
}

.category-parent-intro p {
    font-size: 18px;
    line-height: 1.55;
    color: #111;
    margin: 0;
}

.category-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 22px 28px;
    align-items: center;
}

.category-pill-card {
    min-width: 260px;
    min-height: 78px;
    border-radius: 999px;
    background: #f3eadf;
    color: #111;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 9px 32px 9px 9px;
    transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}

.category-pill-card:hover {
    transform: translateY(-3px);
    background: #eadfce;
    box-shadow: 0 10px 24px rgba(68, 51, 32, 0.12);
}

.category-pill-card strong {
    font-family: 'Playfair Display', serif;
    font-size: 27px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: 0;
}

.category-pill-thumb {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 62px;
    background: #d8cbbb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.category-pill-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.category-pill-card:hover .category-pill-thumb img {
    transform: scale(1.08);
}

.category-pill-thumb em {
    font-style: normal;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
}

.category-empty-state {
    padding: 30px;
    border: 1px dashed #d8dddd;
    border-radius: 8px;
    color: #777;
    text-align: center;
    background: #fff;
}

@media (max-width: 700px) {
    .category-parent-intro {
        margin-bottom: 30px;
    }

    .category-parent-intro h3 {
        font-size: 38px;
    }

    .category-parent-intro p {
        font-size: 16px;
    }

    .category-pill-grid {
        gap: 14px;
    }

    .category-pill-card {
        width: 100%;
        min-width: 0;
        min-height: 68px;
    }

    .category-pill-card strong {
        font-size: 23px;
    }

    .category-pill-thumb {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
    }
}

.blog-icon {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #d32f2f;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.blog-meta {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #111;
    font-family: 'Playfair Display', serif;
}

.blog-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/*READ MORE BUTONU*/
.read-more {
    background: transparent;
    border: 1px solid #2f4f4f;
    /* Çerçeve*/
    color: #2f4f4f;
    padding: 6px 16px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 10px;
}

/* Hover (Üzerine Gelince) */
.read-more:hover {
    background: #2f4f4f;
    color: white;
    border-color: #2f4f4f;
    transform: translateY(-2px);
    /* Hafif yukarı kalkma efekti */
    box-shadow: 0 4px 10px rgba(47, 79, 79, 0.2);
}


/*BUTON YAN YANA*/

/*Flexbox ile yan yana diz */
.card-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 10px;
}

/* Açıklama Yazısı Ayarları */
.blog-desc {
    flex: 1;
    /* Boş alanın tamamını kapla */
    margin-bottom: 0 !important;
    /* Alt boşluğu kaldır */
}

/* Buton Ayarları */
.read-more {
    flex-shrink: 0;
    /* Buton asla büzüşmesin */
    margin-top: 0 !important;
    /* Üst boşluğu sıfırla */
    margin-bottom: 5px;
    padding: 6px 12px;
    font-size: 9px;
}

.card-bottom-row .read-more {
    align-self: flex-end;
}

.card-bottom-row .blog-desc {
    flex: none;
    width: 100%;
}

/* Karanlık Mod Uyumu kaldırıldı/Temizlendi */
.widget-title {
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.widget-text {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
}

.search-box {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 50px;
    /* Yuvarlak arama çubuğu */
    padding: 10px 20px;
    margin-bottom: 40px;
    background: #fcfcfc;
}

.search-box input {
    border: none;
    outline: none;
    flex: 1;
    background: transparent;
}

.search-box i {
    color: #888;
}

/* TRENDING LISTESİ */
.sidebar-list {
    margin-bottom: 40px;
}

/*TRENDING BAŞLIĞI (SIDEBAR HEADER)*/
.sidebar-header {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #333;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
    margin-bottom: 20px;
    margin-top: 10px;
}

/* Karanlık Mod Uyumu (Eğer kullanıyorsan) 
body[data-theme="dark"] .sidebar-header {
    color: #ffffff !important;
    border-color: #333 !important;
}*/

.list-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: 0.2s;
}

.list-item:hover .list-info {
    color: #d32f2f;
}

.list-item .rank {
    font-size: 24px;
    font-weight: 900;
    margin-right: 15px;
    color: #e0e0e0;
    font-family: 'Playfair Display', serif;
}

.list-info {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.trending-link {
    color: inherit;
    text-decoration: none;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 0;
}

.trending-link .list-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    line-height: 1.35;
}

.trend-spark {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #eef3f8;
    border: 1px solid #b9c9dc;
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    padding: 6px 5px;
    flex: 0 0 26px;
}

.trend-spark i {
    width: 3px;
    border-radius: 999px;
    background: #23476b;
    display: block;
}

.trend-spark i:nth-child(1) {
    height: 6px;
    opacity: 0.55;
}

.trend-spark i:nth-child(2) {
    height: 10px;
    opacity: 0.75;
}

.trend-spark i:nth-child(3) {
    height: 14px;
}

.trending-link:hover .trend-spark {
    background: #e4edf7;
    transform: translateY(-1px);
}

.trending-link .list-info small {
    color: #999;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.sidebar-list#trendingList {
    margin: 34px 0 36px;
    padding: 18px;
    border: 1px solid rgba(188, 154, 31, 0.22);
    border-radius: 8px;
    background: linear-gradient(145deg, #fffdf8 0%, #f7f2e8 100%);
    box-shadow: 0 18px 38px rgba(15, 43, 41, 0.08);
}

.sidebar-list#trendingList .sidebar-header {
    text-align: left;
    border-bottom: 0;
    padding-bottom: 0;
    margin: 0 0 16px;
    color: #0f2b29;
    font-size: 14px;
    letter-spacing: 1.6px;
}

.sidebar-list#trendingList .trending-link {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 11px 11px 13px;
    margin-bottom: 16px;
    border: 1px solid rgba(15, 43, 41, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 22px rgba(15, 43, 41, 0.06);
    overflow: hidden;
}

.sidebar-list#trendingList .trending-link:last-child {
    margin-bottom: 0;
}

.sidebar-list#trendingList .trending-link:hover {
    transform: translateY(-2px);
    border-color: rgba(188, 154, 31, 0.34);
    box-shadow: 0 16px 28px rgba(15, 43, 41, 0.1);
}

.trend-thumb {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    min-height: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #ebe3d5;
}

.trend-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.35s ease;
}

.trending-link:hover .trend-thumb img {
    transform: scale(1.025);
}

.trend-thumb em,
.trend-thumb-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 118px;
    color: #0f2b29;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    font-style: normal;
}

.sidebar-list#trendingList .trending-link .list-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    color: #0f2b29;
    font-size: 13px;
}

.sidebar-list#trendingList .trending-link .list-info b {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    line-height: 1.16;
}

.sidebar-list#trendingList .trending-link .list-info small {
    color: #7c817e;
    font-size: 9px;
    letter-spacing: 0.8px;
}

.sidebar-list#trendingList .trending-link .list-info em {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    color: #bc9a1f;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.sidebar-list#trendingList .trending-link .list-info em i {
    transition: transform 0.2s ease;
}

.sidebar-list#trendingList .trending-link:hover .list-info em i {
    transform: translateX(3px);
}

.sidebar-list#trendingList .trend-spark,
.sidebar-list#trendingList .rank {
    display: none;
}

body[data-theme="dark"] .sidebar-list#trendingList {
    border-color: rgba(214, 175, 55, 0.22);
    background: linear-gradient(145deg, #152927 0%, #0d1d1b 100%);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

body[data-theme="dark"] .sidebar-list#trendingList .sidebar-header,
body[data-theme="dark"] .sidebar-list#trendingList .trending-link .list-info,
body[data-theme="dark"] .sidebar-list#trendingList .trending-link .list-info b {
    color: #f8f3e8;
}

body[data-theme="dark"] .sidebar-list#trendingList .trending-link {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

body[data-theme="dark"] .sidebar-list#trendingList .trending-link .list-info small {
    color: rgba(248, 243, 232, 0.62);
}

body[data-theme="dark"] .trend-thumb {
    background: #203836;
}

@media (max-width: 768px) {
    .trend-thumb {
        aspect-ratio: 4 / 4.6;
    }
}

.sidebar-category-card {
    padding: 18px;
    border: 1px solid rgba(20, 41, 41, 0.08);
    border-radius: 8px;
    background:
        radial-gradient(circle at 96% 8%, rgba(188, 154, 31, 0.12), transparent 26%),
        #fffdf8;
    box-shadow: 0 18px 36px rgba(15, 43, 41, 0.07);
}

.sidebar-category-card .widget-title {
    margin-bottom: 14px;
    text-align: left;
    color: #0f2b29;
    font-size: 14px;
    letter-spacing: 1.5px;
}

.sidebar-category-card .widget-title::after {
    display: none;
}

.sidebar-category-card .category-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.sidebar-category-card .category-list li,
.sidebar-category-card .category-list li.category-parent,
.sidebar-category-card .category-list li.category-child {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.category-group-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(15, 43, 41, 0.08);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.category-group-link {
    min-height: auto !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    border: 0 !important;
    background: transparent !important;
    color: #0f2b29 !important;
    text-decoration: none;
    transform: none !important;
}

.category-group-link::before,
.category-group-link::after,
.category-chip::before,
.category-chip::after {
    display: none !important;
}

.category-group-link span {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.category-group-link b {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    line-height: 1.1;
    color: #0f2b29;
}

.category-group-link small {
    color: #747d7b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.35;
    text-transform: none;
}

.category-group-link i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #0f2b29;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.category-group-link:hover i {
    transform: translateX(3px);
    background: #bc9a1f;
}

.category-chip-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.category-chip {
    min-height: 30px !important;
    padding: 7px 10px !important;
    border: 1px solid rgba(188, 154, 31, 0.22) !important;
    border-radius: 999px !important;
    background: #f8f2e6 !important;
    color: #415150 !important;
    display: inline-flex !important;
    align-items: center !important;
    width: auto !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-chip:hover {
    color: #0f2b29 !important;
    border-color: rgba(188, 154, 31, 0.55) !important;
    background: #fff8e7 !important;
    transform: translateY(-2px) !important;
}

body[data-theme="dark"] .sidebar-category-card {
    border-color: rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 96% 8%, rgba(188, 154, 31, 0.12), transparent 26%),
        #142321;
}

body[data-theme="dark"] .sidebar-category-card .widget-title,
body[data-theme="dark"] .category-group-link b {
    color: #f8f3e8;
}

body[data-theme="dark"] .category-group-card {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

body[data-theme="dark"] .category-group-link small {
    color: rgba(248, 243, 232, 0.62);
}

body[data-theme="dark"] .category-chip {
    border-color: rgba(214, 175, 55, 0.22) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(248, 243, 232, 0.82) !important;
}

.ad-placeholder {
    background: #f0f0f0;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    margin: 40px 0;
    font-weight: bold;
    border-radius: 8px;
}

.sidebar-ai-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 292px;
    margin: 34px 0;
    padding: 28px 22px;
    border: 1px solid rgba(188, 154, 31, 0.34);
    border-radius: 8px;
    background:
        radial-gradient(circle at 85% 12%, rgba(188, 154, 31, 0.22), transparent 28%),
        linear-gradient(145deg, #fffaf0 0%, #f7efe2 100%);
    color: #142929;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(20, 41, 41, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    overflow: hidden;
    isolation: isolate;
}

.sidebar-ai-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            transparent 96deg,
            rgba(188, 154, 31, 0.15) 126deg,
            rgba(214, 175, 55, 0.95) 166deg,
            rgba(255, 242, 174, 0.7) 190deg,
            rgba(188, 154, 31, 0.12) 220deg,
            transparent 252deg,
            transparent 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: sidebarAiBorderSpin 5.8s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.sidebar-ai-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, transparent 34%, rgba(255, 255, 255, 0.36) 44%, rgba(214, 175, 55, 0.18) 50%, transparent 62%, transparent 100%);
    background-size: 260% 100%;
    animation: sidebarAiCardSheen 6.4s ease-in-out infinite;
    opacity: 0.72;
    pointer-events: none;
    z-index: 0;
}

.sidebar-ai-card>* {
    position: relative;
    z-index: 1;
}

.sidebar-ai-card:hover {
    color: #142929;
    transform: translateY(-3px);
    border-color: rgba(188, 154, 31, 0.58);
    box-shadow: 0 22px 42px rgba(20, 41, 41, 0.13);
}

.sidebar-ai-kicker {
    color: #b89114;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.sidebar-ai-card strong {
    max-width: 190px;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: 0;
}

.sidebar-ai-card span:not(.sidebar-ai-kicker) {
    color: #5d6666;
    font-size: 13px;
    line-height: 1.55;
}

.sidebar-ai-card em {
    position: relative;
    overflow: hidden;
    width: fit-content;
    margin-top: auto;
    padding: 10px 14px;
    border-radius: 999px;
    background: #142929;
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    isolation: isolate;
}

.sidebar-ai-card em::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(110deg, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.14) 40%, rgba(213, 179, 60, 0.48) 50%, rgba(255, 255, 255, 0.13) 60%, transparent 72%, transparent 100%),
        #142929;
    background-size: 250% 100%;
    animation: sidebarAiCtaSheen 4.6s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.sidebar-ai-card em i {
    position: relative;
    z-index: 1;
    font-size: 13px;
}

.sidebar-ai-card em,
.sidebar-ai-card em i {
    color: #fff;
}

body[data-theme="dark"] .sidebar-ai-card {
    background:
        radial-gradient(circle at 85% 12%, rgba(188, 154, 31, 0.18), transparent 28%),
        linear-gradient(145deg, #162323 0%, #111818 100%);
    color: #fff;
    border-color: rgba(188, 154, 31, 0.28);
}

body[data-theme="dark"] .sidebar-ai-card strong {
    color: #fff;
}

body[data-theme="dark"] .sidebar-ai-card span:not(.sidebar-ai-kicker) {
    color: rgba(255, 255, 255, 0.72);
}

@keyframes sidebarAiBorderSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes sidebarAiCardSheen {
    0% {
        background-position: 145% 0;
    }

    48% {
        background-position: 145% 0;
    }

    100% {
        background-position: -145% 0;
    }
}

@keyframes sidebarAiCtaSheen {
    0% {
        background-position: 140% 0;
    }

    44% {
        background-position: 140% 0;
    }

    100% {
        background-position: -140% 0;
    }
}

/*KATEGORİ LİSTESİ*/
.category-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f9f9f9;
}

.category-list li a {
    font-size: 14px;
    color: #555;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.category-list li a::before {
    content: "\2022";
    color: #d32f2f;
    font-size: 20px;
    margin-right: 10px;
    line-height: 0;
}

.category-list li a:hover {
    color: #d32f2f;
    transform: translateX(5px);
}

.category-list li.category-child {
    padding: 5px 0 5px 12px;
}

.category-list li.category-child a {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.category-list li.category-child a::before {
    content: "-";
    color: #9aa;
    font-size: 14px;
}

/*SAYFALAMA*/
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 50px 0;
}

.pagination-btn {
    background-color: white;
    color: #555;
    border: 1px solid #ddd;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.pagination-btn:hover:not(:disabled) {
    background-color: #2f4f4f;
    color: white;
    border-color: #2f4f4f;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(47, 79, 79, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: default;
    transform: none;
}

.page-info {
    font-weight: 700;
    color: #888;
    letter-spacing: 1px;
}

/*TELEFON UYUMLULUK */
@media (max-width: 768px) {

    /* HEADER: Logoyu ve İkonları Ortala */
    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .top-icons {
        width: 100%;
        justify-content: space-around;
    }


    .mobile-menu-btn {
        display: block;
        margin-right: auto;
    }

    .nav-links {
        display: none;
    }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        height: auto;
        background: #2f4f4f;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
        z-index: 1001;
    }

    .nav-links.mobile-open li {
        height: auto;
    }

    .nav-links.mobile-open li a {
        width: 100%;
    }

    .nav-links li a {
        padding: 10px;
        font-size: 12px;
    }

    /*Sütunları Alt Alta Al */
    .nav-right-icons .nav-search-dropdown {
        top: calc(100% + 10px);
        right: 0;
        width: calc(100vw - 64px);
        min-width: 0;
        height: 42px;
        transform: translateY(-6px) scale(0.98);
        transform-origin: top right;
    }

    .nav-right-icons .nav-search-dropdown.active {
        transform: translateY(0) scale(1);
    }

    .main-layout {
        flex-direction: column;
        gap: 30px;
    }

    /* İKİLİ IZGARAYI TEKE DÜŞÜR */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* SIDEBAR: En alta alınca biraz boşluk ver */
    .sidebar {
        border-top: 5px solid #f4f4f0;
        padding-top: 30px;
        width: 100%;
        max-width: 360px;
        margin: 0 auto;
        align-self: center;
    }

    .sidebar .sidebar-widget,
    .sidebar .ad-placeholder,
    .sidebar .detail-sidebar-ai-banner {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* RESİMLER */
    .blog-img-wrapper {
        aspect-ratio: 4 / 5;
    }

    .blog-card img {
        height: 100%;
    }

    /* CONTAINER */
    .container {
        padding: 0 20px;
    }
}

/* --- İÇERİK RESİMLERİNİ MOBİLE UYDURMA --- */
/* Detay sayfasındaki yazının içindeki resimler asla ekranı taşmasın */
#dDesc img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 5px;
    margin: 10px 0;
}

.active-icon {
    color: #d32f2f !important;
    /* Kırmızı */
}

.active-icon i {
    color: #d32f2f !important;
}

/*KARANLIK MOD (DARK MODE)*/

/*ZEMİN RENGİ*/
body[data-theme="dark"] {
    background-color: #121212 !important;
    color: #e0e0e0 !important;
}

/* 2. BÜYÜK KAPLAYICILARI ŞEFFAF YAP (O çirkin kutu görüntüsünü çözer) */
body[data-theme="dark"] .main-content,
body[data-theme="dark"] .content-area,
body[data-theme="dark"] .sidebar,
body[data-theme="dark"] .main-layout,
body[data-theme="dark"] .container {
    background-color: transparent !important;
}

/* 3. HEADER VE NAVBAR */
body[data-theme="dark"] .top-header {
    background-color: #181818 !important;
    /* Zeminle hafif kontrast */
    border-bottom: 1px solid #333 !important;
}

body[data-theme="dark"] .main-navbar {
    background-color: #0d2b2b !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5) !important;
}

/* 4. BLOG KARTLARI */
body[data-theme="dark"] .blog-card {
    background-color: #1e1e1e !important;
    border: none !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5) !important;
}

/* 5. SIDEBAR WIDGETLARI*/
body[data-theme="dark"] .sidebar-widget {
    background-color: transparent !important;
    border: none !important;
}

/* 6. YAZI VE BAŞLIK RENKLERİ */
body[data-theme="dark"] h1,
body[data-theme="dark"] h2,
body[data-theme="dark"] h3,
body[data-theme="dark"] .blog-title,
body[data-theme="dark"] .strip-title,
body[data-theme="dark"] .widget-title {
    color: #ffffff !important;
}

body[data-theme="dark"] .blog-desc,
body[data-theme="dark"] .widget-text,
body[data-theme="dark"] p {
    color: #b0b0b0 !important;
}

/* 7. LİSTE VE ÇİZGİLER*/
body[data-theme="dark"] .divider,
body[data-theme="dark"] .section-title,
body[data-theme="dark"] .widget-title,
body[data-theme="dark"] .list-item,
body[data-theme="dark"] .category-list li {
    border-color: rgba(255, 255, 255, 0.05) !important;
}

body[data-theme="dark"] .list-info {
    color: #ccc !important;
}

/* Hover (Üzerine gelince) Renkleri */
body[data-theme="dark"] .list-item:hover,
body[data-theme="dark"] .category-list li a:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    /* Çok hafif aydınlanma */
    color: #d32f2f !important;
}

/* 8. FORM ELEMANLARI*/
body[data-theme="dark"] input,
body[data-theme="dark"] textarea,
body[data-theme="dark"] .search-box {
    background-color: #2c2c2c !important;
    color: white !important;
    border-color: #444 !important;
}

body[data-theme="dark"] .search-box input {
    background-color: transparent !important;
}

/* 9. BUTONLAR */
body[data-theme="dark"] .read-more {
    border-color: #666 !important;
    color: #ccc !important;
}

body[data-theme="dark"] .read-more:hover {
    background-color: #fff !important;
    color: #000 !important;
}

/* Detay Sayfası Linkleri */
body[data-theme="dark"] #detailContent a {
    color: #aaa !important;
}

/*PAYLAŞIM BUTONLARI*/
.share-btn {
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: 0.3s;
}

.share-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}


.share-btn.fb {
    background-color: #1877F2;
}


.share-btn.x {
    background-color: #000000;
}


.share-btn.wa {
    background-color: #25D366;
}


/* Karanlık Mod Uyumu */
body[data-theme="dark"] .share-section {
    background-color: #1e1e1e !important;
    border-color: #333 !important;
}

body[data-theme="dark"] .share-section h4 {
    color: white !important;
}

.detail-sidebar-ai-banner {
    display: block;
    margin: 25px 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.detail-sidebar-ai-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.detail-sidebar-ai-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/*DETAY SAYFASI YENİ DÜZENİ*/

/*İki sütunu yan yana getirir */
.article-container {
    display: flex;
    gap: 30px;
    position: relative;
}

/* SOL SÜTUN: Paylaşım Çubuğu Alanı */
.share-sidebar {
    width: 60px;
    order: -1;
    /* Sabit genişlik */
    flex-shrink: 0;
    /* Asla küçülmesin */
}

/* SAĞ SÜTUN: Makale İçeriği */
.article-body {
    flex: 1;
    order: 0;
    /* Kalan tüm alanı kaplasın */
    min-width: 0;
    /* İçerik taşmasını önler */
}

/* YAPIŞKAN (STICKY) Alan */
.sticky-share {
    position: -webkit-sticky;
    /* Safari için */
    position: sticky;
    top: 90px;
    /* Navbar'ın altından başlama mesafesi */
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

/* Paylaşım Sayısı Kutusu */
.share-count-box {
    text-align: center;
    margin-bottom: 15px;
    color: #555;
}

.share-number {
    display: block;
    font-size: 24px;
    font-weight: 900;
    line-height: 1;
    color: #d32f2f;
    font-family: 'Playfair Display', serif;
}

.share-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* DİKEY PAYLAŞIM BUTONLARI (Kare İkonlar) */
.share-btn-vertical {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.share-btn-vertical:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Marka Renkleri*/
.share-btn-vertical.fb {
    background-color: #1877F2;
}

.share-btn-vertical.x {
    background-color: #000000;
}

.share-btn-vertical.wa {
    background-color: #25D366;
}

/* KARANLIK MOD UYUMU */
body[data-theme="dark"] .share-count-box {
    color: #ccc;
}

body[data-theme="dark"] .share-number {
    color: #ff6b6b;
}


/*MOBİL UYUMLULUK*/
@media (max-width: 768px) {

    /* Yan yana yapıyı iptal et, alt alta diz */
    .article-container {
        flex-direction: column;
    }

    /* Sol sütunun genişliğini %100 yap ve sıralamayı değiştir */
    .share-sidebar {
        width: 100%;
        order: 2;
        margin-top: 30px;
    }

    /* Makale içeriğini üste al */
    .article-body {
        order: 1;
    }

    /* Yapışkanlığı iptal et, yatay diz */
    .sticky-share {
        position: static;
        flex-direction: row;
        /* Yan yana diz */
        justify-content: center;
        padding: 20px;
        background: #f9f9f9;
        border-radius: 8px;
    }

    /* Paylaşım sayısını gizle (yer kaplamasın) */
    .share-count-box {
        display: none;
    }

    /* Butonları biraz büyüt */
    .share-btn-vertical {
        width: 60px;
        height: 60px;
        font-size: 26px;
    }

    /* Karanlık modda mobildeki arka plan */
    body[data-theme="dark"] .sticky-share {
        background: #1e1e1e;
    }
}

/*FOOTER TASARIMI (KOMPAKT VERSİYON)*/
.site-footer {
    background-color: #2f4f4f;
    color: #e0e0e0;
    padding-top: 30px;
    margin-top: 40px;
    font-family: 'Lato', sans-serif;
    font-size: 13px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    padding-bottom: 20px;
}

/* Sütun Ayarları */
.footer-col {
    flex: 1;
    min-width: 200px;
}

/*Sütun: Marka */
.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-desc {
    font-size: 12px;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 15px;
}

/* Sosyal Medya İkonları */
.footer-socials {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    transition: 0.3s;
}

.social-icon:hover {
    background-color: #d32f2f;
    transform: translateY(-2px);
}

/* Başlıklar */
.footer-title {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    color: white;
    margin-bottom: 15px;
    border-bottom: 2px solid #f4f4f0;
    padding-bottom: 5px;
    display: inline-block;
    font-weight: 500;
}

/* Link Listeleri */
.footer-links li,
.contact-list li {
    margin-bottom: 8px;
    list-style: none;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #d32f2f;
    padding-left: 3px;
}

/* İletişim Listesi */
.contact-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 13px;
}

.contact-list i {
    color: #f4f4f0;

    font-size: 14px;
}

/* En Alt Şerit */
.footer-bottom {
    background-color: #233d3d;
    padding: 10px 0;
    text-align: center;
    font-size: 11px;
    color: #888;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/*FOOTER İÇİN KARANLIK MOD (DARK MODE)*/
body[data-theme="dark"] .site-footer {
    background-color: #181818 !important;
    border-top: 1px solid #333;
}

body[data-theme="dark"] .footer-bottom {
    background-color: #121212 !important;
    border-top: 1px solid #333;
}

body[data-theme="dark"] .footer-logo,
body[data-theme="dark"] .footer-title {
    color: white !important;
}

body[data-theme="dark"] .footer-desc,
body[data-theme="dark"] .footer-links a,
body[data-theme="dark"] .contact-list span {
    color: #aaa !important;
}

/*MOBİL İÇİN*/
@media (max-width: 768px) {
    .site-footer {
        text-align: center;
        padding-top: 20px;
    }

    .footer-content {
        gap: 25px;
        flex-direction: column;
    }

    .footer-title {
        display: inline-block;
    }

    .footer-socials {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center;
    }
}

.blog-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    max-height: 4.5em;
}



/* MODERN FOOTER OVERRIDES */
.site-footer {
    position: relative;
    overflow: hidden;
    background: #142929;
    color: #e9eee9;
    padding-top: 58px;
    margin-top: 64px;
    border-top: 1px solid rgba(20, 41, 41, 0.10);
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 18%, rgba(213, 179, 60, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0));
}

.site-footer .footer-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(300px, 1.15fr) repeat(3, minmax(160px, 0.75fr));
    gap: 34px;
    align-items: stretch;
    padding-bottom: 42px;
}

.site-footer .footer-col {
    min-width: 0;
}

.site-footer .links-col,
.site-footer .contact-col {
    padding-top: 10px;
}

.site-footer .brand-col {
    padding: 30px;
    border: 1px solid rgba(20, 41, 41, 0.10);
    border-radius: 8px;
    background: #fffdf8;
    color: #142929;
    box-shadow: 0 18px 44px rgba(20, 41, 41, 0.08);
    backdrop-filter: blur(12px);
}

.site-footer .footer-logo {
    color: #142929;
    margin: 0 0 10px;
    font-size: 34px;
    font-weight: 900;
    line-height: 0.95;
}

.site-footer .footer-desc {
    max-width: 420px;
    margin: 0 0 22px;
    color: #475467;
    font-size: 14px;
    line-height: 1.65;
}

.site-footer .footer-socials {
    margin-top: 18px;
    flex-wrap: wrap;
    gap: 9px;
}

.site-footer .footer-ai-link {
    width: fit-content;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(20, 41, 41, 0.12);
    border-radius: 999px;
    background: #142929;
    color: #fff;
    padding: 0 16px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.site-footer .footer-ai-link:hover {
    background: #203f3f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(20, 41, 41, 0.14);
}

.site-footer .footer-col p a {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
}

.site-footer .social-icon {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(20, 41, 41, 0.12);
    background-color: rgba(255, 255, 255, 0.78);
    color: #142929;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-footer .social-icon:hover {
    border-color: #bc9a1f;
    background-color: #142929;
    color: #fff;
    transform: translateY(-2px);
}

.site-footer .footer-title {
    display: block;
    margin: 4px 0 18px;
    border-bottom: 0;
    color: #d5b33c;
    font-family: 'Lato', sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer .footer-links a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-links a:hover {
    color: #fff;
    padding-left: 0;
    transform: translateX(3px);
}

.site-footer .footer-links li,
.site-footer .contact-list li {
    margin-bottom: 12px;
}

.site-footer .contact-list li {
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    line-height: 1.5;
}

.site-footer .contact-list i {
    color: #d5b33c;
    font-size: 15px;
    margin-top: 2px;
}

.site-footer .footer-bottom {
    position: relative;
    z-index: 1;
    background-color: rgba(8, 21, 21, 0.34);
    padding: 16px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.66);
    font-size: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.site-footer .footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
    gap: 12px;
}

.site-footer .footer-bottom p {
    margin: 0;
}

.site-footer .footer-legal-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
    color: rgba(213, 179, 60, 0.78);
    font-size: 13px;
    line-height: 1.6;
}

.site-footer .footer-legal-links a,
.site-footer .footer-legal-links button {
    border: 0;
    background: transparent;
    color: #d5b33c;
    padding: 0;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
}

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

body[data-theme="dark"] .site-footer {
    background: #0c1313 !important;
    border-top-color: rgba(255, 255, 255, 0.08);
}

body[data-theme="dark"] .site-footer .brand-col {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
}

body[data-theme="dark"] .site-footer .footer-logo,
body[data-theme="dark"] .site-footer .brand-col {
    color: #fff !important;
}

body[data-theme="dark"] .site-footer .footer-desc {
    color: rgba(255, 255, 255, 0.72) !important;
}

@media (max-width: 1100px) {
    .site-footer .footer-content {
        grid-template-columns: minmax(260px, 1.2fr) minmax(180px, 0.8fr);
    }
}

@media (max-width: 860px) {
    .site-footer {
        background: #142929;
        text-align: left;
    }

    .site-footer .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer .footer-socials,
    .site-footer .contact-list li {
        justify-content: flex-start;
    }

    .site-footer .footer-bottom .container,
    .site-footer .footer-legal-links {
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

/*NUMARALI SAYFALAMA*/
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.page-numbers {
    display: flex;
    gap: 4px;
}

/* Genel Buton Stili */
.page-btn {
    border: 1px solid #e0e0e0;
    background: white;
    color: #444;
    padding: 5px 10px;
    font-size: 12px;
    height: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-family: 'Lato', sans-serif;
}

.page-btn:hover {
    background-color: #f9f9f9;
    border-color: #bbb;
    color: #222;
}

/* Aktif Sayfa (Seçili Olan) */
.page-btn.active {
    background-color: #2f4f4f;
    color: white;
    border-color: #2f4f4f;
    font-weight: bold;
}

/* İleri Geri Butonları*/
.page-btn.prev-next {
    background-color: #2f4f4f;
    color: white;
    border: none;
    padding: 0 15px;
    width: auto;
    gap: 5px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-btn.prev-next:disabled {
    background-color: #eee;
    color: #aaa;
    cursor: not-allowed;
    border: 1px solid #eee;
}

/* Karanlık Mod */
body[data-theme="dark"] .page-btn {
    background-color: #252525;
    border-color: #444;
    color: #ccc;
}

body[data-theme="dark"] .page-btn:hover {
    background-color: #333;
    color: white;
}

body[data-theme="dark"] .page-btn.active {
    background-color: #d32f2f;
    border-color: #d32f2f;
}

body[data-theme="dark"] .page-btn.prev-next {
    background-color: #333;
    color: white;
}

body[data-theme="dark"] .page-btn.prev-next:disabled {
    background-color: #222;
    color: #555;
}

/*DETAY SAYFASI - KATEGORİ ETİKETLERİ*/
.category-tags-container {
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-tag {
    display: inline-block;
    background-color: #f0f0f0;
    color: #555;
    padding: 6px 14px;
    border-radius: 50px;
    /* Tam yuvarlak kenarl*/
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s;
    border: 1px solid #ddd;
    text-decoration: none;
    /* Alt çizgiyi kaldır */
}

.cat-tag:hover {
    background-color: #d32f2f;
    /* Üzerine gelince Kırmızı */
    color: white;
    border-color: #d32f2f;
    transform: translateY(-2px);
    /* Hafif zıplama */
}

/* Karanlık Mod Uyumu */
body[data-theme="dark"] .cat-tag {
    background-color: #2c2c2c;
    color: #ccc;
    border-color: #444;
}

body[data-theme="dark"] .cat-tag:hover {
    background-color: #d32f2f;
    color: white;
}

/*POST DETAY RESİM BOYUTLANDIRMA*/

/* Makale içindeki tüm resimleri hedef alır */
#dDesc img {
    max-width: 70%;
    height: auto;
    display: block;
    margin: 20px auto;
    /* Üstten-alttan boşluk bırakır ve ortalar */
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    /* Hafif derinlik katar */
}

/* Mobil cihazlarda resimlerin çok küçük kalmaması için %100 yapalım */
@media (max-width: 768px) {
    #dDesc img {
        max-width: 100%;
    }
}

.slider-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.nav-arrow {
    background: none;
    border: none;
    color: #666;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.next-style {
    background-color: #5d78ff;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
}

.slide-img-wrapper {
    position: relative;
    text-align: center;
}

.active-slide-area {
    transition: opacity 0.22s ease, transform 0.22s ease;
    will-change: opacity, transform;
    overflow-anchor: none;
}

.active-slide-area.slide-exit-left {
    opacity: 0;
    transform: translateX(-34px);
}

.active-slide-area.slide-exit-right {
    opacity: 0;
    transform: translateX(34px);
}

.active-slide-area.slide-enter-left {
    opacity: 0;
    transform: translateX(-34px);
    transition: none;
}

.active-slide-area.slide-enter-right {
    opacity: 0;
    transform: translateX(34px);
    transition: none;
}

#slideImg {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.slide-description {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.6;
}

.pin-save {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e60023;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

#slideSource {
    text-align: center;
    margin-top: 8px;
    font-size: 14px;
    color: #777;
    font-family: 'Lato', sans-serif;
}

#slideSource a {
    color: #777;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

#slideSource a:hover {
    text-decoration: underline;
    color: #d32f2f;
    /* Sitenin ana rengi ile uyumlu */
}

/* Karanlık mod desteği */
body[data-theme="dark"] #slideSource,
body[data-theme="dark"] #slideSource a {
    color: #bbb;
}

body[data-theme="dark"] #slideSource a:hover {
    color: #ff6b6b;
    /* Karanlık mod için hover rengi */
}

/* ============================================================ */
/* MOBILE APP COMING SOON CTA                                   */
/* ============================================================ */

.app-coming-section {
    background: #fff;
    padding: 18px 0 52px;
    border-top: 0;
    margin-top: -1px;
}

.app-coming-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 34px;
    min-height: 300px;
    padding: 48px 78px;
    border-radius: 10px;
    background: linear-gradient(135deg, #dfe6ff 0%, #c8b7ff 100%);
    overflow: hidden;
    position: relative;
}

.app-coming-copy {
    position: relative;
    z-index: 2;
}

.app-coming-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    color: #5f3fc4;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.app-coming-copy h2 {
    color: #1d2b3a;
    font-size: 38px;
    line-height: 1.1;
    margin-bottom: 12px;
}

.app-coming-copy p {
    max-width: 480px;
    color: #475467;
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 18px;
}

.app-coming-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.app-coming-actions span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 15px;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.app-phone-preview {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 250px;
}

.app-phone {
    position: relative;
    width: 132px;
    aspect-ratio: 9 / 18;
    border: 7px solid #243142;
    border-radius: 24px;
    background: #f8fafc;
    box-shadow: 0 18px 40px rgba(31, 41, 55, 0.22);
    overflow: hidden;
}

.app-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.app-phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 42px;
    height: 8px;
    border-radius: 999px;
    background: #243142;
    z-index: 2;
}

.app-phone-back {
    transform: translateX(78px) rotate(-7deg);
    opacity: 0.88;
    z-index: 1;
}

.app-phone-middle {
    transform: translateX(18px) rotate(1deg);
    opacity: 0.96;
    z-index: 2;
}

.app-phone-front {
    transform: translateX(-42px) rotate(5deg);
    z-index: 3;
}

.app-mini-controls {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 8px 18px rgba(31, 41, 55, 0.16);
}

.app-mini-controls span {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #d32f2f;
}

.app-mini-controls span:nth-child(2) {
    background: #d4b570;
}

.app-mini-controls span:nth-child(3) {
    background: #2f4f4f;
}

body[data-theme="dark"] .app-coming-section {
    background: #1a1a1a;
}

body[data-theme="dark"] .app-coming-card {
    background: linear-gradient(135deg, #24263a 0%, #403365 100%);
}

body[data-theme="dark"] .app-coming-copy h2 {
    color: #fff !important;
}

body[data-theme="dark"] .app-coming-copy p {
    color: #d0d5dd !important;
}

/* ============================================================ */
/* HOME HOW IT WORKS                                            */
/* ============================================================ */

.home-how-section {
    background: #fff;
    padding: 54px 0 62px;
}

.home-how-title {
    color: #1d2b3a;
    font-size: 30px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 34px;
}

.home-how-layout {
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    align-items: center;
    gap: 64px;
    max-width: 980px;
    margin: 0 auto;
}

.home-how-image {
    overflow: hidden;
    border-radius: 10px;
    background: #f7f0dc;
    box-shadow: 0 18px 40px rgba(31, 41, 55, 0.08);
}

.home-how-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.home-how-steps {
    display: grid;
    gap: 24px;
}

.home-how-step {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 14px;
    align-items: start;
}

.home-how-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    border-radius: 50%;
    background: #8f48e8;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
}

.home-how-step h3 {
    color: #1d2b3a;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 6px;
}

.home-how-step p {
    color: #475467;
    font-size: 15.5px;
    line-height: 1.6;
}

body[data-theme="dark"] .home-how-section {
    background: #121212;
}

body[data-theme="dark"] .home-how-title,
body[data-theme="dark"] .home-how-step h3 {
    color: #fff !important;
}

body[data-theme="dark"] .home-how-step p {
    color: #d0d5dd !important;
}

/* ============================================================ */
/* HOME WHY TRUST                                               */
/* ============================================================ */

.home-why-section {
    background: #f4f4f0;
    padding: 76px 0 82px;
}

.home-why-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.home-why-heading h2 {
    color: #1d2b3a;
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 14px;
}

.home-why-heading p {
    color: #475467;
    font-size: 15.5px;
    line-height: 1.65;
}

.home-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px 42px;
    max-width: 1060px;
    margin: 0 auto;
}

.home-why-grid article {
    text-align: center;
    padding: 10px 16px;
}

.home-why-grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: #ebe2ff;
    color: #8f48e8;
    font-size: 23px;
}

.home-why-grid h3 {
    color: #1d2b3a;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 8px;
}

.home-why-grid p {
    color: #475467;
    font-size: 14px;
    line-height: 1.6;
}

body[data-theme="dark"] .home-why-section {
    background: #181818;
}

body[data-theme="dark"] .home-why-heading h2,
body[data-theme="dark"] .home-why-grid h3 {
    color: #fff !important;
}

body[data-theme="dark"] .home-why-heading p,
body[data-theme="dark"] .home-why-grid p {
    color: #d0d5dd !important;
}

/* ============================================================ */
/* HOME DREAM / USE CASES                                       */
/* ============================================================ */

.home-dream-section {
    background: #fff;
    padding: 70px 0 76px;
}

.home-dream-wrap {
    max-width: 980px;
    padding: 40px 36px;
    border-radius: 10px;
    background: #f4f4f0;
}

.home-dream-row {
    display: grid;
    grid-template-columns: 0.95fr 1fr;
    align-items: center;
    gap: 48px;
    margin-bottom: 42px;
}

.home-dream-row:last-child {
    margin-bottom: 0;
}

.home-dream-row.reverse {
    grid-template-columns: 1fr 0.95fr;
}

.home-dream-row.reverse .home-dream-media {
    order: 2;
}

.home-dream-media {
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(31, 41, 55, 0.08);
}

.home-dream-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
}

.home-dream-media.fit-contain img {
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
}

.home-dream-copy h3 {
    color: #1d2b3a;
    font-family: 'Lato', sans-serif;
    font-size: 21px;
    line-height: 1.25;
    margin-bottom: 12px;
}

.home-dream-copy p {
    color: #475467;
    font-size: 17px;
    line-height: 1.7;
}

body[data-theme="dark"] .home-dream-section {
    background: #121212;
}

body[data-theme="dark"] .home-dream-wrap {
    background: #181818;
}

body[data-theme="dark"] .home-dream-copy h3 {
    color: #fff !important;
}

body[data-theme="dark"] .home-dream-copy p {
    color: #d0d5dd !important;
}

/* ============================================================ */
/* HOME DREAM CTA                                               */
/* ============================================================ */

.home-dream-cta-section {
    background: #fff;
    padding: 78px 0 86px;
}

.home-dream-cta {
    text-align: center;
}

.home-dream-cta h2 {
    color: #1d1712;
    font-size: 54px;
    line-height: 1.05;
    margin-bottom: 18px;
}

.home-dream-cta h2 .gold {
    color: #806a00;
}

.home-dream-cta p {
    color: #101828;
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 28px;
}

.home-dream-cta p span {
    color: #6f2dbd;
}

.home-dream-avatars {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.home-dream-avatars img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 3px solid #fff;
    object-fit: cover;
    margin-left: -12px;
    box-shadow: 0 8px 18px rgba(31, 41, 55, 0.12);
}

.home-dream-avatars img:first-child {
    margin-left: 0;
}

.home-dream-proof {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 18px;
    color: #344054;
    font-size: 21px;
}

.home-dream-proof strong {
    color: #6f2dbd;
    font-size: 22px;
}

.home-dream-stars {
    color: #6f2dbd;
    font-size: 30px;
    letter-spacing: 14px;
    margin-bottom: 28px;
    padding-left: 14px;
}

.home-dream-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    min-height: 72px;
    padding: 1px 32px;
    border-radius: 999px;
    background: #806a00;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    box-shadow: 0 18px 34px rgba(185, 154, 34, 0.24);
}

.home-dream-cta-btn:hover {
    transform: translateY(-2px);
    background: #6f5b00;
    color: #fff;
}

body[data-theme="dark"] .home-dream-cta-section {
    background: #121212;
}

body[data-theme="dark"] .home-dream-cta h2,
body[data-theme="dark"] .home-dream-cta p {
    color: #fff !important;
}

/* ============================================================ */
/* HOME FAQ                                                     */
/* ============================================================ */

.home-faq-section {
    padding: 72px 0 78px;
    background: #fffdf8;
}

.home-faq-wrap {
    max-width: 1080px;
}

.home-faq-wrap h2 {
    margin: 0 0 34px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1;
    letter-spacing: 0.02em;
    color: #0e2524;
}

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

.home-faq-item {
    border: 1px solid rgba(196, 158, 32, 0.54);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 46px rgba(31, 42, 36, 0.06);
    overflow: hidden;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.home-faq-item:hover,
.home-faq-item.is-open {
    border-color: rgba(196, 158, 32, 0.9);
    box-shadow: 0 22px 56px rgba(31, 42, 36, 0.09);
    transform: translateY(-1px);
}

.home-faq-question {
    width: 100%;
    min-height: 70px;
    border: 0;
    background: transparent;
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    cursor: pointer;
    color: #0e2524;
    text-align: left;
}

.home-faq-question span {
    font-family: 'Playfair Display', serif;
    font-size: clamp(17px, 1.45vw, 22px);
    font-weight: 800;
    line-height: 1.25;
}

.home-faq-question i {
    flex: 0 0 auto;
    color: #c49e20;
    font-size: 26px;
    transition: transform 0.22s ease;
}

.home-faq-item.is-open .home-faq-question i {
    transform: rotate(45deg);
}

.home-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.home-faq-answer p {
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 28px;
    color: #526260;
    font-size: 15px;
    line-height: 1.65;
}

.home-faq-item.is-open .home-faq-answer {
    grid-template-rows: 1fr;
}

.home-faq-item.is-open .home-faq-answer p {
    padding-bottom: 24px;
}

body[data-theme="dark"] .home-faq-section {
    background: #121212;
}

body[data-theme="dark"] .home-faq-wrap h2,
body[data-theme="dark"] .home-faq-question {
    color: rgba(255, 255, 255, 0.94);
}

body[data-theme="dark"] .home-faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(196, 158, 32, 0.32);
    box-shadow: none;
}

body[data-theme="dark"] .home-faq-answer p {
    color: rgba(255, 255, 255, 0.68);
}

/* ============================================================ */
/* HOME FIXED CTA                                               */
/* ============================================================ */

.home-fixed-cta {
    position: fixed;
    right: 26px;
    bottom: 22px;
    z-index: 1400;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 7px 6px 16px;
    border: 1px solid rgba(185, 154, 34, 0.42);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 34px rgba(31, 41, 55, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.home-fixed-cta.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.home-fixed-cta span {
    color: #1d2b3a;
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.home-fixed-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #b99a22;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
    white-space: nowrap;
}

.home-fixed-cta a:hover {
    background: #a98b1d;
    color: #fff;
}

body[data-theme="dark"] .home-fixed-cta {
    background: rgba(24, 24, 24, 0.94);
    border-color: rgba(185, 154, 34, 0.5);
}

body[data-theme="dark"] .home-fixed-cta span {
    color: #fff;
}

.site-scroll-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1401;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(185, 154, 34, 0.5);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: #9f8014;
    box-shadow: 0 14px 32px rgba(31, 41, 55, 0.16);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px) scale(0.94);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.site-scroll-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.site-scroll-top:hover {
    border-color: #b99a22;
    background: #b99a22;
    color: #fff;
}

.site-scroll-top:focus-visible {
    outline: 3px solid rgba(122, 52, 214, 0.28);
    outline-offset: 3px;
}

.site-scroll-top i {
    font-size: 20px;
    line-height: 1;
}

.site-scroll-top.is-in-cta {
    position: static;
    z-index: auto;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-color: rgba(185, 154, 34, 0.42);
    box-shadow: none;
}

body[data-theme="dark"] .site-scroll-top {
    border-color: rgba(185, 154, 34, 0.55);
    background: rgba(24, 24, 24, 0.96);
    color: #d6b63d;
}

body[data-theme="dark"] .site-scroll-top:hover {
    background: #b99a22;
    color: #fff;
}

/* ============================================================ */
/* HOME START MODAL                                             */
/* ============================================================ */

.home-start-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.home-start-modal.visible {
    opacity: 1;
    pointer-events: auto;
}

.home-start-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(9px);
}

.home-start-dialog {
    position: relative;
    width: min(500px, 100%);
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.22s ease;
}

.home-start-modal.visible .home-start-dialog {
    transform: translateY(0) scale(1);
}

.home-auth-dialog {
    width: min(460px, 100%);
}

.home-auth-dialog .auth-card {
    width: 100%;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.auth-card-popup {
    padding: 38px 34px 30px;
}

.auth-card-popup .auth-logo {
    margin-bottom: 0;
}

.auth-card-popup h1 {
    padding-right: 28px;
}

.home-start-close {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #667085;
    cursor: pointer;
    font-size: 18px;
}

.home-start-close:hover {
    background: #f2f4f7;
    color: #1d2b3a;
}

.home-start-main {
    padding: 42px 34px 28px;
    text-align: center;
}

.home-start-main h2 {
    color: #27272a;
    font-family: 'Lato', sans-serif;
    font-size: 31px;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.home-start-main p {
    color: #667085;
    font-size: 18px;
    line-height: 1.35;
    margin-bottom: 22px;
}

.home-start-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 74px;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 16px;
    border-radius: 999px;
    background: linear-gradient(100deg, #f4ce49 0%, #c5aadf 100%);
    color: #27272a;
    box-shadow: 0 16px 38px rgba(143, 72, 232, 0.18);
}

.home-start-primary i {
    position: absolute;
    transform: translateX(-134px) translateY(-1px);
    font-size: 13px;
}

.home-start-primary span {
    font-size: 19px;
    font-weight: 900;
    line-height: 1.1;
}

.home-start-primary small {
    color: #344054;
    font-size: 15px;
    font-weight: 700;
    margin-top: 4px;
    text-transform: none;
}

.home-start-primary:hover {
    color: #27272a;
    transform: translateY(-1px);
}

.home-start-login {
    color: #667085;
    font-size: 16px;
}

.home-start-login a {
    color: #5376d6;
    font-weight: 800;
}

.home-start-login.is-signed-in {
    color: #51606f;
}

.home-start-login.is-signed-in a {
    color: #0d3935;
}

.home-start-app {
    padding: 28px 30px 34px;
    background: #f5f5f5;
    text-align: center;
}

.home-start-app h3 {
    color: #27272a;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.home-start-app h3 i {
    margin-right: 8px;
}

.home-start-app p {
    max-width: 430px;
    margin: 0 auto 18px;
    color: #667085;
    font-size: 16px;
    line-height: 1.45;
}

.home-start-store-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.home-start-store-row span {
    display: grid;
    grid-template-columns: 30px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    min-width: 168px;
    min-height: 60px;
    padding: 8px 14px;
    border-radius: 8px;
    background: #050505;
    color: #fff;
    text-align: left;
    opacity: 0.88;
}

.home-start-store-row i {
    grid-row: 1 / 3;
    font-size: 26px;
}

.home-start-store-row b {
    font-size: 17px;
    line-height: 1;
}

.home-start-store-row small {
    color: #d0d5dd;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .app-coming-section {
        padding: 0 0 34px;
    }

    .app-coming-card {
        grid-template-columns: 1fr;
        padding: 28px 22px;
        text-align: center;
    }

    .app-coming-copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .app-coming-actions {
        justify-content: center;
    }

    .app-phone-preview {
        min-height: 190px;
    }

    .app-phone {
        width: 106px;
    }

    .home-how-section {
        padding: 44px 0 50px;
    }

    .home-how-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .home-how-title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .home-why-section {
        padding: 52px 0 58px;
    }

    .home-why-heading {
        margin-bottom: 30px;
    }

    .home-why-heading h2 {
        font-size: 24px;
    }

    .home-why-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-dream-section {
        padding: 44px 0 50px;
    }

    .home-dream-wrap {
        padding: 24px 20px;
    }

    .home-dream-row,
    .home-dream-row.reverse {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 34px;
    }

    .home-dream-row.reverse .home-dream-media {
        order: 0;
    }

    .home-dream-copy h3 {
        font-size: 19px;
    }

    .home-dream-copy p {
        font-size: 16px;
    }

    .home-dream-cta-section {
        padding: 56px 0 64px;
    }

    .home-dream-cta h2 {
        font-size: 38px;
    }

    .home-dream-cta p {
        font-size: 24px;
    }

    .home-dream-proof {
        flex-direction: column;
        gap: 4px;
        font-size: 18px;
        align-items: center;
    }

    .home-dream-stars {
        font-size: 24px;
        letter-spacing: 8px;
        padding-left: 8px;
    }

    .home-dream-cta-btn {
        min-width: 180px;
        min-height: 60px;
        font-size: 23px;
    }

    .home-faq-section {
        padding: 50px 0 58px;
    }

    .home-faq-wrap {
        padding-left: 18px;
        padding-right: 18px;
    }

    .home-faq-wrap h2 {
        margin-bottom: 24px;
    }

    .home-faq-list {
        gap: 14px;
    }

    .home-faq-question {
        min-height: 62px;
        padding: 17px 18px;
        gap: 14px;
    }

    .home-faq-question i {
        font-size: 22px;
    }

    .home-faq-answer p {
        padding-left: 18px;
        padding-right: 18px;
        font-size: 14px;
    }

    .home-fixed-cta {
        right: 14px;
        bottom: 14px;
        padding-left: 12px;
    }

    .home-fixed-cta span {
        font-size: 12px;
    }

    .site-scroll-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }

    .site-scroll-top.is-in-cta {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .home-start-dialog {
        border-radius: 22px;
    }

    .home-start-main {
        padding: 42px 26px 28px;
    }

    .home-start-main h2 {
        font-size: 27px;
    }

    .home-start-main p {
        font-size: 17px;
    }

    .home-start-primary {
        min-height: 70px;
    }

    .home-start-primary i {
        display: none;
    }

    .home-start-primary span {
        font-size: 18px;
    }

    .home-start-app {
        padding: 24px 22px 28px;
    }
}

/* DETAIL PAGE FINAL OVERRIDES */
body.detail-page {
    background:
        linear-gradient(180deg, #fffdf8 0%, #fffdf8 52%, #faf7ef 100%);
}

.detail-page>.main-layout.container {
    max-width: 1180px;
    gap: 28px;
    padding-top: 34px;
}

.detail-page .content-area {
    flex: 1 1 auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.detail-page .sidebar {
    flex: 0 0 250px;
    max-width: 250px;
}

.detail-page .article-body {
    max-width: none;
}

.detail-page #slideDesc {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.detail-page .detail-title {
    color: #142929;
    max-width: 880px;
    font-size: clamp(42px, 4.6vw, 68px) !important;
    line-height: 0.98;
    font-family: Georgia, "Times New Roman", serif;
}

.detail-page .detail-summary {
    max-width: 860px;
    margin: 8px 0 22px;
    color: #475467;
    font-size: 19px;
    line-height: 1.68;
}

.detail-page .detail-summary.hidden {
    display: none;
}

.detail-not-found {
    display: grid;
    justify-items: center;
    gap: 14px;
    max-width: 720px;
    margin: 80px auto 120px;
    padding: 54px 34px;
    border: 1px solid #e7ddc8;
    border-radius: 8px;
    background:
        radial-gradient(circle at 50% 0%, rgba(188, 154, 31, 0.14), transparent 32%),
        linear-gradient(180deg, #fffdf8, #f7f1e8);
    color: #142929;
    text-align: center;
    box-shadow: 0 22px 54px rgba(20, 41, 41, 0.10);
}

.detail-not-found.hidden {
    display: none;
}

.detail-not-found-icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #142929;
    color: #d5b33c;
    font-size: 22px;
    box-shadow: 0 16px 34px rgba(20, 41, 41, 0.16);
}

.detail-not-found-kicker {
    margin: 4px 0 0;
    color: #bc9a1f;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.detail-not-found h1 {
    max-width: 560px;
    margin: 0;
    color: #142929;
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.02;
}

.detail-not-found p:not(.detail-not-found-kicker) {
    max-width: 500px;
    margin: 0;
    color: #5d6868;
    font-size: 16px;
    line-height: 1.65;
}

.detail-not-found-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
}

.detail-not-found-primary,
.detail-not-found-secondary {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 0 18px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.detail-not-found-primary {
    background: #142929;
    color: #fff;
}

.detail-not-found-secondary {
    border: 1px solid rgba(20, 41, 41, 0.12);
    background: rgba(255, 255, 255, 0.62);
    color: #142929;
}

.detail-page .detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    border-color: rgba(20, 41, 41, 0.12);
    color: #667085;
}

.detail-page .slider-nav {
    border: 1px solid #ece7dc;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 34px rgba(20, 41, 41, 0.06);
    backdrop-filter: blur(12px);
}

.detail-page .detail-slide-tryon-figure {
    margin: 0 0 20px;
}

.detail-page .slider-nav.bottom-slider-nav {
    margin-top: 8px;
    margin-bottom: 26px;
}

.detail-page #slideDesc p:last-child,
.detail-page #slideDesc div:last-child {
    margin-bottom: 0;
}

.detail-page #detailContent .slide-description-text a {
    color: #d5b33c;
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(213, 179, 60, 0.55);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.detail-page #detailContent .slide-description-text a:hover,
.detail-page #detailContent .slide-description-text a:focus-visible {
    color: #b59113;
    text-decoration-color: currentColor;
}

.detail-page .next-style-btn {
    background: #142929;
    color: #fff !important;
}

.detail-page .slide-img-container {
    background: #fff;
    border-color: rgba(20, 41, 41, 0.12);
    box-shadow: 0 18px 46px rgba(20, 41, 41, 0.10);
}

.detail-page #slideImg {
    max-height: min(620px, calc(100vh - 340px));
}

.detail-page #slideSource {
    background: rgba(255, 255, 255, 0.92);
}

.detail-page .detail-ai-wide-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    align-items: center;
    gap: 18px 24px;
    min-height: 220px;
    margin: -8px 0 34px;
    padding: 28px 30px;
    overflow: hidden;
    border: 1px solid #e7ddc8;
    border-radius: 8px;
    background:
        linear-gradient(100deg, rgba(255, 253, 248, 0.97) 0%, rgba(248, 241, 229, 0.96) 52%, rgba(20, 41, 41, 0.94) 100%);
    color: #142929;
    text-decoration: none;
    box-shadow: 0 18px 45px rgba(20, 41, 41, 0.10);
}

.detail-page .detail-ai-wide-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 58px rgba(20, 41, 41, 0.16);
}

.detail-page .detail-ai-banner-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    max-width: 380px;
}

.detail-page .detail-ai-banner-kicker {
    color: #b8941a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.detail-page .detail-ai-banner-copy strong {
    color: #142929;
    font-family: 'Playfair Display', serif;
    font-size: clamp(27px, 2.2vw, 32px);
    line-height: 1.12;
}

.detail-page .detail-ai-banner-copy span:last-child {
    color: #52605f;
    font-size: 16px;
    line-height: 1.55;
}

.detail-page .detail-ai-banner-media {
    position: relative;
    height: 164px;
    min-width: 230px;
}

.detail-page .detail-ai-banner-card {
    position: absolute;
    top: 50%;
    width: 98px;
    height: 148px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.86);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(20, 41, 41, 0.22);
}

.detail-page .detail-ai-banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-page .detail-ai-banner-card-one {
    left: 0;
    transform: translateY(-50%) rotate(-5deg);
    animation: detailAiFloatOne 4.8s ease-in-out infinite;
}

.detail-page .detail-ai-banner-card-two {
    left: 66px;
    z-index: 2;
    transform: translateY(-50%) rotate(2deg);
    animation: detailAiFloatTwo 5.4s ease-in-out infinite;
}

.detail-page .detail-ai-banner-card-three {
    left: 132px;
    transform: translateY(-50%) rotate(6deg);
    animation: detailAiFloatThree 5.1s ease-in-out infinite;
}

.detail-page .detail-ai-banner-action {
    position: relative;
    z-index: 2;
    grid-column: 1 / -1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 136px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    background: #fff;
    color: #142929;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.detail-page .detail-ai-banner-action i {
    transition: transform 0.2s ease;
}

.detail-page .detail-ai-wide-banner:hover .detail-ai-banner-action i {
    transform: translateX(4px);
}

@keyframes detailAiFloatOne {
    0%, 100% {
        transform: translateY(-50%) rotate(-5deg);
    }

    50% {
        transform: translateY(-57%) rotate(-2deg);
    }
}

@keyframes detailAiFloatTwo {
    0%, 100% {
        transform: translateY(-50%) rotate(2deg);
    }

    50% {
        transform: translateY(-43%) rotate(-1deg);
    }
}

@keyframes detailAiFloatThree {
    0%, 100% {
        transform: translateY(-50%) rotate(6deg);
    }

    50% {
        transform: translateY(-56%) rotate(3deg);
    }
}

.detail-page .detail-related-card h4 {
    color: #fff;
}

.detail-page .detail-related {
    border-top-color: rgba(20, 41, 41, 0.12);
}

.detail-page .detail-sidebar-card {
    border-color: rgba(20, 41, 41, 0.10);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 42px rgba(20, 41, 41, 0.07);
}

.detail-page .detail-sidebar-ai-banner {
    border-color: rgba(20, 41, 41, 0.10);
    box-shadow: 0 18px 42px rgba(20, 41, 41, 0.09);
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.category-list li {
    border: 0;
    padding: 0;
}

.category-list li a {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 8px;
    color: #475467;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.category-list li a::before {
    display: none;
}

.category-list li a::after {
    content: "\F285";
    font-family: "bootstrap-icons";
    color: #c2a32b;
    font-size: 11px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.category-list li a:hover {
    color: #142929;
    background: rgba(188, 154, 31, 0.08);
    transform: translateX(3px);
}

.category-list li a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.category-list li.category-parent {
    margin-top: 12px;
}

.category-list li.category-parent:first-child {
    margin-top: 0;
}

.category-list li.category-parent a {
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(20, 41, 41, 0.10);
    background: rgba(20, 41, 41, 0.04);
    color: #142929;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.category-list li.category-parent a::after {
    opacity: 1;
    color: #142929;
}

.category-list li.category-child a {
    padding: 0 10px 0 18px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.category-list li.category-child a::before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 50%;
    background: rgba(188, 154, 31, 0.58);
}

@media (max-width: 768px) {
    .detail-lightbox {
        padding: 18px;
    }

    .detail-lightbox-figure img {
        max-width: 94vw;
        max-height: 76vh;
    }

    .detail-lightbox-close {
        top: 14px;
        right: 14px;
    }

    .detail-lightbox-prev {
        left: max(26px, calc(env(safe-area-inset-left, 0px) + 18px));
    }

    .detail-lightbox-next {
        right: max(26px, calc(env(safe-area-inset-right, 0px) + 18px));
    }

    .detail-page .active-slide-area {
        min-height: 0 !important;
        padding-bottom: 0 !important;
    }

    .detail-page #slideDesc {
        margin-top: 16px !important;
        margin-bottom: 0 !important;
    }

    .detail-page #slideDesc p,
    .detail-page #slideDesc div {
        margin-bottom: 12px !important;
    }

    .detail-page .slider-nav.bottom-slider-nav {
        margin-top: 10px !important;
        margin-bottom: 22px !important;
    }

    .detail-related-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .detail-related h3 {
        font-size: 28px;
    }

    .detail-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .detail-related-column {
        gap: 10px;
    }

    .detail-related-card {
        margin-bottom: 0;
    }

    .detail-related-overlay {
        opacity: 0;
        transform: translateY(8px);
        padding: 28px 10px 10px;
        display: none;
    }

    .detail-related-card h4 {
        font-size: 12px;
    }

    .detail-article-related {
        margin-top: 42px;
        padding-top: 28px;
    }

    .detail-article-related h3 {
        font-size: 30px;
    }

    .detail-article-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .detail-article-related-copy {
        padding: 13px;
    }

    .detail-article-related-copy strong {
        font-size: 17px;
    }

    .detail-style-guide {
        margin-top: 44px;
        padding-top: 30px;
    }

    .detail-style-guide h2 {
        font-size: 28px;
    }

    .detail-style-guide h3 {
        font-size: 23px;
    }

    .detail-style-guide-figure {
        margin: 20px 0 26px;
    }

    .detail-style-guide-tryon {
        width: 100%;
        margin-top: 16px;
    }

    .detail-article-outline article {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 7px 9px;
        padding: 11px 0;
    }

    .detail-article-outline article.has-thumbnail {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .detail-article-outline-thumb {
        width: 44px;
    }

    .detail-article-outline p {
        min-height: 44px;
        padding-left: 11px;
    }

    .detail-page>.main-layout.container {
        padding-top: 24px;
    }

    .detail-page .content-area {
        padding: 0;
    }

    .detail-page .detail-title {
        font-size: 36px !important;
        line-height: 1.02;
    }

    .detail-page .detail-ai-wide-banner {
        grid-template-columns: 1fr;
        gap: 18px;
        min-height: auto;
        padding: 24px 20px;
        background:
            linear-gradient(160deg, rgba(255, 253, 248, 0.98) 0%, rgba(248, 241, 229, 0.98) 62%, rgba(20, 41, 41, 0.92) 100%);
    }

    .detail-page .detail-ai-banner-copy {
        max-width: none;
    }

    .detail-page .detail-ai-banner-media {
        width: 100%;
        min-width: 0;
        max-width: 320px;
        height: 150px;
        justify-self: center;
    }

    .detail-page .detail-ai-banner-card {
        width: 104px;
        height: 136px;
    }

    .detail-page .detail-ai-banner-card-two {
        left: calc(50% - 52px);
    }

    .detail-page .detail-ai-banner-card-one {
        left: calc(50% - 142px);
    }

    .detail-page .detail-ai-banner-card-three {
        left: calc(50% + 38px);
    }

    .detail-page .detail-ai-banner-action {
        width: 100%;
        min-height: 52px;
    }

    .detail-page .article-container {
        flex-direction: column;
    }

    .detail-page .article-body {
        order: 1;
    }

    .detail-page .share-sidebar {
        order: 2;
        width: 100%;
        margin-top: 30px;
    }

    .detail-page .sticky-share {
        position: static;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 12px;
        padding: 16px;
        border: 1px solid #ece7dc;
        border-radius: 8px;
        background: #fbfaf7;
    }

    .detail-page .share-count-box {
        display: none;
    }

    .detail-page .share-btn-vertical {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 520px) {
    .detail-related-grid {
        grid-template-columns: 1fr;
    }

    .detail-article-related-grid {
        grid-template-columns: 1fr;
    }

}

/* DETAIL PAGE FINAL POLISH */
.detail-page .detail-meta {
    margin: 0 0 26px !important;
    padding: 0 0 10px !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.detail-page .slider-nav {
    min-height: 54px !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.detail-page .slider-nav.bottom-slider-nav {
    margin-top: 18px !important;
    margin-bottom: 28px !important;
    border-top: 0 !important;
}

.detail-page .slide-counter {
    min-width: 58px !important;
    min-height: 34px !important;
    border: 1px solid rgba(20, 41, 41, 0.10) !important;
    border-radius: 999px !important;
    background: rgba(255, 253, 248, 0.62) !important;
    color: #142929 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

.detail-page .nav-arrow {
    min-height: 42px !important;
    padding: 0 16px !important;
    border: 1px solid rgba(20, 41, 41, 0.10) !important;
    border-radius: 999px !important;
    background: rgba(255, 253, 248, 0.46) !important;
    color: #52605f !important;
    box-shadow: none !important;
}

.detail-page .nav-arrow:hover {
    border-color: rgba(20, 41, 41, 0.24) !important;
    background: rgba(255, 253, 248, 0.82) !important;
    color: #142929 !important;
    transform: translateY(-1px);
}

.detail-page .next-style-btn {
    min-width: 132px !important;
    border-color: #142929 !important;
    background: #142929 !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(20, 41, 41, 0.16) !important;
}

.detail-page .next-style-btn:hover {
    background: #203f3f !important;
    color: #fff !important;
}

/* DETAIL AI CTA REFINEMENT */
.detail-page .detail-ai-wide-banner {
    grid-template-columns: minmax(190px, 1fr) minmax(150px, 220px) !important;
    gap: 14px !important;
    min-height: 250px !important;
    margin: 2px 0 38px !important;
    padding: 28px !important;
    border: 1px solid rgba(188, 154, 31, 0.22) !important;
    border-radius: 8px !important;
    background:
        linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(249, 244, 235, 0.98) 62%, rgba(236, 229, 214, 0.92) 100%) !important;
    box-shadow: 0 18px 44px rgba(20, 41, 41, 0.09) !important;
}

.detail-page .detail-ai-wide-banner::before {
    display: none !important;
    content: none !important;
}

.detail-page .detail-ai-wide-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 58px rgba(20, 41, 41, 0.14) !important;
}

.detail-page .detail-ai-banner-copy {
    max-width: 460px !important;
    gap: 12px !important;
}

.detail-page .detail-ai-banner-kicker {
    color: #9c7a12 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 0.18em !important;
}

.detail-page .detail-ai-banner-copy strong {
    max-width: 430px;
    color: #142929 !important;
    font-size: clamp(26px, 2.2vw, 34px) !important;
    line-height: 1.04 !important;
}

.detail-page .detail-ai-banner-copy > span:last-of-type {
    max-width: 420px;
    color: #52605f !important;
    font-size: 15px !important;
    line-height: 1.62 !important;
}

.detail-ai-banner-points {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.detail-ai-banner-points span {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid rgba(20, 41, 41, 0.10);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.58);
    color: #475467 !important;
    font-size: 12px !important;
    font-weight: 800;
}

.detail-ai-banner-points i {
    color: #bc9a1f;
}

.detail-page .detail-ai-banner-media {
    height: 218px !important;
    min-width: 270px !important;
    transform: translateX(-24px);
}

.detail-page .detail-ai-banner-card {
    width: 88px !important;
    height: 188px !important;
    border: 4px solid rgba(255, 255, 255, 0.92) !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 34px rgba(20, 41, 41, 0.18) !important;
}

.detail-page .detail-ai-banner-card img {
    object-fit: contain !important;
    background: #f3ebe2 !important;
}

.detail-page .detail-ai-banner-card-one {
    left: 0 !important;
}

.detail-page .detail-ai-banner-card-two {
    left: 84px !important;
}

.detail-page .detail-ai-banner-card-three {
    left: 168px !important;
}

.detail-page .detail-ai-banner-action {
    position: relative !important;
    overflow: hidden !important;
    grid-column: auto !important;
    justify-self: start !important;
    min-width: 142px !important;
    min-height: 46px !important;
    border: 1px solid #142929 !important;
    background: #142929 !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(20, 41, 41, 0.16) !important;
    isolation: isolate;
}

.detail-page .detail-ai-banner-action::before {
    content: "";
    position: absolute;
    z-index: auto;
    inset: 0;
    background:
        linear-gradient(110deg, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.12) 40%, rgba(213, 179, 60, 0.48) 50%, rgba(255, 255, 255, 0.13) 60%, transparent 72%, transparent 100%),
        #142929;
    background-size: 250% 100%;
    animation: detailAiCtaSheen 4.2s ease-in-out infinite;
    opacity: 0.82;
    pointer-events: none;
}

.detail-page .detail-ai-banner-action-text,
.detail-page .detail-ai-banner-action i {
    position: relative;
    z-index: 1;
    color: #fff !important;
}

.detail-page .detail-ai-wide-banner:hover .detail-ai-banner-action {
    background: #203f3f !important;
}

.detail-page .detail-ai-wide-banner:hover .detail-ai-banner-action::before {
    background:
        linear-gradient(110deg, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.14) 40%, rgba(213, 179, 60, 0.54) 50%, rgba(255, 255, 255, 0.13) 60%, transparent 72%, transparent 100%),
        #203f3f;
    background-size: 250% 100%;
}

@keyframes detailAiCtaSheen {
    0% {
        background-position: 140% 0;
    }

    100% {
        background-position: -140% 0;
    }
}

/* DETAIL SIDEBAR STUDIO CARD */
.detail-page .detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.detail-sidebar-studio {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 13px;
    overflow: hidden;
    border: 1px solid rgba(20, 41, 41, 0.10);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(248, 244, 235, 0.96));
    color: #142929;
    padding: 20px;
    text-decoration: none;
    box-shadow: 0 18px 42px rgba(20, 41, 41, 0.09);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.detail-sidebar-studio:hover {
    color: #142929;
    border-color: rgba(188, 154, 31, 0.36);
    transform: translateY(-3px);
    box-shadow: 0 24px 54px rgba(20, 41, 41, 0.14);
}

.detail-sidebar-kicker {
    color: #9c7a12;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.detail-sidebar-studio strong {
    max-width: 220px;
    color: #142929;
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.04;
}

.detail-sidebar-text {
    color: #5d6868;
    font-size: 13px;
    line-height: 1.52;
}

.detail-sidebar-preview {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(232, 222, 203, 0.92));
    aspect-ratio: 4 / 4.15;
    box-shadow: inset 0 0 0 1px rgba(20, 41, 41, 0.08);
}

.detail-sidebar-mockup {
    min-height: 260px;
    padding: 14px;
}

.detail-sidebar-mockup::before {
    content: "";
    position: absolute;
    inset: auto -18% -18% 22%;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(188, 154, 31, 0.14);
}

.detail-sidebar-mockup-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #142929;
    font-size: 12px;
    font-weight: 900;
}

.detail-sidebar-mockup-top i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #142929;
    color: #d5b33c;
    font-size: 13px;
}

.detail-sidebar-mockup-main {
    position: relative;
    z-index: 1;
    height: 168px;
    margin-top: 16px;
}

.detail-sidebar-face-card {
    position: absolute;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 32px rgba(20, 41, 41, 0.20);
    transition: transform 0.32s ease;
}

.detail-sidebar-face-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.detail-sidebar-face-card.is-front {
    left: 22px;
    top: 0;
    z-index: 2;
    width: 118px;
    height: 154px;
    transform: rotate(-3deg);
}

.detail-sidebar-face-card.is-back {
    right: 18px;
    top: 24px;
    width: 102px;
    height: 132px;
    transform: rotate(5deg);
    opacity: 0.92;
}

.detail-sidebar-studio:hover .detail-sidebar-face-card.is-front {
    transform: translateY(-4px) rotate(-2deg);
}

.detail-sidebar-studio:hover .detail-sidebar-face-card.is-back {
    transform: translateY(3px) rotate(4deg);
}

.detail-sidebar-mockup-swatches {
    position: absolute;
    left: 14px;
    bottom: 23px;
    z-index: 2;
    display: flex;
    gap: 7px;
    margin: 0;
}

.detail-sidebar-mockup-swatches span {
    width: 30px;
    height: 8px;
    border-radius: 999px;
    background: #142929;
}

.detail-sidebar-mockup-swatches span:nth-child(2) {
    background: #bc9a1f;
}

.detail-sidebar-mockup-swatches span:nth-child(3) {
    background: #d9c8ad;
}

.detail-sidebar-preview-badge {
    position: absolute;
    left: auto;
    right: 12px;
    bottom: 12px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 104px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #142929;
    font-size: 11px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}

.detail-sidebar-preview-badge i {
    color: #bc9a1f;
}

.detail-sidebar-features {
    display: grid;
    gap: 7px;
    padding: 2px 0;
}

.detail-sidebar-features span {
    min-height: 30px;
    display: flex;
    align-items: center;
    gap: 9px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
    color: #475467;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 800;
}

.detail-sidebar-features i {
    color: #bc9a1f;
    font-size: 15px;
}

.detail-sidebar-cta {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: #142929;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.detail-sidebar-cta i {
    transition: transform 0.2s ease;
}

.detail-sidebar-studio:hover .detail-sidebar-cta i {
    transform: translateX(4px);
}

body[data-theme="dark"].detail-page .detail-sidebar-studio {
    background: linear-gradient(180deg, rgba(17, 24, 24, 0.98), rgba(21, 31, 31, 0.96));
    border-color: rgba(255, 255, 255, 0.10);
}

body[data-theme="dark"].detail-page .detail-sidebar-studio strong,
body[data-theme="dark"].detail-page .detail-sidebar-studio {
    color: #fff;
}

body[data-theme="dark"].detail-page .detail-sidebar-text {
    color: rgba(255, 255, 255, 0.68);
}

body[data-theme="dark"].detail-page .detail-sidebar-features span {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
}

.detail-sidebar-poster {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(20, 41, 41, 0.10);
    border-radius: 8px;
    background: #fffdf8;
    box-shadow: 0 18px 42px rgba(20, 41, 41, 0.10);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.detail-sidebar-poster:hover {
    border-color: rgba(188, 154, 31, 0.38);
    transform: translateY(-3px);
    box-shadow: 0 24px 54px rgba(20, 41, 41, 0.15);
}

.detail-sidebar-poster img {
    width: 100%;
    height: auto;
    display: block;
}

body[data-theme="dark"].detail-page .detail-sidebar-poster {
    background: #111818;
    border-color: rgba(255, 255, 255, 0.10);
}

.detail-sidebar-motion {
    position: relative;
    display: flex;
    min-height: 675px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(188, 154, 31, 0.22);
    border-radius: 8px;
    background:
        radial-gradient(circle at 22% 34%, rgba(188, 154, 31, 0.18), transparent 24%),
        radial-gradient(circle at 86% 58%, rgba(142, 70, 42, 0.15), transparent 28%),
        linear-gradient(180deg, #fffdf8 0%, #f4ecdf 100%);
    color: #142929;
    padding: 22px 12px 18px;
    text-decoration: none;
    box-shadow: 0 20px 48px rgba(20, 41, 41, 0.10);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.detail-page .detail-sidebar-motion {
    min-height: 620px;
    padding: 18px 11px 15px;
}

.detail-page .detail-sidebar-motion strong {
    font-size: 25px;
}

.detail-page .detail-sidebar-motion-stage {
    min-height: 400px;
    height: 400px;
    margin: 16px 0 14px;
}

.detail-page .detail-sidebar-motion-track {
    gap: 12px;
    padding: 10px;
    animation-name: detailSidebarVerticalSlideCompact;
}

.detail-page .detail-sidebar-motion .detail-sidebar-motion-card {
    flex-basis: 310px;
    height: 310px;
}

@keyframes detailSidebarVerticalSlideCompact {
    0%, 15% {
        transform: translateY(-282px);
    }

    22%, 37% {
        transform: translateY(-604px);
    }

    44%, 59% {
        transform: translateY(-926px);
    }

    66%, 81% {
        transform: translateY(-1248px);
    }

    88%, 100% {
        transform: translateY(-1570px);
    }
}

.detail-sidebar-motion:hover {
    border-color: rgba(188, 154, 31, 0.42);
    color: #142929;
    transform: translateY(-3px);
    box-shadow: 0 28px 58px rgba(20, 41, 41, 0.15);
}

.detail-sidebar-motion-kicker {
    position: relative;
    z-index: 2;
    color: #bc9a1f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.detail-sidebar-motion strong {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    color: #142929;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.03;
}

.detail-sidebar-motion-text {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    color: #596969;
    font-size: 13px;
    line-height: 1.5;
}

.detail-sidebar-motion-stage {
    position: relative;
    z-index: 1;
    display: block;
    min-height: 398px;
    margin: 20px 0 18px;
}

.detail-sidebar-motion-stage::before {
    content: "";
    position: absolute;
    inset: 58px 12px 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    filter: blur(1px);
}

.detail-sidebar-motion-card {
    position: absolute;
    display: block;
    overflow: hidden;
    width: 132px;
    height: 166px;
    border: 5px solid rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(20, 41, 41, 0.20);
    will-change: transform;
}

.detail-sidebar-motion-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #f7f1e8;
}

.detail-sidebar-motion-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 62%, rgba(20, 41, 41, 0.12));
    pointer-events: none;
}

.motion-card-1 {
    left: 4px;
    top: 18px;
    z-index: 3;
    transform: rotate(-4deg);
    animation: detailSidebarFloatA 5.6s ease-in-out infinite;
}

.motion-card-2 {
    right: 2px;
    top: 62px;
    z-index: 2;
    transform: rotate(5deg);
    animation: detailSidebarFloatB 6.2s ease-in-out infinite;
}

.motion-card-3 {
    left: 22px;
    bottom: 36px;
    z-index: 4;
    transform: rotate(4deg);
    animation: detailSidebarFloatB 5.8s ease-in-out infinite;
}

.motion-card-4 {
    right: 18px;
    bottom: 0;
    z-index: 3;
    transform: rotate(-3deg);
    animation: detailSidebarFloatA 6.4s ease-in-out infinite;
}

.detail-sidebar-motion-spark {
    position: absolute;
    z-index: 5;
    display: block;
    border-radius: 999px;
    background: #bc9a1f;
    box-shadow: 0 0 0 6px rgba(188, 154, 31, 0.12);
}

.detail-sidebar-motion-spark.spark-1 {
    width: 10px;
    height: 10px;
    left: 44%;
    top: 34px;
}

.detail-sidebar-motion-spark.spark-2 {
    width: 7px;
    height: 7px;
    right: 14px;
    top: 250px;
    background: #142929;
    box-shadow: 0 0 0 6px rgba(20, 41, 41, 0.10);
}

.detail-sidebar-motion-spark.spark-3 {
    width: 8px;
    height: 8px;
    left: 18px;
    bottom: 108px;
}

.detail-sidebar-motion-cta {
    position: relative;
    z-index: 2;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: #142929;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    margin-top: auto;
}

.detail-sidebar-motion-cta i {
    color: #d5b33c;
    transition: transform 0.2s ease;
}

.detail-sidebar-motion:hover .detail-sidebar-motion-cta i {
    transform: translateX(4px);
}

@keyframes detailSidebarFloatA {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -8px;
    }
}

@keyframes detailSidebarFloatB {
    0%, 100% {
        translate: 0 0;
    }

    50% {
        translate: 0 7px;
    }
}

.detail-sidebar-motion-stage {
    overflow: hidden;
    width: 100%;
    min-height: 480px;
    height: 480px;
    align-self: center;
    border: 1px solid rgba(188, 154, 31, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.48);
    box-shadow:
        inset 0 0 0 8px rgba(255, 255, 255, 0.30),
        0 18px 38px rgba(20, 41, 41, 0.12);
}

.detail-sidebar-motion-stage::before {
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 253, 248, 0.96), transparent 16%, transparent 84%, rgba(244, 236, 223, 0.96)),
        radial-gradient(circle at 50% 18%, rgba(188, 154, 31, 0.16), transparent 36%);
    filter: none;
    z-index: 4;
    pointer-events: none;
}

.detail-sidebar-motion-track {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 12px;
    animation: detailSidebarVerticalSlide 12s cubic-bezier(0.74, 0, 0.24, 1) infinite;
    will-change: transform;
}

.detail-sidebar-motion .detail-sidebar-motion-card {
    position: static;
    flex: 0 0 374px;
    width: 100%;
    height: 374px;
    border: 3px solid rgba(255, 255, 255, 0.96);
    transform: none;
    animation: none;
    box-shadow: 0 16px 32px rgba(20, 41, 41, 0.16);
}

.detail-sidebar-motion .detail-sidebar-motion-spark {
    display: none;
}

@keyframes detailSidebarVerticalSlide {
    0%, 15% {
        transform: translateY(-347px);
    }

    22%, 37% {
        transform: translateY(-735px);
    }

    44%, 59% {
        transform: translateY(-1123px);
    }

    66%, 81% {
        transform: translateY(-1511px);
    }

    88%, 100% {
        transform: translateY(-1899px);
    }
}

body[data-theme="dark"].detail-page .detail-sidebar-motion {
    background:
        radial-gradient(circle at 22% 34%, rgba(188, 154, 31, 0.16), transparent 24%),
        radial-gradient(circle at 86% 58%, rgba(142, 70, 42, 0.14), transparent 28%),
        linear-gradient(180deg, #151f1f 0%, #101818 100%);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.10);
}

body[data-theme="dark"].detail-page .detail-sidebar-motion strong,
body[data-theme="dark"].detail-page .detail-sidebar-motion:hover {
    color: #fff;
}

body[data-theme="dark"].detail-page .detail-sidebar-motion-text {
    color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 980px) {
    .detail-page>.main-layout.container {
        flex-direction: column;
    }

    .detail-page .sidebar {
        width: min(100%, 320px);
        max-width: 320px;
        margin: 0 auto;
        align-self: center;
    }
}

@media (max-width: 760px) {
    .detail-page .detail-ai-wide-banner {
        width: 100% !important;
        grid-template-columns: 1fr !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 26px !important;
    }

    .detail-page .detail-ai-banner-media {
        width: min(280px, 100%) !important;
        min-width: 0 !important;
        justify-self: center;
    }

    .detail-page .detail-ai-banner-action {
        grid-column: 1 !important;
    }

    .detail-page .detail-sidebar-motion {
        min-height: 510px;
        padding: 16px 10px 14px;
    }

    .detail-page .detail-sidebar-motion-stage {
        min-height: 320px;
        height: 320px;
        margin: 14px 0 12px;
    }

    .detail-page .detail-sidebar-motion-track {
        gap: 10px;
        padding: 9px;
        animation-name: detailSidebarVerticalSlideMobile;
    }

    .detail-page .detail-sidebar-motion .detail-sidebar-motion-card {
        flex-basis: 244px;
        height: 244px;
    }

    .detail-page #slideImg {
        max-height: min(620px, 72vh);
    }

    @keyframes detailSidebarVerticalSlideMobile {
        0%, 15% {
            transform: translateY(-218px);
        }

        22%, 37% {
            transform: translateY(-472px);
        }

        44%, 59% {
            transform: translateY(-726px);
        }

        66%, 81% {
            transform: translateY(-980px);
        }

        88%, 100% {
            transform: translateY(-1234px);
        }
    }
}

/* DETAIL PAGE DARK MODE FINAL POLISH */
body[data-theme="dark"].detail-page {
    background:
        radial-gradient(circle at 18% 0%, rgba(188, 154, 31, 0.08), transparent 34%),
        linear-gradient(180deg, #0d1515 0%, #101818 52%, #0c1212 100%) !important;
    color: #d7dddd !important;
}

body[data-theme="dark"].detail-page .top-header {
    background: #0f1919 !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

body[data-theme="dark"].detail-page .main-navbar {
    background: #0b2323 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28) !important;
}

body[data-theme="dark"].detail-page .divider,
body[data-theme="dark"].detail-page .detail-related,
body[data-theme="dark"].detail-page .detail-article-related {
    border-color: rgba(255, 255, 255, 0.10) !important;
}

body[data-theme="dark"].detail-page .content-area,
body[data-theme="dark"].detail-page .main-layout,
body[data-theme="dark"].detail-page .container {
    background: transparent !important;
}

body[data-theme="dark"].detail-page .detail-breadcrumb,
body[data-theme="dark"].detail-page .detail-breadcrumb i,
body[data-theme="dark"].detail-page .detail-breadcrumb span {
    color: rgba(215, 221, 221, 0.54);
}

body[data-theme="dark"].detail-page .detail-breadcrumb a,
body[data-theme="dark"].detail-page .detail-breadcrumb .detail-breadcrumb-categories a {
    color: rgba(215, 221, 221, 0.82) !important;
}

body[data-theme="dark"].detail-page .detail-breadcrumb a:hover,
body[data-theme="dark"].detail-page .detail-breadcrumb .detail-breadcrumb-categories a:hover {
    color: #d5b33c !important;
}

body[data-theme="dark"].detail-page .detail-title,
body[data-theme="dark"].detail-page .detail-article-related h3,
body[data-theme="dark"].detail-page .detail-related h3 {
    color: #f4f0e8 !important;
}

body[data-theme="dark"].detail-page .detail-summary,
body[data-theme="dark"].detail-page #slideDesc,
body[data-theme="dark"].detail-page #slideDesc p,
body[data-theme="dark"].detail-page #slideDesc div {
    color: #c8d0d0 !important;
}

body[data-theme="dark"].detail-page #detailContent .slide-description-text,
body[data-theme="dark"].detail-page #detailContent .slide-description-text * {
    color: #c8d0d0 !important;
}

body[data-theme="dark"].detail-page #detailContent .slide-description-text a {
    color: #d5b33c !important;
}

body[data-theme="dark"].detail-page .detail-meta {
    border-color: rgba(255, 255, 255, 0.10) !important;
    color: rgba(215, 221, 221, 0.70) !important;
}

body[data-theme="dark"].detail-page .detail-meta i,
body[data-theme="dark"].detail-page .detail-ai-banner-kicker,
body[data-theme="dark"].detail-page .detail-sidebar-motion-kicker {
    color: #d5b33c !important;
}

body[data-theme="dark"].detail-page .cat-tag {
    border-color: rgba(213, 179, 60, 0.22) !important;
    background: rgba(213, 179, 60, 0.08) !important;
    color: #e4d9b4 !important;
}

body[data-theme="dark"].detail-page .cat-tag:hover {
    border-color: rgba(213, 179, 60, 0.44) !important;
    background: rgba(213, 179, 60, 0.14) !important;
    color: #fff7d0 !important;
}

body[data-theme="dark"].detail-page .slider-nav {
    border-color: rgba(255, 255, 255, 0.10) !important;
    background: rgba(17, 27, 27, 0.76) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22) !important;
}

body[data-theme="dark"].detail-page .slide-counter {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(255, 255, 255, 0.10) !important;
    color: #eef3f3 !important;
}

body[data-theme="dark"].detail-page .nav-arrow {
    color: rgba(235, 241, 241, 0.76) !important;
}

body[data-theme="dark"].detail-page .nav-arrow:hover {
    border-color: rgba(213, 179, 60, 0.28) !important;
    background: rgba(213, 179, 60, 0.10) !important;
    color: #fff3bf !important;
}

body[data-theme="dark"].detail-page .next-style-btn {
    background: #d5b33c !important;
    color: #0d1515 !important;
    box-shadow: 0 12px 28px rgba(213, 179, 60, 0.18) !important;
}

body[data-theme="dark"].detail-page .next-style-btn:hover {
    background: #e3c75c !important;
    color: #0d1515 !important;
}

body[data-theme="dark"].detail-page .slide-img-container {
    border-color: rgba(255, 255, 255, 0.09) !important;
    background: rgba(17, 24, 24, 0.92) !important;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.28) !important;
}

body[data-theme="dark"].detail-page #slideImg {
    background: #101818 !important;
}

body[data-theme="dark"].detail-page #slideSource {
    background: rgba(13, 21, 21, 0.88) !important;
    color: rgba(215, 221, 221, 0.58) !important;
}

body[data-theme="dark"].detail-page #slideSource a {
    color: rgba(244, 240, 232, 0.78) !important;
}

body[data-theme="dark"].detail-page #slideSource a:hover {
    color: #d5b33c !important;
}

body[data-theme="dark"].detail-page .pin-save-btn {
    color: #fff !important;
}

body[data-theme="dark"].detail-page .share-count-box {
    border-color: rgba(255, 255, 255, 0.10) !important;
    background: rgba(17, 27, 27, 0.82) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18) !important;
}

body[data-theme="dark"].detail-page .share-number {
    color: #f4f0e8 !important;
}

body[data-theme="dark"].detail-page .share-label {
    color: rgba(215, 221, 221, 0.58) !important;
}

body[data-theme="dark"].detail-page .detail-ai-wide-banner {
    border-color: rgba(213, 179, 60, 0.24) !important;
    background:
        radial-gradient(circle at 86% 28%, rgba(213, 179, 60, 0.12), transparent 32%),
        linear-gradient(100deg, rgba(17, 27, 27, 0.98) 0%, rgba(18, 29, 29, 0.98) 55%, rgba(8, 18, 18, 0.98) 100%) !important;
    color: #f4f0e8 !important;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26) !important;
}

body[data-theme="dark"].detail-page #detailContent .detail-ai-wide-banner {
    color: #f4f0e8 !important;
}

body[data-theme="dark"].detail-page .detail-ai-wide-banner:hover {
    border-color: rgba(213, 179, 60, 0.42) !important;
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.34) !important;
}

body[data-theme="dark"].detail-page .detail-ai-banner-copy strong {
    color: #fff9ec !important;
}

body[data-theme="dark"].detail-page .detail-ai-banner-copy > span:last-of-type,
body[data-theme="dark"].detail-page .detail-ai-banner-copy span:last-child {
    color: rgba(215, 221, 221, 0.74) !important;
}

body[data-theme="dark"].detail-page .detail-ai-banner-points span {
    border-color: rgba(255, 255, 255, 0.10) !important;
    background: rgba(255, 255, 255, 0.055) !important;
    color: rgba(244, 240, 232, 0.82) !important;
}

body[data-theme="dark"].detail-page .detail-ai-banner-card {
    border-color: rgba(255, 255, 255, 0.78) !important;
    background: #101818 !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34) !important;
}

body[data-theme="dark"].detail-page .detail-ai-banner-action {
    background: #d5b33c !important;
    color: #0d1515 !important;
    box-shadow: 0 14px 32px rgba(213, 179, 60, 0.18) !important;
}

body[data-theme="dark"].detail-page .detail-ai-banner-action-text,
body[data-theme="dark"].detail-page .detail-ai-banner-action i {
    color: #0d1515 !important;
}

body[data-theme="dark"].detail-page .detail-back-home .pagination-btn,
body[data-theme="dark"].detail-page .detail-related-more,
body[data-theme="dark"].detail-page .detail-related-load-more {
    border-color: rgba(255, 255, 255, 0.11) !important;
    background: rgba(17, 27, 27, 0.82) !important;
    color: rgba(244, 240, 232, 0.86) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18) !important;
}

body[data-theme="dark"].detail-page .detail-back-home .pagination-btn:hover,
body[data-theme="dark"].detail-page .detail-related-more:hover,
body[data-theme="dark"].detail-page .detail-related-load-more:hover {
    border-color: rgba(213, 179, 60, 0.32) !important;
    color: #fff3bf !important;
}

body[data-theme="dark"].detail-page .detail-related-card,
body[data-theme="dark"].detail-page .detail-article-related-card {
    border-color: rgba(255, 255, 255, 0.09) !important;
    background: rgba(17, 27, 27, 0.92) !important;
    color: #f4f0e8 !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22) !important;
}

body[data-theme="dark"].detail-page #detailContent .detail-related-card,
body[data-theme="dark"].detail-page #detailContent .detail-article-related-card {
    color: #f4f0e8 !important;
}

body[data-theme="dark"].detail-page .detail-related-card:hover,
body[data-theme="dark"].detail-page .detail-article-related-card:hover {
    border-color: rgba(213, 179, 60, 0.34) !important;
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.30) !important;
}

body[data-theme="dark"].detail-page .detail-related-image,
body[data-theme="dark"].detail-page .detail-article-related-image {
    background: #111b1b !important;
}

body[data-theme="dark"].detail-page .detail-style-guide h2,
body[data-theme="dark"].detail-page .detail-style-guide h3 {
    color: #fff9ec !important;
}

body[data-theme="dark"].detail-page .detail-style-guide p,
body[data-theme="dark"].detail-page .detail-style-guide li {
    color: rgba(215, 221, 221, 0.76) !important;
}

body[data-theme="dark"].detail-page .detail-style-guide-figure {
    background: #111b1b !important;
}

body[data-theme="dark"].detail-page .detail-style-guide-figure figcaption {
    background: rgba(17, 27, 27, 0.88) !important;
    color: rgba(244, 240, 232, 0.78) !important;
}

body[data-theme="dark"].detail-page .detail-style-guide-tryon {
    border-color: rgba(213, 179, 60, 0.28) !important;
    background: #1b2323 !important;
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.32) !important;
}

body[data-theme="dark"].detail-page .detail-article-outline-thumb {
    background: #111b1b !important;
}

body[data-theme="dark"].detail-page .detail-article-outline p {
    border-left-color: rgba(213, 179, 60, 0.74) !important;
}

body[data-theme="dark"].detail-page .detail-article-related-copy strong,
body[data-theme="dark"].detail-page .detail-related-card h4 {
    color: #fff9ec !important;
}

body[data-theme="dark"].detail-page .detail-article-related-category {
    background: rgba(13, 21, 21, 0.76) !important;
    color: #fff9ec !important;
}

body[data-theme="dark"].detail-page .detail-article-related-category:hover {
    background: #bc9a1f !important;
    color: #fff !important;
}

body[data-theme="dark"].detail-page .detail-sidebar-motion {
    border-color: rgba(213, 179, 60, 0.22) !important;
    background:
        radial-gradient(circle at 22% 34%, rgba(213, 179, 60, 0.12), transparent 24%),
        linear-gradient(180deg, #121f1f 0%, #0d1515 100%) !important;
    color: #f4f0e8 !important;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.26) !important;
}

body[data-theme="dark"].detail-page .detail-sidebar-motion strong {
    color: #fff9ec !important;
}

body[data-theme="dark"].detail-page .detail-sidebar-motion-text {
    color: rgba(215, 221, 221, 0.72) !important;
}

body[data-theme="dark"].detail-page .detail-sidebar-motion-stage {
    border-color: rgba(255, 255, 255, 0.10) !important;
    background: rgba(255, 255, 255, 0.04) !important;
    box-shadow:
        inset 0 0 0 8px rgba(255, 255, 255, 0.035),
        0 20px 42px rgba(0, 0, 0, 0.24) !important;
}

body[data-theme="dark"].detail-page .detail-sidebar-motion-stage::before {
    background:
        linear-gradient(180deg, rgba(18, 31, 31, 0.96), transparent 16%, transparent 84%, rgba(13, 21, 21, 0.96)),
        radial-gradient(circle at 50% 18%, rgba(213, 179, 60, 0.12), transparent 36%) !important;
}

body[data-theme="dark"].detail-page .detail-sidebar-motion .detail-sidebar-motion-card {
    border-color: rgba(255, 255, 255, 0.72) !important;
    background: #101818 !important;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.30) !important;
}

body[data-theme="dark"].detail-page .detail-sidebar-motion-card img {
    background: #101818 !important;
}

body[data-theme="dark"].detail-page .detail-sidebar-motion-cta {
    background: #d5b33c !important;
    color: #0d1515 !important;
}

body[data-theme="dark"].detail-page .detail-sidebar-motion-cta i {
    color: #0d1515 !important;
}

.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-sidebar-motion {
    margin-top: 4px;
}

.contact-sidebar .detail-sidebar-motion {
    position: sticky;
    top: 86px;
}

body[data-theme="dark"] .contact-sidebar .detail-sidebar-motion {
    background: linear-gradient(180deg, #162523 0%, #101d1b 100%);
    border-color: rgba(214, 175, 55, 0.22);
}

body[data-theme="dark"] .contact-sidebar .detail-sidebar-motion strong,
body[data-theme="dark"] .contact-sidebar .detail-sidebar-motion:hover {
    color: #f8f3e8;
}

body[data-theme="dark"] .contact-sidebar .detail-sidebar-motion-text {
    color: rgba(248, 243, 232, 0.72);
}

@media (max-width: 768px) {
    .contact-sidebar .detail-sidebar-motion {
        position: relative;
        top: auto;
        max-width: 360px;
        margin: 0 auto;
    }
}

body[data-theme="dark"].detail-page .detail-not-found {
    border-color: rgba(213, 179, 60, 0.22) !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(213, 179, 60, 0.12), transparent 32%),
        linear-gradient(180deg, #121f1f, #0d1515) !important;
    color: #f4f0e8 !important;
}

body[data-theme="dark"].detail-page .detail-not-found h1 {
    color: #fff9ec !important;
}

body[data-theme="dark"].detail-page .detail-not-found p:not(.detail-not-found-kicker) {
    color: rgba(215, 221, 221, 0.72) !important;
}
/* Guest identity bridge shown before the first quiz preview. */
.quiz-guest-identity {
    width: min(100%, 620px);
    margin: 18px auto 2px;
    padding: 18px;
    border: 1px solid #eadba7;
    border-radius: 8px;
    background: #fffdf8;
    text-align: left;
}

.quiz-guest-identity[hidden] {
    display: none !important;
}

.quiz-guest-identity-copy {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.quiz-guest-identity-copy > i {
    color: #bd9516;
    font-size: 22px;
    line-height: 1;
}

.quiz-guest-identity-copy strong,
.quiz-guest-identity-copy span {
    display: block;
}

.quiz-guest-identity-copy strong {
    color: #132f2e;
    font-size: 15px;
}

.quiz-guest-identity-copy span {
    margin-top: 4px;
    color: #69757f;
    font-size: 13px;
    line-height: 1.45;
}

.quiz-guest-identity label {
    display: block;
    margin-bottom: 7px;
    color: #233b3a;
    font-size: 13px;
    font-weight: 700;
}

.quiz-guest-identity input {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    border: 1px solid #d8dede;
    border-radius: 6px;
    background: #fff;
    color: #142b2a;
    font: inherit;
}

.quiz-guest-identity input:focus {
    outline: 2px solid rgba(131, 58, 217, 0.18);
    border-color: #833ad9;
}

#quizGuestEmailMessage {
    display: none;
    margin: 8px 0 0;
    color: #bd2c2c;
    font-size: 13px;
}

#quizGuestEmailMessage.is-visible {
    display: block;
}

@media (max-width: 640px) {
    .quiz-guest-identity {
        padding: 15px;
    }
}

.cookie-preferences-open {
    overflow: hidden;
}

.nh-cookie-layer {
    position: fixed;
    z-index: 100000;
    right: 18px;
    bottom: 18px;
    left: 18px;
    color: #142b2a;
}

.nh-cookie-banner,
.nh-cookie-dialog {
    border: 1px solid rgba(19, 48, 47, 0.14);
    border-radius: 18px;
    background: #fffdf8;
    box-shadow: 0 24px 70px rgba(10, 31, 30, 0.22);
}

.nh-cookie-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: min(100%, 1040px);
    margin: 0 auto;
    padding: 22px 24px;
}

.nh-cookie-banner h2,
.nh-cookie-dialog h2 {
    margin: 2px 0 7px;
    color: #142b2a;
    font: 800 24px/1.2 "Playfair Display", Georgia, serif;
}

.nh-cookie-banner p,
.nh-cookie-dialog p {
    max-width: 720px;
    margin: 0;
    color: #526261;
    font-size: 14px;
    line-height: 1.55;
}

.nh-cookie-kicker {
    color: #b58a05 !important;
    font-size: 11px !important;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.nh-cookie-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
}

.nh-cookie-button {
    min-height: 44px;
    padding: 0 17px;
    border: 1px solid #143332;
    border-radius: 999px;
    font: 800 13px/1 "Lato", Arial, sans-serif;
    cursor: pointer;
}

.nh-cookie-button--primary {
    background: #143332;
    color: #fff;
}

.nh-cookie-button--secondary {
    background: transparent;
    color: #143332;
}

.nh-cookie-button:hover,
.nh-cookie-button:focus-visible {
    transform: translateY(-1px);
    outline: 3px solid rgba(213, 179, 60, 0.28);
    outline-offset: 2px;
}

.nh-cookie-policy-link {
    display: inline-block;
    margin-top: 9px;
    color: #143332;
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nh-cookie-layer--preferences {
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.nh-cookie-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 20, 0.68);
    backdrop-filter: blur(3px);
}

.nh-cookie-dialog {
    position: relative;
    width: min(100%, 560px);
    max-height: calc(100vh - 40px);
    padding: 28px;
    overflow: auto;
}

.nh-cookie-close {
    position: absolute;
    top: 16px;
    right: 18px;
    border: 0;
    background: transparent;
    color: #324a49;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.nh-cookie-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 16px;
    padding: 15px 16px;
    border: 1px solid #d8dfdc;
    border-radius: 12px;
    background: #fff;
}

.nh-cookie-choice span,
.nh-cookie-choice strong,
.nh-cookie-choice small {
    display: block;
}

.nh-cookie-choice strong {
    color: #142b2a;
    font-size: 14px;
}

.nh-cookie-choice small {
    margin-top: 3px;
    color: #667472;
    font-size: 12px;
    line-height: 1.4;
}

.nh-cookie-choice input {
    width: 22px;
    height: 22px;
    accent-color: #143332;
}

.nh-cookie-required {
    color: #697775;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.nh-cookie-dialog .nh-cookie-actions {
    justify-content: flex-end;
    margin-top: 22px;
}

body[data-theme="dark"] .nh-cookie-banner,
body[data-theme="dark"] .nh-cookie-dialog {
    border-color: rgba(213, 179, 60, 0.22);
    background: #102524;
    color: #f7f2e8;
}

body[data-theme="dark"] .nh-cookie-banner h2,
body[data-theme="dark"] .nh-cookie-dialog h2,
body[data-theme="dark"] .nh-cookie-choice strong,
body[data-theme="dark"] .nh-cookie-policy-link {
    color: #fff9ec;
}

body[data-theme="dark"] .nh-cookie-banner p,
body[data-theme="dark"] .nh-cookie-dialog p,
body[data-theme="dark"] .nh-cookie-choice small {
    color: #c3cecc;
}

body[data-theme="dark"] .nh-cookie-choice {
    border-color: rgba(255, 255, 255, 0.16);
    background: #18302f;
}

body[data-theme="dark"] .nh-cookie-button--secondary {
    border-color: #f4e8bd;
    color: #fff9ec;
}

body[data-theme="dark"] .nh-cookie-button--primary {
    border-color: #d5b33c;
    background: #d5b33c;
    color: #102524;
}

@media (max-width: 760px) {
    .nh-cookie-layer {
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .nh-cookie-banner {
        display: block;
        padding: 19px;
    }

    .nh-cookie-banner h2,
    .nh-cookie-dialog h2 {
        font-size: 21px;
    }

    .nh-cookie-actions,
    .nh-cookie-dialog .nh-cookie-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 16px;
    }

    .nh-cookie-button {
        width: 100%;
    }

    .nh-cookie-layer--preferences {
        padding: 10px;
    }

    .nh-cookie-dialog {
        max-height: calc(100vh - 20px);
        padding: 23px 18px 20px;
    }
}
