/* ==================================================
   HYPE & STYLE — PÁGINA INICIAL E DESPORTO
   Carregado depois de style.css
   ================================================== */

:root {
    --hs-ink: #171717;
    --hs-paper: #ffffff;
    --hs-cream: #f5f3ef;
    --hs-muted: #77736e;
    --hs-line: #e8e6e2;

    /* O JavaScript ajusta este valor à altura do cabeçalho. */
    --hs-header-height: 0px;
}

/* ACESSIBILIDADE */

.hs-carousel [hidden],
.hs-category-empty[hidden],
.hs-sport-page [hidden],
.hs-home #shop .product-card[hidden] {
    display: none !important;
}

.hs-carousel a:focus-visible,
.hs-carousel button:focus-visible,
.hs-category-bar a:focus-visible,
.hs-sport-page a:focus-visible,
.hs-sport-page button:focus-visible,
.hs-sport-page input:focus-visible,
.hs-sport-page select:focus-visible {
    outline: 3px solid #847766;
    outline-offset: 4px;
}

/* ==================================================
   CARROSSEL
   ================================================== */

.hs-carousel {
    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
    background: var(--hs-cream);
    color: var(--hs-paper);
    touch-action: pan-y pinch-zoom;
    scroll-margin-top: var(--hs-header-height);
}

.hs-slides {
    position: relative;
    height: clamp(360px, 34vw, 480px);
}

.hs-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #282724;
}

.hs-slide.is-active {
    z-index: 1;
    animation: hs-slide-enter 550ms ease both;
}

@keyframes hs-slide-enter {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hs-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.hs-slide:not(.hs-slide-categories)::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0.34) 48%,
            rgba(0, 0, 0, 0.08) 100%
        );
}

.hs-slide-content {
    position: relative;
    z-index: 1;
    width: min(720px, 70%);
    padding: 24px 0 66px;
    margin-left: 6%;
}

.hs-slide-content .eyebrow {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 11px;
    letter-spacing: 0.16em;
}

.hs-slide-content h1,
.hs-slide-content h2 {
    margin: 0;
    color: var(--hs-paper);
    font-family: var(--font-heading, "Montserrat", sans-serif);
    font-size: clamp(38px, 4.8vw, 68px);
    font-weight: 800;
    line-height: 1.07;
    letter-spacing: -0.045em;
    max-width: 650px;
    text-wrap: balance;
}

.hs-slide-content > p:not(.eyebrow) {
    max-width: 440px;
    margin: 18px 0 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
}

.hs-slide-content .primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 24px;
    border: 1px solid var(--hs-paper);
    background: var(--hs-paper);
    color: var(--hs-ink);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background-color 180ms ease,
        color 180ms ease;
}

.hs-slide-content .primary-button:hover {
    background: var(--hs-ink);
    border-color: var(--hs-ink);
    color: var(--hs-paper);
}

/* SLIDE COM TRÊS CATEGORIAS */

.hs-slide-categories {
    background: var(--hs-cream);
    color: var(--hs-ink);
}

.hs-category-content {
    width: min(1080px, 88%);
    margin: 0 auto;
    padding: 20px 0 66px;
}

.hs-category-content > .eyebrow {
    margin: 0 0 8px;
    color: var(--hs-muted);
    font-size: 10px;
    letter-spacing: 0.16em;
}

.hs-category-content h2 {
    margin: 0 0 20px;
    font-family: var(--font-heading, "Montserrat", sans-serif);
    font-size: clamp(25px, 3vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.hs-category-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hs-category-card {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--hs-line);
    background: var(--hs-paper);
    color: var(--hs-ink);
    text-decoration: none;
}

.hs-category-card > img {
    display: block;
    width: 100%;
    height: clamp(130px, 13vw, 190px);
    object-fit: cover;
    transition: transform 250ms ease;
}

.hs-category-card:nth-child(2) > img {
    object-fit: contain;
    background: #f0f0ee;
}

.hs-category-card:hover > img {
    transform: scale(1.025);
}

.hs-category-card > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 700;
}

/* CONTROLOS */

.hs-carousel-controls {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 12px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: calc(100% - 24px);
    margin: 0 auto;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    background: rgba(23, 23, 23, 0.85);
    color: var(--hs-paper);
}

.hs-carousel-controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.hs-carousel-controls button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hs-carousel-controls .hs-carousel-arrow {
    font-size: 29px;
    line-height: 1;
}

