/* Shared catalogue contract: all home, collection and recommendation cards. */
body.rahib-store .rh-product-card { width:100%!important; max-width:none!important; min-width:0!important; height:100%; min-height:0!important; margin:0; padding:0; border:1px solid #e1e7eb; border-radius:10px; background:#fff; overflow:hidden; box-shadow:none; }
body.rahib-store .rh-reference-product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; width:100%; max-width:1352px; margin-inline:auto; }
@media(min-width:992px) and (max-width:1199px) { body.rahib-store .rh-reference-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:991px) { body.rahib-store .rh-reference-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } }
body.rahib-store .rh-product-card .product-card-new-area { display:flex; flex-direction:column; height:100%; padding:12px; gap:8px; }
body.rahib-store .rh-product-card .pd_top { display:flex; align-items:center; justify-content:space-between; min-height:28px; padding:0; }
body.rahib-store .rh-product-card .pd_brand { display:flex; align-items:center; justify-content:flex-end; height:28px; max-width:110px; margin-left:auto; overflow:hidden; }
body.rahib-store .rh-product-card .pd_brand img { width:auto!important; max-width:100px!important; height:26px!important; object-fit:contain!important; }
body.rahib-store .rh-product-card .pd_brand h6 { margin:0; font-size:11px; line-height:14px; }
body.rahib-store .rh-product-card .pd_card_img { width:100%; height:auto!important; padding:0!important; margin:0; aspect-ratio:1; display:block; border:0!important; background:#fff!important; }
body.rahib-store .rh-product-card .pd_card_img a { display:block; width:100%; height:100%; padding:0; }
body.rahib-store .rh-product-card .pd_card_img img { width:100%!important; height:100%!important; max-width:100%!important; max-height:none!important; object-fit:contain!important; padding:0!important; margin:0!important; border:0!important; background:#fff!important; }
body.rahib-store .rh-product-card .pd_card_data { display:flex; flex:1; flex-direction:column; padding:0!important; gap:10px; border:0!important; }
body.rahib-store .rh-product-card .card_title { display:-webkit-box!important; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; font-size:14px!important; line-height:21px!important; min-height:42px; max-height:42px; margin:0!important; font-weight:600; color:#0a354d; }
body.rahib-store .rh-product-card .pd_card_price { position:relative; display:block; min-height:52px; margin:0!important; padding:0; }
body.rahib-store .rh-product-card .pd_price, body.rahib-store .rh-product-card .pd_price_item { display:block!important; width:100%; }
body.rahib-store .rh-product-card .pd_price_regular { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
body.rahib-store .rh-product-card .pd_price_regular h4 { margin:0; font-size:18px!important; line-height:24px; font-weight:700; font-variant-numeric:tabular-nums; }
body.rahib-store .rh-product-card .pd_price_regular small { position:absolute; right:0; top:29px; font-size:10px; line-height:16px; white-space:nowrap; color:#137851; background:#eaf5ee; padding:0 3px; border-radius:3px; }
body.rahib-store .rh-product-card .pd_price_regular h4 { white-space:nowrap; }
body.rahib-store .rh-product-card .pd_price_cut { display:block; width:auto!important; max-width:calc(100% - 54px); }
body.rahib-store .rh-product-card .pd_price_cut h4 { white-space:nowrap; }
body.rahib-store .rh-product-card .pd_price_cut h4 { margin:3px 0 0; font-size:12px!important; line-height:18px; color:#71808a; font-weight:400; text-decoration:line-through; }
body.rahib-store .rh-product-card .pd_card_actions { margin-top:auto; min-height:82px; padding:0; }
body.rahib-store .rh-product-card .pd_card_btn { display:flex; flex-direction:column; gap:6px; }
body.rahib-store .rh-product-card .cart_btn { display:flex; align-items:center; justify-content:center; gap:6px; width:100%!important; min-height:42px; padding:8px!important; font-size:12px!important; line-height:18px; border:1px solid #0a354d; border-radius:6px; background:#0a354d; color:#fff; }
body.rahib-store .rh-product-card .quote_btn { min-height:34px; width:100%; padding:6px!important; font-size:11px!important; line-height:16px; border:1px solid #d9e2e8; border-radius:6px; background:#fff; color:#0a354d; }
body.rahib-store .rh-product-card .cart_btn:disabled { opacity:.55; cursor:not-allowed; }
body.rahib-store .rh-product-card .pd_badge { font-size:10px; }
.rh-catalogue-heading .tw-collection-heading { display:block; }
body.rahib-store .rh-catalogue-heading { display:grid!important; grid-template-columns:minmax(0,1fr) auto; align-items:start; gap:20px; }
body.rahib-store .rh-catalogue-total { display:flex; flex-direction:column; justify-content:center; align-items:center; align-self:start; text-align:center; gap:4px; min-width:120px; width:120px; min-height:88px; margin:0; padding:12px; }
.tw-filter-reset, [data-filter-reset] { background:none; border:0; color:#0a354d; font-size:12px; cursor:pointer; }
.rh-account-mobile { display:none; }
@media(max-width:991px) {
 body.rahib-store .tw-account-sidebar, body.rahib-store .tw-portal-nav { display:none!important; }
 body.rahib-store .tw-account-header, body.rahib-store .tw-portal-hero { position:relative; overflow:visible!important; }
 body.rahib-store .tw-portal-hero { flex-direction:column; align-items:stretch; }
 .rh-account-mobile { display:block; position:relative; width:100%; margin-bottom:14px; }
 .rh-account-mobile__toggle { margin-left:auto; }
 .rh-account-mobile__toggle { display:flex; align-items:center; gap:8px; min-height:42px; padding:8px 12px; border:1px solid #d9e2e8; border-radius:7px; background:#fff; color:#0a354d; font-size:13px; }
 .rh-account-mobile { z-index:20; }
 .rh-account-mobile__collapse { position:absolute; right:0; top:100%; width:min(280px,calc(100vw - 32px)); visibility:hidden; opacity:0; transform:translateY(-4px); transition:opacity .18s,transform .18s,visibility .18s; pointer-events:none; }
 .rh-account-mobile.is-open .rh-account-mobile__collapse { visibility:visible; opacity:1; transform:translateY(0); pointer-events:auto; }
 .rh-account-mobile__clip { min-height:0; overflow:visible; }
 .rh-account-mobile__menu { position:static; width:min(280px,100%); margin:8px 0 0 auto; padding:7px; background:#fff; border:1px solid #e1e7eb; border-radius:10px; }
 .rh-account-mobile__menu a, .rh-account-mobile__menu button { display:flex; align-items:center; gap:12px; width:100%; padding:11px 12px; color:#0a354d; font-size:13px; line-height:20px; border:0; border-radius:6px; background:transparent; text-align:left; }
 .rh-account-mobile__menu .is-active { color:#cf7300; background:#fff3df; }
 .rh-account-mobile__menu i { width:18px; text-align:center; }
 .rh-account-mobile__menu form { margin-top:6px; padding-top:6px; border-top:1px solid #e1e7eb; }
 .rh-account-mobile__menu button { color:#a12b22; }
}
@media(max-width:600px) {
 body.rahib-store .rh-catalogue-heading { grid-template-columns:minmax(0,1fr) 88px; gap:12px; }
 body.rahib-store .rh-catalogue-total { min-width:88px; width:88px; min-height:74px; padding:10px; }
 body.rahib-store .rh-catalogue-total strong { font-size:26px; }
 body.rahib-store .rh-catalogue-total span { font-size:10px; line-height:14px; }
 body.rahib-store .rh-product-card .product-card-new-area { padding:9px; }
 body.rahib-store .rh-product-card .pd_price_regular h4 { font-size:15px!important; }
 body.rahib-store .rh-product-card .card_title { font-size:12px!important; line-height:18px!important; min-height:36px; max-height:36px; }
 body.rahib-store .rh-product-card .pd_brand img { max-width:80px!important; }
}
@media(prefers-reduced-motion:reduce) { .rh-account-mobile__collapse { transition:none; } }

/* A single constrained header, with the active border owned by the full step. */
body.rahib-store .rh-checkout-steps { width:100%; max-width:none; margin:0 0 24px; padding:0; gap:20px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; }
body.rahib-store .rh-checkout-steps ol { display:flex; gap:8px; margin:0; padding:0; }
body.rahib-store .rh-checkout-steps li { display:flex; padding:0; min-height:52px; border-bottom:3px solid transparent; }
body.rahib-store .rh-checkout-steps li.is-active { border-bottom-color:#f59b12; }
body.rahib-store .rh-checkout-steps li > a, body.rahib-store .rh-checkout-steps li > span { display:flex; align-items:center; padding:14px 16px; min-height:49px; white-space:nowrap; }
body.rahib-store .rh-address-back { display:inline-flex; white-space:nowrap; margin-bottom:16px; }
@media(max-width:760px) {
 body.rahib-store .rh-checkout-steps { display:block; }
 body.rahib-store .rh-checkout-steps ol { width:100%; gap:4px; }
 body.rahib-store .rh-checkout-steps li { flex:1; min-width:0; }
 body.rahib-store .rh-checkout-steps li > a, body.rahib-store .rh-checkout-steps li > span { width:100%; padding:12px 5px; font-size:10px; justify-content:center; white-space:normal; }
}
.rh-about-page { padding-top:40px; padding-bottom:48px; }
.rh-about-intro { max-width:850px; margin-bottom:32px; }
.rh-about-page h1,.rh-about-page h2 { color:#0a354d; }
.rh-about-kicker { text-transform:uppercase; letter-spacing:.12em; font-size:12px; color:#b76b00; }
.rh-about-copy { white-space:pre-line; line-height:1.8; }
.rh-about-section { padding:28px 0; border-top:1px solid #dce4e8; }
.rh-about-section.has-image { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px; align-items:center; }
.rh-about-section img { width:100%; max-height:420px; object-fit:cover; border-radius:10px; }
.rh-about-cta { display:inline-block; background:#0a354d; color:#fff!important; padding:12px 20px; border-radius:6px; margin-top:14px; }
@media(max-width:767px) { .rh-about-section.has-image { grid-template-columns:1fr; } }
body.rahib-store .rh-about-page.container { width: min(calc(100% - 36px), 1120px); max-width: 1120px; padding: 54px 0 86px; }
body.rahib-store .rh-about-intro { max-width: 830px; margin: 0 auto 36px; text-align: center; }
body.rahib-store .rh-about-intro .rh-about-kicker { margin-bottom: 13px; color: #ac6500; font-weight: 750; }
body.rahib-store .rh-about-intro h1 { margin: 0; color: #082b55; font-size: clamp(34px, 4vw, 54px); line-height: 1.12; letter-spacing: -.045em; text-align: center; }
body.rahib-store .rh-about-content { max-width: 940px; margin: 0 auto; color: #34465b; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
body.rahib-store .rh-about-content > .rh-about-copy { max-width: 820px; margin: 0 auto; text-align: center; }
body.rahib-store .rh-about-content > div:first-child > div:first-child > p:first-child { text-align: center; }
body.rahib-store .rh-about-content > h2 { margin: 54px 0 20px; padding-top: 30px; border-top: 1px solid #e1e8ee; color: #082b55; font-size: clamp(25px, 2.8vw, 35px); line-height: 1.25; text-align: center; }
body.rahib-store .rh-about-content > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
body.rahib-store .rh-about-content h3 { margin: 28px 0 12px; color: #123a60; font-size: 21px; line-height: 1.35; }
body.rahib-store .rh-about-content p { margin: 0 0 20px; }
body.rahib-store .rh-about-content > p { max-width: 820px; margin-right: auto; margin-left: auto; }
body.rahib-store .rh-about-content img { display: block; max-width: 100%; height: auto; margin: 28px auto; border-radius: 10px; }
body.rahib-store .rh-about-content blockquote { margin: 30px auto; padding: 18px 24px; border-left: 4px solid #e99116; background: #f7f9fb; color: #173957; }
body.rahib-store .rh-about-content ul, body.rahib-store .rh-about-content ol { max-width: 820px; margin: 0 auto 24px; padding-left: 28px; }
body.rahib-store .rh-about-content .rh-about-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: center; margin: 36px 0; }
body.rahib-store .rh-about-content a.rh-about-cta { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; margin: 8px 0 20px; padding: 12px 22px; background: #082b55; color: #fff; text-decoration: none; }
body.rahib-store .rh-about-content a.rh-about-cta:hover { background: #b86d09; }
@media (max-width: 767px) {
  body.rahib-store .rh-about-page.container { width: calc(100% - 32px); padding: 35px 0 58px; }
  body.rahib-store .rh-about-intro { margin-bottom: 25px; }
  body.rahib-store .rh-about-content { font-size: 15px; line-height: 1.7; }
  body.rahib-store .rh-about-content > h2 { margin-top: 36px; padding-top: 24px; }
  body.rahib-store .rh-about-content .rh-about-columns { grid-template-columns: 1fr; gap: 14px; }
}
.rh-banner-carousel__slide picture { display:block; width:100%; height:100%; }

/* The homepage banner meets the navigation and both viewport edges. */
body.rahib-store.rh-home-page .rh-banner-carousel {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
}

@media (max-width: 767px) {
  /* Keep lightbox controls together, clear of the product photograph. */
  body.rahib-store .tw-pdp-lightbox__arrow {
    top: auto;
    bottom: max(20px, env(safe-area-inset-bottom));
    width: 46px;
    height: 46px;
    transform: none;
  }
  body.rahib-store .tw-pdp-lightbox__arrow--previous { left: auto; right: 78px; }
  body.rahib-store .tw-pdp-lightbox__arrow--next { right: 20px; }
  body.rahib-store .tw-pdp-lightbox > span { left: 20px; bottom: max(34px, calc(env(safe-area-inset-bottom) + 14px)); }

  /* Every purchase action uses the same width and touch target on phones. */
  body.rahib-store .tw-pdp-purchase__row,
  body.rahib-store .tw-pdp-purchase__row.is-quotation-only {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  body.rahib-store .tw-pdp-purchase__row > .tw-pdp-quantity,
  body.rahib-store .tw-pdp-purchase__row > .tw-pdp-button,
  body.rahib-store .tw-pdp-purchase__row.is-quotation-only > .tw-pdp-button {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 52px;
    margin: 0;
  }
}
