/* ESTILO BASE */
:root {
    --color-black: #171717;
    --color-white: #ffffff;
    --color-cream: #f5f3ef;
    --color-gray: #77736e;
    --color-light-gray: #e8e6e2;
    --font-text: "Inter", sans-serif;
    --font-heading: "Montserrat", sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-white);
    color: var(--color-black);
    font-family: var(--font-text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

section {
    scroll-margin-top: 90px;
}

/* BARRA SUPERIOR */
.announcement {
    padding: 9px 16px;
    background: var(--color-black);
    color: var(--color-white);
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* CABEÇALHO */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    padding: 0 6%;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--color-light-gray);
}

.logo {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.07em;
    white-space: nowrap;
}

.logo span {
    color: var(--color-gray);
}

.navigation {
    display: flex;
    align-items: center;
    gap: 34px;
}

.navigation a,
.header-actions button {
    font-size: 12px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.navigation a:hover,
.header-actions button:hover {
    opacity: 0.55;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-actions button {
    padding: 5px 0;
    background: none;
    border: 0;
    cursor: pointer;
}

#cart-count {
    display: inline-grid;
    width: 19px;
    height: 19px;
    margin-left: 4px;
    place-items: center;
    border: 1px solid var(--color-light-gray);
    border-radius: 50%;
    font-size: 10px;
}

.menu-toggle {
    display: none;
    padding: 5px;
    background: none;
    border: 0;
    font-size: 23px;
    cursor: pointer;
}

/* TÍTULOS E BOTÕES */
.eyebrow {
    margin-bottom: 13px;
    color: var(--color-gray);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -0.055em;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 25px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.primary-button {
    background: var(--color-white);
    color: var(--color-black);
}

.primary-button:hover {
    background: var(--color-black);
    color: var(--color-white);
}

.secondary-button {
    border: 1px solid var(--color-black);
}

.secondary-button:hover {
    background: var(--color-black);
    color: var(--color-white);
}

/* CAPA PRINCIPAL */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(690px, 78vw);
    padding: 80px 10%;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.08)),
        url("https://images.unsplash.com/photo-1529139574466-a303027c1d8b?auto=format&fit=crop&w=2000&q=90")
        center 38% / cover no-repeat;
    color: var(--color-white);
}

.hero-content {
    position: relative;
    max-width: 590px;
}

.hero .eyebrow {
    color: rgba(255, 255, 255, 0.75);
}

.hero h1 {
    margin-bottom: 22px;
    font-size: clamp(64px, 10vw, 126px);
    font-weight: 800;
    line-height: 0.88;
    letter-spacing: -0.09em;
}

.hero-text {
    max-width: 390px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 15px;
}

/* INTRODUÇÃO */
.intro-section {
    max-width: 760px;
    margin: 0 auto;
    padding: 105px 24px 95px;
    text-align: center;
}

.intro-section h2 {
    margin-bottom: 17px;
}

.intro-section > p:last-child {
    max-width: 520px;
    margin: 0 auto;
    color: var(--color-gray);
    font-size: 14px;
}

/* PRODUTOS */
.products-section {
    padding: 75px 6% 105px;
    background: var(--color-cream);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 35px;
}

.section-heading h2 {
    font-size: clamp(30px, 4vw, 42px);
}

.text-link {
    padding-bottom: 5px;
    border-bottom: 1px solid var(--color-black);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.product-card {
    min-width: 0;
}

.product-image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--color-light-gray);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-label {
    position: absolute;
    top: 13px;
    left: 13px;
    z-index: 1;
    padding: 6px 9px;
    background: var(--color-white);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-info {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 15px 0 12px;
}

.product-info h3 {
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: 700;
}

.product-info p {
    color: var(--color-gray);
    font-size: 11px;
}

.product-info strong {
    font-size: 12px;
    white-space: nowrap;
}

.add-button {
    width: 100%;
    min-height: 41px;
    background: transparent;
    border: 1px solid #c9c6c0;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s ease, color 0.2s ease;
}

.add-button:hover {
    background: var(--color-black);
    border-color: var(--color-black);
    color: var(--color-white);
}

/* HISTÓRIA DA MARCA */
.story-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 540px;
}

.story-image {
    min-height: 440px;
    background:
        url("https://images.unsplash.com/photo-1523398002811-999ca8dec234?auto=format&fit=crop&w=1200&q=85")
        center / cover no-repeat;
}

.story-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 75px 12%;
}

.story-content h2 {
    max-width: 500px;
    margin-bottom: 20px;
    font-size: clamp(32px, 4vw, 48px);
}

.story-content > p:not(.eyebrow) {
    max-width: 440px;
    margin-bottom: 27px;
    color: var(--color-gray);
    font-size: 13px;
}

/* NEWSLETTER */
.newsletter {
    padding: 90px 20px;
    background: var(--color-cream);
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 12px;
}

.newsletter > p:not(.eyebrow) {
    margin-bottom: 27px;
    color: var(--color-gray);
    font-size: 13px;
}

.newsletter-form {
    display: flex;
    width: min(100%, 440px);
    margin: 0 auto;
    border-bottom: 1px solid var(--color-black);
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 14px 4px;
    background: transparent;
    border: 0;
    outline: none;
    font-size: 12px;
}

