/*
 * ChoosyGoods storefront design system.
 * This file is loaded after the legacy storefront bundle and is the single
 * source of truth for layout, typography, spacing, surfaces and responsive
 * page behaviour.
 */

html.cg-ui {
  --cg-color-ink: #171717;
  --cg-color-text: #333333;
  --cg-color-muted: #666666;
  --cg-color-line: #e5e5e5;
  --cg-color-line-strong: #d6d2cb;
  --cg-color-paper: #ffffff;
  --cg-color-soft: #f7f6f3;
  --cg-color-brand: #d21f2b;
  --cg-color-brand-soft: #fff3f3;
  --cg-color-success: #1d6e4e;
  --cg-color-success-soft: #edf7f0;
  --cg-color-error: #b42318;
  --cg-color-error-soft: #fff2ef;
  --cg-page-max: 1320px;
  --cg-page-gutter: 16px;
  --cg-space-1: 4px;
  --cg-space-2: 8px;
  --cg-space-3: 12px;
  --cg-space-4: 16px;
  --cg-space-5: 24px;
  --cg-space-6: 32px;
  --cg-space-7: 48px;
  --cg-space-8: 64px;
  --cg-space-9: 80px;
  --cg-radius-control: 8px;
  --cg-radius-card: 12px;
  --cg-radius-media: 16px;
  --cg-shadow-popover: 0 18px 48px rgba(23, 23, 23, .12);
  --cg-font-body: 16px;
  --cg-font-ui: 14px;
  --cg-font-caption: 13px;
  --cg-font-label: 12px;
  --cg-font-section: 18px;
  --cg-font-page: 24px;
  --cg-line-height-body: 1.65;
  --cg-line-height-ui: 1.5;
  --cg-ink: var(--cg-color-ink);
  --cg-muted: var(--cg-color-muted);
  --cg-line: var(--cg-color-line);
  --cg-paper: var(--cg-color-paper);
  --cg-soft: var(--cg-color-soft);
  --cg-warm: var(--cg-color-soft);
  --cg-accent: var(--cg-color-brand);
  --cg-accent-soft: var(--cg-color-brand-soft);
  --cg-green: var(--cg-color-success);
  --text-primary: var(--cg-color-ink);
  --text-secondary: var(--cg-color-muted);
  --text-disabled: #949494;
  --border-subtle: var(--cg-color-line);
  --border-control: #767676;
  --surface: var(--cg-color-soft);
  --surface-base: var(--cg-color-paper);
  --success: var(--cg-color-success);
  --success-soft: var(--cg-color-success-soft);
  --error: var(--cg-color-error);
  --error-soft: var(--cg-color-error-soft);
  --muted: var(--cg-color-muted);
  --line: var(--cg-color-line);
  --paper: var(--cg-color-paper);
  --red: var(--cg-color-brand);
  --accent: var(--cg-color-brand);
  --accent-soft: var(--cg-color-brand-soft);
  --ink: var(--cg-color-ink);
  --cgv3-red: var(--cg-color-brand);
  --cgv3-red-soft: var(--cg-color-brand-soft);
  --cgv3-ink: var(--cg-color-ink);
  --cgv3-subtle: var(--cg-color-muted);
  --cgv3-line: var(--cg-color-line);
  --cgv3-surface: var(--cg-color-soft);
  --cgd-content: var(--cg-page-max);
  --cgd-gutter: var(--cg-page-gutter);
  --cgd-header-h: 78px;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
}

html.cg-ui,
html.cg-ui body.cg-store {
  color: var(--cg-color-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Segoe UI", Arial, sans-serif;
  font-size: var(--cg-font-body);
  line-height: var(--cg-line-height-body);
}

html.cg-ui [hidden] {
  display: none !important;
}

html.cg-ui img {
  max-width: 100%;
}

html.cg-ui a,
html.cg-ui button,
html.cg-ui input,
html.cg-ui select,
html.cg-ui textarea,
html.cg-ui summary {
  -webkit-tap-highlight-color: transparent;
}

html.cg-ui a:focus-visible,
html.cg-ui button:focus-visible,
html.cg-ui input:focus-visible,
html.cg-ui select:focus-visible,
html.cg-ui textarea:focus-visible,
html.cg-ui summary:focus-visible {
  outline: 2px solid var(--cg-color-ink);
  outline-offset: 3px;
}

html.cg-ui input,
html.cg-ui select,
html.cg-ui textarea {
  color: var(--cg-color-text);
  font-size: 16px;
}

html.cg-ui .cg-inner,
html.cg-ui .cg-desktop-page-heading,
html.cg-ui .cg-header__inner,
html.cg-ui .cg-footer__inner,
html.cg-ui .cg-footer__legal {
  width: min(var(--cg-page-max), calc(100% - var(--cg-page-gutter) * 2));
  margin-right: auto;
  margin-left: auto;
}

html.cg-ui .cg-desktop-page-heading {
  margin-top: var(--cg-space-5);
  margin-bottom: var(--cg-space-4);
  padding-left: var(--cg-space-3);
  gap: var(--cg-space-1);
  border-left-width: 3px;
}

html.cg-ui .cg-desktop-page-heading span {
  color: var(--cg-color-muted);
  font-size: var(--cg-font-label);
  font-weight: 600;
  letter-spacing: .12em;
}

html.cg-ui .cg-desktop-page-heading strong {
  color: var(--cg-color-ink);
  font-size: clamp(28px, 2.6vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.035em;
}

html.cg-ui .btn,
html.cg-ui .cg-button,
html.cg-ui button[type="submit"] {
  border-radius: var(--cg-radius-control);
  font-size: var(--cg-font-ui);
  font-weight: 600;
  line-height: var(--cg-line-height-ui);
}

html.cg-ui .btn,
html.cg-ui .cg-button {
  min-height: 44px;
  padding: 10px 16px;
}

html.cg-ui .btn.primary,
html.cg-ui .cg-button--primary {
  border-color: var(--cg-color-brand);
  background: var(--cg-color-brand);
  color: #fff;
}

html.cg-ui .btn.outline {
  border-color: var(--cg-color-line-strong);
  background: #fff;
  color: var(--cg-color-ink);
}

html.cg-ui .form-input,
html.cg-ui input.input-text,
html.cg-ui .cg-checkout-layout input.input-text,
html.cg-ui .cg-checkout-layout select,
html.cg-ui .cg-checkout-layout textarea {
  min-height: 48px;
  padding: 11px 12px;
  border: 1px solid var(--cg-color-line-strong);
  border-radius: var(--cg-radius-control);
  background: #fff;
  color: var(--cg-color-ink);
  font-size: 16px;
  line-height: 1.5;
}

html.cg-ui .form-label,
html.cg-ui .cg-checkout-layout .form-row label {
  color: var(--cg-color-ink);
  font-size: var(--cg-font-caption);
  font-weight: 600;
  line-height: 1.5;
}

html.cg-ui .e8-muted,
html.cg-ui .small.muted {
  color: var(--cg-color-muted);
}

html.cg-ui .section {
  padding-top: var(--cg-space-5);
  padding-bottom: var(--cg-space-5);
}

html.cg-ui .section + .section {
  border-top-width: 1px;
  border-top-color: var(--cg-color-line);
}

html.cg-ui .section h2 {
  font-size: var(--cg-font-section);
  line-height: 1.4;
}

/* Product discovery and the shared card used throughout the store. */
html.cg-ui .product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--cg-space-3);
  row-gap: var(--cg-space-5);
}

