@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//firstrideon.com/wp-content/themes/woodmart/fonts/woodmart-font-2-400.woff2?v=8.4.0") format("woff2");
}

:root {
	--wd-text-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #767676;
	--wd-text-font-size: 16px;
	--wd-title-font: "Lexend", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 500;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Lexend", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 400;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: var(--wd-text-font);
	--wd-widget-title-font: "Lexend", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 500;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 500;
	--wd-header-el-transform: none;
	--wd-header-el-font-size: 16px;
	--wd-brd-radius: 10px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(0,74,135);
	--wd-alternative-color: rgb(0,0,0);
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(34,71,204);
	--btn-accented-bgcolor-hover: rgb(31,64,185);
	--btn-transform: none;
	--wd-form-brd-width: 1px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: rgb(0,74,135);
	background-image: none;
}
html .wd-nav-mobile > li > a {
	text-transform: none;
}
html .btn.wd-buy-now-btn {
	background: rgb(160,194,105);
}
html .btn.wd-buy-now-btn:hover {
	background: rgb(131,172,43);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-bg: rgb(255,255,255);
}
.product-labels .product-label.onsale {
	background-color: rgb(221,51,51);
	color: rgb(255,255,255);
}
.product-labels .product-label.new {
	background-color: rgb(171,186,129);
	color: rgb(255,255,255);
}
.product-labels .product-label.featured {
	background-color: rgb(227,162,141);
	color: rgb(255,255,255);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}

}
:root{
--wd-container-w: 1422px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
}