.hs-carousel-dots {
    display: flex;
    align-items: center;
    gap: 0;
}

.hs-carousel-dots button {
    position: relative;
    min-width: 32px;
    width: 32px;
    font-size: 0;
}

.hs-carousel-dots button::before {
    content: "";
    width: 7px;
    height: 7px;
    border: 1px solid var(--hs-paper);
    border-radius: 50%;
    background: transparent;
    transition:
        background-color 180ms ease,
        transform 180ms ease;
}

.hs-carousel-dots button[aria-current="true"]::before {
    background: var(--hs-paper);
    transform: scale(1.2);
}

.hs-carousel-controls .hs-carousel-pause {
    min-width: 76px;
    padding: 0 12px;
    border-radius: 22px;
    font-size: 11px;
    font-weight: 600;
}

/* ==================================================
   BARRA DE CATEGORIAS
   ================================================== */

.hs-category-bar {
    position: sticky;
    top: var(--hs-header-height);
    z-index: 15;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: clamp(18px, 4vw, 54px);
    min-height: 56px;
    padding: 0 16px;
    border-bottom: 1px solid var(--hs-line);
    background: var(--hs-cream);
}

.hs-category-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 2px;
    border-bottom: 2px solid transparent;
    color: var(--hs-muted);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition:
        color 180ms ease,
        border-color 180ms ease;
}

.hs-category-bar a:hover,
.hs-category-bar a[aria-current="true"] {
    border-bottom-color: var(--hs-ink);
    color: var(--hs-ink);
}

.hs-category-bar a[aria-current="true"] {
    font-weight: 700;
}

/* ==================================================
   PRODUTOS DA PÁGINA INICIAL
   ================================================== */

.hs-home #shop {
    padding: 30px 4% 64px;
    scroll-margin-top: calc(var(--hs-header-height) + 72px);
}

.hs-home #shop .section-heading {
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 24px;
}

.hs-home #shop .section-heading .eyebrow {
    margin-bottom: 6px;
    font-size: 10px;
}

.hs-home #shop .section-heading h2 {
    font-size: clamp(23px, 2.8vw, 36px);
    line-height: 1.2;
}

.hs-home #shop .text-link {
    flex-shrink: 0;
    font-size: 12px;
}

.hs-home #shop .product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px 18px;
}

.hs-home #shop .product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hs-home #shop .product-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #f1f0ed;
}

.hs-home #shop .product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
    padding: 13px 0;
}

.hs-home #shop .product-info h3 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.hs-home #shop .product-info p {
    margin-top: 3px;
    color: var(--hs-muted);
    font-size: 11px;
    line-height: 1.5;
}

.hs-home #shop .product-info strong {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.hs-home #shop .add-button {
    width: 100%;
    min-height: 42px;
    margin-top: auto;
    padding: 10px 8px;
    font-size: 11px;
}

.hs-category-empty {
    padding: 28px 20px;
    margin-bottom: 24px;
    border: 1px solid var(--hs-line);
    background: var(--hs-cream);
    color: var(--hs-muted);
    text-align: center;
    font-size: 14px;
}

/* ==================================================
   PÁGINA DESPORTO
   ================================================== */

.hs-sport-page {
    width: min(1440px, 92%);
    margin: 0 auto;
    padding: 32px 0 64px;
}

.hs-sport-heading {
    margin-bottom: 24px;
}

.hs-sport-heading .eyebrow {
    margin-bottom: 8px;
    color: var(--hs-muted);
    font-size: 10px;
}

.hs-sport-heading h1 {
    margin: 0 0 10px;
    font-family: var(--font-heading, "Montserrat", sans-serif);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.hs-sport-heading > p:not(.eyebrow) {
    max-width: 640px;
    color: var(--hs-muted);
    font-size: 14px;
}

/* CLUBES NA HORIZONTAL */

.hs-club-section {
    margin-bottom: 28px;
}

.hs-club-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.hs-club-section-heading h2 {
    font-size: 16px;
    font-weight: 700;
}

.hs-club-controls {
    display: flex;
    gap: 8px;
}

.hs-club-controls button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--hs-line);
    background: var(--hs-paper);
    color: var(--hs-ink);
    font-size: 23px;
    cursor: pointer;
}

.hs-club-controls button:disabled {
    opacity: 0.35;
    cursor: default;
}

.hs-club-strip {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #c9c5be transparent;
    overscroll-behavior-x: contain;
}

