/* ActionStudios3D WooCommerce pages v1.1.1 */

.as3d-wc-page,
.woocommerce-cart .as3d-content-card,
.woocommerce-checkout .as3d-content-card,
.woocommerce-account .as3d-content-card{
  padding:34px 0 64px;
}

.as3d-wc-hero{
  margin:22px 0 24px;
  padding:28px;
  border:1px solid var(--as3d-border);
  border-radius:28px;
  background:
    radial-gradient(circle at 75% 20%,rgba(40,199,248,.10),transparent 32%),
    linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  box-shadow:var(--as3d-shadow);
}
.as3d-wc-hero h1{
  margin:12px 0 6px;
  font-size:clamp(34px,4vw,58px);
  line-height:1;
  letter-spacing:-.055em;
}
.as3d-wc-hero p{
  margin:0;
  max-width:780px;
  color:#c0cad8;
}

/* Single product */
.as3d-single-product-card{
  border:1px solid var(--as3d-border);
  border-radius:30px;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  box-shadow:var(--as3d-shadow);
  padding:24px;
  margin:24px 0 54px;
}
.as3d-single-breadcrumb{
  margin:0 0 16px;
  color:#94a3b8;
  font-size:13px;
}
.as3d-breadcrumb{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.as3d-breadcrumb a{color:#dbe7f5}
.as3d-single-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  gap:28px;
  align-items:start;
}
.as3d-single-media{
  display:grid;
  grid-template-columns:86px minmax(0,1fr);
  gap:14px;
}
.as3d-single-thumbs{
  display:grid;
  gap:10px;
  align-content:start;
  max-height:720px;
  overflow:auto;
  padding-right:3px;
}
.as3d-single-thumbs a{
  width:76px;
  height:76px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--as3d-border);
  background:#0d141d;
}
.as3d-single-thumbs img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}
.as3d-single-main-image{
  position:relative;
  min-height:620px;
  max-height:720px;
  display:grid;
  place-items:center;
  overflow:hidden;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at center,rgba(40,199,248,.09),transparent 38%),
    #101720;
}
.as3d-single-main-image img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center top;
  max-height:720px;
}
.as3d-single-image-vignette{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center,transparent 54%,rgba(5,10,16,.12) 70%,rgba(5,10,16,.52) 100%),
    linear-gradient(180deg,rgba(5,10,16,.10),transparent 30%,rgba(5,10,16,.38) 100%);
  pointer-events:none;
}
.as3d-single-summary{
  border:1px solid var(--as3d-border);
  border-radius:24px;
  background:rgba(10,16,23,.72);
  padding:24px;
  backdrop-filter:blur(14px);
}
.as3d-single-badge{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:7px 10px;
  font-size:12px;
  font-weight:800;
  margin-bottom:12px;
}
.as3d-single-summary .product_title{
  margin:0 0 12px;
  font-size:clamp(34px,4vw,54px);
  line-height:1;
  letter-spacing:-.055em;
}
.as3d-single-rating-price{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0 18px;
  border-bottom:1px solid var(--as3d-border);
  margin-bottom:18px;
}
.as3d-single-price{
  color:var(--as3d-yellow);
  font-weight:900;
  font-size:32px;
}
.as3d-single-price del{
  color:#8792a2;
  font-size:18px;
  margin-right:8px;
}
.as3d-single-price ins{text-decoration:none}
.as3d-digital-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:14px 0;
}
.as3d-digital-badges span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 11px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.035);
  color:#e8f2ff;
  font-size:13px;
  font-weight:700;
}
.as3d-digital-badges svg{
  width:15px;
  height:15px;
  color:var(--as3d-yellow);
}
.as3d-single-counter{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin:16px 0;
  padding:12px 14px;
  border:1px solid rgba(250,204,21,.22);
  border-radius:16px;
  background:rgba(250,204,21,.06);
}
.as3d-single-counter span{color:#c8d3e1}
.as3d-single-counter strong{font-size:22px;color:#fff}
.as3d-single-excerpt{
  color:#c6d1df;
  margin:16px 0;
}
.as3d-product-tech{
  margin:18px 0;
}
.as3d-product-tech h2,
.as3d-product-tech h3{
  margin:0 0 12px;
  font-size:18px;
}
.as3d-tech-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.as3d-tech-grid div{
  border:1px solid var(--as3d-border);
  border-radius:14px;
  padding:12px;
  background:rgba(255,255,255,.03);
}
.as3d-tech-grid span{
  display:flex;
  align-items:center;
  gap:7px;
  color:#9fb0c2;
  font-size:12px;
}
.as3d-tech-grid i{
  width:14px;
  height:14px;
  display:inline-flex;
}
.as3d-tech-grid i svg{
  width:14px;
  height:14px;
}
.as3d-tech-grid i.tone-cyan{color:var(--as3d-cyan)}
.as3d-tech-grid i.tone-yellow{color:var(--as3d-yellow)}
.as3d-tech-grid strong{
  display:block;
  color:#fff;
  margin-top:4px;
}
.as3d-single-add-to-cart{
  margin:22px 0;
}
.as3d-single-add-to-cart form.cart{
  display:grid;
  gap:12px;
}
.as3d-single-add-to-cart .quantity{
  display:none !important;
}
.as3d-single-add-to-cart .single_add_to_cart_button{
  min-height:54px;
  border:0;
  border-radius:16px !important;
  background:linear-gradient(180deg,#ffd43b,#facc15) !important;
  color:#211800 !important;
  font-weight:900 !important;
  width:100%;
  cursor:pointer;
}
.as3d-single-safe-box{
  border:1px solid rgba(40,199,248,.18);
  border-radius:16px;
  padding:14px;
  background:rgba(40,199,248,.045);
  color:#c3d2e1;
}
.as3d-single-safe-box strong{color:#fff}
.as3d-single-meta{
  margin-top:18px;
  color:#94a3b8;
  font-size:13px;
}
.as3d-single-meta a{color:#dce7f5}
.as3d-single-description{
  margin-top:26px;
  padding:24px;
  border:1px solid var(--as3d-border);
  border-radius:24px;
  background:rgba(255,255,255,.025);
}
.as3d-single-description h2{
  margin:0 0 14px;
}
.as3d-rich-content{
  color:#d5deea;
}

/* Cart */
.as3d-cart-shell,
.as3d-cart-collaterals,
.as3d-checkout-card,
.as3d-account-shell{
  border:1px solid var(--as3d-border);
  border-radius:26px;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  box-shadow:0 18px 54px rgba(0,0,0,.24);
}
.as3d-cart-shell{
  padding:18px;
}
.as3d-cart-grid-head,
.as3d-cart-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 140px 90px 140px;
  gap:16px;
  align-items:center;
}
.as3d-cart-grid-head{
  padding:10px 14px;
  color:#91a1b4;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.as3d-cart-items{
  display:grid;
  gap:10px;
}
.as3d-cart-row{
  padding:12px;
  border:1px solid var(--as3d-border);
  border-radius:18px;
  background:rgba(8,14,21,.64);
}
.as3d-cart-product{
  display:grid;
  grid-template-columns:28px 86px minmax(0,1fr);
  gap:12px;
  align-items:center;
}
.as3d-cart-thumb{
  width:86px;
  height:86px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:#101720;
}
.as3d-cart-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}
.as3d-remove{
  width:24px;
  height:24px;
  display:grid !important;
  place-items:center;
  border-radius:999px;
  background:rgba(239,91,72,.12);
  color:#ff7b6d !important;
  font-size:18px;
  line-height:1;
}
.as3d-cart-product h2{
  margin:0 0 4px;
  font-size:15px;
  line-height:1.25;
}
.as3d-cart-product p{
  margin:0;
  color:#91a1b4;
  font-size:12px;
}
.as3d-cart-price,
.as3d-cart-subtotal{
  text-align:right;
  font-weight:800;
  color:#fff;
}
.as3d-cart-qty{
  text-align:center;
}
.as3d-cart-qty-fixed{
  display:inline-grid;
  place-items:center;
  min-width:42px;
  height:34px;
  border-radius:12px;
  border:1px solid var(--as3d-border);
  background:rgba(255,255,255,.04);
  color:#fff;
  font-weight:900;
}
.as3d-cart-actions{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid var(--as3d-border);
}
.as3d-coupon{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.as3d-coupon input,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single{
  min-height:46px;
  border-radius:14px !important;
  border:1px solid var(--as3d-border) !important;
  background:#0c131b !important;
  color:#fff !important;
  padding:10px 12px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered{
  color:#fff !important;
}
.as3d-cart-actions .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button{
  min-height:46px;
  border-radius:14px !important;
  border:0 !important;
  background:var(--as3d-yellow) !important;
  color:#1e1600 !important;
  font-weight:900 !important;
}
.as3d-update-cart{
  background:rgba(255,255,255,.08) !important;
  color:#fff !important;
  border:1px solid var(--as3d-border) !important;
}
.as3d-cart-collaterals{
  max-width:520px;
  margin:22px 0 50px auto;
  padding:22px;
}
.as3d-cart-totals h2{
  margin:0 0 16px;
}
.as3d-totals-list,
.as3d-review-totals{
  display:grid;
  gap:10px;
}
.as3d-total-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.as3d-total-row strong{
  text-align:right;
  color:#fff;
}
.as3d-total-row.order-total{
  font-size:20px;
  border-bottom:0;
  margin-top:4px;
}
.as3d-total-row.order-total strong{
  color:var(--as3d-yellow);
}
.wc-proceed-to-checkout a.checkout-button{
  display:flex !important;
  align-items:center;
  justify-content:center;
  min-height:54px;
  margin-top:18px !important;
}
.as3d-secure-note{
  color:#9fb0c2;
  margin:14px 0 0;
  font-size:13px;
}

/* Checkout */
.as3d-checkout-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 460px;
  gap:24px;
  align-items:start;
}
.as3d-checkout-main{
  display:grid;
  gap:18px;
}
.as3d-checkout-card{
  padding:24px;
}
.as3d-checkout-card h2{
  margin:0 0 8px;
}
.as3d-checkout-card>p{
  margin:0 0 18px;
  color:#9fb0c2;
}
.as3d-checkout-fields .woocommerce-billing-fields__field-wrapper,
.as3d-checkout-fields .woocommerce-shipping-fields__field-wrapper{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 14px;
}
.as3d-checkout-fields .form-row{
  width:100% !important;
  float:none !important;
  margin:0 !important;
}
.as3d-checkout-fields .form-row-wide{
  grid-column:1 / -1;
}
.as3d-checkout-sidebar{
  position:sticky;
  top:104px;
}
.as3d-order-review-card{
  padding:22px;
}
.as3d-review-items{
  display:grid;
  gap:10px;
  margin:14px 0 16px;
}
.as3d-review-item{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:10px;
  border:1px solid var(--as3d-border);
  border-radius:16px;
  background:rgba(255,255,255,.025);
}
.as3d-review-thumb{
  width:58px;
  height:58px;
  border-radius:12px;
  overflow:hidden;
  background:#101720;
}
.as3d-review-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}
.as3d-review-name strong{
  display:block;
  font-size:13px;
  line-height:1.25;
}
.as3d-review-name span{
  color:#9fb0c2;
  font-size:12px;
}
.as3d-review-subtotal{
  font-weight:900;
  text-align:right;
}
.as3d-payment-box{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--as3d-border);
}
.as3d-payment-box h3{
  margin:0 0 10px;
}
.wc_payment_methods{
  list-style:none;
  padding:0 !important;
  margin:0 !important;
  display:grid;
  gap:10px;
}
.wc_payment_method{
  border:1px solid var(--as3d-border);
  border-radius:16px;
  background:rgba(255,255,255,.03);
  padding:12px !important;
}
.wc_payment_method label{
  font-weight:800;
}
.payment_box{
  margin:10px 0 0 !important;
  padding:12px !important;
  border-radius:14px !important;
  background:rgba(0,0,0,.18) !important;
  color:#c8d3df !important;
}
.payment_box:before{display:none !important}
.as3d-place-order{
  margin-top:18px;
}
.as3d-place-order-button{
  width:100%;
  min-height:56px;
  border-radius:16px !important;
  background:linear-gradient(180deg,#ffd43b,#facc15) !important;
  color:#1e1600 !important;
  font-weight:950 !important;
}

/* Account */
.as3d-account-shell{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:22px;
  padding:22px;
  margin:22px 0 58px;
}
.as3d-account-sidebar{
  display:grid;
  gap:14px;
  align-content:start;
}
.as3d-account-user-card{
  display:flex;
  align-items:center;
  gap:12px;
  padding:16px;
  border:1px solid var(--as3d-border);
  border-radius:20px;
  background:rgba(255,255,255,.035);
}
.as3d-account-avatar{
  width:46px;
  height:46px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:var(--as3d-yellow);
  color:#1e1600;
  font-weight:950;
  font-size:20px;
}
.as3d-account-user-card strong{
  display:block;
}
.as3d-account-user-card small{
  display:block;
  color:#9fb0c2;
  word-break:break-word;
}
.as3d-myaccount-nav{
  border:1px solid var(--as3d-border);
  border-radius:20px;
  background:rgba(255,255,255,.025);
  padding:10px;
}
.as3d-myaccount-nav ul{
  list-style:none;
  display:grid;
  gap:6px;
  padding:0;
  margin:0;
}
.as3d-myaccount-nav a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 13px;
  border-radius:14px;
  color:#dbe6f3;
  font-weight:800;
}
.as3d-myaccount-nav .is-active a,
.as3d-myaccount-nav a:hover{
  background:rgba(250,204,21,.12);
  color:#fff;
}
.as3d-account-nav-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--as3d-yellow);
  opacity:.72;
}
.as3d-account-content{
  border:1px solid var(--as3d-border);
  border-radius:22px;
  background:rgba(8,14,21,.58);
  padding:24px;
  min-height:360px;
}
.as3d-account-content .woocommerce-MyAccount-content{
  width:100% !important;
  float:none !important;
}
.as3d-account-content p:first-child{
  margin-top:0;
}
.woocommerce table.shop_table{
  border:1px solid var(--as3d-border) !important;
  border-radius:18px !important;
  overflow:hidden;
  background:rgba(255,255,255,.025) !important;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td{
  border-color:var(--as3d-border) !important;
  padding:13px 14px !important;
}
.woocommerce-message,
.woocommerce-info,
.woocommerce-error{
  border:1px solid var(--as3d-border) !important;
  border-radius:16px !important;
  background:rgba(255,255,255,.04) !important;
  color:#fff !important;
}

/* Lightbox safeguard */
.as3d-lightbox[hidden]{display:none !important}

@media (max-width:1180px){
  .as3d-single-grid,
  .as3d-checkout-grid,
  .as3d-account-shell{
    grid-template-columns:1fr;
  }
  .as3d-checkout-sidebar{position:static}
}
@media (max-width:760px){
  .as3d-single-product-card,
  .as3d-cart-shell,
  .as3d-checkout-card,
  .as3d-account-shell{
    padding:14px;
    border-radius:20px;
  }
  .as3d-single-media{
    grid-template-columns:1fr;
  }
  .as3d-single-thumbs{
    grid-template-columns:repeat(5,64px);
    grid-auto-flow:column;
    overflow:auto;
  }
  .as3d-single-thumbs a{
    width:64px;height:64px;
  }
  .as3d-single-main-image{
    min-height:380px;
  }
  .as3d-cart-grid-head{
    display:none;
  }
  .as3d-cart-row{
    grid-template-columns:1fr;
    gap:10px;
  }
  .as3d-cart-product{
    grid-template-columns:26px 76px minmax(0,1fr);
  }
  .as3d-cart-thumb{
    width:76px;height:76px;
  }
  .as3d-cart-price,
  .as3d-cart-subtotal,
  .as3d-cart-qty{
    text-align:left;
    display:flex;
    justify-content:space-between;
    align-items:center;
  }
  .as3d-cart-price:before{content:attr(data-title);color:#9fb0c2}
  .as3d-cart-subtotal:before{content:attr(data-title);color:#9fb0c2}
  .as3d-cart-qty:before{content:attr(data-title);color:#9fb0c2}
  .as3d-cart-collaterals{
    max-width:none;
  }
  .as3d-checkout-fields .woocommerce-billing-fields__field-wrapper,
  .as3d-checkout-fields .woocommerce-shipping-fields__field-wrapper{
    grid-template-columns:1fr;
  }
}


/* v1.1.2 checkout/product gallery fixes */
.as3d-checkout-fields input.input-text,
.as3d-checkout-fields select,
.as3d-checkout-fields textarea,
.as3d-order-notes-wrapper textarea,
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea{
  width:100% !important;
  max-width:100% !important;
}

.as3d-checkout-fields #billing_first_name_field,
.as3d-checkout-fields #billing_last_name_field,
.as3d-checkout-fields #billing_email_field,
.as3d-checkout-fields #billing_country_field,
.as3d-checkout-fields #billing_phone_field,
.as3d-order-notes-wrapper .form-row,
.as3d-checkout-notes .form-row{
  grid-column:1 / -1 !important;
}

.as3d-order-notes-wrapper textarea,
#order_comments{
  min-height:132px !important;
  width:100% !important;
  resize:vertical;
}

.as3d-checkout-notes{
  margin-top:0;
}

.as3d-checkout-notes .woocommerce-additional-fields h3{
  display:none;
}

.as3d-payment-box{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid var(--as3d-border);
}

.as3d-payment-box h3{
  margin:0 0 12px;
}

.as3d-payment-box .wc_payment_methods{
  list-style:none;
  padding:0 !important;
  margin:0 !important;
  display:grid;
  gap:10px;
}

.as3d-payment-box .wc_payment_method{
  border:1px solid var(--as3d-border);
  border-radius:16px;
  background:rgba(255,255,255,.03);
  padding:12px !important;
  overflow:hidden;
}

.as3d-payment-box .wc_payment_method > input{
  margin-right:8px;
}

.as3d-payment-box .wc_payment_method label{
  font-weight:800;
}

.as3d-payment-box .payment_box{
  margin:10px 0 0 !important;
  padding:12px !important;
  border-radius:14px !important;
  background:rgba(0,0,0,.18) !important;
  color:#c8d3df !important;
}

.as3d-payment-box .payment_box:before{
  display:none !important;
}

.as3d-place-order{
  margin-top:18px;
}

.as3d-place-order-button{
  width:100%;
  min-height:56px;
  border-radius:16px !important;
  background:linear-gradient(180deg,#ffd43b,#facc15) !important;
  color:#1e1600 !important;
  font-weight:950 !important;
}

.as3d-single-media{
  grid-template-columns:132px minmax(0,1fr);
  align-items:stretch;
}

.as3d-thumb-gallery{
  display:grid;
  grid-template-rows:38px minmax(0,1fr) 38px;
  gap:8px;
  max-height:720px;
  min-height:620px;
}

.as3d-gallery-nav{
  width:100%;
  height:38px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background:rgba(255,255,255,.04);
  color:var(--as3d-yellow);
  font-size:22px;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:background .18s ease,border-color .18s ease;
}

.as3d-gallery-nav:hover{
  background:rgba(250,204,21,.10);
  border-color:rgba(250,204,21,.32);
}

.as3d-single-thumbs{
  display:grid;
  grid-auto-rows:112px;
  gap:10px;
  overflow-y:auto;
  overflow-x:hidden;
  scroll-behavior:smooth;
  padding:0 2px;
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.as3d-single-thumbs::-webkit-scrollbar{
  width:0;
  height:0;
  display:none;
}

.as3d-single-thumb{
  width:112px;
  height:112px;
  padding:0;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background:#101720;
  cursor:pointer;
  opacity:.72;
  transition:opacity .18s ease,transform .18s ease,border-color .18s ease,box-shadow .18s ease;
}

.as3d-single-thumb:hover,
.as3d-single-thumb.is-active{
  opacity:1;
  border-color:rgba(250,204,21,.58);
  box-shadow:0 0 0 1px rgba(250,204,21,.16),0 10px 24px rgba(0,0,0,.22);
}

.as3d-single-thumb.is-active{
  transform:translateX(2px);
}

.as3d-single-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
}

@media (max-width:760px){
  .as3d-single-media{
    grid-template-columns:1fr;
  }

  .as3d-thumb-gallery{
    grid-template-columns:38px minmax(0,1fr) 38px;
    grid-template-rows:auto;
    min-height:auto;
    max-height:none;
    order:2;
  }

  .as3d-single-thumbs{
    grid-auto-flow:column;
    grid-auto-columns:78px;
    grid-auto-rows:78px;
    overflow-x:auto;
    overflow-y:hidden;
  }

  .as3d-single-thumb{
    width:78px;
    height:78px;
  }

  .as3d-gallery-prev{
    transform:rotate(-90deg);
  }

  .as3d-gallery-next{
    transform:rotate(-90deg);
  }

  .as3d-gallery-nav{
    height:78px;
  }
}


/* v1.1.3 account page professional fix */
.as3d-wc-page-wrapper{
  padding:22px 0 70px;
}

.as3d-wc-page-wrapper > .as3d-container > .woocommerce{
  width:100%;
}

.woocommerce-account .entry-title,
.woocommerce-account .as3d-content-card > h1:first-child{
  display:none !important;
}

.woocommerce-account .woocommerce{
  max-width:none;
}

/* If WooCommerce/shortcode outputs default account navigation, make it professional instead of raw text. */
.woocommerce-account .woocommerce-MyAccount-navigation:not(.as3d-myaccount-nav){
  width:320px !important;
  float:left !important;
  margin:0 22px 28px 0 !important;
  border:1px solid var(--as3d-border);
  border-radius:20px;
  background:rgba(255,255,255,.025);
  padding:10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation:not(.as3d-myaccount-nav) ul{
  list-style:none;
  display:grid;
  gap:6px;
  padding:0;
  margin:0;
}

.woocommerce-account .woocommerce-MyAccount-navigation:not(.as3d-myaccount-nav) li{
  margin:0;
}

.woocommerce-account .woocommerce-MyAccount-navigation:not(.as3d-myaccount-nav) a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 13px;
  border-radius:14px;
  color:#dbe6f3;
  font-weight:800;
}

.woocommerce-account .woocommerce-MyAccount-navigation:not(.as3d-myaccount-nav) .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation:not(.as3d-myaccount-nav) a:hover{
  background:rgba(250,204,21,.12);
  color:#fff;
}

.woocommerce-account .woocommerce-MyAccount-content:not(.as3d-account-content){
  float:none !important;
  width:auto !important;
  min-height:320px;
  border:1px solid var(--as3d-border);
  border-radius:22px;
  background:rgba(8,14,21,.58);
  padding:24px;
  overflow:hidden;
}

.as3d-account-hero{
  margin-top:0;
}

.as3d-account-shell{
  clear:both;
  margin-top:22px;
}

.as3d-account-content{
  overflow:hidden;
}

.as3d-account-content .woocommerce-MyAccount-navigation{
  display:none !important;
}

.as3d-account-content > .woocommerce-MyAccount-content{
  border:0 !important;
  background:transparent !important;
  padding:0 !important;
  min-height:0 !important;
}

.as3d-dashboard-welcome{
  padding:24px;
  border:1px solid rgba(40,199,248,.16);
  border-radius:22px;
  background:
    radial-gradient(circle at 88% 12%,rgba(40,199,248,.12),transparent 32%),
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
  margin-bottom:18px;
}

.as3d-dashboard-welcome h2{
  margin:12px 0 8px;
  font-size:clamp(28px,3vw,44px);
  line-height:1;
  letter-spacing:-.045em;
}

.as3d-dashboard-welcome p{
  margin:0;
  max-width:760px;
  color:#c1ccda;
}

.as3d-dashboard-cards{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
  margin:18px 0;
}

.as3d-dashboard-card{
  display:grid;
  gap:10px;
  min-height:170px;
  padding:18px;
  border:1px solid var(--as3d-border);
  border-radius:20px;
  background:rgba(255,255,255,.03);
  color:#fff;
  transition:transform .18s ease,border-color .18s ease,background .18s ease;
}

.as3d-dashboard-card:hover{
  transform:translateY(-2px);
  border-color:rgba(250,204,21,.34);
  background:rgba(250,204,21,.045);
}

.as3d-dashboard-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:14px;
  border:1px solid rgba(250,204,21,.28);
  background:rgba(250,204,21,.08);
  color:var(--as3d-yellow);
}

.as3d-dashboard-icon svg{
  width:22px;
  height:22px;
}

.as3d-dashboard-card strong{
  font-size:18px;
}

.as3d-dashboard-card small{
  color:#a9b7c8;
  line-height:1.5;
}

.as3d-account-help{
  padding:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(255,255,255,.025);
  color:#c7d3e1;
}

.as3d-account-help strong{
  color:#fff;
}

.as3d-account-help p{
  margin:6px 0 0;
}

.as3d-account-content form,
.as3d-account-content .woocommerce-EditAccountForm,
.as3d-account-content .woocommerce-address-fields,
.as3d-account-content .woocommerce-MyAccount-orders,
.as3d-account-content .woocommerce-table{
  max-width:100%;
}

.as3d-account-content fieldset{
  border:1px solid var(--as3d-border);
  border-radius:18px;
  padding:18px;
  margin:18px 0;
}

.as3d-account-content legend{
  color:var(--as3d-yellow);
  font-weight:900;
  padding:0 8px;
}

.as3d-account-content .form-row{
  float:none !important;
  width:100% !important;
  margin-bottom:14px !important;
}

.as3d-account-content input.input-text,
.as3d-account-content textarea,
.as3d-account-content select{
  width:100% !important;
  min-height:46px;
  border-radius:14px !important;
  border:1px solid var(--as3d-border) !important;
  background:#0c131b !important;
  color:#fff !important;
  padding:10px 12px !important;
}

.as3d-account-content button.button{
  min-height:46px;
  border-radius:14px !important;
  background:var(--as3d-yellow) !important;
  color:#1e1600 !important;
  font-weight:900 !important;
}

@media (max-width:980px){
  .woocommerce-account .woocommerce-MyAccount-navigation:not(.as3d-myaccount-nav){
    float:none !important;
    width:100% !important;
    margin:0 0 18px !important;
  }

  .as3d-dashboard-cards{
    grid-template-columns:1fr;
  }
}

@media (max-width:760px){
  .as3d-account-shell{
    padding:14px;
  }

  .as3d-dashboard-welcome,
  .as3d-dashboard-card{
    padding:16px;
  }
}


/* v1.1.4 remove orphan/raw My Account menu */
body.woocommerce-account .woocommerce:has(.as3d-account-shell) > .woocommerce-MyAccount-navigation:not(.as3d-myaccount-nav),
body.woocommerce-account .woocommerce:has(.as3d-account-shell) > .woocommerce-MyAccount-content:not(.as3d-account-content){
  display:none !important;
}

body.woocommerce-account .woocommerce:has(.as3d-account-shell) > h1,
body.woocommerce-account .woocommerce:has(.as3d-account-shell) > h2,
body.woocommerce-account .woocommerce:has(.as3d-account-shell) > p:first-child:not(.as3d-preserve){
  display:none !important;
}

/* Fallback for browsers without :has support: hide direct raw nav when it appears before the professional shell. */
body.woocommerce-account .as3d-wc-page-wrapper .woocommerce > .woocommerce-MyAccount-navigation:not(.as3d-myaccount-nav){
  display:none !important;
}

body.woocommerce-account .as3d-wc-page-wrapper .woocommerce > .woocommerce-MyAccount-content:not(.as3d-account-content){
  display:none !important;
}

/* Then explicitly show the professional account structure. */
body.woocommerce-account .as3d-account-shell,
body.woocommerce-account .as3d-account-shell .as3d-myaccount-nav,
body.woocommerce-account .as3d-account-shell .as3d-account-content{
  display:grid !important;
}

body.woocommerce-account .as3d-account-shell .as3d-myaccount-nav{
  display:block !important;
}

body.woocommerce-account .as3d-account-shell .as3d-myaccount-nav ul{
  display:grid !important;
}

body.woocommerce-account .as3d-account-sidebar{
  display:grid !important;
}

body.woocommerce-account .as3d-account-content{
  display:block !important;
}

/* Remove the huge empty space caused by the orphan nav/menu. */
body.woocommerce-account .as3d-wc-page-wrapper{
  padding-top:22px !important;
}

body.woocommerce-account .as3d-account-hero{
  margin-top:0 !important;
}


/* v1.1.5 hard fix: remove orphan raw My Account block printed before WooCommerce wrapper */
body.woocommerce-account main.as3d-site-main > h1,
body.woocommerce-account main.as3d-site-main > h2,
body.woocommerce-account main.as3d-site-main > h3,
body.woocommerce-account main.as3d-site-main > h4,
body.woocommerce-account main.as3d-site-main > h5,
body.woocommerce-account main.as3d-site-main > h6,
body.woocommerce-account main.as3d-site-main > p,
body.woocommerce-account main.as3d-site-main > ul,
body.woocommerce-account main.as3d-site-main > ol,
body.woocommerce-account main.as3d-site-main > nav:not(.as3d-mobile-panel),
body.woocommerce-account main.as3d-site-main > div:not(.woocommerce):not(.as3d-wc-page-wrapper):not(.as3d-container):not(.as3d-lightbox):not(.as3d-currency-switcher){
  display:none !important;
}

/* Keep the real professional account area visible */
body.woocommerce-account main.as3d-site-main > .woocommerce,
body.woocommerce-account main.as3d-site-main > .as3d-wc-page-wrapper,
body.woocommerce-account .woocommerce .as3d-account-hero,
body.woocommerce-account .woocommerce .as3d-account-shell{
  display:block !important;
}

body.woocommerce-account .woocommerce .as3d-account-shell{
  display:grid !important;
}


/* v1.1.6 professional login/auth screen */
.as3d-auth-hero{
  margin:24px 0 18px;
  padding:28px 30px;
  border:1px solid rgba(40,199,248,.16);
  border-radius:26px;
  background:
    radial-gradient(circle at 88% 12%,rgba(40,199,248,.12),transparent 32%),
    linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.012));
  box-shadow:0 24px 60px rgba(0,0,0,.28);
}

.as3d-auth-hero h1{
  margin:12px 0 10px;
  font-size:clamp(34px,4vw,58px);
  line-height:.95;
  letter-spacing:-.05em;
  color:#fff;
}

.as3d-auth-hero p{
  margin:0;
  max-width:860px;
  color:#c5d0de;
  font-size:15px;
  line-height:1.6;
}

.as3d-auth-shell{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);
  gap:22px;
  align-items:start;
  margin-top:20px;
}