html.cg-ui .product-card,
html.cg-ui .product-card * {
  min-width: 0;
}

html.cg-ui .product-card .product-image,
html.cg-ui .product-card .cg-product-card__media {
  overflow: hidden;
  aspect-ratio: 4 / 3 !important;
  border-radius: var(--cg-radius-card);
  background: var(--cg-color-soft);
}

html.cg-ui .product-card .product-card-image {
  width: 100%;
  height: 100%;
  object-fit: var(--cg-image-fit, cover);
  object-position: var(--cg-image-position, 50% 50%);
}

html.cg-ui .product-card .product-meta,
html.cg-ui .product-card .cg-product-card__meta {
  padding-top: var(--cg-space-3);
}

html.cg-ui .product-card .product-brand,
html.cg-ui .product-card .cg-product-card__brand {
  display: block;
  margin: 0 0 var(--cg-space-1);
  color: var(--cg-color-muted);
  font-size: var(--cg-font-label);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html.cg-ui .product-card .product-name,
html.cg-ui .product-card .cg-product-card__title {
  display: -webkit-box;
  min-height: 2.9em;
  margin: 0;
  overflow: hidden;
  color: var(--cg-color-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

html.cg-ui .product-card .product-price {
  min-height: 28px;
  margin-top: var(--cg-space-2);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
  overflow: visible;
}

html.cg-ui .product-card .product-price .price {
  color: var(--cg-color-ink);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.035em;
  white-space: nowrap;
}

html.cg-ui .product-card .discount-inline,
html.cg-ui .product-card .product-price del {
  font-size: var(--cg-font-label);
  line-height: 1.4;
}

html.cg-ui .product-card .cg-favorite-button {
  top: 4px;
  right: 4px;
  bottom: auto;
  width: 44px;
  height: 44px;
  padding: 6px;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
}

html.cg-ui .product-card .cg-favorite-button::before {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 1px 5px rgba(0, 0, 0, .06);
  content: "";
}

html.cg-ui .product-card .cg-favorite-button .cg-icon {
  position: relative;
  z-index: 1;
  width: 15px;
  height: 15px;
}

/* Home: one dominant editorial image, then shopping, then brand discovery. */
html.cg-ui .scene-home .search-link,
html.cg-ui .scene-home .new-arrivals-section,
html.cg-ui .scene-home .home-trust-section,
html.cg-ui .scene-home .home-brand-section,
html.cg-ui .scene-home .cg-home-hero {
  width: min(var(--cg-page-max), calc(100% - var(--cg-page-gutter) * 2));
  max-width: var(--cg-page-max);
  margin-right: auto;
  margin-left: auto;
}

html.cg-ui .scene-home .search-link {
  margin-top: var(--cg-space-3);
  margin-bottom: var(--cg-space-3);
  padding-right: 14px;
  padding-left: 14px;
  border-radius: var(--cg-radius-control);
}

html.cg-ui .cg-home-hero {
  height: clamp(360px, 32vw, 520px);
  margin-top: 0;
  border-radius: var(--cg-radius-media);
}

html.cg-ui .scene-home .home-trust-section {
  padding: 0;
  border: 0 !important;
}

html.cg-ui .home-trust-line {
  min-height: 48px;
  padding: 8px 0;
  color: var(--cg-color-muted);
  font-size: var(--cg-font-caption);
}

html.cg-ui .scene-home .new-arrivals-section {
  padding: var(--cg-space-6) 0 var(--cg-space-7);
  border: 0 !important;
}

html.cg-ui .home-collection-toolbar {
  margin-bottom: var(--cg-space-4);
}

html.cg-ui .home-collection-tabs {
  width: min(320px, 100%);
  height: 48px;
  padding: 4px;
  border-radius: var(--cg-radius-control);
}

html.cg-ui .home-collection-tabs button {
  min-height: 40px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
}

html.cg-ui .scene-home .new-arrivals-section + .home-brand-section {
  margin-top: 0;
  padding-top: var(--cg-space-7);
  padding-bottom: var(--cg-space-8);
  border-top: 1px solid var(--cg-color-line);
}

html.cg-ui .home-brand-head h2 {
  font-size: 24px;
}

html.cg-ui .home-brand-grid {
  gap: var(--cg-space-3);
}

html.cg-ui .home-brand-grid a {
  min-height: 132px;
  border-radius: var(--cg-radius-card);
}

/* Catalog: one filter owner, one navigation row and a shared results grid. */
html.cg-ui #cg-v3-catalog {
  width: min(var(--cg-page-max), calc(100% - var(--cg-page-gutter) * 2)) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  padding: var(--cg-space-5) 0 var(--cg-space-8) !important;
}

html.cg-ui .cgv3-catalog-head {
  margin-bottom: var(--cg-space-4);
}

html.cg-ui .cgv3-catalog-head h1 {
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}

html.cg-ui .cgv3-category-nav {
  margin-bottom: var(--cg-space-5);
}

html.cg-ui .cgv3-category-nav a {
  min-height: 52px;
  font-size: 16px;
  font-weight: 600;
}

html.cg-ui .cgv3-catalog-layout {
  grid-template-columns: 248px minmax(0, 1fr);
  gap: var(--cg-space-5);
}

html.cg-ui #cg-v3-results .cgv3-results-toolbar {
  min-height: 52px;
  margin-bottom: var(--cg-space-4);
}

html.cg-ui #cg-v3-catalog .product-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: var(--cg-space-6) var(--cg-space-4) !important;
}