@media (min-width: 1422px) {
section.elementor-section.wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


.wd-page-title {
background-color: rgb(0,74,135);
}

/* 移动端：产品标签页自动切换为手风琴布局 */
@media (max-width:768px) {
    .single-product .wd-tabs.wd-tabs-layout-tabs .wd-tabs-header {
        display: none !important;
    }
    .single-product .wd-tabs.wd-tabs-layout-tabs .wd-accordion-item {
        display: block !important;
    }
    .single-product .wd-tabs.wd-tabs-layout-tabs .wd-accordion-title {
        display: flex !important;
        padding: 15px 20px;
        border: 1px solid #eee;
        margin-bottom: -1px;
        background:#fff;
    }
    .single-product .wd-tabs.wd-tabs-layout-tabs .wd-accordion-content {
        display: none;
        padding: 15px 20px;
        border: 1px solid #eee;
        background:#fff;
    }
    .single-product .wd-tabs.wd-tabs-layout-tabs .wd-accordion-item.active .wd-accordion-content {
        display: block;
    }
}

/* 产品 tab 区 + 短描述区的 YouTube 视频：靠左、480px、4:3 */
.wc-tab .rll-youtube-player,
.wc-tab lite-youtube,
.woocommerce-product-details__short-description .rll-youtube-player,
.woocommerce-product-details__short-description lite-youtube {
  max-width: 480px !important;
  margin: 0 0 20px 0 !important;
  padding-bottom: 0 !important;
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  position: relative;
}
.wc-tab .rll-youtube-player iframe,
.wc-tab .rll-youtube-player img,
.woocommerce-product-details__short-description .rll-youtube-player iframe,
.woocommerce-product-details__short-description .rll-youtube-player img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* ===== First Ride On 描述区排版系统 v2（opt-in，互不干扰）===== */

/* 0) 通用兜底：描述区图片不溢出 */
.wc-tab img { max-width:100%; height:auto; }

/* ---------- 1) fro-mr：短文案「手机浮字」块（无遮罩，描边保证可读）---------- */
.fro-mr { position:relative; margin:28px 0; }
.fro-mr-media img, .fro-mr-media video { width:100%; height:auto; display:block; border-radius:10px; }
@media (min-width:769px){
  .fro-mr { display:flex; align-items:center; gap:28px; }
  .fro-mr-media { flex:1 1 55%; }
  .fro-mr-text  { flex:1 1 45%; }
  .fro-mr.reverse .fro-mr-media { order:2; }
  .fro-mr.reverse .fro-mr-text  { order:1; }
}
@media (max-width:768px){
  .fro-mr { aspect-ratio:4/3; }
  .fro-mr-media { position:absolute; inset:0; }
  .fro-mr-media img, .fro-mr-media video { width:100%; height:100%; object-fit:cover; border-radius:10px; }
  .fro-mr-text { position:relative; z-index:2; height:100%; display:flex; flex-direction:column;
                 justify-content:flex-start; align-items:flex-start; padding:20px; }
  .fro-mr-text h3 { color:#fff!important; font-weight:700; font-style:normal;
    text-shadow:-1.5px -1.5px 0 rgba(0,0,0,.85),1.5px -1.5px 0 rgba(0,0,0,.85),
                -1.5px 1.5px 0 rgba(0,0,0,.85),1.5px 1.5px 0 rgba(0,0,0,.85),0 2px 8px rgba(0,0,0,.65); }
  .fro-mr-text p { color:#fff!important;
    text-shadow:-1px -1px 0 rgba(0,0,0,.8),1px -1px 0 rgba(0,0,0,.8),
                -1px 1px 0 rgba(0,0,0,.8),1px 1px 0 rgba(0,0,0,.8),0 1px 6px rgba(0,0,0,.6); }
}

/* ---------- 2) fro-block：全宽块（全宽文字 / 全宽图）---------- */
.fro-block { margin:28px 0; }
.fro-block img, .fro-block video { width:100%; height:auto; display:block; border-radius:10px; }

/* ---------- 3) fro-row：桌面左右交错（带列表长文案）---------- */
.fro-row { display:flex; flex-wrap:wrap; align-items:center; gap:28px; margin:30px 0; }
.fro-row-media, .fro-row-text { flex:1 1 45%; min-width:0; }
.fro-row.reverse .fro-row-media { order:2; }
.fro-row.reverse .fro-row-text  { order:1; }
.fro-row-media img, .fro-row-media video { width:100%; height:auto; display:block; border-radius:10px; }
/* 兼容旧 is-duo（若还有块在用） */
.fro-row-media.is-duo { display:flex; gap:12px; justify-content:center; align-items:center; }
.fro-row-media.is-duo img { flex:0 1 auto; height:180px; width:auto; max-width:100%; object-fit:contain; }

/* ---------- 4) fro-grid：N 图并排 ---------- */
.fro-grid { display:grid; grid-template-columns:repeat(var(--fro-cols,2),1fr); gap:12px; margin:28px 0; }
.fro-grid.cols-2 { --fro-cols:2; }
.fro-grid.cols-3 { --fro-cols:3; }
.fro-grid.cols-4 { --fro-cols:4; }
.fro-grid img, .fro-grid video { width:100%; height:auto; display:block; border-radius:10px; }

/* ---------- 5) fro-even：可选等高裁切修饰类（不想裁切就不加，McLaren 双图块已移除）---------- */
.fro-even { --fro-ratio:4/3; }
.fro-even.ratio-1x1 { --fro-ratio:1/1; }
.fro-even.ratio-4x5 { --fro-ratio:4/5; }
.fro-even.ratio-3x4 { --fro-ratio:3/4; }
.fro-even img { aspect-ratio:var(--fro-ratio); object-fit:cover; }

/* ---------- 6) 手机：fro-row 退回上下；2 图仍并排不裁切，3/4 图横滑 ---------- */
@media (max-width:768px){
  .fro-row { display:block; }
  .fro-row-media.is-duo img { height:130px; }
  .fro-grid.cols-2 { grid-template-columns:repeat(2,1fr); gap:8px; }
  .fro-grid.cols-3, .fro-grid.cols-4 {
    display:flex; overflow-x:auto; scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch; gap:10px; scrollbar-width:none;
  }
  .fro-grid.cols-3::-webkit-scrollbar, .fro-grid.cols-4::-webkit-scrollbar { display:none; }
  .fro-grid.cols-3 > *, .fro-grid.cols-4 > * { flex:0 0 82%; scroll-snap-align:center; }
  .fro-even img { height:auto; }
}