.hs-club-card {
    display: flex;
    flex: 0 0 150px;
    flex-direction: column;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--hs-line);
    background: var(--hs-paper);
    color: var(--hs-ink);
    font: inherit;
    text-align: left;
    text-decoration: none;
    scroll-snap-align: start;
    cursor: pointer;
}

.hs-club-card img {
    width: 100%;
    height: 105px;
    object-fit: cover;
    background: var(--hs-cream);
}

.hs-club-card span {
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
}

.hs-club-card:hover,
.hs-club-card[aria-pressed="true"] {
    border-color: var(--hs-ink);
}

.hs-club-card[aria-pressed="true"] {
    box-shadow: inset 0 -3px var(--hs-ink);
}

/* CATEGORIAS DE DESPORTO */

.hs-sport-categories {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--hs-line);
    scrollbar-width: thin;
}

.hs-sport-categories button {
    flex-shrink: 0;
    min-height: 46px;
    padding: 10px 2px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--hs-muted);
    font: inherit;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}

.hs-sport-categories button:hover,
.hs-sport-categories button[aria-pressed="true"] {
    border-bottom-color: var(--hs-ink);
    color: var(--hs-ink);
}

.hs-sport-categories button[aria-pressed="true"] {
    font-weight: 700;
}

/* FILTROS */

.hs-sport-filters {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
    gap: 12px;
    margin-bottom: 18px;
}

.hs-filter-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    margin: 0;
}

.hs-filter-field > span,
.hs-filter-field > label {
    color: var(--hs-muted);
    font-size: 11px;
    font-weight: 600;
}

.hs-sport-page select,
.hs-sport-page input[type="search"],
.hs-sport-page input[type="number"] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--hs-line);
    border-radius: 0;
    background: var(--hs-paper);
    color: var(--hs-ink);
    font: inherit;
    font-size: 12px;
}

.hs-sport-page select:disabled,
.hs-sport-page input:disabled {
    background: var(--hs-cream);
    color: var(--hs-muted);
    cursor: default;
}

.hs-price-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.hs-sport-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 22px;
}

.hs-sport-result-count {
    margin: 0;
    color: var(--hs-muted);
    font-size: 12px;
}

.hs-clear-filters {
    min-height: 40px;
    padding: 6px 0;
    border: 0;
    background: transparent;
    color: var(--hs-ink);
    font: inherit;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.hs-filter-error {
    margin-bottom: 14px;
    color: #9c2929;
    font-size: 12px;
}

/* PRODUTOS DE DESPORTO */

.hs-sport-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 18px;
}

.hs-sport-card {
    position: relative;
    min-width: 0;
}

.hs-sport-product-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.hs-sport-product-image {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--hs-cream);
}

.hs-sport-product-image > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 250ms ease;
}

.hs-sport-product-link:hover .hs-sport-product-image > img {
    transform: scale(1.025);
}

.hs-sport-product-info {
    padding-top: 12px;
}

.hs-sport-product-info h3 {
    margin: 0 0 5px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.hs-sport-product-info p {
    margin: 0 0 8px;
    color: var(--hs-muted);
    font-size: 11px;
}

.hs-sport-product-info strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
}

/* ESTADO SEM PRODUTOS */

.hs-sport-empty {
    padding: 42px 20px;
    border: 1px solid var(--hs-line);
    background: var(--hs-cream);
    text-align: center;
}

.hs-sport-empty h2 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.3;
}

.hs-sport-empty p {
    max-width: 520px;
    margin: 0 auto;
    color: var(--hs-muted);
    font-size: 14px;
}

.hs-sport-empty a {
    display: inline-block;
    margin-top: 20px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ==================================================
   TABLETS
   ================================================== */

@media (max-width: 1100px) {
    .hs-home #shop .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hs-sport-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hs-sport-filters {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .hs-home #shop .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hs-slide-content {
        width: 82%;
    }
}

/* ==================================================
   TELEMÓVEIS — DUAS COLUNAS
   ================================================== */