html.cg-ui #cg-filter-drawer .cg-filter-head h2,
html.cg-ui .cgv3-filter-section .cg-filter-section-head h3 {
  font-weight: 600;
}

html.cg-ui .cgv3-filter-chips .cg-filter-chip > span {
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 6px;
  font-size: var(--cg-font-caption);
}

html.cg-ui .cgv3-filter-foot .cg-filter-apply {
  min-height: 48px !important;
  font-weight: 600 !important;
}

/* Product detail: mobile-first flow, expanded desktop split at 1024px. */
html.cg-ui .cgv3-product-detail .detail-page,
html.cg-ui .cgv3-product-scene .cgv3-product-detail .detail-page {
  width: min(var(--cg-page-max), calc(100% - var(--cg-page-gutter) * 2));
  margin: var(--cg-space-6) auto var(--cg-space-8);
}

html.cg-ui .cgv3-product-main {
  align-items: start;
  gap: var(--cg-space-6);
}

html.cg-ui .cgv3-hero,
html.cg-ui .cgv3-product-detail .d15-photo {
  border-radius: var(--cg-radius-card);
}

html.cg-ui .cgv3-product-detail .cgv3-purchase-panel {
  border-radius: var(--cg-radius-card);
}

html.cg-ui .cgv3-product-detail .detail-brand {
  color: var(--cg-color-ink);
  font-size: 22px !important;
  font-weight: 600;
}

html.cg-ui .cgv3-product-detail .detail-name {
  color: var(--cg-color-text);
  font-size: 16px !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

html.cg-ui .cgv3-product-detail .detail-prices .price {
  font-size: 23px !important;
  font-weight: 600 !important;
}

html.cg-ui .cgv3-product-detail .detail-description,
html.cg-ui .cgv3-product-detail .d15-description {
  max-width: 72ch;
}

html.cg-ui .cgv3-product-detail .detail-tabs,
html.cg-ui .cgv3-product-detail .cgv3-detail-panel {
  width: min(1040px, 100%);
}

/* Account: account navigation is horizontal below desktop and a sidebar above. */
html.cg-ui .scene-my {
  max-width: var(--cg-page-max);
}

html.cg-ui .cgd-account-nav {
  gap: var(--cg-space-2);
}

html.cg-ui .cgd-account-nav a {
  min-height: 44px;
  border-radius: 999px;
}

html.cg-ui .cg-account-endpoint > .section {
  border-radius: var(--cg-radius-card);
}

html.cg-ui .e8-order-shortcuts {
  gap: var(--cg-space-2);
}

html.cg-ui .e8-order-shortcuts a {
  min-height: 72px;
  border-radius: var(--cg-radius-control);
}

html.cg-ui .e8-my-tools > a {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr);
  column-gap: var(--cg-space-3);
  row-gap: 2px;
  align-items: center;
}

html.cg-ui .e8-my-tools > a > .icon {
  grid-row: 1 / 3;
}

html.cg-ui .e8-my-tools > a > b,
html.cg-ui .e8-my-tools > a > span,
html.cg-ui .e8-my-tools > a > small {
  display: block;
  grid-column: 2;
}

html.cg-ui .e8-my-tools > a small {
  display: block;
  margin-top: 2px;
}

html.cg-ui .cg-address-field-grid {
  gap: var(--cg-space-4);
}

/* Order lookup and returns are a single, linear task. Never parallel forms. */
html.cg-ui .scene-orders,
html.cg-ui .scene-returns {
  display: block !important;
  width: min(980px, calc(100% - var(--cg-page-gutter) * 2)) !important;
  max-width: 980px;
  margin: 0 auto !important;
  padding-bottom: var(--cg-space-8);
}

html.cg-ui body.cg-view-orders .cg-desktop-page-heading,
html.cg-ui body.cg-view-returns .cg-desktop-page-heading {
  width: min(980px, calc(100% - var(--cg-page-gutter) * 2));
}

html.cg-ui .scene-orders .e8-segment,
html.cg-ui .scene-returns .e8-segment,
html.cg-ui .scene-orders .e8-lookup,
html.cg-ui .scene-orders .e8-order-tabs,
html.cg-ui .scene-orders .e8-order-list,
html.cg-ui .scene-orders .e8-help-row,
html.cg-ui .scene-returns .e8-return-intro,
html.cg-ui .scene-returns > .section,
html.cg-ui .scene-returns > form,
html.cg-ui .scene-returns > form > .section {
  width: 100%;
  max-width: none;
}

