:root {
    --st-bg: #f5f5f5;
    --st-surface: #ffffff;
    --st-surface-2: #fcf7fd;
    --st-border: #ead7ee;
    --st-text: #161218;
    --st-soft: #736779;
    --st-primary: #bf52c8;
    --st-primary-dark: #a53daf;
    --st-primary-soft: #f8e8fa;
    --st-success: #00dd1c;
    --st-success-soft: #e8ffec;
    --st-radius: 22px;
    --st-radius-sm: 16px;
    --st-shadow: 0 18px 45px rgba(111, 28, 122, 0.1);
    --st-shadow-soft: 0 10px 28px rgba(111, 28, 122, 0.08);
}

* {
    box-sizing: border-box;
}
html,
body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    background:
        radial-gradient(
            circle at top left,
            rgba(191, 82, 200, 0.08),
            transparent 26%
        ),
        radial-gradient(
            circle at top right,
            rgba(0, 221, 28, 0.06),
            transparent 18%
        ),
        var(--st-bg);
    color: var(--st-text);
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}
button,
input,
select,
textarea {
    font: inherit;
}

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

.st-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    background: rgba(245, 245, 245, 0.88);
    border-bottom: 1px solid rgba(191, 82, 200, 0.14);
}
.st-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    min-height: 82px;
}
.st-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.st-brand__icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--st-primary), #d67bdd);
    color: #fff;
    box-shadow: var(--st-shadow-soft);
    font-size: 20px;
}
.st-brand__text {
    display: grid;
    gap: 2px;
}
.st-brand__text strong {
    font-size: 18px;
    line-height: 1;
}
.st-brand__text small {
    color: var(--st-soft);
    font-size: 12px;
    font-weight: 600;
}

.st-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.st-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 700;
    color: var(--st-soft);
    transition: 0.22s ease;
}
.st-nav a:hover,
.st-nav a.is-active {
    color: var(--st-primary);
    background: var(--st-primary-soft);
}

.st-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.st-mini-cart {
    position: relative;
}
.st-mini-cart__trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(191, 82, 200, 0.18);
    box-shadow: var(--st-shadow-soft);
    font-weight: 800;
    color: var(--st-text);
    transition: 0.22s ease;
}
.st-mini-cart__trigger:hover {
    transform: translateY(-1px);
    border-color: rgba(191, 82, 200, 0.3);
}
.st-mini-cart__trigger i {
    color: var(--st-primary);
}
.st-mini-cart__badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--st-success);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0, 221, 28, 0.28);
}
.st-mini-cart__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 320px;
    background: #fff;
    border: 1px solid rgba(191, 82, 200, 0.18);
    border-radius: 20px;
    box-shadow: var(--st-shadow);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 0.22s ease;
}
.st-mini-cart:hover .st-mini-cart__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.st-mini-cart__dropdown-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--st-border);
}
.st-mini-cart__dropdown-head strong {
    font-size: 16px;
}
.st-mini-cart__dropdown-head span {
    color: var(--st-soft);
    font-size: 13px;
    font-weight: 700;
}
.st-mini-cart__dropdown-body {
    padding: 14px 0;
    color: var(--st-soft);
    line-height: 1.6;
    font-size: 14px;
}
.st-mini-cart__dropdown-foot {
    padding-top: 10px;
    border-top: 1px solid var(--st-border);
}

.st-main {
    padding: 30px 0 60px;
}

.st-footer {
    margin-top: 50px;
    border-top: 1px solid rgba(191, 82, 200, 0.14);
    background: rgba(255, 255, 255, 0.72);
}
.st-footer__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--st-soft);
    font-size: 14px;
}

.st-section {
    margin-bottom: 26px;
}
.st-section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 16px;
}
.st-section__head h2 {
    margin: 0 0 6px;
    font-size: 26px;
    line-height: 1.1;
}
.st-section__head p {
    margin: 0;
    color: var(--st-soft);
}

.st-hero {
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1.5fr 0.7fr;
    gap: 20px;
    align-items: stretch;
}
.st-hero__content,
.st-hero__card {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.96),
        rgba(252, 247, 253, 0.96)
    );
    border: 1px solid rgba(191, 82, 200, 0.16);
    border-radius: 28px;
    box-shadow: var(--st-shadow);
}
.st-hero__content {
    padding: 34px;
}
.st-hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.st-hero__eyebrow span {
    width: 40px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--st-primary), var(--st-success));
}
.st-hero__eyebrow small {
    color: var(--st-primary);
    letter-spacing: 0.08em;
    font-weight: 800;
}
.st-hero h1 {
    margin: 0 0 12px;
    font-size: 44px;
    line-height: 1.05;
    letter-spacing: -0.03em;
}
.st-hero p {
    margin: 0;
    color: var(--st-soft);
    font-size: 16px;
    line-height: 1.7;
    max-width: 760px;
}
.st-hero__card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px;
}
.st-hero__metric {
    padding: 18px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--st-border);
}
.st-hero__metric strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    margin-bottom: 8px;
}
.st-hero__metric span {
    color: var(--st-soft);
    font-weight: 700;
}