.as3d-auth-shell--registerable{
  grid-template-columns:minmax(0,1fr) minmax(280px,.78fr) minmax(0,1fr);
}

.as3d-auth-card,
.as3d-trust-card{
  border:1px solid var(--as3d-border);
  border-radius:24px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.015)),
    rgba(8,14,21,.78);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 20px 60px rgba(0,0,0,.28);
  padding:24px;
}

.as3d-auth-card__header{
  display:flex;
  gap:14px;
  align-items:flex-start;
  margin-bottom:18px;
}

.as3d-auth-card__header h2,
.as3d-trust-card h3{
  margin:0 0 6px;
  color:#fff;
  font-size:28px;
  line-height:1;
  letter-spacing:-.04em;
}

.as3d-auth-card__header p,
.as3d-trust-card p{
  margin:0;
  color:#aebdcd;
  line-height:1.55;
  font-size:14px;
}

.as3d-auth-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  flex:0 0 44px;
  border-radius:14px;
  background:rgba(250,204,21,.08);
  border:1px solid rgba(250,204,21,.24);
  color:var(--as3d-yellow);
}

.as3d-auth-icon svg{
  width:22px;
  height:22px;
}

.as3d-auth-form .form-row{
  margin-bottom:15px !important;
  float:none !important;
  width:100% !important;
}

