:root {
  --id-blue:#087cf0;
  --id-blue-2:#2f62f5;
  --id-violet:#7d36f4;
  --id-gradient:linear-gradient(135deg,#0785f7 0%,#3763f4 52%,#7d36f4 100%);
  --id-ink:#11172a;
  --id-muted:#737b8f;
  --id-border:#e7eaf2;
  --id-soft:#f7f9fd;
}

/* ===== HEADER: requested desktop layout changes ===== */
.idanny-home-account-link__label{display:none}
@media only screen and (min-width:1025px){
  #header .header_mid_inner{position:relative!important}

  /* Move the desktop search left while keeping the mobile header untouched. */
  html body #page #header .header_mid .header_mid_inner .mid_search_but_wrap{
    position:absolute!important;
    left:calc(50% - 125px)!important;
    right:auto!important;
    top:0!important;
    bottom:auto!important;
    width:min(540px,calc(100% - 500px))!important;
    max-width:540px!important;
    height:110px!important;
    margin:0!important;
    padding:0!important;
    float:none!important;
    transform:translateX(-50%)!important;
    z-index:2!important;
  }

  html body #page #header .header_mid .header_mid_inner .cmsmasters_dynamic_cart_wrap{
    position:absolute!important;
    left:auto!important;
    right:98px!important;
    top:0!important;
    width:42px!important;
    max-width:42px!important;
    height:110px!important;
    margin:0!important;
    float:none!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
  }

  /* Desktop cart: icon and branded counter only. */
  html body #page #header .header_mid .header_mid_inner
  .cmsmasters_dynamic_cart_wrap .cmsmasters_dynamic_cart{
    width:42px!important;
    max-width:42px!important;
    height:46px!important;
  }
  html body #page #header .header_mid .header_mid_inner
  .cmsmasters_dynamic_cart_wrap .cmsmasters_dynamic_cart_button{
    margin:0!important;
  }
  html body #page #header .header_mid .header_mid_inner
  .cmsmasters_dynamic_cart_wrap .cmsmasters_cart_info{
    display:none!important;
    visibility:hidden!important;
    width:0!important;
    height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
  }
  html body #page #header .header_mid .header_mid_inner
  .cmsmasters_dynamic_cart_wrap .cmsmasters_dynamic_cart_button .count{
    color:#fff!important;
    background:#3763f4!important;
    background-image:linear-gradient(135deg,#087cf0 0%,#3763f4 52%,#7d36f4 100%)!important;
    border:0!important;
  }

  #header .header_mid_inner>.idanny-home-account-link{
    position:absolute!important;
    top:50%!important;
    right:8px!important;
    display:flex!important;
    width:78px!important;
    min-width:78px!important;
    height:64px!important;
    margin:0!important;
    padding:0!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:1px!important;
    transform:translateY(-50%)!important;
    border:0!important;
    border-radius:0!important;
    outline:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:#17171b!important;
    text-decoration:none!important;
    z-index:100!important;
  }
  #header .header_mid_inner>.idanny-home-account-link:hover{background:transparent!important;color:#17171b!important}
  #header .header_mid_inner>.idanny-home-account-link svg{
    display:block!important;
    width:31px!important;
    height:31px!important;
    fill:none!important;
    stroke:#17171b!important;
    stroke-width:1.9!important;
    stroke-linecap:round!important;
    stroke-linejoin:round!important;
  }
  #header .header_mid_inner>.idanny-home-account-link .idanny-home-account-link__label{
    display:block!important;
    max-width:76px!important;
    overflow:hidden!important;
    color:#315ff6!important;
    background:linear-gradient(90deg,#087cf0 0%,#3763f4 52%,#7d36f4 100%)!important;
    -webkit-background-clip:text!important;
    background-clip:text!important;
    -webkit-text-fill-color:transparent!important;
    font-size:12px!important;
    font-weight:500!important;
    line-height:15px!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
}

/* mobile header: account icon only; leave the existing mobile header system intact */
@media only screen and (max-width:1024px){
  #header .header_mid_inner>.idanny-home-account-link{
    position:absolute!important;top:50%!important;right:14px!important;
    display:flex!important;width:38px!important;height:48px!important;margin:0!important;padding:0!important;
    align-items:center!important;justify-content:center!important;transform:translateY(-50%)!important;
    border:0!important;background:transparent!important;color:#17171b!important;text-decoration:none!important;z-index:100002!important;
  }
  #header .header_mid_inner>.idanny-home-account-link svg{display:block!important;width:28px!important;height:28px!important;fill:none!important;stroke:currentColor!important;stroke-width:2.2!important}
  #header .cmsmasters_header_cart_link{right:66px!important}
}