.st-categories {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.st-category-card {
    display: block;
    background: #fff;
    border: 1px solid rgba(191, 82, 200, 0.14);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--st-shadow-soft);
    transition: 0.25s ease;
}
.st-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--st-shadow);
}
.st-category-card.is-active {
    border-color: rgba(191, 82, 200, 0.45);
    box-shadow: 0 18px 45px rgba(191, 82, 200, 0.16);
}
.st-category-card__image {
    aspect-ratio: 1.6 / 1;
    background: #f3eef5;
    overflow: hidden;
}
.st-category-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.st-category-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-primary);
    font-size: 30px;
    background: linear-gradient(
        180deg,
        rgba(191, 82, 200, 0.1),
        rgba(0, 221, 28, 0.06)
    );
}
.st-category-card__body {
    display: grid;
    gap: 6px;
    padding: 16px 18px 18px;
}
.st-category-card__body strong {
    font-size: 17px;
    line-height: 1.2;
}
.st-category-card__body span {
    color: var(--st-soft);
    font-size: 13px;
    font-weight: 700;
}

.st-filters {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.96),
        rgba(252, 247, 253, 0.96)
    );
    border: 1px solid rgba(191, 82, 200, 0.16);
    border-radius: 24px;
    padding: 18px;
    box-shadow: var(--st-shadow);
    margin-bottom: 24px;
}
.st-filters__form {
    display: grid;
    grid-template-columns: 1.4fr 260px 220px;
    gap: 14px;
}
.st-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--st-soft);
    font-weight: 800;
}
.st-field input,
.st-field select {
    width: 100%;
    height: 50px;
    border: 1px solid var(--st-border);
    border-radius: 16px;
    padding: 0 15px;
    background: #fff;
    color: var(--st-text);
    transition: 0.2s ease;
}
.st-field input:focus,
.st-field select:focus,
.st-input:focus,
.st-textarea:focus {
    outline: none;
    border-color: rgba(191, 82, 200, 0.5);
    box-shadow: 0 0 0 4px rgba(191, 82, 200, 0.1);
}
.st-field--actions {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}

.st-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
    border: none;
    font-weight: 800;
    cursor: pointer;
    transition: 0.22s ease;
}
.st-btn:hover {
    transform: translateY(-1px);
}
.st-btn--primary {
    background: linear-gradient(
        135deg,
        var(--st-primary),
        var(--st-primary-dark)
    );
    color: #fff;
    box-shadow: 0 14px 28px rgba(191, 82, 200, 0.25);
}
.st-btn--soft {
    background: #efe7f1;
    color: var(--st-text);
}
.st-btn--danger {
    background: #dc2626;
    color: #fff;
}
.st-btn--full {
    width: 100%;
}

.st-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}
.st-card {
    background: var(--st-surface);
    border: 1px solid rgba(191, 82, 200, 0.14);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--st-shadow-soft);
}
.st-card__image {
    aspect-ratio: 1 / 1;
    background: #f3eef5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.st-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.st-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #b99abd;
    font-size: 28px;
}
.st-card__placeholder--large {
    min-height: 480px;
}
.st-card__body {
    padding: 18px;
}
.st-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    color: var(--st-soft);
    margin-bottom: 12px;
}
.st-badge {
    background: var(--st-primary-soft);
    color: var(--st-primary);
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
}
.st-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.3;
}
.st-card p {
    margin: 0 0 15px;
    color: var(--st-soft);
    font-size: 14px;
    line-height: 1.6;
}
.st-card__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.st-price {
    font-size: 20px;
    font-weight: 900;
    color: var(--st-text);
    line-height: 1;
}
.st-empty {
    grid-column: 1 / -1;
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: 22px;
    padding: 46px 26px;
    text-align: center;
    color: var(--st-soft);
}

.st-product-card {
    transition: 0.25s ease;
}
.st-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--st-shadow);
}
.st-product-card__image-wrap {
    position: relative;
}
.st-product-card__image-wrap {
    position: relative;
    overflow: hidden;
    background: #f3eef5;
}

.st-product-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        opacity 0.3s ease,
        transform 0.4s ease,
        filter 0.3s ease;
    will-change: transform, opacity, filter;
}

.st-product-card__image--primary {
    opacity: 1;
    z-index: 1;
}

.st-product-card__image--hover {
    opacity: 0;
    z-index: 2;
}

.st-product-card:hover .st-product-card__image--primary {
    opacity: 1;
    transform: scale(1.035);
    filter: brightness(0.92);
}

.st-product-card:hover .st-product-card__image--hover {
    opacity: 1;
    transform: scale(1.035);
}

.st-product-card__overlay {
    position: absolute;
    inset: auto 14px 14px 14px;
    z-index: 3;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.24s ease;
}

.st-product-card:hover .st-product-card__overlay {
    opacity: 1;
    transform: translateY(0);
}

.st-product-card__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(22, 18, 24, 0.18),
        rgba(22, 18, 24, 0.04)
    );
    opacity: 0;
    transition: opacity 0.28s ease;
    z-index: 2;
    pointer-events: none;
}

.st-product-card:hover .st-product-card__image-wrap::after {
    opacity: 1;
}

.st-product-card__overlay {
    position: absolute;
    inset: auto 14px 14px 14px;
    opacity: 0;
    transform: translateY(8px);
    transition: 0.24s ease;
}
.st-product-card__overlay span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border-radius: 999px;
    background: rgba(22, 18, 24, 0.78);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}
.st-product-card:hover .st-product-card__overlay {
    opacity: 1;
    transform: translateY(0);
}