.as3d-auth-form label{
  display:block;
  margin-bottom:7px;
  color:#dfe8f2;
  font-size:14px;
  font-weight:800;
}

.as3d-auth-form input.input-text,
.as3d-auth-form input[type="email"],
.as3d-auth-form input[type="password"],
.as3d-auth-form input[type="text"]{
  width:100% !important;
  min-height:52px;
  border-radius:16px !important;
  border:1px solid rgba(255,255,255,.10) !important;
  background:#0b1219 !important;
  color:#fff !important;
  padding:12px 14px !important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.01);
}

.as3d-auth-form input:focus{
  outline:none;
  border-color:rgba(40,199,248,.58) !important;
  box-shadow:0 0 0 3px rgba(40,199,248,.12) !important;
}

.as3d-auth-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:6px;
  flex-wrap:wrap;
}

.as3d-auth-remember{
  display:flex !important;
  align-items:center;
  gap:8px;
  color:#ccd7e5;
  font-weight:700;
}

.as3d-auth-remember input{
  transform:translateY(1px);
}

.as3d-auth-submit{
  min-height:52px;
  padding:0 20px !important;
  border-radius:16px !important;
  background:linear-gradient(180deg,#ffd43b,#facc15) !important;
  color:#1f1700 !important;
  font-weight:950 !important;
  letter-spacing:-.01em;
  box-shadow:0 12px 28px rgba(250,204,21,.18);
}

.as3d-auth-links{
  margin-top:14px;
}

.as3d-auth-links a{
  color:#56d3ff;
  font-weight:800;
}

.as3d-auth-help{
  margin:6px 0 0;
  color:#aebdcd;
}

.as3d-trust-list{
  list-style:none;
  margin:18px 0 0;
  padding:0;
  display:grid;
  gap:14px;
}

.as3d-trust-list li{
  display:grid;
  grid-template-columns:44px 1fr;
  gap:12px;
  align-items:flex-start;
  padding:14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  background:rgba(255,255,255,.025);
}

.as3d-trust-list strong{
  display:block;
  margin-bottom:4px;
  color:#fff;
  font-size:15px;
}

body.woocommerce-account #customer_login{
  width:100%;
  max-width:none;
  margin:0;
}

