:root {
    --background: #f5f6f8;
    --surface: #ffffff;
    --surface-secondary: #f0f2f5;
    --surface-dark: #18191d;
    --text: #17181b;
    --muted: #747982;
    --border: #e3e5e9;
    --primary: #6757e8;
    --primary-hover: #5647d2;
    --primary-soft: #eeebff;
    --success: #2da66f;
    --shadow: 0 18px 45px rgba(30, 31, 40, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    background: var(--background);
    color: var(--text);
}

button,
input,
select {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

a {
    color: inherit;
}

.container {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.top-bar {
    background: var(--surface-dark);
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
}

.top-bar-content {
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.top-bar-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.header-content {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 26px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 22px;
    font-weight: 850;
    letter-spacing: -0.6px;
    text-decoration: none;
}

.logo-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    font-size: 19px;
    font-weight: 800;
}

.header-search {
    flex: 1;
    height: 46px;
    display: flex;
    align-items: center;
    padding-left: 15px;
    overflow: hidden;
    background: var(--surface-secondary);
    border: 1px solid transparent;
    border-radius: 11px;
}

.header-search:focus-within {
    background: #ffffff;
    border-color: #cfcaf7;
}

.search-icon {
    flex: 0 0 auto;
    margin-right: 10px;
    color: var(--muted);
    font-size: 22px;
}

.header-search input,
.hero-search input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
}

.header-search button {
    height: 36px;
    margin-right: 5px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: var(--primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 750;
}

.header-search button:hover,
.buy-button:hover:not(:disabled) {
    background: var(--primary-hover);
}

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

.selector {
    position: relative;
}

.selector-button {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--text);
    font-size: 12px;
    font-weight: 750;
}

.selector-button:hover {
    background: var(--surface-secondary);
}

.selector-arrow {
    color: var(--muted);
}

.selector-menu {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    z-index: 200;
    width: 175px;
    display: none;
    overflow: hidden;
    padding: 5px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.selector-menu.open {
    display: block;
}

.selector-menu button {
    width: 100%;
    height: 42px;
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: center;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--text);
    text-align: left;
    font-size: 12px;
}

.selector-menu button:hover {
    background: var(--surface-secondary);
}

.hero {
    padding: 34px 0 20px;
}

.hero-card {
    position: relative;
    min-height: 430px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #6356df 0%, #7868e9 55%, #8e7af0 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 58px;
    color: #ffffff;
}

.hero-label,
.section-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.25px;
}

.hero-label {
    margin-bottom: 18px;
    padding: 7px 11px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.hero h1 {
    max-width: 660px;
    margin: 0;
    font-size: clamp(44px, 5vw, 67px);
    line-height: 1.01;
    letter-spacing: -3px;
}

.hero-content > p {
    max-width: 560px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.6;
}

.hero-search {
    max-width: 615px;
    height: 58px;
    display: flex;
    align-items: center;
    margin-top: 30px;
    padding-left: 16px;
    overflow: hidden;
    border-radius: 12px;
    background: #ffffff;
}

.hero-search button {
    height: 46px;
    margin-right: 6px;
    padding: 0 23px;
    border: 0;
    border-radius: 9px;
    background: var(--surface-dark);
    color: #ffffff;
    font-size: 12px;
    font-weight: 750;
}

.hero-search button:hover {
    background: #2b2c31;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 23px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
}

.hero-visual {
    position: relative;
    min-height: 430px;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.hero-decoration-one {
    width: 360px;
    height: 360px;
    top: -80px;
    right: -70px;
}

.hero-decoration-two {
    width: 230px;
    height: 230px;
    bottom: -80px;
    left: -20px;
}

.hero-showcase-card {
    position: absolute;
    top: 72px;
    right: 65px;
    width: 280px;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 55px rgba(42, 33, 99, 0.25);
    transform: rotate(2deg);
}

.showcase-badge {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 7px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
}

.showcase-image {
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    margin: 28px auto;
    border-radius: 25px;
    overflow: hidden;
}

.showcase-image img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-showcase-card strong {
    display: block;
    font-size: 21px;
}

.hero-showcase-card > span {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.showcase-button {
    width: 100%;
    margin-top: 18px;
    padding: 12px;
    border: 0;
    border-radius: 9px;
    background: var(--surface-dark);
    color: #ffffff;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
}

.showcase-button:hover {
    background: #2b2c31;
}

.benefits-section {
    padding: 12px 0 26px;
}

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

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 19px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
}

.benefit-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 17px;
    font-weight: 800;
}

.benefit strong {
    font-size: 13px;
}

.benefit p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.categories-section,
.products,
.how-it-works {
    padding: 42px 0;
}

.section-header h2,
.products-toolbar h2,
.how-heading h2 {
    margin: 6px 0 0;
    font-size: 28px;
    letter-spacing: -0.8px;
}

.section-header p,
.products-toolbar p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.categories {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 22px;
}

.category {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    color: var(--text);
    text-align: left;
    font-size: 12px;
    font-weight: 750;
    transition: 0.15s ease;
}

.category:hover {
    transform: translateY(-2px);
    border-color: #c9c3f4;
    box-shadow: 0 10px 26px rgba(35, 34, 45, 0.06);
}

.category.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}

.category-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 19px;
}

