@font-face {
    font-family: "DM Sans";
    src: url("../fonts/dm-sans.ttf") format("truetype");
    font-weight: 100 1000;
    font-style: normal;
    font-display: swap;
}

.oeste-product-page {
    --ink: #202c31;
    --muted: #4f5f67;
    --blue: #3a6a90;
    --blue-hover: #2c5576;
    --selected: #f1f6fa;
    --line: #dfe5e8;
    --control-line: #adbac3;
    --gutter: 20px;
    margin: 0;
    color: var(--ink);
    background: #fff;
    font: 16px/1.5 "DM Sans", system-ui, sans-serif;
}

.oeste-product-page *, .oeste-product-page *::before, .oeste-product-page *::after {
    box-sizing: border-box;
}
.oeste-product-page [hidden] { display: none !important; }
.oeste-product-page :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.oeste-product-page :where(main) a { color: var(--blue); text-underline-offset: 3px; }
.oeste-product-page :where(button, select, input, textarea) { font: inherit; }

.oeste-product-zoom {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    text-decoration: none;
    color: var(--ink);
}
.oeste-product-photo .oeste-product-zoom { color: var(--ink); }
.oeste-icon { display: block; position: relative; width: 20px; height: 20px; }
.oeste-icon-zoom::before, .oeste-icon-zoom::after { content: ""; position: absolute; }
.oeste-icon-zoom::before {
    width: 12px;
    height: 12px;
    top: 2px;
    left: 2px;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    background: linear-gradient(currentColor, currentColor) center / 5px 1px no-repeat,
                linear-gradient(currentColor, currentColor) center / 1px 5px no-repeat;
}
.oeste-icon-zoom::after { width: 7px; height: 1.5px; top: 14px; left: 11px; background: currentColor; transform: rotate(45deg); }

