:root {
    --ink: #22172f;
    --muted: #786f82;
    --line: #e8e0ea;
    --page: #faf8fb;
    --surface: #ffffff;
    --soft: #f6f1f6;
    --accent: #7b4f96;
    --gold: #c7a447;
    --whatsapp: #25d366;
    --shadow: 0 12px 32px rgba(34, 23, 47, 0.08);
    font-family: dmbrand, Arial, Helvetica, sans-serif;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden;
    min-height: 100vh;
    font-family: dmbrand, Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(250, 248, 251, 0.9)),
        var(--page);
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.shop-hero {
    position: relative;
    padding: clamp(16px, 3vw, 34px) clamp(12px, 5vw, 74px) clamp(28px, 4vw, 46px);
    background:
        linear-gradient(180deg, #ffffff 0%, rgba(250, 248, 251, 0.96) 100%),
        var(--page);
}

.hero-frame {
    position: relative;
    width: min(100%, 1240px);
    aspect-ratio: 1717 / 916;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(199, 164, 71, 0.32);
    border-radius: 8px;
    background: #f8f4f8;
    box-shadow: 0 24px 54px rgba(34, 23, 47, 0.14);
}

.hero-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 30%, rgba(34, 23, 47, 0.07) 100%),
        linear-gradient(90deg, rgba(34, 23, 47, 0.04), transparent 18%, transparent 82%, rgba(34, 23, 47, 0.05));
    box-shadow: inset 0 0 0 1px rgba(199, 164, 71, 0.12);
}

.hero-slide img {
    position: absolute;
    inset: 0;
}

.hero-slides {
    --active-slide: 0;
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    background: transparent;
    transform: translate3d(calc(var(--active-slide) * -100%), 0, 0);
    transition: transform 720ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.hero-slide {
    --ken-start-x: 0%;
    --ken-start-y: 0%;
    --ken-end-x: -0.4%;
    --ken-end-y: -0.3%;
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    overflow: hidden;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: contrast(1.055) saturate(1.04) brightness(1.01);
    transform: translate3d(0, 0, 0) scale(1);
    transform-origin: center;
    backface-visibility: hidden;
    will-change: transform;
}

.hero-slide.is-active img {
    animation: heroKenBurns 7200ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(34, 23, 47, 0.44);
    box-shadow: 0 12px 28px rgba(34, 23, 47, 0.18);
    backdrop-filter: blur(10px);
    font-size: 1.75rem;
    line-height: 1;
    transform: translateY(-50%);
    transition: background 180ms ease, transform 180ms ease;
}

.hero-arrow:hover {
    background: rgba(34, 23, 47, 0.66);
    transform: translateY(-50%) scale(1.04);
}

.hero-arrow-prev {
    left: 18px;
}

.hero-arrow-next {
    right: 18px;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.54);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 12px 30px rgba(34, 23, 47, 0.12);
    backdrop-filter: blur(14px);
    transform: translateX(-50%);
}

.hero-dot {
    width: 24px;
    height: 22px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: rgba(34, 23, 47, 0.64);
    background: transparent;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    transition: color 180ms ease, background 180ms ease, width 180ms ease;
}

.hero-dot.is-active {
    width: 34px;
    color: #ffffff;
    background: var(--accent);
}

.hero-slide:nth-child(1) {
    --ken-end-x: 0.35%;
    --ken-end-y: -0.25%;
}

.hero-slide:nth-child(2) {
    --ken-end-x: -0.35%;
    --ken-end-y: -0.25%;
}

@keyframes heroKenBurns {
    from {
        transform: translate3d(var(--ken-start-x), var(--ken-start-y), 0) scale(1);
    }

    to {
        transform: translate3d(var(--ken-end-x), var(--ken-end-y), 0) scale(1.035);
    }
}

.shop-page {
    width: min(100%, 1340px);
    margin: 0 auto;
    padding: clamp(12px, 2vw, 18px) clamp(12px, 3vw, 28px) 52px;
}