.st-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 36px;
}
.st-product__media,
.st-product__info {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.96),
        rgba(252, 247, 253, 0.96)
    );
    border: 1px solid rgba(191, 82, 200, 0.16);
    border-radius: 28px;
    padding: 22px;
    box-shadow: var(--st-shadow);
}
.st-product__meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--st-soft);
    font-size: 13px;
    margin-bottom: 12px;
}
.st-product h1 {
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}
.st-product__price {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 16px;
}
.st-product__short {
    color: var(--st-soft);
    font-size: 15px;
    line-height: 1.75;
}
.st-product__purchase {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--st-border);
}
.st-product__purchase-form {
    display: grid;
    gap: 14px;
}
.st-product__qty-wrap {
    max-width: 160px;
}
.st-product__description,
.st-related {
    margin-top: 24px;
}
.st-product__description h3,
.st-related h2 {
    margin: 0 0 14px;
    font-size: 22px;
}
.st-product__description div {
    color: var(--st-soft);
    line-height: 1.8;
}

.st-product-gallery {
    display: grid;
    gap: 14px;
}
.st-product-gallery__main {
    border-radius: 22px;
    overflow: hidden;
    background: #f3eef5;
    border: 1px solid var(--st-border);
}
.st-product-gallery__main img {
    width: 100%;
    min-height: 520px;
    max-height: 520px;
    object-fit: cover;
}
.st-product-gallery__thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.st-thumb {
    width: 86px;
    height: 86px;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #fff;
    cursor: pointer;
    transition: 0.2s ease;
}
.st-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.st-thumb.is-active,
.st-thumb:hover {
    border-color: var(--st-primary);
    box-shadow: 0 10px 24px rgba(191, 82, 200, 0.18);
}

.st-pagination {
    margin-top: 26px;
}

.st-panel {
    background: #fff;
    border: 1px solid var(--st-border);
    border-radius: 24px;
    padding: 20px;
    box-shadow: var(--st-shadow);
}

.st-cart-list {
    display: grid;
    gap: 16px;
}
.st-cart-item {
    display: grid;
    grid-template-columns: 110px 1fr auto auto;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--st-border);
    border-radius: 18px;
    padding: 14px;
}
.st-cart-item__media {
    width: 110px;
    height: 110px;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
}
.st-cart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.st-cart-item__body h3 {
    margin: 0 0 8px;
    font-size: 18px;
}
.st-cart-item__body p {
    margin: 0 0 6px;
    color: var(--st-soft);
    font-size: 14px;
}
.st-cart-item__price {
    font-weight: 800;
    margin-top: 8px;
}
.st-cart-item__actions {
    display: grid;
    gap: 10px;
    min-width: 180px;
}
.st-cart-qty-form {
    display: grid;
    gap: 10px;
}
.st-cart-qty-form input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--st-border);
    border-radius: 12px;
    padding: 0 12px;
}
.st-cart-item__line-total {
    font-size: 20px;
    font-weight: 800;
    text-align: right;
}
.st-summary-row,
.st-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--st-border);
}
.st-summary-total {
    font-size: 20px;
    font-weight: 800;
    border-bottom: none;
    padding-top: 18px;
}

.st-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--st-soft);
    font-weight: 800;
}
.st-input,
.st-textarea {
    width: 100%;
    border: 1px solid var(--st-border);
    border-radius: 16px;
    padding: 12px 14px;
    background: #fff;
    color: var(--st-text);
}
.st-input {
    height: 50px;
}
.st-input--qty {
    max-width: 140px;
}
.st-textarea {
    resize: vertical;
}
.st-checkout-items {
    display: grid;
    gap: 12px;
    margin: 16px 0 20px;
}
.st-checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--st-border);
    border-radius: 14px;
    padding: 12px 14px;
    background: #f8fafc;
}

@media (max-width: 1100px) {
    .st-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .st-categories {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .st-hero {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .st-header__inner {
        grid-template-columns: 1fr;
        padding: 16px 0;
    }
    .st-nav {
        justify-content: flex-start;
    }
    .st-header__actions {
        justify-content: flex-start;
    }
    .st-product {
        grid-template-columns: 1fr;
    }
    .st-filters__form {
        grid-template-columns: 1fr;
    }
    .st-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .st-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .st-cart-item {
        grid-template-columns: 1fr;
    }
    .st-cart-item__line-total {
        text-align: left;
    }
}
@media (max-width: 640px) {
    .st-container {
        width: min(100% - 24px, 100%);
    }
    .st-hero__content {
        padding: 24px;
    }
    .st-hero__card {
        padding: 16px;
    }
    .st-hero h1 {
        font-size: 34px;
    }
    .st-grid {
        grid-template-columns: 1fr;
    }
    .st-categories {
        grid-template-columns: 1fr;
    }
    .st-mini-cart__dropdown {
        width: min(320px, calc(100vw - 24px));
        right: 0;
    }
    .st-product h1 {
        font-size: 30px;
    }
    .st-product-gallery__main img {
        min-height: 360px;
        max-height: 360px;
    }
}

.st-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    min-width: 260px;
    max-width: 380px;
    padding: 14px 16px;
    border-radius: 16px;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: 0.25s ease;
}
.st-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.st-toast.is-success {
    background: linear-gradient(135deg, #00c71a, #00dd1c);
}
.st-toast.is-error {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.st-btn[disabled] {
    opacity: 0.72;
    pointer-events: none;
}

.st-mini-cart__badge {
    min-width: 22px;
}

:root {
    --st-font-base: "Inter", sans-serif;
    --st-font-heading: "Manrope", sans-serif;
}

html,
body {
    font-family: var(--st-font-base);
}

.st-brand__text strong,
.st-nav a,
.st-section__head h2,
.st-hero h1,
.st-card h3,
.st-price,
.st-product h1,
.st-product__price,
.st-product__description h3,
.st-related h2,
.st-mini-cart__trigger,
.st-btn {
    font-family: var(--st-font-heading);
}

.st-mini-cart__badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--st-success);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(0, 221, 28, 0.28);
}

.st-toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 9999;
    min-width: 260px;
    max-width: 380px;
    padding: 14px 16px;
    border-radius: 16px;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: 0.25s ease;
}

