/* Marketplace - Catalog & Product Page Styles */

html.lenis {
    overflow: clip !important;
}

/* Container - inherits from site */


/* Breadcrumbs */
.breadcrumbs {
    font-size: 12px;
    color: #666;
}
.breadcrumbs a {
    color: #333;
    text-decoration: none;
}
.breadcrumbs a:hover {
    color: #f53003;
}

/* Hero */
.marketplace-hero h1 {
    color: #000;
    font-size: 3.5rem;
    font-style: normal;
    letter-spacing: normal;
    line-height: 1.1;
    margin: 0;
    font-family: 'GolosTextWebRegular', serif;
    font-weight: 600;
    text-transform: uppercase;
}
.marketplace-hero__description {
    color: #555;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-top: 0.75rem;
}

@media (min-width: 1024px) {
    .marketplace-hero h1 {
        font-size: 4.5rem;
    }
}

/* Catalog Layout */
.marketplace-catalog {
    padding: 2rem 0 5rem;
}
.marketplace-catalog__layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}
.marketplace-sidebar,
.marketplace-content {
    min-width: 0;
}
.marketplace-filter-card {
    padding: 1.5rem;
    background: #f3f2ef;
    border: 1px solid #e4e1da;
    border-radius: 1rem;
}
.marketplace-filter-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.marketplace-filter-card__title {
    margin: 0;
    color: #1f1f1f;
    font-size: 1.125rem;
    font-weight: 600;
}
.marketplace-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.marketplace-filters__group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.marketplace-filters__label {
    font-size: 0.875rem;
    color: #555;
    font-weight: 500;
}
.marketplace-filters__select {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 1px solid #d9d5ce;
    border-radius: 0.75rem;
    font-size: 1rem;
    background: #fff;
    color: #1f1f1f;
    cursor: pointer;
}
.marketplace-filters__reset {
    font-size: 0.875rem;
    color: #f53003;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 500;
}
.marketplace-filters__input {
    width: 100%;
    pointer-events: none;
}
.marketplace-filters__input .irs {
    pointer-events: auto;
}

/* Custom dropdown with checkboxes */
.marketplace-dropdown {
    position: relative;
}
.marketplace-dropdown__toggle {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 1px solid #d9d5ce;
    border-radius: 0.75rem;
    font-size: 1rem;
    background: #fff;
    color: #1f1f1f;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.marketplace-dropdown__toggle::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #666;
    flex-shrink: 0;
    margin-left: 0.5rem;
}
.marketplace-dropdown__toggle--active::after {
    border-top: none;
    border-bottom: 6px solid #666;
}
.marketplace-dropdown__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.25rem;
    background: #fff;
    border: 1px solid #d9d5ce;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 240px;
    overflow-y: auto;
    padding: 0.375rem 0;
}
.marketplace-dropdown__menu--open {
    display: block;
}
.marketplace-dropdown__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    cursor: pointer;
    font-size: 0.9375rem;
    color: #333;
    transition: background 0.15s;
}
.marketplace-dropdown__item:hover {
    background: #f5f3ef;
}
.marketplace-dropdown__item input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    accent-color: #f53003;
    cursor: pointer;
    flex-shrink: 0;
}
.marketplace-dropdown__item-label {
    cursor: pointer;
    user-select: none;
}
.marketplace-dropdown__count {
    font-size: 0.8125rem;
    color: #999;
    margin-left: auto;
}
.marketplace-controls-panel {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.marketplace-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}
.marketplace-category-pill {
    padding: 0.625rem 1.25rem;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    color: #333;
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.marketplace-category-pill:hover {
    border-color: #bfb8ac;
    background: #f7f5f1;
}
.marketplace-category-pill--active {
    background: #333;
    border-color: #333;
    color: #fff;
}
.marketplace-toolbar {
    display: block;
}
.marketplace-search {
    display: flex;
    gap: 0.75rem;
}
.marketplace-search__input {
    flex: 1;
    min-width: 0;
    padding: 0.875rem 1.25rem;
    border: 1px solid #ddd;
    border-radius: 0.75rem;
    font-size: 1rem;
    background: #fff;
}
.marketplace-search__submit {
    padding: 0.875rem 1.75rem;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
}
.marketplace-sort {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-width: 220px;
}
.marketplace-sort-row {
    display: flex;
    justify-content: flex-end;
}
.marketplace-grid {
    padding: 0;
}
.marketplace-grid__count {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
}
.marketplace-grid__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 480px) {
    .marketplace-grid__items {
        grid-template-columns: 1fr;
    }
}

/* Product Card */
.product-card {
    border: 1px solid #e8e8e8;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    background: #fff;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.product-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}
.product-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #f5f5f5;
    overflow: hidden;
}
.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-card__no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    font-size: 1rem;
}
.product-card__badges {
    position: absolute;
    top: 0.625rem;
    left: 0.625rem;
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}
.product-card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-card__title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #222;
    line-height: 1.35;
}
.product-card__description {
    font-size: 15px;
    color: #555;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    flex: 1;
}
.product-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 14px;
    color: #777;
}
.tab-reviews p {
    font-size: 14px;
}
.product-card__stats {
    display: flex;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 0.75rem;
}
.product-card__footer {
    padding-top: 0.75rem;
    border-top: 1px solid #f0f0f0;
    margin-top: auto;
}

/* Price */
.product-price__free {
    color: #22c55e;
    font-weight: 600;
    font-size: 1.4rem;
}
.product-price__current {
    font-weight: 700;
    font-size: 1.375rem;
    color: #222;
}
.product-price__current--sale {
    color: #f53003;
}
.product-price__old {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 0.5rem;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 0.375rem;
    text-transform: uppercase;
    line-height: 1.3;
}
.product-badges {
    display: flex;
    gap: 5px
}
.badge--module {
    background: #dbeafe;
    color: #1d4ed8;
}
.badge--template {
    background: #dcfce7;
    color: #15803d;
}
.badge--free {
    background: #dcfce7;
    color: #15803d;
}
.badge--sale {
    background: #fef3c7;
    color: #b45309;
}
.badge--featured {
    background: #f3e8ff;
    color: #7c3aed;
}
.badge--current {
    background: #dbeafe;
    color: #1d4ed8;
}
.badge--verified {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.75rem;
}
.badge--official {
    background: #dbeafe;
    color: #1d4ed8;
}

/* Pagination */
.marketplace-pagination {
    margin-top: 2.5rem;
}
.marketplace-pagination nav {
    display: flex;
    justify-content: center;
}
.marketplace-pagination .pagination {
    display: flex;
    gap: 0.375rem;
    list-style: none;
    padding: 0;
}
.marketplace-pagination .page-item a,
.marketplace-pagination .page-item span {
    display: block;
    padding: 0.5rem 0.875rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    color: #333;
    text-decoration: none;
    font-size: 0.9375rem;
}
.marketplace-pagination .page-item.active span {
    background: #333;
    color: #fff;
    border-color: #333;
}
.marketplace-pagination .page-item.disabled span {
    color: #ccc;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
}
.empty-state__icon {
    color: #ccc;
    margin-bottom: 1rem;
}
.empty-state__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.empty-state__description {
    color: #666;
    margin-bottom: 1.5rem;
}

/* Product Detail Page */
.product-detail {
    padding: 2rem 0 5rem;
}
.product-detail__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid #eee;
}
.product-detail__title {
    font-size: 2.25rem;
    font-weight: 700;
    margin: 0.75rem 0;
    line-height: 1.2;
    color: #111;
}
@media (min-width: 1024px) {
    .product-detail__title {
        font-size: 2.5rem;
    }
}
.product-detail__description {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}
.product-detail__meta {
    margin: 1rem 0;
}
.product-detail__meta > div {
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    color: #444;
}
.product-detail__version-badge {
    display: inline-block;
    padding: 0.1875rem 0.5rem;
    background: #f0f0f0;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    margin-right: 0.25rem;
}
.product-detail__options {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: #f9f9f9;
    border-radius: 0.75rem;
    display: none;
}
.tab-questions p {
    font-size: 1.3rem;
}
.product-option-group__title {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
}
.product-option-group__values {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.product-option-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.9375rem;
}
.product-option-value__price {
    color: #666;
    font-size: 0.875rem;
    margin-left: auto;
}
.product-detail__purchase {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    flex-direction: column;
}

/* Rating */
.rating-star--active {
    color: #f59e0b;
}
.rating-star {
    color: #ddd;
    font-size: 1.25rem;
}

/* Gallery */
.product-gallery {
    display: flex;
    gap: 1rem;
    min-width: 0;
    max-width: 100%;
}
.product-gallery__thumbs {
    width: 80px;
    flex-shrink: 0;
    height: 100%;
    max-height: 480px;
    overflow: hidden;
}
.product-gallery__thumbs .swiper-wrapper {
    flex-direction: column;
}
.product-gallery__thumb {
    width: 80px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s;
    flex-shrink: 0;
}
.product-gallery__thumb--active {
    border-color: #f53003;
}
.product-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-gallery__main {
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    max-height: min(70vh, 42rem);
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f5f5f5;
}
.product-detail__gallery {
    min-width: 0;
}
.product-gallery__main .swiper-wrapper,
.product-gallery__main .swiper-slide {
    width: 100%;
    height: 100%;
}
.product-gallery__main .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-gallery__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}
.product-gallery__no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #999;
    font-size: 1rem;
}
.swiper-button-next,
.swiper-button-prev {
    color: #333 !important;
    background: rgba(255,255,255,0.9);
    width: 2.75rem !important;
    height: 2.75rem !important;
    border-radius: 50%;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.125rem !important;
}

/* Tabs */
.product-tabs {
    margin: 2.5rem 0;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #eee;
    overflow: hidden;
}
.product-tabs__nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e8e8e8;
    background: #fafafa;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}
.product-tabs__btn {
    padding: 1rem 1.75rem;
    border: none;
    background: none;
    font-size: 1.5rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.product-tabs__btn--active {
    color: #f53003;
    border-bottom-color: #f53003;
}
.product-tabs__btn:focus-visible {
    outline: 2px solid #f53003;
    outline-offset: -2px;
}
.product-tabs__btn:hover {
    color: #333;
}
.product-tabs__panel {
    display: none;
    padding: 2rem;
}
.product-tabs__panel--active {
    display: block;
}
.product-tabs__html {
    line-height: 1.8;
    font-size: 1.5rem;
    color: #333;
}
.product-tabs__html p {
    margin-bottom: 1rem;
}
.product-tabs__html ol,
.product-tabs__html ul {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
    counter-reset: list-counter;
}
.product-tabs__html ol li,
.product-tabs__html ul li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 0.75rem;
    line-height: 1.8;
    counter-increment: list-counter;
}
.product-tabs__html ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.2rem;
    height: 2.2rem;
    background: #4f39f6;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
}
.product-tabs__html ul li::before {
    content: '';
    position: absolute;
    left: 0.6rem;
    top: 0.85rem;
    width: 0.8rem;
    height: 0.8rem;
    background: #4f39f6;
    border-radius: 50%;
}

/* Editor.js Content */
.product-tabs__html .editor-js-content {
    color: #333;
}

.product-tabs__html .editor-js-content .editor-js-block,
.product-tabs__html .editor-js-content p,
.product-tabs__html .editor-js-content li,
.product-tabs__html .editor-js-content ul,
.product-tabs__html .editor-js-content ol,
.product-tabs__html .editor-js-content a,
.product-tabs__html .editor-js-content strong,
.product-tabs__html .editor-js-content em,
.product-tabs__html .editor-js-content small,
.product-tabs__html .editor-js-content td,
.product-tabs__html .editor-js-content th,
.product-tabs__html .editor-js-content .editor-js-quote__text,
.product-tabs__html .editor-js-content .editor-js-quote__caption,
.product-tabs__html .editor-js-content .editor-js-warning,
.product-tabs__html .editor-js-content .editor-js-warning__title,
.product-tabs__html .editor-js-content .editor-js-warning__message,
.product-tabs__html .editor-js-content .cdx-alert,
.product-tabs__html .editor-js-content .cdx-alert__message,
.product-tabs__html .editor-js-content .cdx-toc__link {
    color: #333;
}

