:root{
  --c2c-terracotta:#C2410C; --c2c-terracotta-hover:#9A3412; --c2c-amber:#F59E0B;
  --c2c-ink:#1C1917; --c2c-body:#57534E; --c2c-muted:#78716C;
  --c2c-cream:#FAFAF9; --c2c-surface:#F5F5F4; --c2c-raised:#E7E5E4; --c2c-border:#D6D3D1;
  --c2c-on-dark:#F5F1EA; --c2c-on-dark-dim:#C9BFB2;
}

/* 1. Browser surfaces: selection, caret, focus and scrollbars are part
      of the design, not defaults inherited from the browser. */
::selection{background:var(--c2c-terracotta);color:#fff}
::-moz-selection{background:var(--c2c-terracotta);color:#fff}
body{caret-color:var(--c2c-terracotta);text-underline-offset:.18em}

:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:2px solid var(--c2c-terracotta);
  outline-offset:3px;
  border-radius:4px;
}
.xpro-theme-builder-footer :where(a,button,input,[tabindex]):focus-visible{outline-color:var(--c2c-amber)}

*{scrollbar-width:thin;scrollbar-color:var(--c2c-border) transparent}
*::-webkit-scrollbar{width:10px;height:10px}
*::-webkit-scrollbar-track{background:transparent}
*::-webkit-scrollbar-thumb{background:var(--c2c-border);border-radius:99px;border:3px solid transparent;background-clip:content-box}
*::-webkit-scrollbar-thumb:hover{background:var(--c2c-muted);background-clip:content-box}

/* Figures read as data, not prose. */
.c2c-table table,.elementor-counter-number{font-variant-numeric:tabular-nums;font-feature-settings:"tnum" 1}

/* 2. Navigation. The header is sticky, so nothing in its ancestry may clip
      a submenu, and a long submenu must scroll inside the viewport. */
/* Nothing between the sticky header and the dropdown may clip it. */
.xpro-theme-builder-header,
.xpro-theme-builder-header .e-con,
.xpro-theme-builder-header .e-con-inner,
.xpro-theme-builder-header .elementor-widget-xpro-horizontal-menu,
.xpro-theme-builder-header .xpro-elementor-horizontal-navbar-wrapper,
.xpro-theme-builder-header .xpro-elementor-horizontal-navbar,
.xpro-theme-builder-header .xpro-elementor-horizontal-navbar-nav,
.xpro-theme-builder-header .xpro-elementor-horizontal-navbar-nav > li{overflow:visible}

.xpro-theme-builder-header{position:relative;z-index:900}
.xpro-elementor-horizontal-navbar-nav > li.menu-item-has-children{position:relative}

ul.xpro-elementor-dropdown-menu{
  z-index:960;
  max-height:calc(100vh - 200px);
  overflow-y:auto;
  overscroll-behavior:contain;
  box-shadow:0 16px 38px -16px rgba(28,25,23,.30);
  border:1px solid var(--c2c-border);
  border-radius:10px;
  padding-block:6px;
}
/* Bridge the gap so the pointer can travel from the parent into the panel. */
ul.xpro-elementor-dropdown-menu::before{
  content:"";position:absolute;left:0;right:0;top:-16px;height:16px;
}
a.xpro-elementor-dropdown-item{padding-top:11px;padding-bottom:11px;min-height:44px;display:flex;align-items:center}

/* Off-canvas panel on tablet and phone: 18 items plus submenus must scroll. */
@media (max-width:1024px){
  .xpro-elementor-horizontal-navbar-wrapper{
    max-height:100vh;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
  }
  .xpro-elementor-horizontal-navbar{padding-bottom:112px}
  ul.xpro-elementor-dropdown-menu{
    max-height:none;overflow:visible;border:0;box-shadow:none;border-radius:0;
  }
  ul.xpro-elementor-dropdown-menu::before{display:none}
}

/* 2b. Category marquee. A seamless leftward drift, not a carousel: the item
      list is duplicated and the track translates exactly one copy width, so
      the seam never lands in view. Edge masks stop the hard cut at the
      viewport boundary. */
.c2c-marquee{
  --c2c-marquee-duration:34s;
  position:relative;
  overflow:hidden;
  width:100%;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 72px,#000 calc(100% - 72px),transparent);
          mask-image:linear-gradient(90deg,transparent,#000 72px,#000 calc(100% - 72px),transparent);
}
.c2c-marquee-track{
  display:flex;
  width:max-content;
  animation:c2c-marquee var(--c2c-marquee-duration) linear infinite;
}
.c2c-marquee:hover .c2c-marquee-track{animation-play-state:paused}
.c2c-marquee-set{display:flex;align-items:center;flex:0 0 auto}
.c2c-marquee-item{
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
  padding:0 26px;
  font-family:"Fira Code",ui-monospace,monospace;
  font-size:11.5px;
  font-weight:600;
  letter-spacing:1.4px;
  text-transform:uppercase;
  color:var(--c2c-body);
}
.c2c-marquee-item::after{
  content:"";
  width:5px;height:5px;
  margin-left:26px;
  transform:rotate(45deg);
  background:var(--c2c-terracotta);
  opacity:.85;
}
@keyframes c2c-marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

@media (max-width:767px){
  .c2c-marquee{--c2c-marquee-duration:30s;
    -webkit-mask-image:linear-gradient(90deg,transparent,#000 32px,#000 calc(100% - 32px),transparent);
            mask-image:linear-gradient(90deg,transparent,#000 32px,#000 calc(100% - 32px),transparent);}
  .c2c-marquee-item{padding:0 16px;font-size:10.5px;letter-spacing:1.1px}
  .c2c-marquee-item::after{margin-left:16px}
}

/* Drift is decoration; the categories still have to be readable without it. */
@media (prefers-reduced-motion:reduce){
  .c2c-marquee{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
  .c2c-marquee-track{animation:none}
  .c2c-marquee-set[aria-hidden="true"]{display:none}
}

/* 2b-i. Xpro heading widgets colour their focus span from a plugin default,
         which lands off-palette. The build stamps a colour class; honour it. */
.c2c-xh .xpro-heading-title,
.c2c-xh .xpro-title-focus{color:inherit}
.c2c-xh-1c1917 .xpro-title-focus{color:#1C1917}
.c2c-xh-f5f1ea .xpro-title-focus{color:#F5F1EA}
.c2c-xh-f59e0b .xpro-title-focus{color:#F59E0B}
.c2c-xh-c9bfb2 .xpro-title-focus{color:#C9BFB2}
.c2c-xh-78716c .xpro-title-focus{color:#78716C}
.c2c-xh-57534e .xpro-title-focus{color:#57534E}
.c2c-xh-c2410c .xpro-title-focus{color:#C2410C}
.c2c-xh a:hover .xpro-title-focus{color:#F59E0B}

/* 2c. WPForms. The plugin ships a blue submit button and stock inputs that
      belong to no design system; both forms are re-dressed here. */
.wpforms-container{margin:0}
.wpforms-container .wpforms-field{padding:0 0 16px}
.wpforms-container .wpforms-field-label{
  font-family:"Source Sans 3",system-ui,sans-serif;
  font-size:14px;font-weight:700;color:var(--c2c-ink);margin-bottom:6px;
}
.wpforms-container .wpforms-field-sublabel,
.wpforms-container .wpforms-field-description{
  font-size:13px;color:var(--c2c-muted);
}
.wpforms-container .wpforms-required-label{color:var(--c2c-terracotta)}

.wpforms-container input[type=text],
.wpforms-container input[type=email],
.wpforms-container input[type=tel],
.wpforms-container input[type=url],
.wpforms-container input[type=number],
.wpforms-container select,
.wpforms-container textarea{
  width:100%;
  font-family:"Source Sans 3",system-ui,sans-serif;
  font-size:16px;
  color:var(--c2c-ink);
  background:#fff;
  border:1px solid var(--c2c-border);
  border-radius:8px;
  padding:11px 14px;
  box-shadow:none;
  transition:border-color .16s ease, box-shadow .16s ease;
}
.wpforms-container textarea{min-height:132px;line-height:1.55}
.wpforms-container input::placeholder,
.wpforms-container textarea::placeholder{color:#8B857E}
.wpforms-container input:focus,
.wpforms-container select:focus,
.wpforms-container textarea:focus{
  border-color:var(--c2c-terracotta);
  box-shadow:0 0 0 3px rgba(194,65,12,.14);
  outline:none;
}
.wpforms-container .wpforms-field-checkbox label,
.wpforms-container .wpforms-field-radio label{font-weight:400;color:var(--c2c-body)}
.wpforms-container input[type=checkbox],
.wpforms-container input[type=radio]{accent-color:var(--c2c-terracotta);width:17px;height:17px}

.wpforms-container button[type=submit],
.wpforms-container .wpforms-submit{
  font-family:"Source Sans 3",system-ui,sans-serif;
  font-size:15px;font-weight:700;letter-spacing:.2px;
  color:#fff;
  background:var(--c2c-terracotta);
  border:0;border-radius:8px;
  padding:13px 26px;
  cursor:pointer;
  transition:background-color .16s ease;
}
.wpforms-container button[type=submit]:hover,
.wpforms-container .wpforms-submit:hover{background:var(--c2c-terracotta-hover)}
.wpforms-container .wpforms-error{color:#B91C1C;font-size:13px}
.wpforms-container input.wpforms-error,
.wpforms-container textarea.wpforms-error,
.wpforms-container select.wpforms-error{border-color:#DC2626}

/* Newsletter: field and button sit on one line, like the original design. */
#c2c-newsletter .wpforms-container form{
  display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;
}
#c2c-newsletter .wpforms-field-container{flex:1 1 240px;min-width:0}
#c2c-newsletter .wpforms-field{padding:0}
#c2c-newsletter .wpforms-submit-container{flex:0 0 auto}
#c2c-newsletter .wpforms-container button[type=submit]{background:var(--c2c-ink);padding:12px 24px}
#c2c-newsletter .wpforms-container button[type=submit]:hover{background:var(--c2c-terracotta)}
#c2c-newsletter .wpforms-confirmation-container-full{
  background:transparent;border:0;padding:0;color:var(--c2c-ink);font-size:15px;
}
@media (max-width:479px){
  #c2c-newsletter .wpforms-submit-container{flex:1 1 100%}
  #c2c-newsletter .wpforms-container button[type=submit]{width:100%}
}

/* 3. Touch targets. Nav, category bar and footer links clear 44px. */
.xpro-elementor-horizontal-navbar-nav > li > a{min-height:44px;display:flex;align-items:center}
.xpro-theme-builder-footer .xpro-infolist-item a,
.xpro-theme-builder-footer .xpro-infolist-title{min-height:26px}
.xpro-social-icon-wrapper a{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}

/* 4. Scrollable spec tables announce themselves and take keyboard focus. */
.c2c-table{position:relative}
.c2c-table:focus-visible{outline:2px solid var(--c2c-terracotta);outline-offset:3px}
.c2c-table table{width:100%}

/* 4b. Product inventory: cards, filters, gallery, single-unit blocks. */
.c2c-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:"Source Sans 3",system-ui,sans-serif;font-size:14px;font-weight:700;
  line-height:1.2;letter-spacing:.2px;padding:11px 18px;border-radius:8px;
  text-decoration:none;border:1px solid transparent;cursor:pointer;min-height:44px;
  transition:background-color .16s ease,color .16s ease,border-color .16s ease;
}
.c2c-btn--primary{background:var(--c2c-terracotta);color:#fff}
.c2c-btn--primary:hover{background:var(--c2c-terracotta-hover);color:#fff}
.c2c-btn--dark{background:var(--c2c-ink);color:#fff}
.c2c-btn--dark:hover{background:var(--c2c-terracotta);color:#fff}
.c2c-btn--ghost{background:transparent;color:var(--c2c-ink);border-color:var(--c2c-border)}
.c2c-btn--ghost:hover{border-color:var(--c2c-terracotta);color:var(--c2c-terracotta)}
.c2c-btn--lg{font-size:16px;padding:14px 26px}

.c2c-results{
  margin:0 0 18px;padding-bottom:16px;border-bottom:1px solid var(--c2c-border);
  font-size:15px;color:var(--c2c-body);
}
.c2c-results strong{color:var(--c2c-ink)}

.c2c-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
@media (max-width:1024px){.c2c-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.c2c-grid{grid-template-columns:1fr}}

.c2c-card{
  position:relative;display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--c2c-border);border-radius:12px;overflow:hidden;
  transition:border-color .18s ease,transform .18s cubic-bezier(.2,.8,.2,1);
}
.c2c-card:hover{border-color:var(--c2c-muted);transform:translateY(-2px)}
.c2c-card-media{display:block;line-height:0;background:var(--c2c-raised)}
.c2c-card-media img{width:100%;height:auto;display:block;aspect-ratio:4/3;object-fit:cover}
.c2c-card-noimg{display:block;width:100%;aspect-ratio:4/3;background:var(--c2c-raised)}
.c2c-card-body{display:flex;flex-direction:column;gap:8px;padding:18px}
.c2c-card-tag{
  font-family:"Fira Code",ui-monospace,monospace;font-size:10.5px;font-weight:600;
  letter-spacing:1px;text-transform:uppercase;color:var(--c2c-muted);
}
.c2c-card-title{margin:0;font-family:"Source Sans 3",system-ui,sans-serif;font-size:17px;font-weight:700;line-height:1.3}
.c2c-card-title a{color:var(--c2c-ink);text-decoration:none}
.c2c-card-title a:hover{color:var(--c2c-terracotta)}
.c2c-card-facts{margin:0;font-size:13.5px;color:var(--c2c-muted)}
.c2c-price{margin:2px 0 0;font-size:15px;color:var(--c2c-muted);font-variant-numeric:tabular-nums}
.c2c-price s{margin-right:8px;font-weight:400}
.c2c-price-now{font-size:20px;font-weight:700;color:var(--c2c-ink)}
.c2c-price-sale{color:var(--c2c-terracotta)}
.c2c-price--lg .c2c-price-now{font-size:30px}
.c2c-card-actions{display:grid;grid-template-columns:auto 1fr;gap:8px;margin-top:10px}

.c2c-badge{
  position:absolute;top:12px;left:12px;z-index:2;
  padding:5px 10px;border-radius:999px;
  font-family:"Fira Code",ui-monospace,monospace;font-size:10px;font-weight:600;
  letter-spacing:1px;text-transform:uppercase;
}
.c2c-badge--new-arrival{background:var(--c2c-amber);color:var(--c2c-ink)}
.c2c-badge--price-drop{background:var(--c2c-ink);color:#fff}

.c2c-shop{position:relative}
.c2c-shop.is-loading{opacity:.45;pointer-events:none;transition:opacity .18s ease}
.c2c-empty{padding:36px 24px;border:1px dashed var(--c2c-border);border-radius:12px;text-align:center;color:var(--c2c-body)}
.c2c-empty p{margin:0 0 14px}

.c2c-pager{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding-top:24px}
.c2c-page{
  min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;
  padding:0 14px;border:1px solid var(--c2c-border);border-radius:8px;
  color:var(--c2c-ink);text-decoration:none;font-size:14px;font-weight:700;
}
.c2c-page:hover{border-color:var(--c2c-terracotta);color:var(--c2c-terracotta)}
.c2c-page.is-current{background:var(--c2c-terracotta);border-color:var(--c2c-terracotta);color:#fff}

.c2c-filters{display:flex;flex-direction:column}
.c2c-filter{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:9px 0;border-bottom:1px solid var(--c2c-raised);
  color:var(--c2c-body);text-decoration:none;font-size:15px;min-height:42px;
}
.c2c-filter:last-child{border-bottom:0}
.c2c-filter:hover{color:var(--c2c-terracotta)}
.c2c-filter.is-current{color:var(--c2c-terracotta);font-weight:700}
.c2c-filter-count{font-size:13px;color:var(--c2c-muted);font-variant-numeric:tabular-nums}
.c2c-filter.is-current .c2c-filter-count{color:var(--c2c-terracotta)}

.c2c-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;background:var(--c2c-border);border:1px solid var(--c2c-border);border-radius:10px;overflow:hidden}
.c2c-facts > div{background:#fff;padding:14px 16px}
.c2c-facts dt{margin:0 0 3px;font-family:"Fira Code",ui-monospace,monospace;font-size:10px;font-weight:600;letter-spacing:1px;text-transform:uppercase;color:var(--c2c-muted)}
.c2c-facts dd{margin:0;font-size:16px;color:var(--c2c-ink);font-weight:600}

.c2c-specs{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.c2c-specs li{position:relative;padding-left:28px;font-size:16px;line-height:1.55;color:var(--c2c-body)}
.c2c-specs li::before{
  content:"";position:absolute;left:0;top:.45em;width:9px;height:9px;
  transform:rotate(45deg);background:var(--c2c-terracotta);
}

.c2c-fleet{background:var(--c2c-surface);border:1px solid var(--c2c-border);border-left:3px solid var(--c2c-amber);border-radius:10px;padding:20px 22px}
.c2c-fleet p{margin:0 0 12px;font-size:15px;line-height:1.6;color:var(--c2c-body)}
.c2c-fleet p:last-child{margin:0}
.c2c-fleet strong{color:var(--c2c-ink)}

.c2c-gallery{position:relative}
.c2c-gallery-track{
  display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;
  scroll-behavior:smooth;padding-bottom:6px;overscroll-behavior-x:contain;
}
.c2c-gallery-slide{flex:0 0 min(420px,78%);margin:0;scroll-snap-align:start}
.c2c-gallery-slide img{width:100%;height:auto;display:block;border-radius:10px;aspect-ratio:4/3;object-fit:cover}
.c2c-gallery-nav{
  position:absolute;top:50%;transform:translateY(-50%);z-index:2;
  width:44px;height:44px;border-radius:50%;border:1px solid var(--c2c-border);
  background:rgba(255,255,255,.94);color:var(--c2c-ink);font-size:22px;line-height:1;cursor:pointer;
  box-shadow:0 6px 18px -8px rgba(28,25,23,.35);
}
.c2c-gallery-nav:hover{border-color:var(--c2c-terracotta);color:var(--c2c-terracotta)}
.c2c-gallery-prev{left:10px}
.c2c-gallery-next{right:10px}

#c2c-quote-note{
  margin:0 0 16px;padding:11px 15px;border-radius:8px;
  background:var(--c2c-surface);border-left:3px solid var(--c2c-terracotta);
  font-size:14px;font-weight:700;color:var(--c2c-ink);
}

/* 5. Utility */
.c2c-visually-hidden{
  position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}
.c2c-skip-link{
  position:absolute;left:12px;top:-64px;z-index:1000;
  background:var(--c2c-ink);color:var(--c2c-on-dark);
  padding:12px 18px;border-radius:0 0 8px 8px;font-weight:700;
  text-decoration:none;transition:top .18s cubic-bezier(.2,.8,.2,1);
}
.c2c-skip-link:focus{top:0}

/* Link affordance inside long-form copy. */
.elementor-widget-text-editor a:not(.elementor-button){
  color:var(--c2c-terracotta);
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:.18em;
}
.elementor-widget-text-editor a:not(.elementor-button):hover{color:var(--c2c-terracotta-hover)}

/* 6. Motion. Reduced-motion users keep state changes, lose the theatre. */
@media (prefers-reduced-motion:reduce){
  .elementor-invisible{opacity:1!important;animation:none!important}
  *,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}
  :where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{transition:none}
}