.newsletter-form button {
    padding: 0 5px 0 15px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* RODAPÉ */
.footer {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 55px;
    padding: 60px 6% 20px;
    background: var(--color-black);
    color: var(--color-white);
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-brand .logo span {
    color: #aaa69f;
}

.footer-brand p {
    color: #aaa69f;
    font-size: 11px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.footer-links h3 {
    margin-bottom: 13px;
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links a {
    display: block;
    width: fit-content;
    margin: 8px 0;
    color: #aaa69f;
    font-size: 11px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    display: flex;
    grid-column: 1 / -1;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    padding-top: 18px;
    border-top: 1px solid #393939;
    color: #aaa69f;
    font-size: 10px;
}

/* TEXTO ACESSÍVEL, MAS ESCONDIDO VISUALMENTE */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* TABLETS */
@media (max-width: 900px) {
    .header {
        padding: 0 4%;
    }

    .navigation {
        gap: 18px;
    }

    .header-actions {
        gap: 13px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
    }

    .story-content {
        padding: 55px 9%;
    }
}

/* TELEMÓVEIS */
@media (max-width: 650px) {
    .announcement {
        font-size: 9px;
    }

    .header {
        min-height: 66px;
        padding: 0 5%;
    }

    .logo {
        font-size: 17px;
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        padding: 8px 5% 16px;
        background: var(--color-white);
        border-bottom: 1px solid var(--color-light-gray);
    }

    .navigation.active {
        display: flex;
        flex-direction: column;
    }

    .navigation a {
        padding: 13px 0;
        border-bottom: 1px solid var(--color-light-gray);
    }

    .header-actions {
        gap: 12px;
        margin-left: auto;
        margin-right: 12px;
    }

    .header-actions button {
        font-size: 11px;
    }

    .header-actions button:first-child,
    .header-actions button:nth-child(2) {
        display: none;
    }

    .hero {
        min-height: 590px;
        padding: 60px 7%;
        background-position: 58% center;
    }

    .hero h1 {
        font-size: clamp(65px, 17vw, 100px);
    }

    .hero-text {
        max-width: 300px;
        font-size: 13px;
    }

    .intro-section {
        padding: 75px 25px;
    }

    .products-section {
        padding: 65px 5% 75px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .product-grid {
        gap: 25px 12px;
    }

    .product-info {
        flex-direction: column;
        gap: 5px;
        padding-top: 11px;
    }

    .story-section {
        grid-template-columns: 1fr;
    }

    .story-image {
        min-height: 360px;
    }

    .story-content {
        padding: 55px 7%;
    }

    .newsletter {
        padding: 70px 20px;
    }

    .footer {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 45px 6% 18px;
    }

    .footer-links {
        gap: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }
}

/* ECRÃS MUITO PEQUENOS */
@media (max-width: 380px) {
    .header-actions {
        gap: 8px;
        margin-right: 7px;
    }

    .product-info h3 {
        font-size: 11px;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
}
/* Página de produtos */

.shop-header {
    padding: 72px 6% 48px;
    background: var(--color-cream);
}

.shop-header .eyebrow {
    margin-bottom: 16px;
}

.shop-header h1 {
    margin-bottom: 14px;
    font-size: clamp(44px, 7vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.shop-header > p:last-child {
    max-width: 520px;
    color: var(--color-gray);
    font-size: 14px;
}

.shop-section {
    max-width: 1600px;
    margin: 0 auto;
    padding: 34px 6% 100px;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-bottom: 28px;
    border-bottom: 1px solid var(--color-light-gray);
}

.filter-button {
    position: relative;
    padding: 0 0 13px;
    background: transparent;
    border: 0;
    color: var(--color-gray);
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
}

.filter-button:hover,
.filter-button.active {
    color: var(--color-black);
}

.filter-button.active::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    background: var(--color-black);
    content: "";
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 36px 20px;
}

.shop-product-card {
    min-width: 0;
}

.shop-product-image {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: var(--color-cream);
}

.shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.shop-product-card:hover .shop-product-image img {
    transform: scale(1.04);
}

.shop-product-image .product-label {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    padding: 6px 9px;
    background: var(--color-white);
    font-size: 9px;
}

.shop-product-card .product-info {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0 12px;
}

.add-product-button {
    width: 100%;
    min-height: 42px;
    background: var(--color-black);
    border: 1px solid var(--color-black);
    color: var(--color-white);
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.add-product-button:hover {
    background: var(--color-white);
    color: var(--color-black);
}

@media (max-width: 950px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .shop-header {
        padding: 52px 5% 38px;
    }

    .shop-section {
        padding: 28px 5% 70px;
    }

    .shop-product-card .product-info {
        flex-direction: column;
        gap: 4px;
    }
}
/* Página do carrinho */

.cart-page {
    max-width: 1300px;
    min-height: 55vh;
    margin: 0 auto;
    padding: 65px 6% 90px;
}

.cart-heading {
    margin-bottom: 38px;
}

.cart-heading h1 {
    font-size: clamp(38px, 6vw, 58px);
    line-height: 1;
    letter-spacing: -0.06em;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
    gap: 60px;
}

.cart-items-heading,
.summary-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-items-heading {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-light-gray);
}

.cart-items-heading h2,
.cart-summary h2 {
    font-size: 18px;
}

.cart-items-heading span,
.shipping-note {
    color: var(--color-gray);
    font-size: 12px;
}

.cart-item {
    display: grid;
    grid-template-columns: 115px 1fr;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.cart-item-image {
    width: 115px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--color-cream);
}

.cart-item-details h3 {
    margin-bottom: 6px;
    font-family: var(--font-text);
    font-size: 13px;
}

.cart-item-price {
    margin-bottom: 12px;
    font-size: 12px;
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 5px 9px;
    border: 1px solid var(--color-light-gray);
}

.quantity-controls button {
    width: 22px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 16px;
}

.quantity-controls span {
    min-width: 15px;
    text-align: center;
    font-size: 12px;
}

.remove-item {
    display: block;
    margin-top: 10px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--color-gray);
    cursor: pointer;
    font-size: 11px;
    text-decoration: underline;
}

.cart-summary {
    align-self: start;
    padding: 23px;
    background: var(--color-cream);
}

.cart-summary h2 {
    margin-bottom: 22px;
}

.summary-line {
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-light-gray);
    font-size: 13px;
}

.shipping-note {
    margin: 14px 0 20px;
}

.checkout-button {
    width: 100%;
    min-height: 46px;
    background: var(--color-black);
    border: 1px solid var(--color-black);
    color: var(--color-white);
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.continue-shopping {
    display: block;
    margin-top: 15px;
    text-align: center;
    font-size: 11px;
    text-decoration: underline;
}

.cart-empty {
    padding: 45px 20px 70px;
    text-align: center;
}

.cart-empty h2 {
    margin-bottom: 10px;
}

.cart-empty p {
    margin-bottom: 23px;
    color: var(--color-gray);
    font-size: 13px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 700px) {
    .cart-page {
        padding: 45px 5% 65px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cart-item {
        grid-template-columns: 90px 1fr;
        gap: 14px;
    }

    .cart-item-image {
        width: 90px;
    }
}
/* DETALHES DO PRODUTO */
.product-detail-page {
    width: min(1200px, 90%);
    margin: 0 auto;
    padding: 35px 0 90px;
}

.back-to-shop {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--color-gray, #77736e);
    font-size: 12px;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: start;
    gap: clamp(35px, 7vw, 90px);
}

.detail-image-wrap {
    overflow: hidden;
    background: var(--color-cream, #f5f3ef);
}

.detail-image-wrap img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.detail-information {
    padding-top: 15px;
}

.detail-information h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.detail-price {
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 600;
}

.detail-description {
    max-width: 470px;
    margin-bottom: 30px;
    color: var(--color-gray, #77736e);
    font-size: 13px;
    line-height: 1.8;
}

.detail-option {
    margin: 24px 0;
}

.option-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.option-heading h2 {
    font-family: var(--font-text, Arial, sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.option-heading span,
.option-heading a {
    color: var(--color-gray, #77736e);
    font-size: 12px;
}

.option-heading a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.color-options,
.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.color-option {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border: 1px solid #d8d5cf;
    border-radius: 50%;
    background: white;
    cursor: pointer;
}

.color-option::before {
    width: 25px;
    height: 25px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 50%;
    background: var(--swatch-color);
    content: "";
}

.color-option.selected {
    outline: 1px solid #171717;
    outline-offset: 3px;
}

.size-option {
    min-width: 48px;
    min-height: 43px;
    padding: 0 12px;
    border: 1px solid #d8d5cf;
    background: white;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.size-option:hover,
.size-option.selected {
    border-color: #171717;
    background: #171717;
    color: white;
}

.size-message {
    min-height: 20px;
    margin-top: 9px;
    color: #a33a32;
    font-size: 12px;
}

.detail-add-button {
    width: 100%;
    min-height: 52px;
    margin-top: 8px;
    border: 1px solid #171717;
    background: #171717;
    color: white;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}

.detail-add-button:hover {
    background: white;
    color: #171717;
}

.product-benefits {
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--color-light-gray, #e8e6e2);
    border-bottom: 1px solid var(--color-light-gray, #e8e6e2);
}

.product-benefits p,
.size-help {
    margin: 7px 0;
    color: var(--color-gray, #77736e);
    font-size: 11px;
}

.product-not-found {
    padding: 100px 20px;
    text-align: center;
}

.product-not-found h1 {
    margin-bottom: 25px;
}

@media (max-width: 760px) {
    .product-detail-page {
        width: 100%;
        padding: 22px 5% 65px;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .detail-image-wrap img {
        aspect-ratio: 4 / 4.5;
    }

    .detail-information {
        padding-top: 0;
    }
}
/* PÁGINA DE DETALHES DO PRODUTO */
.product-detail-page {
    width: min(1320px, 92%);
    margin: 0 auto;
    padding: 28px 0 80px;
}

.back-to-shop {
    display: inline-block;
    margin-bottom: 22px;
    color: var(--color-gray, #77736e);
    font-size: 12px;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    align-items: start;
    gap: clamp(40px, 7vw, 100px);
}

.detail-image-wrap {
    overflow: hidden;
    background: var(--color-cream, #f5f3ef);
}

.detail-image-wrap img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.detail-information {
    padding-top: 12px;
}

.detail-information h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.06em;
}

.detail-price {
    margin-bottom: 20px;
    font-size: 21px;
    font-weight: 600;
}

.detail-description {
    max-width: 520px;
    margin-bottom: 26px;
    color: var(--color-gray, #77736e);
    font-size: 13px;
    line-height: 1.8;
}

.detail-option {
    margin: 25px 0;
}

.option-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.option-heading h2 {
    font-family: var(--font-text, Arial, sans-serif);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.option-heading span,
.option-heading a {
    color: var(--color-gray, #77736e);
    font-size: 12px;
}

.option-heading a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.color-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.color-card {
    width: 88px;
    padding: 4px;
    border: 1px solid #d8d5cf;
    background: white;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.color-card:hover,
.color-card.selected {
    border: 2px solid var(--color-black, #171717);
    padding: 3px;
}

.color-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--color-cream, #f5f3ef);
}

.color-card span {
    display: block;
    padding: 7px 2px 4px;
    font-size: 10px;
    text-align: center;
}

.size-options {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.size-option {
    min-width: 48px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #d8d5cf;
    background: white;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.size-option:hover,
.size-option.selected {
    border-color: var(--color-black, #171717);
    background: var(--color-black, #171717);
    color: white;
}

.size-message {
    min-height: 18px;
    margin-top: 8px;
    color: #a33a32;
    font-size: 12px;
}

.detail-add-button {
    width: 100%;
    min-height: 54px;
    margin-top: 5px;
    border: 1px solid var(--color-black, #171717);
    background: var(--color-black, #171717);
    color: white;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s;
}

.detail-add-button:hover {
    background: white;
    color: var(--color-black, #171717);
}

.product-benefits {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding: 18px 0;
    border-top: 1px solid var(--color-light-gray, #e8e6e2);
    border-bottom: 1px solid var(--color-light-gray, #e8e6e2);
    color: var(--color-gray, #77736e);
    font-size: 10px;
}

.size-guide {
    margin-top: 15px;
    color: var(--color-gray, #77736e);
    font-size: 11px;
    line-height: 1.7;
}

.product-not-found {
    padding: 100px 20px;
    text-align: center;
}

@media (max-width: 760px) {
    .product-detail-page {
        width: 100%;
        padding: 20px 5% 60px;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .detail-information {
        padding-top: 0;
    }

    .detail-image-wrap img {
        aspect-ratio: 4 / 4.5;
    }

    .product-benefits {
        flex-wrap: wrap;
    }
}
.product-social-proof {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: -8px 0 20px;
    color: var(--color-gray, #77736e);
    font-size: 12px;
}

.rating-stars {
    color: #a88346;
    letter-spacing: 2px;
    font-size: 14px;
}

.product-social-proof strong {
    color: var(--color-black, #171717);
    font-size: 12px;
}

.proof-separator {
    color: #c9c6c0;
}
.cart-item-options {
    margin: 6px 0 12px;
    color: var(--color-gray, #77736e);
    font-size: 12px;
}
/* FINALIZAÇÃO DA COMPRA */
.checkout-page {
    width: min(1120px, 90%);
    margin: 0 auto;
    padding: 35px 0 90px;
}

.checkout-heading {
    margin-bottom: 35px;
}

.checkout-heading h1,
.checkout-confirmation h1,
.checkout-empty h1 {
    margin-bottom: 10px;
    font-size: clamp(34px, 5vw, 54px);
    letter-spacing: -0.06em;
}

.checkout-heading > p:last-child,
.checkout-empty p {
    color: var(--color-gray, #77736e);
    font-size: 13px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, 0.8fr);
    align-items: start;
    gap: 60px;
}

.checkout-form {
    display: grid;
    gap: 28px;
}

.checkout-section {
    display: grid;
    gap: 10px;
}

.checkout-section h2,
.checkout-summary h2 {
    margin-bottom: 8px;
    font-family: var(--font-heading, Arial, sans-serif);
    font-size: 19px;
}

.checkout-section label {
    font-size: 11px;
    font-weight: 600;
}

.checkout-section input,
.checkout-section select {
    width: 100%;
    min-height: 45px;
    padding: 10px 12px;
    border: 1px solid #d8d5cf;
    background: white;
    font: inherit;
    font-size: 12px;
}

.checkout-section input:focus,
.checkout-section select:focus {
    outline: 1px solid #171717;
    border-color: #171717;
}

.checkout-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.checkout-field-row > div {
    display: grid;
    gap: 10px;
}

.payment-choice {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d8d5cf;
    cursor: pointer;
}

.payment-choice input {
    width: auto;
    min-height: auto;
    accent-color: #171717;
}

.payment-note,
.checkout-demo-note {
    color: var(--color-gray, #77736e);
    font-size: 11px;
    line-height: 1.6;
}

.checkout-summary {
    padding: 24px;
    background: var(--color-cream, #f5f3ef);
}

.checkout-summary h2 {
    margin-bottom: 20px;
}

.checkout-item {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #dedbd5;
}

.checkout-item img {
    width: 58px;
    height: 70px;
    object-fit: cover;
    background: #e8e6e2;
}

.checkout-item strong,
.checkout-item > span {
    font-size: 11px;
}

.checkout-item p {
    margin-top: 5px;
    color: var(--color-gray, #77736e);
    font-size: 10px;
}

.checkout-total-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
    font-size: 12px;
}

.checkout-grand-total {
    padding-top: 16px;
    border-top: 1px solid #c9c6c0;
    font-size: 15px;
    font-weight: 700;
}

.shipping-note {
    margin-top: 17px;
    color: var(--color-gray, #77736e);
    font-size: 11px;
    line-height: 1.6;
}

.checkout-empty,
.checkout-confirmation {
    padding: 80px 15px;
    text-align: center;
}

.checkout-confirmation .checkout-demo-note {
    margin: 18px auto 25px;
}

.checkout-page .checkout-button {
    width: 100%;
    min-height: 52px;
    border: 1px solid #171717;
    background: #171717;
    color: white;
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-page .checkout-button:hover {
    background: white;
    color: #171717;
}

@media (max-width: 800px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 520px) {
    .checkout-page {
        width: 90%;
        padding-top: 25px;
    }

    .checkout-field-row {
        grid-template-columns: 1fr;
    }
}
/* Pesquisa e ordenação da loja */
.shop-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.shop-search {
    position: relative;
    display: flex;
    align-items: center;
    width: min(100%, 360px);
    border-bottom: 1px solid #c9c6c0;
}

.shop-search input {
    width: 100%;
    min-height: 44px;
    padding: 10px 34px 10px 2px;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--color-black);
    font: inherit;
    font-size: 12px;
}

.shop-search input:focus {
    border-bottom: 1px solid var(--color-black);
}

.search-icon {
    position: absolute;
    right: 5px;
    font-size: 22px;
    line-height: 1;
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-gray);
    font-size: 11px;
}

.shop-sort select {
    min-height: 42px;
    padding: 0 30px 0 10px;
    background: transparent;
    border: 1px solid #c9c6c0;
    color: var(--color-black);
    font: inherit;
    font-size: 11px;
    cursor: pointer;
}

.shop-result-count {
    margin: 0 0 18px;
    color: var(--color-gray);
    font-size: 11px;
}

.no-products-message {
    padding: 50px 20px;
    color: var(--color-gray);
    text-align: center;
    font-size: 14px;
}

@media (max-width: 600px) {
    .shop-controls {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .shop-search {
        width: 100%;
    }

    .shop-sort {
        justify-content: space-between;
    }

    .shop-sort select {
        flex: 1;
        max-width: 230px;
    }
}
/* Página de ajuda */
.help-page {
    width: min(100% - 48px, 1100px);
    margin: 0 auto;
    padding: 70px 0 100px;
}

.help-intro {
    padding: 30px 0 55px;
    border-bottom: 1px solid var(--color-light-gray);
}

.help-intro h1 {
    margin-bottom: 14px;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1;
    letter-spacing: -0.07em;
}

.help-intro > p:last-child {
    color: var(--color-gray);
    font-size: 14px;
}

.help-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 22px 0;
    border-bottom: 1px solid var(--color-light-gray);
}

.help-navigation a,
.help-link {
    color: var(--color-black);
    font-size: 11px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.help-section {
    max-width: 760px;
    padding: 55px 0;
    border-bottom: 1px solid var(--color-light-gray);
    scroll-margin-top: 100px;
}

.help-section h2 {
    margin-bottom: 15px;
    font-size: clamp(28px, 4vw, 38px);
}

.help-section > p:not(.eyebrow) {
    color: var(--color-gray);
    font-size: 14px;
    line-height: 1.8;
}

.help-link {
    display: inline-block;
    margin-top: 20px;
}

.faq-item {
    border-bottom: 1px solid var(--color-light-gray);
}

.faq-item:first-of-type {
    border-top: 1px solid var(--color-light-gray);
}

.faq-item summary {
    padding: 20px 0;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    list-style-position: outside;
}

.faq-item p {
    max-width: 650px;
    padding: 0 0 20px;
    color: var(--color-gray);
    font-size: 13px;
    line-height: 1.8;
}

@media (max-width: 600px) {
    .help-page {
        width: min(100% - 36px, 1100px);
        padding-top: 45px;
    }

    .help-intro {
        padding: 20px 0 38px;
    }

    .help-navigation {
        gap: 18px;
    }

    .help-section {
        padding: 42px 0;
    }
}
.header-actions .bag-link {
    font-size: 12px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.header-actions .bag-link:hover {
    opacity: 0.55;
}
.header-actions .bag-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.header-actions .bag-link:hover {
    opacity: 0.55;
}

.cart-icon {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.header-actions .bag-link #cart-count {
    margin-left: 0;
}
.header-actions .header-search-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 30px;
}

.search-icon-header {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}
.product-image,
.shop-product-image {
    position: relative;
}

.favorite-button {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.favorite-button:hover {
    transform: scale(1.08);
}

.favorite-button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #171717;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.favorite-button.is-favorite svg {
    fill: #171717;
}
/* Cabeçalho com pesquisa, conta, atendimento e carrinho */
.store-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #fff;
    border-bottom: 1px solid #e8e6e2;
}

.store-header-main {
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: 84px;
    padding: 12px 4%;
}

.store-header-main .logo {
    flex-shrink: 0;
}

.store-search {
    display: flex;
    flex: 1;
    max-width: 420px;
    min-width: 180px;
    height: 48px;
    overflow: hidden;
    border: 1px solid #c9c6c0;
    border-radius: 25px;
}

.store-search input {
    flex: 1;
    min-width: 0;
    padding: 0 17px;
    border: 0;
    outline: 0;
    font: inherit;
    font-size: 13px;
}

.store-search button {
    display: grid;
    width: 44px;
    margin: 3px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #171717;
    color: #fff;
    cursor: pointer;
}

.store-search svg,
.store-tool svg,
.cart-tool svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-tool {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    color: #171717;
    font-size: 12px;
}

.store-tool span {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.store-tool small {
    color: #77736e;
    font-size: 11px;
}

.store-tool strong {
    font-size: 12px;
}

.language-tool {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}

.portugal-flag {
    font-size: 19px;
}

.cart-tool {
    position: relative;
    display: grid;
    width: 38px;
    height: 42px;
    flex-shrink: 0;
    place-items: center;
    color: #171717;
}

.store-header #cart-count {
    position: absolute;
    top: 0;
    right: -7px;
    display: grid;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    place-items: center;
    border: 1px solid #e8e6e2;
    border-radius: 50%;
    background: #fff;
    font-size: 10px;
}

.store-header .store-navigation {
    position: static;
    display: flex;
    justify-content: center;
    gap: 34px;
    padding: 0 20px 14px;
    background: #fff;
    border: 0;
}

.store-navigation a {
    padding: 0;
    border: 0;
    font-size: 12px;
    font-weight: 600;
}

.store-navigation a:hover,
.store-tool:hover,
.cart-tool:hover {
    opacity: 0.65;
}

.store-header .menu-toggle {
    display: none;
}

@media (max-width: 900px) {
    .store-header-main {
        flex-wrap: wrap;
        gap: 14px 18px;
    }

    .store-search {
        order: 5;
        flex: 1 0 100%;
        max-width: none;
    }
}

@media (max-width: 650px) {
    .store-header-main {
        min-height: 66px;
        padding: 10px 5%;
        gap: 12px;
    }

    .store-header-main .logo {
        margin-right: auto;
    }

    .account-tool span,
    .service-tool strong,
    .language-tool strong {
        display: none;
    }

    .store-header .menu-toggle {
        display: block;
        padding: 5px;
        border: 0;
        background: transparent;
        font-size: 23px;
        cursor: pointer;
    }

    .store-header .store-navigation {
        position: static;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 5px 5% 14px;
        border-top: 1px solid #e8e6e2;
    }

    .store-header .store-navigation.active {
        display: flex;
    }

    .store-header .store-navigation a {
        padding: 12px 0;
        border-bottom: 1px solid #e8e6e2;
    }
}
/* CABEÇALHO: uma linha em ecrãs grandes */
@media (min-width: 1051px) {
    .store-header {
        display: flex;
        align-items: center;
        gap: clamp(8px, 1vw, 14px);
        min-height: 78px;
        padding: 10px clamp(20px, 4vw, 56px);
        background: #fff;
        border-bottom: 1px solid #e8e6e2;
    }

    /* Faz os elementos internos alinharem-se com o menu */
    .store-header-main {
        display: contents;
    }

    .store-header-main .logo {
        order: 1;
        flex: 0 0 auto;
        font-size: clamp(18px, 1.5vw, 23px);
    }

    .store-header .store-navigation {
        order: 2;
        display: flex;
        align-items: center;
        gap: clamp(10px, 1.3vw, 20px);
        margin-right: auto;
        padding: 0;
        background: transparent;
        white-space: nowrap;
    }

    .store-navigation a {
        font-size: clamp(11px, 0.9vw, 13px);
    }

    .store-search {
        order: 3;
        flex: 0 1 270px;
        width: 270px;
        min-width: 155px;
        max-width: 270px;
        height: 42px;
    }

    .store-tool.account-tool {
        order: 4;
        gap: 6px;
        font-size: 11px;
    }

    .account-tool small {
        font-size: 10px;
    }

    .account-tool strong {
        font-size: 11px;
    }

    .store-tool.service-tool {
        order: 5;
        gap: 5px;
        font-size: 11px;
        white-space: nowrap;
    }

    .language-tool {
        order: 6;
        flex: 0 0 auto;
        font-size: 11px;
        white-space: nowrap;
    }

    .cart-tool {
        order: 7;
    }

    .store-header .menu-toggle {
        display: none;
    }
}

/* Cabeçalho compacto em portáteis e tablets */
@media (min-width: 1051px) and (max-width: 1250px) {
    .store-header {
        gap: 9px;
        padding-right: 22px;
        padding-left: 22px;
    }

    .store-header .store-navigation {
        gap: 11px;
    }

    .store-search {
        flex-basis: 205px;
        width: 205px;
    }

    .store-tool.account-tool {
        gap: 4px;
    }

    .store-tool.service-tool {
        gap: 3px;
    }
}

/* Ecrãs menores: pesquisa e menu passam para uma segunda linha */
@media (max-width: 1050px) {
    .store-header {
        display: block;
    }

    .store-header-main {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px 16px;
        padding: 10px 4%;
    }

    .store-header .store-navigation {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 22px;
        padding: 0 20px 12px;
    }

    .store-search {
        order: 10;
        flex: 1 0 100%;
        width: 100%;
        max-width: none;
    }
}

/* Telemóveis */
@media (max-width: 650px) {
    .store-header-main {
        gap: 10px;
        padding: 10px 5%;
    }

    .store-header-main .logo {
        margin-right: auto;
        font-size: 17px;
    }

    .store-header .menu-toggle {
        display: block;
        order: 9;
        padding: 5px;
        border: 0;
        background: transparent;
        font-size: 22px;
        cursor: pointer;
    }

    .account-tool span,
    .service-tool strong,
    .language-tool strong {
        display: none;
    }

    .store-header .store-navigation {
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 5px 5% 14px;
        border-top: 1px solid #e8e6e2;
    }

    .store-header .store-navigation.active {
        display: flex;
    }

    .store-header .store-navigation a {
        padding: 12px 0;
        border-bottom: 1px solid #e8e6e2;
    }

    .store-search {
        order: 10;
    }
}
/* Menu de conta no cabeçalho */
.account-dropdown {
    position: relative;
    display: block;
    flex: 0 0 auto;
    z-index: 30;
}

.account-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    cursor: pointer;
}

.account-trigger::-webkit-details-marker {
    display: none;
}

.account-trigger::marker {
    content: "";
}

.account-trigger > svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-menu-panel {
    position: absolute;
    top: calc(100% + 18px);
    right: -40px;
    z-index: 50;
    width: 320px;
    max-width: calc(100vw - 24px);
    max-height: min(70vh, 590px);
    overflow-y: auto;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e8e6e2;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.account-menu-panel::before {
    position: absolute;
    top: -7px;
    right: 58px;
    width: 13px;
    height: 13px;
    background: #fff;
    border-top: 1px solid #e8e6e2;
    border-left: 1px solid #e8e6e2;
    content: "";
    transform: rotate(45deg);
}

.account-menu-heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 10px;
    border-bottom: 1px solid #e8e6e2;
}

.account-menu-heading strong {
    font-size: 15px;
}

.account-menu-heading a {
    color: #77736e;
    font-size: 12px;
}

.account-menu-links {
    padding: 7px 0;
}

.account-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    color: #171717;
    background: transparent;
    border: 0;
    text-align: left;
    text-decoration: none;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.account-menu-link:hover {
    background: #f5f3ef;
}

.account-menu-link svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-menu-footer {
    padding: 7px 0 3px;
    border-top: 1px solid #e8e6e2;
}

@media (max-width: 650px) {
    .account-menu-panel {
        right: -46px;
        width: min(320px, calc(100vw - 20px));
    }

    .account-menu-panel::before {
        right: 62px;
    }
}
.product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
.product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 850px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}
.language-selector {
    position: relative;
}

.language-tool {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.language-tool #language-flag {
    font-size: 19px;
}

.language-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 30;
    width: 225px;
    padding: 7px;
    background: #fff;
    border: 1px solid #e8e6e2;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.language-menu[hidden] {
    display: none;
}

.language-menu button {
    display: block;
    width: 100%;
    padding: 11px 12px;
    border: 0;
    background: #fff;
    text-align: left;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
}

.language-menu button:hover,
.language-menu button[aria-pressed="true"] {
    background: #f5f3ef;
}
/* Corrige a posição e o tamanho do menu de idiomas */
.language-selector {
    position: relative;
    z-index: 10000;
    flex: 0 0 auto;
}

.language-menu {
    position: absolute !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    right: auto !important;
    width: min(260px, calc(100vw - 24px)) !important;
    height: auto !important;
    max-height: min(55vh, 360px) !important;
    overflow-y: auto !important;
    box-sizing: border-box;
    padding: 6px !important;
    background: #fff !important;
    border: 1px solid #e8e6e2 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.language-menu[hidden] {
    display: none !important;
}

.language-menu button {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 10px 12px !important;
    box-sizing: border-box;
    border: 0;
    background: #fff;
    color: #171717;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}

.language-menu button:hover,
.language-menu button[aria-pressed="true"] {
    background: #f5f3ef;
}
/* Miniaturas das fotografias do produto */
.detail-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.detail-thumbnail {
    width: 100%;
    aspect-ratio: 1;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e8e6e2;
    background: #f5f3ef;
    cursor: pointer;
}

.detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-thumbnail.is-active {
    border: 2px solid #171717;
}
/* Interface especial para calçado */
.product-detail-page:not(.is-footwear) .detail-thumbnails {
    display: none !important;
}

.product-detail-page.is-footwear .product-detail-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: clamp(28px, 5vw, 70px);
}

.product-detail-page.is-footwear .detail-gallery {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
}

.product-detail-page.is-footwear .detail-image-wrap {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    background: #f1f1ef;
}

.product-detail-page.is-footwear .detail-image-wrap > img {
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 24px;
    object-fit: contain;
}

.product-detail-page.is-footwear .detail-thumbnails {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    flex-direction: column;
    gap: 9px;
    max-height: 620px;
    overflow-y: auto;
}

.product-detail-page.is-footwear .detail-thumbnail {
    flex: 0 0 auto;
    width: 72px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid transparent;
    background: #f1f1ef;
    cursor: pointer;
}

.product-detail-page.is-footwear .detail-thumbnail.is-active {
    border: 1px solid #171717;
}

.product-detail-page.is-footwear .detail-information h1 {
    font-family: "Inter", sans-serif;
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.product-detail-page.is-footwear .detail-option {
    margin: 24px 0;
}

.product-detail-page.is-footwear .option-heading h2 {
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
}

.product-detail-page.is-footwear .color-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(78px, 92px));
    gap: 9px;
}

.product-detail-page.is-footwear .color-card {
    width: 100%;
    padding: 4px;
    background: #f5f5f4;
}

.product-detail-page.is-footwear .size-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.product-detail-page.is-footwear .size-option {
    min-height: 48px;
    font-size: 14px;
}

.shoe-size-note {
    margin: 0 0 12px;
    color: #77736e;
    font-size: 13px;
}

.shoe-gallery-arrows {
    position: absolute;
    right: 18px;
    bottom: 18px;
    display: flex;
    gap: 9px;
}

.shoe-gallery-arrows[hidden] {
    display: none;
}

.shoe-gallery-arrows button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    font-size: 25px;
    line-height: 1;
}

@media (max-width: 760px) {
    .product-detail-page.is-footwear .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .product-detail-page.is-footwear .detail-gallery {
        grid-template-columns: 58px minmax(0, 1fr);
        gap: 9px;
    }

    .product-detail-page.is-footwear .detail-thumbnail {
        width: 58px;
    }

    .product-detail-page.is-footwear .detail-image-wrap > img {
        padding: 12px;
    }
}
/* Mostrar o ASICS inteiro nos cartões da página inicial e da loja */
.product-image img[src*="asics-gel-mission"],
.shop-product-image img[src*="asics-gel-mission"] {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 16px;
    background-color: #ffffff;
}
/* BOTÃO VOLTAR */
.site-back-bar {
    width: min(1400px, calc(100% - 48px));
    margin: 24px auto 0;
}

#site-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #e8e6e2;
    border-radius: 6px;
    background: #fff;
    color: #171717;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

#site-back-button:hover {
    background: #f5f3ef;
    border-color: #77736e;
}

#site-back-button:focus-visible {
    outline: 2px solid #171717;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .site-back-bar {
        width: calc(100% - 32px);
        margin-top: 16px;
    }
}
@media (max-width: 1024px) {
    .product-detail-page .detail-gallery {
        display: grid;
        grid-template-columns: clamp(46px, 16vw, 72px) minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 10px;
        align-items: stretch;
    }

    .product-detail-page.is-footwear .detail-image-wrap {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .product-detail-page.is-footwear #detail-thumbnails {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-height: 0;
        margin: 0;
        contain: none;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .product-detail-page.is-footwear #detail-thumbnails .detail-thumbnail {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        box-sizing: border-box;
    }
}/* Galeria com miniaturas à esquerda no telemóvel */
@media (max-width: 900px) {
    .detail-gallery {
        display: grid !important;
        grid-template-columns: 58px minmax(0, 1fr) !important;
        align-items: start !important;
        gap: 10px !important;
        min-width: 0;
    }

    .detail-gallery .detail-image-wrap {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0;
    }

    .detail-gallery #detail-thumbnails {
        display: flex !important;
        flex-direction: column !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        gap: 8px !important;
        width: 58px !important;
        max-height: 320px;
        margin: 0 !important;
        padding: 0 !important;
        overflow-y: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    #detail-thumbnails .detail-thumbnail {
        display: block !important;
        flex: 0 0 58px !important;
        width: 58px !important;
        height: 58px !important;
        min-width: 0 !important;
        padding: 2px !important;
        box-sizing: border-box;
    }

    #detail-thumbnails .detail-thumbnail img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
}
/* Cores dos produtos: minúsculas e sem negrito. */
#detail-name .product-color-text,
#detail-type .product-color-text,
#selected-color,
#detail-colors .color-card span {
    font-weight: 400 !important;
    text-transform: lowercase !important;
}
/* Galeria no telemóvel: miniaturas à esquerda. */
@media (max-width: 900px) {
    .product-detail-page .detail-gallery {
        display: grid !important;
        grid-template-columns: 52px minmax(0, 1fr) !important;
        align-items: start;
        gap: 10px;
        width: 100%;
        min-width: 0;
    }

    .product-detail-page .detail-image-wrap {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        min-width: 0;
        margin: 0 !important;
    }

    .product-detail-page #detail-thumbnails {
        display: flex !important;
        flex-direction: column !important;
        grid-column: 1;
        grid-row: 1;
        gap: 8px;
        width: 52px;
        max-height: 360px;
        margin: 0 !important;
        padding: 0;
        overflow-x: hidden;
        overflow-y: auto;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .product-detail-page #detail-thumbnails .detail-thumbnail {
        display: block !important;
        flex: 0 0 52px;
        width: 52px !important;
        height: 52px !important;
        min-width: 0;
        padding: 3px;
        border: 1px solid #dedbd5;
        background: #f5f3ef;
        overflow: hidden;
    }

    .product-detail-page #detail-thumbnails .detail-thumbnail.is-active {
        border-color: #171717;
    }

    .product-detail-page #detail-thumbnails img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}
/* Setas centradas nas laterais da imagem no telemóvel. */
@media (max-width: 900px) {
    .product-detail-page .detail-image-wrap {
        position: relative;
    }

    .product-detail-page #shoe-gallery-arrows {
        position: absolute;
        top: 50%;
        bottom: auto;
        left: 8px;
        right: 8px;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: auto;
        margin: 0;
        padding: 0;
        pointer-events: none;
        z-index: 2;
    }

    .product-detail-page #shoe-gallery-arrows[hidden] {
        display: none;
    }

    .product-detail-page #shoe-gallery-arrows button {
        position: static;
        transform: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        padding: 0;
        border: 1px solid #e8e6e2;
        border-radius: 50%;
        background: #fff;
        color: #171717;
        font-size: 24px;
        line-height: 1;
        pointer-events: auto;
        cursor: pointer;
    }
}
.header-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #171717;
    text-decoration: none;
}

.header-cart-icon svg {
    display: block;
    flex-shrink: 0;
}
#shop .collection-link-mobile {
    display: none;
}

@media (max-width: 600px) {
    #shop .section-heading {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-end;
        justify-content: space-between;
        gap: 4px 12px;
    }

    #shop .section-heading h2 {
        margin-bottom: 0;
        font-size: 18px;
        line-height: 1.2;
    }

    #shop .section-heading .collection-link {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        margin: 0 0 0 auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: #146456;
        font-size: 13px;
        font-weight: 700;
        text-transform: none;
        letter-spacing: normal;
        white-space: nowrap;
    }

    #shop .collection-link-desktop {
        display: none;
    }

    #shop .collection-link-mobile {
        display: inline;
    }
}
@media (max-width: 767px) {
    .shop-grid > .shop-product-card:not([hidden]),
    #shop .product-grid > .product-card:not([hidden]) {
        display: flex;
        flex-direction: column;
        align-self: stretch;
    }

    .shop-grid > .shop-product-card > .product-info,
    #shop .product-grid > .product-card > .product-info {
        flex: 1 0 auto;
    }
}