html.cg-ui .scene-orders .e8-segment,
html.cg-ui .scene-returns .e8-segment {
  margin-top: var(--cg-space-2);
  border: 1px solid var(--cg-color-line);
  border-radius: var(--cg-radius-card);
  overflow: hidden;
}

html.cg-ui .scene-orders .e8-lookup,
html.cg-ui .scene-returns > .section:nth-of-type(2),
html.cg-ui .scene-returns > form > .section {
  margin-top: var(--cg-space-4);
  padding: var(--cg-space-5) !important;
  border: 1px solid var(--cg-color-line) !important;
  border-radius: var(--cg-radius-card);
  background: #fff;
}

html.cg-ui .scene-orders .e8-order-tabs {
  position: static;
  min-height: 48px;
  margin-top: var(--cg-space-4);
  padding: 0;
  border: 1px solid var(--cg-color-line);
  border-radius: var(--cg-radius-card);
  background: #fff;
}

html.cg-ui .scene-orders .e8-order-list {
  min-height: 0;
  margin-top: var(--cg-space-4);
  padding: var(--cg-space-5) !important;
  border: 1px solid var(--cg-color-line);
  border-radius: var(--cg-radius-card);
  background: #fff;
}

html.cg-ui .scene-orders .e8-help-row {
  margin-top: var(--cg-space-4);
  padding: var(--cg-space-4) !important;
  border: 1px solid var(--cg-color-line);
  border-radius: var(--cg-radius-card);
}

html.cg-ui .scene-returns > form[data-cg-public-return-form] {
  display: block;
  margin: 0;
}

html.cg-ui .scene-returns > form[data-cg-public-return-form][hidden] {
  display: none !important;
}

html.cg-ui .scene-returns > form > .section + .section {
  border-top: 1px solid var(--cg-color-line);
}

html.cg-ui .scene-returns .e8-status,
html.cg-ui .scene-orders .e8-status {
  border-radius: var(--cg-radius-control);
}

html.cg-ui .scene-returns .e8-process {
  margin-top: var(--cg-space-4);
  padding: var(--cg-space-4) !important;
  border: 1px solid var(--cg-color-line);
  border-radius: var(--cg-radius-card);
  background: #fff;
}

/* Recent products: compact rows on mobile, a balanced two-column list on desktop. */
html.cg-ui .scene-recent .product-grid {
  display: block !important;
}

html.cg-ui .scene-recent .e8-recent-row {
  width: 100%;
  padding: var(--cg-space-3);
  border: 1px solid var(--cg-color-line);
  border-radius: var(--cg-radius-card);
  background: #fff;
}

html.cg-ui .scene-recent .e8-recent-row + .e8-recent-row {
  margin-top: var(--cg-space-3);
}

html.cg-ui .scene-recent .e8-recent-row .product-card {
  border: 0 !important;
  background: transparent;
}

/* Cart and checkout use one task column until there is enough width for a summary rail. */
html.cg-ui .cg-cart-layout,
html.cg-ui .cg-checkout-layout {
  width: 100%;
}

html.cg-ui .cg-cart-layout .cart-group-heading {
  padding-bottom: var(--cg-space-3);
}

html.cg-ui .cg-cart-layout .cart-variant-row {
  gap: var(--cg-space-3);
}

html.cg-ui .cg-checkout-layout .cg-checkout-products-section,
html.cg-ui .cg-checkout-layout .cg-checkout-customer,
html.cg-ui .cg-checkout-layout .cg-checkout-review {
  min-width: 0;
}

html.cg-ui .cg-checkout-next-step,
html.cg-ui .cg-checkout-help {
  color: var(--cg-color-muted);
  font-size: var(--cg-font-caption);
  line-height: 1.6;
}

/* Search, brands and reading pages share one content axis. */
html.cg-ui .scene-search .search-experience,
html.cg-ui .scene-brands .brand-page-hero,
html.cg-ui .scene-brands .brand-index-section,
html.cg-ui .scene-service .service-experience,
html.cg-ui .scene-policy,
html.cg-ui .scene-size-guide {
  width: min(var(--cg-page-max), calc(100% - var(--cg-page-gutter) * 2)) !important;
  max-width: var(--cg-page-max);
  margin-right: auto !important;
  margin-left: auto !important;
}

html.cg-ui .scene-search .search-experience {
  padding: var(--cg-space-6) 0 var(--cg-space-8);
}

html.cg-ui .scene-search .search-entry-section,
html.cg-ui .scene-search .search-history-section,
html.cg-ui .scene-search .search-results-section {
  border-radius: var(--cg-radius-card);
}

html.cg-ui .scene-brands .brand-page-hero {
  padding: var(--cg-space-6) 0 var(--cg-space-4);
}

html.cg-ui .scene-brands .brand-index-section {
  padding-top: var(--cg-space-5);
}

html.cg-ui .scene-service .service-experience {
  gap: var(--cg-space-5);
  padding-bottom: var(--cg-space-8);
}

html.cg-ui .scene-service .service-experience > .section {
  border-radius: var(--cg-radius-card);
}

html.cg-ui .scene-policy {
  display: grid !important;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: var(--cg-space-6);
  padding-top: var(--cg-space-5);
  padding-bottom: var(--cg-space-8);
}

html.cg-ui .scene-policy .e8-policy-intro {
  grid-column: 1;
  position: sticky;
  top: calc(var(--cgd-header-h) + var(--cg-space-4));
  align-self: start;
  margin: 0;
}

html.cg-ui .scene-policy .e8-policy-topic,
html.cg-ui .scene-policy .e8-support {
  grid-column: 2;
  margin: 0;
}

html.cg-ui .scene-policy .e8-policy-copy,
html.cg-ui .scene-policy .e8-support {
  max-width: 820px;
}

html.cg-ui .scene-size-guide {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: var(--cg-space-6);
  padding-top: var(--cg-space-5);
  padding-bottom: var(--cg-space-8);
}

