:root {
  --gn-input: oklch(0.220 0.004 286 / 24%);
  --gn-notice: oklch(0.900 0.020 80);
  --gn-popover: oklch(0.965 0.010 80);
  --gn-background: var(--wp--preset--color--gatonegro-background);
  --gn-foreground: var(--wp--preset--color--gatonegro-foreground);
}

.gn-static-page {
  max-width: 820px;
  min-height: 450px;
  padding-block: 45px 75px;
}

.gn-page-title {
  margin: 0 0 28px;
  color: var(--gn-foreground);
  font-family: var(--gn-display);
  font-size: 39px;
  font-weight: 600;
  line-height: 1.15;
}

.gn-eyebrow + .gn-page-title { margin-top: 12px; }

.gn-static-copy {
  font-size: 14px;
  line-height: 1.95;
  overflow-wrap: anywhere;
}

.gn-static-copy :is(h2, h3, h4, p, ul, ol) {
  margin-block: 0 1em;
  color: inherit;
}

.gn-static-copy > :last-child,
.gn-static-copy .oxy-rich-text > :last-child { margin-bottom: 0; }
.gn-static-copy :is(h2, h3, h4) { font: inherit; font-weight: 700; }
.gn-static-copy :is(ul, ol) { padding-inline-start: 1.5em; }
.gn-static-copy :is(.ct-section, .ct-section-inner-wrap, .ct-div-block) { display: block; width: auto; min-height: 0; padding: 0; }
.gn-static-copy > .ct-section:first-child .ct-link:has(.ct-image),
.gn-content-za-restoranta .ct-link-button,
.gn-content-kak-da-poracham .oxel_horizontal_divider,
.gn-content-svarjete-se-nas :is(.ct-image, .oxy-shape-divider, .ct-fancy-icon, .return-to-prev-page),
.gn-account-login .ct-section :is(.ct-image, .oxy-shape-divider, .return-to-prev-page) { display: none; }
.gn-content-kak-da-poracham .ct-image { display: block; max-height: 260px; margin-block: 1em; object-fit: contain; }
.gn-content-galeria iframe { border-radius: 5px; background: var(--gn-notice); }
.gn-inline-details summary { width: fit-content; cursor: pointer; }
.gn-inline-details[open] summary { margin-bottom: 16px; }
.gn-guide-images { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.gn-guide-images img { max-width: 100%; margin: 0 auto; }
.gn-content-kak-da-poracham .ct-text-block { margin-bottom: 14px; }
.gn-content-svarjete-se-nas .ct-text-block { margin-bottom: 14px; }
.gn-static-copy .gn-notice { padding: 18px; border-radius: 5px; background: var(--gn-notice); font-size: 12px; line-height: 1.9; }
.gn-static-copy + .gn-text-button { margin-top: 24px; }

.gn-account-page { padding-block: 48px 64px; }
.gn-account-panel { max-width: 420px; margin-inline: auto; }
.gn-account-panel-wide { max-width: 820px; }
.gn-account-logo { width: 96px; height: 96px; margin: 0 auto 22px; }
.gn-account-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gn-account-panel h1 { font-size: 34px; text-align: center; }
.gn-account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 24px; }
.gn-account-tabs a:hover { background: var(--gn-surface); }
.gn-account-tabs a[aria-current="page"] { background: var(--gn-surface); box-shadow: 0 1px 2px oklch(0 0 0 / 10%); }
.gn-account-links { margin: 18px 0 0; color: var(--gn-muted); font-size: 12px; line-height: 1.7; }
.gn-account-links a:hover { color: var(--gn-signal); }

