/* One-card review, isolated from the catalog and other product templates. */
main#content.ct-one-sheet[data-ct-product-layout] {
  --sheet-rule: #deded9;
  --sheet-ink: #171717;
  --sheet-muted: #5b5b57;
  --sheet-accent: #ad9139;
  --sheet-section: clamp(22px, 3.2vw, 44px);
}
main#content.ct-one-sheet[data-ct-product-layout] .r103-breadcrumb {
  margin-block-end: 18px;
}
main#content.ct-one-sheet[data-ct-product-layout] > .r103-intro {
  margin: 0 0 24px !important;
  padding: 0;
  border: 0;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-title {
  margin: 0;
  color: var(--sheet-ink);
  font-size: clamp(25px, 2.9vw, 43px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.035em;
  white-space: nowrap;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--sheet-section);
  margin: 0;
}
main#content.ct-one-sheet[data-ct-product-layout] .r103-visual {
  min-width: 0;
}
main#content.ct-one-sheet[data-ct-product-layout] .r103-visual figure {
  margin: 0;
  padding: 0;
  border: 0;
}
main#content.ct-one-sheet[data-ct-product-layout] .p84-render-inner {
  position: relative;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden;
  background-color: #242424;
}
main#content.ct-one-sheet[data-ct-product-layout] .p84-render-inner img {
  position: static !important;
  display: block;
  inline-size: 100% !important;
  block-size: auto !important;
  aspect-ratio: 3 / 2 !important;
  max-block-size: none !important;
  object-fit: cover !important;
  object-position: center;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-caption {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  padding: 0;
  margin: 0;
  border: 0;
  white-space: nowrap;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-order {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  scroll-margin-block-start: 90px;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-commerce {
  padding: 0;
  border-top: 2px solid var(--sheet-ink);
  color: var(--sheet-ink);
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 5px 12px;
  align-items: baseline;
  padding-block: 14px;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-offer :is(.r103-availability,.r103-price) {
  margin: 0;
  padding: 0;
  min-width: 0;
  background: none;
  border: 0;
}
main#content.ct-one-sheet[data-ct-product-layout] .r103-availability :is(.r103-status,.r103-spec) {
  margin: 0;
  line-height: 1.35;
}
main#content.ct-one-sheet[data-ct-product-layout] .r103-availability .r103-spec {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-status-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-minimum,
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-characteristics {
  color: var(--sheet-muted);
  font-size: 13px;
  line-height: 1.35;
  white-space: nowrap;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-characteristics {
  grid-column: 1 / -1;
  margin: 0;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-stock-snapshot {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--sheet-muted);
  font-size: 12px;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-factory-label {
  display: none;
}
main#content.ct-one-sheet[data-ct-product-layout]:has([data-r103-supply=factory][aria-pressed=true]) .ct-sheet-factory-label {
  display: inline;
  font-size: 15px;
  font-weight: 650;
  white-space: nowrap;
}
main#content.ct-one-sheet[data-ct-product-layout]:has([data-r103-supply=factory][aria-pressed=true]) .r103-availability [data-r103-status] {
  display: none;
}
main#content.ct-one-sheet[data-ct-product-layout] .r103-price {
  text-align: end;
}
main#content.ct-one-sheet[data-ct-product-layout] .r103-price > .r103-small {
  display: none;
}
main#content.ct-one-sheet[data-ct-product-layout] .r103-price > strong {
  display: block;
  font-size: clamp(17px, 1.8vw, 26px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.02em;
  white-space: nowrap;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-commerce > .r106-total {
  margin: 0 0 12px !important;
  color: var(--sheet-muted);
  font-size: 12px;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-commerce > .r103-limit {
  margin-block: 10px;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-settings,
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-specification {
  border-block: 1px solid var(--sheet-rule);
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-settings > summary,
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-specification > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}
main#content.ct-one-sheet[data-ct-product-layout] :is(.ct-sheet-settings,.ct-sheet-specification) > summary::after {
  content: "+";
  font-weight: 400;
  font-size: 19px;
}
main#content.ct-one-sheet[data-ct-product-layout] :is(.ct-sheet-settings,.ct-sheet-specification)[open] > summary::after {
  content: "−";
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-settings[open] > :not(summary):not([hidden]) {
  margin-block: 10px 16px;
}
main#content.ct-one-sheet[data-ct-product-layout] #selection.ct-sheet-order .ct-sheet-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 16px;
  margin-block: 16px;
}
main#content.ct-one-sheet[data-ct-product-layout] #selection.ct-sheet-order .ct-sheet-fields .r103-order-row {
  display: block !important;
  margin: 0;
  padding: 0;
  min-width: 0;
}
main#content.ct-one-sheet[data-ct-product-layout] #selection.ct-sheet-order .ct-sheet-fields :is(.r103-quantity,.r106-payment:not([hidden])) {
  display: grid;
  grid-template-rows: auto 44px !important;
  align-items: end;
  gap: 6px;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  color: var(--sheet-muted);
}
main#content.ct-one-sheet[data-ct-product-layout] #selection.ct-sheet-order .ct-sheet-fields .r103-quantity > label {
  margin: 0;
  width: auto;
}
main#content.ct-one-sheet[data-ct-product-layout] #selection.ct-sheet-order .ct-sheet-fields .r103-quantity > div {
  display: grid;
  grid-template-columns: 44px minmax(38px, 1fr) 44px;
  inline-size: min(100%, 172px);
  box-sizing: border-box;
  border: 1px solid var(--sheet-rule);
}
main#content.ct-one-sheet[data-ct-product-layout] #selection.ct-sheet-order .ct-sheet-fields .r103-quantity :is(input,button),
main#content.ct-one-sheet[data-ct-product-layout] #selection.ct-sheet-order .ct-sheet-fields .r106-payment select {
  min-inline-size: 0;
  inline-size: 100%;
  block-size: 44px !important;
  box-sizing: border-box;
  margin: 0;
  color: var(--sheet-ink);
  font-size: 14px;
}
main#content.ct-one-sheet[data-ct-product-layout] #selection.ct-sheet-order .ct-sheet-fields .r103-quantity input {
  border: 0 !important;
  text-align: center;
}
main#content.ct-one-sheet[data-ct-product-layout] #selection.ct-sheet-order .ct-sheet-fields .r106-payment select {
  border: 1px solid var(--sheet-rule) !important;
  background-color: #fff;
}
main#content.ct-one-sheet[data-ct-product-layout] #selection.ct-sheet-order .ct-sheet-commerce .r104-actions {
  display: grid;
  gap: 4px;
  grid-template-columns: minmax(0,1fr) !important;
  margin: 0;
}
@layer ct-single-sheet-preview {
  main#content.ct-one-sheet .ct-sheet-settings .r103-thickness:not(:has([data-has-stock=true])) .r103-chip-key {
    display: none !important;
  }
  main#content.ct-one-sheet .ct-sheet-settings .ct-sheet-custom {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 112px;
    align-items: center;
    gap: 12px;
    margin-block: 8px 18px !important;
    padding: 12px 0 !important;
    border: 0 !important;
    border-block: 1px solid var(--sheet-rule) !important;
    background: transparent !important;
  }
  main#content.ct-one-sheet .ct-sheet-custom-copy {
    display: grid !important;
    gap: 3px;
  }
  main#content.ct-one-sheet .ct-sheet-custom-copy label {
    display: block !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 600;
  }
  main#content.ct-one-sheet .ct-sheet-custom-copy span {
    margin: 0 !important;
    color: var(--sheet-muted);
    font-size: 12px;
  }
  main#content.ct-one-sheet .ct-sheet-custom-entry {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px;
    height: 44px;
    padding: 0 10px 0 4px;
    border: 1px solid var(--sheet-rule);
    box-sizing: border-box;
  }
  main#content.ct-one-sheet .ct-sheet-custom-entry #r103-custom {
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 4px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--sheet-ink);
    text-align: center;
    font-size: 16px !important;
    box-sizing: border-box;
  }
  main#content.ct-one-sheet .ct-sheet-custom-entry #r103-custom::placeholder {
    color: var(--sheet-muted);
    font-size: 13px;
    opacity: 1;
  }
  main#content.ct-one-sheet .ct-sheet-custom-entry:focus-within {
    border-color: var(--sheet-ink);
  }
  main#content.ct-one-sheet .ct-sheet-custom-entry span {
    color: var(--sheet-muted);
    font-size: 12px;
  }
  main#content.ct-one-sheet .ct-sheet-document-groups h2 {
    margin: 0 0 11px !important;
    color: var(--sheet-ink);
    font-size: 16px !important;
    line-height: 1.35 !important;
    font-weight: 650;
  }
  main#content.ct-one-sheet .ct-sheet-specification :is(.ct-sheet-passport,.ct-sheet-related-stock) {
    display: flex !important;
    align-items: center;
    gap: 12px;
    box-sizing: border-box;
    min-height: 44px !important;
    color: var(--sheet-ink);
    font-size: 14px !important;
  }
  main#content.ct-one-sheet .ct-sheet-specification .ct-sheet-passport {
    justify-content: space-between;
    min-height: 48px !important;
    padding: 0 12px !important;
    border: 1px solid var(--sheet-rule) !important;
    text-decoration: none !important;
    font-weight: 600;
  }
  main#content.ct-one-sheet .ct-sheet-specification .ct-sheet-passport:hover {
    border-color: var(--sheet-ink) !important;
  }
  main#content.ct-one-sheet .ct-sheet-specification .ct-sheet-related-stock {
    margin-block: 0 !important;
    border-top: 1px solid var(--sheet-rule) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  @media (max-width: 740px) {
    main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-title {
      font-size: clamp(12px, calc((100vw - 36px) / (16.8 + var(--ct-sheet-size-extra, 0) * .56)), 28px) !important;
    }
  }
  main#content.ct-one-sheet #selection [data-r103-checkout][hidden],
  main#content.ct-one-sheet #selection [data-r106-total][hidden],
  main#content.ct-one-sheet .ct-sheet-specification [hidden] {
    display: none !important;
  }
  main#content.ct-one-sheet #selection label.r106-payment {
    border: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    white-space: nowrap;
  }
  main#content.ct-one-sheet #selection label.r106-payment > select {
    padding: 0 12px !important;
    height: 44px !important;
    font-size: 13px !important;
    background-image: none !important;
  }
  main#content.ct-one-sheet #selection .r103-quantity > div {
    height: 44px !important;
  }
  main#content.ct-one-sheet #selection .r103-quantity :is(button, input) {
    height: 42px !important;
    min-height: 0 !important;
    block-size: 42px !important;
    background-color: transparent !important;
  }
  main#content.ct-one-sheet #selection .r103-quantity input {
    border: 0 !important;
    background-image: none !important;
  }
  main#content.ct-one-sheet[data-ct-product-layout] #selection.ct-sheet-order .ct-sheet-commerce .r104-actions button.r103-primary:is([data-r103-add],[data-r108-add]) {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 48px !important;
    border: 1px solid var(--sheet-ink) !important;
    padding: 0 14px !important;
    background-color: var(--sheet-ink) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600;
    text-align: start;
    white-space: nowrap;
  }
  main#content.ct-one-sheet[data-ct-product-layout] #selection.ct-sheet-order .ct-sheet-commerce .r104-actions button.r103-primary:is([data-r103-add],[data-r108-add]):disabled {
    border-color: var(--sheet-rule) !important;
    background-color: #efefed !important;
    color: #595959 !important;
  }
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-commerce [data-r103-factory-offer]:not([hidden]) {
  min-height: 40px;
  margin-block-end: 8px;
}
main#content.ct-one-sheet[data-ct-product-layout] :is(summary, a, button, input, select):focus-visible {
  outline: 2px solid #68582b;
  outline-offset: 2px;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-specification {
  margin-block: 26px;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-specification[open] > :not(summary):not([hidden]) {
  margin-block: 10px 16px;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-document-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  align-items: start;
  gap: 18px 32px;
  padding-block: 5px 4px;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-passport span {
  flex: none;
  color: var(--sheet-muted);
  font-size: 12px;
  white-space: nowrap;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-document-list {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-document-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding-block: 9px;
  border-top: 1px solid var(--sheet-rule);
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-document-row :is(dt,dd) {
  margin: 0;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-document-row dt {
  font-weight: 600;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-document-row dd {
  text-align: end;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-document-row small {
  display: block;
  margin-top: 2px;
  color: var(--sheet-muted);
  font-size: 12px;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-related-stock span {
  color: var(--sheet-accent);
}
@media (max-width: 740px) {
  main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-document-groups {
    grid-template-columns: minmax(0, 1fr);
  }
}
main#content.ct-one-sheet[data-ct-product-layout] #selection .r32-selection {
  display: none !important;
}
main#content.ct-one-sheet[data-ct-product-layout] .r31-price-meta {
  display: none;
}
main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-specification + p {
  margin: 0 0 26px;
}
@media (max-width: 740px) {
  main#content.ct-one-sheet[data-ct-product-layout] > .r103-intro {
    margin-block-end: 15px !important;
  }
  main#content.ct-one-sheet[data-ct-product-layout] .r103-breadcrumb {
    margin-block-end: 10px;
  }
  main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 15px;
  }
  main#content.ct-one-sheet[data-ct-product-layout] .p84-render-inner img {
    aspect-ratio: 1.8 !important;
  }
  main#content.ct-one-sheet[data-ct-product-layout] .ct-sheet-offer {
    padding-block-start: 12px;
  }
  main#content.ct-one-sheet[data-ct-product-layout] #selection.ct-sheet-order .ct-sheet-fields {
    margin-block: 12px;
    gap: 10px;
  }
}