html.cg-ui .scene-size-guide .e8-guide-intro {
  grid-column: 1 / -1;
}

html.cg-ui .scene-size-guide > .section:nth-of-type(2) {
  grid-column: 1;
}

html.cg-ui .scene-size-guide .e8-size-notes {
  grid-column: 2;
}

html.cg-ui .cg-error-page {
  width: min(980px, calc(100% - var(--cg-page-gutter) * 2));
  margin: 0 auto;
  padding-top: var(--cg-space-8);
  padding-bottom: var(--cg-space-8);
}

html.cg-ui .cg-error-page h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
}

@media (min-width: 768px) {
  html.cg-ui {
    --cg-page-gutter: 24px;
  }

  html.cg-ui .product-card .product-name {
    font-size: 15px;
  }

  html.cg-ui #cg-v3-catalog .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html.cg-ui .scene-my,
  html.cg-ui .scene-recent,
  html.cg-ui .scene-favorites {
    width: min(var(--cg-page-max), calc(100% - var(--cg-page-gutter) * 2)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  html.cg-ui .scene-my {
    display: block !important;
  }

  html.cg-ui .scene-my > .woocommerce {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  html.cg-ui .cgd-account-nav,
  html.cg-ui .cgd-account-nav.is-dashboard,
  html.cg-ui .cgd-account-nav:not(.is-dashboard) {
    display: flex !important;
    float: none !important;
    position: static !important;
    grid-column: auto !important;
    grid-row: auto !important;
    gap: var(--cg-space-2);
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 var(--cg-space-4) !important;
    padding: 0 var(--cg-page-gutter) !important;
    overflow-x: auto;
    border: 0;
    background: #fff;
    scrollbar-width: none;
  }

  html.cg-ui .cgd-account-nav b {
    display: none !important;
  }

  html.cg-ui .cgd-account-nav a {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid var(--cg-color-line);
    font-size: var(--cg-font-caption);
    white-space: nowrap;
  }

  html.cg-ui .cgd-account-nav a.is-active {
    border-color: var(--cg-color-brand);
    background: var(--cg-color-brand);
    color: #fff;
  }

  html.cg-ui .scene-my .cg-account-endpoint,
  html.cg-ui .scene-my .cg-account-endpoint:has(> .e8-account) {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  html.cg-ui .scene-my .cg-account-endpoint > .section {
    margin: 0 0 var(--cg-space-4);
    padding: var(--cg-space-5);
  }

  html.cg-ui .scene-my .e8-order-shortcuts {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  html.cg-ui .scene-my .e8-my-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.cg-ui .scene-recent .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--cg-space-4);
  }

  html.cg-ui .scene-recent .e8-recent-row + .e8-recent-row {
    margin-top: 0;
  }

  html.cg-ui .scene-favorites .product-grid,
  html.cg-ui .scene-my .favorites-preview-region .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: var(--cg-space-6) var(--cg-space-4) !important;
  }

  html.cg-ui .cg-cart-layout,
  html.cg-ui .cg-checkout-layout {
    display: block !important;
    width: min(var(--cg-page-max), calc(100% - var(--cg-page-gutter) * 2)) !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding: var(--cg-space-5) 0 calc(112px + env(safe-area-inset-bottom)) !important;
  }

  html.cg-ui .cg-cart-layout .cg-cart-items {
    padding: 0 0 var(--cg-space-5);
  }

  html.cg-ui .cg-cart-layout #bag-foot,
  html.cg-ui .cg-checkout-layout #checkout-foot {
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 75;
    width: 100% !important;
    max-width: none;
    margin: 0 !important;
    padding: 12px var(--cg-page-gutter) max(12px, env(safe-area-inset-bottom)) !important;
    border: 0;
    border-top: 1px solid var(--cg-color-line) !important;
    border-radius: 0;
    background: rgba(255, 255, 255, .98) !important;
    box-shadow: 0 -6px 24px rgba(23, 23, 23, .07) !important;
  }

  html.cg-ui .cg-cart-layout #bag-foot .total-foot {
    margin-bottom: var(--cg-space-2);
  }

  html.cg-ui .cg-checkout-layout #checkout-foot {
    display: flex !important;
    align-items: stretch;
  }

  html.cg-ui .cg-checkout-layout #checkout-foot #place_order {
    width: 100%;
    min-height: 48px;
  }

  html.cg-ui body.cg-product-page .phone-scroll.has-foot {
    padding-bottom: calc(6rem + env(safe-area-inset-bottom)) !important;
  }

  html.cg-ui body.woocommerce-cart .phone-scroll.has-foot {
    padding-bottom: calc(9rem + env(safe-area-inset-bottom)) !important;
  }

  html.cg-ui body.woocommerce-checkout .phone-scroll.has-foot {
    padding-bottom: calc(7rem + env(safe-area-inset-bottom)) !important;
  }

  html.cg-ui .scene-search .search-experience:has(.search-history-section:not([hidden])) {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: var(--cg-space-5);
  }

  html.cg-ui .scene-service {
    display: block !important;
  }

  html.cg-ui .scene-service .service-experience {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .72fr);
  }

  html.cg-ui .scene-service .service-faq-section {
    grid-column: 1 / -1;
  }

  html.cg-ui .scene-recent .product-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  html.cg-ui {
    --cg-page-gutter: 32px;
    --cg-font-section: 20px;
    --cg-font-page: 30px;
  }

  html.cg-ui #cg-v3-catalog {
    padding-top: var(--cg-space-6) !important;
  }

  html.cg-ui #cg-v3-catalog .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  html.cg-ui .scene-home .new-arrivals-section {
    padding-top: var(--cg-space-7);
  }

  html.cg-ui .cgv3-product-main {
    display: grid !important;
    grid-template-columns: minmax(0, 3fr) minmax(340px, 2fr) !important;
    gap: clamp(var(--cg-space-6), 3.5vw, var(--cg-space-7)) !important;
  }

  html.cg-ui .cgv3-gallery {
    position: sticky !important;
    top: calc(var(--cgd-header-h) + var(--cg-space-4)) !important;
  }

  html.cg-ui .cgv3-purchase-panel {
    position: sticky;
    top: calc(var(--cgd-header-h) + var(--cg-space-4));
    padding: var(--cg-space-5) !important;
    border: 1px solid var(--cg-color-line);
    border-radius: var(--cg-radius-card);
    background: #fff;
  }

  html.cg-ui body.logged-in.woocommerce-account .scene-my > .woocommerce {
    display: grid !important;
    grid-template-columns: 208px minmax(0, 1fr) !important;
    gap: var(--cg-space-6) !important;
    width: 100% !important;
    margin: 0 !important;
    padding-bottom: var(--cg-space-8);
  }

  html.cg-ui body:not(.logged-in).woocommerce-account .scene-my {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: var(--cg-space-5) !important;
    align-items: start;
  }

  html.cg-ui body:not(.logged-in).woocommerce-account .scene-my > .section:nth-of-type(1) {
    grid-column: 1;
    grid-row: 1;
  }

  html.cg-ui body:not(.logged-in).woocommerce-account .scene-my > .section:nth-of-type(2) {
    grid-column: 1;
    grid-row: 2;
  }

  html.cg-ui body:not(.logged-in).woocommerce-account .scene-my > .section:nth-of-type(3) {
    grid-column: 1;
    grid-row: 3;
  }

  html.cg-ui body:not(.logged-in).woocommerce-account .scene-my > .section:nth-of-type(4) {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  html.cg-ui body:not(.logged-in).woocommerce-account .scene-my > .favorites-preview-region {
    grid-column: 1 / -1;
    grid-row: 4;
  }

  html.cg-ui body.logged-in.woocommerce-account .scene-my .cgd-account-nav,
  html.cg-ui body.logged-in.woocommerce-account .scene-my .cgd-account-nav.is-dashboard,
  html.cg-ui body.logged-in.woocommerce-account .scene-my .cgd-account-nav:not(.is-dashboard) {
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 / span 30 !important;
    position: sticky !important;
    top: calc(var(--cgd-header-h) + var(--cg-space-4)) !important;
    align-self: start;
    width: auto;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible;
  }

  html.cg-ui body.logged-in.woocommerce-account .scene-my .cgd-account-nav b {
    display: block !important;
    margin-bottom: var(--cg-space-3);
    font-size: var(--cg-font-label);
    letter-spacing: .1em;
  }

  html.cg-ui body.logged-in.woocommerce-account .scene-my .cgd-account-nav a {
    display: flex;
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 2px;
    border: 0;
    border-radius: var(--cg-radius-control);
    background: transparent;
  }

  html.cg-ui body.logged-in.woocommerce-account .scene-my .cgd-account-nav a.is-active {
    background: var(--cg-color-soft);
    color: var(--cg-color-ink);
    font-weight: 600;
  }

  html.cg-ui body.logged-in.woocommerce-account .scene-my .cg-account-endpoint,
  html.cg-ui body.logged-in.woocommerce-account .scene-my .cg-account-endpoint:has(> .e8-account) {
    display: block !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100%;
    margin: 0;
  }

  html.cg-ui .cg-cart-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px !important;
    gap: var(--cg-space-6) !important;
    align-items: start;
    padding-bottom: var(--cg-space-8) !important;
  }

  html.cg-ui .cg-cart-layout #bag-foot {
    position: sticky !important;
    top: calc(var(--cgd-header-h) + var(--cg-space-5)) !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    grid-column: 2;
    grid-row: 1;
    padding: var(--cg-space-5) !important;
    border: 1px solid var(--cg-color-line) !important;
    border-radius: var(--cg-radius-card) !important;
    background: var(--cg-color-soft) !important;
    box-shadow: none !important;
  }

  html.cg-ui .cg-checkout-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 340px !important;
    gap: var(--cg-space-6) !important;
    align-items: start;
    padding-bottom: var(--cg-space-8) !important;
  }

  html.cg-ui .cg-checkout-layout > .cg-checkout-products-section {
    grid-column: 1;
    grid-row: 1;
  }

  html.cg-ui .cg-checkout-layout > .cg-checkout-customer {
    grid-column: 1;
    grid-row: 2;
  }

  html.cg-ui .cg-checkout-layout > .cg-checkout-review {
    grid-column: 1;
    grid-row: 3;
  }

  html.cg-ui .cg-checkout-layout #checkout-foot {
    position: sticky !important;
    top: calc(var(--cgd-header-h) + var(--cg-space-5)) !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    grid-column: 2;
    grid-row: 1 / span 3;
    padding: var(--cg-space-5) !important;
    border: 1px solid var(--cg-color-line) !important;
    border-radius: var(--cg-radius-card) !important;
    background: var(--cg-color-soft) !important;
    box-shadow: none !important;
  }

  html.cg-ui body.cg-product-page .phone-scroll.has-foot,
  html.cg-ui body.woocommerce-cart .phone-scroll.has-foot,
  html.cg-ui body.woocommerce-checkout .phone-scroll.has-foot {
    padding-bottom: var(--cg-space-8) !important;
  }

  html.cg-ui .cg-related-products .product-grid,
  html.cg-ui .scene-favorites .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  html.cg-ui body.logged-in.woocommerce-account .scene-my .cg-account-endpoint:has(> .e8-account) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: var(--cg-space-5);
    align-items: start;
  }

  html.cg-ui body.logged-in.woocommerce-account .scene-my .cg-account-endpoint:has(> .e8-account) > .section {
    grid-column: 1;
  }

  html.cg-ui body.logged-in.woocommerce-account .scene-my .cg-account-endpoint:has(> .e8-account) > .section:nth-of-type(1) {
    grid-row: 1;
  }

  html.cg-ui body.logged-in.woocommerce-account .scene-my .cg-account-endpoint:has(> .e8-account) > .section:nth-of-type(2) {
    grid-row: 2;
  }

  html.cg-ui body.logged-in.woocommerce-account .scene-my .cg-account-endpoint:has(> .e8-account) > .section:nth-of-type(3) {
    grid-row: 3;
  }

  html.cg-ui body.logged-in.woocommerce-account .scene-my .cg-account-endpoint:has(> .e8-account) > .section:nth-of-type(4) {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  html.cg-ui body.logged-in.woocommerce-account .scene-my .cg-account-endpoint:has(> .e8-account) > .favorites-preview-region {
    grid-column: 1 / -1;
    grid-row: 4;
  }
}

