/* RENNiS STEP054 — desktop only; the old mobile layout remains as accepted at STEP053.
   Original customer photo files are never cropped or modified. */
@media (min-width: 1100px) {
  body.rn052-catalogue {
    --rn054-bg: #eef1f3;
    --rn054-deep: #262e33;
    --rn054-text: #1e252b;
    --rn054-muted: #67747e;
    --rn054-orange: #ff6500;
    --rn054-rule: #dbe2e6;
    background: var(--rn054-bg);
    color: var(--rn054-text);
  }
  body.rn052-catalogue .ct-container,
  body.rn052-catalogue .ct-container-full {
    max-width: 1480px;
  }
  body.rn052-catalogue .woocommerce-breadcrumb {
    color: #697881; font-size: 13px; line-height: 1.5;
    margin: 14px 0 20px;
  }
  body.rn052-catalogue .woocommerce-breadcrumb a {
    color: #cc520b; text-decoration: none;
  }
  body.rn052-catalogue .woocommerce-breadcrumb a:hover { text-decoration: underline; }
  body.rn052-catalogue .rn051-preview-banner {
    background: #fff9ef; border: 1px solid #ecd6b5;
    border-left: 4px solid var(--rn054-orange);
    box-shadow: none; margin: 0 0 25px;
    padding: 12px 18px; gap: 8px 14px;
  }
  body.rn052-catalogue .rn051-preview-banner strong {font-size: 14px;}
  body.rn052-catalogue .rn051-preview-banner span {font-size: 13px;}
  body.rn052-archive .woocommerce-products-header {display: none;}
  body.rn052-archive .rn054-archive-intro {
    clear: both; width: 100%; display: flex;
    align-items: center; justify-content: space-between; gap: 24px;
    padding: 24px 30px; margin: 0 0 22px;
    box-sizing: border-box; border: 1px solid var(--rn054-rule);
    border-radius: 14px;
    background: linear-gradient(110deg,#fff 0%,#fff 60%,#fff0e3 100%);
  }
  body.rn052-archive .rn054-eyebrow {
    text-transform: uppercase; letter-spacing: .12em;
    font-size: 11px; font-weight: 800; color:#e25806;
    margin-bottom: 8px;
  }
  body.rn052-archive .rn054-archive-intro h1 {
    font-size: clamp(27px,2.2vw,36px); line-height: 1.16;
    letter-spacing: -.026em; margin: 0 0 8px; font-weight: 800;
    color: var(--rn054-text);
  }
  body.rn052-archive .rn054-archive-intro p {
    margin: 0; font-size: 14px; line-height: 1.55; color: var(--rn054-muted);
  }
  body.rn052-archive .rn054-archive-intro-aside {
    display:flex; align-items:center; gap: 12px; white-space: nowrap;
    font-size: 13px; font-weight: 700; line-height: 1.5;
  }
  body.rn052-archive .rn054-archive-intro-aside small {
    font-size: 12px; font-weight: 400; color: var(--rn054-muted);
  }
  body.rn052-archive .rn054-intro-mark {
    display:grid;place-items:center;border-radius:50%;width:36px;height:36px;
    background:#ffe8d5; color:#d84d00;font-size:20px;flex:0 0 auto;
  }
  body.rn052-archive .rn052-category-nav {
    width: 270px; clear: left; float:left; margin: 0 26px 28px 0;
    background:#fff; box-shadow:0 5px 18px rgba(34,44,55,.055);
    border:1px solid var(--rn054-rule); border-radius:12px;
  }
  body.rn052-archive .rn052-category-heading {
    background: var(--rn054-deep); color:white; padding:17px 19px;
    border-radius:10px 10px 0 0; font-size:16px;
  }
  body.rn052-archive .rn052-category-heading span { transform:rotate(180deg); }
  body.rn052-archive .rn052-category-list {
    display:grid !important; max-height:none;overflow:visible;
    gap:2px; padding:10px 11px 13px;
  }
  body.rn052-archive .rn052-category-list a {
    font-size:13px; line-height:1.35; padding:10px 12px;
    border-radius:7px; color:#35424a;
  }
  body.rn052-archive .rn052-category-list a:hover {background:#fff2e8;color:#bc4600;}
  body.rn052-archive .rn052-category-list a.is-current {
    background:#fff0e2;color:#b94400;
    box-shadow:inset 3px 0 var(--rn054-orange);
  }
  body.rn052-archive .woocommerce-result-count {
    float:left; font-size:13px; font-weight:650;
    color:var(--rn054-muted); margin: 11px 0 20px;
    text-transform:none; letter-spacing:normal;
  }
  body.rn052-archive .woocommerce-ordering {float:right;margin:0 0 18px;}
  body.rn052-archive .woocommerce-ordering select {
    min-height:42px; background:#fff; border:1px solid var(--rn054-rule);
    border-radius:8px; padding:8px 15px; color:#3c4850;font-size:13px;
  }
  body.rn052-archive :is(ul.products,.ct-products-container ul.products) {
    display:grid !important; width:calc(100% - 296px) !important;
    margin-left:296px !important; margin-right:0 !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:14px !important; clear:none !important;
    float:none !important; align-items:stretch;
  }
  body.rn052-archive :is(ul.products,.ct-products-container ul.products) > li.product {
    padding:12px 12px 14px !important;
    border:1px solid var(--rn054-rule); border-radius:11px;
    box-shadow:0 3px 13px rgba(32,43,54,.045);
    background:#fff; box-sizing:border-box; min-height:360px;
    display:flex !important; flex-direction:column !important;
  }
  body.rn052-archive ul.products > li.product:hover {
    border-color:#ffb681;box-shadow:0 9px 26px rgba(35,43,48,.1);
    transform:translateY(-1px);transition:all .16s ease;
  }
  body.rn052-archive ul.products > li.product :is(img,.ct-image-container) {
    width:100%;height:183px;object-fit:contain;object-position:center;
    background:#fff;margin-bottom:12px;
  }
  body.rn052-archive ul.products > li.product h2,
  body.rn052-archive ul.products > li.product .woocommerce-loop-product__title {
    font-size:13.5px !important; line-height:1.43 !important;
    font-weight:700;min-height:58px;max-height:80px;overflow:hidden;
    margin:4px 0 8px;
  }
  body.rn052-archive ul.products > li.product .rn054-card-stock {
    display:inline-flex;align-self:flex-start;align-items:center;
    gap:5px;line-height:1.2;border-radius:5px;
    padding:5px 7px;font-size:10.5px;font-weight:750;
    letter-spacing:.01em;margin:0 0 7px;
  }
  body.rn052-archive .rn054-stock-instock {background:#e8f8ee;color:#137a43;}
  body.rn052-archive .rn054-stock-backorder {background:#fff1e5;color:#b65606;}
  body.rn052-archive .rn054-stock-outofstock {background:#edf0f1;color:#5f6971;}
  body.rn052-archive .rn054-stock-unknown {background:#edf0f1;color:#5f6971;}
  body.rn052-archive ul.products > li.product .rn052-card-sku,
  body.rn052-archive ul.products > li.product .rn054-card-part {
    font-size:11.5px;line-height:1.35;color:#7d8993;margin:2px 0 8px;
  }
  body.rn052-archive ul.products > li.product .price {
    font-size:21px !important; font-weight:850; color:#20272d !important;
    margin:auto 0 12px !important;
    letter-spacing:-.025em; line-height:1.25;
  }
  body.rn052-archive ul.products > li.product .rn054-price-check,
  body.rn052-product .rn054-price-check {
    color:#a65017; font-size:16px; font-weight:750;letter-spacing:normal;
  }
  body.rn052-archive ul.products > li.product .rn052-preview-details {
    display:flex; justify-content:center;align-items:center;
    width:100%; min-height:42px; background:#ff6500;
    color:white;border-radius:7px;font-weight:750;
  }
  body.rn052-archive ul.products > li.product .rn052-preview-details:hover {background:#dd5200;}
  body.rn052-archive .woocommerce-pagination {
    clear:both;padding:30px 0 25px;
  }
  body.rn052-archive .woocommerce-pagination .page-numbers li a,
  body.rn052-archive .woocommerce-pagination .page-numbers li span {
    background:white;border:1px solid #d4dde2;color:#34424b;
    border-radius:7px;min-width:38px;min-height:38px;display:inline-grid;place-items:center;
    padding:6px 10px;font-weight:600;
  }
  body.rn052-archive .woocommerce-pagination .page-numbers .current,
  body.rn052-archive .woocommerce-pagination .page-numbers a:hover {
    background:#ff6500 !important; color:#fff !important;border-color:#ff6500 !important;
  }

  /* Single product: compact gallery and a useful factual information column. */
  body.rn052-product .product .woocommerce-product-gallery,
  body.rn052-product .product .summary {
    margin-top:0 !important; margin-bottom:22px !important;
    min-height:0 !important; height:auto !important;
    background:#fff;border:1px solid var(--rn054-rule);
    border-radius:13px;padding:22px !important;
    box-shadow:0 4px 18px rgba(34,43,52,.035);
  }
  body.rn052-product .product .woocommerce-product-gallery {
    display:flex; flex-direction:column;justify-content:flex-start;
    gap:12px;overflow:hidden;
  }
  body.rn052-product .product .woocommerce-product-gallery .flex-viewport {
    max-height:445px !important; min-height:0 !important;
    overflow:hidden; flex:0 0 auto;
  }
  body.rn052-product .product .woocommerce-product-gallery__wrapper,
  body.rn052-product .product .woocommerce-product-gallery__image {
    max-height:445px !important; min-height:0 !important;
  }
  body.rn052-product .product .woocommerce-product-gallery__image {
    display:flex !important; align-items:center; justify-content:center;
  }
  body.rn052-product .product .woocommerce-product-gallery__image img,
  body.rn052-product .product .woocommerce-product-gallery img.wp-post-image {
    max-width:100% !important;max-height:435px !important;
    width:auto !important;height:auto !important;
    object-fit:contain !important; margin:auto;
  }
  body.rn052-product .product .woocommerce-product-gallery .flex-control-thumbs {
    display:flex;gap:10px;justify-content:flex-start;
    align-items:center;flex-wrap:wrap;margin:14px 0 0;padding:0;
  }
  body.rn052-product .product .woocommerce-product-gallery .flex-control-thumbs li {
    width:69px !important;height:69px !important;float:none !important;
    border:1px solid #d9e0e4;border-radius:7px;overflow:hidden;
    box-sizing:border-box; list-style:none;
  }
  body.rn052-product .product .woocommerce-product-gallery .flex-control-thumbs img {
    width:100% !important;height:100% !important;object-fit:contain !important;
  }
  body.rn052-product .product .summary .product_title {
    font-size:clamp(25px,2.1vw,34px) !important;line-height:1.22;
    margin:2px 0 18px; font-weight:850;color:#192228;
    letter-spacing:-.023em;
  }
  body.rn052-product .product .summary .price {
    color:#192228 !important; font-size:31px !important;
    font-weight:850; margin:8px 0 20px !important;
    padding-bottom:18px;border-bottom:1px solid #e6ebee;
  }
  body.rn052-product .product .rn054-single-info {
    clear:both; margin:14px 0 10px;
    border:1px solid #e0e6ea;background:#f9fafb;
    border-radius:11px;padding:20px;
  }
  body.rn052-product .rn054-info-heading {
    font-size:16px;font-weight:850;color:#222c34;margin-bottom:15px;
  }
  body.rn052-product .rn054-info-specs {margin:0;display:grid;gap:0;}
  body.rn052-product .rn054-info-specs>div {
    display:grid;grid-template-columns:120px minmax(0,1fr);
    align-items:baseline;gap:12px;padding:10px 0;
    border-bottom:1px solid #e6eaed;
  }
  body.rn052-product .rn054-info-specs dt {
    color:#748089;font-size:12.5px;margin:0;
  }
  body.rn052-product .rn054-info-specs dd {
    color:#283138;font-size:13px;font-weight:650;
    margin:0;overflow-wrap:anywhere;
  }
  body.rn052-product .rn054-info-specs a {color:#b94c06;text-decoration:none;}
  body.rn052-product .rn054-stock-pill {
    display:inline-flex;align-items:center; padding:5px 10px;
    border-radius:6px;font-size:12px;font-weight:800;
  }
  body.rn052-product .rn054-stock-instock {background:#e8f8ee;color:#137a43;}
  body.rn052-product .rn054-stock-backorder {background:#fff1e5;color:#b65606;}
  body.rn052-product .rn054-stock-outofstock {background:#edf0f1;color:#5f6971;}
  body.rn052-product .rn054-stock-unknown {background:#edf0f1;color:#5f6971;}
  body.rn052-product .rn054-preview-alert {
    background:#fff6e9;border-left:3px solid #ff820e;
    padding:10px 12px;font-size:12px;line-height:1.5;
    color:#775329;border-radius:5px;margin:16px 0;
  }
  body.rn052-product .rn054-info-actions {margin:18px 0 13px;}
  body.rn052-product .rn054-ask-button {
    display:flex;justify-content:space-between;align-items:center;
    gap:15px;border-radius:8px;padding:13px 16px;
    color:#fff;background:#ff6500;font-weight:800;font-size:14px;text-decoration:none;
  }
  body.rn052-product .rn054-ask-button:hover {background:#dc5200;color:white;}
  body.rn052-product .rn054-info-links {display:flex;flex-wrap:wrap;gap:10px 22px;}
  body.rn052-product .rn054-info-links a {font-size:12px;color:#606f79;text-decoration:underline;}
  body.rn052-product .rn054-info-links a:hover {color:#bd4b03;}
  body.rn052-product .product .product_meta .posted_in {display:none;}
  body.rn052-product .product .product_meta {
    font-size:12px;line-height:1.5;color:#72808a;
    margin:14px 0 0;padding-top:11px;
  }
  body.rn052-product .product .woocommerce-tabs {
    clear:both;border:1px solid #dfe6ea;background:white;
    border-radius:13px;overflow:hidden;margin:23px 0 30px;
  }
  body.rn052-product .product .woocommerce-tabs ul.tabs {
    background:#f6f8f9;border-bottom:1px solid #e0e5e9;
    padding:0 22px !important;margin:0 !important;
  }
  body.rn052-product .product .woocommerce-tabs ul.tabs li a {
    color:#37454e;font-size:14px;font-weight:750;
    padding:15px 12px;
  }
  body.rn052-product .product .woocommerce-tabs ul.tabs li.active a {
    color:#d95805;border-bottom:3px solid #ff6500;
  }
  body.rn052-product .product .woocommerce-tabs .panel {
    padding:24px 28px !important;margin:0;
    font-size:14px;line-height:1.75;color:#344048;
  }
  body.rn052-product .product .woocommerce-tabs .panel p {line-height:1.75;margin:0 0 15px;}
  body.rn052-product .product .related.products {margin:28px 0 38px;}
  body.rn052-product .product .related.products h2 {font-size:23px;color:#222d35;}
  body.rn052-catalogue a:focus-visible,
  body.rn052-catalogue button:focus-visible {outline:3px solid #ff9c54;outline-offset:3px;}
}
@media (min-width: 1100px) and (max-width: 1319px) {
  body.rn052-archive :is(ul.products,.ct-products-container ul.products) {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  body.rn052-archive .rn054-archive-intro-aside {display:none;}
  body.rn052-product .rn054-info-specs>div {grid-template-columns:85px minmax(0,1fr);}
}
/* New blocks do not change the existing mobile or tablet UI. */
@media (max-width: 1099px) {
  body.rn052-catalogue .rn054-archive-intro,
  body.rn052-catalogue .rn054-card-stock,
  body.rn052-catalogue .rn054-single-info { display:none !important; }
}
/* RENNiS STEP055 — DESKTOP-ONLY TYPOGRAPHY AND SPACE PATCH */
/* Reference: approved RENNiS visual; visual audit 23.10.2026.
   No new functionality; no influence on widths below 1100px. */
@media (min-width: 1100px) {
  /* Blocksy displays its own huge shop/category hero ABOVE our custom H1.
     Hide only the duplicate Blocksy archive hero, not the normal site header.
     The existing .rn054-archive-intro H1 remains visible. */
  body.rn052-archive .hero-section,
  body.rn052-archive .ct-hero-section {
    display: none !important;
  }
  body.rn052-archive .rn054-archive-intro {
    padding: 20px 26px !important;
    margin-bottom: 16px !important;
    gap: 18px;
  }
  body.rn052-archive .rn054-archive-intro h1 {
    font-weight: 600 !important;
    font-size: clamp(26px, 2vw, 30px) !important;
    line-height: 1.23 !important;
    letter-spacing: -.012em !important;
    margin-bottom: 5px !important;
  }
  body.rn052-archive .rn054-eyebrow {
    font-weight: 500 !important;
    font-size: 10px !important;
    letter-spacing: .09em !important;
    margin-bottom: 6px !important;
  }
  body.rn052-archive .rn054-archive-intro-aside {
    font-weight: 500 !important;
  }
  body.rn052-archive .rn052-category-heading {
    font-weight: 600 !important;
    font-size: 15px !important;
    padding: 15px 18px !important;
  }
  body.rn052-archive .rn052-category-list a.is-current {
    font-weight: 600 !important;
  }
  body.rn052-archive .woocommerce-result-count {
    font-weight: 400 !important;
    margin: 8px 0 13px !important;
  }
  body.rn052-archive .woocommerce-ordering {
    margin-bottom: 13px !important;
  }
  /* Keep the same four-column layout and original aspect ratio of all images. */
  body.rn052-archive ul.products > li.product h2,
  body.rn052-archive ul.products > li.product .woocommerce-loop-product__title {
    font-weight: 500 !important;
    line-height: 1.47 !important;
    letter-spacing: 0 !important;
  }
  body.rn052-archive ul.products > li.product .price,
  body.rn052-archive ul.products > li.product .price :is(.amount, bdi, ins, del) {
    font-weight: 600 !important;
    letter-spacing: -.012em !important;
  }
  body.rn052-archive ul.products > li.product .rn054-card-stock,
  body.rn052-product .rn054-stock-pill {
    font-weight: 500 !important;
  }
  body.rn052-archive ul.products > li.product .rn054-price-check,
  body.rn052-product .rn054-price-check {
    font-weight: 500 !important;
    font-size: 15px !important;
  }
  body.rn052-archive ul.products > li.product .rn052-preview-details,
  body.rn052-archive ul.products > li.product :is(.button, .added_to_cart) {
    font-weight: 600 !important;
  }
  body.rn052-catalogue .rn051-preview-banner strong {
    font-weight: 600 !important;
  }

  /* Single product: avoid a square blank gallery and an equally tall empty
     information column. Use the native Woo thumbnails and original photos. */
  body.rn052-product div.product .summary,
  body.rn052-product div.product .woocommerce-product-gallery {
    align-self: start !important;
    min-height: 0 !important;
    height: auto !important;
  }
  body.rn052-product div.product .woocommerce-product-gallery {
    padding: 18px !important;
    gap: 8px !important;
  }
  body.rn052-product div.product .woocommerce-product-gallery .flex-viewport {
    /* Respect WooCommerce gallery slider's calculated height; cap only overflow. */
    max-height: 415px !important;
    min-height: 0 !important;
  }
  body.rn052-product div.product .woocommerce-product-gallery__wrapper,
  body.rn052-product div.product .woocommerce-product-gallery__image,
  body.rn052-product div.product .woocommerce-product-gallery__image a {
    height: auto !important;
    min-height: 0 !important;
    max-height: 415px !important;
    aspect-ratio: auto !important;
  }
  body.rn052-product div.product .woocommerce-product-gallery__image {
    display: block !important;
  }
  body.rn052-product div.product .woocommerce-product-gallery__image a {
    display: block !important;
    text-align: center;
  }
  body.rn052-product div.product .woocommerce-product-gallery__image img,
  body.rn052-product div.product .woocommerce-product-gallery img.wp-post-image {
    display: block;
    max-width: 100% !important;
    width: auto !important;
    max-height: 405px !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
  }
  body.rn052-product div.product .woocommerce-product-gallery .flex-control-thumbs {
    margin-top: 10px !important;
    gap: 8px !important;
  }
  body.rn052-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
    width: 66px !important;
    height: 66px !important;
  }
  body.rn052-product div.product .summary {
    padding: 22px 24px !important;
  }
  body.rn052-product div.product .summary .product_title {
    font-size: clamp(24px, 1.8vw, 29px) !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    letter-spacing: -.008em !important;
    margin: 0 0 12px !important;
  }
  body.rn052-product div.product .summary .price,
  body.rn052-product div.product .summary .price :is(.amount, bdi) {
    font-size: 26px !important;
    font-weight: 600 !important;
    letter-spacing: -.01em !important;
  }
  body.rn052-product div.product .summary .price {
    padding-bottom: 14px !important;
    margin: 7px 0 14px !important;
  }
  body.rn052-product .rn054-single-info {
    padding: 17px 18px !important;
    margin: 10px 0 8px !important;
  }
  body.rn052-product .rn054-info-heading {
    font-weight: 600 !important;
    font-size: 15px !important;
    margin-bottom: 10px !important;
  }
  body.rn052-product .rn054-info-specs > div {
    padding: 8px 0 !important;
  }
  body.rn052-product .rn054-info-specs dd {
    font-weight: 500 !important;
  }
  body.rn052-product .rn054-info-actions {
    margin: 14px 0 11px !important;
  }
  body.rn052-product .rn054-ask-button {
    font-weight: 600 !important;
    padding: 12px 15px !important;
  }
  /* Keep navigation and description tab consistent with the orange palette. */
  body.rn052-product :is(.ct-breadcrumbs, .woocommerce-breadcrumb) a,
  body.rn052-product :is(.ct-breadcrumbs, .woocommerce-breadcrumb) a:visited {
    color: #bd540c !important;
  }
  body.rn052-product .product .woocommerce-tabs ul.tabs li a {
    font-weight: 500 !important;
    color: #43515a !important;
  }
  body.rn052-product .product .woocommerce-tabs ul.tabs li.active a {
    color: #c65712 !important;
    border-bottom-color: #ff6500 !important;
  }
  body.rn052-product .product .woocommerce-tabs .panel {
    padding: 18px 24px !important;
    min-height: 0 !important;
    line-height: 1.6 !important;
  }
  body.rn052-product .product .woocommerce-tabs .panel p {
    margin-bottom: 10px !important;
    line-height: 1.6 !important;
  }
}