.st-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.st-toast.is-success {
    background: linear-gradient(135deg, #00c71a, #00dd1c);
}

.st-toast.is-error {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.st-btn[disabled] {
    opacity: 0.72;
    pointer-events: none;
}

.st-mini-cart__dropdown {
    width: 380px;
    max-height: 520px;
    overflow: hidden;
}

.st-mini-cart__dropdown-body {
    padding: 14px 0;
    max-height: 340px;
    overflow: auto;
}

.st-mini-cart__items {
    display: grid;
    gap: 12px;
}

.st-mini-cart__item {
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--st-border);
}

.st-mini-cart__item:last-child {
    border-bottom: none;
}

.st-mini-cart__item-media {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    overflow: hidden;
    background: #f3eef5;
    border: 1px solid var(--st-border);
}

.st-mini-cart__item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-mini-cart__item-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-primary);
    font-size: 18px;
}

.st-mini-cart__item-content {
    display: grid;
    gap: 4px;
}

.st-mini-cart__item-content strong {
    font-size: 14px;
    line-height: 1.35;
    font-family: var(--st-font-heading);
    color: var(--st-text);
}

.st-mini-cart__item-content span {
    font-size: 12px;
    color: var(--st-soft);
    font-weight: 700;
}

.st-mini-cart__item-content small {
    font-size: 12px;
    color: var(--st-text);
    font-weight: 700;
}

.st-mini-cart__summary {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--st-border);
}

.st-mini-cart__summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.st-mini-cart__summary-row span {
    color: var(--st-soft);
    font-weight: 700;
}

.st-mini-cart__summary-row strong {
    font-family: var(--st-font-heading);
    font-size: 16px;
    color: var(--st-text);
}

.st-mini-cart__empty p {
    margin: 0;
    color: var(--st-soft);
    line-height: 1.6;
}

@media (max-width: 640px) {
    .st-mini-cart__dropdown {
        width: min(380px, calc(100vw - 24px));
    }
}

.st-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

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

.st-product-card__metrics,
.st-product__metrics {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0 16px;
}

.st-product-card__metric,
.st-product__metric {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 221, 28, 0.1);
    color: #0e7f1c;
    font-size: 13px;
    font-weight: 800;
}

.st-mini-cart__bp {
    color: #0e7f1c;
    font-weight: 800;
}

.st-btn--icon {
    width: 46px;
    min-width: 46px;
    height: 46px;
    padding: 0;
    border-radius: 14px;
}

.st-btn--icon span {
    display: none;
}

.st-card__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

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

.st-product-card__metrics {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 16px;
}

.st-product-card__metric {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 221, 28, 0.1);
    color: #0e7f1c;
    font-size: 13px;
    font-weight: 800;
}

.st-product-card__overlay span {
    width: 42px;
    height: 42px;
    min-height: 42px;
    border-radius: 999px;
    background: rgba(22, 18, 24, 0.78);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.st-product__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.st-product__actions .st-btn {
    min-width: 52px;
}

.st-product__actions .js-add-to-cart-btn .js-add-to-cart-btn-text {
    display: none;
}

.st-product__purchase-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.st-product__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.st-product__field--variant {
    flex: 1 1 320px;
    min-width: 220px;
}

.st-product__field--qty {
    flex: 0 0 120px;
}

.st-product__field--qty .st-input {
    width: 100%;
}

.st-product__actions {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex: 0 0 auto;
}

.st-product__actions .st-btn {
    width: 50px;
    min-width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 16px;
}

.st-product__actions .js-add-to-cart-btn-text {
    display: none;
}

@media (max-width: 640px) {
    .st-product__purchase-form {
        align-items: stretch;
    }

    .st-product__field--variant,
    .st-product__field--qty,
    .st-product__actions {
        flex: 1 1 100%;
    }

    .st-product__actions {
        justify-content: flex-start;
    }
}

/*
* Carrito
*/

.st-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-weight: 700;
}

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

.st-cart-layout {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr;
    gap: 20px;
}

.st-cart-summary {
    position: sticky;
    top: 110px;
    height: fit-content;
}

.st-cart-summary__actions {
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.st-cart-list {
    display: grid;
    gap: 16px;
}

.st-cart-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    padding: 16px;
    border: 1px solid var(--st-border);
    border-radius: 22px;
    background: #fff;
}

.st-cart-item__media {
    width: 110px;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
    background: #f3eef5;
    border: 1px solid var(--st-border);
}

.st-cart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-cart-item__body {
    display: grid;
    gap: 14px;
}

.st-cart-item__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.st-cart-item__top h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.25;
}

.st-cart-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.st-cart-item__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 999px;
    background: #f7f1f8;
    color: var(--st-soft);
    font-size: 12px;
    font-weight: 700;
}

.st-cart-item__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.st-cart-item__metric {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0, 221, 28, 0.1);
    color: #0e7f1c;
    font-size: 13px;
    font-weight: 800;
}

.st-cart-item__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.st-cart-item__price-block {
    display: grid;
    gap: 4px;
}