/* The approved sheet style is prefixed at build time. These rules cover shared catalog cases. */
@layer ct-single-sheet-preview {
  main.ct-one-sheet .ct-approved-native-value,
  main.ct-one-sheet #selection [hidden],
  main.ct-one-sheet .ct-card-photo [hidden],
  main.ct-one-sheet .ct-sheet-specification[hidden] { display: none !important; }

  main.ct-one-sheet .ct-card-price-value {
    font-size: clamp(17px, 1.8vw, 26px) !important;
  }

  main.ct-one-sheet[data-ct-approved-card] .ct-sheet-title {
    white-space: normal !important;
    text-wrap: balance;
  }

  main.ct-one-sheet[data-ct-approved-card="native"]:not(:has(.r103-breadcrumb)) > .r103-intro {
    margin-block-start: clamp(20px, 3.3vw, 40px) !important;
  }

  main.ct-one-sheet .ct-card-photo img {
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 3 / 2 !important;
    object-fit: cover !important;
    background: transparent !important;
  }

  @media (max-width: 740px) {
    main.ct-one-sheet .ct-card-photo img { aspect-ratio: 1.8 !important; }
  }

  main.ct-one-sheet .ct-sheet-fields .r103-order-row:has([name="rawVolume"]) .r103-quantity {
    width: 100% !important;
    max-width: none !important;
  }
  main.ct-one-sheet .ct-sheet-fields [name="rawVolume"] {
    width: 100% !important;
    max-width: none !important;
  }

  main.ct-one-sheet .ct-card-photo {
    aspect-ratio: auto !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
  }

  html:has(main[data-ct-approved-card]) .ct-materials-header .ct-header__primary .ct-actions {
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  html:has(main[data-ct-approved-card]) .ct-materials-header .ct-actions :is(a, b, .ct-language) {
    white-space: nowrap !important;
  }

  html:has(main[data-ct-approved-card]) .ct-materials-header .ct-language [aria-current="page"] {
    border-bottom: 1px solid #ad9139 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    background-image: none !important;
  }

  html:has(main[data-ct-approved-card]) .ct-materials-header .ct-language [aria-current="page"]::before,
  html:has(main[data-ct-approved-card]) .ct-materials-header .ct-language [aria-current="page"]::after {
    content: none !important;
  }
}

main.ct-one-sheet .ct-card-status-value { font-size: 15px; font-weight: 650; }
main.ct-one-sheet .ct-sheet-characteristics { white-space: normal; text-wrap: pretty; }
main.ct-one-sheet[data-ct-approved-card] .ct-sheet-offer {
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  gap: 5px 9px;
}
main.ct-one-sheet .ct-card-retail-total { margin: 0 0 12px; color: #5b5b57; font-size: 12px; }
main.ct-one-sheet .ct-card-photo {
  width: 100%;
  overflow: hidden;
  margin: 0;
}
main.ct-one-sheet .ct-card-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
main.ct-one-sheet .ct-variant-order {
  border-top: 2px solid #171717;
  padding-top: 12px;
  min-width: 0;
}
main.ct-one-sheet .ct-variant-order > h2 {
  margin-top: 0;
  font-size: 17px;
}
main.ct-one-sheet #selection .ct-sheet-fields:not(:has(.r106-payment:not([hidden]))) {
  grid-template-columns: minmax(0, 1fr);
}
main.ct-one-sheet #selection .ct-sheet-settings[open] > fieldset { min-width: 0; }

@media (max-width: 740px) {
  main.ct-one-sheet .ct-card-photo img { aspect-ratio: 1.8; }
  main.ct-one-sheet[data-ct-approved-card] .ct-sheet-title { font-size: clamp(19px, 5.25vw, 24px) !important; }
  main.ct-one-sheet .ct-card-status-value { font-size: 14px; }
  main.ct-one-sheet .ct-sheet-minimum { font-size: 12px; }
}

main.ct-one-sheet .ct-card-retail-warning { margin: 0 0 10px; color: #454540; font-size: 13px; }
@layer ct-single-sheet-preview {
  main.ct-one-sheet #selection .r104-actions button.r103-primary[aria-disabled="true"] {
    background-color: #efefed !important;
    color: #595959 !important;
    border-color: #deded9 !important;
  }
}


@layer ct-single-sheet-preview {
  main.ct-one-sheet #selection .ct-sheet-fields .r119-volume {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px !important;
    width: 100% !important;
    max-width: none !important;
  }
  main.ct-one-sheet #selection .ct-card-volume-label {
    display: block !important;
    white-space: nowrap !important;
  }
  main.ct-one-sheet #selection .ct-variant-card {
    display: block !important;
    min-height: 0 !important;
    padding: 0 0 16px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--sheet-rule) !important;
    color: var(--sheet-ink);
    text-decoration: none !important;
    background: transparent !important;
  }
  main.ct-one-sheet #selection .ct-variant-card .r121-card-action {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    text-align: start !important;
    width: 100% !important;
    min-height: 48px !important;
    box-sizing: border-box;
    padding: 0 14px !important;
    margin: 0 !important;
    border: 1px solid var(--sheet-ink) !important;
    background-color: var(--sheet-ink) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600;
    white-space: nowrap;
  }
  main.ct-one-sheet #selection .ct-variant-card .r121-card-action:hover {
    background-color: #303030 !important;
  }
}
main.ct-one-sheet .ct-card-wholesale-hint {
  grid-column: 1 / -1;
  justify-self: end;
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--sheet-muted);
  font-weight: 550;
  white-space: nowrap;
}
main.ct-one-sheet .ct-variant-card-body {
  display: grid;
  gap: 9px;
}
main.ct-one-sheet .ct-variant-card-body > :is(h3,p) {
  margin: 0;
}
main.ct-one-sheet .ct-variant-card-body > h3 {
  font-size: 16px;
  line-height: 1.35;
}
main.ct-one-sheet .ct-variant-card-body > p {
  font-size: 13px;
  color: var(--sheet-muted);
}
main.ct-one-sheet .ct-variant-card-body .ct-variant-offer {
  padding-block: 0;
}
main.ct-one-sheet .ct-variant-offer .r121-availability {
  font-size: clamp(11px, 3.15vw, 14px);
  color: var(--sheet-muted);
  margin: 0;
  white-space: nowrap;
}
main.ct-one-sheet .ct-variant-amounts {
  text-align: right;
  line-height: 1.25;
  font-size: 13px;
}
main.ct-one-sheet .ct-variant-amounts strong {
  color: var(--sheet-ink);
  font-weight: 650;
  font-size: 17px;
  white-space: nowrap;
}
main.ct-one-sheet .ct-variant-payment-line {
  display: flex;
  align-items: baseline;
  justify-content: end;
  flex-wrap: wrap;
  gap: 3px 7px;
}
main.ct-one-sheet .ct-variant-payment-line > span:first-child {
  color: var(--sheet-muted);
  font-size: 11px;
  white-space: nowrap;
}
main.ct-one-sheet .ct-variant-rate {
  white-space: nowrap;
}
main.ct-one-sheet .ct-variant-order > .ct-sheet-settings {
  margin-bottom: 14px;
}
@media (max-width: 390px) {
  main.ct-one-sheet .ct-variant-payment-line > span:first-child {
    display: block;
  }
}