.product-tabs__html .editor-js-content p,
.product-tabs__html .editor-js-content li,
.product-tabs__html .editor-js-content .editor-js-quote__text,
.product-tabs__html .editor-js-content .editor-js-quote__caption,
.product-tabs__html .editor-js-content .editor-js-warning,
.product-tabs__html .editor-js-content .editor-js-warning__title,
.product-tabs__html .editor-js-content .editor-js-warning__message,
.product-tabs__html .editor-js-content .cdx-alert,
.product-tabs__html .editor-js-content .cdx-alert__message,
.product-tabs__html .editor-js-content .cdx-toc__link {
    font-size: 1.5rem;
    line-height: 1.8;
}

.product-tabs__html .editor-js-content h1,
.product-tabs__html .editor-js-content h2,
.product-tabs__html .editor-js-content h3,
.product-tabs__html .editor-js-content h4,
.product-tabs__html .editor-js-content h5 {
    margin: 0 0 0.85rem;
    padding: 0;
    color: #222;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.product-tabs__html .editor-js-content ul,
.product-tabs__html .editor-js-content ol {
    padding-left: 0;
}

.product-tabs__html .editor-js-content .editor-js-code {
    color: #333;
}

.product-tabs__html .editor-js-content .editor-js-quote,
.product-tabs__html .editor-js-content .editor-js-warning,
.product-tabs__html .editor-js-content .cdx-alert,
.product-tabs__html .editor-js-content .cdx-toc {
    border-radius: 12px;
}

.product-tabs__html .editor-js-content .cdx-alert {
    padding: 1rem 1.25rem;
    border: 1px solid #d1d5db;
    background: #f3f4f6;
}

.product-tabs__html .editor-js-content .cdx-alert-info {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.product-tabs__html .editor-js-content .cdx-alert-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
}

.product-tabs__html .editor-js-content .cdx-alert-warning {
    background: #fffbeb;
    border-color: #fcd34d;
}

.product-tabs__html .editor-js-content .cdx-alert-danger {
    background: #fef2f2;
    border-color: #fca5a5;
}

.product-tabs__html .editor-js-content .cdx-toc {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border: 1px solid #d1d5db;
    background: #f3f4f6;
}

.product-tabs__html .editor-js-content .cdx-toc__title {
    margin-bottom: 0.75rem;
    color: #111827;
    font-size: 1.6rem;
    font-weight: 700;
}

.product-tabs__html .editor-js-content .cdx-toc__list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    counter-reset: toc-item;
}

.product-tabs__html .editor-js-content .cdx-toc__list .cdx-toc__list {
    margin-top: 0.5rem;
    padding-left: 1.75rem;
}

.product-tabs__html .editor-js-content .cdx-toc__item {
    margin: 0.4rem 0;
    list-style: none;
    counter-increment: toc-item;
}

.product-tabs__html .editor-js-content .cdx-toc__item::before {
    content: counters(toc-item, ".") ". ";
    color: #111827;
    font-size: 1.5rem;
    font-weight: 700;
}

.product-tabs__html .editor-js-content .cdx-toc__link {
    text-decoration: none;
}

.product-tabs__html .editor-js-content .cdx-toc__link:hover {
    text-decoration: underline;
}

.product-tabs__html .editor-js-content .editor-js-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    margin: 1.6rem 0;
    color: #5e5e5e;
}

.product-tabs__html .editor-js-content .editor-js-image img {
    margin: 0;
}

.product-tabs__html .editor-js-content .editor-js-image__caption {
    display: block;
    color: #5e5e5e;
    font-size: 1.3rem;
    line-height: 1.5;
    text-align: center;
}

.product-tabs__html .editor-js-content .editor-js-block mark {
    background: #fefea2;
}

.product-tabs__html .editor-js-content a {
    color: #4f39f6;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    transition: color 0.2s;
}

.product-tabs__html .editor-js-content a:hover {
    color: #3a28c5;
}

.product-tabs__html .editor-js-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    font-size: 1.4rem;
}

.product-tabs__html .editor-js-content th,
.product-tabs__html .editor-js-content td {
    padding: 0.8rem 1.2rem;
    border: 1px solid #e5e7eb;
    text-align: left;
}

.product-tabs__html .editor-js-content th {
    background: #f9fafb;
    font-weight: 600;
    color: #111827;
}

.product-tabs__html .editor-js-content hr {
    margin: 2.4rem 0;
    border: none;
    border-top: 1px solid #e5e7eb;
}

.product-tabs__html .editor-js-content .editor-js-quote {
    margin: 2rem 0;
    padding: 1.6rem 1.8rem;
    border-left: 4px solid #4f39f6;
    background: #f9fafb;
    border-radius: 0 12px 12px 0;
}

.product-tabs__html .editor-js-content .editor-js-quote__text {
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.7;
}

.product-tabs__html .editor-js-content .editor-js-quote__caption {
    display: block;
    margin-top: 1rem;
    color: #333;
    font-size: 1.3rem;
    font-style: normal;
}

.product-tabs__html .editor-js-content .editor-js-quote--center {
    text-align: center;
}

.product-tabs__html .editor-js-content .editor-js-warning {
    margin: 2rem 0;
    padding: 1.6rem 1.8rem;
    border: 1px solid #f6ad55;
    border-radius: 12px;
    background: #fff7ed;
}

.product-tabs__html .editor-js-content .editor-js-warning__title {
    margin: 0 0 0.8rem;
    font-size: 1.6rem;
    line-height: 1.4;
}

.product-tabs__html .editor-js-content .editor-js-warning__message {
    margin: 0;
}

.product-tabs__html .editor-js-content .editor-js-attachment__link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.4rem 1.6rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    margin: 2rem 0;
    position: relative;
}

.product-tabs__html .editor-js-content .editor-js-attachment__link::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("/assets/images/download.svg");
}

.product-tabs__html .editor-js-content .editor-js-attachment__name {
    font-weight: 600;
    color: #111827;
}

.product-tabs__html .editor-js-content .editor-js-attachment__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #333;
    font-size: 1.3rem;
}

.product-tabs__html .editor-js-content .editor-js-nested-list ul,
.product-tabs__html .editor-js-content .editor-js-nested-list ol {
    margin-top: 0.8rem;
}

.product-tabs__html .editor-js-content .editor-js-button {
    margin: 2rem 0;
}

.product-tabs__html .editor-js-content .editor-js-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
}

.product-tabs__html .editor-js-content .editor-js-button__link:hover {
    color: #fff;
}

.product-tabs__html .editor-js-content .editor-js-button__link--secondary {
    background: #f3f4f6;
    color: #111827;
}

.product-tabs__html .editor-js-content .editor-js-button__link--secondary:hover {
    color: #111827;
}

.product-tabs__html .editor-js-content .editor-js-carousel {
    margin: 2rem 0;
}

.product-tabs__html .editor-js-content .editor-js-carousel__image {
    border-radius: 12px;
}

.product-tabs__html .editor-js-content .editor-js-carousel__caption {
    margin-top: 0.8rem;
    color: #5e5e5e;
    font-size: 1.3rem;
    text-align: center;
}

.product-tabs__html .editor-js-content .editor-js-checklist {
    list-style: none;
    padding: 0;
}

.product-tabs__html .editor-js-content .editor-js-checklist__item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.75rem;
    padding-left: 0;
}

.product-tabs__html .editor-js-content .editor-js-checklist__item::before {
    display: none;
}

.product-tabs__html .editor-js-content .editor-js-checklist__checkbox {
    width: 1.8rem;
    height: 1.8rem;
    margin-top: 0.2rem;
    accent-color: #4f39f6;
}

/* Characteristics Tab */
.tab-characteristics__group-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem;
    color: #222;
}
.tab-characteristics__group-title:first-child {
    margin-top: 0;
}
.tab-characteristics__table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}
.tab-characteristics__table tr {
    border-bottom: 1px solid #f0f0f0;
}
.tab-characteristics__table tr:last-child {
    border-bottom: none;
}
.tab-characteristics__name {
    padding: 0.75rem 1rem 0.75rem 0;
    font-weight: 500;
    color: #555;
    width: 40%;
    vertical-align: top;
    font-size: 1.45rem;
}
.tab-characteristics__value {
    padding: 0.75rem 0;
    color: #222;
    font-size: 1.45rem;
}

/* Changelog Tab */
.tab-changelog__item {
    padding: 1.25rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.tab-changelog__item:first-child {
    padding-top: 0;
}
.tab-changelog__item:last-child {
    border-bottom: none;
}
.tab-changelog__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}
.tab-changelog__version {
    font-weight: 700;
    font-size: 1.0625rem;
}
.tab-changelog__date {
    font-size: 0.875rem;
    color: #999;
}
.tab-changelog__title {
    font-weight: 600;
    margin-bottom: 0.375rem;
    font-size: 0.9375rem;
}
.tab-changelog__body {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.6;
}

/* Reviews Tab */
.tab-reviews__summary {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}
.tab-reviews__item {
    padding: 1.25rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.tab-reviews__item:first-child {
    padding-top: 0;
}
.tab-reviews__item:last-child {
    border-bottom: none;
}
.tab-reviews__rating {
    margin-bottom: 0.375rem;
}
.tab-reviews__title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.375rem;
}
.tab-reviews__text {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #444;
}
.tab-reviews__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #888;
}
.tab-reviews__reply {
    margin-top: 0.75rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    border-left: 3px solid #f53003;
}
.tab-reviews__form,
.tab-questions__form {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}
.tab-reviews__form h3,
.tab-questions__form h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Star Rating Input */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.125rem;
}
.star-rating input {
    display: none;
}
.star-rating label {
    font-size: 1.75rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.15s;
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f59e0b;
}

/* Review / Question Forms */
.review-form__field,
.question-form__field {
    margin-bottom: 0.75rem;
}
.review-form__input,
.question-form__input,
.review-form__textarea,
.question-form__textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 15px;
    font-family: inherit;
}
.review-form__textarea,
.question-form__textarea {
    min-height: 120px;
    resize: vertical;
}
.review-form__rating {
    margin-bottom: 0.75rem;
}
.review-form__rating label {
    display: block;
    margin-bottom: 0.375rem;
    font-weight: 500;
    font-size: 14px;
}

/* Questions Tab */
.tab-questions__item {
    padding: 1.25rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.tab-questions__item:first-child {
    padding-top: 0;
}
.tab-questions__item:last-child {
    border-bottom: none;
}
.tab-questions__author {
    font-weight: 600;
    font-size: 0.9375rem;
}
.tab-questions__date {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 0.5rem;
}
.tab-questions__text {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #444;
}
.tab-questions__answer {
    margin-top: 0.75rem;
    margin-left: 1.5rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 0.5rem;
    border-left: 3px solid #ddd;
}
.tab-questions__answer--official {
    border-left-color: #1d4ed8;
    background: #f0f5ff;
}
.tab-questions__answer-author {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.375rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tab-questions__answer-text {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #444;
}

/* Related Products */
.product-related,
.product-author-products {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}
.product-related h2,
.product-author-products h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Stars in detail page */
.product-detail__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    min-height: 48px;
}
.btn--primary {
    background: #333;
    color: #fff;
}
.btn--primary:hover {
    background: #555;
}
.btn--lg {
    padding: 0.875rem 2rem;
    font-size: 1.0625rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .marketplace-catalog__layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .marketplace-hero h1 {
        font-size: 2.25rem;
    }
    .product-detail__layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.25rem;
    }
    .product-detail__title {
        font-size: 1.625rem;
    }
    .product-gallery {
        flex-direction: column;
    }
    .product-gallery__thumbs {
        width: 100%;
        max-height: none;
        order: 1;
    }
    .product-gallery__thumbs .swiper-wrapper {
        flex-direction: row;
    }
    .product-gallery__thumb {
        width: 60px;
        height: 45px;
    }
    .marketplace-category-pills {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
    }
    .marketplace-search {
        flex-direction: column;
    }
    .marketplace-search__submit {
        width: 100%;
    }
    .marketplace-sort-row {
        justify-content: stretch;
    }
    .marketplace-sort {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .marketplace-hero h1 {
        font-size: 1.75rem;
    }
    .product-detail__title {
        font-size: 1.375rem;
    }
    .product-detail__purchase {
        flex-direction: column;
        align-items: stretch;
    }
    .product-tabs__nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .product-tabs__btn {
        padding: 0.875rem 1.25rem;
    }
    .product-tabs__panel {
        padding: 1.25rem;
    }
    .marketplace-category-pills {
        flex-wrap: wrap;
    }
}

/* Avatar Icons */
.avatar-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}
.tab-reviews__author,
.tab-questions__author,
.tab-questions__answer-author {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}
.tab-reviews__reply-header {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.375rem;
}