.st-cart-item__unit-price {
    color: var(--st-soft);
    font-size: 14px;
    font-weight: 700;
}

.st-cart-item__line-total {
    font-family: var(--st-font-heading);
    font-size: 22px;
    line-height: 1;
    color: var(--st-text);
}

.st-cart-remove-form {
    margin: 0;
}

.st-cart-qty-form {
    margin: 0;
}

.st-cart-qty-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.st-cart-qty-box input {
    width: 90px;
    height: 46px;
    border: 1px solid var(--st-border);
    border-radius: 14px;
    padding: 0 12px;
    background: #fff;
    color: var(--st-text);
    text-align: center;
    font-weight: 700;
}

.st-cart-qty-box input:focus {
    outline: none;
    border-color: rgba(191, 82, 200, 0.5);
    box-shadow: 0 0 0 4px rgba(191, 82, 200, 0.1);
}

@media (max-width: 960px) {
    .st-cart-layout {
        grid-template-columns: 1fr;
    }

    .st-cart-summary {
        position: static;
    }
}

@media (max-width: 640px) {
    .st-cart-item {
        grid-template-columns: 1fr;
    }

    .st-cart-item__media {
        width: 100%;
        height: 220px;
    }

    .st-cart-item__top,
    .st-cart-item__bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .st-cart-qty-box {
        width: 100%;
    }

    .st-cart-qty-box input {
        flex: 1 1 auto;
        width: 100%;
    }
}

.st-cart-qty-status {
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: var(--st-soft);
    opacity: 0;
    transition: 0.2s ease;
}

.st-cart-qty-status.is-visible {
    opacity: 1;
}

.st-cart-qty-status.is-success {
    color: #0e7f1c;
}

.st-cart-qty-status.is-error {
    color: #dc2626;
}

.st-mini-cart__item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.st-mini-cart__remove {
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 999px;
    background: #f3eef5;
    color: var(--st-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.2s ease;
    flex: 0 0 auto;
}

.st-mini-cart__remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

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

.st-checkout-layout {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr;
    gap: 20px;
    align-items: start;
}

.st-checkout-main {
    display: grid;
    gap: 20px;
}

.st-checkout-summary {
    position: sticky;
    top: 110px;
    height: fit-content;
}

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

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

.st-payment-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.st-payment-card {
    display: block;
    cursor: pointer;
}

.st-payment-card input {
    display: none;
}

.st-payment-card__content {
    height: 100%;
    min-height: 120px;
    border: 1px solid var(--st-border);
    border-radius: 20px;
    background: #fff;
    padding: 18px;
    display: grid;
    gap: 10px;
    transition: 0.22s ease;
}

.st-payment-card__content i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-primary-soft);
    color: var(--st-primary);
    font-size: 18px;
}

.st-payment-card__content strong {
    font-family: var(--st-font-heading);
    font-size: 16px;
}

.st-payment-card__content span {
    color: var(--st-soft);
    font-size: 13px;
    line-height: 1.5;
}

.st-payment-card input:checked + .st-payment-card__content {
    border-color: rgba(191, 82, 200, 0.45);
    box-shadow: 0 16px 34px rgba(191, 82, 200, 0.12);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(248, 232, 250, 0.75)
    );
}

.st-checkout-item__meta {
    color: var(--st-soft);
    font-size: 13px;
    margin-top: 4px;
}

.st-checkout-item__bp {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 221, 28, 0.1);
    color: #0e7f1c;
    font-size: 12px;
    font-weight: 800;
}

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

    .st-checkout-summary {
        position: static;
    }

    .st-payment-methods {
        grid-template-columns: 1fr;
    }
}

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

.st-payment-box {
    margin-top: 16px;
}

.st-payment-instructions {
    border: 1px solid var(--st-border);
    border-radius: 18px;
    background: #fff;
    padding: 16px 18px;
}

.st-payment-instructions ol {
    margin: 0;
    padding-left: 18px;
    color: var(--st-soft);
    line-height: 1.7;
}

.st-payment-manual-fields {
    margin-top: 18px;
}

.st-copy-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.st-copy-box .st-input {
    flex: 1 1 auto;
}

.st-payment-note {
    border: 1px solid var(--st-border);
    border-radius: 16px;
    background: #faf7fb;
    padding: 14px 16px;
    color: var(--st-soft);
    line-height: 1.65;
}

.st-payment-qr {
    width: 180px;
    height: 180px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--st-border);
    background: #fff;
}

.st-payment-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.st-upload-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.st-upload-preview {
    width: 180px;
    height: 180px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--st-border);
    background: #fff;
    cursor: pointer;
}

.st-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-checkout-layout {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr;
    gap: 20px;
    align-items: start;
}

.st-checkout-main {
    display: grid;
    gap: 20px;
}

.st-checkout-summary {
    position: sticky;
    top: 110px;
    height: fit-content;
}

.st-checkout-summary__note {
    margin-top: 16px;
    border: 1px solid var(--st-border);
    border-radius: 16px;
    background: #faf7fb;
    padding: 14px 16px;
    color: var(--st-soft);
    line-height: 1.65;
    font-size: 14px;
}

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

.st-field {
    display: grid;
    gap: 8px;
}

.st-field label {
    font-size: 13px;
    font-weight: 700;
    color: #1f2937;
}

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

.st-field__hint {
    font-size: 12px;
    line-height: 1.5;
    color: var(--st-soft);
}

