:root {
    --bg-1: #f8f6ef;
    --bg-2: #fdfcff;
    --ink: #1a2433;
    --muted: #5c6677;
    --brand: #fd4a55;
    --brand-strong: #fd4a55;
    --accent: #ffa83e;
    --brand-rgb: 253, 74, 85;
    --accent-rgb: 255, 168, 62;
    --card: #ffffff;
    --border: rgba(7, 39, 53, 0.12);
    --shadow: 0 20px 45px rgba(7, 34, 56, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    min-height: 100vh;
    background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
}

.ambient-bg {
    position: fixed;
    inset: -15% 0 auto;
    height: 520px;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(circle at 10% 10%, rgba(var(--brand-rgb), 0.18), transparent 52%),
        radial-gradient(circle at 85% 25%, rgba(var(--accent-rgb), 0.18), transparent 46%);
}

.site-container {
    width: min(1760px, 96vw);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(8px);
    background: rgba(248, 246, 239, 0.74);
    border-bottom: 1px solid rgba(7, 39, 53, 0.08);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: block;
    box-shadow: 0 8px 18px rgba(255, 133, 74, 0.34);
}

.brand-word {
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    color: var(--ink);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-word .accent {
    color: var(--brand);
}

.main-nav {
    display: flex;
    gap: 10px;
}

.main-nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 999px;
    transition: 0.2s ease;
}

.main-nav a:hover {
    background: rgba(var(--brand-rgb), 0.12);
}

.mobile-nav-toggle {
    display: none;
    border: 1px solid rgba(7, 39, 53, 0.2);
    background: #fff;
    color: var(--ink);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
}

.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2100;
    background: rgba(7, 14, 24, 0.44);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.mobile-nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    width: min(86vw, 320px);
    z-index: 2200;
    background: #fff;
    border-right: 1px solid rgba(7, 39, 53, 0.16);
    transform: translateX(-104%);
    transition: transform 0.24s ease;
    display: grid;
    grid-template-rows: auto 1fr;
}

.mobile-nav-drawer.is-open {
    transform: translateX(0);
}

.mobile-nav-header {
    min-height: 74px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(7, 39, 53, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mobile-nav-close {
    border: 1px solid rgba(7, 39, 53, 0.16);
    background: #fff;
    color: var(--ink);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
}

.mobile-nav-links {
    padding: 14px;
    display: grid;
    align-content: start;
    gap: 10px;
    overflow-y: auto;
}

.mobile-nav-links a,
.mobile-nav-links .nav-button {
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    border: 1px solid rgba(7, 39, 53, 0.1);
    border-radius: 10px;
    padding: 11px 12px;
    text-align: left;
    background: #fff;
}

.mobile-nav-links .nav-inline-form {
    margin: 0;
}

.nav-inline-form {
    margin: 0;
}

.nav-button {
    border: none;
    background: transparent;
    color: var(--ink);
    font-weight: 700;
    padding: 9px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: 0.2s ease;
    font-family: inherit;
    font-size: 1rem;
}

.nav-button:hover {
    background: rgba(var(--brand-rgb), 0.12);
}

.site-main {
    flex: 1 0 auto;
    padding: 32px 0 56px;
}

.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.8);
}

.footer-wrap {
    padding: 22px 0 18px;
    display: grid;
    grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(160px, 1fr));
    gap: 18px;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-col h4 {
    margin: 0 0 10px;
    color: #20304a;
    font-size: 0.92rem;
}

.footer-col p {
    margin: 10px 0 0;
}

.footer-logo {
    font-size: 1.25rem;
}

.footer-logo .brand-mark {
    width: 30px;
    height: 30px;
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-wrap a,
.footer-legal a {
    color: var(--brand-strong);
    text-decoration: none;
    font-weight: 700;
}

.footer-muted {
    color: #6d7788;
    font-size: 0.88rem;
}

.footer-socials {
    display: grid;
    gap: 8px;
    align-content: start;
}

.social-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(7, 39, 53, 0.14);
    border-radius: 10px;
    padding: 6px 8px;
    background: #fff;
}

