:root {
    --bds-teal: #008f95;
    --bds-teal-dark: #006b70;
    --bds-ink: #202124;
    --bds-muted: #6c7277;
    --bds-line: #e7ecec;
    --bds-cream: #fbf8f2;
    --bds-blush: #f5ebe7;
    --bds-sage: #dfe9e3;
    --bds-white: #ffffff;
    --bds-shadow: 0 18px 45px rgba(32, 33, 36, 0.08);
}

.bds-archive,
.bds-product-page,
.bds-purchase-shell {
    color: var(--bds-ink);
    letter-spacing: 0;
}

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

.bds-kicker {
    display: inline-flex;
    align-items: center;
    color: var(--bds-teal-dark);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.bds-archive-hero {
    background: var(--bds-cream);
    padding: 72px 0 48px;
    border-bottom: 1px solid var(--bds-line);
}

.bds-archive-hero h1,
.bds-purchase-hero h1,
.bds-product-summary h1 {
    max-width: 780px;
    margin: 10px 0 14px;
    color: var(--bds-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 3rem;
    line-height: 1.05;
    letter-spacing: 0;
}

.bds-archive-hero p,
.bds-purchase-hero p {
    max-width: 680px;
    margin: 0;
    color: var(--bds-muted);
    font-size: 1.02rem;
    line-height: 1.7;
}

.bds-term-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.bds-term-pills a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid rgba(0, 143, 149, 0.28);
    border-radius: 999px;
    color: var(--bds-teal-dark);
    background: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-weight: 700;
}

.bds-term-pills a:hover,
.bds-term-pills a.is-active {
    background: var(--bds-teal);
    color: var(--bds-white);
}

.bds-archive-products,
.bds-related-products {
    padding: 56px 0 72px;
}

.bds-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.bds-section-heading span {
    color: var(--bds-teal-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.bds-section-heading h2 {
    margin: 4px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    line-height: 1.1;
}

.bds-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

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

.bds-product-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--bds-line);
    border-radius: 8px;
    background: var(--bds-white);
    box-shadow: 0 10px 30px rgba(32, 33, 36, 0.05);
}

.bds-product-card__media {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: #f8faf9;
    overflow: hidden;
}

.bds-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 0;
    transition: transform 180ms ease;
}

.bds-product-card:hover .bds-product-card__media img {
    transform: scale(1.035);
}

.bds-product-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.bds-product-card__category {
    color: var(--bds-teal-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.bds-product-card h3 {
    margin: 8px 0 8px;
    font-size: 1.02rem;
    line-height: 1.25;
}

.bds-product-card h3 a {
    color: var(--bds-ink);
    text-decoration: none;
}

.bds-product-card p {
    flex: 1;
    margin: 0 0 16px;
    color: var(--bds-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

.bds-product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--bds-line);
}

.bds-product-card__meta strong,
.bds-product-price {
    color: var(--bds-ink);
    font-weight: 850;
}

.bds-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid var(--bds-teal);
    border-radius: 8px;
    background: var(--bds-white);
    color: var(--bds-teal-dark);
    cursor: pointer;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.bds-button:hover {
    transform: translateY(-1px);
}

.bds-button--solid,
.bds-button:hover {
    background: var(--bds-teal);
    color: var(--bds-white);
}

.bds-button--ghost {
    border-color: var(--bds-line);
    color: var(--bds-ink);
}

.bds-button--small {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.86rem;
}

.bds-button--whatsapp {
    gap: 8px;
}

.bds-whatsapp-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.bds-pagination {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.bds-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    margin: 0 4px;
    border: 1px solid var(--bds-line);
    border-radius: 8px;
    color: var(--bds-ink);
    text-decoration: none;
}

.bds-pagination .current {
    background: var(--bds-teal);
    color: var(--bds-white);
}

.bds-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 26px 0;
    color: var(--bds-muted);
    font-size: 0.9rem;
}

.bds-breadcrumb a {
    color: var(--bds-teal-dark);
    text-decoration: none;
}

.bds-product-detail {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
    gap: 46px;
    align-items: start;
    padding-bottom: 56px;
}

.bds-gallery__main {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 520px;
    border: 1px solid var(--bds-line);
    border-radius: 8px;
    background: #f9fbfa;
    overflow: hidden;
}

.bds-gallery__main img {
    width: 100%;
    height: 100%;
    max-height: 560px;
    object-fit: contain;
    padding: 16px;
}

.bds-gallery__zoom {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0, 143, 149, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--bds-teal-dark);
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(32, 33, 36, 0.08);
}

.bds-gallery__zoom svg {
    width: 22px;
    height: 22px;
}

.bds-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.bds-gallery__thumbs button {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--bds-line);
    border-radius: 8px;
    background: var(--bds-white);
    cursor: pointer;
    overflow: hidden;
}

.bds-gallery__thumbs button.is-active {
    border-color: var(--bds-teal);
}

.bds-gallery__thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
}

.bds-lightbox[hidden] {
    display: none !important;
}

.bds-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 32px;
    background: rgba(20, 24, 25, 0.82);
}

.bds-lightbox img {
    max-width: min(1080px, 94vw);
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    background: var(--bds-white);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.bds-lightbox__close {
    position: fixed;
    top: 22px;
    right: 22px;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--bds-white);
    color: var(--bds-ink);
    cursor: pointer;
}

.bds-lightbox__close svg {
    width: 24px;
    height: 24px;
}

body.bds-lightbox-open {
    overflow: hidden;
}

.bds-product-summary {
    position: sticky;
    top: 24px;
}

.bds-product-summary h1 {
    font-size: 2.6rem;
}

.bds-product-price {
    margin: 0 0 14px;
    font-size: 1.45rem;
}