@media (max-width: 650px) {
    .hs-slides {
        height: 310px;
        height: clamp(260px, 44svh, 340px);
    }

    .hs-slide-content {
        width: 87%;
        margin-left: 6%;
        padding: 14px 0 64px;
    }

    .hs-slide-content .eyebrow {
        margin-bottom: 10px;
        font-size: 8px;
        letter-spacing: 0.11em;
    }

    .hs-slide-content h1,
    .hs-slide-content h2 {
        max-width: 360px;
        font-size: clamp(29px, 8.3vw, 42px);
        line-height: 1.08;
    }

    .hs-slide-content > p:not(.eyebrow) {
        max-width: 290px;
        margin: 12px 0 16px;
        font-size: 12px;
        line-height: 1.45;
    }

    .hs-slide-content .primary-button {
        min-height: 42px;
        padding: 10px 17px;
        font-size: 11px;
    }

    .hs-slide-image {
        object-position: center;
    }

    .hs-category-content {
        width: 90%;
        padding: 12px 0 64px;
    }

    .hs-category-content > .eyebrow {
        margin-bottom: 6px;
        font-size: 8px;
    }

    .hs-category-content h2 {
        margin-bottom: 13px;
        font-size: clamp(21px, 6vw, 29px);
    }

    .hs-category-cards {
        gap: 8px;
    }

    .hs-category-card > img {
        height: clamp(85px, 24vw, 125px);
    }

    .hs-category-card > span {
        gap: 3px;
        padding: 9px 7px;
        font-size: 11px;
    }

    .hs-carousel-controls {
        bottom: 8px;
        gap: 3px;
        padding: 2px 5px;
    }

    .hs-carousel-controls .hs-carousel-pause {
        min-width: 70px;
        padding: 0 8px;
        font-size: 10px;
    }

    .hs-category-bar {
        gap: 24px;
        min-height: 48px;
        padding: 0 12px;
    }

    .hs-category-bar a {
        min-height: 48px;
        font-size: 12px;
    }

    .hs-home #shop {
        padding: 22px 4% 40px;
        scroll-margin-top: calc(var(--hs-header-height) + 62px);
    }

    .hs-home #shop .section-heading {
        gap: 10px;
        margin-bottom: 18px;
    }

    .hs-home #shop .section-heading h2 {
        font-size: 22px;
    }

    .hs-home #shop .section-heading .eyebrow {
        font-size: 8px;
    }

    .hs-home #shop .text-link {
        max-width: 125px;
        font-size: 10px;
        text-align: right;
    }

    .hs-home #shop .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
    }

    .hs-home #shop .product-info {
        gap: 6px;
        padding: 10px 0;
    }

    .hs-home #shop .product-info h3 {
        font-size: 12px;
    }

    .hs-home #shop .product-info p {
        font-size: 10px;
    }

    .hs-home #shop .product-info strong {
        font-size: 13px;
    }

    .hs-home #shop .product-label {
        top: 8px;
        left: 8px;
        padding: 4px 6px;
        font-size: 8px;
    }

    .hs-home #shop .add-button {
        font-size: 10px;
    }

    .hs-sport-page {
        width: 92%;
        padding: 24px 0 40px;
    }

    .hs-sport-heading {
        margin-bottom: 20px;
    }

    .hs-sport-heading h1 {
        font-size: 29px;
    }

    .hs-sport-heading > p:not(.eyebrow) {
        font-size: 12px;
    }

    .hs-club-card {
        flex-basis: 122px;
    }

    .hs-club-card img {
        height: 88px;
    }

    .hs-club-card span {
        padding: 9px 10px;
        font-size: 11px;
    }

    .hs-sport-categories {
        gap: 18px;
    }

    .hs-sport-categories button {
        font-size: 12px;
    }

    .hs-sport-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 10px;
    }

    .hs-sport-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 12px;
    }

    .hs-sport-product-info h3 {
        font-size: 12px;
    }

    .hs-sport-product-info strong {
        font-size: 13px;
    }

    .hs-sport-empty {
        padding: 30px 18px;
    }

    .hs-sport-empty h2 {
        font-size: 19px;
    }

    .hs-sport-empty p {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .hs-category-bar {
        gap: 18px;
    }

    .hs-category-content h2 {
        font-size: 21px;
    }

    .hs-category-card > span {
        padding: 8px 5px;
        font-size: 10px;
    }

    .hs-home #shop .section-heading h2 {
        font-size: 20px;
    }
}

/* RESPEITA A PREFERÊNCIA POR MENOS MOVIMENTO */