@layer ct-single-sheet-preview {
  main.ct-one-sheet #selection .ct-variant-single .ct-variant-card-body > :is(h3,p,.ct-variant-offer) {
    display: none !important;
  }
  main.ct-one-sheet #selection .ct-variant-single .ct-variant-card {
    padding-block: 0 !important;
    border-bottom: 0 !important;
  }
  main.ct-one-sheet #selection .ct-variant-single ul {
    margin-top: 0 !important;
  }
}
main.ct-one-sheet .ct-variant-lead {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
}
main.ct-one-sheet .ct-variant-lead > p,
main.ct-one-sheet .ct-variant-notes > p {
  color: var(--sheet-muted);
  font-size: 13px;
  margin: 0 0 6px;
}
main.ct-one-sheet .ct-variant-order .ct-variant-lead .ct-variant-offer {
  padding-block: 2px;
}


main[data-ct-fabric-group][aria-busy="true"] #selection {
  visibility: hidden;
}
main.ct-one-sheet .ct-fabric-variants {
  min-width: 0;
  margin: 10px 0;
  padding: 0;
  border: 0;
}
main.ct-one-sheet .ct-fabric-variants > legend {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}
main.ct-one-sheet .ct-fabric-variant-choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 9px;
}
main.ct-one-sheet .ct-fabric-variant-choices button {
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--sheet-rule);
  color: var(--sheet-ink);
  background: #fff;
  font-size: 13px;
}
main.ct-one-sheet .ct-fabric-variant-choices button[aria-pressed="true"] {
  border-color: var(--sheet-accent);
  font-weight: 650;
}
main.ct-one-sheet .ct-fabric-option-error {
  color: var(--sheet-muted);
  font-size: 13px;
}
main.ct-one-sheet[data-ct-fabric-mounted] .ct-sheet-status-line {
  flex-wrap: wrap;
  row-gap: 2px;
}