/* ===== ACCOUNT SHELL ===== */
body.woocommerce-account #middle,body.woocommerce-account #main{background:#fff}
body.woocommerce-account.logged-in .headline_outer{display:none!important}
body.woocommerce-account #middle .sidebar{display:none!important}
body.woocommerce-account #middle .content_wrap,
body.woocommerce-account #middle .middle_content,
body.woocommerce-account #middle .content_wrap>.content,
body.woocommerce-account #middle .content_wrap>.middle_content,
body.woocommerce-account #middle #content,
body.woocommerce-account #middle .content{
  width:calc(100% - 40px)!important;max-width:1220px!important;margin-left:auto!important;margin-right:auto!important;
  padding-left:0!important;padding-right:0!important;float:none!important;box-sizing:border-box!important;
}
body.woocommerce-account #middle .woocommerce{
  display:grid!important;grid-template-columns:224px minmax(0,1fr)!important;gap:22px!important;
  width:100%!important;max-width:none!important;margin:0!important;padding:34px 0 70px!important;
  color:var(--id-ink);box-sizing:border-box!important;align-items:start!important;
}
body.woocommerce-account #middle .woocommerce:before,body.woocommerce-account #middle .woocommerce:after{display:none!important}
body.woocommerce-account .woocommerce-MyAccount-navigation,body.woocommerce-account .woocommerce-MyAccount-content{float:none!important;width:auto!important;margin:0!important;box-sizing:border-box!important}
body.woocommerce-account .woocommerce-MyAccount-content{min-width:0!important;padding:0!important}