/* Contact Author Modal */
.contact-author-modal {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.contact-author-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.contact-author-modal__panel {
    position: relative;
    width: 100%;
    max-width: 46rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 2rem;
    text-align: center;
}

.contact-author-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: color 0.15s, background 0.15s;
}

.contact-author-modal__close:hover {
    color: #111827;
    background: #f3f4f6;
}

.contact-author-modal__title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    margin: 0 0 1.5rem;
}

.contact-author-modal__contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-author-modal__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    transition: transform 0.15s, box-shadow 0.15s;
    text-decoration: none;
}

.contact-author-modal__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-author-modal__icon {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

/* Product Image Lightbox */
.product-gallery__image[data-lightbox-src] {
    cursor: zoom-in;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 20001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-lightbox__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.product-lightbox__body {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-lightbox__image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.product-lightbox__close {
    position: absolute;
    top: -2.5rem;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s;
}

.product-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* =========================================================
   Modern product detail redesign
   ========================================================= */
.product-detail {
    --product-primary: #087cf0;
    --product-primary-dark: #0865c5;
    --product-primary-soft: #eaf4ff;
    --product-ink: #142033;
    --product-muted: #667085;
    --product-border: #e7edf5;
    --product-surface: #ffffff;
    --product-page: #f6f8fb;
    --product-success: #14a86b;
    padding: 2.4rem 0 7rem;
    background:
        radial-gradient(circle at 12% 8%, rgba(8, 124, 240, .055), transparent 24rem),
        linear-gradient(180deg, #fff 0, var(--product-page) 30rem, var(--product-page) 100%);
}

.product-detail__breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .7rem;
    margin-bottom: 2.2rem;
    color: #98a2b3;
    font-size: 1.25rem;
    line-height: 1.5;
}
.product-detail__breadcrumbs a {
    color: #526173;
    transition: color .2s ease;
}
.product-detail__breadcrumbs a:hover {
    color: var(--product-primary);
}
.breadcrumbs__separator {
    color: #c8d0dc;
}
.breadcrumbs__current {
    color: #8995a6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: min(62rem, 50vw);
}

.product-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(38rem, .88fr);
    gap: 2.8rem;
    align-items: stretch;
    margin-bottom: 3.2rem;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.product-detail__gallery-card,
.product-detail__info {
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(222, 230, 240, .95);
    box-shadow: 0 1.8rem 5rem rgba(22, 34, 51, .075);
}
.product-detail__gallery-card {
    height: 100%;
    min-width: 0;
    padding: 2rem;
    border-radius: 2.4rem;
    box-sizing: border-box;
}
.product-detail__sidebar {
    display: flex;
    min-height: 100%;
    min-width: 0;
}
.product-detail__info {
    position: sticky;
    top: 2rem;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    padding: 2rem;
    border-radius: 2.4rem;
    box-sizing: border-box;
}
.product-detail__eyebrow-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.product-detail .product-badges {
    display: flex;
    gap: .7rem;
    flex-wrap: wrap;
}
.product-detail .badge {
    padding: .55rem .9rem;
    border-radius: .8rem;
    font-size: 1.12rem;
    letter-spacing: .025em;
}
.product-detail .badge--module {
    color: #0a63c5;
    background: #e7f2ff;
}
.product-detail .badge--template {
    color: #087c55;
    background: #e8f8f1;
}
.product-detail .badge--featured {
    color: #6f42c1;
    background: #f1ebff;
}
.product-detail__rating {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    padding: .55rem .85rem;
    border: 1px solid #edf0f4;
    border-radius: 999px;
    background: #fbfcfe;
}
.product-detail__rating .rating-stars {
    display: flex;
    gap: .12rem;
}
.product-detail__rating .rating-star {
    font-size: 1.35rem;
    line-height: 1;
}
.product-detail__rating-count {
    color: #667085;
    font-size: 1.2rem;
    font-weight: 600;
}
.product-detail__title {
    margin: 1.8rem 0 1.2rem;
    color: var(--product-ink);
    font-size: clamp(2.7rem, 1.15vw, 4.2rem);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -.035em;
    text-transform: none;
}
.product-detail__description {
    margin: 0 0 1.5rem;
    color: #526173;
    font-size: 1.62rem;
    line-height: 1.55;
}

.product-detail__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: .8rem;
    margin: 0 0 1.4rem;
}
.product-detail__meta > div {
    margin: 0;
    font-size: inherit;
}
.product-detail__meta-item {
    display: flex;
    align-items: center;
    gap: .8rem;
    height: 100%;
    min-width: 0;
    padding: .9rem 1rem;
    border: 1px solid #edf1f6;
    border-radius: 1.4rem;
    background: #fbfcfe;
}
.product-detail__meta-item--wide {
    grid-column: auto;
    align-items: center;
}
.product-detail__meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 3.4rem;
    width: 3.4rem;
    height: 3.4rem;
    color: var(--product-primary);
    border-radius: 1.1rem;
    background: var(--product-primary-soft);
}
.product-detail__meta-icon svg {
    width: 2rem;
    height: 2rem;
}
.product-detail__meta-copy {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    min-width: 0;
}
.product-detail__meta-label {
    color: #8b97a7;
    font-size: 1.15rem;
    line-height: 1.2;
}
.product-detail__meta-value {
    overflow: hidden;
    color: #263548;
    font-size: 1.42rem;
    font-weight: 650;
    line-height: 1.3;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}
a.product-detail__meta-value:hover {
    color: var(--product-primary);
}
.product-detail__version-list {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: .15rem;
}
.product-detail__version-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2.6rem;
    margin: 0;
    padding: .35rem .75rem;
    color: #3a536f;
    border: 1px solid #dce8f5;
    border-radius: .75rem;
    background: #f1f7fd;
    font-size: 1.15rem;
    font-weight: 650;
}

.product-detail__options {
    margin: 0 0 1rem;
    padding: 1.2rem;
    border: 1px solid #e7edf5;
    border-radius: 1.5rem;
    background: #f8fafc;
}
.product-option-group + .product-option-group {
    margin-top: 1.25rem;
}
.product-option-group__title {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .65rem;
    color: var(--product-ink);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.25;
}
.product-option-group__values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: .65rem;
}
.product-option-value {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .55rem;
    width: 100%;
    height: 100%;
    min-height: 4.2rem;
    max-width: 100%;
    margin: 0;
    padding: .55rem 1rem;
    border: 1px solid #d7e3f0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 .35rem 1rem rgba(15, 23, 42, .04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.product-option-value:hover {
    transform: translateY(-1px);
    border-color: rgba(11, 130, 240, .38);
    box-shadow: 0 .8rem 1.8rem rgba(11, 130, 240, .12);
}
.product-option-value:focus-within {
    border-color: rgba(11, 130, 240, .55);
    box-shadow: 0 0 0 .3rem rgba(11, 130, 240, .14);
}
.product-option-value--selected {
    border-color: rgba(11, 130, 240, .55);
    background: linear-gradient(135deg, rgba(11, 130, 240, .12), rgba(0, 181, 255, .08));
    box-shadow: 0 .45rem 1.2rem rgba(11, 130, 240, .12);
}
.product-option-value__input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.product-option-value__content {
    display: flex;
    align-items: center;
    align-self: center;
    flex-wrap: wrap;
    gap: .65rem;
    width: 100%;
    min-width: 0;
}
.product-option-value--selected .product-option-value__label,
.product-option-value--selected .product-option-value__price {
    color: var(--product-primary-dark);
}
.product-option-value__label {
    color: var(--product-ink);
    font-size: 1.45rem;
    font-weight: 650;
    line-height: 1.3;
}
.product-option-value__price {
    margin-left: 0;
    color: #4f6076;
    font-size: 1.3rem;
    font-weight: 650;
    white-space: nowrap;
}
.product-option-group__empty {
    width: 100%;
    color: #738196;
    font-size: 1.35rem;
}

.product-detail__purchase {
    display: block;
    margin-top: auto;
    padding: 1.4rem;
    border: 1px solid #dbe9f8;
    border-radius: 1.8rem;
    background:
        linear-gradient(145deg, rgba(232, 244, 255, .86), rgba(255,255,255,.98) 55%),
        #fff;
}
.product-detail__price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.product-detail__price-label {
    color: #738196;
    font-size: 1.25rem;
    line-height: 1.35;
}
.product-detail__purchase .product-price {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: .8rem;
    flex-wrap: wrap;
}
.product-detail__purchase .product-price__current,
.product-detail__purchase .product-price__free {
    color: var(--product-ink);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.035em;
}
.product-detail__purchase .product-price__current--sale {
    color: #e5484d;
}
.product-detail__purchase .product-price__old {
    color: #98a2b3;
    font-size: 1.45rem;
}
.product-detail__purchase-action,
.product-detail__purchase-form {
    width: 100%;
}
.product-detail__purchase-action {
    display: grid;
    gap: .8rem;
}
.product-detail__purchase-action--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.product-detail__purchase-action--split .product-detail__purchase-counter {
    grid-column: 1 / -1;
}
.product-detail__purchase-button {
    width: 100%;
    min-height: 4.8rem;
    padding: 1rem 1.4rem;
    border-radius: 1.3rem;
    font-size: 1.55rem;
    font-weight: 750;
    letter-spacing: .005em;
    background: #FFF;
    color: black;
}
.product-detail .btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--product-primary), #00a5ef);
    box-shadow: 0 1rem 2.4rem rgba(8, 124, 240, .24);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.product-detail .btn--primary:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--product-primary-dark), #008fd1);
    box-shadow: 0 1.3rem 3rem rgba(8, 124, 240, .3);
    transform: translateY(-1px);
}
.product-detail .btn--primary:active {
    transform: translateY(0);
}
.product-detail .btn--outline {
    color: var(--product-primary);
    background: #fff;
    border: 1px solid rgba(8, 124, 240, .22);
    box-shadow: 0 .8rem 2rem rgba(15, 23, 42, .06);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.product-detail .btn--outline:hover {
    color: var(--product-primary-dark);
    background: #f5fbff;
    box-shadow: 0 1rem 2.4rem rgba(8, 124, 240, .16);
    transform: translateY(-1px);
}
.product-detail .btn--outline:active {
    transform: translateY(0);
}
.product-detail__benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: .8rem;
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
}
.product-detail__benefits li {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #435267;
    font-size: 1.16rem;
    line-height: 1.3;
}
.product-detail__benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.9rem;
    width: 1.9rem;
    height: 1.9rem;
    color: #fff;
    border-radius: 50%;
    background: var(--product-success);
    font-size: 1.05rem;
    font-weight: 800;
}
.product-detail__secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    margin-top: 1rem;
    padding-top: .9rem;
    color: #8490a0;
    border-top: 1px solid #e4edf6;
    font-size: 1.15rem;
}
.product-detail__secure-note svg {
    width: 1.7rem;
    height: 1.7rem;
}

.product-gallery {
    gap: 1.2rem;
}
.product-gallery__main {
    aspect-ratio: 689 / 389;
    max-height: none;
    border: 1px solid #edf1f5;
    border-radius: 1.7rem;
    background: #f4f7fb;
}
.product-gallery__image {
    object-fit: contain;
}
.product-gallery__thumbs {
    width: 8.4rem;
    max-height: 52rem;
}
.product-gallery__thumb {
    width: 8.4rem;
    height: 5.5rem;
    border: 2px solid transparent;
    border-radius: 1rem;
    background: #f4f7fb;
    opacity: .72;
    transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}