@layer ct-single-sheet-preview {
  main#content[data-ct-fabric-mounted] {
    width: calc(100% - 96px) !important;
    max-width: 1280px !important;
    margin-inline: auto !important;
  }

  main[data-ct-fabric-mounted] .r103-breadcrumb {
    display: flex;
    align-items: center;
    font-size: 13px;
    line-height: 1.35;
  }

  main[data-ct-fabric-mounted] .ct-fabric-guidance.r121-main {
    width: 100% !important;
    max-width: none !important;
  }

  main[data-ct-fabric-mounted] .r104-actions [data-r108-arrow] {
    color: var(--sheet-accent) !important;
  }

  @media (max-width: 740px) {
    main#content[data-ct-fabric-mounted] { width: calc(100% - 36px) !important; }

    main#content[data-ct-fabric-mounted] #selection.ct-sheet-order .r103-quantity > div {
      inline-size: 100%;
    }
  }
}

main.ct-one-sheet .ct-tube-lengths {
  margin: 0;
  padding: 0 0 14px;
  border: 0;
  min-inline-size: 0;
}
main.ct-one-sheet .ct-tube-lengths > legend {
  margin: 0 0 9px;
  padding: 0;
  font-weight: 600;
}
main.ct-one-sheet .ct-tube-length-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
main.ct-one-sheet #selection .ct-tube-length-options button,
main.ct-one-sheet #selection .ct-tube-custom-button {
  min-height: 44px;
  padding: 6px 8px;
  border: 1px solid var(--sheet-rule);
  background: #fff;
  color: var(--sheet-ink);
  font: inherit;
  white-space: nowrap;
}
main.ct-one-sheet #selection .ct-tube-length-options button[aria-pressed="true"],
main.ct-one-sheet #selection .ct-tube-custom-button[aria-expanded="true"] {
  border-color: var(--sheet-accent);
  font-weight: 650;
}
main.ct-one-sheet #selection .ct-tube-custom-button { margin-block-start: 8px; }
main.ct-one-sheet .ct-tube-custom-entry {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(100px, 1fr);
  gap: 6px 12px;
  margin-block-start: 10px;
}
main.ct-one-sheet #ct-tube-length-mm {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid var(--sheet-rule);
  font: inherit;
  font-size: 16px;
}
main.ct-one-sheet #ct-tube-length-mm[aria-invalid="true"] { border-color: #9b3f34; }
main.ct-one-sheet .ct-tube-custom-entry p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--sheet-muted);
  font-size: 13px;
}