body.woocommerce-account #customer_login .col-1,
body.woocommerce-account #customer_login .col-2{
  float:none;
  width:auto;
}

@media (max-width:1180px){
  .as3d-auth-shell--registerable{
    grid-template-columns:1fr;
  }
}

@media (max-width:980px){
  .as3d-auth-shell{
    grid-template-columns:1fr;
  }
}

@media (max-width:760px){
  .as3d-auth-hero,
  .as3d-auth-card,
  .as3d-trust-card{
    padding:18px;
    border-radius:20px;
  }

  .as3d-auth-hero h1{
    font-size:clamp(30px,11vw,42px);
  }

  .as3d-auth-card__header h2,
  .as3d-trust-card h3{
    font-size:24px;
  }
}


/* v1.1.7 centered login box with trust section below */
.as3d-auth-hero{
  max-width:1280px;
  margin:24px auto 18px;
}

.as3d-auth-shell,
.as3d-auth-shell--registerable{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:18px !important;
  max-width:980px;
  margin:20px auto 0;
  align-items:start;
}

.as3d-auth-card,
.as3d-trust-card{
  width:100%;
  max-width:820px;
  margin:0 auto;
}

.as3d-auth-card--register{
  max-width:820px;
}

.as3d-auth-card{
  padding:28px;
}