.st-field__error {
    min-height: 18px;
    font-size: 12px;
    line-height: 1.4;
    color: #b91c1c;
}

.st-input.is-invalid,
.st-textarea.is-invalid,
.st-select.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.st-payment-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.st-payment-card {
    display: block;
    cursor: pointer;
}

.st-payment-card input {
    display: none;
}

.st-payment-card__content {
    height: 100%;
    min-height: 128px;
    border: 1px solid var(--st-border);
    border-radius: 20px;
    background: #fff;
    padding: 18px;
    display: grid;
    gap: 10px;
    transition: 0.22s ease;
}

.st-payment-card__content i {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--st-primary-soft);
    color: var(--st-primary);
    font-size: 18px;
}

.st-payment-card__content strong {
    font-family: var(--st-font-heading);
    font-size: 16px;
}

.st-payment-card__content span {
    color: var(--st-soft);
    font-size: 13px;
    line-height: 1.5;
}

.st-payment-card input:checked + .st-payment-card__content {
    border-color: rgba(191, 82, 200, 0.45);
    box-shadow: 0 16px 34px rgba(191, 82, 200, 0.12);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(248, 232, 250, 0.75)
    );
}

.st-payment-box {
    margin-top: 16px;
}

.st-payment-hero {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    border: 1px solid var(--st-border);
    border-radius: 18px;
    background: #fff;
}

.st-payment-hero__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex: 0 0 auto;
}

.st-payment-hero__icon i {
    color: #fff;
}

.st-payment-hero strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
    font-family: var(--st-font-heading);
}

.st-payment-hero p {
    margin: 0;
    color: var(--st-soft);
    font-size: 14px;
    line-height: 1.6;
}

.st-payment-hero--cash .st-payment-hero__icon {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.st-payment-hero--transfer .st-payment-hero__icon {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.st-payment-instructions {
    border: 1px solid var(--st-border);
    border-radius: 18px;
    background: #fff;
    padding: 16px 18px;
    margin-top: 14px;
}

.st-payment-instructions--highlight {
    background: linear-gradient(180deg, #fff, #fbf8fc);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
}

.st-payment-instructions__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 800;
    color: #111827;
}

.st-payment-instructions__title i {
    color: var(--st-primary);
}

.st-payment-instructions ol {
    margin: 0;
    padding-left: 18px;
    color: var(--st-soft);
    line-height: 1.7;
}

.st-payment-manual-fields {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px dashed var(--st-border);
}

.st-copy-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

.st-copy-box .st-input {
    flex: 1 1 auto;
}

.st-payment-note {
    border: 1px solid var(--st-border);
    border-radius: 16px;
    background: #faf7fb;
    padding: 14px 16px;
    color: var(--st-soft);
    line-height: 1.65;
}

.st-payment-note--emphasis {
    background: #fff8ea;
    border-color: #f5d08a;
    color: #7c5b11;
    font-weight: 600;
}

.st-payment-qr {
    width: 180px;
    height: 180px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--st-border);
    background: #fff;
}

.st-payment-qr img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.st-upload-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.st-upload-btn {
    width: max-content;
}

.st-upload-preview {
    width: 180px;
    height: 180px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--st-border);
    background: #fff;
    cursor: pointer;
}

.st-upload-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--st-border);
}

.st-checkout-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.st-checkout-item__meta {
    color: var(--st-soft);
    font-size: 13px;
    margin-top: 4px;
}

.st-checkout-item__metrics {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.st-checkout-item__bp,
.st-checkout-item__qp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.st-checkout-item__bp {
    background: rgba(0, 221, 28, 0.1);
    color: #0e7f1c;
}

.st-checkout-item__qp {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
}

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

    .st-checkout-summary {
        position: static;
    }

    .st-payment-methods {
        grid-template-columns: 1fr;
    }
}

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

    .st-copy-box {
        flex-direction: column;
        align-items: stretch;
    }

    .st-upload-btn {
        width: 100%;
    }
}

.st-order-success-wrap {
    max-width: 980px;
    margin: 0 auto;
}

.st-order-success {
    display: grid;
    gap: 22px;
}

.st-order-success__hero {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 6px;
}

.st-order-success__icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    font-size: 24px;
    box-shadow: 0 16px 34px rgba(34, 197, 94, 0.2);
}

.st-order-success__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #15803d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.st-order-success__hero h2 {
    margin: 0 0 8px;
}

.st-order-success__hero p {
    margin: 0;
    color: var(--st-soft);
    line-height: 1.7;
}

.st-order-success__status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.st-order-status-card {
    border: 1px solid var(--st-border);
    border-radius: 18px;
    background: #fff;
    padding: 16px 18px;
    display: grid;
    gap: 6px;
}

.st-order-status-card__label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--st-soft);
}

.st-order-status-card strong {
    font-size: 16px;
    color: #111827;
}

.st-order-success__note {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    border-radius: 18px;
    padding: 14px 16px;
    border: 1px solid var(--st-border);
    line-height: 1.65;
}

.st-order-success__note i {
    margin-top: 2px;
    flex: 0 0 auto;
}

.st-order-success__note--info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

.st-order-success__note--warning {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #c2410c;
}

.st-order-success__summary {
    display: grid;
    gap: 14px;
}

.st-order-success__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    .st-order-success__hero {
        flex-direction: column;
    }

    .st-order-success__status-grid {
        grid-template-columns: 1fr;
    }

    .st-order-success__actions {
        flex-direction: column;
    }

    .st-order-success__actions .st-btn {
        width: 100%;
    }
}