/* Retain fields, validation messages, password controls and notices from the plugins. */
.gn-account-panel :is(.ur-frontend-form, .woocommerce form, .ur-frontend-form form) {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.gn-account-panel :is(.ur-frontend-form .ur-form-row, .ur-frontend-form .ur-form-grid, .woocommerce form, .ur-frontend-form form) {
  display: grid;
  gap: 18px;
}

.gn-account-panel :is(.ur-frontend-form .ur-form-grid, .ur-frontend-form .ur-field-item) { flex: none; margin: 0; padding: 0; }
.gn-account-panel .ur-frontend-form .ur-form-row,
body.gn-custom .gn-account-panel .ur-frontend-form .ur-form-row .ur-form-grid .ur-field-item { margin: 0; }
.gn-account-panel .ur-frontend-form .ur-form-grid { grid-template-columns: minmax(0, 1fr); }
.gn-account-panel .ur-frontend-form .ur-form-grid[style] { width: 100% !important; }
.gn-account-panel .ur-frontend-form .ur-form-row:empty,
.gn-account-login .woocommerce > h2:has(+ .woocommerce-form-login),
.gn-account-login .woocommerce .col-1 > h2:has(+ .woocommerce-form-login) { display: none; }
.gn-account-panel .woocommerce .col-1 { float: none; width: 100%; }
.gn-account-panel .woocommerce form.woocommerce-form-login,
.gn-account-panel .woocommerce form.woocommerce-ResetPassword {
  display: grid;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.gn-account-panel .woocommerce form .form-row :is(input.input-text, textarea) {
  border-color: var(--gn-input);
  border-radius: 4px;
  background: var(--gn-card);
}
.gn-account-panel .woocommerce form .form-row input.input-text { padding: 12px !important; }
.gn-account-panel .woocommerce form .form-row .password-input input.input-text { padding-inline-end: 42px !important; }
.gn-account-panel .woocommerce form .woocommerce-form-login__submit { float: none; margin: 0; text-transform: none; }
.gn-account-panel :is(.woocommerce, .ur-frontend-form, .user-registration) form :is(.form-row, .lost_password) {
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.5;
}

.gn-account-panel form label,
body.gn-custom .gn-account-panel .ur-frontend-form .ur-form-row .ur-form-grid .ur-field-item label:not(.user-registration-error),
.gn-static-copy .wpcf7 form label { display: block; margin: 0 0 7px; font-size: 12px; font-weight: 400; line-height: 1.5; }
.gn-account-panel form .password-input-group { display: block; position: relative; }
.gn-account-panel form .password-input-group input { padding-inline-end: 40px; }
.gn-account-panel form :is(.password_preview, .show-password-input) { inset-inline-end: 12px; }
.gn-account-panel form :is(input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="submit"]), textarea, select),
body.gn-custom .gn-account-panel .ur-frontend-form .ur-form-row .ur-form-grid .ur-field-item .input-wrapper :is(input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="submit"]), textarea, select),
.gn-static-copy .wpcf7 :is(input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="submit"]), textarea, select) {
  width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--gn-input);
  border-radius: 4px;
  background: var(--gn-card);
  color: var(--gn-foreground);
  font: inherit;
  font-size: 12px;
  line-height: 18px;
}