main.ct-one-sheet #selection .ct-sheet-format-button {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid var(--sheet-rule);
  background: #fff;
  color: var(--sheet-ink);
  font: inherit;
  white-space: nowrap;
}
main.ct-one-sheet #selection .ct-sheet-format-button[aria-expanded="true"] {
  border-color: var(--sheet-accent);
  font-weight: 650;
}
main.ct-one-sheet .ct-sheet-format-entry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 10px;
  margin-block-start: 10px;
}
main.ct-one-sheet .ct-sheet-format-entry label {
  display: grid;
  min-width: 0;
  gap: 5px;
}
main.ct-one-sheet .ct-sheet-format-entry input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--sheet-rule);
  font: inherit;
  font-size: 16px;
}
main.ct-one-sheet .ct-sheet-format-entry input[aria-invalid="true"] { border-color: #9b3f34; }
main.ct-one-sheet .ct-sheet-format-entry p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--sheet-muted);
  font-size: 13px;
}

/* Supply choices stay visible above the current offer and use the catalog's underline. */
html body main#content.ct-one-sheet #selection fieldset.ct-card-supply {
  min-inline-size: 0;
  margin: 14px 0 0;
  padding: 0;
  border: 0;
}

html body main#content.ct-one-sheet #selection .ct-card-supply legend {
  margin: 0 0 3px !important;
  padding: 0;
  color: var(--sheet-muted, #595959);
  font-size: var(--sheet-caption, 13px);
  font-weight: 400;
  line-height: 1.4;
}