.products-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 21px;
}

.products-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.products-count {
    color: var(--muted);
    font-size: 12px;
}

.sort-select {
    height: 40px;
    padding: 0 34px 0 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    outline: 0;
    background: #ffffff;
    color: var(--text);
    font-size: 12px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #ffffff;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 0.82;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f7f8;
}

.product-image {
    width: 76%;
    height: 76%;
    object-fit: contain;
}

.product-image-placeholder {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 30px;
    font-weight: 850;
}

.availability-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    color: var(--success);
    font-size: 13px;
}

.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
}

.product-category {
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.product-title {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
}

.product-meta {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.product-store-row {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 13px;
    color: var(--muted);
    font-size: 11px;
}

.store-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
}

.product-bottom {
    margin-top: auto;
    padding-top: 21px;
}

.product-price {
    margin-bottom: 12px;
    font-size: 21px;
    font-weight: 850;
    letter-spacing: -0.4px;
}

.buy-button {
    width: 100%;
    height: 41px;
    border: 0;
    border-radius: 9px;
    background: var(--primary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 750;
}

.empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 75px 20px;
    border: 1px dashed #d5d7dd;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.empty-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 15px;
    border-radius: 15px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 24px;
    font-weight: 850;
}

.empty-state h3 {
    margin: 0;
    font-size: 18px;
}

.empty-state p {
    max-width: 480px;
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.product-skeleton {
    height: 360px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: linear-gradient(90deg, #f5f5f6 25%, #ececef 50%, #f5f5f6 75%);
    background-size: 200% 100%;
    animation: skeleton 1.25s infinite;
}

@keyframes skeleton {
    from {
        background-position: 200% 0;
    }

    to {
        background-position: -200% 0;
    }
}

.how-card {
    padding: 38px;
    border-radius: 20px;
    background: var(--surface-dark);
    color: #ffffff;
}

.how-heading .section-eyebrow {
    color: #a99eff;
}

.how-heading h2 {
    color: #ffffff;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 28px;
}

.step {
    min-height: 150px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
}

.step-number {
    display: block;
    margin-bottom: 27px;
    color: #9589f3;
    font-size: 11px;
    font-weight: 850;
}

.step strong {
    font-size: 14px;
}

.step p {
    margin: 7px 0 0;
    color: rgba(255, 255, 255, 0.57);
    font-size: 11px;
    line-height: 1.55;
}

.footer {
    margin-top: 45px;
    padding: 48px 0 22px;
    border-top: 1px solid var(--border);
    background: #ffffff;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 36px;
}

.footer-brand p {
    max-width: 400px;
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.footer-logo-link {
    width: fit-content;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 12px;
}

.footer-column strong {
    margin-bottom: 5px;
    font-size: 12px;
}

.footer-column a,
.footer-column span {
    color: var(--muted);
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 10px;
}

@media (max-width: 1050px) {
    .categories {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-showcase-card {
        right: 30px;
    }
}

@media (max-width: 800px) {
    .container {
        width: min(100% - 24px, 1240px);
    }

    .top-bar {
        display: none;
    }

    .header-content {
        min-height: auto;
        flex-wrap: wrap;
        padding: 11px 0;
    }

    .header-search {
        order: 3;
        flex-basis: 100%;
    }

    .header-actions {
        margin-left: auto;
    }

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

    .hero-content {
        padding: 40px 28px;
    }

    .hero-visual {
        display: none;
    }

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

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .logo-text {
        display: none;
    }

    .header-actions {
        gap: 5px;
    }

    .selector-button {
        padding: 0 9px;
    }

    .hero {
        padding-top: 18px;
    }

    .hero h1 {
        font-size: 40px;
        letter-spacing: -2px;
    }

    .hero-search {
        height: 54px;
    }

    .hero-search button {
        padding: 0 16px;
    }

    .hero-features {
        flex-direction: column;
        gap: 8px;
    }

    .categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .products-controls {
        width: 100%;
        justify-content: space-between;
    }

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

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

.logo-image {
    width: 42px;
    height: 42px;
    display: block;
    flex-shrink: 0;
    border-radius: 12px;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav a {
    color: #17181c;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #6757e8;
}
.hero-showcase-card {
    position: absolute;
    top: 72px;
    right: 65px;
    width: 280px;
    padding: 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 55px rgba(42, 33, 99, 0.25);
    transform: rotate(2deg);
}

.hero-showcase-card > span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}

.showcase-button {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 12px 14px;
    border: 0;
    border-radius: 9px;
    background: var(--surface-dark);
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.info-hero {
    padding: 34px 0 44px;
}

.info-hero-card {
    min-height: 430px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f4f2ff 100%);
    border: 1px solid var(--border);
}

.info-hero-content {
    padding: 62px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-hero-content h1 {
    max-width: 700px;
    margin: 10px 0 0;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -2.8px;
}

.info-hero-content p {
    max-width: 620px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.info-hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.info-primary-button,
.info-secondary-button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 750;
}

.info-primary-button {
    background: var(--primary);
    color: #ffffff;
}

.info-primary-button:hover {
    background: var(--primary-hover);
}

.info-secondary-button {
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
}

.info-secondary-button:hover {
    background: var(--surface-secondary);
}

.info-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.info-hero-visual::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: #e7e2ff;
    top: 30px;
    right: 30px;
}

.info-logo-card {
    position: relative;
    z-index: 2;
    width: 270px;
    padding: 26px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    text-align: center;
    transform: rotate(2deg);
}

.info-logo-card img {
    width: 120px;
    height: 120px;
    display: block;
    margin: 0 auto 22px;
    border-radius: 28px;
}

.info-logo-card strong {
    display: block;
    font-size: 25px;
    letter-spacing: -0.6px;
}

.info-logo-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 12px;
}

.info-benefits-section {
    padding: 44px 0;
}

.info-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.info-feature-card {
    min-height: 220px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
}

.info-feature-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 12px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 20px;
    font-weight: 800;
}

.info-feature-card h3 {
    margin: 0;
    font-size: 17px;
}

.info-feature-card p {
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.info-process-section {
    padding: 44px 0;
}

.info-process-card {
    padding: 42px;
    border-radius: 22px;
    background: var(--surface-dark);
    color: #ffffff;
}

.info-process-heading .section-eyebrow {
    color: #aa9eff;
}

.info-process-heading h2 {
    margin: 8px 0 0;
    font-size: 32px;
    letter-spacing: -1px;
}

.info-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 30px;
}

.info-process-item {
    min-height: 170px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
}

.info-process-item > span {
    display: block;
    margin-bottom: 34px;
    color: #9e92f8;
    font-size: 11px;
    font-weight: 850;
}

.info-process-item strong {
    font-size: 15px;
}

.info-process-item p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    line-height: 1.6;
}

.info-disclaimer-section {
    padding: 20px 0 55px;
}

.info-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    border: 1px solid #dcd8f7;
    border-radius: 16px;
    background: #f5f3ff;
}

.info-disclaimer-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--primary);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
}