.product-gallery__thumb:hover {
    opacity: 1;
    transform: translateY(-1px);
}
.product-gallery__thumb--active {
    border-color: var(--product-primary);
    opacity: 1;
}
.product-detail .swiper-button-next,
.product-detail .swiper-button-prev {
    width: 4.4rem !important;
    height: 4.4rem !important;
    color: #203047 !important;
    border: 1px solid rgba(219, 227, 237, .9);
    background: rgba(255,255,255,.94);
    box-shadow: 0 .8rem 2rem rgba(28, 42, 61, .14);
}
.product-detail .swiper-button-next::after,
.product-detail .swiper-button-prev::after {
    font-size: 1.35rem !important;
    font-weight: 800;
}

.product-detail__tabs {
    margin-top: 1rem;
}
.product-tabs {
    margin: 0;
    overflow: visible;
    border: 1px solid var(--product-border);
    border-radius: 2.2rem;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 1.6rem 4rem rgba(22, 34, 51, .06);
}
.product-tabs__nav {
    display: flex;
    gap: .7rem;
    padding: 1rem;
    border: 0;
    border-bottom: 1px solid #edf1f5;
    border-radius: 2.2rem 2.2rem 0 0;
    background: #fbfcfe;
    overflow-x: auto;
    scrollbar-width: thin;
}
.product-tabs__btn {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 4.4rem;
    margin: 0;
    padding: 1rem 1.55rem;
    color: #667085;
    border: 0;
    border-radius: 1.15rem;
    background: transparent;
    font-size: 1.42rem;
    font-weight: 650;
    line-height: 1;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}
.product-tabs__btn:hover {
    color: #25364d;
    background: #f0f4f9;
}
.product-tabs__btn--active {
    color: #096ccf;
    border: 0;
    background: #e8f3ff;
    box-shadow: inset 0 0 0 1px rgba(8, 124, 240, .1);
}
.product-tabs__btn:focus-visible {
    outline: 2px solid rgba(8, 124, 240, .45);
    outline-offset: 2px;
}
.product-tabs__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2rem;
    height: 2.2rem;
    padding: 0 .65rem;
    color: #56708c;
    border-radius: 999px;
    background: #e8edf3;
    font-size: 1.05rem;
    font-weight: 750;
}
.product-tabs__btn--active .product-tabs__count {
    color: #fff;
    background: var(--product-primary);
}
.product-tabs__panel {
    padding: 2.8rem 3rem 3.2rem;
}
.product-tabs__html {
    color: #344054;
    font-size: 1.58rem;
    line-height: 1.8;
}
.product-tabs__html > :first-child {
    margin-top: 0;
}
.product-tabs__html h1,
.product-tabs__html h2,
.product-tabs__html h3,
.product-tabs__html h4 {
    color: var(--product-ink);
    letter-spacing: -.02em;
}
.product-tabs__html h2 {
    margin-top: 3rem;
    font-size: 2.5rem;
}
.product-tabs__html h3 {
    margin-top: 2.4rem;
    font-size: 2rem;
}
.product-tabs__html p {
    margin-bottom: 1.5rem;
}
.product-tabs__html img {
    border-radius: 1.5rem;
}
.product-tabs__html table {
    overflow: hidden;
    border-radius: 1.2rem;
}

.product-related,
.product-author-products {
    margin-top: 4.5rem;
    padding-top: 0;
    border-top: 0;
}
.product-section-heading {
    margin-bottom: 2rem;
}
.product-section-heading__eyebrow {
    display: block;
    margin-bottom: .55rem;
    color: var(--product-primary);
    font-size: 1.18rem;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.product-related h2,
.product-author-products h2 {
    margin: 0;
    color: var(--product-ink);
    font-size: 2.7rem;
    font-weight: 750;
    letter-spacing: -.025em;
}

@media (max-width: 1180px) {
    .product-detail__layout {
        grid-template-columns: minmax(0, 1fr) minmax(34rem, .82fr);
        gap: 2rem;
    }
    .product-detail__info {
        padding: 1.8rem;
    }
    .product-detail__purchase-action--split {
        grid-template-columns: 1fr;
    }
    .product-detail__benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-detail__title {
        font-size: 3.1rem;
    }
}

@media (max-width: 960px) {
    .product-detail__layout {
        grid-template-columns: 1fr;
        align-items: start;
    }
    .product-detail__gallery-card {
        height: auto;
    }
    .product-detail__sidebar {
        display: block;
        min-height: 0;
    }
    .product-detail__info {
        position: static;
        min-height: 0;
    }
    .product-detail__gallery-card {
        padding: 1.6rem;
    }
    .product-detail__title {
        font-size: clamp(2.8rem, 6vw, 4rem);
    }
}

@media (max-width: 640px) {
    .product-detail {
        padding-top: 1.6rem;
    }
    .product-detail__breadcrumbs {
        margin-bottom: 1.5rem;
    }
    .breadcrumbs__current {
        max-width: 70vw;
    }
    .product-detail__layout {
        gap: 1.4rem;
        margin-bottom: 2rem;
    }
    .product-detail__gallery-card,
    .product-detail__info {
        border-radius: 1.7rem;
    }
    .product-detail__gallery-card {
        padding: 1rem;
    }
    .product-detail__info {
        padding: 1.7rem;
    }
    .product-detail__eyebrow-row {
        align-items: flex-start;
    }
    .product-detail__title {
        margin-top: 1.4rem;
        font-size: 2.65rem;
        line-height: 1.13;
    }
    .product-detail__description {
        font-size: 1.48rem;
    }
    .product-detail__meta {
        grid-template-columns: 1fr;
    }
    .product-detail__meta-item--wide {
        grid-column: auto;
    }
    .product-option-group__values {
        grid-template-columns: 1fr;
    }
    .product-detail__purchase {
        padding: 1.5rem;
    }
    .product-detail__purchase-action--split,
    .product-detail__benefits {
        grid-template-columns: 1fr;
    }
    .product-detail__price-row {
        align-items: flex-start;
        flex-direction: column;
        gap: .7rem;
    }
    .product-detail__purchase .product-price {
        justify-content: flex-start;
    }
    .product-gallery {
        flex-direction: column;
    }
    .product-gallery__thumbs {
        order: 1;
        width: 100%;
        max-height: none;
    }
    .product-gallery__thumbs .swiper-wrapper {
        flex-direction: row;
    }
    .product-gallery__thumb {
        width: 7rem;
        height: 4.8rem;
    }
    .product-tabs {
        border-radius: 1.7rem;
    }
    .product-tabs__nav {
        border-radius: 1.7rem 1.7rem 0 0;
    }
    .product-tabs__btn {
        min-height: 4rem;
        padding: .9rem 1.2rem;
        font-size: 1.3rem;
    }
    .product-tabs__panel {
        padding: 2rem 1.6rem 2.4rem;
    }
    .product-tabs__html {
        font-size: 1.48rem;
    }
}
.product-detail__options {
    display: block;
}

/* =========================================================
   Marketplace catalog redesign — 2026
   ========================================================= */

.marketplace-home-hero,
.marketplace-catalog {
    --market-ink: #142033;
    --market-muted: #66758a;
    --market-border: #e4eaf2;
    --market-soft: #f5f8fc;
    --market-primary: #0b82f0;
    --market-primary-dark: #0868ca;
    --market-cyan: #06a9e8;
    --market-success: #18a875;
}

.marketplace-home-hero {
    position: relative;
    overflow: hidden;
    padding: 3.2rem 0 5.4rem;
    color: #fff;
    background:
        radial-gradient(circle at 78% 18%, rgba(0, 179, 255, .26), transparent 29%),
        radial-gradient(circle at 18% 100%, rgba(26, 111, 255, .22), transparent 34%),
        linear-gradient(135deg, #071a32 0%, #0b2646 52%, #0b385d 100%);
}

.marketplace-home-hero::before,
.marketplace-home-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.marketplace-home-hero::before {
    top: -18rem;
    right: -10rem;
    width: 46rem;
    height: 46rem;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow:
        0 0 0 6rem rgba(255, 255, 255, .018),
        0 0 0 12rem rgba(255, 255, 255, .012);
}

.marketplace-home-hero::after {
    left: 8%;
    bottom: -16rem;
    width: 34rem;
    height: 34rem;
    background: rgba(0, 153, 255, .08);
    filter: blur(1px);
}

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

.marketplace-home-hero__breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
    margin-bottom: 3.8rem;
    color: rgba(255, 255, 255, .58);
    font-size: 1.35rem;
    line-height: 1.4;
}

.marketplace-home-hero__breadcrumbs a {
    color: rgba(255, 255, 255, .84);
}

.marketplace-home-hero__breadcrumbs a:hover {
    color: #fff;
}

.marketplace-home-hero__breadcrumbs .breadcrumbs__separator {
    color: rgba(255, 255, 255, .28);
}

.marketplace-home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(39rem, .9fr);
    align-items: center;
    gap: clamp(4rem, 7vw, 10rem);
}

.marketplace-home-hero__content {
    max-width: 82rem;
}

.marketplace-home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.8rem;
    color: #7fd8ff;
    font-size: 1.35rem;
    font-weight: 750;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.marketplace-home-hero__eyebrow::before {
    content: '';
    width: 3.2rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #16b8ff, rgba(22, 184, 255, .18));
}

.marketplace-home-hero h1 {
    max-width: 90rem;
    margin: 0;
    color: #fff;
    font-family: 'GolosTextWebRegular', sans-serif;
    font-size: clamp(5.4rem, 6.4vw, 9.2rem);
    font-weight: 680;
    line-height: .98;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.marketplace-home-hero__description {
    max-width: 72rem;
    margin: 2.3rem 0 0;
    color: rgba(229, 240, 252, .78);
    font-size: clamp(1.65rem, 1.6vw, 2.05rem);
    line-height: 1.68;
}

.marketplace-home-hero__advantages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 3.5rem;
}

.marketplace-home-hero__advantage {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    min-width: 0;
    padding: 1.45rem;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, .055);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055);
    backdrop-filter: blur(10px);
}

.marketplace-home-hero__advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 4.2rem;
    width: 4.2rem;
    height: 4.2rem;
    color: #65d0ff;
    border-radius: 1.25rem;
    background: rgba(25, 173, 255, .13);
}

.marketplace-home-hero__advantage-icon svg {
    width: 2.2rem;
    height: 2.2rem;
}

.marketplace-home-hero__advantage > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: .25rem;
}

.marketplace-home-hero__advantage strong {
    color: #fff;
    font-size: 1.42rem;
    font-weight: 650;
    line-height: 1.25;
}

.marketplace-home-hero__advantage small {
    color: rgba(226, 239, 252, .58);
    font-size: 1.16rem;
    line-height: 1.35;
}

.marketplace-home-hero__visual {
    position: relative;
    min-height: 39rem;
}

.marketplace-home-hero__visual-glow {
    position: absolute;
    inset: 12% 8% 3% 10%;
    border-radius: 50%;
    background: rgba(0, 158, 255, .18);
    filter: blur(4.5rem);
}

.marketplace-home-hero__product-window {
    position: absolute;
    top: 2rem;
    right: 1.5rem;
    left: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 2.6rem;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 3rem 8rem rgba(0, 8, 22, .38);
    transform: rotate(2deg);
}

.marketplace-home-hero__window-head {
    display: flex;
    align-items: center;
    gap: .65rem;
    height: 5.2rem;
    padding: 0 1.8rem;
    border-bottom: 1px solid #e8eef5;
    background: #f7f9fc;
}

.marketplace-home-hero__window-head > span {
    width: .85rem;
    height: .85rem;
    border-radius: 50%;
    background: #d7dfe9;
}

.marketplace-home-hero__window-head > span:first-child {
    background: #ff6b6b;
}

.marketplace-home-hero__window-head > span:nth-child(2) {
    background: #ffc95b;
}

.marketplace-home-hero__window-head > span:nth-child(3) {
    background: #55d98b;
}

