.cfm-rm-box{border:1px solid #dbe5ec;background:#f8fbfd;border-radius:12px;padding:18px;margin:0 0 20px}
.cfm-rm-box h3{margin:0 0 12px}
.cfm-rm-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.cfm-rm-grid input,.cfm-rm-global-form input{width:100%}
.cfm-rm-subbox{margin-top:12px;padding-top:12px;border-top:1px solid #dde7ee}
.cfm-addon{display:block;margin:8px 0}
.cfm-rm-global-form{border:1px solid #e3edf5;background:#fff;border-radius:12px;padding:16px;margin-bottom:20px}
.cfm-rm-global-form__row{display:grid;grid-template-columns:1fr 1fr auto;gap:14px;align-items:end}
.cfm-rm-muted{opacity:.8;font-size:13px;margin-top:6px}
@media(max-width:782px){.cfm-rm-grid,.cfm-rm-global-form__row{grid-template-columns:1fr}}

.cfm-rm-selector-form{display:grid;gap:12px}
.cfm-rm-selector.cfm-rm-selector--product{border:0;background:transparent;padding:0;margin:0}
.cfm-rm-global-form__action--inline{display:flex;justify-content:flex-start}
.cfm-rm-box--shortcode .cfm-rm-global-form__row{grid-template-columns:1fr 1fr}
.cfm-rm-box--shortcode .cfm-rm-global-form__action--inline{margin-top:4px}


.cfm-rm-availability-box{display:flex;flex-direction:column;gap:8px}
.cfm-rm-availability-pill{display:inline-flex;align-self:flex-start;padding:6px 12px;border-radius:999px;font-weight:700;font-size:13px;border:1px solid transparent}
.cfm-rm-availability--available{background:#ecfdf5;color:#166534;border-color:#86efac}
.cfm-rm-availability--limited{background:#fff7ed;color:#9a3412;border-color:#fdba74}
.cfm-rm-availability--not_available{background:#fef2f2;color:#b91c1c;border-color:#fecaca}
.cfm-rm-availability--unknown{background:#eef2ff;color:#3730a3;border-color:#c7d2fe}

.cfm-rm-box--product .cfm-rm-global-form__row{grid-template-columns:1fr 1fr;gap:14px;align-items:end}
.cfm-rm-product-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:10px}
.cfm-rm-product-actions__note{font-size:13px;opacity:.8}
@media(max-width:782px){.cfm-rm-box--product .cfm-rm-global-form__row{grid-template-columns:1fr}.cfm-rm-product-actions{align-items:flex-start;flex-direction:column}}

.cfm-rm-box--options{background:#fff}
.cfm-rm-option-group{margin-top:16px;padding-top:16px;border-top:1px solid #e2eaf0}
.cfm-rm-option-group:first-of-type{margin-top:10px;padding-top:0;border-top:0}
.cfm-rm-option-group__title{display:block;margin-bottom:6px;font-size:16px}
.cfm-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}
.cfm-choice-card{display:grid;grid-template-columns:auto 56px 1fr;gap:10px;align-items:start;padding:10px;border:1px solid #d9e8ef;border-radius:12px;background:#fff;cursor:pointer}
.cfm-choice-card:hover,.cfm-choice-card.is-selected{border-color:#0095c8;box-shadow:0 6px 16px rgba(0,149,200,.08)}
.cfm-choice-card__input input{margin:0}
.cfm-choice-card__media img{width:56px;height:56px;object-fit:cover;border-radius:10px;border:1px solid #ebeff4}
.cfm-choice-card__title{display:block;font-size:15px;font-weight:700}
.cfm-choice-card__subtitle{display:block;color:#5c6770;font-size:13px;margin-top:3px}
.cfm-choice-card__delta{font-weight:700;color:#002d3c;white-space:nowrap;grid-column:2 / -1;margin-top:4px}
.cfm-choice-card__badge{display:inline-block;margin-bottom:6px;padding:4px 8px;border-radius:999px;background:#eef7fb;color:#005b78;font-size:12px}
.cfm-choice-card__qty{display:block;margin-top:8px}
.cfm-choice-card__qty input{width:90px}
@media(max-width:1180px){.cfm-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:782px){.cfm-choice-grid{grid-template-columns:1fr}.cfm-choice-card{grid-template-columns:auto 56px 1fr}.cfm-choice-card__media img{width:56px;height:56px}.cfm-choice-card__delta{grid-column:2 / -1;justify-self:start}}

.cfm-rm-box .button,
.cfm-rm-global-form .button,
.cfm-rm-product-actions .button,
.cfm-rm-availability-box .button,
.cfm-rm-box--options .button{
  background:#ffc72c !important;
  color:#002d3c !important;
  border-color:#ffc72c !important;
  border-radius:14px !important;
  margin-top:12px !important;
  padding:10px 18px !important;
  font-weight:700 !important;
  box-shadow:none !important;
}
.cfm-rm-box .button:hover,
.cfm-rm-global-form .button:hover,
.cfm-rm-product-actions .button:hover,
.cfm-rm-availability-box .button:hover,
.cfm-rm-box--options .button:hover{
  background:#f2bd20 !important;
  color:#002d3c !important;
  border-color:#f2bd20 !important;
}
.cfm-rm-global-form__action,
.cfm-rm-global-form__action--inline,
.cfm-rm-product-actions{
  margin-top:12px;
}


/* v1.2.38 – softer product-page rental details styling */
.cfm-rm-box--product{
  background:linear-gradient(180deg,#f8f4ea 0%,#f4efe3 100%);
  border:1px solid #e3d9c7;
  border-radius:18px;
  box-shadow:0 10px 28px rgba(0,45,60,.05);
}
.cfm-rm-box--product h3{
  color:#3b3a36;
  font-size:24px;
  margin-bottom:14px;
}
.cfm-rm-box--product strong,
.cfm-rm-box--product label{
  color:#6f6a60;
}
.cfm-rm-box--product .cfm-rm-muted,
.cfm-rm-box--product .cfm-rm-product-actions__note,
.cfm-rm-box--product .cfm-rm-availability-box small{
  color:#7f786d;
  opacity:1;
}
.cfm-rm-box--product input[type="date"],
.cfm-rm-box--product input[type="number"],
.cfm-rm-box--product input[type="text"],
.cfm-rm-box--product select{
  background:#fffdfa;
  border:1px solid #d9cfbf;
  border-radius:12px;
  color:#3b3a36;
  min-height:44px;
  box-shadow:inset 0 1px 2px rgba(0,0,0,.02);
}
.cfm-rm-box--product input:focus,
.cfm-rm-box--product select:focus{
  border-color:#c7b79a;
  box-shadow:0 0 0 3px rgba(255,199,44,.18);
  outline:none;
}
.cfm-rm-box--product .cfm-rm-availability-box{
  margin-top:14px;
  padding-top:16px;
  border-top:1px solid #ddd4c5;
}
.cfm-rm-box--product .cfm-rm-availability-pill{
  font-size:14px;
  padding:7px 14px;
}
.cfm-rm-box--product .cfm-rm-availability--available{
  background:#eef8ef;
  color:#23603b;
  border-color:#9fd3ab;
}
.cfm-rm-box--product .cfm-rm-availability--limited{
  background:#fff5df;
  color:#8b5a12;
  border-color:#efc27a;
}
.cfm-rm-box--product .cfm-rm-availability--not_available{
  background:#fff0ed;
  color:#a63d2f;
  border-color:#e9aa9f;
}
.cfm-rm-box--product .cfm-rm-availability--unknown{
  background:#f1f2f4;
  color:#535965;
  border-color:#c8cbd1;
}


/* v1.2.39 – four-box product rental details layout */
.cfm-rm-box--product{
  background:linear-gradient(180deg,#f7f1e6 0%,#efe7da 100%);
  border:1px solid #ddd0bb;
  border-radius:20px;
  box-shadow:0 12px 28px rgba(0,45,60,.06);
}
.cfm-rm-box--product h3{
  color:#2f2d29;
  font-size:24px;
  margin-bottom:16px;
}
.cfm-rm-box--product .cfm-rm-product-detail-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.cfm-rm-box--product .cfm-rm-detail-card{
  background:#fffaf2;
  border:1px solid #ddcfb7;
  border-radius:16px;
  padding:14px;
  min-height:112px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45);
}
.cfm-rm-box--product .cfm-rm-detail-card--field label,
.cfm-rm-box--product .cfm-rm-detail-card__title{
  display:block;
  margin:0 0 10px;
  color:#4e4638;
  font-size:14px;
  font-weight:700;
  text-transform:none;
}
.cfm-rm-box--product .cfm-rm-detail-card__status{
  color:#2f2d29;
  font-size:17px;
  font-weight:700;
  line-height:1.25;
}
.cfm-rm-box--product .cfm-rm-detail-card small{
  display:block;
  margin-top:8px;
  color:#7d7567;
  font-size:12px;
  line-height:1.45;
}
.cfm-rm-box--product input[type="date"],
.cfm-rm-box--product input[type="number"]{
  background:#fff;
  border:1px solid #d4c4a9;
  border-radius:12px;
  color:#2f2d29;
  min-height:46px;
}
.cfm-rm-box--product .cfm-rm-availability-pill{
  align-self:flex-start;
  margin-top:2px;
}
.cfm-rm-box--product .cfm-rm-subbox{
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid #d8ccb7;
}
.cfm-rm-box--product .cfm-rm-subbox strong{
  color:#4e4638;
}
@media(max-width:782px){
  .cfm-rm-box--product .cfm-rm-product-detail-grid{grid-template-columns:1fr;}
  .cfm-rm-box--product .cfm-rm-detail-card{min-height:unset;}
}


/* v1.2.40 – saved dates card + customize rental theme refresh */
.cfm-rm-box--product .cfm-rm-detail-card--status{justify-content:flex-start}
.cfm-rm-box--product .cfm-rm-detail-card__dates{display:flex;flex-direction:column;gap:8px;color:#2f2d29;font-size:15px;font-weight:600;line-height:1.35}
.cfm-rm-box--product .cfm-rm-detail-card__dates strong{color:#6f6658;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.cfm-rm-box--product .cfm-rm-detail-card__dates .cfm-rm-detail-card__empty{font-size:14px;font-weight:500;color:#6f6658}

.cfm-rm-box--options{
  background:linear-gradient(180deg,#f7f1e6 0%,#efe7da 100%);
  border:1px solid #ddd0bb;
  border-radius:20px;
  box-shadow:0 12px 28px rgba(0,45,60,.06);
  padding:18px;
}
.cfm-rm-box--options h3{color:#2f2d29;font-size:22px;margin:0 0 10px}
.cfm-rm-box--options .cfm-rm-muted{color:#7d7567;opacity:1}
.cfm-rm-option-group{margin-top:18px;padding-top:18px;border-top:1px solid #d8ccb7}
.cfm-rm-option-group:first-of-type{margin-top:12px;padding-top:0;border-top:0}
.cfm-rm-option-group__title{display:block;margin-bottom:8px;color:#4e4638;font-size:18px;font-weight:700}
.cfm-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cfm-choice-card{
  position:relative;
  grid-template-columns:1fr;
  gap:10px;
  align-content:start;
  min-height:100%;
  padding:14px 14px 16px;
  border:1px solid #d9cfbf;
  border-radius:16px;
  background:#fffaf2;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45);
}
.cfm-choice-card:hover,.cfm-choice-card.is-selected{border-color:#c8b690;box-shadow:0 8px 20px rgba(0,45,60,.08)}
.cfm-choice-card__input{position:absolute;top:12px;left:12px;z-index:2}
.cfm-choice-card__input input{margin:0}
.cfm-choice-card__media{display:flex;justify-content:center;padding-top:8px}
.cfm-choice-card__media img{width:84px;height:84px;border-radius:12px;border:1px solid #e4d9c8;background:#fff;display:block}
.cfm-choice-card__body{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;min-width:0}
.cfm-choice-card__badge{display:inline-flex;align-self:center;margin:0 0 2px;padding:6px 10px;border-radius:999px;background:#e6eef4;color:#355167;font-size:11px;font-weight:700;line-height:1.2}
.cfm-choice-card__title{font-size:16px;line-height:1.4;color:#4e4638;word-break:break-word}
.cfm-choice-card__subtitle{font-size:13px;line-height:1.5;color:#7d7567}
.cfm-choice-card__qty{display:flex;justify-content:center;width:100%;margin-top:2px}
.cfm-choice-card__qty label{display:flex;flex-direction:column;gap:6px;align-items:center;color:#7d7567;font-size:12px}
.cfm-choice-card__qty input{width:96px;max-width:100%;min-height:40px;border:1px solid #d4c4a9;border-radius:10px;background:#fff;text-align:center}
.cfm-choice-card__delta{grid-column:auto;justify-self:center;margin-top:auto;padding-top:4px;font-size:24px;font-weight:800;color:#002d3c;line-height:1.1;white-space:normal;text-align:center}
@media(max-width:1180px){.cfm-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:782px){.cfm-choice-grid{grid-template-columns:1fr;}.cfm-choice-card{padding:14px 14px 16px;}}


/* v1.2.95 – cart shipping calculator/buttons */
.cfm-rm-cart-shipping-calc .shipping-calculator-button,
.cfm-rm-cart-shipping-calc button[name="calc_shipping"],
.cfm-rm-cart-shipping-calc .button,
.woocommerce-cart .shipping-calculator-button,
.woocommerce-cart button[name="calc_shipping"]{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:#ffc72c !important;
  color:#002d3c !important;
  border:1px solid #ffc72c !important;
  border-radius:14px !important;
  padding:12px 18px !important;
  font-weight:700 !important;
  text-decoration:none !important;
  box-shadow:0 8px 18px rgba(255,199,44,.20) !important;
}
.cfm-rm-cart-shipping-calc .shipping-calculator-button:hover,
.cfm-rm-cart-shipping-calc button[name="calc_shipping"]:hover,
.cfm-rm-cart-shipping-calc .button:hover,
.woocommerce-cart .shipping-calculator-button:hover,
.woocommerce-cart button[name="calc_shipping"]:hover{
  background:#f2bd20 !important;
  border-color:#f2bd20 !important;
  color:#002d3c !important;
}
.cfm-rm-cart-shipping-calc .shipping-calculator-form{
  display:block !important;
  margin-top:14px;
}
.woocommerce-cart .cart_totals .cfm-rm-cart-travel-fee-row th,
.woocommerce-cart .cart_totals .cfm-rm-cart-travel-fee-row td{
  font-weight:700;
  color:#002d3c;
}


/* Theme-wrapped catalog views */
.cfm-rm-themed-route .site-main .cfm-rm-product-block,
.cfm-rm-themed-route main .cfm-rm-product-block {
  max-width: 1200px;
  margin: 40px auto;
}
.cfm-rm-product-block .cfm-rm-product-layout{align-items:start}
.cfm-rm-product-block .cfm-rm-option-group{margin:0 0 18px;padding:14px 16px;border:1px solid #e7edf3;border-radius:14px;background:#fafcfe}
.cfm-rm-product-block label{display:block;margin:0 0 8px}
.cfm-rm-product-block input[type="number"],
.cfm-rm-product-block select{width:100%;max-width:240px}
.cfm-rm-product-block .cfm-rm-addons{margin-top:18px}
.cfm-rm-product-block .cfm-rm-tabs{margin-top:32px;border-top:1px solid #e7edf3;padding-top:24px}
.cfm-rm-catalog .wrap{max-width:1200px}


/* v2.1.2 product + category block refresh */
.cfm-rm-product-shell,
.cfm-rm-category-shell{max-width:1200px;margin:0 auto;padding:28px 18px 40px}
.cfm-rm-product-breadcrumbs{display:flex;gap:10px;align-items:center;font-size:14px;color:#667085;margin-bottom:18px;flex-wrap:wrap}
.cfm-rm-product-breadcrumbs a{text-decoration:none;color:#002d3c}
.cfm-rm-product-hero{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:28px;align-items:start}
.cfm-rm-product-gallery-card,.cfm-rm-product-summary-card,.cfm-rm-product-content-card,.cfm-rm-related-card,.cfm-rm-category-card,.cfm-rm-category-hero{background:#fff;border:1px solid #e6edf2;border-radius:24px;box-shadow:0 14px 40px rgba(0,45,60,.06)}
.cfm-rm-product-gallery-card{padding:22px}
.cfm-rm-product-gallery-stage{background:#f6f8fb;border-radius:18px;padding:18px;min-height:420px;display:flex;align-items:center;justify-content:center}
.cfm-rm-product-main-image{display:block;width:100%;height:auto;max-height:520px;object-fit:contain;border-radius:16px}
.cfm-rm-product-main-image--placeholder{width:100%;min-height:360px;background:linear-gradient(135deg,#f6f8fb,#eef3f8);border-radius:16px}
.cfm-rm-product-thumbs{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}
.cfm-rm-thumb{border:1px solid #d9e4ec;background:#fff;border-radius:14px;padding:0;cursor:pointer;width:74px;height:74px;display:flex;align-items:center;justify-content:center}
.cfm-rm-thumb img{width:100%;height:100%;object-fit:cover;border-radius:13px}
.cfm-rm-thumb.is-active,.cfm-rm-thumb:hover{border-color:#0095c8;box-shadow:0 8px 20px rgba(0,149,200,.12)}
.cfm-rm-product-summary-card{padding:24px}
.cfm-rm-product-kicker{font-size:12px;font-weight:800;letter-spacing:.11em;text-transform:uppercase;color:#0095c8;margin-bottom:10px}
.cfm-rm-product-title{margin:0 0 10px;line-height:1.05;font-size:clamp(2rem,3vw,2.85rem);color:#002d3c}
.cfm-rm-product-short{font-size:1rem;line-height:1.7;color:#44515d;margin-bottom:18px}
.cfm-rm-product-price-row{padding:16px 18px;border-radius:18px;background:linear-gradient(180deg,#f6fbfd 0%,#eef7fb 100%);border:1px solid #d7edf5;margin-bottom:18px}
.cfm-rm-product-price{font-size:2rem;line-height:1;font-weight:800;color:#002d3c}
.cfm-rm-product-price-note{margin-top:6px;color:#60707d;font-size:13px}
.cfm-rm-product-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}
.cfm-rm-meta-pill{border:1px solid #e6edf2;border-radius:16px;padding:12px 14px;background:#fbfdff}
.cfm-rm-meta-pill span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#6b7a89;margin-bottom:4px}
.cfm-rm-meta-pill strong{display:block;color:#002d3c;font-size:15px}
.cfm-rm-option-section{border:1px solid #e5edf3;border-radius:20px;padding:18px;background:#fbfdff;margin:0 0 16px}
.cfm-rm-section-heading{margin-bottom:14px}
.cfm-rm-section-heading h2,.cfm-rm-section-heading h3{margin:0 0 6px;color:#002d3c}
.cfm-rm-section-heading p{margin:0;color:#667085;font-size:14px}
.cfm-rm-option-group__title{display:block;margin-bottom:10px;font-size:16px;font-weight:700;color:#21303b}
.cfm-rm-required-dot{color:#b42318;margin-left:4px}
.cfm-rm-select{width:100%;min-height:46px;border-radius:14px;border:1px solid #d6e4eb;padding:10px 14px;background:#fff}
.cfm-choice-card{grid-template-columns:auto 64px 1fr;background:#fff;border-radius:16px;padding:12px}
.cfm-choice-card__media{display:flex;align-items:center;justify-content:center}
.cfm-choice-card__media img{width:64px;height:64px;object-fit:cover;border-radius:12px}
.cfm-choice-card__content{display:flex;flex-direction:column;gap:3px}
.cfm-choice-card__qty{display:flex;align-items:center;justify-content:flex-end}
.cfm-choice-card__qty input{width:92px;border-radius:12px}
.cfm-choice-grid--stack{grid-template-columns:1fr}
.cfm-rm-validation-message{color:#b42318;font-weight:700;margin-top:10px}
.cfm-rm-product-cta-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 0 2px;flex-wrap:wrap}
.cfm-rm-product-cta-note{color:#667085;font-size:14px;max-width:560px}
.cfm-rm-product-details-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:24px;margin-top:28px}
.cfm-rm-product-content-card{padding:24px}
.cfm-rm-bundle-list,.cfm-rm-tab-stack,.cfm-rm-related-card ul{margin:0;padding:0;list-style:none}
.cfm-rm-bundle-list li{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #edf2f6}
.cfm-rm-bundle-list li:first-child{border-top:0;padding-top:0}
.cfm-rm-tab-panel{padding:14px 0;border-top:1px solid #edf2f6}
.cfm-rm-tab-panel:first-child{border-top:0;padding-top:0}
.cfm-rm-tab-panel h3{margin:0 0 8px}
.cfm-rm-related-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:28px}
.cfm-rm-related-card{padding:22px}
.cfm-rm-related-card h3{margin-top:0}
.cfm-rm-related-card li+li{margin-top:10px}
.cfm-rm-related-card a{text-decoration:none;color:#002d3c}
.cfm-rm-category-hero{padding:28px;display:flex;justify-content:space-between;gap:24px;align-items:flex-end;margin-bottom:24px}
.cfm-rm-category-title{margin:0;font-size:clamp(2rem,3vw,2.75rem);color:#002d3c}
.cfm-rm-category-description{margin-top:10px;color:#52606d;max-width:760px;line-height:1.7}
.cfm-rm-category-stats{min-width:160px;border-radius:18px;background:linear-gradient(180deg,#f6fbfd 0%,#eef7fb 100%);border:1px solid #d7edf5;padding:18px;text-align:center}
.cfm-rm-category-stats span{display:block;font-size:2rem;line-height:1;font-weight:800;color:#002d3c}
.cfm-rm-category-stats small{display:block;margin-top:6px;color:#60707d}
.cfm-rm-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px}
.cfm-rm-category-card{overflow:hidden}
.cfm-rm-category-card__media{display:block;background:#f6f8fb;aspect-ratio:4/3}
.cfm-rm-category-card__media img{width:100%;height:100%;object-fit:cover;display:block}
.cfm-rm-category-card__placeholder{display:block;width:100%;height:100%;background:linear-gradient(135deg,#f6f8fb,#eef3f8)}
.cfm-rm-category-card__body{padding:18px}
.cfm-rm-category-card__body h2{margin:0 0 10px;font-size:1.15rem;line-height:1.3}
.cfm-rm-category-card__body h2 a{text-decoration:none;color:#002d3c}
.cfm-rm-category-card__body p{margin:0 0 14px;color:#5f6f7c;line-height:1.6}
.cfm-rm-category-card__footer{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.cfm-rm-empty-state{padding:44px 24px;border:1px dashed #c9d7e2;border-radius:24px;background:#fbfdff;text-align:center}
@media (max-width: 991px){
  .cfm-rm-product-hero,.cfm-rm-product-details-grid,.cfm-rm-related-grid{grid-template-columns:1fr}
  .cfm-rm-category-hero{flex-direction:column;align-items:flex-start}
}
@media (max-width: 640px){
  .cfm-rm-product-shell,.cfm-rm-category-shell{padding-left:12px;padding-right:12px}
  .cfm-rm-product-meta-grid{grid-template-columns:1fr}
  .cfm-rm-product-gallery-stage{min-height:280px}
  .cfm-rm-category-card__footer,.cfm-rm-product-cta-row{flex-direction:column;align-items:flex-start}
}


/* v2.1.4 warm elegant product/category refinement */
.cfm-rm-product-shell,
.cfm-rm-category-shell{
  max-width:1280px;
  padding:24px 22px 48px;
}
.cfm-rm-product-single{
  color:#2f2a24;
}
.cfm-rm-product-breadcrumbs{
  margin-bottom:14px;
  color:#8a7863;
}
.cfm-rm-product-breadcrumbs__label{
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:12px;
  font-weight:700;
}
.cfm-rm-product-breadcrumbs a{
  color:#8a7863;
}
.cfm-rm-product-hero{
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  gap:18px;
}
.cfm-rm-product-gallery-card,
.cfm-rm-product-summary-card,
.cfm-rm-product-content-card,
.cfm-rm-related-card,
.cfm-rm-category-card,
.cfm-rm-category-hero{
  background:linear-gradient(180deg,#fffdfa 0%,#f8f2e9 100%);
  border:1px solid #e6d7c0;
  box-shadow:0 14px 36px rgba(62,43,23,.08);
}
.cfm-rm-product-gallery-card{
  padding:18px;
}
.cfm-rm-product-gallery-stage{
  min-height:520px;
  background:linear-gradient(180deg,#fbf7f1 0%,#f2ebe0 100%);
  border:1px solid #eadfce;
}
.cfm-rm-product-summary-card{
  padding:20px;
}
.cfm-rm-product-title{
  margin-bottom:8px;
  font-size:clamp(2rem,3vw,2.6rem);
  color:#2d2a24;
}
.cfm-rm-product-short{
  color:#6c6257;
  margin-bottom:14px;
}
.cfm-rm-product-price-row{
  background:linear-gradient(180deg,#fff8ef 0%,#f6ecdd 100%);
  border:1px solid #ead8bb;
  border-radius:18px;
}
.cfm-rm-product-price{
  color:#4a3620;
}
.cfm-rm-product-price-note{
  color:#7c6b5a;
}
.cfm-rm-product-meta-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:16px 0 18px;
}
.cfm-rm-meta-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid #ead8bb;
  background:#fff8ef;
  color:#6c6257;
  font-size:13px;
}
.cfm-rm-product-total-card{
  margin:0 0 18px;
  padding:18px;
  border-radius:20px;
  border:1px solid #e6d7c0;
  background:linear-gradient(180deg,#fffdfa 0%,#f7f0e5 100%);
}
.cfm-rm-product-total-card__head h3{
  margin:0 0 6px;
  color:#2d2a24;
  font-size:1.3rem;
}
.cfm-rm-product-total-card__head p{
  margin:0 0 14px;
  color:#7a6d60;
  font-size:14px;
}
.cfm-rm-product-total-lines{
  display:grid;
  gap:10px;
}
.cfm-rm-product-total-line{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  padding:10px 0;
  border-top:1px solid #efe2cf;
  color:#6c6257;
}
.cfm-rm-product-total-line:first-child{
  border-top:0;
  padding-top:0;
}
.cfm-rm-product-total-line strong{
  color:#2d2a24;
}
.cfm-rm-product-total-line--grand{
  margin-top:4px;
  padding-top:14px;
  border-top:1px solid #dfc7a3;
  font-size:1.05rem;
}
.cfm-rm-product-total-line--grand strong{
  color:#4a3620;
  font-size:1.15rem;
}
.cfm-rm-option-section{
  background:#fffdfa;
  border:1px solid #e6d7c0;
  border-radius:20px;
  padding:18px;
  margin-top:16px;
}
.cfm-rm-section-heading h3,
.cfm-rm-section-heading h2{
  color:#2d2a24;
}
.cfm-rm-section-heading p{
  color:#7a6d60;
}
.cfm-choice-card{
  border:1px solid #e4d2b6;
  background:#fffaf4;
}
.cfm-choice-card:hover,
.cfm-choice-card.is-selected{
  border-color:#c89c61;
  box-shadow:0 10px 22px rgba(100,72,39,.08);
}
.cfm-choice-card__title{
  color:#2f2a24;
}
.cfm-choice-card__subtitle,
.cfm-choice-card__delta{
  color:#7c6142;
}
.cfm-rm-required-dot{
  color:#b45309;
  margin-left:4px;
}
.cfm-rm-validation-message{
  margin-top:12px;
  color:#b42318;
  font-weight:600;
}
.cfm-rm-product-cta-row{
  margin-top:18px;
  padding-top:0;
  border-top:0;
}
.cfm-rm-product-cta-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.cfm-rm-button-primary.button,
.cfm-rm-button-secondary.button{
  border-radius:999px !important;
  padding:12px 18px !important;
}
.cfm-rm-button-primary.button{
  background:#002d3c !important;
  border-color:#002d3c !important;
  color:#fff !important;
}
.cfm-rm-button-primary.button:hover{
  background:#0a4154 !important;
  border-color:#0a4154 !important;
}
.cfm-rm-button-secondary.button{
  background:#ffc72c !important;
  border-color:#ffc72c !important;
  color:#2d2a24 !important;
}
.cfm-rm-product-details-grid{
  margin-top:22px;
  grid-template-columns:minmax(0,1fr);
}
.cfm-rm-product-content-card .entry-content{
  color:#554d43;
}
.cfm-rm-category-hero,
.cfm-rm-category-card{
  background:linear-gradient(180deg,#fffdfa 0%,#f8f2e9 100%);
}
@media(max-width:980px){
  .cfm-rm-product-hero{
    grid-template-columns:1fr;
    gap:16px;
  }
  .cfm-rm-product-gallery-stage{
    min-height:360px;
  }
}


/* v2.1.6 warm product block adjustments */
body.cfm-rm-themed-route{
  background:#f6efe5;
}
.cfm-rm-themed-route .site-main,
.cfm-rm-themed-route main{
  background:transparent;
}
.cfm-rm-product-shell{
  padding-top:20px;
  padding-bottom:48px;
}
.cfm-rm-product-hero{
  gap:18px;
}
.cfm-rm-product-gallery-card,
.cfm-rm-product-summary-card,
.cfm-rm-product-content-card,
.cfm-rm-related-card,
.cfm-rm-category-card,
.cfm-rm-category-hero{
  background:linear-gradient(180deg,#fffaf3 0%,#f8efe4 100%);
  border-color:#e5cfb0;
  box-shadow:0 16px 34px rgba(86,59,28,.08);
}
.cfm-rm-product-gallery-stage{
  background:#f4eadf;
  border:1px solid #ead7bd;
}
.cfm-rm-product-price-row{
  background:#f7ecdf;
  border:1px solid #e0c8a3;
}
.cfm-rm-product-total-card{
  background:#fdf7ef;
  border-color:#e0c8a3;
}
.cfm-rm-product-total-card__head p,
.cfm-rm-product-price-note,
.cfm-rm-product-content-card .entry-content,
.cfm-rm-section-heading p{
  color:#6e5a46;
}
.cfm-rm-product-total-line{
  border-color:#e6d3b9;
}
.cfm-rm-product-total-line--grand{
  padding-top:18px;
  font-size:1.1rem;
}
.cfm-rm-product-total-line--grand strong,
#cfm-rm-summary-total{
  font-size:1.45rem;
  line-height:1.1;
  color:#3f2b17;
}
.cfm-rm-product-cta-row{
  margin-top:18px;
  padding-top:4px;
}
.cfm-rm-product-cta-actions{
  justify-content:flex-start;
}
.cfm-rm-button-primary.button{
  background:#002d3c !important;
  border-color:#002d3c !important;
  color:#fff !important;
  min-width:160px;
}
.cfm-rm-choice-card,
.cfm-choice-card,
.cfm-rm-option-group{
  background:#fffaf4;
  border-color:#e0c8a3;
}