.oeste-product-layout { max-width: 1220px; margin: 0 auto; }
.oeste-product-photo { margin: 0; position: relative; background: #f8f8f7; }
.oeste-product-photo img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; }
.oeste-product-zoom { position: absolute; bottom: 10px; right: 10px; border-radius: 50%; background: #fff; border: 1px solid var(--line); }
.oeste-product-caption { margin: 6px var(--gutter) 0; font-size: 12px; color: var(--muted); text-align: right; }
.oeste-product-thumbs { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px var(--gutter) 0; }
.oeste-product-thumbs button { display: block; padding: 2px; border-radius: 3px; border: 1px solid var(--control-line); background: #fff; cursor: pointer; }
.oeste-product-thumbs button[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.oeste-product-thumbs img { display: block; width: 54px; height: 54px; object-fit: contain; }
.oeste-no-photo { display: grid; place-items: center; aspect-ratio: 1; background: var(--selected); color: var(--muted); }
.oeste-photo-dialog { max-width: min(100% - 24px, 840px); max-height: 90vh; padding: 0; border: 0; background: white; overflow: auto; }
.oeste-photo-dialog::backdrop { background: rgba(32, 44, 49, .72); }
.oeste-photo-dialog img { display: block; max-width: 100%; max-height: 87vh; object-fit: contain; }
.oeste-photo-dialog button { position: absolute; right: 8px; top: 8px; min-width: 44px; min-height: 44px; border-radius: 4px; border: 1px solid var(--control-line); background: #fff; color: var(--ink); cursor: pointer; }

.oeste-product-main { min-width: 0; padding: 13px var(--gutter) 44px; }
.oeste-product-main h1 { margin: 0; font-size: 23px; line-height: 1.22; font-weight: 550; letter-spacing: -.02em; }
.oeste-product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 9px; font-size: 25px; line-height: 1.3; font-weight: 650; }
.oeste-product-price del { margin-left: 5px; color: var(--muted); font-size: 15px; font-weight: 400; }
.oeste-currency { font-size: 12px; font-weight: 500; color: var(--muted); }
.oeste-product-intro { margin: 16px 0 19px; color: var(--muted); }
.oeste-product-form fieldset { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.oeste-product-form legend { display: block; float: left; width: 100%; padding: 0; font-size: 18px; font-weight: 650; margin-bottom: 9px; }
.oeste-product-form legend + * { clear: both; }
.oeste-product-form .oeste-product-sizes { padding-top: 17px; border-top: 1px solid var(--line); }
.oeste-size-options, .oeste-schedule-options { display: grid; gap: 8px; }
.oeste-size-option, .oeste-schedule-option {
    min-height: 58px;
    display: grid;
    grid-template-columns: 19px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 12px;
    padding: 12px;
    border: 1px solid var(--control-line);
    border-radius: 6px;
    cursor: pointer;
}
:is(.oeste-size-option, .oeste-schedule-option):has(input:checked) {
    border-color: var(--blue);
    background: var(--selected);
    box-shadow: inset 0 0 0 1px var(--blue);
}
.oeste-size-option input, .oeste-schedule-option input, .oeste-anonymous input { width: 17px; height: 17px; margin: 0; accent-color: var(--blue); }
:is(.oeste-size-option, .oeste-schedule-option) input { width: 19px; height: 19px; }
.oeste-size-name { font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.oeste-size-option:has(input:checked) .oeste-size-name { font-weight: 650; }
.oeste-size-price, .oeste-summary-row > :last-child { font-variant-numeric: tabular-nums; }
.oeste-size-price { white-space: nowrap; font-size: .94rem; font-weight: 650; }
.oeste-product-form .oeste-delivery { margin-top: 30px; }
.oeste-delivery legend { font-size: 20px; margin-bottom: 13px; }
.oeste-field { display: block; margin-bottom: 16px; }
.oeste-field > :is(span, label) { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.oeste-field :is(select, input, textarea) {
    width: 100%;
    min-height: 52px;
    padding: 10px 13px;
    border: 1px solid var(--control-line);
    border-radius: 5px;
    background-color: #fff;
    color: var(--ink);
}
.oeste-field select { appearance: none; padding-right: 32px; }
.oeste-field:has(select:not([hidden])) { position: relative; }
.oeste-field:has(select:not([hidden]))::after {
    content: "";
    pointer-events: none;
    position: absolute;
    right: 17px;
    bottom: 24px;
    width: 7px;
    height: 7px;
    border: solid var(--muted);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}
.oeste-field :is(select, input):disabled { color: var(--muted); background: #f6f8f9; opacity: 1; }
.oeste-field input[type="date"] { display: block; min-width: 0; -webkit-min-logical-width: 0; }
.oeste-field textarea { display: block; resize: vertical; }
.oeste-product-form .oeste-schedule-field { margin-bottom: 16px; }
.oeste-product-form .oeste-schedule-field legend { float: none; width: auto; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.oeste-schedule-options { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.oeste-schedule-options:empty, .oeste-schedule-message:empty { display: none; }
.oeste-schedule-option { grid-template-columns: 19px minmax(0, 1fr); }
.oeste-schedule-option:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.oeste-schedule-name, .oeste-schedule-hours { display: block; line-height: 1.3; overflow-wrap: anywhere; }
.oeste-schedule-name { font-weight: 600; }
.oeste-schedule-hours { margin-top: 3px; color: var(--muted); font-size: .875rem; }
.oeste-schedule-message {
    margin: 0;
    padding: 10px 12px;
    border-radius: 6px;
    background: var(--selected);
    color: var(--muted);
    font-size: .875rem;
}
.oeste-zone-trigger, .oeste-date-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    padding: 10px 13px;
    border: 1px solid var(--control-line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}
.oeste-zone-trigger:hover, .oeste-date-trigger:hover { border-color: var(--blue); }
.oeste-zone-action { flex: none; color: var(--blue); font-size: .875rem; font-weight: 650; }
.oeste-zone-trigger[aria-invalid="true"] { border-color: #a53d39; }
.oeste-zone-field #oeste-zone-error { margin: 6px 0 0; color: #a53d39; }

.oeste-zone-dialog {
    position: fixed;
    width: min(100% - 24px, 32rem);
    max-width: none;
    max-height: min(100vh - 24px, 37rem);
    max-height: min(100dvh - 24px, 37rem);
    padding: 16px 20px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
}
.oeste-zone-dialog:not([open]) { display: none; }
.oeste-zone-dialog[open] { display: flex; flex-direction: column; }
.oeste-zone-dialog::backdrop { background: #202c317a; }
.oeste-zone-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.oeste-site .oeste-zone-dialog-heading h2 { margin: 0; font-size: 1.375rem; }
.oeste-zone-close {
    flex: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--ink);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}
.oeste-zone-close:hover { background: var(--selected); }
.oeste-zone-search-label { margin-bottom: 5px; font-size: .875rem; font-weight: 650; }
.oeste-zone-search-input {
    flex: none;
    width: 100%;
    min-height: 48px;
    padding: 9px 12px;
    border: 1px solid var(--control-line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
}
.oeste-zone-empty { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.oeste-zone-empty:empty { display: none; }
.oeste-zone-results {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}
.oeste-zone-results > li { border-top: 1px solid var(--line); }
.oeste-zone-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 14px;
    width: 100%;
    min-height: 52px;
    padding: 10px;
    border: 0;
    background: #fff;
    color: var(--ink);
    text-align: left;
    cursor: pointer;
}
.oeste-zone-option:focus-visible { outline-offset: -3px; }
.oeste-zone-option:is(:hover:not(:disabled), [aria-current="true"]) { background: var(--selected); }
.oeste-zone-option:disabled { color: var(--muted); opacity: 1; cursor: default; }
.oeste-zone-name { line-height: 1.3; overflow-wrap: anywhere; }
.oeste-zone-option[aria-current="true"] .oeste-zone-name { color: var(--blue); font-weight: 650; }
.oeste-zone-option[aria-current="true"] .oeste-zone-name::after {
    content: "";
    display: inline-block;
    width: .6em;
    height: .35em;
    margin-inline-start: .45em;
    border: solid currentColor;
    border-width: 0 0 1.5px 1.5px;
    vertical-align: .16em;
    transform: rotate(-45deg);
}
.oeste-zone-cost { color: var(--muted); font-size: .8125rem; font-variant-numeric: tabular-nums; }

@media (max-width: 599px) {
    .oeste-zone-dialog { inset: 12px 0 auto; margin: 0 auto; padding: 13px 15px 16px; }
}

.oeste-date-month {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    text-align: center;
    gap: 8px;
    margin-bottom: 12px;
}
.oeste-date-month p { margin: 0; font-weight: 650; }
.oeste-date-month button {
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font-size: 1.5rem;
    cursor: pointer;
}
.oeste-date-month button:disabled { opacity: .4; cursor: default; }
.oeste-date-weekdays, .oeste-date-days {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
    text-align: center;
}
.oeste-date-weekdays { margin-bottom: 5px; color: var(--muted); font-size: .75rem; font-weight: 600; }
.oeste-date-days button {
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fff;
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
}
.oeste-date-days button:disabled { color: #626f76; background: #f3f5f6; text-decoration: line-through; cursor: default; }
.oeste-date-days button[data-outside-range] { border-color: transparent; background: transparent; text-decoration: none; opacity: .6; }
.oeste-date-days button[aria-pressed="true"]:not(:disabled) { border-color: var(--blue); background: var(--blue); color: #fff; }
.oeste-date-days button:not(:disabled, [aria-pressed="true"]):hover, .oeste-date-month button:not(:disabled):hover {
    border-color: var(--blue);
    background: var(--selected);
}
.oeste-date-days button:focus-visible { outline-offset: 1px; }
.oeste-date-empty { margin: 12px 0 0; color: var(--muted); font-size: .875rem; }
.oeste-date-empty:empty { display: none; }

.oeste-form-status { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.oeste-form-status:empty { display: none; }
.oeste-retry { min-height: 44px; padding: 4px 0; border: 0; background: none; color: var(--blue); text-decoration: underline; cursor: pointer; }
.oeste-summary-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 20px 0; }
.oeste-delivery .oeste-zone-shipping {
    margin: -7px 0 16px;
    padding: 8px 12px;
    border-radius: 5px;
    background: var(--selected);
    color: var(--muted);
    font-size: .875rem;
}
#oeste-shipping-amount { font-weight: 650; white-space: nowrap; }
#oeste-shipping-amount:not(.oeste-shipping-promo) { color: var(--ink); }
.oeste-shipping-promo {
    width: fit-content;
    padding: 2px 8px;
    border-radius: 4px;
    background: #deecf5;
    color: var(--blue-hover);
    font-size: .8125rem;
    font-weight: 650;
    white-space: nowrap;
}
.oeste-dedication, .oeste-product-details { border-top: 1px solid var(--line); }
.oeste-dedication summary, .oeste-product-details summary {
    list-style: none;
    cursor: pointer;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 550;
}
.oeste-dedication summary::-webkit-details-marker, .oeste-product-details summary::-webkit-details-marker { display: none; }
.oeste-dedication summary::after, .oeste-product-details summary::after { content: "+"; color: var(--blue); font-size: 22px; padding-right: 8px; font-weight: 400; }
.oeste-dedication[open] summary::after, .oeste-product-details[open] summary::after { content: "−"; }
.oeste-dedication-fields { padding-bottom: 8px; }
.oeste-field-note { font-size: 14px; margin: -8px 0 12px; color: var(--muted); }
.oeste-anonymous { display: flex; align-items: center; gap: 9px; min-height: 44px; font-size: 14px; color: var(--muted); cursor: pointer; }
.oeste-summary-total { border-top: 1px solid var(--line); margin: 5px 0 18px; padding-top: 19px; font-size: 18px; font-weight: 550; }
.oeste-summary-total strong { font-size: 24px; font-weight: 650; }
.oeste-order-guidance {
    margin: 0 0 10px;
    padding: 9px 12px;
    border-radius: 5px;
    background: var(--selected);
    color: var(--blue-hover);
    font-size: .875rem;
    font-weight: 550;
}
.oeste-order-guidance:empty { display: none; }
.oeste-add-to-cart { width: 100%; min-height: 54px; border: 0; border-radius: 5px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 650; cursor: pointer; }
.oeste-add-to-cart:hover:not(:disabled) { background: var(--blue-hover); }
.oeste-add-to-cart:disabled { background: #e6edf2; color: #45637b; cursor: default; }
.oeste-product-help { display: grid; place-items: center; min-height: 44px; width: fit-content; margin: 21px auto 0; font-size: 15px; }
.oeste-product-details { margin-top: 27px; }
.oeste-product-details > div { overflow-wrap: anywhere; color: var(--muted); }
.oeste-unavailable { margin: 20px 0; padding: 12px 14px; background: var(--selected); }

.oeste-related { max-width: 1220px; margin: 0 auto 42px; padding: 23px var(--gutter) 0; border-top: 1px solid var(--line); }
.oeste-related h2 { font-weight: 600; font-size: 20px; margin: 0 0 16px; }
.oeste-related ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; padding: 0; margin: 0; list-style: none; }
.oeste-related a { display: block; color: var(--ink); text-decoration: none; font-weight: 500; }
.oeste-related a:hover { text-decoration: underline; }
.oeste-related img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; margin-bottom: 7px; background: #f8f8f7; }

@media (min-width: 768px) {
    .oeste-product-page { --gutter: 28px; }
    .oeste-product-layout { display: grid; grid-template-columns: minmax(0, 1.17fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 68px); align-items: start; padding: 34px var(--gutter) 0; }
    .oeste-product-main { padding: 0 0 45px; }
    .oeste-product-main h1 { font-size: clamp(25px, 3vw, 34px); }
    .oeste-product-price { font-size: 28px; }
    .oeste-product-caption { margin-inline: 0; }
    .oeste-product-thumbs { padding-inline: 0; }
    .oeste-related ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
