/*
Theme Name: Jua Range
Theme URI: https://juarange.com/
Author: Jua Range
Description: Block-based WooCommerce theme for Jua Range. Pages, menus, colours and content can be edited in the WordPress Site Editor.
Version: 2.1.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: juarange
*/

html { scroll-behavior: smooth; }
body { margin: 0; }
a { text-underline-offset: .18em; }
.jr-hero { min-height: min(720px, 78vh); position: relative; overflow: hidden; }
.jr-hero img { min-height: min(720px, 78vh); object-fit: cover; }
.jr-hero .wp-block-cover__inner-container { align-self: flex-end; padding-bottom: clamp(2rem, 6vw, 5rem); }
.jr-eyebrow { letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; font-weight: 700; }
.jr-card { overflow: hidden; border-radius: 6px; }
.jr-card img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.jr-card:hover img { transform: scale(1.025); }
.jr-brand-card { border-top: 1px solid #d8d2c7; padding-top: 1.25rem; }
.jr-contact a { color: inherit; }
.woocommerce ul.products li.product img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.wp-element-button { border-radius: 2px; font-weight: 700; }
@media (max-width: 700px) {
  .jr-hero, .jr-hero img { min-height: 580px; }
  .jr-desktop-only { display: none !important; }
}

.jr-topnav { font-size: .78rem; }
.jr-topnav a { text-decoration: none; }
.jr-topnav { min-height: 32px; box-sizing: border-box; padding-top: 8px !important; padding-bottom: 8px !important; }
.jr-topnav p, .jr-mainhead p, .jr-logo { margin: 0 !important; }
.jr-mainhead { width: min(1440px, calc(100% - 32px)); margin: 0 auto; padding: 10px 0 !important; display: grid !important; grid-template-columns: clamp(142px,17vw,220px) minmax(180px,1fr) auto; gap: 16px !important; align-items: center; border-bottom: 0; }
.jr-logo { width: clamp(142px,17vw,220px) !important; height: 58px; }
.jr-logo a, .jr-logo img { display: block; width: 100% !important; height: 100% !important; object-fit: contain; }
.jr-mainhead .wp-block-search { width: 100%; }
.jr-mainhead .wp-block-search__inside-wrapper { background: #ebe9e3; border: 0; border-radius: 999px; padding: .2rem .7rem; }
.jr-mainhead .wp-block-search__input { background: transparent; border: 0; }
.jr-mainhead .wp-block-search__button { order: -1; width: 32px; min-width: 32px; height: 40px; margin: 0; padding: 5px; color: #111; background: transparent !important; border: 0; box-shadow: none; }
.jr-mainhead .wp-block-search__button svg { width: 22px; height: 22px; }
.jr-actions { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.jr-actions a { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: #111; text-decoration: none; }
.jr-actions svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.jr-cart span { position: absolute; right: 0; top: 0; min-width: 20px; height: 20px; display: grid; place-items: center; padding: 0 5px; box-sizing: border-box; color: #fff; background: #c75d2e; border-radius: 999px; font-size: 11px; font-weight: 700; }
.jr-split-hero { width: min(1440px, calc(100% - 32px)); min-height: min(680px, calc(100vh - 142px)); margin: 0 auto; display: grid !important; grid-template-columns: minmax(320px, .8fr) minmax(420px, 1.2fr); gap: 20px; align-items: stretch; padding: 24px 0; }
.jr-brand-panel { min-height: 0; height: auto; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; border: 2px solid #ff8617; }
.jr-brand-panel figure { margin: 0; width: min(100%, 500px); }
.jr-brand-panel img { display: block; width: 100%; max-height: none; object-fit: contain; }
.jr-brand-panel .hero-statement { max-width: 520px; margin: clamp(42px, 5vw, 68px) 0 0; font-family: Arial, Helvetica, sans-serif; font-size: clamp(24px, 1.9vw, 29px) !important; font-weight: 400; line-height: 1.28 !important; letter-spacing: 0; }
.jr-brand-panel .hero-statement strong { font-weight: 700; }
.jr-brand-panel .hero-statement strong, .jr-brand-panel .hero-statement span { display: block; white-space: nowrap; }
.jr-carousel { position: relative; min-width: 0; min-height: 420px; height: auto; overflow: hidden; background: #151515; }
.jr-carousel .wp-block-image { position: absolute; inset: 0; width: 100%; height: 100% !important; margin: 0; opacity: 0; overflow: hidden; transition: opacity .55s ease; }
.jr-carousel .wp-block-image.is-active { opacity: 1; }
.jr-carousel .wp-block-image img { display: block; width: 100% !important; max-width: none !important; height: 100% !important; min-height: 0; aspect-ratio: auto !important; object-fit: cover !important; }
.jr-carousel-controls { position: absolute; inset: 50% 1rem auto; transform: translateY(-50%); z-index: 2; display: flex; justify-content: space-between; pointer-events: none; }
.jr-carousel-controls button { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(31,33,29,.65); color: white; font-size: 1.55rem; cursor: pointer; pointer-events: auto; }
.jr-carousel-dots { position: absolute; z-index: 2; bottom: 1.1rem; left: 50%; transform: translateX(-50%); background: rgba(31,33,29,.58); border-radius: 999px; padding: .35rem .55rem; color: white; letter-spacing: .3rem; }
.jr-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.jr-section { width: min(1440px, calc(100% - 32px)); margin-inline: auto; padding-block: clamp(3rem, 6vw, 6rem); }
.jr-section > .wp-block-heading:first-child, .jr-section-title h2 { font-family: Arial, Helvetica, sans-serif; font-weight: 800; }
.jr-featured { padding: clamp(1.5rem, 3vw, 3rem); background: #fff; border: 1px solid #dddcd5; }
.jr-featured .wp-block-gallery img { min-height: 330px; object-fit: cover; }
.jr-family .wp-block-column { padding: 1rem; background: #fff; border: 1px solid #dddcd5; }
.jr-promo { box-sizing: border-box; }
.jr-promo h2 { margin: 0; font-family: Arial, Helvetica, sans-serif; font-weight: 800; }
.jr-designer > .wp-block-columns { width: min(1160px, 100%); margin-inline: auto; gap: clamp(2rem, 6vw, 6rem); }
.jr-designer h2 { color: #ff8617; font-family: Arial, Helvetica, sans-serif; font-size: clamp(2.2rem, 5vw, 5rem); font-weight: 800; }
.jr-designer-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; }
.jr-designer-photo figcaption { color: #fff; font-size: 1.25rem; text-align: center; }
.jr-shop .woocommerce ul.products { margin-top: 2rem; }
.jr-services .wp-block-column { padding: clamp(1.5rem, 3vw, 2.5rem); background: #fff; border-top: 5px solid #ff8617; }
.jr-services h3 { font-family: Arial, Helvetica, sans-serif; font-weight: 800; }
.jr-footer { width: min(1440px, calc(100% - 32px)); margin: 3rem auto 0; box-sizing: border-box; }
.jr-footer a { color: inherit; text-decoration: none; }
.jr-footer-head { display: grid !important; grid-template-columns: 200px 1fr; align-items: center; gap: 64px; padding-bottom: 24px; border-bottom: 1px solid #444; }
.jr-footer-logo { margin: 0; padding: 20px 28px; background: #fff; }
.jr-footer-logo img { width: 100%; height: auto; }
.jr-footer-kicker { margin: 0 0 .35rem; color: #777b73; font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.jr-footer-head h2 { margin: 0; color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: clamp(2rem, 3vw, 3rem); font-weight: 800; }
.jr-footer-columns { display: grid !important; grid-template-columns: 1.15fr .95fr .95fr; gap: 0; padding: 26px 0; }
.jr-footer-column { min-width: 0; padding-right: 38px; }
.jr-footer-column + .jr-footer-column { padding-left: 38px; border-left: 1px solid #444; }
.jr-footer-column h3 { margin: 0 0 24px; color: #ff8617; font-family: Arial, Helvetica, sans-serif; font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.jr-location { padding: 0 0 14px; margin: 0 0 12px; border-bottom: 1px solid #393939; }
.jr-location:last-child { border-bottom: 0; }
.jr-location small, .jr-location span { display: block; color: #aaa; font-size: .78rem; }
.jr-location strong { display: block; margin: .15rem 0; color: #fff; font-size: 1.05rem; line-height: 1.15; }
.jr-social-pill { display: flex; align-items: center; gap: 12px; min-height: 62px; margin-bottom: 14px; padding: 0 18px 0 10px; color: #151515 !important; background: #fff; border-radius: 5px; font-size: .85rem; font-weight: 700; box-shadow: 0 10px 20px rgba(0,0,0,.22); }
.jr-social-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border: 6px solid #f1f1f1; border-radius: 50%; color: #fff; background: #ff8617; box-shadow: -4px 0 0 #151515, 4px 0 0 #151515; font-size: .72rem; font-weight: 800; }
.jr-social-whatsapp .jr-social-icon, .jr-social-tripadvisor .jr-social-icon { background: #19b968; }
.jr-social-instagram .jr-social-icon { background: #e63872; }
.jr-social-facebook .jr-social-icon { background: #3568ad; }
.jr-footer-bottom { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 28px; padding-top: 24px; border-top: 1px solid #444; color: #999; font-size: .78rem; }
.jr-footer-nav { align-self: start; justify-content: center; color: #fff; font-size: .9rem; font-weight: 700; }
.jr-footer-credit { text-align: right; font-weight: 700; }
.jr-floating-shop { position: fixed; z-index: 18; right: 22px; bottom: 24px; width: 66px; height: 66px; display: grid; place-content: center; gap: 0; color: #fff !important; background: #ff8617; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 8px 22px rgba(0,0,0,.2); text-align: center; text-decoration: none; }
.jr-floating-shop span { font-size: 1.1rem; line-height: 1; }
.jr-floating-shop strong { font-size: .68rem; }
@media (max-width: 900px) {
  .jr-topnav { display: none !important; }
  .jr-split-hero { width: min(100% - 20px, 1440px); grid-template-columns: 1fr !important; }
  .jr-brand-panel { min-height: 360px; }
  .jr-carousel, .jr-carousel .wp-block-image, .jr-carousel .wp-block-image img { min-height: 500px; height: 500px !important; }
  .jr-brand-panel .hero-statement strong, .jr-brand-panel .hero-statement span { white-space: normal; }
  .jr-footer-head { grid-template-columns: 150px 1fr; gap: 28px; }
  .jr-footer-columns { grid-template-columns: 1fr !important; }
  .jr-footer-column, .jr-footer-column + .jr-footer-column { padding: 24px 0; border-left: 0; border-bottom: 1px solid #444; }
  .jr-footer-bottom { grid-template-columns: 1fr; text-align: center; }
  .jr-footer-credit { text-align: center; }
}
@media (max-width: 600px) {
  .jr-mainhead { grid-template-columns: minmax(120px,1fr) auto; gap: .65rem; }
  .jr-mainhead .wp-block-search { grid-column: 1 / -1; grid-row: 2; }
  .jr-actions { margin-left: auto; }
  .jr-split-hero { padding-inline: .75rem; }
}
