:root {
  --cf-blue: #2367e8;
  --cf-blue-dark: #144db9;
  --cf-cyan: #00a6d6;
  --cf-ink: #172033;
  --cf-muted: #687286;
  --cf-line: #e4e8f0;
  --cf-soft: #f5f7fb;
  --cf-bg: #fff;
  --cf-green: #18a66a;
  --cf-shadow: 0 15px 45px rgba(28, 48, 84, .10);
}

body.cf-shop-shell {
  margin: 0;
  background: var(--cf-bg);
  color: var(--cf-ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 14px;
}

body.cf-shop-shell .whb-header,
body.cf-shop-shell .wd-sticky-nav,
body.cf-shop-shell .wd-footer,
body.cf-shop-shell .wd-toolbar,
body.cf-shop-shell .mobile-nav,
body.cf-shop-shell .cart-widget-side,
body.cf-shop-shell .scrollToTop,
body.cf-shop-shell .wd-close-side,
body.cf-shop-shell .wd-sidebar-opener {
  display: none !important;
}

body.cf-shop-shell .website-wrapper,
body.cf-shop-shell .wd-page-wrapper,
body.cf-shop-shell .main-page-wrapper {
  min-height: 0;
  margin: 0;
  padding-top: 0 !important;
  background: transparent !important;
}

.cf-shell-livebar {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  background: #152033;
  color: #fff;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.cf-shell-livebar__note { color: #95a3b9; font-weight: 500; letter-spacing: .01em; text-transform: none; }
.cf-shell-livebar__dot { width: 6px; height: 6px; border-radius: 50%; background: #5fe0a5; box-shadow: 0 0 0 4px rgba(95,224,165,.12); }
.cf-shell-livebar__hours { margin-left:22px; display:inline-flex; align-items:center; gap:7px; color:#dce6f7; font-size:11px; font-weight:600; letter-spacing:.01em; text-transform:none; white-space:nowrap; }
.cf-shell-livebar__hours svg, .cf-shell-livebar__phone svg { display:block; width:16px !important; height:16px !important; min-width:16px; max-width:16px; max-height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.cf-shell-livebar__hours svg { color:#ff6573; }
.cf-shell-livebar__phone { margin-left:12px; display:inline-flex; align-items:center; gap:7px; color:#fff; font-size:11px; font-weight:800; line-height:1.2; letter-spacing:.01em; text-decoration:none; text-transform:none; white-space:nowrap; }
.cf-shell-livebar__phone svg { color:#8ddfff; }
.cf-shell-livebar__phone:hover { color:#8ddfff; }

.cf-shell-header {
  position: sticky;
  z-index: 900;
  top: 0;
  border-bottom: 1px solid rgba(26,39,66,.09);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 1px 0 rgba(26,39,66,.09);
  backdrop-filter: blur(18px);
}

.admin-bar .cf-shell-header { top: 32px; }

.cf-shell-header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(1460px, calc(100% - 48px));
  height: 84px;
  margin: 0 auto;
}

.cf-shell-brand,
.cf-shell-brand:hover {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cf-ink);
  text-decoration: none;
}

.cf-shell-brand__mark {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  width: 31px;
  height: 30px;
  padding: 6px 5px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--cf-blue), var(--cf-cyan));
  transform: skew(-5deg);
}
.cf-shell-brand__mark i { display: block; width: 5px; background: #fff; border-radius: 3px 3px 1px 1px; }
.cf-shell-brand__mark i:nth-child(1) { height: 9px; opacity: .75; }
.cf-shell-brand__mark i:nth-child(2) { height: 17px; }
.cf-shell-brand__mark i:nth-child(3) { height: 13px; opacity: .86; }

.cf-shell-brand__name {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.06em;
}

.cf-shell-brand__name > span { color: var(--cf-blue); }
.cf-shell-catalog {
  height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 11px;
  background: linear-gradient(135deg,var(--cf-blue),#2d7ef4);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(35,103,232,.22);
}
.cf-shell-catalog:hover { background: linear-gradient(135deg,var(--cf-blue-dark),var(--cf-blue)); color:#fff; }
.cf-shell-catalog svg { width:16px; fill:none; stroke:currentColor; stroke-width:2; }
.cf-shell-grid { display:grid; grid-template-columns:5px 5px; gap:2px; }
.cf-shell-grid i { width:5px; height:5px; border:1.5px solid currentColor; border-radius:1px; }

.cf-shell-search {
  display: flex;
  align-items: center;
  height: 48px;
  flex: 1 1 600px;
  max-width: 720px;
  border: 2px solid #dce3ee;
  border-radius: 12px;
  background: #fff;
  transition: .2s ease;
}

.cf-shell-search:focus-within { border-color: var(--cf-blue); box-shadow: 0 0 0 4px rgba(35,103,232,.08); }
.cf-shell-search__icon { width:20px; flex:0 0 20px; margin-left:15px; fill:none; stroke:#7d8799; stroke-width:1.8; }
.cf-shell-search input { min-width:0; height:100%; flex:1; padding:0 12px; border:0!important; outline:0; background:transparent!important; box-shadow:none!important; color:var(--cf-ink); }
.cf-shell-search input::placeholder { color:#9aa3b2; }
.cf-shell-search kbd { border:1px solid #dfe3ea; border-radius:6px; background:#f7f8fa; color:#9199a7; font-size:10px; padding:3px 6px; white-space:nowrap; }
.cf-shell-search button { height:40px; margin-right:3px; padding:0 18px; border:0; border-radius:9px; background:#edf3ff; color:var(--cf-blue); font-size:14px; font-weight:800; cursor:pointer; }
.cf-shell-search button:hover { background:var(--cf-blue); color:#fff; }

.cf-shell-actions { display:flex; align-items:center; gap:3px; margin-left:auto; }
.cf-shell-icon-action { position:relative; min-width:63px; display:grid; place-items:center; gap:3px; padding:6px; border:0; background:transparent; color:#576174; font:inherit; font-size:9px; text-decoration:none; cursor:pointer; }
.cf-shell-icon-action:hover { color:var(--cf-blue); background:transparent; }
.cf-shell-icon-action svg { width:21px; height:21px; fill:none; stroke:currentColor; stroke-width:1.8; }
.cf-shell-icon-action b { position:absolute; top:1px; right:11px; min-width:16px; height:16px; display:grid; place-items:center; padding:0 3px; border:0; border-radius:9px; background:var(--cf-blue); color:#fff; font-size:9px; font-weight:700; }

body.cf-shop-shell #main-content {
  width: min(1460px, calc(100% - 48px));
  max-width: none;
  margin: 0 auto;
  padding: 34px 0 60px;
}

body.cf-shop-shell .site-content { width: 100%; max-width: none; }
body.cf-shop-shell .wd-page-title { min-height: 0; margin: 0 0 28px; padding: 0 !important; background: transparent !important; }
body.cf-shop-shell .wd-page-title > .container { padding: 0 !important; }
body.cf-shop-shell .wd-checkout-steps { display:flex; width:100%; max-width:none; justify-content:center; gap:0; margin:0; padding:17px 22px; border:1px solid #dce7fa; border-radius:16px; background:#f7faff; box-shadow:0 10px 25px rgba(43,75,127,.08); }
body.cf-shop-shell .wd-checkout-steps li { color:#98a2b3; font-size:12px; font-weight:800; letter-spacing:.015em; }
body.cf-shop-shell .wd-checkout-steps li.active { color:var(--cf-blue); }
body.cf-shop-shell .wd-checkout-steps li:after { color:#aab4c4; }

body.cf-shop-shell .woocommerce-message,
body.cf-shop-shell .woocommerce-info,
body.cf-shop-shell .woocommerce-error {
  margin-bottom: 18px;
  border: 1px solid #cae6db;
  border-radius: 14px;
  background: #edf9f4;
  color: #135f47;
  box-shadow: none;
}

body.cf-shop-shell .woocommerce-message .button,
body.cf-shop-shell .woocommerce-info .button {
  min-width: 168px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px !important;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  flex: 0 0 auto;
}

body.cf-shop-shell .wd-shipping-progress-bar,
body.woocommerce-cart.cf-shop-shell .elementor-element-05bea09,
body.woocommerce-cart.cf-shop-shell .elementor-element-49d0e5d,
body.woocommerce-checkout.cf-shop-shell .elementor-element-49d0e5d,
body.woocommerce-checkout.cf-shop-shell .elementor-element-12f9097 { display: none !important; }

body.woocommerce-cart.cf-shop-shell .woocommerce-cart-form,
body.woocommerce-cart.cf-shop-shell .cart-totals-inner,
body.woocommerce-checkout.cf-shop-shell .woocommerce-billing-fields,
body.woocommerce-checkout.cf-shop-shell .woocommerce-shipping-fields,
body.woocommerce-checkout.cf-shop-shell .checkout-order-review,
body.woocommerce-checkout.cf-shop-shell #payment,
body.woocommerce-account.cf-shop-shell .woocommerce-MyAccount-navigation,
body.woocommerce-account.cf-shop-shell .woocommerce-MyAccount-content {
  border: 1px solid var(--cf-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--cf-shadow);
}

body.woocommerce-cart.cf-shop-shell .woocommerce-cart-form { padding: 8px 22px 20px; }
body.woocommerce-cart.cf-shop-shell .cart-totals-inner { padding: 22px; }
body.woocommerce-cart.cf-shop-shell .cart_totals h2,
body.woocommerce-cart.cf-shop-shell h4,
body.woocommerce-checkout.cf-shop-shell h3,
body.woocommerce-checkout.cf-shop-shell h4,
body.woocommerce-account.cf-shop-shell h2 { color: var(--cf-ink); font-weight: 900; letter-spacing: -.025em; }

body.cf-shop-shell table.shop_table { border: 0; border-collapse: separate; border-spacing: 0; }
body.cf-shop-shell table.shop_table th { padding: 14px 12px; border-bottom: 1px solid var(--cf-line); color: var(--cf-muted); font-size: 10px; font-weight: 850; letter-spacing: .08em; }
body.cf-shop-shell table.shop_table td { padding: 18px 12px; border-bottom: 1px solid #edf1f6; color: var(--cf-ink); }
body.cf-shop-shell table.shop_table tr:last-child td { border-bottom: 0; }
body.cf-shop-shell table.shop_table img { width: 78px; height: 68px; border: 1px solid #edf1f7; border-radius: 11px; object-fit: contain; background: #fff; }
body.cf-shop-shell .product-name a { color: var(--cf-ink); font-weight: 750; }
body.cf-shop-shell .product-name a:hover { color: var(--cf-blue); }
body.cf-shop-shell .amount { color: var(--cf-blue); font-weight: 850; }
body.cf-shop-shell .variation { margin-top: 7px; padding: 6px 9px; border-radius: 8px; background: var(--cf-soft); color: #48617e; font-size: 11px; }

body.cf-shop-shell .quantity { border: 1px solid #d8e1ed; border-radius: 10px; overflow: hidden; background: #fff; }
body.cf-shop-shell .quantity input,
body.cf-shop-shell .quantity button { border: 0 !important; background: #fff !important; color: var(--cf-ink) !important; box-shadow: none !important; }
body.cf-shop-shell .quantity button:hover { background: var(--cf-soft) !important; color: var(--cf-blue) !important; }

body.cf-shop-shell .button,
body.cf-shop-shell button.button,
body.cf-shop-shell .checkout-button,
body.cf-shop-shell #place_order,
body.cf-shop-shell .single_add_to_cart_button {
  min-height: 46px;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--cf-blue), #0b8fd0) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 850;
  box-shadow: 0 11px 24px rgba(23, 105, 224, .22) !important;
}
body.cf-shop-shell .button:hover,
body.cf-shop-shell button.button:hover,
body.cf-shop-shell .checkout-button:hover,
body.cf-shop-shell #place_order:hover,
body.cf-shop-shell .single_add_to_cart_button:hover { transform: translateY(-1px); filter: brightness(.96); }

body.woocommerce-checkout.cf-shop-shell .woocommerce-billing-fields,
body.woocommerce-checkout.cf-shop-shell .woocommerce-shipping-fields,
body.woocommerce-checkout.cf-shop-shell .checkout-order-review,
body.woocommerce-checkout.cf-shop-shell #payment { padding: 24px; }
body.woocommerce-checkout.cf-shop-shell #payment { margin-top: 18px; }
body.woocommerce-checkout.cf-shop-shell .form-row label { margin-bottom: 7px; color: #33435b; font-size: 11px; font-weight: 800; }
body.cf-shop-shell input.input-text,
body.cf-shop-shell textarea,
body.cf-shop-shell select,
body.cf-shop-shell .select2-selection { min-height: 46px; border: 1px solid #d6e0ed !important; border-radius: 11px !important; background: #fff !important; box-shadow: none !important; }
body.cf-shop-shell textarea { min-height: 110px; padding: 12px 14px; }
body.cf-shop-shell input.input-text:focus,
body.cf-shop-shell textarea:focus,
body.cf-shop-shell select:focus { border-color: #78adf2 !important; box-shadow: 0 0 0 4px rgba(23,105,224,.09) !important; }

body.single-product.cf-shop-shell .product-image-summary-wrap { padding: 28px; border: 1px solid var(--cf-line); border-radius: 22px; background: #fff; box-shadow: var(--cf-shadow); }
body.single-product.cf-shop-shell .product_title { color: var(--cf-ink); font-size: clamp(25px, 3vw, 38px); line-height: 1.16; letter-spacing: -.04em; }
body.single-product.cf-shop-shell .summary-inner > .price { color: var(--cf-blue); font-size: 30px; font-weight: 900; }
body.single-product.cf-shop-shell .woocommerce-tabs { border-radius: 20px; box-shadow: var(--cf-shadow); }
body.single-product.cf-shop-shell .related-products { margin-top: 38px; }

body.post-type-archive-product.cf-shop-shell .products,
body.tax-product_cat.cf-shop-shell .products,
body.search-results.cf-shop-shell .products { gap: 18px; }
body.cf-shop-shell .product-grid-item { border: 1px solid var(--cf-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 30px rgba(35,60,100,.07); overflow: hidden; }
body.cf-shop-shell .product-grid-item:hover { transform: translateY(-3px); box-shadow: var(--cf-shadow); }

/* Ordinary WoodMart pages (compare, wishlist and informational screens) use
   the same CyberFlow shell instead of the imported demo chrome. */
body.page.cf-shop-shell #main-content {
  min-height: 520px;
}

body.page.cf-shop-shell .entry-content {
  color: var(--cf-ink);
  font-family: "Manrope", system-ui, sans-serif;
}

body.page.cf-shop-shell .entry-content h1,
body.page.cf-shop-shell .entry-content h2,
body.page.cf-shop-shell .entry-content h3 {
  color: var(--cf-ink);
  font-weight: 850;
  letter-spacing: -.035em;
}

body.page.cf-shop-shell .wd-empty-block {
  width: min(720px, 100%);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 24px auto 48px;
  padding: 48px 36px;
  border: 1px solid var(--cf-line);
  border-radius: 24px;
  background: linear-gradient(145deg, #f6f9ff, #fff);
  box-shadow: var(--cf-shadow);
  text-align: center;
}

body.page.cf-shop-shell .wd-empty-block-title {
  margin: 4px 0 0;
  color: var(--cf-ink);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: -.035em;
}

body.page.cf-shop-shell .wd-empty-block-text {
  max-width: 560px;
  margin: 0;
  color: var(--cf-muted);
  font-size: 14px;
  line-height: 1.7;
}

body.page.cf-shop-shell .wd-empty-block-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--cf-blue), #0b8fd0) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 11px 24px rgba(23,105,224,.22) !important;
}

body.page.cf-shop-shell .wd-compare-table,
body.page.cf-shop-shell .wd-wishlist-content,
body.page.cf-shop-shell .wishlist-content {
  overflow: hidden;
  border: 1px solid var(--cf-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--cf-shadow);
}

body.page.cf-shop-shell .wd-compare-table table,
body.page.cf-shop-shell .wd-wishlist-content table,
body.page.cf-shop-shell .wishlist-content table {
  margin: 0;
  border: 0;
}

body.page.cf-shop-shell .wd-compare-table img,
body.page.cf-shop-shell .wd-wishlist-content img,
body.page.cf-shop-shell .wishlist-content img {
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.store-info-bar, .store-info-bar * { box-sizing:border-box; }
.store-info-bar { border-top:1px solid var(--cf-line); background:#fff; font-family:"Manrope",system-ui,sans-serif; }
.store-info-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; width:min(1460px,calc(100% - 48px)); margin:0 auto; padding:22px 0; }
.store-info-item { min-height:82px; display:flex; align-items:center; gap:12px; padding:14px 16px; border:1px solid var(--cf-line); border-radius:14px; background:#f9fbff; color:var(--cf-ink); text-decoration:none; }
.store-info-item:hover { border-color:#bfd2f7; color:var(--cf-ink); }
.store-info-icon { width:42px !important; height:42px !important; flex:0 0 42px; display:grid !important; place-items:center; border-radius:12px; background:#eaf2ff; color:var(--cf-blue); }
.store-info-icon svg { display:block !important; width:22px !important; height:22px !important; min-width:22px; max-width:22px; min-height:22px; max-height:22px; fill:none !important; stroke:currentColor !important; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.store-info-item > span:last-child { display:grid; gap:5px; }
.store-info-item strong { color:var(--cf-ink); font-size:13px; font-weight:700; line-height:1.25; }
.store-info-item small { color:var(--cf-muted); font-size:11px; font-weight:500; line-height:1.5; }
.cf-shell-footer { border-top:1px solid var(--cf-line); background:#f7f9fc; }
.cf-shell-footer__inner { min-height:90px; display:flex; align-items:center; gap:22px; width:min(1460px,calc(100% - 48px)); margin:0 auto; }
.cf-shell-footer__brand .cf-shell-brand__name { font-size:18px; }
.cf-shell-footer__brand .cf-shell-brand__mark { width:27px; height:27px; }
.cf-shell-footer p { margin:0; color:var(--cf-muted); font-size:10px; }
.cf-shell-footer small { margin-left:auto; color:#98a1b0; font-size:9px; }

@media (max-width: 900px) {
  .cf-shell-header__inner { height:auto; min-height:124px; display:grid; grid-template-columns:1fr auto; gap:10px; padding:12px 0; }
  .cf-shell-catalog { grid-column:2; grid-row:1; }
  .cf-shell-search { grid-column:1/-1; grid-row:2; max-width:none; }
  .cf-shell-actions { display:none; }
  body.cf-shop-shell #main-content { width: min(100% - 24px, 820px); padding-top: 24px; }
  .store-info-grid { grid-template-columns:repeat(2,minmax(0,1fr)); width:min(100% - 24px,820px); }
  .cf-shell-livebar__hours { margin-left:12px; }
  .cf-shell-footer__inner { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
}

@media (max-width: 600px) {
  .admin-bar .cf-shell-header { top: 46px; }
  .cf-shell-header__inner { width: min(100% - 20px, 580px); }
  .cf-shell-brand__name { font-size:19px; }
  .cf-shell-livebar { height:auto; min-height:36px; padding:7px 12px; text-align:center; flex-wrap:wrap; }
  .cf-shell-livebar__status { display:none; }
  .cf-shell-livebar__note { display:none; }
  .cf-shell-livebar__hours { margin-left:0; font-size:10px; }
  .cf-shell-livebar__phone { margin-left:8px; font-size:10px; }
  .cf-shell-search input { font-size: 12px; }
  .cf-shell-search button { min-width: 72px; }
  body.cf-shop-shell .wd-checkout-steps { padding: 13px 10px; border-radius: 13px; }
  body.cf-shop-shell .wd-checkout-steps li { font-size: 9px; }
  body.cf-shop-shell .woocommerce-message .button,
  body.cf-shop-shell .woocommerce-info .button {
    width: 132px;
    min-width: 132px;
    min-height: 54px;
    padding: 8px 12px !important;
  }
  body.woocommerce-cart.cf-shop-shell .woocommerce-cart-form,
  body.woocommerce-cart.cf-shop-shell .cart-totals-inner,
  body.woocommerce-checkout.cf-shop-shell .woocommerce-billing-fields,
  body.woocommerce-checkout.cf-shop-shell .woocommerce-shipping-fields,
  body.woocommerce-checkout.cf-shop-shell .checkout-order-review,
  body.woocommerce-checkout.cf-shop-shell #payment { padding: 15px; border-radius: 15px; }
  body.single-product.cf-shop-shell .product-image-summary-wrap { padding: 16px; border-radius: 16px; }
  body.page.cf-shop-shell .wd-empty-block { min-height: 280px; margin-top: 8px; padding: 34px 20px; border-radius: 18px; }
  .cf-shell-footer__inner { width:min(100% - 24px,580px); flex-wrap:wrap; padding:20px 0; }
  .cf-shell-footer p { width:100%; order:3; }
  .store-info-grid { grid-template-columns:1fr; gap:8px; width:min(100% - 24px,580px); padding:14px 0; }
}