html body main#content.ct-one-sheet #selection .ct-card-supply .r103-supply-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 0;
}

html body main#content.ct-one-sheet #selection .ct-card-supply button {
  min-height: 44px !important;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid var(--sheet-line, #ccc);
  font-family: inherit;
  font-size: var(--sheet-body, 16px);
  line-height: 1.35;
  white-space: nowrap;
}

html body main#content.ct-one-sheet #selection .ct-card-supply button[aria-pressed="true"] {
  border-bottom: 2px solid currentColor;
  font-weight: 600;
}

html body main#content.ct-one-sheet #selection .ct-card-supply button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

html body main#content.ct-one-sheet #selection .ct-card-supply button > span {
  display: none;
}

html body main#content.ct-one-sheet #selection:is(.ct-card-comparison, .ct-card-fabric-comparison) :is(.ct-card-supply, .ct-fabric-pair) button.ct-card-compare-choice {
  display: flex !important;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
  text-align: left !important;
  gap: 5px !important;
  min-height: 92px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--sheet-line, #ccc) !important;
}

html body main#content.ct-one-sheet #selection:is(.ct-card-comparison, .ct-card-fabric-comparison) :is(.ct-card-supply, .ct-fabric-pair) button.ct-card-compare-choice[aria-pressed="true"] {
  border-color: var(--sheet-ink, #171717) !important;
}

@layer ct-single-sheet-preview {
  main.ct-one-sheet #selection :is(button.ct-card-compare-choice,
      .r121-supply button[data-r120-supply]) {
    background-color: #fff !important;
  }
}

html body main#content.ct-one-sheet #selection:is(.ct-card-comparison, .ct-card-fabric-comparison) :is(.ct-card-supply, .ct-fabric-pair) button.ct-card-compare-choice > span {
  display: block;
}