.info-disclaimer h2 {
    margin: 0;
    font-size: 16px;
}

.info-disclaimer p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

@media (max-width: 800px) {
    .info-hero-card {
        grid-template-columns: 1fr;
    }

    .info-hero-content {
        padding: 40px 28px;
    }

    .info-hero-visual {
        min-height: 300px;
    }

    .info-benefits-grid,
    .info-process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .info-hero-content h1 {
        font-size: 40px;
        letter-spacing: -2px;
    }

    .info-hero-actions {
        flex-direction: column;
    }

    .info-primary-button,
    .info-secondary-button {
        width: 100%;
    }

    .info-process-card {
        padding: 28px 20px;
    }
}
:root[data-theme="dark"] {
    --background: #111216;
    --surface: #191a20;
    --surface-secondary: #222329;
    --surface-dark: #0c0d10;
    --text: #f4f4f6;
    --muted: #999ca7;
    --border: #2d2f36;
    --primary: #8171ff;
    --primary-hover: #9487ff;
    --primary-soft: #282441;
    --success: #44c88b;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

body,
.header,
.footer,
.product-card,
.category,
.benefit,
.selector-button,
.selector-menu,
.sort-select,
.shop-filters,
.product-details,
.info-feature-card,
.info-logo-card {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

:root[data-theme="dark"] .header {
    background: rgba(25, 26, 32, 0.94);
}

:root[data-theme="dark"] .footer,
:root[data-theme="dark"] .product-card,
:root[data-theme="dark"] .category,
:root[data-theme="dark"] .benefit,
:root[data-theme="dark"] .selector-button,
:root[data-theme="dark"] .selector-menu,
:root[data-theme="dark"] .sort-select,
:root[data-theme="dark"] .shop-filters,
:root[data-theme="dark"] .product-details,
:root[data-theme="dark"] .info-feature-card,
:root[data-theme="dark"] .info-logo-card {
    background: var(--surface);
}

:root[data-theme="dark"] .product-image-wrapper {
    background: #15161b;
}

:root[data-theme="dark"] .info-hero-card {
    background: linear-gradient(135deg, #191a20 0%, #221e38 100%);
}

:root[data-theme="dark"] .header-search {
    background: var(--surface-secondary);
}

:root[data-theme="dark"] .header-search:focus-within {
    background: var(--surface);
}

.theme-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font-size: 18px;
}

.theme-button:hover {
    background: var(--surface-secondary);
}

.main-nav a.active {
    color: var(--primary);
}

.shop-section {
    padding: 20px 0 55px;
}

.shop-layout {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.shop-filters {
    position: sticky;
    top: 100px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--surface);
}

.filters-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.filters-heading strong {
    font-size: 15px;
}

.filters-heading button {
    border: 0;
    background: transparent;
    color: var(--primary);
    font-size: 11px;
}

.filter-group {
    margin-bottom: 22px;
}

.filter-group > label {
    display: block;
    margin-bottom: 9px;
    font-size: 11px;
    font-weight: 750;
}

.filter-group select,
.price-filter input {
    width: 100%;
    height: 40px;
    padding: 0 11px;
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: 0;
    background: var(--surface);
    color: var(--text);
}

.price-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text);
    font-size: 11px;
    cursor: pointer;
}