.gn-account-panel .ur-field-item .input-wrapper { display: block; }
body.gn-custom .gn-account-panel .ur-frontend-form .ur-form-grid :is(input, select) { max-height: none; }
.gn-account-panel form :is(input, textarea, select)::placeholder { color: color-mix(in oklab, var(--gn-foreground) 50%, transparent); }
.gn-account-panel form :is(input, textarea, select)[aria-invalid="true"] { border-color: var(--gn-red); }
.gn-account-panel form :is(input[type="checkbox"], input[type="radio"]) { accent-color: var(--gn-red); }
body.gn-custom .gn-account-panel .ur-frontend-form form .ur-button-container { width: 100%; margin: 0; padding: 0; }
.gn-account-panel .ur-frontend-form form > div[style="clear:both"] { display: none; }
.gn-account-panel form :is(button[type="submit"], input[type="submit"]),
body.gn-custom .gn-account-panel .ur-frontend-form .ur-button-container .ur-submit-button,
.gn-static-copy .wpcf7 :is(button[type="submit"], input[type="submit"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  margin: 0;
  padding: 8px 16px;
  border: 0;
  border-radius: 6px;
  background: var(--gn-red);
  box-shadow: 0 1px 3px oklch(0 0 0 / 10%);
  color: var(--gn-light);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
}

.gn-account-panel form :is(button[type="submit"], input[type="submit"]):hover,
body.gn-custom .gn-account-panel .ur-frontend-form .ur-button-container .ur-submit-button:hover,
.gn-static-copy .wpcf7 :is(button[type="submit"], input[type="submit"]):hover { background: color-mix(in oklab, var(--gn-red) 90%, transparent); }
.gn-account-panel form :is(.woocommerce-form-login__rememberme, .user-registration-form__label-for-checkbox) { margin-bottom: 18px; }
.gn-account-panel .woocommerce-MyAccount-navigation ul { margin: 0 0 20px; padding: 0; list-style: none; }
.gn-account-panel .woocommerce-MyAccount-navigation a { display: block; padding: 5px 10px; text-decoration: none; }
.gn-account-panel .woocommerce-MyAccount-navigation li.is-active a { border-radius: 6px; background: var(--gn-surface); }
.gn-account-panel :is(.woocommerce-MyAccount-content, .woocommerce-MyAccount-navigation) { min-width: 0; overflow-wrap: anywhere; }

.gn-commerce-page .entry-title { margin: 0 0 28px; color: var(--gn-foreground); }
.gn-commerce-page .entry-content :is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout) { max-width: none; }
.gn-commerce-page .wc-block-components-title { margin-block: 0 12px; font-family: var(--gn-display); font-weight: 600; }
.gn-commerce-page .wc-block-components-text-input :is(input, textarea),
.gn-commerce-page .wc-blocks-components-select .wc-blocks-components-select__select,
.gn-commerce-page .wc-block-components-quantity-selector { border-color: var(--gn-input); border-radius: 4px; background: var(--gn-card); color: var(--gn-foreground); }
.gn-commerce-page .wc-block-components-checkout-step__content :is(.wc-block-components-radio-control, .wc-block-components-checkbox) { accent-color: var(--gn-red); }
.gn-commerce-page .wc-block-components-button:not(.is-link) {
  border-radius: 6px;
  background: var(--gn-red);
  color: var(--gn-light);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.gn-commerce-page .wc-block-components-button:not(.is-link):hover { filter: brightness(1.07); }
.gn-commerce-page .wc-block-components-totals-wrapper { border-color: var(--gn-border); }

html:has(.gn-dialog[open]) { overflow: hidden; }
.gn-dialog::backdrop { background: oklch(0.110 0.004 286 / 76%); backdrop-filter: blur(3px); }
.gn-preview-only { display: none; }
.gn-product-dialog .gn-preview-only { display: revert; }
.gn-product-dialog { width: min(940px, calc(100% - 28px)); max-width: none; max-height: 88dvh; padding: 0; overflow: hidden; border-radius: 10px; box-shadow: 0 44px 90px -34px oklch(0 0 0 / 62%); }
.gn-product-dialog > .gn-dialog-heading { position: sticky; z-index: 2; top: 0; height: 0; margin: 0; }
.gn-product-dialog [data-gn-close] { position: absolute; inset: 16px 16px auto auto; width: 34px; height: 34px; border-color: var(--gatonegro-dark-border); border-radius: 50%; background: var(--gn-dark); color: var(--gn-light); box-shadow: 0 10px 24px -12px oklch(0 0 0 / 80%); transition: background .2s; }
.gn-product-dialog [data-gn-close]:hover { background: var(--gn-red); }
.gn-product-dialog .gn-product-detail { grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr); grid-template-rows: minmax(0,1fr) auto; grid-template-areas: "media info" "actions actions"; gap: 0; max-height: calc(88dvh - 2px); }
.gn-product-dialog .gn-detail-photo { grid-area: media; position: relative; min-height: min(250px, 40dvh); overflow: hidden; background: var(--gn-surface); }
.gn-product-dialog .gn-detail-photo > img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.gn-product-dialog .gn-detail-photo:has(.gn-product-missing) > img { display: none; }
.gn-product-dialog .gn-detail-photo .gn-product-missing { display: grid; }
.gn-product-dialog [data-gn-product-content] > p { margin: 0; padding: 45px 30px; }
.gn-product-dialog .gn-detail-info { grid-area: info; display: flex; flex-direction: column; gap: 13px; min-width: 0; min-height: 0; overflow-y: auto; padding: 42px 30px 20px; }
.gn-product-dialog .gn-detail-info > * { flex: none; }
.gn-detail-info .entry-title { margin: 8px 0 13px; font-size: 34px; line-height: 1.1; }
.gn-product-dialog .gn-detail-info .entry-title { margin: 0; overflow-wrap: anywhere; font: 600 34px/1.1 var(--gn-display); }
.gn-detail-info .gn-eyebrow { gap: 10px; margin: 0; color: var(--gn-signal); letter-spacing: .12em; }
.gn-detail-info .gn-eyebrow::before { width: 22px; }
.gn-detail-info .gn-product-price { justify-content: start; gap: 7px; padding-bottom: 5px; border-bottom: 1px solid var(--gn-border); font-size: 24px; }
.gn-product-dialog .gn-product-price { margin: 0; }
.gn-product-dialog .gn-product-price small { font-size: 12px; }
.gn-product-dialog .gn-product-price .woocommerce-Price-amount { color: inherit; font-size: inherit !important; }
.gn-product-dialog .gn-product-price .woocommerce-Price-currencySymbol { color: inherit; font-size: inherit; }
.gn-detail-meta, .gn-detail-foot { margin: 0; color: var(--gn-muted); font-size: 11px; line-height: 1.6; }
.gn-detail-foot { margin-top: auto; padding-top: 6px; font-size: 10px; }
.gn-description { margin-top: 13px; color: var(--gn-muted); font-size: 12.5px; line-height: 1.85; }
.gn-product-dialog .gn-description { margin-top: 0; }
.gn-description h2 { margin: 0 0 5px; color: var(--gn-foreground); font: 600 17px/1.4 var(--gn-display); }
.gn-description p { margin: 0 0 8px; }
.gn-product-dialog .gn-description p:last-child { margin-bottom: 0; }
.gn-allergen-note { padding: 12px 14px; border: 1px solid color-mix(in oklab, var(--gn-signal) 22%, transparent); border-inline-start: 3px solid var(--gn-signal); border-radius: 6px; background: color-mix(in oklab, var(--gn-signal) 6%, var(--gn-card)); font-size: 11px; line-height: 1.7; }
.gn-product-dialog .gn-allergen-note { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.gn-product-dialog .gn-allergen-note svg { flex: none; margin-top: 4px; }
.gn-product-dialog .gn-allergen-note a { text-decoration: underline; white-space: nowrap; }
.gn-product-dialog .gn-detail-examples { display: flex; flex-wrap: wrap; gap: 4px; margin: 2px 0 0; padding: 0; list-style: none; }
.gn-detail-examples > span, .gn-allergen-icon { position: relative; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: oklch(0.820 0.145 83); color: oklch(0.22 0.004 286); }
.gn-detail-examples > span:nth-child(2) { background: oklch(0.800 0.110 225); }
.gn-detail-examples > span:nth-child(3) { background: oklch(0.810 0.125 145); }
.gn-allergen-label { margin: 12px 0 6px; font: 600 17px/1.4 var(--gn-display); }
.gn-allergen-icon[data-tone="shellfish"] { background: oklch(0.78 0.12 35); }
.gn-allergen-icon[data-tone="egg"] { background: oklch(0.81 0.125 145); }
.gn-allergen-icon[data-tone="fish"] { background: oklch(0.78 0.08 230); }
.gn-allergen-icon[data-tone="nut"] { background: oklch(0.75 0.12 70); }
.gn-allergen-icon[data-tone="soy"] { background: oklch(0.84 0.08 130); }
.gn-allergen-icon[data-tone="dairy"] { background: oklch(0.80 0.11 225); }
.gn-allergen-icon[data-tone="celery"] { background: oklch(0.82 0.12 140); }
.gn-allergen-icon[data-tone="mustard"] { background: oklch(0.86 0.14 95); }
.gn-allergen-icon[data-tone="sesame"] { background: oklch(0.80 0.08 80); }
.gn-allergen-icon[data-tone="sulfite"] { background: oklch(0.78 0.04 286); }
.gn-allergen-icon[data-tone="mollusk"] { background: oklch(0.76 0.08 20); }
.gn-allergen-icon[data-tone="lupin"] { background: oklch(0.82 0.10 310); }
.gn-allergen-tooltip { position: absolute; z-index: 2; bottom: calc(100% + 6px); left: 50%; width: max-content; max-width: 180px; padding: 4px 8px; border-radius: 4px; background: var(--gn-dark); color: var(--gn-light); font-size: 10px; line-height: 1.4; text-align: center; white-space: normal; transform: translateX(-50%); opacity: 0; pointer-events: none; }
.gn-allergen-icon:hover .gn-allergen-tooltip, .gn-allergen-icon:focus-within .gn-allergen-tooltip { opacity: 1; }
.gn-product-options { padding: 0; border: 0; font-size: 11.5px; }
.gn-product-options legend { margin-bottom: 5px; font: 600 17px/1.4 var(--gn-display); }
.gn-product-options label { display: inline-flex; align-items: center; gap: 8px; margin: 0 4px 8px 0; padding: 6px 10px; border: 1px solid var(--gn-border); border-radius: 6px; background: var(--gn-background); }
.gn-product-options input { margin: 0; accent-color: var(--gn-red); }
.gn-product-dialog .gn-product-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; min-width: 0; margin: 0; }
.gn-product-dialog .gn-product-options label { gap: 9px; margin: 0; padding: 9px 11px; overflow-wrap: anywhere; cursor: pointer; }
.gn-product-dialog .gn-product-options label:hover { border-color: var(--gn-signal); }
.gn-product-dialog .gn-product-options input { flex: none; width: 15px; height: 15px; }
.gn-product-dialog .gn-detail-info .cart { margin-bottom: 0; }
.gn-product-dialog .gn-detail-actions { grid-area: actions; z-index: 1; display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 22px; border-top: 1px solid var(--gatonegro-dark-border); background: var(--gn-dark); color: var(--gn-light); }
.gn-detail-actions .quantity[hidden] { display: none; }
.gn-detail-quantity { display: flex; flex: none; align-items: center; gap: 6px; padding: 3px; border: 1px solid var(--gatonegro-dark-border); border-radius: 6px; background: oklch(0.223 0.004 286); }
.gn-detail-quantity output { min-width: 20px; color: var(--gn-light); font-size: 13px; text-align: center; }
.gn-detail-actions .gn-detail-quantity button { display: grid; width: 36px; height: 36px; padding: 0; place-items: center; border: 0; border-radius: 6px; background: color-mix(in oklab, var(--gn-light) 92%, var(--gn-red)); color: var(--gn-dark); cursor: pointer; }
.gn-detail-actions .gn-detail-quantity button:hover:enabled { background: var(--gn-light); }
.gn-detail-actions .gn-detail-quantity button:disabled { opacity: .35; cursor: default; }
/* Override legacy WooCommerce and Oxygen styles on the native cart submit button. */
.gn-product-dialog .gn-product-detail .gn-detail-actions .gn-detail-add { display: inline-flex; flex: 1; align-items: center; justify-content: center; min-width: 0; height: 46px; padding: 4px 8px; border: 0; border-radius: 6px; background: var(--gn-red); color: var(--gn-light); font: 500 14px/1.25 var(--wp--preset--font-family--gatonegro-sans); letter-spacing: normal; text-align: center; text-transform: none; cursor: pointer; }
.gn-product-dialog .gn-product-detail .gn-detail-actions .gn-detail-add:hover:enabled { background: color-mix(in oklab, var(--gn-red) 90%, black); }
.gn-product-dialog .gn-product-detail .gn-detail-actions .gn-detail-add:focus-visible { outline: 2px solid var(--gn-light); outline-offset: 2px; }
.gn-product-dialog .gn-product-detail .gn-detail-actions .gn-detail-add:disabled { opacity: .45; cursor: default; }
.gn-detail-info .qty { min-height: 40px; padding: 5px; }
.gn-detail-info button[type="submit"] { flex: 1; min-height: 46px; border-radius: 6px; font-size: 14px; }
.gn-cart-dialog { width: min(580px, calc(100% - 24px)); max-height: 90dvh; padding: 0; border-radius: 8px; background: var(--gn-popover); }
.gn-cart-dialog .gn-dialog-heading { position: relative; display: block; margin: 0; padding: 22px 48px 18px 22px; border-bottom: 1px solid var(--gn-border); }
.gn-cart-eyebrow { margin: 0 0 5px; color: var(--gn-signal); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.gn-cart-dialog .gn-dialog-heading h2 { font-size: 28px; }
.gn-cart-dialog [data-gn-close] { position: absolute; inset: 12px 12px auto auto; }
.gn-cart-dialog .widget_shopping_cart_content { padding: 6px 22px 16px; }
.gn-cart-dialog li { margin: 0; padding: 12px 0; border: 0; border-bottom: 1px solid var(--gn-border); border-radius: 0; font-size: 12px; }
.gn-cart-dialog li > a { text-decoration: none; }
.gn-cart-dialog .woocommerce-mini-cart__empty-message { padding-block: 36px; color: var(--gn-muted); font-size: 13px; text-align: center; }
.gn-cart-dialog .woocommerce-mini-cart__total { display: flex; justify-content: space-between; gap: 10px; }
.gn-cart-dialog .woocommerce-mini-cart__buttons { margin-bottom: 0; }
.gn-cart-dialog .woocommerce-mini-cart__buttons a { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; border-radius: 6px; font-size: 14px; text-decoration: none; }
.gn-cart-dialog .woocommerce-mini-cart__buttons a:not(.checkout) { border: 1px solid var(--gn-input); background: transparent; color: var(--gn-foreground); }

.gn-account-panel.gn-profile { max-width: 960px; }
.gn-account-panel.gn-profile h1 { margin: 8px 0 0; font-family: var(--gn-display); font-size: 36px; font-weight: 600; text-align: start; }
.gn-profile-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.gn-profile-email, .gn-profile-copy { margin: 6px 0 0; color: var(--gn-muted); font-size: 13px; line-height: 1.5; }
.gn-profile-notice { margin: 0 0 16px; padding: 12px 14px; border: 1px solid var(--gn-border); border-radius: 6px; background: var(--gn-notice); font-size: 13px; }
.gn-profile-notice.is-error { border-color: var(--gn-red); background: color-mix(in oklab, var(--gn-red) 8%, var(--gn-card)); }
.gn-profile-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 16px; }
.gn-profile-card { min-width: 0; padding: 18px; border: 1px solid var(--gn-border); border-radius: 8px; background: var(--gn-card); }
.gn-profile-card h2 { margin: 0 0 14px; font-family: var(--gn-display); font-size: 22px; font-weight: 600; }
.gn-profile-orders { grid-column: 1 / -1; }
.gn-profile-card .gn-profile-copy { margin-bottom: 14px; }
.gn-account-panel.gn-profile form { display: grid; gap: 12px; }
.gn-account-panel.gn-profile form label:not(.gn-check) > span { display: block; margin-bottom: 7px; }
.gn-account-panel.gn-profile form :is(input:not([type="hidden"], [type="checkbox"], [type="radio"], [type="submit"]), select) { min-height: 46px; border-radius: 6px; font-size: 13px; }
.gn-account-panel.gn-profile form :is(input, select):focus { outline: 2px solid color-mix(in oklab, var(--gn-red) 35%, transparent); outline-offset: 1px; border-color: var(--gn-signal); }
.gn-account-panel.gn-profile form :is(button[type="submit"], input[type="submit"]) { width: auto; min-width: 140px; }
.gn-account-panel.gn-profile form label.gn-check { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; }
.gn-account-panel.gn-profile form label.gn-check input { width: 16px; min-height: 16px; margin: 0; accent-color: var(--gn-red); }
.gn-field-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 12px; }
.gn-field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gn-form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.gn-form-actions .gn-button-outline { min-height: 36px; }
.gn-address-list { display: grid; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.gn-address-card { padding: 12px; border: 1px solid var(--gn-input); border-radius: 6px; }
.gn-address-card strong { font-size: 14px; }
.gn-address-card p { margin: 4px 0 0; color: var(--gn-muted); font-size: 12px; line-height: 1.45; }
.gn-address-badge { display: inline-flex; margin-inline-start: 8px; padding: 2px 6px; border-radius: 999px; background: color-mix(in oklab, var(--gn-red) 12%, var(--gn-card)); color: var(--gn-signal); font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.gn-address-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.gn-address-actions .gn-text-button { font-size: 12px; }
.gn-account-panel.gn-profile .gn-inline-form { display: inline; }
.gn-account-panel.gn-profile .gn-address-card form button { width: auto; min-width: 0; min-height: 32px; padding: 4px 10px; border: 1px solid var(--gn-input); background: transparent; box-shadow: none; color: var(--gn-foreground); font-size: 12px; font-weight: 500; }
.gn-account-panel.gn-profile .gn-address-card form button:hover { border-color: var(--gn-red); background: transparent; color: var(--gn-signal); }
.gn-address-editor summary { display: inline-flex; align-items: center; min-height: 36px; padding: 8px 14px; border-radius: 6px; background: var(--gn-red); color: var(--gn-light); font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; }
.gn-address-editor summary::-webkit-details-marker { display: none; }
.gn-address-editor[open] summary { min-height: 0; margin-bottom: 12px; padding: 0; background: transparent; color: var(--gn-foreground); font-family: var(--gn-display); font-size: 20px; font-weight: 600; }
.gn-address-editor form { margin-top: 4px; }
.gn-order-history { margin: 0; padding: 0; list-style: none; }
.gn-order-history li { display: grid; grid-template-columns: 90px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--gn-border); font-size: 13px; }
.gn-order-history li:last-child { border-bottom: 0; padding-bottom: 0; }
.gn-order-history li:first-child { padding-top: 0; }

.gn-thanks { display: grid; gap: 14px; justify-items: start; }
.gn-thanks h1 { margin: 0; font-family: var(--gn-display); font-size: 40px; font-weight: 600; line-height: 1.15; }
.gn-thanks-lead, .gn-thanks-mail { margin: 0; color: var(--gn-muted); font-size: 14px; line-height: 1.5; }
.gn-thanks-card { width: 100%; padding: 18px; border: 1px solid var(--gn-border); border-radius: 8px; background: var(--gn-card); }
.gn-thanks-card h2 { margin: 0 0 12px; font-family: var(--gn-display); font-size: 22px; font-weight: 600; }
.gn-thanks-card p { margin: 0; font-size: 14px; line-height: 1.5; }
.gn-thanks-card p + p { margin-top: 4px; }
.gn-thanks-note { color: var(--gn-muted); }
.gn-thanks-items { margin: 0; padding: 0; list-style: none; }
.gn-thanks-items li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--gn-border); font-size: 13px; }
.gn-thanks-items li:first-child { padding-top: 0; }
.gn-thanks-items span { display: grid; gap: 2px; min-width: 0; }
.gn-thanks-items small { color: var(--gn-muted); font-size: 12px; }
.gn-thanks-items li > strong { white-space: nowrap; }
.gn-thanks-totals { margin: 14px 0 0; }
.gn-thanks-totals div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--gn-border); font-size: 13px; }
.gn-thanks-totals div:last-child { border-bottom: 0; padding-bottom: 0; font-size: 16px; font-weight: 700; }
.gn-thanks-totals dt { color: var(--gn-muted); font-weight: 500; }
.gn-thanks-totals div:last-child dt { color: inherit; }
.gn-thanks-totals dd { margin: 0; text-align: end; }
.gn-thanks .gn-button { margin-top: 6px; }
.gn-thanks-gateway:empty { display: none; }