.social-chip span {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    background: rgba(var(--brand-rgb), 0.12);
    color: #a5343c;
}

.social-chip strong {
    font-size: 0.86rem;
}

.footer-legal {
    min-height: 54px;
    border-top: 1px solid rgba(7, 39, 53, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-legal p {
    margin: 0;
    color: #5f697a;
}

.home-social-strip {
    margin-top: 18px;
    border: 1px solid rgba(7, 39, 53, 0.1);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.home-social-strip p {
    margin: 0;
    font-weight: 800;
    color: #2f3f57;
}

.home-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.home-social-links a {
    text-decoration: none;
    border: 1px solid rgba(7, 39, 53, 0.14);
    border-radius: 999px;
    padding: 7px 11px;
    color: #1f3a59;
    font-weight: 800;
    background: #fff;
}

.hero {
    background: linear-gradient(145deg, var(--brand), var(--accent));
    border-radius: 30px;
    padding: clamp(28px, 5vw, 56px);
    color: #f9ffff;
    box-shadow: var(--shadow);
}

.hero-slider {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    min-height: clamp(300px, 42vw, 460px);
    box-shadow: var(--shadow);
}

.hero-slider-track {
    position: relative;
    min-height: inherit;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.42s ease;
    background: linear-gradient(145deg, var(--brand), var(--accent));
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15, 13, 18, 0.64), rgba(15, 13, 18, 0.24) 65%, rgba(15, 13, 18, 0.12));
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    padding: clamp(28px, 5vw, 56px);
    max-width: 900px;
    color: #f9ffff;
}

.hero-slide-content h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(1.9rem, 5vw, 3rem);
    line-height: 1.1;
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
}

.hero-slide-content p {
    margin: 18px 0 0;
    max-width: 760px;
    color: rgba(241, 251, 255, 0.92);
    font-size: 1.02rem;
    line-height: 1.7;
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 13, 18, 0.36);
    cursor: pointer;
    z-index: 3;
}

.hero-slider-prev {
    left: 14px;
}

.hero-slider-next {
    right: 14px;
}

.hero-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.hero-slider-dot.is-active {
    background: #ffffff;
    transform: scale(1.18);
}

.hero-badge {
    display: inline-flex;
    margin: 0 0 14px;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
}

.hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(1.9rem, 5vw, 3rem);
    line-height: 1.1;
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
}

.hero p {
    margin: 18px 0 0;
    max-width: 760px;
    color: rgba(241, 251, 255, 0.9);
    font-size: 1.02rem;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 28px;
}

.button-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(145deg, var(--brand), var(--accent));
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(var(--brand-rgb), 0.34);
}