@media (prefers-reduced-motion: reduce) {
    .hs-slide.is-active {
        animation: none;
    }

    .hs-carousel *,
    .hs-club-strip,
    .hs-category-bar *,
    .hs-sport-grid * {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
@media (max-width: 650px) {
    .account-dropdown {
        z-index: 1000;
    }

    .account-menu-panel {
        right: auto;
        left: 50%;
        width: min(320px, calc(100vw - 24px));
        max-width: calc(100vw - 24px);
        transform: translateX(-50%);
    }

    .account-menu-panel::before {
        right: auto;
        left: calc(50% - 7px);
    }
}
@media (max-width: 650px) {
    #shop .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        text-align: left;
    }

    #shop .section-heading > div {
        width: 100%;
        text-align: left;
    }

    #shop .section-heading .eyebrow,
    #shop .section-heading h2 {
        text-align: left;
    }

    #shop .section-heading .text-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        padding: 0 20px;
        border-radius: 4px;
        background: #176b5b;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
    }
}
/* Manter a barra de categorias na posição original */
.hs-category-bar {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
}
/* Corrigir o menu de conta no telemóvel e tablet */
@media (max-width: 900px) {
    .store-header,
    .store-header-main {
        overflow: visible !important;
    }

    .store-header {
        z-index: 10000 !important;
    }

    #account-dropdown {
        position: relative !important;
        overflow: visible !important;
        opacity: 1 !important;
    }

    #account-dropdown[open] > .account-menu-panel {
        display: block !important;
        position: absolute !important;
        top: calc(100% + 16px) !important;
        right: -90px !important;
        left: auto !important;
        transform: none !important;

        width: min(330px, calc(100vw - 32px)) !important;
        min-width: 0 !important;
        height: auto !important;
        max-height: 65vh !important;
        max-height: 65dvh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;

        padding: 16px !important;
        box-sizing: border-box !important;
        background: #ffffff !important;
        color: #171717 !important;
        border: 1px solid #e8e6e2 !important;
        border-radius: 12px !important;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2) !important;

        opacity: 1 !important;
        visibility: visible !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        z-index: 10001 !important;
    }

    #account-dropdown .account-menu-panel::before {
        display: none !important;
    }

    #account-dropdown .account-menu-heading {
        display: block !important;
        padding-bottom: 14px !important;
        margin-bottom: 8px !important;
        border-bottom: 1px solid #e8e6e2 !important;
        color: #171717 !important;
    }

    /* Mostrar a navegação da conta no ecrã pequeno */
    #account-dropdown .account-menu-links,
    #account-dropdown .account-menu-footer {
        display: flex !important;
        flex-direction: column !important;
        position: static !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
        transform: none !important;
        background: #fff !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    #account-dropdown .account-menu-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: static !important;
        width: 100% !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 12px 6px !important;
        box-sizing: border-box !important;
        border: 0 !important;
        border-bottom: 1px solid #eeeeee !important;
        background: #fff !important;
        color: #171717 !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        text-align: left !important;
        text-decoration: none !important;
        white-space: normal !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    #account-dropdown .account-menu-link span,
    #account-dropdown .account-menu-heading a,
    #account-dropdown .account-menu-heading strong {
        color: #171717 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    #account-dropdown .account-menu-link span {
        display: inline !important;
    }

    #account-dropdown .account-menu-link:hover {
        background: #f5f3ef !important;
    }
}
/* Loja: nome, descrição e preço por baixo da imagem. */
.shop-grid .shop-product-card .product-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    margin: 16px 0;
}

.shop-grid .shop-product-card .product-info > div {
    width: 100%;
    min-width: 0;
}

.shop-grid .shop-product-card .product-info h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
}

.shop-grid .shop-product-card .product-info p {
    margin: 0;
    color: #77736e;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.shop-grid .shop-product-card .product-info > strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

/* Botão com fundo transparente e contorno. */
.shop-grid .shop-product-card .add-product-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 14px 10px;
    border: 1px solid #cbc7c0;
    background: transparent;
    color: #171717;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color 0.2s,
        color 0.2s,
        border-color 0.2s;
}

.shop-grid .shop-product-card .add-product-button:hover {
    border-color: #171717;
    background: #171717;
    color: #fff;
}

@media (max-width: 600px) {
    .shop-grid .shop-product-card .product-info h3 {
        font-size: 14px;
    }

    .shop-grid .shop-product-card .product-info p {
        font-size: 12px;
    }

    .shop-grid .shop-product-card .product-info > strong {
        font-size: 16px;
    }

    .shop-grid .shop-product-card .add-product-button {
        font-size: 11px;
    }
}