@media (min-width: 1280px) {
  html.cg-ui #cg-v3-catalog .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1023px) {
  html.cg-ui .cgv3-product-main,
  html.cg-ui .cgv3-product-main .cgd-product-main {
    display: block !important;
  }

  html.cg-ui .cgv3-product-detail .detail-page,
  html.cg-ui .cgv3-product-scene .cgv3-product-detail .detail-page {
    width: min(960px, calc(100% - var(--cg-page-gutter) * 2)) !important;
  }

  html.cg-ui .cgv3-gallery,
  html.cg-ui .cgv3-purchase-panel {
    position: static !important;
  }

  html.cg-ui .scene-orders,
  html.cg-ui .scene-returns {
    width: min(960px, calc(100% - var(--cg-page-gutter) * 2)) !important;
  }

  html.cg-ui .scene-policy,
  html.cg-ui .scene-size-guide {
    display: block !important;
  }

  html.cg-ui .scene-policy .e8-policy-intro,
  html.cg-ui .scene-policy .e8-policy-topic,
  html.cg-ui .scene-policy .e8-support,
  html.cg-ui .scene-size-guide > .section {
    position: static;
    width: 100%;
    margin-top: var(--cg-space-4);
  }

  html.cg-ui .scene-policy .e8-policy-intro {
    margin-top: 0;
  }

  html.cg-ui .scene-service .service-experience {
    display: block !important;
  }

  html.cg-ui .scene-service .service-experience > .section + .section {
    margin-top: var(--cg-space-4);
  }

  html.cg-ui .scene-search .search-experience:has(.search-history-section:not([hidden])) {
    display: block;
  }

  html.cg-ui .scene-search .search-history-section {
    margin-top: var(--cg-space-4) !important;
  }
}