.marketplace-home-hero__window-head small {
    margin-left: auto;
    color: #8a97a9;
    font-size: 1.05rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.marketplace-home-hero__window-body {
    position: relative;
    min-height: 29rem;
    padding: 2.2rem;
    background:
        linear-gradient(90deg, rgba(9, 126, 240, .035) 1px, transparent 1px),
        linear-gradient(rgba(9, 126, 240, .035) 1px, transparent 1px),
        #fff;
    background-size: 2.4rem 2.4rem;
}

.marketplace-home-hero__code-lines {
    display: grid;
    gap: 1rem;
    width: 58%;
    margin-top: 1rem;
}

.marketplace-home-hero__code-lines i {
    display: block;
    height: .9rem;
    border-radius: 999px;
    background: #dfeaf6;
}

.marketplace-home-hero__code-lines i:nth-child(2) { width: 78%; }
.marketplace-home-hero__code-lines i:nth-child(3) { width: 92%; }
.marketplace-home-hero__code-lines i:nth-child(4) { width: 64%; }
.marketplace-home-hero__code-lines i:nth-child(5) { width: 83%; }

.marketplace-home-hero__platform-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: .45rem;
    width: 21rem;
    padding: 1.7rem;
    border: 1px solid #e3ebf4;
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 1.6rem 4rem rgba(29, 54, 82, .13);
}

.marketplace-home-hero__platform-card strong {
    color: #16243a;
    font-size: 1.8rem;
    font-weight: 750;
}

.marketplace-home-hero__platform-card span {
    color: #78879a;
    font-size: 1.2rem;
}

.marketplace-home-hero__platform-card--opencart {
    right: 2.3rem;
    top: 5.2rem;
    border-left: .4rem solid #0fa7eb;
}

.marketplace-home-hero__platform-card--wordpress {
    left: 3.2rem;
    bottom: 2.5rem;
    border-left: .4rem solid #1f78bd;
}

.marketplace-home-hero__check {
    position: absolute;
    right: 3.2rem;
    bottom: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7.5rem;
    height: 7.5rem;
    color: #fff;
    border: .7rem solid #fff;
    border-radius: 50%;
    background: linear-gradient(135deg, #12bd8c, #09a4d9);
    box-shadow: 0 1.5rem 3rem rgba(17, 169, 139, .24);
}

.marketplace-home-hero__check svg {
    width: 3.8rem;
    height: 3.8rem;
}

.marketplace-home-hero__floating-tag {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 5.6rem;
    height: 5.6rem;
    padding: 0 1.2rem;
    color: #d9f4ff;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 1.5rem;
    background: rgba(4, 28, 52, .76);
    box-shadow: 0 1.2rem 3rem rgba(0, 8, 24, .25);
    font-size: 1.25rem;
    font-weight: 750;
    letter-spacing: .06em;
    backdrop-filter: blur(10px);
}

.marketplace-home-hero__floating-tag--one {
    top: 0;
    left: -1rem;
    transform: rotate(-8deg);
}

.marketplace-home-hero__floating-tag--two {
    right: -1rem;
    top: 43%;
    transform: rotate(7deg);
}

.marketplace-home-hero__floating-tag--three {
    bottom: .5rem;
    left: 42%;
    transform: rotate(-4deg);
}

.marketplace-catalog {
    padding: 4.2rem 0 7rem;
    background: #f5f8fc;
}

.marketplace-category-panel {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2.6rem;
    padding: 1.8rem 2rem;
    border: 1px solid var(--market-border);
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 1.2rem 3.4rem rgba(21, 37, 59, .045);
}

.marketplace-category-panel__intro {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    gap: .25rem;
    padding-right: 2.4rem;
    border-right: 1px solid #e8edf3;
}

.marketplace-category-panel__label {
    color: var(--market-primary);
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.marketplace-category-panel__intro strong {
    color: var(--market-ink);
    font-size: 1.65rem;
    font-weight: 700;
    white-space: nowrap;
}

.marketplace-category-pills {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: .8rem;
}

.marketplace-category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.4rem;
    padding: .9rem 1.65rem;
    color: #44546a;
    border: 1px solid #dfe6ef;
    border-radius: 1.2rem;
    background: #f8fafc;
    font-size: 1.48rem;
    font-weight: 600;
    line-height: 1.2;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.marketplace-category-pill:hover {
    color: var(--market-primary-dark);
    border-color: #bcdcff;
    background: #eef7ff;
    transform: translateY(-1px);
}

.marketplace-category-pill--active,
.marketplace-category-pill--active:hover {
    color: #fff;
    border-color: var(--market-primary);
    background: linear-gradient(135deg, var(--market-primary), var(--market-cyan));
    box-shadow: 0 .8rem 2rem rgba(11, 130, 240, .18);
}

.marketplace-catalog__layout {
    display: grid;
    grid-template-columns: 31rem minmax(0, 1fr);
    gap: 2.6rem;
    align-items: start;
}

.marketplace-sidebar,
.marketplace-content {
    min-width: 0;
}

.marketplace-sidebar {
    position: sticky;
    top: 9rem;
}

.marketplace-filter-card {
    padding: 2.2rem;
    border: 1px solid var(--market-border);
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 1.2rem 3.4rem rgba(21, 37, 59, .045);
}

.marketplace-filter-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.2rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid #edf1f5;
}

.marketplace-filter-card__eyebrow {
    display: block;
    margin-bottom: .35rem;
    color: #8a97a8;
    font-size: 1.15rem;
    font-weight: 600;
}

.marketplace-filter-card__title {
    margin: 0;
    color: var(--market-ink);
    font-size: 2.2rem;
    font-weight: 730;
    letter-spacing: -.02em;
}

.marketplace-filters {
    display: flex;
    flex-direction: column;
    gap: 1.65rem;
}

.marketplace-filters__group {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.marketplace-filters__group--details {
    gap: 0;
}

.marketplace-filters__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
}

.marketplace-filters__summary::-webkit-details-marker {
    display: none;
}

.marketplace-filters__summary::after {
    flex: 0 0 auto;
    width: .75rem;
    height: .75rem;
    border-right: 2px solid #708095;
    border-bottom: 2px solid #708095;
    transform: rotate(45deg);
    transition: transform .2s ease;
    content: "";
}

.marketplace-filters__group--details[open] .marketplace-filters__summary::after {
    transform: rotate(225deg);
}

.marketplace-filters__body {
    display: flex;
    flex-direction: column;
    gap: .9rem;
    padding-top: .8rem;
}

.marketplace-filters__group--price {
    padding-bottom: .4rem;
}

.marketplace-filters__label {
    color: #56657a;
    font-size: 1.35rem;
    font-weight: 650;
    line-height: 1.3;
}

.marketplace-filters__select {
    width: 100%;
    min-height: 4.9rem;
    padding: 1.15rem 1.4rem;
    color: #25344a;
    border: 1px solid #dce4ed;
    border-radius: 1.15rem;
    outline: 0;
    background-color: #fbfcfe;
    font-size: 1.45rem;
    font-weight: 500;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
    box-sizing: border-box;
}

.marketplace-filters__select:hover {
    border-color: #c6d4e3;
    background: #fff;
}

.marketplace-filters__select:focus {
    border-color: #79baf8;
    background: #fff;
    box-shadow: 0 0 0 .35rem rgba(11, 130, 240, .1);
}

.marketplace-filters__reset {
    display: inline-flex;
    align-items: center;
    min-height: 3.2rem;
    padding: .55rem .9rem;
    color: #e34f56;
    border-radius: .8rem;
    background: #fff1f2;
    font-size: 1.2rem;
    font-weight: 700;
}

.marketplace-filters__reset:hover {
    color: #c93f46;
    background: #ffe5e7;
}

.marketplace-filters__empty {
    color: #6c7b8f;
    font-size: 1.35rem;
    line-height: 1.5;
}

.marketplace-filters__input {
    width: 100%;
    pointer-events: none;
}

.marketplace-filters__input .irs {
    pointer-events: auto;
}

.marketplace-filter-card .irs--flat {
    height: 5.5rem;
}

.marketplace-filter-card .irs--flat .irs-line,
.marketplace-filter-card .irs--flat .irs-bar {
    top: 2.8rem;
    height: .65rem;
    border-radius: 999px;
}

.marketplace-filter-card .irs--flat .irs-line {
    background: #e6edf5;
}

.marketplace-filter-card .irs--flat .irs-bar {
    background: linear-gradient(90deg, var(--market-primary), var(--market-cyan));
}

.marketplace-filter-card .irs--flat .irs-handle {
    top: 2.05rem;
    width: 2rem;
    height: 2rem;
    border: .4rem solid #fff;
    border-radius: 50%;
    background: var(--market-primary);
    box-shadow: 0 .3rem 1rem rgba(11, 130, 240, .3);
}

.marketplace-filter-card .irs--flat .irs-handle > i:first-child {
    display: none;
}

.marketplace-filter-card .irs--flat .irs-from,
.marketplace-filter-card .irs--flat .irs-to,
.marketplace-filter-card .irs--flat .irs-single {
    padding: .45rem .65rem;
    border-radius: .65rem;
    background: var(--market-primary);
    font-size: 1.05rem;
}

.marketplace-filter-card .irs--flat .irs-from::before,
.marketplace-filter-card .irs--flat .irs-to::before,
.marketplace-filter-card .irs--flat .irs-single::before {
    border-top-color: var(--market-primary);
}

.marketplace-filter-card .irs--flat .irs-min,
.marketplace-filter-card .irs--flat .irs-max,
.marketplace-filter-card .irs--flat .irs-grid-text {
    color: #91a0b2;
    font-size: 1rem;
}

.marketplace-filter-list {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.marketplace-filter-list__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .95rem 1rem;
    color: #33445b;
    border: 1px solid #e2eaf2;
    border-radius: 1rem;
    background: #fbfcfe;
    font-size: 1.38rem;
    line-height: 1.45;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.marketplace-filter-list__item:hover {
    border-color: #d1dde9;
    background: #fff;
    transform: translateY(-1px);
}

.marketplace-filter-list__item--checked {
    border-color: rgba(11, 130, 240, .24);
    background: #f4f9ff;
    box-shadow: inset 0 0 0 .1rem rgba(11, 130, 240, .03);
}

.marketplace-filter-list__input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.marketplace-filter-list__control {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.9rem;
    height: 1.9rem;
    border: 1px solid #c5d4e3;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.marketplace-filter-list__item--single .marketplace-filter-list__control {
    border-radius: 50%;
}

.marketplace-filter-list__item--multiple .marketplace-filter-list__control {
    border-radius: .55rem;
}

.marketplace-filter-list__control::after {
    content: "";
    opacity: 0;
    transition: opacity .18s ease, transform .18s ease;
}

.marketplace-filter-list__item--single .marketplace-filter-list__control::after {
    width: .75rem;
    height: .75rem;
    border-radius: 50%;
    background: #fff;
    transform: scale(.35);
}

.marketplace-filter-list__item--multiple .marketplace-filter-list__control::after {
    width: .5rem;
    height: .9rem;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg) scale(.4);
}

.marketplace-filter-list__input:focus-visible + .marketplace-filter-list__control {
    border-color: #79baf8;
    box-shadow: 0 0 0 .35rem rgba(11, 130, 240, .12);
}

.marketplace-filter-list__input:checked + .marketplace-filter-list__control {
    border-color: var(--market-primary);
    background: linear-gradient(180deg, var(--market-primary), var(--market-cyan));
    box-shadow: 0 .45rem 1.15rem rgba(11, 130, 240, .2);
}

.marketplace-filter-list__item--single .marketplace-filter-list__input:checked + .marketplace-filter-list__control::after {
    opacity: 1;
    transform: scale(1);
}

.marketplace-filter-list__item--multiple .marketplace-filter-list__input:checked + .marketplace-filter-list__control::after {
    opacity: 1;
    transform: rotate(45deg) scale(1);
}

.marketplace-filter-list__label {
    flex: 1 1 auto;
    min-width: 0;
}

.marketplace-filter-list__count {
    flex: 0 0 auto;
    color: #7f8ea2;
    font-size: 1.22rem;
    font-weight: 650;
}

.marketplace-content {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
}

.marketplace-controls-panel {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    padding: 2rem;
    border: 1px solid var(--market-border);
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 1.2rem 3.4rem rgba(21, 37, 59, .045);
}

.marketplace-search {
    position: relative;
    display: flex;
    gap: 1rem;
}

.marketplace-search__icon {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 1.7rem;
    display: flex;
    width: 2rem;
    height: 2rem;
    color: #8897aa;
    transform: translateY(-50%);
    pointer-events: none;
}

.marketplace-search__icon svg {
    width: 100%;
    height: 100%;
}

.marketplace-search__input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 5.6rem;
    padding: 1.35rem 1.6rem 1.35rem 5rem;
    color: #203047;
    border: 1px solid #dce4ed;
    border-radius: 1.35rem;
    outline: 0;
    background: #f9fbfd;
    font-size: 1.55rem;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.marketplace-search__input::placeholder {
    color: #98a5b6;
}

.marketplace-search__input:focus {
    border-color: #78bafa;
    background: #fff;
    box-shadow: 0 0 0 .4rem rgba(11, 130, 240, .09);
}

.marketplace-search__submit {
    min-width: 13rem;
    min-height: 5.6rem;
    padding: 1.2rem 2.1rem;
    color: #fff;
    border: 0;
    border-radius: 1.35rem;
    background: linear-gradient(135deg, var(--market-primary), var(--market-cyan));
    box-shadow: 0 .9rem 2.2rem rgba(11, 130, 240, .2);
    font-size: 1.48rem;
    font-weight: 720;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.marketplace-search__submit:hover {
    filter: saturate(1.08);
    box-shadow: 0 1.2rem 2.8rem rgba(11, 130, 240, .27);
    transform: translateY(-1px);
}

.marketplace-results-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 1.7rem;
    border-top: 1px solid #edf1f5;
}

.marketplace-grid__count {
    display: flex;
    align-items: baseline;
    gap: .65rem;
    margin: 0;
    color: #718095;
    font-size: 1.35rem;
}

.marketplace-grid__count-label {
    color: #8b98a9;
}

.marketplace-grid__count strong {
    color: var(--market-ink);
    font-size: 2.2rem;
    font-weight: 760;
    line-height: 1;
}

.marketplace-sort {
    display: flex;
    min-width: 25rem;
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
}

.marketplace-sort .marketplace-filters__select {
    min-height: 4.5rem;
    background-color: #fff;
}

.marketplace-grid {
    padding: 0;
}

.marketplace-grid__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--market-border, #e4eaf2);
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 1.2rem 3.5rem rgba(22, 37, 58, .045);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.product-card:hover {
    border-color: #cfe0f1;
    box-shadow: 0 2rem 5rem rgba(22, 45, 73, .11);
    transform: translateY(-.45rem);
}

.product-card__link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.product-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 689 / 420;
    background: #edf3f8;
}