.filter-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}

.favorite-button {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    font-size: 20px;
    line-height: 1;
}

.favorite-button:hover,
.favorite-button.active {
    color: #e34b6f;
}

.product-image-link {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-title-link {
    color: inherit;
    text-decoration: none;
}

.product-title-link:hover {
    color: var(--primary);
}

.product-page {
    padding: 38px 0 70px;
}

.product-back-link {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--muted);
    text-decoration: none;
    font-size: 12px;
}

.product-back-link:hover {
    color: var(--primary);
}

.product-details {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(360px, 1.1fr);
    gap: 55px;
    padding: 42px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: var(--surface);
}

.product-detail-image {
    min-height: 470px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: var(--surface-secondary);
}

.product-detail-image img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

.product-detail-placeholder {
    width: 130px;
    height: 130px;
    display: grid;
    place-items: center;
    border-radius: 30px;
    background: var(--primary);
    color: #ffffff;
    font-size: 55px;
    font-weight: 850;
}

.product-detail-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-detail-content h1 {
    margin: 10px 0 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -1.7px;
}

.product-detail-meta {
    margin: 13px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.product-detail-store {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 26px;
    color: var(--muted);
    font-size: 12px;
}

.product-detail-price {
    margin-top: 28px;
    font-size: 35px;
    font-weight: 850;
}

.product-detail-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.product-main-buy-button,
.product-favorite-button {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 750;
}

.product-main-buy-button {
    flex: 1;
    border: 0;
    background: var(--primary);
    color: #ffffff;
}

.product-favorite-button {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
}

.product-favorite-button.active {
    color: #e34b6f;
}

.product-detail-skeleton {
    grid-column: 1 / -1;
    height: 480px;
    border-radius: 17px;
    background: linear-gradient(90deg, var(--surface-secondary) 25%, var(--border) 50%, var(--surface-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.25s infinite;
}

.not-found-page {
    padding: 80px 0;
}

.not-found-card {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 30px;
    text-align: center;
}

.not-found-card img {
    width: 88px;
    height: 88px;
    border-radius: 22px;
}

.not-found-code {
    display: block;
    margin-top: 25px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 2px;
}

.not-found-card h1 {
    margin: 12px 0 0;
    font-size: 44px;
    letter-spacing: -1.8px;
}

.not-found-card p {
    max-width: 490px;
    margin: 14px auto 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.not-found-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 27px;
}

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

    .shop-filters {
        position: static;
    }

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

    .product-detail-image {
        min-height: 380px;
    }
}

@media (max-width: 700px) {
    .main-nav {
        display: none;
    }

    .product-details {
        padding: 20px;
        gap: 28px;
    }

    .product-detail-actions,
    .not-found-actions {
        flex-direction: column;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

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

@keyframes heartPop {
    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.28);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes floatCard {
    0% {
        transform: translateY(0) rotate(2deg);
    }

    50% {
        transform: translateY(-8px) rotate(1deg);
    }

    100% {
        transform: translateY(0) rotate(2deg);
    }
}

.hero-content {
    animation: fadeUp 0.65s ease both;
}

.hero-visual {
    animation: fadeIn 0.8s ease both;
}

.hero-showcase-card {
    animation: floatCard 5s ease-in-out infinite;
}

.benefit,
.category,
.product-card,
.info-feature-card,
.info-process-item {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.benefit:hover,
.category:hover,
.product-card:hover,
.info-feature-card:hover,
.info-process-item:hover {
    transform: translateY(-4px);
}

.product-card:hover {
    box-shadow: 0 18px 40px rgba(30, 31, 40, 0.12);
}

.buy-button,
.info-primary-button,
.info-secondary-button,
.showcase-button,
.theme-button,
.selector-button {
    transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.buy-button:hover:not(:disabled),
.info-primary-button:hover,
.info-secondary-button:hover,
.showcase-button:hover,
.theme-button:hover,
.selector-button:hover {
    transform: translateY(-1px);
}

.buy-button:active:not(:disabled),
.info-primary-button:active,
.info-secondary-button:active,
.showcase-button:active,
.theme-button:active,
.selector-button:active {
    transform: translateY(0) scale(0.98);
}

.favorite-button {
    transition: transform 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.favorite-button:hover {
    transform: scale(1.08);
}

.favorite-button.active {
    animation: heartPop 0.3s ease;
}

.selector-menu {
    transform-origin: top right;
}

.selector-menu.open {
    display: block;
    animation: scaleIn 0.14s ease both;
}

.product-image {
    transition: transform 0.25s ease;
}

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

.logo-image {
    transition: transform 0.2s ease;
}

.logo:hover .logo-image {
    transform: rotate(-4deg) scale(1.04);
}

.scroll-hidden {
    opacity: 0;
    transform: translateY(22px);
}

.scroll-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.55s ease, transform 0.55s ease;
}