.as3d-auth-card__header{
  margin-bottom:20px;
}

.as3d-auth-card__header h2{
  font-size:32px;
}

.as3d-auth-card__header p{
  font-size:14px;
}

.as3d-auth-form{
  max-width:none;
}

.as3d-auth-form .form-row{
  margin-bottom:16px !important;
}

.as3d-auth-form input.input-text,
.as3d-auth-form input[type="email"],
.as3d-auth-form input[type="password"],
.as3d-auth-form input[type="text"]{
  min-height:54px;
  border-radius:16px !important;
  font-size:15px;
}

.as3d-auth-actions{
  margin-top:14px;
  justify-content:space-between;
}

.as3d-auth-submit{
  min-width:180px;
  justify-content:center;
}

.as3d-auth-links{
  margin-top:16px;
}

.as3d-trust-card{
  padding:22px 24px;
}

.as3d-trust-card h3{
  font-size:28px;
}

.as3d-trust-list{
  gap:12px;
}

.as3d-trust-list li{
  grid-template-columns:44px 1fr;
  gap:12px;
  padding:14px 16px;
}

@media (max-width:900px){
  .as3d-auth-shell,
  .as3d-auth-shell--registerable{
    max-width:100%;
    margin-top:18px;
  }

  .as3d-auth-card,
  .as3d-trust-card,
  .as3d-auth-card--register{
    max-width:100%;
  }
}

