.vhcb-panel,.vhcb-cashback-pill,.vhcb-card{font-family:inherit;box-sizing:border-box}.vhcb-panel{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px;margin:18px 0;border:1px solid #dce7ec;border-radius:18px;background:linear-gradient(135deg,#fff,#f5f9fa);box-shadow:0 8px 26px rgba(19,42,58,.07)}.vhcb-panel strong{color:var(--vhcb-primary);font-size:16px}.vhcb-panel p{margin:5px 0 0;color:#62727b}.vhcb-panel.success{border-color:#bfe6df;background:#f0fbf9;color:#166b5e}.vhcb-inline{display:flex;gap:8px}.vhcb-inline input{min-width:190px;border:1px solid #cfdce1!important;border-radius:10px!important;padding:10px 12px!important}.vhcb-panel .button.alt,#vhcb-wallet-toggle.alt{background:var(--vhcb-accent)!important;border-color:var(--vhcb-accent)!important;color:#fff!important;border-radius:10px!important}.vhcb-cashback-pill{display:flex;align-items:center;gap:12px;width:max-content;max-width:100%;padding:11px 14px;margin:12px 0;border-radius:14px;background:#effafa;border:1px solid #c6eeee;color:var(--vhcb-primary)}.vhcb-cashback-pill strong{color:var(--vhcb-accent);font-size:18px}.vhcb-cashback-pill small,.vhcb-mini{padding:3px 7px;border-radius:999px;background:var(--vhcb-accent);color:#fff}.vhcb-cashback-row th,.vhcb-cashback-row td{background:#f3fbfb!important}.vhcb-wallet-shell{font-family:inherit}.vhcb-wallet-hero{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}.vhcb-wallet-hero>div{padding:22px;border-radius:20px;background:linear-gradient(135deg,var(--vhcb-primary),#1f4d62);color:#fff;box-shadow:0 14px 38px rgba(19,42,58,.16)}.vhcb-wallet-hero span{display:block;opacity:.75}.vhcb-wallet-hero strong{display:block;font-size:24px;margin-top:7px}.vhcb-card{background:#fff;border:1px solid #e3eaee;border-radius:18px;padding:20px}.vhcb-table{width:100%;border-collapse:collapse}.vhcb-table th,.vhcb-table td{padding:12px;border-bottom:1px solid #edf1f3;text-align:right}.vhcb-badge{display:inline-block;padding:4px 9px;border-radius:999px;font-size:12px}.vhcb-available{background:#e9f8f4;color:#16765f}.vhcb-pending{background:#fff5d9;color:#8a6400}.vhcb-cancelled{background:#ffeded;color:#a22}.is-plus{color:#16805f;font-weight:700}.is-minus{color:#b43c3c;font-weight:700}@media(max-width:700px){.vhcb-panel{align-items:stretch;flex-direction:column}.vhcb-inline{flex-direction:column}.vhcb-inline input{width:100%;min-width:0}.vhcb-wallet-hero{grid-template-columns:1fr}.vhcb-table-wrap{overflow:auto}.vhcb-table{min-width:650px}}

/* Live quantity pricing on single-product pages */
.vhcb-live-product-price{display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%;max-width:520px;padding:0;overflow:hidden;background:#fff}
.vhcb-live-product-price .vhcb-live-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:12px 14px}
.vhcb-live-product-price .vhcb-live-line+ .vhcb-live-line{border-top:1px solid #dceff0;background:linear-gradient(135deg,#f4fbfb,#fff)}
.vhcb-live-product-price .vhcb-live-line strong{white-space:nowrap}
.vhcb-live-product-price .vhcb-live-total>strong{font-size:20px;color:var(--vhcb-primary)}
.vhcb-live-product-price em{font-style:normal;color:#74838b;font-size:12px}
@media(max-width:480px){.vhcb-live-product-price .vhcb-live-line{grid-template-columns:1fr auto}.vhcb-live-product-price .vhcb-live-line small{grid-column:1/-1;width:max-content}.vhcb-live-product-price .vhcb-live-total>span{font-size:13px}}

/* Account center: wallet and cashback */
.vhcb-account-page{font-family:inherit;color:#25343d}
.vhcb-account-head{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 22px;padding:24px 26px;border:1px solid #e4ecef;border-radius:22px;background:linear-gradient(135deg,#fff 0%,#f6fbfb 100%);box-shadow:0 12px 34px rgba(19,42,58,.07)}
.vhcb-account-head h2{margin:4px 0 6px!important;color:var(--vhcb-primary);font-size:26px;line-height:1.4}.vhcb-account-head p{margin:0;color:#71818a}.vhcb-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.4px;color:var(--vhcb-accent)}
.vhcb-head-icon{display:grid;place-items:center;flex:0 0 58px;width:58px;height:58px;border-radius:18px;background:var(--vhcb-primary);color:#fff;font-size:25px;font-weight:900;box-shadow:0 12px 28px rgba(19,42,58,.18)}
.vhcb-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:18px}.vhcb-stat-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.vhcb-stat-card{position:relative;overflow:hidden;padding:21px 22px;border-radius:20px;border:1px solid #e4ecef;background:#fff;box-shadow:0 9px 28px rgba(19,42,58,.055)}.vhcb-stat-card:before{content:"";position:absolute;right:0;top:0;width:5px;height:100%;background:var(--vhcb-accent)}
.vhcb-stat-card>span{display:block;color:#6c7b84;font-size:13px}.vhcb-stat-card>strong{display:block;margin:7px 0 5px;color:var(--vhcb-primary);font-size:22px;line-height:1.5}.vhcb-stat-card>small{color:#91a0a8;font-size:11px}.vhcb-stat-pending:before{background:#e6a928}.vhcb-stat-total:before{background:var(--vhcb-primary)}
.vhcb-history-card{padding:0!important;overflow:hidden}.vhcb-card-title{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #edf2f4;background:#fbfdfd}.vhcb-card-title h3{margin:0 0 4px!important;color:var(--vhcb-primary);font-size:18px}.vhcb-card-title p{margin:0;color:#829099;font-size:12px}
.vhcb-history-card .vhcb-table th{background:#f7fafb;color:#64747d;font-size:12px;font-weight:700}.vhcb-history-card .vhcb-table td{vertical-align:middle}.vhcb-order-link{display:inline-flex;padding:4px 9px;border-radius:9px;background:#eef7f7;color:var(--vhcb-accent)!important;font-weight:700}.vhcb-empty{display:flex;flex-direction:column;align-items:center;gap:5px;padding:28px 10px;text-align:center}.vhcb-empty strong{color:var(--vhcb-primary)}.vhcb-empty span{color:#8a989f;font-size:12px}

/* Checkout/address cleanup: Vianahome uses one customer address. */
.woocommerce-checkout #ship-to-different-address,.woocommerce-checkout .woocommerce-shipping-fields{display:none!important}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address{width:100%!important;float:none!important}.woocommerce-account .woocommerce-Addresses.col2-set{display:block!important}.woocommerce-account .woocommerce-Address-title h2{color:var(--vhcb-primary)}

/* Dynamic footer categories - replaces Woodmart demo furniture links. */
.vhcb-footer-categories{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 14px;margin:12px 0 0!important;padding:0!important;list-style:none!important}.vhcb-footer-categories li{margin:0!important;padding:0!important}.vhcb-footer-categories a{display:block;padding:5px 0;color:inherit;text-decoration:none;transition:transform .18s ease,color .18s ease}.vhcb-footer-categories a:hover{color:var(--vhcb-accent)!important;transform:translateX(-3px)}
@media(max-width:900px){.vhcb-stat-grid-3{grid-template-columns:1fr 1fr}.vhcb-stat-grid-3 .vhcb-stat-card:last-child{grid-column:1/-1}}
@media(max-width:600px){.vhcb-account-head{padding:18px}.vhcb-head-icon{width:48px;height:48px;flex-basis:48px;border-radius:15px}.vhcb-account-head h2{font-size:22px}.vhcb-stat-grid,.vhcb-stat-grid-3{grid-template-columns:1fr}.vhcb-stat-grid-3 .vhcb-stat-card:last-child{grid-column:auto}.vhcb-footer-categories{grid-template-columns:1fr}.vhcb-card-title{padding:16px}}

/* Special cashback club */
.vhcb-club-page{max-width:980px}.vhcb-club-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px 30px;margin-bottom:18px;border-radius:24px;background:linear-gradient(135deg,var(--vhcb-primary),#1c5062);color:#fff;box-shadow:0 18px 45px rgba(19,42,58,.17);overflow:hidden;position:relative}.vhcb-club-hero:after{content:"";position:absolute;width:210px;height:210px;border:42px solid rgba(255,255,255,.04);border-radius:50%;left:-70px;top:-85px}.vhcb-club-hero h2{color:#fff!important;margin:5px 0 7px!important;font-size:27px}.vhcb-club-hero p{margin:0;max-width:650px;color:rgba(255,255,255,.77);line-height:1.9}.vhcb-club-hero .vhcb-eyebrow{color:#7be5dc}.vhcb-club-percent{display:grid;place-items:center;flex:0 0 92px;width:92px;height:92px;border-radius:28px;background:linear-gradient(135deg,var(--vhcb-accent),#54d7ca);color:#fff;font-size:30px;font-weight:900;box-shadow:0 14px 30px rgba(0,166,166,.28);position:relative;z-index:1}.vhcb-club-status{display:flex;align-items:center;gap:15px;padding:20px 22px;margin-bottom:18px;border-radius:20px;border:1px solid #bfe9df;background:linear-gradient(135deg,#f0fbf8,#fff)}.vhcb-club-status .vhcb-status-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:14px;background:#19a27f;color:#fff;font-size:20px;font-weight:900}.vhcb-club-status strong{display:block;color:#146e5a;font-size:16px}.vhcb-club-status p{margin:4px 0 0;color:#657a74}.vhcb-club-form-card{padding:0!important;overflow:hidden}.vhcb-club-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:22px}.vhcb-club-form label{display:flex;flex-direction:column;gap:7px}.vhcb-club-form label>span{font-weight:700;color:#314a58}.vhcb-club-form input{width:100%;min-height:46px!important;border:1px solid #d3e0e4!important;border-radius:12px!important;padding:10px 13px!important;background:#fff!important;box-shadow:none!important}.vhcb-club-form input:focus{border-color:var(--vhcb-accent)!important;box-shadow:0 0 0 3px rgba(0,166,166,.09)!important}.vhcb-club-form .wide{grid-column:1/-1}.vhcb-club-actions{display:flex;align-items:center;gap:10px}.vhcb-club-actions .button,.vhcb-otp-wrap .button{min-height:44px;border-radius:11px!important;background:var(--vhcb-accent)!important;border-color:var(--vhcb-accent)!important;color:#fff!important;padding:0 20px!important}.vhcb-club-form button.is-loading{opacity:.65;cursor:wait}.vhcb-otp-wrap{padding-top:4px}.vhcb-otp-wrap .vhcb-inline{max-width:430px}.vhcb-otp-wrap input{direction:ltr;text-align:center;letter-spacing:6px;font-size:18px;font-weight:800}.vhcb-club-form #vhcb-club-message{min-height:22px;padding:0 2px;font-size:13px}.vhcb-club-form #vhcb-club-message.is-success{color:#16805f}.vhcb-club-form #vhcb-club-message.is-error{color:#b43c3c}.vhcb-club-notes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.vhcb-club-notes>div{padding:16px 17px;border:1px solid #e4ecef;border-radius:16px;background:#fff}.vhcb-club-notes strong{display:block;color:var(--vhcb-primary);margin-bottom:5px}.vhcb-club-notes span{display:block;color:#7a8991;font-size:12px;line-height:1.8}.vhcb-club-checkout .button.alt{white-space:nowrap}
@media(max-width:700px){.vhcb-club-hero{align-items:flex-start;padding:22px}.vhcb-club-percent{width:72px;height:72px;flex-basis:72px;border-radius:22px;font-size:24px}.vhcb-club-form{grid-template-columns:1fr;padding:17px}.vhcb-club-form .wide{grid-column:auto}.vhcb-club-notes{grid-template-columns:1fr}}
@media(max-width:480px){.vhcb-club-hero{flex-direction:column}.vhcb-club-percent{position:absolute;left:16px;top:16px;width:60px;height:60px;flex-basis:60px;border-radius:18px;font-size:21px}.vhcb-club-hero h2{padding-left:55px;font-size:22px}.vhcb-otp-wrap .vhcb-inline{flex-direction:column}}
.vhcb-club-login{margin-top:28px}.vhcb-login-hint{color:#71828a;font-size:12px;line-height:1.8}.vhcb-otp-wrap small{display:block;margin-top:7px;color:#829198}.woocommerce-account .vhcb-club-login{clear:both}.vhcb-club-form-card .vhcb-card-title{padding:20px 22px 0}.vhcb-club-form-card .vhcb-card-title h3{margin:0 0 5px;color:var(--vhcb-primary)}.vhcb-club-form-card .vhcb-card-title p{margin:0;color:#7a8991}.vhcb-club-shortcode{max-width:980px;margin:24px auto}

/* Vianahome cashback checkout wallet (Classic and WooCommerce Blocks) */
.vhcb-cashback-credit-control {display:flex;align-items:center;justify-content:space-between;gap:14px;margin:16px 0;flex-wrap:wrap;}
.vhcb-cashback-credit-control p{margin:5px 0;line-height:1.9}
.vhcb-cashback-credit-control .button{white-space:normal;min-height:42px;border-radius:10px;}
@media(max-width:650px){.vhcb-cashback-credit-control .button{width:100%;}}

/* Keep only the current activation step visible, even with theme form styles. */
.vhcb-club-activation [hidden] { display: none !important; }
.vhcb-club-activation fieldset { min-width: 0; margin: 0; border: 0; }
.vhcb-club-steps {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none;
  margin: 0; padding: 16px 22px; border-bottom: 1px solid #edf2f4;
}
.vhcb-club-steps li { padding: 6px 12px; border-radius: 8px; color: #52636c; background: #f3f6f7; }
.vhcb-club-steps [aria-current="step"] { color: #fff; background: var(--vhcb-primary); font-weight: 700; }
.vhcb-club-activation .vhcb-club-actions { flex-wrap: wrap; }
.vhcb-club-activation .vhcb-otp-wrap p { margin: 0; }
.vhcb-club-activation .vhcb-otp-wrap label { width: 100%; max-width: 320px; }
.vhcb-club-activation .vhcb-otp-wrap input::placeholder { letter-spacing: normal; font-size: 14px; }
.vhcb-club-link {
  padding: 7px 10px; border: 0; border-radius: 6px; background: #eef5f5;
  color: var(--vhcb-primary); cursor: pointer;
}
.vhcb-club-link:disabled { opacity: .65; cursor: default; }
.vhcb-club-message { margin: 0 22px 16px; min-height: 1.5em; }
.vhcb-club-message.is-success { color: #116b50; }
.vhcb-club-message.is-error { color: #a12626; }

/* Account overview and mobile transaction history. */
.vhcb-account-overview {
  margin: 20px 0;
  padding: clamp(14px, 3vw, 24px);
  border: 1px solid #dce8eb;
  border-radius: 20px;
  background: #f5fafb;
}
.vhcb-overview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}
.vhcb-overview-head h2 { margin: 4px 0; color: var(--vhcb-primary); }
.vhcb-overview-head p { margin: 0; color: #435863; }
.vhcb-account-action, .vhcb-overview-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 700;
}
.vhcb-account-action { background: var(--vhcb-primary); color: #fff !important; }
.vhcb-overview-links { display: flex; flex-wrap: wrap; gap: 8px; }
.vhcb-overview-links a { background: #e7f0f3; color: var(--vhcb-primary); }
.vhcb-account-page a:focus-visible { outline: 2px solid var(--vhcb-primary); outline-offset: 3px; }
.vhcb-history-card .vhcb-table td[data-label="مبلغ"] { font-weight: 700; }
@media (max-width: 600px) {
  .vhcb-overview-links a { flex: 1 1 auto; justify-content: center; }
  .vhcb-history-card .vhcb-table { display: block; width: 100%; min-width: 0; }
  .vhcb-history-card .vhcb-table thead {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
  .vhcb-history-card .vhcb-table tbody { display: grid; gap: 10px; padding: 10px; }
  .vhcb-history-card .vhcb-table tr { display: grid; border: 1px solid #e4ecef; border-radius: 12px; }
  .vhcb-history-card .vhcb-table td[data-label] {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    text-align: end; white-space: normal;
  }
  .vhcb-history-card .vhcb-table td[data-label]::before {
    content: attr(data-label); color: #435863; font-size: 12px; text-align: start;
  }
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active > a {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 600px) {
  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin: 0 0 18px; padding: 0; list-style: none;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation li {
    flex: 1 1 135px; margin: 0;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: flex; min-height: 44px; align-items: center;
    padding: 7px 10px; border-radius: 8px; background: #f3f7f8;
  }
  .woocommerce-account .woocommerce-MyAccount-navigation li.is-active > a {
    background: #e0eef0; color: var(--vhcb-primary);
  }
}

.vhcb-checkout-wallet-row td { text-align: start; }
.vhcb-checkout-wallet-row .vhcb-wallet-toggle { margin: 6px 0; flex-wrap: wrap; }