@media (max-width: 767px) {
  html.cg-ui {
    --cg-page-gutter: 16px;
    --cg-font-section: 18px;
    --cg-font-page: 24px;
  }

  html.cg-ui .cg-desktop-page-heading {
    display: none !important;
  }

  html.cg-ui .cg-inner {
    width: calc(100% - 32px);
  }

  html.cg-ui .section {
    padding: var(--cg-space-4);
  }

  html.cg-ui .product-grid {
    column-gap: var(--cg-space-3);
    row-gap: var(--cg-space-5);
  }

  html.cg-ui .product-card .product-name {
    font-size: 14px;
    line-height: 1.45;
  }

  html.cg-ui .product-card .product-price .price {
    font-size: 18px;
  }

  html.cg-ui .scene-home .search-link,
  html.cg-ui .scene-home .new-arrivals-section,
  html.cg-ui .scene-home .home-trust-section,
  html.cg-ui .scene-home .home-brand-section,
  html.cg-ui .scene-home .cg-home-hero {
    width: calc(100% - 32px);
    margin-right: 16px;
    margin-left: 16px;
  }

  html.cg-ui .cg-home-hero {
    height: auto;
    aspect-ratio: 5 / 3;
    margin-top: 0;
    border-radius: var(--cg-radius-card);
  }

  html.cg-ui .scene-home .new-arrivals-section {
    padding: var(--cg-space-5) 0 var(--cg-space-6);
  }

  html.cg-ui .scene-home .new-arrivals-section + .home-brand-section {
    margin-top: 0;
    padding-top: var(--cg-space-6);
    padding-bottom: var(--cg-space-7);
  }

  html.cg-ui .home-brand-grid {
    gap: var(--cg-space-2);
  }

  html.cg-ui .home-brand-grid a {
    min-height: 118px;
  }

  html.cg-ui #cg-v3-catalog {
    width: 100% !important;
    padding: 0 0 var(--cg-space-5) !important;
  }

  html.cg-ui #cg-v3-catalog .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: var(--cg-space-5) var(--cg-space-3) !important;
  }

  html.cg-ui .cgv3-category-nav a {
    min-height: 52px;
    font-size: 16px;
  }

  html.cg-ui .scene-my,
  html.cg-ui .scene-recent,
  html.cg-ui .scene-favorites,
  html.cg-ui .scene-search,
  html.cg-ui .scene-policy,
  html.cg-ui .scene-size-guide,
  html.cg-ui .scene-service,
  html.cg-ui .scene-orders,
  html.cg-ui .scene-returns {
    width: 100% !important;
    margin: 0 !important;
  }

  html.cg-ui .scene-orders .e8-segment,
  html.cg-ui .scene-returns .e8-segment {
    margin-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  html.cg-ui .scene-orders .e8-lookup,
  html.cg-ui .scene-orders .e8-order-list,
  html.cg-ui .scene-orders .e8-help-row,
  html.cg-ui .scene-returns > .section:nth-of-type(2),
  html.cg-ui .scene-returns > form > .section,
  html.cg-ui .scene-returns .e8-process {
    margin-top: var(--cg-space-3);
    padding: var(--cg-space-4) !important;
    border-right: 0 !important;
    border-left: 0 !important;
    border-radius: 0;
  }

  html.cg-ui .scene-my .cgd-account-nav,
  html.cg-ui .scene-my .cgd-account-nav.is-dashboard,
  html.cg-ui .scene-my .cgd-account-nav:not(.is-dashboard) {
    display: flex !important;
    position: static !important;
    gap: var(--cg-space-2);
    width: 100%;
    margin: 0 !important;
    padding: var(--cg-space-3) var(--cg-space-4) !important;
    overflow-x: auto;
    border-bottom: 1px solid var(--cg-color-line);
    background: #fff;
  }

  html.cg-ui .scene-my .cgd-account-nav b {
    display: none !important;
  }

  html.cg-ui .scene-my .cgd-account-nav a {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 8px 13px;
    border: 1px solid var(--cg-color-line);
    border-radius: 999px;
    font-size: var(--cg-font-caption);
    white-space: nowrap;
  }

  html.cg-ui .scene-my .cgd-account-nav a.is-active {
    border-color: var(--cg-color-brand);
    background: var(--cg-color-brand);
    color: #fff;
  }

  html.cg-ui .scene-my .cg-account-endpoint,
  html.cg-ui .scene-my .cg-account-endpoint:has(> .e8-account) {
    display: block !important;
    width: 100%;
    margin: 0;
  }

  html.cg-ui .scene-my .cg-account-endpoint > .section {
    margin: 0;
    padding: var(--cg-space-4);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  html.cg-ui .scene-my form.woocommerce-EditAccountForm,
  html.cg-ui .scene-my .cg-account-endpoint > form {
    padding-right: var(--cg-space-4);
    padding-left: var(--cg-space-4);
  }

  html.cg-ui .scene-my .woocommerce-EditAccountForm .form-row,
  html.cg-ui .scene-my .woocommerce-EditAccountForm .form-row input.input-text {
    width: 100%;
    max-width: 100%;
  }

  html.cg-ui .e8-order-shortcuts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  html.cg-ui .scene-recent .product-grid {
    display: block !important;
  }

  html.cg-ui .scene-recent .e8-recent-row {
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  html.cg-ui .cg-cart-layout,
  html.cg-ui .cg-checkout-layout {
    display: block !important;
    width: 100% !important;
    padding: 0 0 calc(116px + env(safe-area-inset-bottom)) !important;
  }

  html.cg-ui .cg-cart-layout .cg-cart-items {
    padding: var(--cg-space-3) var(--cg-space-4) var(--cg-space-5);
  }

  html.cg-ui .cg-cart-layout #bag-foot {
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: calc(64px + env(safe-area-inset-bottom)) !important;
    left: 0 !important;
    z-index: 40;
    width: 100%;
    margin: 0 !important;
    padding: 12px var(--cg-space-4) !important;
    border: 0;
    border-top: 1px solid var(--cg-color-line);
    border-radius: 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -6px 24px rgba(23, 23, 23, .07);
  }

  html.cg-ui .cg-checkout-layout #checkout-foot {
    position: fixed !important;
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 40;
    display: flex !important;
    width: 100%;
    margin: 0 !important;
    padding: 10px var(--cg-space-4) max(12px, env(safe-area-inset-bottom)) !important;
    border: 0;
    border-top: 1px solid var(--cg-color-line);
    border-radius: 0;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 -6px 24px rgba(23, 23, 23, .07);
  }

  html.cg-ui .cg-checkout-layout #checkout-foot #place_order {
    min-height: 48px;
  }

  html.cg-ui body.cg-product-page .phone-scroll.has-foot {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)) !important;
  }

  html.cg-ui body.woocommerce-cart .phone-scroll.has-foot {
    padding-bottom: calc(13.25rem + env(safe-area-inset-bottom)) !important;
  }

  html.cg-ui body.woocommerce-checkout .phone-scroll.has-foot {
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)) !important;
  }

  html.cg-ui .cgv3-product-detail .detail-page,
  html.cg-ui .cgv3-product-scene .cgv3-product-detail .detail-page {
    width: 100% !important;
    margin: 0 !important;
  }

  html.cg-ui .cgv3-hero,
  html.cg-ui .cgv3-product-detail .d15-photo {
    border-radius: 0;
  }

  html.cg-ui .cgv3-product-detail .cgv3-purchase-panel {
    padding-right: var(--cg-space-4);
    padding-left: var(--cg-space-4);
    border: 0;
    border-radius: 0;
  }

  html.cg-ui .cgv3-product-detail .detail-brand {
    font-size: 16px !important;
  }

  html.cg-ui .cgv3-product-detail .detail-name {
    font-size: 18px !important;
  }

  html.cg-ui .cgv3-product-detail .detail-prices .price {
    font-size: 22px !important;
  }

  html.cg-ui .scene-policy,
  html.cg-ui .scene-size-guide {
    padding-bottom: var(--cg-space-6);
  }

  html.cg-ui .scene-policy .e8-policy-intro,
  html.cg-ui .scene-policy .e8-policy-topic,
  html.cg-ui .scene-policy .e8-support,
  html.cg-ui .scene-size-guide > .section {
    margin-top: 0;
    padding: var(--cg-space-4) !important;
  }

  html.cg-ui .scene-service .service-experience > .section {
    padding: var(--cg-space-4) !important;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  html.cg-ui .scene-search .search-experience {
    padding: var(--cg-space-4) 0 var(--cg-space-6);
  }

  html.cg-ui .scene-search .search-entry-section,
  html.cg-ui .scene-search .search-history-section,
  html.cg-ui .scene-search .search-results-section {
    border-radius: 0;
  }

  html.cg-ui .cg-error-page {
    width: calc(100% - 32px);
    padding-top: var(--cg-space-6);
    padding-bottom: var(--cg-space-6);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.cg-ui *,
  html.cg-ui *::before,
  html.cg-ui *::after {
    scroll-behavior: auto !important;
  }
}