.shop-actions {
    position: sticky;
    top: 0;
    z-index: 12;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px 44px 52px;
    gap: clamp(8px, 1.4vw, 12px);
    align-items: center;
    margin: -38px 0 18px;
    padding: 8px;
    border: 1px solid rgba(232, 224, 234, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 42px rgba(34, 23, 47, 0.1);
    backdrop-filter: blur(16px);
}

.icon-button,
.category-pill {
    min-height: 42px;
    border: 1px solid var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 6px 18px rgba(34, 23, 47, 0.05);
}

.icon-button {
    width: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 8px;
    font-weight: 900;
}

.shop-search {
    position: relative;
}

.shop-search span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.shop-search input {
    width: 100%;
    min-height: 44px;
    min-width: 0;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #ffffff;
}

.category-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 2px 2px 18px;
    scroll-padding-inline: 12px;
    scrollbar-width: none;
}

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

.category-pill {
    flex: 0 0 auto;
    border-radius: 8px;
    padding: 0 14px;
    font-weight: 800;
    white-space: nowrap;
}

.category-pill.is-active {
    color: #ffffff;
    background: var(--accent);
    border-color: var(--accent);
}

.promo-banner {
    min-height: clamp(124px, 16vw, 178px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin: 8px 0 28px;
    padding: clamp(20px, 3vw, 34px);
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(110deg, rgba(34, 23, 47, 0.98), rgba(123, 79, 150, 0.9) 62%, rgba(199, 164, 71, 0.72)),
        var(--accent);
}

.promo-banner strong,
.promo-banner span {
    display: block;
}

.promo-banner strong {
    font-family: dmbrand, Arial, Helvetica, sans-serif;
    font-size: clamp(1.45rem, 1rem + 1.8vw, 2.4rem);
    letter-spacing: 0;
}

.promo-banner span {
    margin-top: 8px;
    max-width: 560px;
    font-weight: 800;
    line-height: 1.45;
}

.promo-mark {
    position: relative;
    width: clamp(88px, 12vw, 134px);
    height: clamp(88px, 12vw, 134px);
}

.promo-mark img {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.84);
    border-radius: 22px;
    object-fit: cover;
    background: #ffffff;
}

.range-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 14px;
}

.range-heading p,
.range-heading h2 {
    margin: 0;
}

.range-heading p {
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.range-heading h2 {
    margin-top: 3px;
    color: var(--ink);
    font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.25rem);
    letter-spacing: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2px;
    border: 1px solid var(--line);
    background: var(--line);
}

.shop-card {
    min-width: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: var(--surface);
    box-shadow: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.shop-card:hover {
    z-index: 1;
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(34, 23, 47, 0.12);
}

.product-media {
    position: relative;
    display: grid;
    place-items: center;
    height: clamp(210px, 19vw, 278px);
    padding: 44px 22px 26px;
    background: #f7f6f8;
}

.product-media img {
    width: auto;
    height: auto;
    max-width: 88%;
    max-height: 190px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 10px 10px rgba(34, 23, 47, 0.08));
}

.product-placeholder {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    background: var(--ink);
    font-size: 1.7rem;
    font-weight: 900;
}

.sold-badge {
    position: absolute;
    top: 44px;
    left: 10px;
    z-index: 1;
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    border-radius: 7px;
    padding: 0 10px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.74rem;
    font-weight: 800;
}

.new-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    padding: 0 11px;
    color: #ffffff;
    background: var(--accent);
    font-size: 0.92rem;
    font-weight: 900;
}

.wish-button {
    position: absolute;
    top: 9px;
    right: 10px;
    z-index: 1;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 0;
    color: var(--accent);
    background: transparent;
    font-size: 1.55rem;
    font-weight: 900;
    line-height: 1;
}

.add-button {
    position: absolute;
    right: 10px;
    bottom: -20px;
    min-width: 50px;
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: var(--accent);
    box-shadow: 0 8px 18px rgba(123, 79, 150, 0.2);
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
}

.add-button:disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

.product-info {
    display: grid;
    align-content: start;
    min-height: 260px;
    gap: 6px;
    padding: 18px 16px 16px;
}