@media (max-width:760px){
  .as3d-auth-hero{
    margin:18px auto 14px;
  }

  .as3d-auth-card,
  .as3d-trust-card{
    padding:18px;
  }

  .as3d-auth-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .as3d-auth-submit{
    width:100%;
    min-width:0;
  }

  .as3d-auth-remember{
    width:100%;
  }
}


/* v1.2.8 RECOVERY: account layout and orphan menu containment */
body.woocommerce-account .as3d-wc-page-wrapper > .as3d-container > h1:not(.as3d-keep),
body.woocommerce-account .as3d-wc-page-wrapper > .as3d-container > h2:not(.as3d-keep),
body.woocommerce-account .as3d-wc-page-wrapper > .as3d-container > h3:not(.as3d-keep),
body.woocommerce-account .as3d-wc-page-wrapper > .as3d-container > p:not(.as3d-keep),
body.woocommerce-account .as3d-wc-page-wrapper > .as3d-container > nav.woocommerce-MyAccount-navigation,
body.woocommerce-account .as3d-wc-page-wrapper > .as3d-container > .woocommerce-MyAccount-navigation,
body.woocommerce-account .as3d-wc-page-wrapper > .as3d-container > .woocommerce-MyAccount-content{
  display:none !important;
}

body.woocommerce-account .woocommerce > h1:not(.as3d-keep),
body.woocommerce-account .woocommerce > h2:not(.as3d-keep),
body.woocommerce-account .woocommerce > h3:not(.as3d-keep),
body.woocommerce-account .woocommerce > p:not(.as3d-keep),
body.woocommerce-account .woocommerce > nav.woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce > .woocommerce-MyAccount-navigation,
body.woocommerce-account .woocommerce > .woocommerce-MyAccount-content{
  display:none !important;
}

body.woocommerce-account .as3d-account-hero,
body.woocommerce-account .as3d-auth-hero{
  display:block !important;
}

body.woocommerce-account .as3d-account-shell,
body.woocommerce-account .as3d-auth-shell{
  display:grid !important;
}

body.woocommerce-account form,
body.woocommerce-account form *,
body.woocommerce-account button,
body.woocommerce-account input,
body.woocommerce-account textarea,
body.woocommerce-account select,
body.woocommerce-account label,
body.woocommerce-account a{
  pointer-events:auto !important;
}