html body main#content.ct-one-sheet #selection .ct-card-compare-choice .ct-card-compare-name {
  display: block !important;
  font-size: clamp(14px, 1.15vw, 16px) !important;
  font-weight: inherit !important;
  color: inherit !important;
}

html body main#content.ct-one-sheet #selection .ct-card-compare-price {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 650;
}

html body main#content.ct-one-sheet #selection .ct-card-compare-choice .ct-card-compare-condition {
  color: var(--sheet-muted, #595959);
  font-size: var(--sheet-caption, 13px);
  font-weight: 400;
  line-height: 1.4;
  white-space: normal;
}

main#content.ct-one-sheet #selection:not(.ct-card-comparison, .ct-card-fabric-comparison) .ct-card-compare-price {
  display: none;
}

main#content.ct-one-sheet #selection:is(.ct-card-comparison, .ct-card-fabric-comparison) .ct-sheet-offer > :is(.r103-availability, .r103-price) {
  display: none;
}

main#content.ct-one-sheet #selection.ct-card-comparison .ct-card-wholesale-hint {
  grid-column: 1 / -1;
  justify-self: start;
  text-align: left;
}

main#content.ct-one-sheet #selection .ct-card-length-summary {
  justify-content: normal;
}

main#content.ct-one-sheet #selection .ct-card-length-value {
  margin-inline-start: auto;
  margin-inline-end: 10px;
  color: var(--sheet-muted, #595959);
  font-weight: 400;
  white-space: nowrap;
}

main#content.ct-one-sheet #selection:is(.ct-card-comparison, .ct-card-total-positioned) .ct-sheet-commerce > :is(
  .r106-total, [data-r108-total], .ct-card-retail-total
) {
  display: none;
}

main#content.ct-one-sheet #selection .ct-card-comparison-total:not([hidden]) {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-block: 16px 14px;
  padding: 11px 14px;
  border: 1px solid var(--sheet-rule, #deded9);
  background-color: #f7f7f5 !important;
}

main#content.ct-one-sheet #selection .ct-card-comparison-amount {
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 600;
}

main#content.ct-one-sheet #selection .ct-card-comparison-sum {
  margin-inline-start: auto;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.2;
  white-space: nowrap;
}

main#content.ct-one-sheet #selection .ct-card-comparison-enquiry :is(.ct-card-comparison-amount, .ct-card-comparison-sum) {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.4;
}

main#content.ct-one-sheet #selection .ct-card-comparison-enquiry .ct-card-comparison-sum {
  color: var(--sheet-muted, #595959);
  font-weight: 500;
}

html body main#content.ct-one-sheet #selection:is(.ct-card-comparison, .ct-card-fabric-comparison) .ct-card-compare-choice .ct-card-compare-condition {
  inline-size: fit-content;
  max-inline-size: 100%;
  padding: 0;
  color: var(--sheet-muted, #595959) !important;
  background-color: transparent !important;
  font-weight: 500 !important;
}

html body main#content.ct-one-sheet #selection:is(.ct-card-comparison, .ct-card-fabric-comparison) :is([data-r108-supply="stock"], [data-r103-supply="stock"], [data-ct-fabric-variant="stock"]) .ct-card-compare-condition {
  padding: 0;
  color: var(--sheet-muted, #595959) !important;
  background-color: transparent !important;
  font-weight: 500 !important;
}

html body main#content.ct-one-sheet #selection:is(.ct-card-comparison, .ct-card-fabric-comparison) :is([data-r108-supply="stock"], [data-r103-supply="stock"], [data-ct-fabric-variant="stock"]) .ct-card-compare-in-stock {
  color: #1b5637 !important;
}

main#content.ct-one-sheet #selection .ct-card-no-stock {
  display: none !important;
}

main#content.ct-one-sheet #selection .ct-card-status-in-stock {
  color: #1b5637 !important;
}

main#content.ct-one-sheet #selection .ct-sheet-minimum:not([hidden]) {
  padding: 2px 6px;
  color: #705414 !important;
  background-color: #f5eedb !important;
}

main#content.ct-one-sheet #selection .ct-card-visible-fabric {
  margin: 14px 0 0;
  min-inline-size: 0;
}

main#content.ct-one-sheet #selection .ct-card-visible-fabric button {
  min-height: 44px;
}

main#content.ct-one-sheet #selection .ct-fabric-area-help:not([hidden]) {
  grid-column: 1 / -1;
  margin: 0;
  color: #555;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.45;
}

main#content.ct-one-sheet #selection .ct-fabric-pair legend {
  margin-bottom: 4px;
  color: var(--sheet-muted, #595959);
  font-weight: 400;
}

main#content.ct-one-sheet #selection .ct-card-custom-size {
  min-inline-size: 0;
  border-block-start: 1px solid var(--sheet-rule);
}