.st-my-orders-layout {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 20px;
    align-items: start;
}

.st-my-orders-sidebar,
.st-my-orders-content {
    display: grid;
    gap: 20px;
}

.st-my-orders-search {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.st-my-orders-search__btn {
    justify-content: center;
}

.st-my-orders-help {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid var(--st-border);
    border-radius: 18px;
    background: #faf7fb;
}

.st-my-orders-help__title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-weight: 800;
    color: #111827;
}

.st-my-orders-help__title i {
    color: var(--st-primary);
}

.st-my-orders-help ul {
    margin: 0;
    padding-left: 18px;
    color: var(--st-soft);
    line-height: 1.7;
}

.st-my-orders-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.st-my-order-card {
    border: 1px solid var(--st-border);
    border-radius: 18px;
    background: #fff;
    padding: 14px;
    display: grid;
    gap: 10px;
    transition: 0.22s ease;
}

.st-my-order-card.is-active {
    border-color: rgba(191, 82, 200, 0.45);
    box-shadow: 0 14px 28px rgba(191, 82, 200, 0.1);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.98),
        rgba(248, 232, 250, 0.55)
    );
}

.st-my-order-card__top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

.st-my-order-card__top strong {
    color: #111827;
    font-size: 14px;
}

.st-my-order-card__top span {
    color: var(--st-soft);
    font-size: 12px;
}

.st-my-order-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--st-soft);
    font-size: 13px;
}

.st-my-order-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.st-my-order-card__action .st-btn {
    width: 100%;
    justify-content: center;
}

.st-order-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
}

.st-order-chip--warning {
    background: #fff7ed;
    color: #c2410c;
}

.st-order-chip--success {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.st-order-chip--danger {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

.st-order-chip--info {
    background: rgba(59, 130, 246, 0.1);
    color: #1d4ed8;
}

.st-order-chip--neutral {
    background: #f1f5f9;
    color: #475569;
}

.st-my-orders-empty {
    margin-top: 16px;
    border: 1px dashed var(--st-border);
    border-radius: 18px;
    background: #fbfbfd;
    padding: 18px;
    text-align: center;
    color: var(--st-soft);
}

.st-my-orders-empty i {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--st-primary);
}

.st-my-order-detail {
    display: grid;
    gap: 18px;
    margin-top: 16px;
}

.st-my-order-detail__hero {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--st-border);
}

.st-my-order-detail__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--st-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.st-my-order-detail__hero h2 {
    margin: 0 0 6px;
    font-size: 26px;
}

.st-my-order-detail__hero p {
    margin: 0;
    color: var(--st-soft);
    line-height: 1.7;
}

.st-my-order-detail__hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.st-my-order-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.st-my-order-stat {
    border: 1px solid var(--st-border);
    border-radius: 18px;
    background: #fff;
    padding: 14px 16px;
    display: grid;
    gap: 6px;
}

.st-my-order-stat span {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--st-soft);
}

.st-my-order-stat strong {
    font-size: 16px;
    color: #111827;
}

.st-my-orders-sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.st-my-orders-section {
    display: grid;
    gap: 12px;
}

.st-my-orders-section h4 {
    margin: 0;
    font-size: 16px;
}

.st-my-orders-section__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 4px;
}

.st-my-orders-section__head h4 {
    margin: 0;
}

.st-my-orders-box {
    padding: 16px;
    border: 1px solid var(--st-border);
    border-radius: 18px;
    background: #fbfbfd;
    line-height: 1.75;
    color: #374151;
}