.bds-stock {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--bds-blush);
    color: #895f55;
    font-weight: 800;
}

.bds-stock.is-available {
    background: var(--bds-sage);
    color: #2e6c54;
}

.bds-product-lead {
    margin: 22px 0;
    color: var(--bds-muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.bds-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 22px 0;
}

.bds-product-facts {
    display: grid;
    gap: 10px;
    margin: 28px 0 0;
}

.bds-product-facts div,
.bds-attribute-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--bds-line);
}

.bds-product-facts dt,
.bds-attribute-list span {
    color: var(--bds-muted);
    font-weight: 700;
}

.bds-product-facts dd {
    margin: 0;
    text-align: right;
    font-weight: 800;
}

.bds-product-content,
.bds-attribute-panel {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 42px;
    padding: 42px 0;
    border-top: 1px solid var(--bds-line);
}

.bds-product-content h2,
.bds-attribute-panel h2 {
    margin: 8px 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
}

.bds-product-copy {
    color: var(--bds-muted);
    line-height: 1.8;
}

.bds-product-copy p:first-child {
    margin-top: 0;
}

.bds-attribute-panel {
    align-items: start;
}

.bds-attribute-list {
    border-top: 1px solid var(--bds-line);
}

.bds-purchase-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 54px auto 76px;
}

.bds-purchase-hero {
    margin-bottom: 18px;
    padding: 42px;
    border: 1px solid var(--bds-line);
    border-radius: 8px;
    background: var(--bds-cream);
    box-shadow: var(--bds-shadow);
}

.bds-purchase-hero h1 {
    font-size: 2.35rem;
}

.bds-purchase-layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.88fr) minmax(360px, 1.12fr);
    gap: 18px;
    align-items: start;
}

.bds-purchase-aside {
    display: grid;
    gap: 18px;
}

.bds-selected-product,
.bds-buying-tips,
.bds-purchase-steps,
.bds-purchase-form {
    border: 1px solid var(--bds-line);
    border-radius: 8px;
    background: var(--bds-white);
    box-shadow: 0 12px 34px rgba(32, 33, 36, 0.06);
}

.bds-selected-product {
    overflow: hidden;
}

.bds-selected-product__image {
    display: grid;
    place-items: center;
    aspect-ratio: 4 / 3;
    background: #f8faf9;
}

.bds-selected-product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bds-selected-product__content {
    padding: 20px;
}

.bds-selected-product__content span {
    color: var(--bds-teal-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.bds-selected-product__content h2 {
    margin: 8px 0;
    font-size: 1.22rem;
    line-height: 1.24;
}

.bds-selected-product__content strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.bds-selected-product__content p {
    margin: 0 0 12px;
    color: var(--bds-muted);
    line-height: 1.62;
}

.bds-selected-product__content a {
    color: var(--bds-teal-dark);
    font-weight: 800;
    text-decoration: none;
}

.bds-buying-tips {
    padding: 22px;
}

.bds-buying-tips h2 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
}

.bds-buying-tips ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0 0 0 20px;
    color: var(--bds-muted);
}

.bds-purchase-steps {
    display: grid;
    gap: 0;
    overflow: hidden;
}

.bds-purchase-steps div {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--bds-line);
}

.bds-purchase-steps div:last-child {
    border-bottom: 0;
}

.bds-purchase-steps strong {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--bds-sage);
    color: var(--bds-teal-dark);
}

.bds-purchase-steps span {
    color: var(--bds-muted);
    font-weight: 800;
}

.bds-purchase-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 28px;
}

.bds-purchase-form label {
    display: grid;
    gap: 8px;
    color: var(--bds-ink);
    font-weight: 800;
}

.bds-purchase-form span {
    font-size: 0.88rem;
}

.bds-purchase-form input,
.bds-purchase-form select,
.bds-purchase-form textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--bds-line);
    border-radius: 8px;
    background: #fbfcfc;
    color: var(--bds-ink);
    font: inherit;
    padding: 10px 12px;
}

.bds-purchase-form textarea {
    min-height: 118px;
    resize: vertical;
}

.bds-field-wide {
    grid-column: 1 / -1;
}

.bds-form-note {
    margin: -4px 0 0;
    color: var(--bds-muted);
    font-size: 0.9rem;
}

.bds-empty {
    color: var(--bds-muted);
    line-height: 1.7;
}

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

    .bds-product-detail,
    .bds-purchase-layout {
        grid-template-columns: 1fr;
    }

    .bds-product-summary {
        position: static;
    }
}

@media (max-width: 760px) {
    .bds-archive-hero {
        padding: 46px 0 34px;
    }

    .bds-archive-hero h1,
    .bds-product-summary h1,
    .bds-purchase-hero h1 {
        font-size: 2.05rem;
    }

    .bds-section-heading {
        display: block;
    }

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

    .bds-product-card__body {
        padding: 14px;
    }

    .bds-product-card__meta {
        align-items: stretch;
        flex-direction: column;
    }

    .bds-gallery__main {
        min-height: 340px;
    }

    .bds-gallery__thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bds-product-content,
    .bds-attribute-panel,
    .bds-purchase-form {
        grid-template-columns: 1fr;
    }

    .bds-purchase-shell {
        margin: 34px auto;
    }

    .bds-purchase-hero,
    .bds-purchase-form {
        padding: 24px;
    }

    .bds-field-wide {
        grid-column: auto;
    }
}

@media (max-width: 480px) {
    .bds-container {
        width: min(100% - 20px, 1180px);
    }

    .bds-product-grid,
    .bds-product-grid--cols-3 {
        grid-template-columns: 1fr;
    }

    .bds-product-actions {
        display: grid;
    }

    .bds-button {
        width: 100%;
    }
}