/* Sidebar */
body.woocommerce-account .woocommerce-MyAccount-navigation{
  position:sticky!important;top:94px!important;padding:0!important;overflow:hidden!important;
  border:1px solid var(--id-border)!important;border-radius:18px!important;background:#fff!important;
  box-shadow:0 12px 38px rgba(27,42,79,.065)!important;
}
.idanny-account-person{
  display:grid;grid-template-columns:56px minmax(0,1fr);gap:11px;align-items:center;
  margin:0!important;padding:18px 16px!important;border:0!important;background:var(--id-gradient);color:#fff;
}
.idanny-account-person__mark{
  display:flex;width:56px;height:56px;align-items:center;justify-content:center;border-radius:50%;background:#fff;
  box-shadow:0 5px 18px rgba(24,45,114,.18);overflow:hidden;
}
.idanny-account-person__mark img{display:block;width:44px!important;height:38px!important;max-width:none!important;object-fit:contain!important;margin:0!important}
.idanny-account-person>div:last-child{display:grid;min-width:0;gap:3px}
.idanny-account-person strong{overflow:hidden;color:#fff!important;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.idanny-account-person span{overflow:hidden;color:rgba(255,255,255,.86)!important;font-size:10px;text-overflow:ellipsis;white-space:nowrap}
body.woocommerce-account .woocommerce-MyAccount-navigation ul{margin:0!important;padding:10px 9px 12px!important;list-style:none!important}
body.woocommerce-account .woocommerce-MyAccount-navigation li{margin:0!important;padding:0!important;border:0!important}
body.woocommerce-account .woocommerce-MyAccount-navigation a{
  display:flex!important;min-height:37px!important;padding:0 9px!important;align-items:center!important;gap:9px!important;
  border:0!important;border-radius:9px!important;background:transparent!important;box-shadow:none!important;
  color:#30364a!important;font-size:12px!important;font-weight:600!important;line-height:1.2!important;text-transform:none!important;text-decoration:none!important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation a span:last-child{min-width:0}
.idanny-account-navicon{display:flex!important;width:17px!important;height:17px!important;min-width:17px!important;align-items:center!important;justify-content:center!important;color:#536078}
.idanny-account-navicon svg{display:block!important;width:17px!important;height:17px!important}
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:linear-gradient(90deg,rgba(8,124,240,.10),rgba(125,54,244,.10))!important;color:#315ff6!important}
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active .idanny-account-navicon{color:#315ff6!important}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout{margin-top:8px!important;padding-top:8px!important;border-top:1px solid var(--id-border)!important}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a{color:#e54455!important}
body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout .idanny-account-navicon{color:#e54455!important}

/* Dashboard typography */
.idanny-account-dashboard,.idanny-account-page{width:100%!important;min-width:0!important}
.idanny-account-welcome{margin:0 0 20px}
.idanny-account-welcome h2,.idanny-account-page h2{margin:0 0 5px!important;color:var(--id-ink)!important;font-size:26px!important;font-weight:600!important;line-height:1.2!important}
.idanny-account-welcome p,.idanny-account-page p{margin:0;color:var(--id-muted);font-size:13px}

/* Stats */
.idanny-account-stats{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;margin-bottom:14px!important;width:100%!important}
.idanny-account-stat{
  position:relative!important;display:flex!important;min-width:0!important;min-height:106px!important;padding:14px 14px 12px!important;flex-direction:column!important;
  border:1px solid var(--id-border)!important;border-radius:14px!important;background:#fff!important;color:var(--id-ink)!important;text-decoration:none!important;
  box-shadow:0 4px 16px rgba(22,42,86,.025)!important;transition:transform .16s ease,box-shadow .16s ease!important;box-sizing:border-box!important;
}
.idanny-account-stat:hover{transform:translateY(-2px)!important;box-shadow:0 10px 26px rgba(34,55,103,.08)!important}
.idanny-account-stat>span:not(.idanny-account-navicon):not(.idanny-account-stat__flare){color:var(--id-muted)!important;font-size:11px!important;line-height:1.25!important}
.idanny-account-stat strong{margin:6px 0 3px!important;color:var(--id-ink)!important;font-size:21px!important;font-weight:700!important;line-height:1.05!important}
.idanny-account-stat small{margin-top:auto!important;color:#315ff6!important;font-size:10px!important;line-height:1.25!important}
.idanny-account-stat>.idanny-account-navicon{position:absolute!important;right:12px!important;bottom:13px!important;width:25px!important;height:25px!important;color:#175cf3!important}
.idanny-account-stat>.idanny-account-navicon svg{width:25px!important;height:25px!important}
.idanny-account-stat__flare{position:absolute;right:12px;bottom:12px;color:#ff6848!important;font-size:22px!important;line-height:1!important}

/* Panels */
.idanny-account-panel{
  width:100%!important;margin:0 0 14px!important;padding:17px!important;box-sizing:border-box!important;
  border:1px solid var(--id-border)!important;border-radius:16px!important;background:#fff!important;
  box-shadow:0 8px 28px rgba(29,43,78,.035)!important;
}
.idanny-account-panel__head{display:flex!important;margin:0 0 13px!important;align-items:center!important;justify-content:space-between!important;gap:14px!important}
.idanny-account-panel h2,.idanny-account-panel h3{margin:0!important;color:var(--id-ink)!important;font-weight:600!important}
.idanny-account-panel__head h3{font-size:16px!important}
.idanny-account-panel__head a{color:#315ff6!important;font-size:11px!important;font-weight:600!important;text-decoration:none!important}

/* Featured last order */
.idanny-account-order--featured{
  display:grid!important;grid-template-columns:64px minmax(0,1fr) auto auto!important;grid-template-areas:"image main status total" "image main button button"!important;
  gap:5px 14px!important;align-items:center!important;padding:4px 0!important;border-radius:0!important;background:#fff!important;color:var(--id-ink)!important;text-decoration:none!important;
}
.idanny-account-order--featured .idanny-account-order__image{grid-area:image;width:64px!important;height:64px!important;overflow:hidden;border-radius:10px;background:#f7f8fb}
.idanny-account-order__image img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
.idanny-account-order--featured .idanny-account-order__main{grid-area:main;display:grid;gap:4px;min-width:0}
.idanny-account-order__main strong{overflow:hidden;font-size:13px!important;line-height:1.35!important;text-overflow:ellipsis;white-space:nowrap}
.idanny-account-order__main span{overflow:hidden;color:var(--id-muted)!important;font-size:10px!important;text-overflow:ellipsis;white-space:nowrap}
.idanny-account-order__status{grid-area:status;justify-self:end;padding:5px 9px;border-radius:999px;background:rgba(8,124,240,.09);color:#2458ee;font-size:10px!important;font-weight:700;white-space:nowrap}
.idanny-account-order__total{grid-area:total;justify-self:end;color:var(--id-ink)!important;font-size:14px!important;white-space:nowrap}
.idanny-account-order__button{grid-area:button;justify-self:end;display:inline-flex;min-height:34px;padding:0 15px;align-items:center;border-radius:9px;background:var(--id-gradient);color:#fff!important;font-size:10px;font-weight:700}

/* Product cards — one strict visual system */
.idanny-account-products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;width:100%!important}
.idanny-account-products--wide{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.idanny-account-product{
  display:grid!important;grid-template-rows:112px 38px 38px 24px!important;min-width:0!important;height:232px!important;padding:10px!important;box-sizing:border-box!important;
  border:1px solid var(--id-border)!important;border-radius:12px!important;background:#fff!important;color:var(--id-ink)!important;text-decoration:none!important;overflow:hidden!important;
  transition:transform .16s ease,box-shadow .16s ease!important;
}
.idanny-account-product:hover{transform:translateY(-2px)!important;box-shadow:0 10px 24px rgba(33,52,97,.08)!important}
.idanny-account-product__image{display:flex!important;height:112px!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
.idanny-account-product__image img{display:block!important;max-width:100%!important;max-height:104px!important;width:auto!important;height:auto!important;object-fit:contain!important;margin:auto!important}
.idanny-account-product__title{display:-webkit-box!important;height:36px!important;margin:4px 0 0!important;overflow:hidden!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;color:var(--id-ink)!important;font-size:11px!important;font-weight:600!important;line-height:18px!important}
.idanny-account-product__price{display:flex!important;height:38px!important;align-items:flex-end!important;flex-wrap:wrap!important;gap:4px 7px!important;color:var(--id-ink)!important;font-size:14px!important;font-weight:800!important;line-height:1.15!important}
.idanny-account-product__price .price{display:flex!important;align-items:flex-end!important;flex-wrap:wrap!important;gap:4px 7px!important}
.idanny-account-product__price del{order:2;color:#a1a7b5!important;font-size:10px!important;font-weight:500!important;opacity:1!important}
.idanny-account-product__price ins{order:1;background:none!important;color:var(--id-ink)!important;font-size:14px!important;font-weight:800!important;text-decoration:none!important}
.idanny-account-product__saving{align-self:end;justify-self:start;display:inline-flex!important;max-width:100%;height:20px;padding:0 7px;align-items:center;border-radius:6px;background:linear-gradient(90deg,rgba(8,124,240,.10),rgba(125,54,244,.12));color:#4255df!important;font-size:9px!important;font-weight:700!important;white-space:nowrap}

.idanny-account-recent{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.idanny-account-recent a{display:flex;height:86px;align-items:center;justify-content:center;border:1px solid var(--id-border);border-radius:11px;background:#fff;overflow:hidden}
.idanny-account-recent img{display:block!important;max-width:82%!important;max-height:74px!important;width:auto!important;height:auto!important;object-fit:contain!important}

/* Bonuses / forms */
.idanny-bonus-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:12px;margin-bottom:14px}
.idanny-bonus-hero>div{display:flex;min-height:116px;padding:20px;flex-direction:column;justify-content:center;border-radius:17px;background:linear-gradient(135deg,rgba(8,124,240,.10),rgba(125,54,244,.12))}
.idanny-bonus-hero span{color:var(--id-muted);font-size:12px}.idanny-bonus-hero strong{margin:6px 0;font-size:27px}.idanny-bonus-hero small{color:#315ff6}
.idanny-bonus-history{display:grid}.idanny-bonus-history__row{display:flex;padding:12px 0;align-items:center;justify-content:space-between;gap:14px;border-top:1px solid var(--id-border)}
.idanny-bonus-history__row:first-child{border-top:0}.idanny-bonus-history__row>div{display:grid;gap:3px}.idanny-bonus-history__row span{color:var(--id-muted);font-size:11px}.idanny-bonus-history__row b{font-size:16px}.idanny-bonus-history__row b.is-credit{color:#1f9b63}.idanny-bonus-history__row b.is-debit{color:#e74b5c}
.idanny-notice-card{display:flex;padding:12px 0;flex-direction:column;gap:3px;border-top:1px solid var(--id-border);color:var(--id-ink)!important;text-decoration:none!important}.idanny-notice-card:first-of-type{border-top:0}.idanny-notice-card span{color:var(--id-muted);font-size:12px}
.idanny-support-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}.idanny-support-actions a,.idanny-account-empty .button{display:inline-flex;min-height:40px;padding:0 16px;align-items:center;border:0;border-radius:10px;background:var(--id-gradient);color:#fff!important;font-weight:700;text-decoration:none!important}
body.woocommerce-account .woocommerce-MyAccount-content table,body.woocommerce-account .woocommerce-MyAccount-content form,body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address{border-color:var(--id-border)!important;border-radius:14px}
body.woocommerce-account .woocommerce-MyAccount-content input,body.woocommerce-account .woocommerce-MyAccount-content select,body.woocommerce-account .woocommerce-MyAccount-content textarea{border:1px solid #dfe4ef!important;border-radius:10px!important;background:#fff!important}
body.woocommerce-account .woocommerce-MyAccount-content button,body.woocommerce-account .woocommerce-MyAccount-content .button{border-radius:10px!important}

/* login */
body.woocommerce-account:not(.logged-in) .woocommerce{display:block!important;max-width:920px!important;margin:0 auto!important}
body.woocommerce-account:not(.logged-in) .woocommerce form.login,body.woocommerce-account:not(.logged-in) .woocommerce form.register{padding:24px!important;border:1px solid var(--id-border)!important;border-radius:18px!important;box-shadow:0 14px 40px rgba(28,42,76,.06)}

/* checkout bonus box */
.idanny-bonus-checkout{margin:16px 0;padding:14px;border:1px solid #dfe4ef;border-radius:14px;background:linear-gradient(135deg,rgba(8,124,240,.05),rgba(125,54,244,.06))}
.idanny-bonus-checkout__head{display:flex;align-items:center;justify-content:space-between;gap:10px}.idanny-bonus-checkout__head strong{color:var(--id-ink)}.idanny-bonus-checkout__head span,.idanny-bonus-checkout p{color:var(--id-muted);font-size:12px}.idanny-bonus-checkout p{margin:7px 0 10px}.idanny-bonus-checkout__controls{display:flex;gap:7px;align-items:center}.idanny-bonus-checkout__controls input{width:96px;height:38px;padding:0 9px;border:1px solid #d7ddeb;border-radius:10px;background:#fff}.idanny-bonus-checkout__controls button{min-height:38px;padding:0 12px;border:0;border-radius:10px;background:var(--id-gradient);color:#fff;font-weight:700;cursor:pointer}.idanny-bonus-checkout__controls button.is-link{background:transparent;color:#6b5bea}.idanny-bonus-checkout__status{min-height:16px;margin-top:6px;color:#315ff6;font-size:11px}

/* Compact loyalty value shown consistently in catalogues and product pages. */
.products li.product article{position:relative!important}
.products .idanny-product-bonus{display:block!important;position:absolute!important;right:14px!important;bottom:122px!important;z-index:3!important;width:max-content!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#625cff!important;font-size:12px!important;font-weight:700!important;line-height:1!important;text-align:center!important;pointer-events:none!important}
.single-product .idanny-product-bonus--single{display:block!important;order:6!important;width:100%!important;margin:9px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#4f49d8!important;font-size:13px!important;font-weight:500!important;line-height:1.45!important;text-align:center!important}

@media only screen and (max-width:1180px) and (min-width:901px){.idanny-account-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}.idanny-account-products,.idanny-account-products--wide{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media only screen and (max-width:900px){
  body.woocommerce-account #middle .content_wrap,body.woocommerce-account #middle .middle_content{width:calc(100% - 24px)!important}
  body.woocommerce-account #middle .woocommerce{display:block!important;padding-top:14px!important}
  body.woocommerce-account .woocommerce-MyAccount-navigation{position:static!important;margin-bottom:16px!important}
  body.woocommerce-account .woocommerce-MyAccount-navigation ul{display:grid!important;grid-template-columns:1fr 1fr!important;gap:3px!important}
  .idanny-account-stats{grid-template-columns:1fr 1fr!important}.idanny-account-products,.idanny-account-products--wide{grid-template-columns:1fr 1fr!important}
  .idanny-account-order--featured{grid-template-columns:54px minmax(0,1fr) auto!important;grid-template-areas:"image main status" "image total total" "button button button"!important}.idanny-account-order__button{justify-self:stretch!important;justify-content:center!important;margin-top:7px}
}
@media only screen and (max-width:600px){
	.products .idanny-product-bonus{right:10px!important;bottom:80px!important}
  .idanny-account-person{grid-template-columns:48px minmax(0,1fr)!important}.idanny-account-person__mark{width:48px;height:48px}.idanny-account-person__mark img{width:38px!important;height:32px!important}
  body.woocommerce-account .woocommerce-MyAccount-navigation ul{grid-template-columns:1fr!important}
  .idanny-account-welcome h2,.idanny-account-page h2{font-size:22px!important}.idanny-account-stats{gap:8px!important}.idanny-account-stat{min-height:98px!important;padding:12px!important}.idanny-account-stat strong{font-size:18px!important}
  .idanny-account-panel{padding:14px!important;border-radius:14px!important}.idanny-account-products,.idanny-account-products--wide{grid-template-columns:1fr 1fr!important;gap:8px!important}.idanny-account-product{height:218px!important;grid-template-rows:102px 36px 36px 22px!important;padding:8px!important}.idanny-account-product__image{height:102px!important}.idanny-account-product__image img{max-height:94px!important}.idanny-account-recent{grid-template-columns:repeat(3,minmax(0,1fr))}
  .idanny-bonus-hero{grid-template-columns:1fr}.idanny-bonus-checkout__controls{flex-wrap:wrap}
}

/* =========================================================
   v5: strict account polish - sidebar, homepage product cards,
   gradient table headers. Kept isolated to WooCommerce account.
   ========================================================= */

/* Sidebar: force the exact two-part layout (gradient profile + white menu). */
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation {
  display:block!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:hidden!important;
  background:#fff!important;
  border:1px solid var(--id-border)!important;
  border-radius:18px!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation .idanny-account-person {
  display:grid!important;
  grid-template-columns:52px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  width:100%!important;
  height:92px!important;
  min-height:92px!important;
  max-height:92px!important;
  margin:0!important;
  padding:16px 14px!important;
  position:static!important;
  inset:auto!important;
  float:none!important;
  overflow:hidden!important;
  background:var(--id-gradient)!important;
  box-sizing:border-box!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation .idanny-account-person__mark {
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
  border-radius:50%!important;
  background:#fff!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation .idanny-account-person__mark img {
  width:42px!important;
  height:42px!important;
  padding:2px!important;
  object-fit:contain!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation > ul {
  display:block!important;
  position:static!important;
  inset:auto!important;
  visibility:visible!important;
  opacity:1!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:10px 9px 12px!important;
  overflow:visible!important;
  background:#fff!important;
  list-style:none!important;
  box-sizing:border-box!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation > ul > li {
  display:block!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  float:none!important;
  clear:both!important;
  background:transparent!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation > ul > li > a {
  display:flex!important;
  width:100%!important;
  min-height:36px!important;
  margin:0!important;
  padding:0 9px!important;
  align-items:center!important;
  gap:9px!important;
  border:0!important;
  border-radius:9px!important;
  background:transparent!important;
  box-sizing:border-box!important;
  color:#30364a!important;
  font-size:11px!important;
  font-weight:600!important;
  line-height:1.2!important;
  text-transform:none!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation > ul > li.is-active > a,
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation > ul > li > a:hover {
  background:linear-gradient(90deg,rgba(8,124,240,.10),rgba(125,54,244,.10))!important;
  color:#2458ee!important;
}
body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top:7px!important;
  padding-top:7px!important;
  border-top:1px solid var(--id-border)!important;
}

/* Personal offers / viewed products: exact same WooCommerce card markup and skin as homepage Popular products. */
html body.woocommerce-account #page #middle .idanny-account-popular-skin {
  width:100%!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  background:transparent!important;
}
html body.woocommerce-account #page #middle .idanny-account-popular-skin .idanny-home-products {
  margin:0!important;
}
html body.woocommerce-account #page #middle .idanny-account-popular-skin .idanny-home-products > h2 {
  display:none!important;
}
html body.woocommerce-account #page #middle .idanny-account-popular-skin .idanny-home-products ul.products,
html body.woocommerce-account #page #middle .idanny-account-popular-skin .idanny-home-products ul.products.cmsmasters_products {
  gap:12px!important;
}
/* The customer can see old/new price himself: no extra savings badge anywhere in the account. */
body.woocommerce-account .idanny-account-product__saving {display:none!important;}

/* WooCommerce orders / active-order tables: firm iD blue-to-violet header, not flat purple. */
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead tr,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead tr {
  background:var(--id-gradient)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead th,
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead td {
  background:transparent!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.10)!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th:first-child,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead th:first-child {
  border-radius:12px 0 0 0!important;
}
body.woocommerce-account .woocommerce-MyAccount-content table.shop_table thead th:last-child,
body.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table thead th:last-child {
  border-radius:0 12px 0 0!important;
}

@media only screen and (max-width:900px){
  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation .idanny-account-person {
    height:82px!important;min-height:82px!important;max-height:82px!important;
  }
  body.woocommerce-account.logged-in .woocommerce-MyAccount-navigation > ul {
    display:grid!important;grid-template-columns:1fr!important;gap:2px!important;
  }
}

/* =========================================================
   v6: account product cards + clean bonus page
   Isolated to WooCommerce account only.
   ========================================================= */

/* Product recommendations: stable 4-column desktop cards in the same visual
   language as the Popular products block on the homepage. */
/* Bonus page: one calm layout instead of separate random-looking framed text blocks. */
body.woocommerce-account .idanny-bonus-page{display:grid!important;gap:14px!important;width:100%!important}
body.woocommerce-account .idanny-bonus-hero{
  display:grid!important;
  grid-template-columns:1fr 1fr!important;
  gap:12px!important;
  margin:0!important;
}
body.woocommerce-account .idanny-bonus-hero>div{
  position:relative!important;
  display:flex!important;
  min-height:126px!important;
  padding:20px 22px!important;
  flex-direction:column!important;
  justify-content:center!important;
  overflow:hidden!important;
  border:1px solid #e3e7f0!important;
  border-radius:16px!important;
  background:linear-gradient(135deg,rgba(8,124,240,.075),rgba(125,54,244,.095))!important;
  box-shadow:none!important;
}
body.woocommerce-account .idanny-bonus-hero>div:first-child:after{
  content:'★';
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  color:#4462f5;
  font-size:34px;
  opacity:.18;
}
body.woocommerce-account .idanny-bonus-hero span{color:#6d7588!important;font-size:11px!important;font-weight:500!important}
body.woocommerce-account .idanny-bonus-hero strong{margin:7px 0 5px!important;color:#11172a!important;font-size:26px!important;font-weight:750!important;line-height:1.05!important}
body.woocommerce-account .idanny-bonus-hero small{color:#315ff6!important;font-size:11px!important;font-weight:600!important}

body.woocommerce-account .idanny-bonus-rules{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  margin:0!important;
}
body.woocommerce-account .idanny-bonus-rule{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr)!important;
  gap:11px!important;
  align-items:start!important;
  min-height:106px!important;
  padding:15px!important;
  border:1px solid #e5e8f0!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 5px 18px rgba(26,42,78,.025)!important;
  box-sizing:border-box!important;
}
body.woocommerce-account .idanny-bonus-rule__num{
  display:flex!important;
  width:34px!important;
  height:34px!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:10px!important;
  background:linear-gradient(135deg,#0785f7,#7d36f4)!important;
  color:#fff!important;
  font-size:13px!important;
  font-weight:800!important;
}
body.woocommerce-account .idanny-bonus-rule h3{margin:1px 0 5px!important;color:#11172a!important;font-size:13px!important;font-weight:700!important;line-height:1.25!important}
body.woocommerce-account .idanny-bonus-rule p{margin:0!important;color:#727b8f!important;font-size:11px!important;line-height:1.5!important}

body.woocommerce-account .idanny-bonus-history-panel{
  width:100%!important;
  margin:0!important;
  padding:18px 20px!important;
  border:1px solid #e5e8f0!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 7px 24px rgba(26,42,78,.03)!important;
  box-sizing:border-box!important;
}
body.woocommerce-account .idanny-bonus-history-panel .idanny-account-panel__head{margin-bottom:6px!important}
body.woocommerce-account .idanny-bonus-history-panel .idanny-account-panel__head h3{font-size:16px!important}
body.woocommerce-account .idanny-bonus-empty{
  display:flex!important;
  min-height:86px!important;
  align-items:center!important;
  justify-content:center!important;
  margin:0!important;
  color:#858c9c!important;
  font-size:12px!important;
  text-align:center!important;
}

@media only screen and (max-width:900px){
  body.woocommerce-account .idanny-bonus-hero{grid-template-columns:1fr!important}
  body.woocommerce-account .idanny-bonus-rules{grid-template-columns:1fr!important}
}