.st-my-orders-link {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

.st-my-orders-link:hover {
    text-decoration: underline;
}

.st-my-orders-empty-box {
    padding: 16px;
    border: 1px dashed var(--st-border);
    border-radius: 18px;
    background: #fbfbfd;
    color: var(--st-soft);
}

.st-my-orders-empty-state {
    margin-top: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px dashed var(--st-border);
    border-radius: 18px;
    background: #fbfbfd;
    color: #475569;
}

.st-my-orders-empty-state i {
    margin-top: 2px;
    font-size: 22px;
    color: var(--st-primary);
}

.st-my-orders-empty-state strong {
    display: block;
    margin-bottom: 4px;
    color: #111827;
}

.st-my-orders-empty-state p {
    margin: 0;
    line-height: 1.6;
}

.st-my-orders-empty-state--warning {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #9a3412;
}

.st-my-orders-empty-state--warning i,
.st-my-orders-empty-state--warning strong {
    color: #9a3412;
}

@media (max-width: 1100px) {
    .st-my-orders-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .st-my-order-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .st-my-orders-sections {
        grid-template-columns: 1fr;
    }

    .st-my-order-detail__hero {
        flex-direction: column;
    }

    .st-my-order-detail__hero-chips {
        justify-content: flex-start;
    }

    .st-my-orders-section__head {
        flex-direction: column;
        align-items: stretch;
    }

    .st-my-orders-section__head .st-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .st-my-order-stats {
        grid-template-columns: 1fr;
    }

    .st-my-order-card__top {
        flex-direction: column;
    }
}

.st-header__actions{
    display:flex;
    align-items:center;
    gap:12px;
}

.st-header-user{
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px 10px;
    border:1px solid var(--st-border);
    border-radius:16px;
    background:rgba(255,255,255,.88);
    backdrop-filter:blur(10px);
    box-shadow:0 8px 18px rgba(17,24,39,.04);
    min-width:0;
}

.st-header-user__avatar{
    width:38px;
    height:38px;
    border-radius:12px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    background:var(--st-primary-soft);
    color:var(--st-primary);
    font-size:15px;
}

.st-header-user__content{
    display:grid;
    gap:2px;
    min-width:0;
}

.st-header-user__eyebrow{
    font-size:10px;
    font-weight:800;
    letter-spacing:.08em;
    color:var(--st-soft);
    line-height:1;
}

.st-header-user__content strong{
    font-size:13px;
    color:#111827;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    max-width:150px;
    line-height:1.2;
}

.st-header-user__menu{
    display:flex;
    align-items:center;
    gap:6px;
    margin-left:2px;
}

.st-header-user__menu form{
    margin:0;
}

.st-header-user__link{
    width:34px;
    height:34px;
    border:none;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f8f5fa;
    color:#4b5563;
    text-decoration:none;
    cursor:pointer;
    transition:.2s ease;
}

.st-header-user__link:hover{
    background:var(--st-primary-soft);
    color:var(--st-primary);
}

.st-header-login{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 14px;
    border:1px solid var(--st-border);
    border-radius:14px;
    background:#fff;
    color:#111827;
    text-decoration:none;
    font-weight:700;
    transition:.2s ease;
}

.st-header-login:hover{
    border-color:rgba(191,82,200,.35);
    background:#faf7fb;
    color:var(--st-primary);
}

@media (max-width: 980px){
    .st-header__inner{
        gap:14px;
        flex-wrap:wrap;
    }

    .st-nav{
        order:3;
        width:100%;
    }

    .st-header__actions{
        margin-left:auto;
    }
}

@media (max-width: 640px){
    .st-header__actions{
        width:100%;
        justify-content:space-between;
    }

    .st-header-user{
        flex:1 1 auto;
        min-width:0;
    }

    .st-header-user__content strong{
        max-width:110px;
    }

    .st-header-login{
        flex:1 1 auto;
        justify-content:center;
    }
}

/* Logo imagen en header tienda */
.st-brand__icon--image {
    padding: 0;
    overflow: hidden;
    background: #fff;
}

.st-brand__icon--image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    padding: 6px;
}

/* Soporte preventivo Safari / iOS */
@supports (-webkit-touch-callout: none) {
    .st-brand__icon--image img {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

.st-header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.st-header-login,
.st-header-login:visited,
.st-header-login:hover,
.st-header-login:focus {
    text-decoration: none;
}

.st-header-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.st-header-login i {
    font-size: 13px;
}

.st-header-login--back {
    background: rgba(15, 23, 42, 0.04);
    color: #334155;
}

.st-header-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

@media (max-width: 768px) {
    .st-header__actions {
        gap: 7px;
    }

    .st-header-login {
        min-height: 36px;
        padding: 0 10px;
        font-size: 12px;
    }

    .st-header-login span {
        display: none;
    }

    .st-header-login i {
        font-size: 14px;
    }
}

/* =========================================================
   Header actions: Volver / Iniciar sesión
========================================================= */

.st-header-login {
    min-height: 42px;
    padding: 10px 15px;
    border: 1px solid rgba(28, 162, 53, 0.22);
    border-radius: 999px;
    background: linear-gradient(135deg, #1CA235, #15822a);
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    box-shadow:
        0 12px 26px rgba(28, 162, 53, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.st-header-login i,
.st-header-login span {
    color: #ffffff !important;
}

.st-header-login i {
    font-size: 14px;
}

.st-header-login:hover,
.st-header-login:focus {
    background: linear-gradient(135deg, #22b83f, #16882c);
    border-color: rgba(28, 162, 53, 0.4);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow:
        0 16px 34px rgba(28, 162, 53, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.st-header-login:active {
    transform: translateY(0);
    box-shadow:
        0 8px 18px rgba(28, 162, 53, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

/* Botón Volver: estilo secundario premium */
.st-header-login--back {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    color: #0f172a !important;
    box-shadow:
        0 10px 24px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.st-header-login--back i,
.st-header-login--back span {
    color: #0f172a !important;
}

.st-header-login--back i {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(28, 162, 53, 0.10);
    color: #1CA235 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.st-header-login--back:hover,
.st-header-login--back:focus {
    background: #f8fafc;
    border-color: rgba(28, 162, 53, 0.32);
    color: #0f172a !important;
    box-shadow:
        0 14px 30px rgba(15, 23, 42, 0.12),
        0 0 0 4px rgba(28, 162, 53, 0.08);
}

.st-header-login--back:hover i,
.st-header-login--back:focus i {
    background: #1CA235;
    color: #ffffff !important;
}

/* Mobile: que no se rompan en pantallas pequeñas */
@media (max-width: 575.98px) {
    .st-header-login {
        min-height: 40px;
        padding: 10px 12px;
        font-size: 12px;
        gap: 7px;
    }

    .st-header-login--back i {
        width: 22px;
        height: 22px;
    }
}

/* Soporte Safari/iOS */
@supports (-webkit-touch-callout: none) {
    .st-header-login {
        -webkit-appearance: none;
        appearance: none;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        transform: translateZ(0);
    }
}

.st-mini-cart__variant-detail {
    display: grid;
    gap: 3px;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.25;
    color: var(--st-soft);
}

.st-mini-cart__variant-detail span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.st-mini-cart__variant-detail strong {
    color: var(--st-text);
    font-weight: 800;
}

@media (max-width: 640px) {
    .st-mini-cart__variant-detail {
        font-size: 11px;
    }
}