main#content.ct-one-sheet #selection .ct-card-custom-size .ct-sheet-format-button {
  display: flex;
  align-items: center;
  gap: 12px;
  inline-size: 100%;
  min-block-size: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  text-align: start;
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 600;
  white-space: normal;
}

main#content.ct-one-sheet #selection .ct-card-custom-size-condition {
  margin-inline-start: auto;
  color: #705414;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  white-space: nowrap;
}

main#content.ct-one-sheet #selection .ct-card-custom-size .ct-sheet-format-button::after {
  content: "+";
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
}

main#content.ct-one-sheet #selection .ct-card-custom-size .ct-sheet-format-button[aria-expanded="true"]::after {
  content: "−";
}

main#content.ct-one-sheet #selection .ct-card-custom-size .ct-sheet-format-entry:not([hidden]) {
  margin-block: 4px 14px;
}

@layer ct-single-sheet-preview {
  html body main.ct-one-sheet #selection.ct-variant-order .r121-supply {
    display: block !important;
    margin: 0 0 12px;
  }

  html body main.ct-one-sheet #selection.ct-variant-order .r121-supply .r121-tabs {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  html body main.ct-one-sheet #selection.ct-variant-order .r121-supply legend {
    margin: 0 0 7px;
    color: var(--sheet-muted, #595959);
    font-size: 13px;
  }

  html body main.ct-one-sheet #selection.ct-variant-order button[data-r120-supply] {
    min-height: 60px;
    inline-size: 100%;
    min-inline-size: 0;
    padding: 8px 10px !important;
    border: 1px solid var(--sheet-line, #d6d6d1) !important;
    background: #fff !important;
    text-align: start;
    white-space: normal !important;
    line-height: 1.3;
  }

  html body main.ct-one-sheet #selection.ct-variant-order button[data-r120-supply] span {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: var(--sheet-muted, #595959);
  }

  html body main.ct-one-sheet #selection.ct-variant-order button[data-r120-supply][aria-pressed="true"] {
    border-color: #171717 !important;
    font-weight: 650;
  }

  html body main.ct-one-sheet #selection.ct-variant-order [data-r120-panel] > ul:has(.ct-variant-card) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html body main.ct-one-sheet #selection.ct-variant-order .ct-variant-card {
    display: block !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 10px 4px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--sheet-rule, #deded9) !important;
    background: transparent !important;
  }

  html body main.ct-one-sheet #selection.ct-variant-order .ct-variant-card:hover {
    background: #f6f5f1 !important;
  }

  html body main.ct-one-sheet #selection.ct-variant-order .ct-variant-card:focus-visible,
  html body main.ct-one-sheet #selection.ct-variant-order button[data-r120-supply]:focus-visible {
    outline: 2px solid #6c5e36;
    outline-offset: -2px;
  }
}

main.ct-one-sheet #selection .ct-variant-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto) auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

main.ct-one-sheet #selection .ct-variant-card-info {
  display: grid;
  align-content: center;
  gap: 4px;
  min-inline-size: 0;
}

main.ct-one-sheet #selection .ct-variant-card-info h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

main.ct-one-sheet #selection .ct-variant-card-info p {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--sheet-muted, #595959);
  overflow-wrap: anywhere;
}

main.ct-one-sheet #selection .ct-variant-card-info .r121-availability {
  inline-size: fit-content;
  max-inline-size: 100%;
  margin: 0;
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: #555;
  background: #f1f1f1;
}

main.ct-one-sheet #selection .ct-variant-card-info .r121-availability[data-ct-availability="stock"] {
  color: #1b5637;
  background: #eaf3ed;
}

main.ct-one-sheet #selection .ct-variant-card-info .r121-availability[data-ct-availability="order"] {
  color: #705414;
  background: #f5eedb;
}

main.ct-one-sheet #selection .ct-variant-card-body .ct-variant-amounts {
  display: grid;
  gap: 3px;
  min-inline-size: 0;
}

main.ct-one-sheet #selection .ct-variant-card-body .ct-variant-payment-line {
  gap: 3px 5px;
}

main.ct-one-sheet #selection .ct-variant-card-body .ct-variant-amounts strong {
  font-size: 14px;
}

main.ct-one-sheet #selection .ct-variant-card-body .ct-variant-rate {
  max-inline-size: 100%;
}

main.ct-one-sheet #selection .ct-variant-empty {
  margin: 0;
  padding: 9px 0;
  color: var(--sheet-muted, #595959);
}

main.ct-one-sheet #selection .ct-variant-arrow {
  color: #77632b;
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 375px) {
  main.ct-one-sheet #selection .ct-variant-card-body .ct-variant-payment-line {
    display: grid;
    justify-items: end;
    gap: 2px;
  }
}
