/* Digitnet Store Core v4.0.14.1.13
   Plugin-controlled Wishlist/Compare bridge.
   The plugin owns actions, storage, AJAX and pages. The theme only styles placement. */

.dn-floating-actions[data-dn-real-collection-actions="1"],
.dn-floating-actions[data-dn-plugin-commerce-actions="1"]{
  pointer-events:auto;
}

.dn-floating-actions .dn-plugin-commerce-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
}

.dn-floating-actions .dn-commerce-btn,
.dn-floating-actions .dn-wishlist-btn,
.dn-floating-actions .dn-compare-btn{
  width:34px!important;
  height:34px!important;
  min-width:34px!important;
  min-height:34px!important;
  padding:0!important;
  border-radius:999px!important;
  border:1px solid rgba(16,24,40,.08)!important;
  background:#fff!important;
  color:#667085!important;
  box-shadow:0 8px 18px rgba(16,24,40,.10)!important;
  display:grid!important;
  place-items:center!important;
  font-size:16px!important;
  line-height:1!important;
  cursor:pointer!important;
  transition:.16s ease!important;
}

.dn-floating-actions .dn-commerce-btn:hover,
.dn-floating-actions .dn-wishlist-btn:hover,
.dn-floating-actions .dn-compare-btn:hover,
.dn-floating-actions .dn-commerce-btn.is-active,
.dn-floating-actions .dn-wishlist-btn.is-active,
.dn-floating-actions .dn-compare-btn.is-active,
.dn-floating-actions .dn-commerce-btn[aria-pressed="true"],
.dn-floating-actions .dn-wishlist-btn[aria-pressed="true"],
.dn-floating-actions .dn-compare-btn[aria-pressed="true"]{
  color:var(--red,#ff3c20)!important;
  border-color:#ffc7bd!important;
  background:#fff7f5!important;
  transform:translateY(-1px)!important;
}

.dn-floating-actions .dn-commerce-icon{
  display:inline!important;
  line-height:1!important;
  font-size:16px!important;
}

.dn-floating-actions .dn-commerce-label{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

.dn-plugin-commerce-page .dn-commerce-page{
  margin:0;
}

.dn-plugin-commerce-page .dn-commerce-page h1{
  color:#071b36;
  font-size:30px;
  line-height:1.15;
  margin:0 0 14px;
}

.dn-plugin-commerce-page .dn-commerce-page-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  background:#fff;
  border:1px solid var(--line,#e6e9ef);
  border-radius:16px;
  padding:13px 15px;
  margin:0 0 18px;
  box-shadow:0 8px 22px rgba(16,24,40,.05);
}

.dn-plugin-commerce-page .dn-commerce-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}

.dn-plugin-commerce-page .dn-commerce-card{
  background:#fff;
  border:1px solid var(--line,#e6e9ef);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 8px 22px rgba(16,24,40,.05);
}

.dn-plugin-commerce-page .dn-commerce-card a:first-child{
  display:block;
  padding:14px;
}

.dn-plugin-commerce-page .dn-commerce-card img{
  width:100%;
  height:180px;
  object-fit:contain;
  display:block;
}

.dn-plugin-commerce-page .dn-commerce-card h3{
  font-size:14px;
  line-height:1.35;
  color:#101828;
  margin:10px 0 0;
}

.dn-plugin-commerce-page .dn-price{
  color:var(--red,#ff3c20);
  font-weight:900;
  padding:0 14px 10px;
}

.dn-plugin-commerce-page .dn-remove-wishlist-item,
.dn-plugin-commerce-page .dn-remove-compare-item,
.dn-plugin-commerce-page .dn-clear-compare,
.dn-plugin-commerce-page .dn-view-product{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin:0 0 14px 14px;
  border:1px solid var(--line,#e6e9ef);
  border-radius:999px;
  background:#fff;
  color:#667085;
  padding:9px 13px;
  font-weight:900;
  font-size:12px;
  text-decoration:none!important;
  cursor:pointer;
}

.dn-plugin-commerce-page .dn-view-product,
.dn-plugin-commerce-page .dn-clear-compare{
  background:var(--red,#ff3c20);
  color:#fff!important;
  border-color:var(--red,#ff3c20);
}

.dn-plugin-commerce-page .dn-compare-table-wrap{
  overflow:auto;
  background:#fff;
  border:1px solid var(--line,#e6e9ef);
  border-radius:18px;
  box-shadow:0 8px 22px rgba(16,24,40,.05);
}

.dn-plugin-commerce-page .dn-compare-table{
  width:100%;
  min-width:760px;
  border-collapse:collapse;
}

.dn-plugin-commerce-page .dn-compare-table th,
.dn-plugin-commerce-page .dn-compare-table td{
  border-bottom:1px solid var(--line,#e6e9ef);
  padding:16px;
  text-align:left;
  vertical-align:top;
}

.dn-plugin-commerce-page .dn-compare-table th{
  width:190px;
  background:#f8fafc;
  color:#13233a;
  font-weight:950;
}

.dn-plugin-commerce-page .dn-compare-table td img{
  max-width:130px;
  height:110px;
  object-fit:contain;
  display:block;
  margin-bottom:10px;
}

@media(max-width:1050px){
  .dn-plugin-commerce-page .dn-commerce-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media(max-width:620px){
  .dn-plugin-commerce-page .dn-commerce-grid{grid-template-columns:1fr;}
  .dn-plugin-commerce-page .dn-commerce-card img{height:200px;}
  .dn-plugin-commerce-page .dn-compare-table{min-width:640px;}
}

/* v4.0.14.1.13 — product-card shortcode bridge row.
   The plugin owns the buttons; the theme only makes the plugin shortcode output visible inside cards. */
.dn-product-card-plugin-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid #eef2f7;
  position:relative;
  z-index:3;
}

.dn-product-card-plugin-actions:empty{display:none;}

.dn-product-card-plugin-actions .dn-plugin-commerce-button{
  display:block!important;
  min-width:0;
}

.dn-product-card-plugin-actions .dn-commerce-btn,
.dn-product-card-plugin-actions .dn-wishlist-btn,
.dn-product-card-plugin-actions .dn-compare-btn,
.dn-product-card-plugin-actions .dn-card-plugin-action{
  width:100%!important;
  min-width:0!important;
  min-height:36px!important;
  height:auto!important;
  padding:8px 10px!important;
  border-radius:12px!important;
  border:1px solid #e6ebf2!important;
  background:#fff!important;
  color:#475467!important;
  box-shadow:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.2!important;
  text-decoration:none!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}

.dn-product-card-plugin-actions .dn-commerce-btn:hover,
.dn-product-card-plugin-actions .dn-wishlist-btn:hover,
.dn-product-card-plugin-actions .dn-compare-btn:hover,
.dn-product-card-plugin-actions .dn-card-plugin-action:hover,
.dn-product-card-plugin-actions .dn-commerce-btn.is-active,
.dn-product-card-plugin-actions .dn-wishlist-btn.is-active,
.dn-product-card-plugin-actions .dn-compare-btn.is-active,
.dn-product-card-plugin-actions .dn-commerce-btn[aria-pressed="true"],
.dn-product-card-plugin-actions .dn-wishlist-btn[aria-pressed="true"],
.dn-product-card-plugin-actions .dn-compare-btn[aria-pressed="true"]{
  color:var(--red,#ff3c20)!important;
  border-color:#ffc7bd!important;
  background:#fff7f5!important;
}

.dn-product-card-plugin-actions .dn-commerce-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  font-size:14px!important;
}

.dn-product-card-plugin-actions .dn-commerce-label{
  display:inline!important;
  position:static!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
  clip:auto!important;
  white-space:nowrap!important;
  border:0!important;
}

.dn-product-card-plugin-actions .screen-reader-text{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}

@media(max-width:420px){
  .dn-product-card-plugin-actions{grid-template-columns:1fr;}
}

/* v4.0.14.1.16 — borderless horizontal Wishlist/Compare under Warranty.
   Digitnet Commerce Tools remains the source of truth; the theme only controls placement/style. */
body:not(.wp-admin) .dn-product-card-plugin-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:8px!important;
  margin-top:4px!important;
  padding-top:0!important;
  border-top:0!important;
  background:transparent!important;
  box-shadow:none!important;
  position:relative!important;
  z-index:3!important;
}

body:not(.wp-admin) .dn-footer-note + .dn-product-card-plugin-actions{
  margin-top:4px!important;
}

body:not(.wp-admin) .dn-product-card-plugin-actions:empty{display:none!important;}

body:not(.wp-admin) .dn-product-card-plugin-actions .dn-plugin-commerce-button,
body:not(.wp-admin) .dn-product-card-plugin-actions .dn-plugin-commerce-button > *{
  min-width:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
}

body:not(.wp-admin) .dn-product-card-plugin-actions :is(
  a,
  button,
  .button,
  .dn-commerce-btn,
  .dn-wishlist-btn,
  .dn-compare-btn,
  .dn-card-plugin-action,
  .dn-plugin-btn,
  .dn-wishlist-button,
  .dn-compare-button
){
  width:100%!important;
  min-width:0!important;
  min-height:24px!important;
  height:auto!important;
  padding:3px 0!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#667085!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:5px!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-decoration:none!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}

body:not(.wp-admin) .dn-product-card-plugin-actions :is(
  a:hover,
  button:hover,
  .button:hover,
  .dn-commerce-btn:hover,
  .dn-wishlist-btn:hover,
  .dn-compare-btn:hover,
  .dn-card-plugin-action:hover,
  .dn-plugin-btn:hover,
  .dn-wishlist-button:hover,
  .dn-compare-button:hover,
  .dn-commerce-btn.is-active,
  .dn-wishlist-btn.is-active,
  .dn-compare-btn.is-active,
  .dn-commerce-btn[aria-pressed="true"],
  .dn-wishlist-btn[aria-pressed="true"],
  .dn-compare-btn[aria-pressed="true"]
){
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--red,#ff3c20)!important;
  transform:none!important;
}

body:not(.wp-admin) .dn-product-card-plugin-actions :is(.dn-commerce-icon,.dn-plugin-commerce-icon){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  font-size:13px!important;
}

body:not(.wp-admin) .dn-product-card-plugin-actions :is(.dn-commerce-label,.dn-plugin-commerce-label){
  display:inline!important;
  position:static!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
  clip:auto!important;
  white-space:nowrap!important;
  border:0!important;
}

body:not(.wp-admin) .dn-compact-plugin-actions,
body:not(.wp-admin) .dn-related-plugin-actions{
  margin-top:4px!important;
  border-top:0!important;
  padding-top:0!important;
}

@media(max-width:420px){
  body:not(.wp-admin) .dn-product-card-plugin-actions{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }
  body:not(.wp-admin) .dn-product-card-plugin-actions :is(a,button,.button,.dn-commerce-btn,.dn-wishlist-btn,.dn-compare-btn,.dn-card-plugin-action){
    font-size:10.5px!important;
  }
}

/* v4.0.14.1.18 — balanced single-product Wishlist/Compare spacing.
   Keep Digitnet Commerce Tools in control; theme only tightens typography and layout. */
body:not(.wp-admin) .dn-single-product-ui-lock .dn-single-product-plugin-actions{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  column-gap:28px!important;
  row-gap:6px!important;
  margin:2px 0 18px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  width:100%!important;
  max-width:100%!important;
  position:relative!important;
  z-index:4!important;
}
body:not(.wp-admin) .dn-single-product-ui-lock .dn-single-product-plugin-actions:empty{display:none!important;}
body:not(.wp-admin) .dn-single-product-ui-lock .dn-single-product-plugin-actions .dn-plugin-commerce-button,
body:not(.wp-admin) .dn-single-product-ui-lock .dn-single-product-plugin-actions > *{
  display:inline-flex!important;
  align-items:center!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
  flex:0 0 auto!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  margin:0!important;
  padding:0!important;
}
body:not(.wp-admin) .dn-single-product-ui-lock .dn-single-product-plugin-actions .dn-plugin-commerce-button > *{
  width:auto!important;
  min-width:0!important;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
body:not(.wp-admin) .dn-single-product-ui-lock .dn-single-product-plugin-actions :is(
  a,
  button,
  .button,
  .dn-commerce-btn,
  .dn-wishlist-btn,
  .dn-compare-btn,
  .dn-card-plugin-action,
  .dn-plugin-btn,
  .dn-wishlist-button,
  .dn-compare-button
){
  width:auto!important;
  min-width:0!important;
  min-height:26px!important;
  height:auto!important;
  padding:2px 0!important;
  margin:0!important;
  border:0!important;
  outline:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#13233a!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:7px!important;
  font-family:inherit!important;
  font-size:14px!important;
  font-weight:700!important;
  letter-spacing:0!important;
  line-height:1.35!important;
  text-decoration:none!important;
  text-transform:none!important;
  cursor:pointer!important;
  white-space:nowrap!important;
}
body:not(.wp-admin) .dn-single-product-ui-lock .dn-single-product-plugin-actions :is(
  a:hover,
  button:hover,
  .button:hover,
  .dn-commerce-btn:hover,
  .dn-wishlist-btn:hover,
  .dn-compare-btn:hover,
  .dn-card-plugin-action:hover,
  .dn-plugin-btn:hover,
  .dn-wishlist-button:hover,
  .dn-compare-button:hover,
  .dn-commerce-btn.is-active,
  .dn-wishlist-btn.is-active,
  .dn-compare-btn.is-active,
  .dn-commerce-btn[aria-pressed="true"],
  .dn-wishlist-btn[aria-pressed="true"],
  .dn-compare-btn[aria-pressed="true"]
){
  border:0!important;
  outline:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--red,#ff3c20)!important;
  transform:none!important;
}
body:not(.wp-admin) .dn-single-product-ui-lock .dn-single-product-plugin-actions :is(.dn-commerce-icon,.dn-plugin-commerce-icon){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  font-size:14px!important;
  width:auto!important;
  height:auto!important;
  margin:0!important;
}
body:not(.wp-admin) .dn-single-product-ui-lock .dn-single-product-plugin-actions :is(.dn-commerce-label,.dn-plugin-commerce-label){
  display:inline!important;
  position:static!important;
  width:auto!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
  clip:auto!important;
  white-space:nowrap!important;
  border:0!important;
  font:inherit!important;
}
@media(max-width:520px){
  body:not(.wp-admin) .dn-single-product-ui-lock .dn-single-product-plugin-actions{
    column-gap:18px!important;
    row-gap:4px!important;
    margin:0 0 14px!important;
  }
  body:not(.wp-admin) .dn-single-product-ui-lock .dn-single-product-plugin-actions :is(a,button,.button,.dn-commerce-btn,.dn-wishlist-btn,.dn-compare-btn,.dn-card-plugin-action){
    font-size:13.5px!important;
  }
}


/* v8.0.3.6 — production fallback card-button restore.
   Keep card Wishlist/Compare visible, compact and clickable when the standalone
   Commerce Tools plugin is not active. */
body:not(.wp-admin) .dn-product-card-plugin-actions .dn-card-plugin-action{
  pointer-events:auto!important;
  user-select:none!important;
}
body:not(.wp-admin) .dn-product-card-plugin-actions .dn-card-plugin-action .dn-commerce-icon{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:14px!important;
  font-size:13px!important;
  line-height:1!important;
}
body:not(.wp-admin) .dn-product-card-plugin-actions .dn-card-plugin-action .dn-commerce-label{
  display:inline!important;
  position:static!important;
  width:auto!important;
  height:auto!important;
  overflow:visible!important;
  clip:auto!important;
  white-space:nowrap!important;
}
body:not(.wp-admin) .dn-product-card-plugin-actions .dn-card-plugin-action.is-active,
body:not(.wp-admin) .dn-product-card-plugin-actions .dn-card-plugin-action[aria-pressed="true"]{
  color:var(--red,#ff3c20)!important;
}
body:not(.wp-admin) .dn-product-card-plugin-actions .dn-card-plugin-action.is-loading{
  opacity:.72!important;
  cursor:progress!important;
}