.product-info small {
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.product-info strong {
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
}

.product-info h2 {
    margin: 0;
    min-height: 2.7em;
    overflow-wrap: anywhere;
    color: var(--accent);
    font-size: clamp(0.94rem, 0.86rem + 0.22vw, 1.08rem);
    font-weight: 900;
    line-height: 1.12;
}

.product-info p {
    margin: 0;
    color: var(--accent);
    font-size: clamp(1.15rem, 0.98rem + 0.5vw, 1.42rem);
    font-weight: 900;
}

.rating-row,
.availability-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rating-row {
    margin-top: 6px;
}

.rating-row span {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.rating-row em {
    color: var(--muted);
    font-size: 0.8rem;
    font-style: normal;
}

.availability-row {
    margin-top: auto;
    color: var(--muted);
    font-size: 0.86rem;
}

.detail-link {
    min-height: 36px;
    margin-top: 8px;
    border: 1px solid rgba(123, 79, 150, 0.2);
    border-radius: 8px;
    color: var(--accent);
    background: #ffffff;
    font-size: 0.78rem;
    font-weight: 900;
}

.stock-dot {
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #27b33e;
}

.stock-dot.is-out {
    background: #d94b4b;
}

.social-follow {
    width: min(720px, 100%);
    margin: 34px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(123, 79, 150, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
}

.social-follow > span {
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(123, 79, 150, 0.18);
    border-radius: 999px;
    color: var(--ink);
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(34, 23, 47, 0.08);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.social-link:hover {
    border-color: rgba(123, 79, 150, 0.48);
    color: var(--accent);
    box-shadow: 0 16px 26px rgba(34, 23, 47, 0.12);
    transform: translateY(-2px);
}

.social-link svg {
    width: 22px;
    height: 22px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.social-link-tiktok svg,
.social-link-facebook svg,
.social-link-threads svg {
    fill: currentColor;
    stroke: none;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.shop-footer-links {
    display: grid;
    gap: 10px;
    width: min(720px, 100%);
    margin: 16px auto 0;
}

.empty-products {
    margin: 28px 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: #ffffff;
    text-align: center;
    font-weight: 800;
}

.shop-footer-links details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.shop-footer-links summary {
    cursor: pointer;
    padding: 14px;
    font-weight: 900;
}

.shop-footer-links p {
    margin: 0;
    padding: 0 14px 14px;
    color: var(--muted);
    line-height: 1.5;
}

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: none;
    justify-content: flex-end;
    background: rgba(34, 23, 47, 0.28);
}

.cart-drawer.is-open {
    display: flex;
}

.product-drawer {
    position: fixed;
    inset: 0;
    z-index: 44;
    display: none;
    justify-content: flex-end;
    background: rgba(34, 23, 47, 0.3);
}

.product-drawer.is-open {
    display: flex;
}

.ai-drawer {
    position: fixed;
    inset: 0;
    z-index: 42;
    display: none;
    justify-content: flex-end;
    background: rgba(34, 23, 47, 0.28);
}

.ai-drawer.is-open {
    display: flex;
}

.cart-panel,
.product-panel,
.ai-panel {
    width: min(420px, 100%);
    max-height: 100dvh;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
    background: #ffffff;
    box-shadow: -16px 0 42px rgba(34, 23, 47, 0.14);
}

.product-panel {
    width: min(460px, 100%);
    overflow-y: auto;
}

.cart-heading,
.ai-heading,
.product-detail-heading,
.cart-line,
.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.cart-heading strong {
    font-size: 1.2rem;
}

.product-detail-heading span,
.product-detail-heading strong {
    display: block;
}

.product-detail-heading span {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.product-detail-heading strong {
    margin-top: 3px;
    font-size: 1.18rem;
    line-height: 1.18;
}

.product-detail-media {
    min-height: 250px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    background: #f8f6f8;
}

.product-detail-media img {
    width: auto;
    height: auto;
    max-width: 94%;
    max-height: 230px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 12px 14px rgba(34, 23, 47, 0.08));
}

.product-detail-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.product-detail-price strong {
    color: var(--accent);
    font-size: 1.38rem;
}

.product-detail-status {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.product-detail-status {
    min-height: 34px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(199, 164, 71, 0.26);
    border-radius: 8px;
    padding: 0 12px;
    background: rgba(199, 164, 71, 0.08);
}

.product-detail-sections {
    display: grid;
    gap: 10px;
}

.product-detail-sections section {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
    background: #ffffff;
}

.product-detail-sections h3,
.product-detail-sections p {
    margin: 0;
}

.product-detail-sections h3 {
    color: var(--ink);
    font-size: 0.88rem;
    font-weight: 900;
}

.product-detail-sections p {
    margin-top: 7px;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ai-heading strong,
.ai-heading span {
    display: block;
}

.ai-heading strong {
    font-size: 1.14rem;
}

.ai-heading span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 800;
}

.cart-lines {
    display: grid;
    gap: 10px;
    overflow-y: auto;
    padding-right: 2px;
}

.ai-messages {
    min-height: 220px;
    flex: 1;
    display: grid;
    align-content: start;
    gap: 10px;
    overflow-y: auto;
    padding: 4px 2px;
}

.ai-message {
    max-width: 88%;
    padding: 10px 12px;
    border-radius: 8px;
    line-height: 1.45;
    font-size: 0.92rem;
}

.ai-message p {
    margin: 0;
}

.ai-message p + p {
    margin-top: 10px;
}

.ai-answer-list {
    display: grid;
    gap: 8px;
}

.ai-answer-list div {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
    gap: 8px;
}

.ai-answer-list span {
    width: 7px;
    height: 7px;
    margin-top: 8px;
    border-radius: 999px;
    background: var(--accent);
}

.ai-message-assistant {
    justify-self: start;
    color: var(--ink);
    border: 1px solid rgba(232, 224, 234, 0.9);
    background: linear-gradient(180deg, #ffffff, var(--soft));
    box-shadow: 0 8px 20px rgba(34, 23, 47, 0.05);
}

.ai-message-user {
    justify-self: end;
    color: #ffffff;
    background: var(--ink);
}

.ai-suggestions {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
}

.ai-suggestions button {
    flex: 0 0 auto;
    min-height: 36px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
    color: var(--ink);
    background: #ffffff;
    font-weight: 900;
    white-space: nowrap;
}

.ai-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.ai-form input {
    min-width: 0;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 13px;
    color: var(--ink);
}

.ai-form button {
    min-height: 44px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: var(--ink);
    font-weight: 900;
}

.cart-line {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    justify-content: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--soft);
}

.cart-line-main {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.cart-line-main span {
    overflow: hidden;
    color: var(--ink);
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-line-main small {
    color: var(--muted);
    font-weight: 800;
}

.cart-quantity {
    display: inline-grid;
    grid-template-columns: 34px 34px 34px;
    align-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
}

.cart-quantity button {
    width: 34px;
    min-height: 34px;
    border: 0;
    color: var(--ink);
    background: transparent;
    font-size: 1.1rem;
    font-weight: 900;
}

.cart-quantity strong {
    text-align: center;
    font-size: 0.92rem;
}

.cart-remove {
    grid-column: 1 / -1;
    justify-self: start;
    min-height: 30px;
    border: 0;
    padding: 0;
    color: var(--muted);
    background: transparent;
    font-weight: 900;
    text-decoration: underline;
}

.empty-cart {
    color: var(--muted);
}

.cart-total {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.checkout-button {
    min-height: 46px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: var(--whatsapp);
    font-weight: 900;
}

.checkout-button:disabled {
    cursor: wait;
    opacity: 0.72;
}

.checkout-details {
    display: grid;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}

.checkout-details label {
    display: grid;
    gap: 6px;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 900;
}

.checkout-details input {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
    color: var(--ink);
    background: #ffffff;
    font: inherit;
}

.checkout-note,
.checkout-status {
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.checkout-status {
    color: var(--ink);
    font-weight: 900;
}

.chat-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 20;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #ffffff;
    background: var(--whatsapp);
    text-decoration: none;
    box-shadow: 0 16px 28px rgba(37, 211, 102, 0.28);
    font-size: 0.82rem;
    font-weight: 900;
}

.ai-float-button {
    position: fixed;
    right: 24px;
    bottom: 90px;
    z-index: 20;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: var(--ink);
    box-shadow: 0 16px 28px rgba(21, 29, 50, 0.22);
    font-weight: 900;
}

[hidden] {
    display: none !important;
}

@media (min-width: 1500px) {
    .product-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 1020px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .shop-hero {
        padding: 14px 10px 34px;
    }

    .hero-frame {
        aspect-ratio: 1717 / 916;
        height: auto;
    }

    .hero-arrow {
        width: 34px;
        height: 34px;
        font-size: 1.35rem;
    }

    .hero-arrow-prev {
        left: 9px;
    }

    .hero-arrow-next {
        right: 9px;
    }

    .hero-dots {
        bottom: 9px;
        min-height: 30px;
        padding: 5px 7px;
        gap: 5px;
    }

    .hero-dot {
        width: 20px;
        height: 20px;
        font-size: 0.66rem;
    }

    .hero-dot.is-active {
        width: 29px;
    }

    .shop-actions {
        margin-top: -22px;
    }

    .promo-banner {
        grid-template-columns: 1fr;
        min-height: 150px;
    }

    .promo-mark {
        display: none;
    }

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

    .product-media {
        height: clamp(176px, 46vw, 238px);
        padding: 40px 14px 22px;
    }

    .product-media img {
        max-width: 88%;
        max-height: 158px;
    }

    .product-info {
        min-height: 244px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slides {
        transition: none;
    }

    .hero-slide.is-active img {
        animation: none;
    }
}

@media (max-width: 520px) {
    .shop-page {
        padding-inline: 10px;
    }

    .shop-actions {
        grid-template-columns: 40px minmax(0, 1fr) 40px 40px 48px;
        gap: 7px;
    }

    .icon-button {
        width: 40px;
        min-height: 40px;
    }

    .shop-search input {
        min-height: 40px;
        padding-inline: 12px;
        font-size: 0.92rem;
    }

    .category-pill {
        min-height: 38px;
        padding-inline: 12px;
        font-size: 0.86rem;
    }

    .product-grid {
        gap: 10px;
        border: 0;
        background: transparent;
    }

    .shop-card {
        border-radius: 8px;
        border: 1px solid var(--line);
    }

    .product-media {
        height: clamp(164px, 47vw, 206px);
        padding: 38px 10px 20px;
    }

    .product-media img {
        max-height: 132px;
    }

    .product-info {
        min-height: 224px;
        padding: 16px 12px 13px;
    }

    .new-badge {
        min-height: 25px;
        padding-inline: 9px;
        font-size: 0.78rem;
    }

    .wish-button {
        width: 30px;
        height: 30px;
        font-size: 1.35rem;
    }

    .add-button {
        width: 46px;
        height: 46px;
        bottom: -18px;
    }

    .sold-badge {
        top: 7px;
        left: 7px;
        min-height: 22px;
        padding-inline: 8px;
        font-size: 0.68rem;
    }

    .social-follow {
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        margin-top: 28px;
        padding: 14px;
    }

    .social-links {
        justify-content: space-between;
        gap: 8px;
    }

    .social-link {
        width: 42px;
        height: 42px;
    }

    .cart-panel,
    .product-panel,
    .ai-panel {
        width: 100%;
    }

    .product-detail-media {
        min-height: 214px;
        padding: 18px;
    }

    .product-detail-media img {
        max-height: 190px;
    }

    .chat-button {
        right: 14px;
        bottom: 14px;
        width: 50px;
        height: 50px;
    }

    .ai-float-button {
        right: 14px;
        bottom: 76px;
        width: 50px;
        height: 50px;
    }

    .ai-message {
        max-width: 94%;
    }
}

@media (max-width: 360px) {
    .shop-hero {
        padding: 10px 8px 30px;
    }

    .hero-frame {
        aspect-ratio: 1717 / 916;
        height: auto;
    }

    .shop-actions {
        grid-template-columns: 36px minmax(0, 1fr) 36px 36px 44px;
        gap: 6px;
    }

    .icon-button {
        width: 36px;
        min-height: 36px;
        font-size: 0.9rem;
    }

    .shop-search input {
        min-height: 36px;
        font-size: 0.84rem;
    }

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

    .product-info {
        padding: 8px;
        min-height: 206px;
    }

    .product-info h2 {
        font-size: 0.76rem;
    }

    .product-info p {
        font-size: 1rem;
    }

    .product-media {
        height: 148px;
    }

    .product-media img {
        max-height: 112px;
    }
}