.product-card__image::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 30%;
    background: linear-gradient(180deg, transparent, rgba(7, 22, 41, .08));
    pointer-events: none;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.product-card:hover .product-card__image img {
    transform: scale(1.025);
}

.product-card__no-image {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    color: #93a0b1;
    font-size: 1.4rem;
}

.product-card__no-image svg {
    width: 5rem;
    height: 5rem;
}

.product-card__badges {
    position: absolute;
    z-index: 2;
    top: 1.4rem;
    left: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.product-card .badge {
    display: inline-flex;
    align-items: center;
    min-height: 3rem;
    padding: .55rem .9rem;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: .8rem;
    box-shadow: 0 .6rem 1.8rem rgba(17, 33, 51, .12);
    font-size: 1.05rem;
    font-weight: 760;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.product-card .badge--module {
    color: #0765c5;
    background: rgba(232, 244, 255, .94);
}

.product-card .badge--template,
.product-card .badge--free {
    color: #0b845c;
    background: rgba(231, 250, 242, .94);
}

.product-card .badge--sale {
    color: #b04a0a;
    background: rgba(255, 243, 220, .95);
}

.product-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 2.2rem;
}

.product-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .7rem;
    margin: 0 0 1.35rem;
    color: #6c7a8d;
    font-size: 1.22rem;
}

.product-card__meta-chip,
.product-card__rating {
    display: inline-flex;
    align-items: center;
    min-height: 2.9rem;
    gap: .55rem;
    padding: .45rem .75rem;
    border-radius: .75rem;
    background: #f2f6fa;
    font-weight: 650;
}