.gn-commerce-page .wc-block-checkout__terms { margin: 4px 0 0; color: var(--gn-muted); font-size: 12px; line-height: 1.6; }
.gn-commerce-page .wc-block-checkout__terms .wc-block-components-checkbox__label { color: var(--gn-muted); font-size: 12px; line-height: 1.6; }
.gn-commerce-page .wc-block-checkout__terms a { color: var(--gn-foreground); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.gn-commerce-page .wc-block-checkout__terms a:hover { color: var(--gn-signal); }
.gn-thanks-gateway :is(.woocommerce-order, .woocommerce-notice, .woocommerce-thankyou-order-received) { margin: 0; font-size: 13px; }

.gn-not-found { display: grid; min-height: 100vh; place-items: center; padding-inline: 16px; text-align: center; }
.gn-not-found h1 { margin: 0; font-size: 72px; line-height: 1; }
.gn-not-found h2 { margin: 16px 0 0; font-size: 20px; font-weight: 600; line-height: 1.4; }
.gn-not-found p { margin: 8px 0 24px; color: var(--gn-muted); font-size: 14px; line-height: 20px; }

@media (max-width: 760px) {
  .gn-page-title, .gn-thanks h1 { font-size: 32px; }
  .gn-account-page { padding-block: 28px 45px; }
  .gn-account-panel.gn-profile h1 { font-size: 28px; }
  .gn-profile-head { align-items: flex-start; flex-direction: column; }
  .gn-profile-layout, .gn-field-row, .gn-field-grid { grid-template-columns: minmax(0, 1fr); }
  .gn-account-panel.gn-profile form :is(button[type="submit"], input[type="submit"]) { width: 100%; }
  .gn-order-history li { grid-template-columns: 1fr auto; }
  .gn-product-dialog { width: calc(100% - 24px); overflow-y: auto; }
  .gn-product-dialog .gn-product-detail { grid-template-columns: minmax(0,1fr); grid-template-rows: auto auto auto; grid-template-areas: "media" "info" "actions"; max-height: none; }
  .gn-product-dialog .gn-detail-photo { height: 210px; min-height: 0; }
  .gn-product-dialog .gn-detail-info { gap: 11px; overflow: visible; padding: 18px 18px 14px; }
  .gn-product-dialog .gn-detail-info .entry-title { font-size: 26px; }
  .gn-product-dialog .gn-product-options { grid-template-columns: minmax(0,1fr); }
  .gn-product-dialog .gn-detail-actions { position: sticky; bottom: 0; padding: 12px 16px; }
  .gn-product-dialog .gn-product-detail .gn-detail-actions .gn-detail-add { height: 44px; }
  .gn-detail-info .entry-title { font-size: 26px; }
  .gn-detail-info .gn-product-price { font-size: 20px; }
}