.section-header,
.catalog-header {
    margin-top: 36px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.catalog-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.catalog-filters {
    position: sticky;
    top: 96px;
}

.mobile-filter-toolbar {
    display: none;
}

.mobile-filter-open {
    border: 1px solid rgba(7, 39, 53, 0.2);
    background: #fff;
    color: var(--ink);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
}

.catalog-filter-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(7, 14, 24, 0.42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.catalog-filter-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.catalog-filter-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.catalog-filter-close {
    display: none;
    border: 1px solid rgba(7, 39, 53, 0.18);
    background: #fff;
    color: var(--ink);
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}

.catalog-filter-form {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    display: grid;
    gap: 14px;
    box-shadow: var(--shadow);
}

.catalog-filter-form h2 {
    margin: 0;
    font-size: 1.08rem;
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
}

.filter-groups {
    display: grid;
    gap: 10px;
    max-height: min(58vh, 600px);
    overflow: auto;
    padding-right: 4px;
}

.filter-group {
    border: 1px solid rgba(7, 39, 53, 0.1);
    border-radius: 12px;
    padding: 10px;
    display: grid;
    gap: 8px;
    background: #fbfcff;
}

.filter-main-option,
.filter-sub-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.filter-main-option {
    font-weight: 800;
}

.filter-sub-options {
    display: grid;
    gap: 6px;
    padding-left: 6px;
}

.catalog-filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.catalog-results {
    min-width: 0;
}

.section-header h2,
.catalog-header h1 {
    margin: 0;
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.section-header p,
.catalog-header p {
    margin: 7px 0 0;
    color: var(--muted);
}

.section-header a {
    font-weight: 700;
    color: var(--brand-strong);
    text-decoration: none;
}

.search-form {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
}

.search-form input {
    border: none;
    outline: none;
    min-width: 200px;
    font-size: 0.95rem;
    background: transparent;
}

.search-form button {
    border: none;
    padding: 9px 15px;
    border-radius: 9px;
    background: var(--brand);
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.product-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.product-grid-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.product-card {
    color: inherit;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe5ec;
    box-shadow: 0 10px 26px rgba(7, 34, 56, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    isolation: isolate;
    min-height: 100%;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-card-hitarea {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    touch-action: pan-y;
}

.product-card-hitarea:focus-visible {
    outline: 2px solid rgba(var(--brand-rgb), 0.58);
    outline-offset: -2px;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--accent-rgb), 0.36);
    box-shadow: 0 16px 32px rgba(7, 34, 56, 0.12);
}

.card-media {
    position: relative;
    aspect-ratio: 1 / 1.1;
    padding: 12px 12px 42px;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff, #fcfdff);
}

.card-media-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    display: block;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eef2f6;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 10px 24px rgba(7, 34, 56, 0.06);
}

.product-card-slider-window {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}

.product-card-slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.38s ease;
    will-change: transform;
}

.product-card-slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.card-media-frame,
.product-card-slider-window,
.product-card-slider-track,
.product-card-slide,
.product-card-slide img {
    pointer-events: none;
    user-select: none;
}

.product-card-slide img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: none;
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.3s ease, filter 0.3s ease;
}

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

.card-body {
    flex: 1 1 auto;
    position: relative;
    z-index: 1;
    padding: 10px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-card-title {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.42;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-weight: 700;
    color: #1c2431;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.42em * 2);
}

.product-card-category {
    font-size: 0.78rem;
    line-height: 1.4;
    color: var(--brand);
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-marketplaces {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 30px;
}

.product-card-marketplace {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid rgba(7, 39, 53, 0.1);
    background: #fbfcff;
    color: #4f5f74;
    font-size: 0.76rem;
    font-weight: 800;
}

.product-card-marketplace-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    display: block;
    flex: 0 0 auto;
}

.product-card-marketplace-fallback {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef2f7;
    color: #495a72;
    font-size: 0.62rem;
    font-weight: 900;
    flex: 0 0 auto;
}

.product-card-cta {
    margin-top: auto;
    border: 1px solid transparent;
    border-radius: 8px;
    min-height: 34px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    background: linear-gradient(145deg, var(--brand), var(--accent));
    box-shadow: 0 10px 22px rgba(var(--brand-rgb), 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.product-card:hover .product-card-cta {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(var(--brand-rgb), 0.28);
    filter: saturate(1.04) brightness(1.02);
}

.product-card-slider-nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    pointer-events: auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(215, 221, 229, 0.94);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 10px 22px rgba(7, 34, 56, 0.16);
    color: #516072;
    transform: translateY(-50%) scale(0.94);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.product-card:hover .product-card-slider-nav,
.product-card:focus-within .product-card-slider-nav {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.product-card-slider-nav:hover {
    background: #fff;
}

.product-card-slider-nav span {
    font-size: 1.2rem;
    line-height: 1;
}

.product-card-slider-prev {
    left: 16px;
}

.product-card-slider-next {
    right: 16px;
}

.product-card-dots {
    position: absolute;
    left: 50%;
    bottom: 12px;
    z-index: 4;
    pointer-events: auto;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 40px;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(148, 151, 156, 0.92);
    box-shadow: 0 8px 18px rgba(7, 34, 56, 0.12);
}

.product-card-dot {
    border: none;
    padding: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    transition: transform 0.18s ease, background-color 0.18s ease;
}

.product-card-dot.is-active {
    width: 6px;
    height: 6px;
    background: #fff;
    transform: scale(1.08);
}

.product-card-dot:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

.empty-state {
    margin-top: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 26px;
}

.empty-state h3 {
    margin: 0;
    font-size: 1.1rem;
}

.empty-state p {
    margin: 10px 0 0;
    color: var(--muted);
}

.breadcrumb-link a {
    text-decoration: none;
    color: var(--brand-strong);
    font-weight: 700;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb-link span {
    color: #778296;
    font-weight: 700;
}

.details-layout {
    margin-top: 14px;
    display: grid;
    gap: 18px;
    grid-template-columns: 1.4fr 1fr;
}

.details-layout-wide {
    grid-template-columns: minmax(0, 1fr) 380px;
}

.details-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.gallery-stage {
    position: relative;
    background: rgba(255, 255, 255, 0.92);
    width: 100%;
    height: min(620px, 74vh);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    border-bottom: 1px solid rgba(7, 39, 53, 0.12);
}

.gallery-stage img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    cursor: zoom-in;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(5, 15, 31, 0.72);
    color: #fff;
    cursor: pointer;
    font-size: 1.15rem;
    z-index: 2;
}

.gallery-nav-prev {
    left: 12px;
}

.gallery-nav-next {
    right: 12px;
}

.gallery-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(74px, 92px);
    gap: 8px;
    overflow-x: auto;
    width: 100%;
    margin: 0;
    padding: 12px 14px 8px;
    background: #fcfdff;
}

.gallery-thumb {
    border: 1px solid rgba(7, 39, 53, 0.16);
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    background: #fff;
    cursor: pointer;
}

.gallery-thumb.active {
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(var(--brand-rgb), 0.2);
}

.gallery-thumb img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: #ecf1f7;
    display: block;
}

.details-content {
    padding: 22px;
}

.details-content h1 {
    margin: 8px 0 0;
    font-size: clamp(1.5rem, 3.2vw, 2.1rem);
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
}

.detail-price {
    margin: 12px 0 0;
    color: #203047;
    font-size: 1.08rem;
    font-weight: 800;
}

.description-box {
    margin-top: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    background: #fbfcff;
}

.description-box p {
    margin: 0;
    color: #445165;
    line-height: 1.68;
}

.product-description-html {
    color: #445165;
    line-height: 1.68;
    white-space: pre-line;
    word-break: break-word;
}

.product-description-html p,
.product-description-html ul,
.product-description-html ol,
.product-description-html blockquote,
.product-description-html pre {
    margin: 0 0 12px;
}

.product-description-html p:last-child,
.product-description-html ul:last-child,
.product-description-html ol:last-child,
.product-description-html blockquote:last-child,
.product-description-html pre:last-child {
    margin-bottom: 0;
}

.product-description-html ul,
.product-description-html ol {
    padding-left: 20px;
}

.product-description-html a {
    color: var(--brand-strong);
    font-weight: 700;
}

.product-description-html pre,
.product-description-html code {
    background: #eef3f8;
    border-radius: 8px;
    padding: 2px 6px;
}

.marketplace-panel {
    background: #fff;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: 20px;
    height: fit-content;
}

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

.pagination-link {
    text-decoration: none;
    border: 1px solid var(--border);
    background: #fff;
    color: #22324a;
    border-radius: 10px;
    padding: 8px 12px;
    font-weight: 700;
}

.pagination-link.active {
    background: var(--brand);
    color: #fff;
    border-color: transparent;
}

.pagination-link.disabled {
    pointer-events: none;
    opacity: 0.45;
}

.marketplace-panel h2 {
    margin: 0;
    font-size: 1.35rem;
}

.marketplace-panel p {
    margin: 8px 0 0;
    color: var(--muted);
}

.market-grid {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.market-link {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--border);
    background: #fcfdff;
    border-radius: 12px;
    padding: 12px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.market-link:hover {
    transform: translateX(2px);
    border-color: rgba(var(--brand-rgb), 0.38);
}

.market-text {
    display: grid;
    gap: 4px;
}

.market-text strong {
    font-size: 0.95rem;
}

.market-text small {
    color: #5f6978;
    font-size: 0.8rem;
}

.market-arrow {
    color: #52627a;
    font-weight: 800;
}

.market-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
}

.market-logo-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(7, 39, 53, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.market-logo-image {
    width: 30px;
    height: 30px;
    object-fit: contain;
    display: block;
}

.market-trendyol {
    background: #f27a1a;
}

.market-hepsiburada {
    background: #ff6000;
}

.market-ciceksepeti {
    background: #47b54d;
}

.market-amazon {
    background: #232f3e;
}

.market-instagram {
    background: linear-gradient(135deg, #fd5949, #d6249f, #285AEB);
}

.muted-text {
    margin-top: 14px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: end;
}

.admin-header h1 {
    margin: 0;
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
}

.admin-header p {
    margin: 6px 0 0;
    color: var(--muted);
}

.admin-alert {
    margin-top: 14px;
    border: 1px solid rgba(var(--brand-rgb), 0.3);
    color: #0f5f5a;
    background: rgba(var(--brand-rgb), 0.1);
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 700;
}

.admin-error {
    margin-top: 14px;
    border: 1px solid rgba(179, 27, 27, 0.35);
    color: #7f1919;
    background: rgba(179, 27, 27, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 700;
}

.admin-table-wrap,
.admin-form-wrap {
    margin-top: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    padding: 16px;
    box-shadow: var(--shadow);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(7, 39, 53, 0.09);
    vertical-align: top;
}

.admin-table th {
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #445165;
}

.admin-cell-main strong {
    display: block;
}

.admin-cell-main span {
    display: block;
    color: var(--muted);
    margin-top: 4px;
    font-size: 0.88rem;
}

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

.admin-link {
    text-decoration: none;
    font-weight: 700;
    color: var(--brand-strong);
}

.admin-delete {
    border: none;
    background: rgba(179, 27, 27, 0.14);
    color: #8e1818;
    border-radius: 8px;
    padding: 6px 10px;
    font-weight: 700;
    cursor: pointer;
}

.admin-form {
    display: grid;
    gap: 18px;
}

.admin-inline-form {
    display: grid;
    gap: 12px;
}

.category-admin-grid {
    margin-top: 10px;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.category-admin-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fbfcff;
    padding: 12px;
}

.category-admin-card h3 {
    margin: 0;
    font-size: 1rem;
}

.category-admin-card ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.button-secondary {
    border: 1px solid rgba(7, 39, 53, 0.2);
    border-radius: 10px;
    background: #fff;
    color: #22324a;
    font-weight: 700;
    padding: 9px 12px;
    cursor: pointer;
}

button.is-loading,
input[type="submit"].is-loading {
    opacity: 0.78;
    cursor: progress;
}

button.is-loading::after {
    content: "";
    width: 12px;
    height: 12px;
    margin-left: 8px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-right-color: transparent;
    display: inline-block;
    vertical-align: -2px;
    animation: button-spin 0.8s linear infinite;
}

@keyframes button-spin {
    to {
        transform: rotate(360deg);
    }
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field span:first-child {
    font-weight: 700;
    font-size: 0.9rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    border: 1px solid rgba(7, 39, 53, 0.2);
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.14);
}

.html-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.toolbar-btn {
    border: 1px solid rgba(7, 39, 53, 0.18);
    background: #fff;
    color: #1b2d45;
    border-radius: 8px;
    padding: 5px 9px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}

.toolbar-btn:hover {
    background: rgba(var(--brand-rgb), 0.1);
}

.field-hint {
    margin: 0;
    font-size: 0.8rem;
    color: #667387;
}

.field-hint a {
    color: var(--brand-strong);
    font-weight: 700;
    text-decoration: none;
}

.existing-gallery {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 8px;
}

.existing-gallery a {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.existing-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.gallery-manager {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    background: #fbfcff;
}

.gallery-toolbar {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.gallery-url-add {
    display: grid;
    gap: 8px;
    align-content: start;
}

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

.gallery-item {
    position: relative;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    cursor: move;
}

.gallery-item.drag-over {
    outline: 2px dashed var(--brand);
    outline-offset: -2px;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.gallery-item small {
    display: block;
    padding: 6px 8px;
    color: #5d697b;
    font-weight: 700;
    font-size: 0.76rem;
}

.gallery-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 50%;
    background: rgba(8, 20, 36, 0.74);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(5, 10, 18, 0.9);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.gallery-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery-lightbox img {
    width: min(1100px, 90vw);
    max-height: 84vh;
    object-fit: contain;
    justify-self: center;
    transform: scale(0.94);
    transition: transform 0.26s ease;
}

.gallery-lightbox.is-open img {
    transform: scale(1);
}

.lightbox-nav,
.lightbox-close {
    border: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
    font-size: 1.4rem;
}

.lightbox-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

body.modal-open,
body.mobile-nav-open,
body.mobile-filter-open {
    overflow: hidden;
}

.form-field-full {
    grid-column: 1 / -1;
}

.form-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    grid-column: 1 / -1;
    font-weight: 700;
}

.validation-summary {
    border: 1px solid rgba(179, 27, 27, 0.3);
    background: rgba(179, 27, 27, 0.08);
    color: #7f1919;
    border-radius: 12px;
    padding: 8px 12px;
}

.validation-summary:empty {
    display: none;
}

.field-validation-error {
    color: #a62c2c;
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-subtitle {
    margin: 0;
    font-size: 1.1rem;
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
}

.admin-form-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.auth-wrap {
    min-height: 62vh;
    display: grid;
    place-items: center;
}

.auth-card {
    width: min(520px, 100%);
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    padding: 22px;
    box-shadow: var(--shadow);
}

.auth-card h1 {
    margin: 0;
}

.auth-card p {
    margin: 8px 0 18px;
    color: var(--muted);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 920px) {
    .catalog-layout {
        grid-template-columns: 1fr;
    }

    .catalog-filters {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: min(88vw, 340px);
        z-index: 2200;
        transform: translateX(-104%);
        transition: transform 0.24s ease;
    }

    .catalog-filters.is-open {
        transform: translateX(0);
    }

    .catalog-filter-form {
        height: 100vh;
        border-radius: 0 16px 16px 0;
        overflow-y: auto;
        box-shadow: 0 20px 30px rgba(7, 34, 56, 0.2);
    }

    .catalog-filter-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-filter-toolbar {
        margin-top: 10px;
        display: flex;
        justify-content: flex-start;
    }

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

    .details-layout {
        grid-template-columns: 1fr;
    }

    .catalog-header {
        align-items: start;
    }

    .gallery-stage {
        height: min(500px, 82vh);
        min-height: 320px;
    }
}

@media (max-width: 720px) {
    .nav-wrap {
        min-height: 70px;
        padding: 10px 0;
    }

    .main-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .hero {
        border-radius: 22px;
    }

    .hero-slider {
        border-radius: 22px;
        min-height: 340px;
    }

    .hero-slide-content {
        padding: 22px;
    }

    .hero-slider-nav {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }

    .section-header,
    .catalog-header,
    .footer-legal {
        flex-direction: column;
        align-items: start;
    }

    .home-social-strip {
        display: grid;
    }

    .search-form {
        width: 100%;
    }

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

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

    .gallery-toolbar {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-grid-five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-media {
        aspect-ratio: 1 / 1.08;
        padding: 12px 12px 40px;
    }

    .card-media-frame {
        border-radius: 12px;
    }

    .card-body {
        padding: 12px;
    }

    .product-card-title {
        font-size: 0.88rem;
        min-height: calc(1.4em * 2);
    }

    .product-card-slider-nav {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 980px) {
    .footer-wrap {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .footer-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .product-grid-five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .card-media {
        aspect-ratio: 1 / 1.06;
        padding: 10px 10px 38px;
    }

    .card-media-frame {
        border-radius: 10px;
    }

    .product-card-title {
        font-size: 0.84rem;
        line-height: 1.3;
        min-height: calc(1.3em * 2);
    }

    .product-card-slider-nav {
        width: 30px;
        height: 30px;
        opacity: 1;
    }

    .product-card-cta {
        min-height: 32px;
        padding: 7px 10px;
        font-size: 0.82rem;
    }

    .product-card-dots {
        bottom: 10px;
        padding: 4px 8px;
    }
}

@media (hover: none), (pointer: coarse) {
    .product-card-slider-nav {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
}