.product-card__meta-chip svg {
    width: 1.55rem;
    height: 1.55rem;
    color: var(--market-primary, #0b82f0);
}

.product-card__rating {
    color: #9a6812;
    background: #fff7df;
}

.product-card__rating > span {
    color: #f1aa22;
}

.product-card__rating small {
    color: #9a7b43;
    font-size: 1.05rem;
}

.product-card__title {
    margin: 0 0 1.1rem;
    color: var(--market-ink, #142033);
    font-size: clamp(2.05rem, 1.55vw, 2.55rem);
    font-weight: 740;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.product-card__description {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 1.6rem;
    color: #5f6f84;
    font-size: 1.55rem;
    line-height: 1.62;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.product-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem 1.4rem;
    margin: auto 0 1.6rem;
    color: #8290a2;
    font-size: 1.25rem;
}

.product-card__stats span {
    position: relative;
    padding-left: 1.3rem;
}

.product-card__stats span::before {
    content: '';
    position: absolute;
    top: .65em;
    left: 0;
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: #8dc5f8;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 1.7rem;
    border-top: 1px solid #edf1f5;
}

.product-card__footer .product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: .6rem;
}

.product-card__footer .product-price__current,
.product-card__footer .product-price__free {
    color: var(--market-ink, #142033);
    font-size: 2.25rem;
    font-weight: 780;
    line-height: 1;
}

.product-card__footer .product-price__free {
    color: #129066;
}

.product-card__footer .product-price__current--sale {
    color: #e54b51;
}

.product-card__footer .product-price__old {
    color: #9aa6b5;
    font-size: 1.35rem;
}

.product-card__more {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: .65rem;
    color: var(--market-primary, #0b82f0);
    font-size: 1.35rem;
    font-weight: 720;
}

.product-card__more svg {
    width: 1.8rem;
    height: 1.8rem;
    transition: transform .2s ease;
}

.product-card:hover .product-card__more svg {
    transform: translateX(.35rem);
}

.marketplace-grid__items--single {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.marketplace-pagination {
    margin-top: 3rem;
}

.marketplace-pagination .pagination {
    gap: .6rem;
}

.marketplace-pagination .page-item a,
.marketplace-pagination .page-item span {
    display: flex;
    min-width: 4.2rem;
    min-height: 4.2rem;
    align-items: center;
    justify-content: center;
    padding: .8rem 1.2rem;
    color: #45546a;
    border: 1px solid #dfe6ee;
    border-radius: 1rem;
    background: #fff;
    font-size: 1.35rem;
}

.marketplace-pagination .page-item.active span {
    color: #fff;
    border-color: var(--market-primary);
    background: var(--market-primary);
}

.marketplace-catalog .empty-state {
    padding: 7rem 2rem;
    border: 1px solid var(--market-border);
    border-radius: 2rem;
    background: #fff;
    box-shadow: 0 1.2rem 3.4rem rgba(21, 37, 59, .045);
}

.marketplace-catalog .empty-state__title {
    color: var(--market-ink);
    font-size: 2.6rem;
}

.marketplace-catalog .empty-state__description {
    color: var(--market-muted);
    font-size: 1.5rem;
}

@media (max-width: 1240px) {
    .marketplace-home-hero__grid {
        grid-template-columns: minmax(0, 1fr) 38rem;
        gap: 4rem;
    }

    .marketplace-home-hero__advantages {
        grid-template-columns: 1fr;
        max-width: 52rem;
    }

    .marketplace-home-hero__visual {
        min-height: 36rem;
    }

    .marketplace-catalog__layout {
        grid-template-columns: 28rem minmax(0, 1fr);
    }
}

@media (max-width: 980px) {
    .marketplace-home-hero {
        padding-bottom: 4.4rem;
    }

    .marketplace-home-hero__grid {
        grid-template-columns: 1fr;
    }

    .marketplace-home-hero__content {
        max-width: none;
    }

    .marketplace-home-hero__advantages {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: none;
    }

    .marketplace-home-hero__visual {
        display: none;
    }

    .marketplace-category-panel {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.5rem;
    }

    .marketplace-category-panel__intro {
        width: 100%;
        padding: 0 0 1.4rem;
        border-right: 0;
        border-bottom: 1px solid #e8edf3;
    }

    .marketplace-catalog__layout {
        grid-template-columns: 1fr;
    }

    .marketplace-sidebar {
        position: static;
    }

    .marketplace-filters {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .marketplace-filters__group--price {
        grid-column: 1 / -1;
    }

}

@media (max-width: 720px) {
    .marketplace-home-hero {
        padding: 2rem 0 3.6rem;
    }

    .marketplace-home-hero__breadcrumbs {
        margin-bottom: 2.8rem;
        font-size: 1.2rem;
    }

    .marketplace-home-hero h1 {
        font-size: clamp(4.2rem, 14vw, 6.5rem);
        line-height: 1.02;
    }

    .marketplace-home-hero__description {
        margin-top: 1.8rem;
        font-size: 1.55rem;
    }

    .marketplace-home-hero__advantages {
        grid-template-columns: 1fr;
        margin-top: 2.6rem;
    }

    .marketplace-home-hero__advantage small {
        font-size: 1.2rem;
    }

    .marketplace-catalog {
        padding: 2.4rem 0 5rem;
    }

    .marketplace-category-panel,
    .marketplace-filter-card,
    .marketplace-controls-panel {
        border-radius: 1.6rem;
    }

    .marketplace-category-panel {
        padding: 1.5rem;
    }

    .marketplace-category-pills {
        width: calc(100% + 1.5rem);
        margin-right: -1.5rem;
        padding-right: 1.5rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .marketplace-category-pill {
        flex: 0 0 auto;
        min-height: 4rem;
        padding: .8rem 1.35rem;
        font-size: 1.35rem;
    }

    .marketplace-filter-card,
    .marketplace-controls-panel {
        padding: 1.6rem;
    }

    .marketplace-filters {
        grid-template-columns: 1fr;
    }

    .marketplace-filters__group--price {
        grid-column: auto;
    }

    .marketplace-search {
        flex-direction: column;
    }

    .marketplace-search__icon {
        top: 2.8rem;
    }

    .marketplace-search__submit {
        width: 100%;
    }

    .marketplace-results-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .marketplace-sort {
        width: 100%;
        min-width: 0;
    }

    .marketplace-grid__items--single .product-card__link {
        display: flex;
    }

    .marketplace-grid__items--single .product-card__image {
        min-height: 0;
        aspect-ratio: 689 / 420;
    }

    .marketplace-grid__items--single .product-card__body {
        padding: 2rem;
    }

    .marketplace-grid__items--single .product-card__title {
        font-size: 2.35rem;
    }

    .product-card {
        border-radius: 1.6rem;
    }
}

@media (max-width: 480px) {
    .marketplace-grid__items,
    .marketplace-grid__items--single {
        grid-template-columns: 1fr;
    }

    .product-card__body {
        padding: 1.8rem;
    }

    .product-card__title {
        font-size: 2.1rem;
    }

    .product-card__description,
    .marketplace-grid__items--single .product-card__description {
        font-size: 1.48rem;
    }

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

/* =========================================================
   Product gallery v3 — thumbnails below the main image
   Six thumbnails per row on desktop, with separate navigation
   ========================================================= */
.product-detail .product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    width: 100%;
    min-width: 0;
}

.product-detail .product-gallery__main {
    order: 0;
    width: 100%;
    flex: none;
}

.product-detail .product-gallery__thumbs-row {
    order: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    min-width: 0;
}

.product-detail .product-gallery__thumbs {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: auto;
    max-height: none;
    overflow: hidden;
}

.product-detail .product-gallery__thumbs .swiper-wrapper {
    flex-direction: row;
    align-items: stretch;
}

.product-detail .product-gallery__thumb {
    width: auto;
    height: 7.2rem;
    box-sizing: border-box;
    border: 2px solid transparent;
    border-radius: 1.2rem;
    background: #f5f8fc;
    opacity: .76;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .2s ease, opacity .2s ease, transform .2s ease, box-shadow .2s ease;
}

.product-detail .product-gallery__thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 .7rem 1.8rem rgba(22, 42, 70, .1);
}

.product-detail .product-gallery__thumb.product-gallery__thumb--active,
.product-detail .product-gallery__thumb.swiper-slide-thumb-active {
    border-color: var(--product-primary, #1686f4);
    opacity: 1;
    box-shadow: 0 0 0 .25rem rgba(22, 134, 244, .1);
}

.product-detail .product-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    padding: .35rem;
    object-fit: contain;
    box-sizing: border-box;
    background: #fff;
}

@media (max-width: 768px) {
    .product-detail .product-gallery {
        gap: 1rem;
    }

    .product-detail .product-gallery__thumbs-row {
        gap: .65rem;
    }

    .product-detail .product-gallery__thumb {
        height: 6rem;
        border-radius: .9rem;
    }

}

@media (max-width: 480px) {
    .product-detail .product-gallery__thumbs-row {
        gap: .5rem;
    }

    .product-detail .product-gallery__thumb {
        height: 5.2rem;
    }

}

/* Checkout */
.checkout-alert-stack {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.checkout-alert {
    padding: 1.15rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 1.2rem;
    font-size: 1.4rem;
    line-height: 1.5;
}
.checkout-alert--success {
    color: #14532d;
    background: #ecfdf3;
    border-color: #bbf7d0;
}
.checkout-alert--error {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}
.checkout-alert--warning {
    color: #92400e;
    background: #fff7ed;
    border-color: #fed7aa;
}
.checkout-alert__title {
    margin-bottom: .45rem;
    font-weight: 750;
}
.checkout-alert__list {
    margin: 0;
    padding-left: 1.5rem;
}
.checkout-page {
    padding: 1.5rem 0 3.5rem;
}
.checkout-page__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.checkout-page__eyebrow,
.checkout-success__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: .6rem;
    padding: .3rem .65rem;
    color: #0b82f0;
    border-radius: 999px;
    background: rgba(11, 130, 240, .1);
    font-size: 1.1rem;
    font-weight: 750;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.checkout-page__title,
.checkout-success__title {
    margin: 0;
    color: var(--product-ink, #1d2939);
    font-size: 3rem;
    line-height: 1.05;
}
.checkout-page__lead,
.checkout-success__lead {
    margin: .65rem 0 0;
    color: #667085;
    font-size: 1.35rem;
    line-height: 1.5;
}
.checkout-page__back-link {
    flex-shrink: 0;
    min-height: 4.4rem;
}
.checkout-page .btn--outline,
.checkout-success .btn--outline {
    color: var(--product-primary, #0b82f0);
    background: #fff;
    border: 1px solid rgba(8, 124, 240, .22);
    box-shadow: 0 .8rem 2rem rgba(15, 23, 42, .06);
}
.checkout-page .btn--outline:hover,
.checkout-success .btn--outline:hover {
    color: var(--product-primary-dark, #0768c7);
    background: #f5fbff;
}
.checkout-page__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(30rem, 40rem);
    gap: 1.5rem;
    align-items: start;
}
.checkout-page__main,
.checkout-page__sidebar {
    min-width: 0;
}
.checkout-page__main {
    display: grid;
    gap: 1.15rem;
}
.checkout-card,
.checkout-success__card {
    padding: 1.55rem;
    border: 1px solid #dbe7f3;
    border-radius: 1.55rem;
    background: #fff;
    box-shadow: 0 1.2rem 2.8rem rgba(15, 23, 42, .055);
}
.checkout-card__header {
    margin-bottom: 1rem;
}
.checkout-card__header h2 {
    margin: 0;
    color: var(--product-ink, #1d2939);
    font-size: 1.8rem;
    line-height: 1.15;
}
.checkout-card__header p {
    margin: .45rem 0 0;
    color: #667085;
    font-size: 1.25rem;
    line-height: 1.45;
}
.checkout-fields {
    display: grid;
    gap: .85rem;
}
.checkout-field__label {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .4rem;
    color: #344054;
    font-size: 1.3rem;
    font-weight: 650;
}
.checkout-field__required {
    color: #dc2626;
}
.checkout-field__input {
    width: 100%;
    min-height: 4.5rem;
    padding: .8rem 1.05rem;
    color: #101828;
    border: 1px solid #d0d9e5;
    border-radius: 1rem;
    background: #fff;
    font-size: 1.4rem;
    line-height: 1.4;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.checkout-field__input:focus {
    border-color: rgba(11, 130, 240, .65);
    box-shadow: 0 0 0 .3rem rgba(11, 130, 240, .12);
    outline: 0;
}
.checkout-field__input[readonly] {
    color: #475467;
    background: #f8fafc;
}
.checkout-field__textarea {
    min-height: 10.5rem;
    resize: vertical;
}
.checkout-field--invalid .checkout-field__input,
.checkout-field__input--invalid {
    border-color: rgba(220, 38, 38, .55);
    box-shadow: 0 0 0 .2rem rgba(220, 38, 38, .08);
}
.checkout-field__error {
    margin-top: .35rem;
    color: #c1121f;
    font-size: 1.15rem;
    line-height: 1.35;
}
.checkout-field__error:empty {
    display: none;
}
.checkout-field__error--agreement {
    margin: .3rem 0 0 2.7rem;
}
.checkout-product {
    display: grid;
    gap: 1.15rem;
    align-items: start;
}
.checkout-product--with-image {
    grid-template-columns: 9rem minmax(0, 1fr);
}
.checkout-product--no-image {
    grid-template-columns: minmax(0, 1fr);
}
.checkout-product__image-wrap {
    overflow: hidden;
    border: 1px solid #e6edf5;
    border-radius: 1rem;
    background: #f7fafc;
}
.checkout-product__image {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
.checkout-product__content {
    min-width: 0;
}
.checkout-product__title {
    margin: 0 0 .45rem;
    color: var(--product-ink, #1d2939);
    font-size: 1.7rem;
    line-height: 1.25;
}
.checkout-product__description {
    margin: 0 0 .75rem;
    color: #667085;
    font-size: 1.25rem;
    line-height: 1.5;
}
.checkout-product__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #475467;
    font-size: 1.25rem;
}
.checkout-product__meta strong {
    color: var(--product-ink, #1d2939);
    font-size: 1.35rem;
}
.checkout-product__selection-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: end;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, .24);
}
.checkout-product__selection-row--quantity-only {
    grid-template-columns: auto;
    justify-content: end;
}
.checkout-product__section {
    min-width: 0;
}
.checkout-product__section-title {
    margin-bottom: .55rem;
    color: #334155;
    font-size: 1.25rem;
    font-weight: 700;
}
.checkout-product__section-note {
    margin-top: .25rem;
    max-width: 18rem;
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.35;
}
.checkout-product__section--quantity {
    display: flex;
    align-items: flex-end;
    gap: .8rem;
}
.checkout-options {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
}
.checkout-options__group {
    min-width: 0;
}
.checkout-options__group-title {
    margin-bottom: .4rem;
    color: #344054;
    font-size: 1.2rem;
    font-weight: 700;
}
.checkout-options__list {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.checkout-options__item,
.checkout-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .9rem;
}
.checkout-options__item {
    min-width: 0;
    padding: .7rem .85rem;
    color: #344054;
    border: 1px solid #e5edf5;
    border-radius: .9rem;
    background: #f8fbff;
    font-size: 1.25rem;
}
.checkout-options__item strong {
    flex: 0 0 auto;
    color: var(--product-ink, #1d2939);
}
.checkout-quantity-wrap {
    flex: 0 0 auto;
}
.checkout-quantity-stepper {
    display: grid;
    grid-template-columns: 6rem 3.2rem;
    min-height: 4.8rem;
    overflow: hidden;
    border: 1px solid #dbe3ee;
    border-radius: 1rem;
    background: #fff;
}
.checkout-quantity-stepper__input {
    width: 6rem;
    min-width: 0;
    height: 4.8rem;
    padding: 0 .7rem;
    border: 0;
    background: transparent;
    color: #0f172a;
    text-align: center;
    font-family: inherit;
    font-size: 1.7rem;
    line-height: 1;
    font-weight: 750;
    outline: none;
    appearance: textfield;
    -moz-appearance: textfield;
}
.checkout-quantity-stepper__actions {
    display: grid;
    grid-template-rows: 1fr 1fr;
    border-left: 1px solid #dbe3ee;
}
.checkout-quantity-stepper__button {
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0f172a;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.8rem;
    line-height: 1;
    transition: background-color .15s ease, color .15s ease;
}
.checkout-quantity-stepper__button + .checkout-quantity-stepper__button {
    border-top: 1px solid #dbe3ee;
}
.checkout-quantity-stepper__button:hover:not(:disabled) {
    background: #f3f7fb;
    color: #087cf0;
}
.checkout-quantity-stepper__button:disabled {
    cursor: not-allowed;
    color: #cbd5e1;
    background: #f8fafc;
}
.checkout-quantity-stepper__input::-webkit-inner-spin-button,
.checkout-quantity-stepper__input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}
.checkout-empty {
    padding: .8rem .95rem;
    color: #667085;
    border: 1px dashed #d5dee9;
    border-radius: .9rem;
    background: #fafcff;
    font-size: 1.25rem;
}
.checkout-agreements {
    display: grid;
    gap: .65rem;
}
.checkout-agreement {
    display: grid;
    grid-template-columns: 1.8rem minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
    padding: .75rem .85rem;
    border: 1px solid #dbe5ef;
    border-radius: 1rem;
    background: #fff;
}
.checkout-agreement--invalid {
    border-color: rgba(220, 38, 38, .35);
    background: rgba(254, 242, 242, .45);
}
.checkout-agreement input {
    width: 1.6rem;
    height: 1.6rem;
    margin-top: .15rem;
    accent-color: #0b82f0;
}
.checkout-agreement__text {
    min-width: 0;
    color: #344054;
    font-size: 1.2rem;
    line-height: 1.4;
}
.checkout-agreement__text a {
    color: #0b82f0;
    text-decoration: none;
    font-weight: 650;
}
.checkout-agreement__text a:hover {
    text-decoration: underline;
}
.checkout-summary {
    position: sticky;
    top: 2rem;
    padding: 1.35rem;
}
.checkout-summary__header {
    margin-bottom: .55rem;
}
.checkout-summary__rows {
    display: grid;
    gap: 0;
    margin-bottom: .85rem;
}
.checkout-summary__row {
    min-width: 0;
    padding: .72rem 0;
    color: #475467;
    border-bottom: 1px solid #edf2f7;
    font-size: 1.25rem;
}
.checkout-summary__row-label {
    min-width: 0;
    padding-right: .6rem;
    overflow-wrap: anywhere;
}
.checkout-summary__row strong {
    flex: 0 0 auto;
    color: var(--product-ink, #1d2939);
    font-size: 1.35rem;
}
.checkout-summary__row--option .checkout-summary__row-label {
    color: #344054;
    font-weight: 650;
}
.checkout-summary__row--total {
    padding-top: .9rem;
    color: var(--product-ink, #1d2939);
    border-bottom: 0;
    font-size: 1.4rem;
    font-weight: 700;
}
.checkout-summary__row--total strong {
    font-size: 1.8rem;
    font-weight: 800;
}
.checkout-payment-methods {
    margin-top: .9rem;
    padding-top: .9rem;
    border-top: 1px solid rgba(148, 163, 184, .24);
}
.checkout-payment-methods__title {
    margin-bottom: .6rem;
    color: #334155;
    font-size: 1.25rem;
    font-weight: 700;
}
.checkout-payment-method {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .8rem .9rem;
    margin-bottom: .55rem;
    border: 1px solid #dbe3ee;
    border-radius: 1rem;
    cursor: pointer;
    background: #fff;
}
.checkout-payment-method:has(input:checked) {
    border-color: #94a3ff;
    background: #f7f7ff;
}
.checkout-payment-method input {
    margin-top: .2rem;
    accent-color: #4f46e5;
}
.checkout-payment-method__body {
    display: grid;
    gap: .2rem;
    min-width: 0;
}
.checkout-payment-method__body strong {
    color: #111827;
    font-size: 1.25rem;
}
.checkout-payment-method__body span,
.checkout-payment-method__body small,
.checkout-payment-methods__empty {
    color: #6b7280;
    font-size: 1.1rem;
    line-height: 1.35;
}
.checkout-payment-method__body small {
    color: #b45309;
    font-weight: 700;
}
.checkout-payment-method--invalid {
    border-color: #ef4444;
}
.checkout-summary__agreements {
    display: grid;
    gap: .6rem;
    margin-top: .9rem;
    margin-bottom: 1rem;
    padding-top: .9rem;
    border-top: 1px solid rgba(148, 163, 184, .24);
}
.checkout-summary__agreement-wrap {
    min-width: 0;
}
.checkout-agreement--summary {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin: 0;
    padding: .7rem .75rem;
    cursor: pointer;
}
.checkout-agreement--summary input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1.6rem;
    height: 1.6rem;
    margin: .1rem 0 0;
    accent-color: #087cf0;
}
.checkout-agreement--summary .checkout-agreement__text {
    display: block;
    min-width: 0;
    color: #64748b;
    font-size: 1.15rem;
    line-height: 1.35;
}
.checkout-agreement--summary .checkout-agreement__text strong {
    margin-left: .15rem;
    color: #dc2626;
}
.checkout-summary__agreement-wrap .checkout-field__error {
    margin-top: .25rem;
}
.checkout-summary__submit {
    width: 100%;
    min-height: 4.6rem;
    border-radius: 1.1rem;
    font-size: 1.4rem;
    font-weight: 800;
}
.checkout-success {
    padding: 2rem 0 5rem;
}
.checkout-success__card {
    max-width: 78rem;
    margin: 0 auto;
    text-align: center;
}
.checkout-success__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}
.checkout-success__item {
    padding: 1.4rem;
    border: 1px solid #e2eaf3;
    border-radius: 1.3rem;
    background: #f8fbff;
}
.checkout-success__item span {
    display: block;
    margin-bottom: .45rem;
    color: #667085;
    font-size: 1.2rem;
}
.checkout-success__item strong {
    color: var(--product-ink, #1d2939);
    font-size: 1.55rem;
}
.checkout-success__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.marketplace-catalog--loading .marketplace-category-panel,
.marketplace-catalog--loading .marketplace-sidebar,
.marketplace-catalog--loading .marketplace-content {
    opacity: .62;
    pointer-events: none;
    transition: opacity .2s ease;
}
@media (max-width: 1024px) {
    .checkout-page__layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }
}
@media (max-width: 768px) {
    .checkout-page__heading {
        flex-direction: column;
    }

    .checkout-page__title,
    .checkout-success__title {
        font-size: 2.6rem;
    }

    .checkout-card,
    .checkout-success__card {
        padding: 1.5rem;
        border-radius: 1.4rem;
    }

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

    .checkout-product__image-wrap {
        max-width: 18rem;
    }

    .checkout-product__selection-row,
    .checkout-product__selection-row--quantity-only {
        grid-template-columns: 1fr;
        justify-content: stretch;
        align-items: stretch;
    }

    .checkout-product__section--quantity {
        justify-content: space-between;
    }

    .checkout-success__grid {
        grid-template-columns: 1fr;
    }
}

/* Checkout success — friendly full-width layout */
.checkout-success__card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2rem;
    text-align: left;
}
.checkout-success__hero {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.8rem 2rem;
    border: 1px solid #dbe7f3;
    border-radius: 1.45rem;
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}
.checkout-success__hero-icon {
    display: grid;
    place-items: center;
    flex: 0 0 5.6rem;
    width: 5.6rem;
    height: 5.6rem;
    border-radius: 50%;
    color: #087cf0;
    background: #eaf5ff;
}
.checkout-success__hero-icon svg {
    width: 2.8rem;
    height: 2.8rem;
}
.checkout-success__hero--success .checkout-success__hero-icon {
    color: #119b68;
    background: #e8f8f1;
}
.checkout-success__hero--waiting .checkout-success__hero-icon {
    color: #c97800;
    background: #fff5de;
}
.checkout-success__hero-copy {
    min-width: 0;
}
.checkout-success__hero .checkout-success__eyebrow {
    margin-bottom: .55rem;
}
.checkout-success__hero .checkout-success__lead {
    max-width: 88rem;
}
.checkout-success__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(30rem, .75fr);
    gap: 1.4rem;
    margin-top: 1.4rem;
    align-items: start;
}
.checkout-success__main {
    display: grid;
    gap: 1.2rem;
    min-width: 0;
}
.checkout-success__panel,
.checkout-success__summary,
.checkout-success__help,
.checkout-success__notice {
    border: 1px solid #dbe7f3;
    border-radius: 1.4rem;
    background: #fff;
}
.checkout-success__panel {
    padding: 1.7rem;
}
.checkout-success__panel--license {
    border-color: #bde8d5;
    background: linear-gradient(135deg, #f3fcf8 0%, #ffffff 70%);
}
.checkout-success__panel--waiting {
    border-color: #f4d79b;
    background: linear-gradient(135deg, #fffaf0 0%, #ffffff 75%);
}
.checkout-success__panel--info {
    border-color: #cfe4fb;
    background: linear-gradient(135deg, #f3f9ff 0%, #ffffff 75%);
}
.checkout-success__panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
}
.checkout-success__panel-heading h2 {
    margin: .25rem 0 0;
    color: var(--product-ink, #1d2939);
    font-size: 2rem;
    line-height: 1.15;
}
.checkout-success__panel-kicker {
    color: #667085;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.checkout-success__variant-badge {
    flex: 0 0 auto;
    padding: .45rem .7rem;
    border-radius: 999px;
    color: #087cf0;
    background: #eaf5ff;
    font-size: 1.1rem;
    font-weight: 700;
}
.checkout-success__panel-text,
.checkout-success__panel-note {
    margin: 0;
    color: #526074;
    font-size: 1.3rem;
    line-height: 1.55;
}
.checkout-success__payment-instructions {
    margin-top: 1.2rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid rgba(201, 120, 0, .2);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, .75);
}
.checkout-success__payment-instructions > span {
    display: block;
    margin-bottom: .5rem;
    color: #8a5a00;
    font-size: 1.1rem;
    font-weight: 750;
    text-transform: uppercase;
}
.checkout-success__payment-instructions > div {
    color: #59441c;
    font-size: 1.3rem;
    line-height: 1.6;
    white-space: pre-line;
}
.checkout-success__license-list {
    display: grid;
    gap: .8rem;
}
.checkout-success__license-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid #dcebe4;
    border-radius: 1rem;
    background: #fff;
}
.checkout-success__license-copy {
    min-width: 0;
}
.checkout-success__license-copy span {
    display: block;
    margin-bottom: .25rem;
    color: #667085;
    font-size: 1.05rem;
}
.checkout-success__license-copy strong {
    display: block;
    color: #142033;
    font-family: Consolas, Monaco, monospace;
    font-size: 1.6rem;
    line-height: 1.3;
    word-break: break-all;
}
.checkout-success__copy-btn {
    flex: 0 0 auto;
    min-height: 3.8rem;
    padding: .7rem 1rem;
    border: 1px solid #bde8d5;
    border-radius: .9rem;
    color: #087a52;
    background: #f4fcf8;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
}
.checkout-success__copy-btn:hover {
    background: #eaf9f2;
}
.checkout-success__download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    margin-top: 1rem;
    padding: 1.1rem 1.2rem;
    border: 1px solid #cfe4ff;
    border-radius: 1rem;
    background: #f4f9ff;
}
.checkout-success__download > div {
    min-width: 0;
}
.checkout-success__download strong,
.checkout-success__download span {
    display: block;
}
.checkout-success__download strong {
    color: #172033;
    font-size: 1.3rem;
    line-height: 1.35;
}
.checkout-success__download span {
    margin-top: .25rem;
    color: #667085;
    font-size: 1.1rem;
    line-height: 1.45;
}
.checkout-success__download .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}
.checkout-success__panel-note {
    margin-top: 1rem;
}
.checkout-success__summary {
    overflow: hidden;
}
.checkout-success__summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.45rem;
    border-bottom: 1px solid #e6edf5;
}
.checkout-success__summary-head span {
    color: #3f4b5e;
    font-size: 1.4rem;
    font-weight: 750;
}
.checkout-success__summary-head strong {
    color: #162033;
    font-size: 2.1rem;
}
.checkout-success__product {
    display: grid;
    gap: .35rem;
    padding: 1.35rem 1.45rem;
    border-bottom: 1px solid #edf2f7;
}
.checkout-success__product strong {
    color: #1d2939;
    font-size: 1.35rem;
    line-height: 1.4;
}
.checkout-success__product span {
    color: #667085;
    font-size: 1.15rem;
}
.checkout-success__summary-options,
.checkout-success__summary-list {
    padding: .85rem 1.45rem;
}
.checkout-success__summary-options {
    border-bottom: 1px solid #edf2f7;
}
.checkout-success__summary-options > div,
.checkout-success__summary-list > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: .55rem 0;
}
.checkout-success__summary-options span,
.checkout-success__summary-list span {
    color: #667085;
    font-size: 1.15rem;
}
.checkout-success__summary-options strong,
.checkout-success__summary-list strong {
    color: #263448;
    font-size: 1.15rem;
    text-align: right;
    word-break: break-word;
}
.checkout-success__help {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem 1.35rem;
    background: #f8fbff;
}
.checkout-success__help-icon {
    display: grid;
    place-items: center;
    flex: 0 0 3.4rem;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    color: #087cf0;
    background: #eaf5ff;
    font-size: 1.4rem;
    font-weight: 800;
}
.checkout-success__help strong,
.checkout-success__help span {
    display: block;
}
.checkout-success__help strong {
    margin-bottom: .25rem;
    color: #263448;
    font-size: 1.25rem;
}
.checkout-success__help span {
    color: #667085;
    font-size: 1.15rem;
    line-height: 1.45;
}
.checkout-success__notice {
    display: grid;
    gap: .25rem;
    margin-top: 1.2rem;
    padding: 1.15rem 1.3rem;
}
.checkout-success__notice--error {
    color: #8f1d1d;
    border-color: #fecaca;
    background: #fff6f6;
}
.checkout-success__notice strong {
    font-size: 1.25rem;
}
.checkout-success__notice span {
    font-size: 1.15rem;
    line-height: 1.45;
}
.checkout-success__actions {
    justify-content: flex-start;
    margin-top: 1.5rem;
}
.checkout-success__actions .btn {
    min-height: 4.4rem;
}
@media (max-width: 1024px) {
    .checkout-success__layout {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .checkout-success__card {
        padding: 1.25rem;
    }
    .checkout-success__hero {
        align-items: flex-start;
        padding: 1.4rem;
    }
    .checkout-success__hero-icon {
        flex-basis: 4.5rem;
        width: 4.5rem;
        height: 4.5rem;
    }
    .checkout-success__hero-icon svg {
        width: 2.3rem;
        height: 2.3rem;
    }
    .checkout-success__panel-heading,
    .checkout-success__license-row {
        align-items: stretch;
        flex-direction: column;
    }
    .checkout-success__variant-badge,
    .checkout-success__copy-btn {
        align-self: flex-start;
    }
    .checkout-success__actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .checkout-success__actions .btn {
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .checkout-success {
        padding-top: 1rem;
    }
    .checkout-success__card {
        padding: 1rem;
        border-radius: 1.2rem;
    }
    .checkout-success__hero {
        gap: 1rem;
    }
    .checkout-success__hero-icon {
        flex-basis: 4rem;
        width: 4rem;
        height: 4rem;
    }
    .checkout-success__panel,
    .checkout-success__summary-head,
    .checkout-success__product,
    .checkout-success__summary-options,
    .checkout-success__summary-list {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }
}

@media (max-width: 620px) {
    .checkout-success__download {
        align-items: stretch;
        flex-direction: column;
    }

    .checkout-success__download .btn {
        width: 100%;
        text-align: center;
    }
}
