body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, #244dff 0%, #071b70 55%, #020b2d 100%);
  background-attachment: fixed;
  color: white;
  font-family: Arial, sans-serif;
}

/* HEADER */
.header {
  position: relative;
  min-height: 260px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  text-align: center;
}

.logo img {
  width: 260px;
  max-width: 80%;
}

.right {
  position: absolute;
  top: 35px;
  right: clamp(15px, 4vw, 90px);

  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-box {
  position: relative;
  text-align: center;
  color: white;
  cursor: pointer;
  font-size: 18px;
}

.cart-icon,
.profile-icon {
  position: relative;
  font-size: 42px;
  line-height: 1;
}

.badge {
  position: absolute;
  top: -15px;
  right: -18px;
  background: gold;
  color: #001b55;
  font-size: 16px;
  font-weight: bold;
  min-width: 28px;
  height: 28px;
  padding: 2px 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ACCOUNT DROPDOWN */
.account-dropdown {
  position: relative;
}

.account-menu {
  display: none;
  position: absolute;
  top: 62px;
  right: 0;
  width: 220px;
  padding: 8px;
  background: #001b78;
  border: 1px solid rgba(255, 215, 0, 0.55);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  z-index: 99999;
}

.account-dropdown:hover .account-menu {
  display: block;
}

.account-menu::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
}

.account-menu div {
  padding: 12px 14px;
  color: white;
  font-size: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
}

.account-menu div:last-child {
  border-bottom: none;
}

.account-menu > div:not(#admin-section):not(.account-divider):not(.account-section-title):hover {
  color: gold;
  background: rgba(255,215,0,0.12);
  border-radius: 10px;
}

#admin-section > div:not(.account-divider):not(.account-section-title):hover {
  color: gold;
  background: rgba(255,215,0,0.12);
  border-radius: 10px;
}



#admin-section {
  padding: 0;
  border-bottom: none;
}

.account-divider {
  height: 1px;
  margin: 14px 0;
  padding: 0 !important;
  background: rgba(255, 215, 0, 0.35);
  border-bottom: none !important;
}





/* MENU */
.menu{
    position:relative;
    z-index:9999;

    width:min(88%, 1650px);
    margin:-25px auto 80px;

    padding:15px 22px 80px;
    min-height:185px;

    display:flex;
    justify-content:center;
    align-items:flex-start;
    flex-wrap:wrap;

    gap:clamp(18px, 2.4vw, 46px);

    background:rgba(50,95,255,.72);
    border:1px solid rgba(255,215,0,.65);
    border-radius:14px;
    box-shadow:0 0 30px rgba(0,0,0,.35);
    backdrop-filter:blur(8px);
    overflow:visible;
}
.menu-item{
    color:white;
    font-size:clamp(18px, 1.15vw, 28px);
    font-weight:bold;
    cursor:pointer;
    white-space:nowrap;
    padding:18px 0;
}

.menu-item:hover{
    color:gold;
    transition:0.2s;
}

.menu-content {
  display: flex;
  align-items: center;
  gap: 8px;
}









.menu-icon{
    width:clamp(22px,1.5vw,34px);
    height:clamp(22px,1.5vw,34px);
}

/* DROPDOWN MONSTER */
.dropdown {
  z-index: 999999;
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 70px;
  left: -25px;
  width: 190px;
  padding: 8px;
  background: #001b78;
  border: 1px solid rgba(255, 215, 0, 0.55);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  overflow: hidden;
  z-index: 999999;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu div {
  padding: 12px 14px;
  font-size: 20px;
  font-weight: 600;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: 0.22s;
  cursor: pointer;
  position: relative;
  z-index: 100000;
}

.dropdown-menu div:last-child {
  border-bottom: none;
}

.dropdown-menu div:hover {
  background: rgba(255, 215, 0, 0.12);
  color: gold;
  padding-left: 24px;
  border-radius: 10px;
}

/* SEARCH */
.search {
  position: relative;
  width: 48%;
  margin: 0 auto 55px;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.search input {
  flex: 1;
  height: 52px;
  border: none;
  padding: 0 22px;
  font-size: 18px;
  border-radius: 10px 0 0 10px;
}

.search button {
  width: 140px;
  border: none;
  background: linear-gradient(180deg, #ffe16a, #ffbf00);
  color: #06164d;
  font-size: 20px;
  font-weight: bold;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
}

/* PRODUCTS */
.products {
  width: 86%;
  margin: 55px auto 90px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 38px;
}

.product-card {
  width: 300px;
  min-height: 470px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(0, 36, 120, 0.92), rgba(0, 18, 80, 0.95));
  border: 1px solid rgba(255, 215, 0, 0.5);
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  color: white;
  text-align: center;
  transition: 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: gold;
  box-shadow:
    0 24px 50px rgba(0,0,0,0.55),
    0 0 22px rgba(255, 215, 0, 0.22);
}

.product-card img {
  width: 210px;
  height: 210px;
  object-fit: contain;
  margin-bottom: 18px;
  transition: 0.25s ease;
}

.product-card:hover img {
  transform: scale(1.04);
}

.product-card h3 {
  min-height: 58px;
  font-size: 24px;
  margin: 8px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price,
.product-card .price {
  color: gold;
  font-size: 30px;
  font-weight: bold;
  margin: 8px 0;
}

.product-card p {
  margin: 7px 0;
}

.product-card button {
  width: 100%;
  margin-top: 10px;
  padding: 13px;
  background: linear-gradient(180deg, #ffe46e, #ffbf00);
  border: none;
  border-radius: 11px;
  color: #06164d;
  font-size: 17px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s ease;
}

.product-card button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* CART */
.cart-panel {
  position: fixed;
  top: 0;
  right: -500px;
  width: 380px;
  height: 100vh;
  background: #063aa0;
  color: white;
  padding: 25px;
  transition: 0.3s;
  z-index: 100000;
  box-shadow: -5px 0 20px rgba(0,0,0,0.4);
  overflow-y: auto;
}

.cart-panel.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header button,
.cart-panel > button {
  background: gold;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}



.cart-total {
  margin-top: 20px;
  font-size: 22px;
  font-weight: bold;
  color: gold;
}

.cart-item button {
  background: crimson;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

.quantity-controls button {
  width: 35px;
  height: 35px;
  border: none;
  background: gold;
  color: #06164d;
  font-size: 20px;
  cursor: pointer;
  border-radius: 6px;
  font-weight: bold;
}

.quantity-controls span {
  font-size: 20px;
  font-weight: bold;
}

/* LOGIN */
.login-panel {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200000;
  justify-content: center;
  align-items: center;
}

.login-panel.open {
  display: flex;
}

.login-box {
  position: relative;
  width: 420px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  background: #063aa0;
  padding: 70px 35px 35px;
  border-radius: 15px;
  text-align: center;
  color: white;
  box-shadow: 0 0 30px rgba(0,0,0,0.4);
  box-sizing: border-box;
}

.login-box h2 {
  margin-top: 0;
  margin-bottom: 30px;
  font-size: 32px;
}

.login-box input {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 18px;
  margin: 12px 0;
  border: none;
  border-radius: 6px;
  font-size: 18px;
}

.login-box button {
  background: gold;
  border: none;
  padding: 14px 24px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  margin-top: 15px;
}

.close-login {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: gold;
  border: none;
  border-radius: 10px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.login-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}

#logout-button {
  display: none;
}

#user-message {
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
}

/* PRODUCT DETAIL */
.product-detail {
  justify-content: center;
  padding: 60px 40px;
}

.product-detail-card {
  position: relative;

  display: flex;
  gap: 60px;
  max-width: 1400px;
  width: 95%;
  padding: 30px;
  border-radius: 18px;
  background: rgba(0, 22, 85, 0.72);
  border: 1px solid rgba(255, 215, 0, 0.55);
  color: white;
  box-shadow: 0 18px 35px rgba(0,0,0,0.35);
}

.main-product-image{
    width:450px;
    height:450px;
    object-fit:contain;
}

.product-detail-info {
  flex: 1;
  max-width: 700px;
}

.product-detail-info h2 {
  font-size: 52px;
  line-height: 1.1;
  margin-top: 0;
  margin-bottom: 25px;
}






.product-detail-info p {
  font-size: 22px;
  line-height: 1.7;
  color: rgba(255,255,255,0.95);
}


.product-detail-info .price{
    font-size:52px;
    font-weight:bold;
    color:gold;
    margin:10px 0 15px;
}







.product-detail-info button,
.back-button,
.back-home-button {
  background: gold;
  border: none;
  padding: 14px 22px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 15px;
}









.back-button{
    position:absolute;
    top:25px;
    left:25px;

    padding:12px 18px;
    border-radius:12px;

    font-size:16px;
    background:rgba(255,215,0,0.95);

    z-index:20;
}












/* ORDERS / ADDRESS / CHECKOUT COMMON */
.order-item,
.saved-address-box,
.checkout-section {
    background: rgba(0, 20, 120, 0.88);
    border: 1px solid rgba(255,215,0,0.45);
    border-radius: 18px;

    padding: 14px 16px;
    margin: 12px auto;

    box-shadow: 0 10px 25px rgba(0,0,0,0.22);
    color: white;
}

.saved-address-box {
  max-width: 480px;
}

.checkout-container {
    width: 85%;
    max-width: 1100px;
    margin: 0 auto 10px;
}

.checkout-section {
  max-width: 900px;
}

.checkout-product {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}




.checkout-total {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.12);

  font-size: 34px;
  font-weight: bold;
  color: gold;

  text-align: right;
  text-shadow: 0 0 18px rgba(255,215,0,0.25);
}










.pay-button {
  display: block;
  width: 260px;
  margin: 10px auto 0;
  padding: 20px;
  background: linear-gradient(180deg, #ffe46d, #ffcc00);
  color: #06164d;
  border: none;
  border-radius: 18px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(255,215,0,0.35);
  transition: 0.25s;
}

.pay-button:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 18px 40px rgba(255,215,0,0.5);
}

.pay-button:active {
  transform: scale(0.98);
}

.back-home-button {
  margin-top: 30px;
  padding: 18px 42px;
  background: linear-gradient(180deg, #ffe16a, #ffbf00);
  color: #06164d;
  border: none;
  border-radius: 14px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.back-home-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.back-home-button:active {
  transform: scale(0.98);
}

/* RESPONSIVE */



/* RESPONSIVE NOTEBOOK */
@media (max-width: 1400px){
    .menu{
        width:92%;
        gap:24px;


    }

    .menu-item{
        font-size:22px;
    }

    .menu-icon{
        width:26px;
        height:26px;
    }
}









/* RESPONSIVE TABLET */
@media (max-width: 900px) {

    .right {
        right:20px;
        top:25px;
    }

    .search {
    width: 85%;
  }

  .product-detail-card {
    flex-direction: column;
    text-align: center;
  }

  .product-detail-card img {
    width: 100%;
    height: 260px;
  }
}



.account-section-title {
  color: gold;
  font-size: 15px;
  font-weight: bold;
  padding: 8px 14px;
  opacity: 0.9;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.account-divider {
  height: 1px;
  margin: 14px 0;
  background: rgba(255, 215, 0, 0.35);
}



.checkout-notice {
  max-width: 900px;
  margin: 0 auto 25px;
  padding: 16px 22px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid rgba(255, 215, 0, 0.55);
  border-radius: 14px;
  color: gold;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}



.checkout-section button {
  margin-top: 25px;
  padding: 14px 26px;
  background: linear-gradient(180deg, #ffe46d, #ffcc00);
  color: #06164d;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s;
}

.checkout-section button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255,215,0,0.35);
}



.payment-methods {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 25px;
}

.payment-card {
  position: relative;
  min-width: 220px;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,215,0,0.25);
  cursor: pointer;
  transition: 0.25s;
  overflow: hidden;
}

.payment-card:hover {
  transform: translateY(-4px);
  border-color: gold;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.payment-card span {
  font-size: 22px;
  font-weight: bold;
  color: white;
}

.payment-card input {
  position: absolute;
  opacity: 0;
}

.payment-card input:checked + span {
  color: white;
}



.minimum-status {
  max-width: 900px;
  margin: -6px auto 10px;

  padding: 8px 14px;

  border-radius: 12px;
  text-align: center;

  font-weight: bold;
  font-size: 15px;
}

.minimum-status.ok {
  color: #00ff99;
  border: 1px solid rgba(0,255,153,0.45);
  background: rgba(0,255,153,0.08);
}

.minimum-status.ko {
  color: #ffcc00;
  border: 1px solid rgba(255,204,0,0.45);
  background: rgba(255,204,0,0.08);
}



.pay-button.disabled {
    opacity: 0.45;
    filter: grayscale(1);
    cursor: not-allowed;
    box-shadow: none;
}


.success-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  z-index: 999999;
  align-items: center;
  justify-content: center;
}

.success-popup.open {
  display: flex;
}

.success-box {
  width: 420px;
  max-width: 90%;
  padding: 40px;
  text-align: center;
  background: linear-gradient(180deg, #063aa0, #001b78);
  border: 1px solid rgba(255,215,0,0.65);
  border-radius: 22px;
  color: white;
  box-shadow: 0 25px 70px rgba(0,0,0,0.55);
}

.success-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: gold;
  color: #06164d;
  font-size: 52px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-box h2 {
  font-size: 34px;
  margin: 10px 0 18px;
}

.success-box button {
  margin-top: 25px;
  padding: 16px 28px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffe46d, #ffcc00);
  color: #06164d;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}




.orders-page-list {
  margin-top: 30px;
}

.order-premium-card {
  padding: 30px;
  margin-bottom: 25px;
  background: linear-gradient(180deg, rgba(0, 36, 120, 0.92), rgba(0, 18, 80, 0.95));
  border: 1px solid rgba(255, 215, 0, 0.5);
  border-radius: 20px;
  box-shadow:
0 15px 35px rgba(0,0,0,.25),
0 0 30px rgba(255,215,0,.05);
  color: white;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 18px;
}

.order-card-header h2 {
  margin: 0;
  color: gold;
}

.order-card-header p {
  margin: 8px 0 0;
  opacity: 0.85;
}

.order-status{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:9px 20px;
    border-radius:999px;

    background:rgba(0,180,80,.18);
    color:#4dff88;
    border:1px solid rgba(77,255,136,.65);

    font-size:13px;
    font-weight:800;
    text-transform:uppercase;

    box-shadow:0 0 16px rgba(0,255,120,.18);
}

.order-products {
  margin: 22px 0;
}

.order-product-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.order-total {
  text-align: right;
  color: gold;
  font-size: 42px;
  font-weight: bold;
}

.orders-empty {
  padding: 30px;
  text-align: center;
  border-radius: 18px;
  background: rgba(0, 22, 85, 0.72);
  border: 1px solid rgba(255, 215, 0, 0.45);
  font-size: 22px;
  font-weight: bold;
}





.admin-orders-list {
  margin-top: 30px;
}

.admin-order-card {
  padding: 28px;
  margin-bottom: 28px;
  background: linear-gradient(180deg, rgba(0, 36, 120, 0.92), rgba(0, 18, 80, 0.95));
  border: 1px solid rgba(255, 215, 0, 0.5);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  color: white;
}

.admin-order-header,
.admin-order-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.admin-order-header {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.admin-order-header h2 {
  margin: 0;
  color: gold;
}

.admin-order-header p {
  margin: 8px 0 0;
  opacity: 0.85;
}

.admin-order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 24px 0;
}

.admin-order-box {
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

.admin-order-box h3,
.admin-order-products h3 {
  margin-top: 0;
  color: gold;
}

.admin-product-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.admin-order-total {
  color: gold;
  font-size: 28px;
  font-weight: bold;
}

.admin-status-select {
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,215,0,0.55);
  background: #001b78;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

@media (max-width: 800px) {
  .admin-order-grid {
    grid-template-columns: 1fr;
  }

  .admin-order-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}



.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 25px 0 35px;
}

.admin-stat-card {
  padding: 22px;
  border-radius: 18px;
  background: rgba(0, 22, 85, 0.72);
  border: 1px solid rgba(255, 215, 0, 0.45);
  box-shadow: 0 14px 30px rgba(0,0,0,0.3);
}

.admin-stat-card span {
  display: block;
  color: white;
  opacity: 0.85;
  margin-bottom: 10px;
}

.admin-stat-card strong {
  color: gold;
  font-size: 30px;
}



.sold-out-button {
  background: #555 !important;
  color: #ddd !important;
  cursor: not-allowed !important;
  opacity: 0.65;
  filter: grayscale(1);
}




.tracking-box{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

.tracking-input{
  background:#11258f;
  border:1px solid rgba(255,215,0,.4);
  color:white;
  padding:12px 16px;
  border-radius:12px;
  outline:none;
  min-width:220px;
  font-size:14px;
}

.tracking-input::placeholder{
  color:rgba(255,255,255,.5);
}

.save-tracking-btn{
  background:linear-gradient(180deg,#ffd93b,#ffbf00);
  color:#001b7a;
  border:none;
  padding:12px 20px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
  transition:.2s;
}

.save-tracking-btn:hover{
  transform:translateY(-2px);
}



.customer-tracking-box {
  margin-top: 20px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,215,0,0.35);
}

.customer-tracking-box h3 {
  margin-top: 0;
  color: gold;
}


.copy-tracking-btn {
  margin-top: 12px;
  padding: 12px 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffe46d, #ffcc00);
  color: #06164d;
  font-weight: bold;
  cursor: pointer;
}




.address-premium-box {
  max-width: 620px;
  padding: 26px;
}

.address-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.address-row:last-child {
  border-bottom: none;
}

.address-row span {
  color: gold;
  font-weight: bold;
}

.address-row strong {
  text-align: right;
}


.address-premium-page {
  max-width: 1050px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 60px;
  align-items: start;
}

.address-form-card,
.address-summary-card {
  padding: 34px;
  border-radius: 22px;
  background: rgba(0, 22, 85, 0.78);
  border: 1px solid rgba(255, 215, 0, 0.45);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  color: white;
}








.address-summary-card{
    min-width: 300px;
    min-height: 320px;
    padding:40px;

    border-radius:24px;

    box-shadow:
        0 20px 45px rgba(0,0,0,.35),
        0 0 25px rgba(255,215,0,.08);
}








.address-form-card h2,
.address-summary-card h2 {
  margin-top: 0;
  color: gold;
}

.address-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.address-form-grid input,
.address-form-grid select {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 215, 0, 0.35);
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 16px;
  outline: none;
}

.address-form-grid input::placeholder {
  color: rgba(255,255,255,0.65);
}

.address-form-grid select option {
  color: black;
}

.save-address-btn {
  margin-top: 24px;
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffe46d, #ffcc00);
  color: #06164d;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0,0,0,0.35);
}

@media (max-width: 900px) {
  .address-premium-page {
    grid-template-columns: 1fr;
  }

  .address-form-grid {
    grid-template-columns: 1fr;
  }
}



.admin-bottom-section {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-total-big {
  font-size: 46px;
  font-weight: 800;
  color: #ffd600;
}

.admin-tracking-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-status-box {
  margin-top: 10px;
}

.admin-status-select {
  width: 220px;
}





.admin-order-footer {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.tracking-box {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.tracking-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.admin-order-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
padding-top: 18px;
}

.admin-order-total {
  font-size: 34px;
  font-weight: 800;
  color: #ffd600;
}

@media (max-width: 900px) {
  .admin-order-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .tracking-inputs {
    grid-template-columns: 1fr;
  }

  .admin-order-right {
    align-items: stretch;
  }
}



.admin-order-prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.admin-price-row {
  display: flex;
  gap: 12px;
  font-size: 16px;
  color: #ffffffcc;
}

.admin-price-row strong {
  color: white;
}



.order-price-summary {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.order-price-row {
  display: flex;
  gap: 12px;
  font-size: 17px;
  color: rgba(255,255,255,0.85);
}

.order-price-row strong {
  color: white;
}





.tracking-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 14px 24px;
  border-radius: 14px;
  background: #ffd600;
  color: #001b7a;
  font-weight: 700;
  text-decoration: none;
  transition: 0.2s;
}

.tracking-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255,214,0,0.4);
}



.admin-filter-bar {
  display: flex;
  gap: 12px;
  margin: 28px 0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255,215,0,0.5);
  background: rgba(0, 22, 85, 0.75);
  color: white;
  font-weight: 700;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: #ffd600;
  color: #06164d;
}



.magic-dropdown {
  left: 45px;
}



.action-dropdown {
    left: 40px;
}



.accessories-menu {
    position: relative;
}

.accessories-dropdown {
    display: none;
    position: absolute;
    top: 70px;
    left: -30px;

    min-width: 250px;

    padding: 8px;
    background: #001b78;
    border: 1px solid rgba(255, 215, 0, 0.55);
    border-radius: 0 0 18px 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    overflow: hidden;
    z-index: 99999;
}

.accessories-menu:hover .accessories-dropdown {
    display: block;
}

.accessories-dropdown .dropdown-item {
    padding: 12px 14px;
    font-size: 20px;
    font-weight: 600;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    transition: 0.22s;
    cursor: pointer;
    position: relative;
    z-index: 100000;
}

.accessories-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.accessories-dropdown .dropdown-item:hover {
    background: rgba(255, 215, 0, 0.12);
    color: gold;
    padding-left: 24px;
    border-radius: 10px;
}




.avatar-circle {
    width: 60px;
    height: 60px;

    border-radius: 50%;

    background: gold;
    color: #001a80;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    font-weight: bold;

    box-shadow: 0 0 15px rgba(255,215,0,0.4);
}



.feedback-message {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

.feedback-message-box {
  background: linear-gradient(180deg, #063aa0, #001b78);
  border: 1px solid gold;
  border-radius: 22px;
  padding: 35px 45px;
  color: white;
  text-align: center;
  box-shadow: 0 25px 70px rgba(0,0,0,0.55);
}

.feedback-message-box h2 {
  color: gold;
  margin-top: 0;
}



.verify-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 10, 50, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.verify-popup-box {
  width: 90%;
  max-width: 480px;
  background: linear-gradient(135deg, #0033cc, #001b78);
  border: 1px solid #ffd700;
  border-radius: 24px;
  padding: 36px 28px;
  text-align: center;
  color: white;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}

.verify-popup-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #ffd700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}

.verify-popup-box h2 {
  font-size: 30px;
  margin-bottom: 14px;
}

.verify-popup-box p {
  font-size: 17px;
  line-height: 1.5;
}

.verify-popup-box button {
  margin-top: 22px;
  background: #ffd700;
  color: #001b78;
  border: none;
  border-radius: 14px;
  padding: 14px 34px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}




.address-error {
  margin-top: 15px;
  color: #ff4d4d;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  min-height: 20px;
}


.form-error{
  color:#ff4d4d;
  font-size:14px;
  font-weight:600;
  margin-top:8px;
  margin-bottom:10px;
  min-height:18px;
}

.forgot-password-btn {
    display: block;
    margin: 20px auto;
    width: 320px;
}


.cart-item-image {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 8px;
}


.main-product-image {
  cursor: zoom-in;
  transition: transform 0.1s ease;
}





.product-gallery {
  overflow: hidden;
}






.gallery-arrow{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 48px;
    height: 48px;

    border: none;
    border-radius: 50%;

    background: rgba(0,0,0,0.45);
    color: white;

    font-size: 36px;
    font-weight: bold;

    cursor: pointer;
    z-index: 5;
}

.gallery-arrow:first-child{
    left: 20px;
}

.gallery-arrow:last-child{
    right: 20px;
}

.gallery-arrow:hover{
    background: rgba(0,0,0,0.75);
}

.gallery-arrow:hover{
    transform:scale(1.1);
}




.product-gallery{
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}




.product-gallery{
    flex:1;
    justify-content:center;
}



.product-description-box{
    margin-top:25px;
    padding:22px;
    border-radius:18px;
    background:rgba(255,255,255,0.06);
    border:1px solid rgba(255,255,255,0.12);
}

.product-description-box h3{
    margin-top:0;
    color:gold;
    font-size:24px;
}

.product-description-box p{
    font-size:20px;
    line-height:1.7;
    margin-bottom:0;
}



.product-detail-info button{
    width:260px;
    padding:18px 26px;
    font-size:20px;
    border-radius:14px;
    margin-top:22px;
}




.cart-item-image{
  width:70px;
  height:80px;
  object-fit:contain;
  border-radius:12px;
  background:rgba(255,255,255,0.08);
  padding:4px;
}

.cart-item h3{
  margin:0 0 8px;
  font-size:19px;
}

.cart-item p{
  margin:6px 0;
}

.quantity-controls{
  margin-top:10px;
}

.cart-total{
  font-size:34px;
  color:gold;
  font-weight:bold;
  margin-top:35px;
}

.cart-panel > button{
  width:130px;
  padding:12px;
  font-size:16px;
}

.cart-header h2{
    font-size:36px;
    margin:0;
    color:white;
}




.cart-item h3{
  font-size:22px;
  line-height:1.2;
  margin:0 0 10px;
}



.cart-item .price{
  font-size:24px;
  color:gold;
  font-weight:bold;
}


.cart-item button{
  background:transparent;
  color:#ff6b6b;
  border:none;
  padding:0;
  margin-top:8px;
  font-size:13px;
  font-weight:bold;
}






.cart-item{
  display:grid;
  grid-template-columns:90px 1fr;
  gap:12px;
  align-items:start;

  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:14px;

  padding:10px;
  margin-bottom:15px;
}



.quantity-controls{
    display:flex;
    align-items:center;
    gap:8px;
}



.quantity-controls button{
    width:30px;
    height:30px;
    padding:0;
}



.cart-footer{
    position:sticky;
    bottom:0;

    background:#0b2b96;
    padding:15px;
    border-top:1px solid rgba(255,255,255,.15);
}




.cart-item{
    display:flex;
    gap:12px;
    align-items:flex-start;
}

.cart-item-info{
    flex:1;
}

.cart-item h3{
    font-size:18px;
    margin:0 0 8px;
}

.cart-item .price{
    font-size:20px;
    color:gold;
    font-weight:bold;
    margin:0 0 10px;
}

.remove-item-btn{
    background:#e53935;
    color:white;
    border:none;
    padding:8px 12px;
    border-radius:8px;
    cursor:pointer;
}





.shop-benefits{
    background:#000;
    padding:40px 80px;

    display:flex;
    justify-content:space-between;
    align-items:flex-start;
margin-top:70px;
}

.benefit{
    display:flex;
    align-items:center;
    gap:24px;

    width:30%;
}

.benefit img{
    width:72px;
    height:72px;
    object-fit:contain;
    flex-shrink:0;
}





.benefit img[src="contact.png"]{
    width:72px;
    height:72px;
    object-fit:cover;
    border-radius:8px;
}














.benefit-text h3{
    color:gold;
    font-size:28px;
    margin:0 0 10px;
}
.benefit-text p{
    color:white;
    font-size:14px;
    line-height:1.6;
    margin:0;
}








.footer-bottom{
    background:#050505;
    border-top:1px solid rgba(255,255,255,.08);

    text-align:center;
    padding:18px 15px;

    color:rgba(255,255,255,.65);
    font-size:14px;
}

.footer-bottom p{
    margin:4px 0;
}





.account-dropdown p::after{
    content:"⌄";
    color:gold;
    font-size:16px;
    margin-left:6px;
}


body{
    min-height:100vh;
    display:flex;
    flex-direction:column;
}



.main-content{
    flex:1;
}




.orders-title{
    text-align:center;
    color:white;
    font-size:42px;
    margin:25px 0 40px;
    font-weight:700;
}

.orders-title::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    background:gold;
    margin:12px auto 0;
    border-radius:20px;
}


.status-pagato{
  background:rgba(0,180,80,.18);
  color:#4dff88;
  border-color:rgba(77,255,136,.65);
}



.order-product-left{
  display:flex;
  align-items:center;
  gap:16px;

}

.order-product-left img{
  width:70px;
  height:70px;
  object-fit:contain;
  border-radius:10px;
  background:rgba(255,255,255,.08);
  padding:6px;
}

.order-product-left small{
  display:block;
  margin-top:4px;
  color:gold;
  font-weight:bold;
}


.order-date{
    color:#bfc8ff;
    font-size:14px;
    margin-top:5px;
}




.order-product-row{
    padding:15px 0;
}


.order-product-row:not(:last-child){
    border-bottom:1px solid rgba(255,255,255,.08);
}


.order-card-header h2{
    color:#ffd700;
    font-size:30px;
    margin:0;
}



.order-product-left span{
    font-size:16px;
    font-weight:600;
}


.order-premium-card{
    padding:24px;
}



.address-top-bar{
    margin:30px auto 25px;
    width:95%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    background:linear-gradient(180deg, #ffe46d, #ffbf00);
    border-radius:14px;
    padding:0 30px;
    height:62px;

    box-sizing:border-box;
}

.address-top-bar button{
    background:transparent;
    border:none;
    color:#06164d;
    font-size:22px;
    font-weight:bold;
    cursor:pointer;
}

.address-safe-text{
    margin-top:18px;
    text-align:center;
    color:rgba(255,255,255,.75);
    font-size:16px;
    font-weight:600;
}


.address-premium-page{
    margin-top:50px;
max-width:1200px;
}


.address-title{
    text-align:center;
    color:white;
    font-size:42px;
    margin:25px 0 40px;
    font-weight:700;
}

.address-title::after{
    content:"";
    display:block;
    width:80px;
    height:4px;
    background:gold;
    margin:12px auto 0;
    border-radius:20px;
}



.address-summary-card .value{
    color:#fff;
    font-weight:700;
}








.customer-name{
    color:#ffd700;
    font-size:18px;
    font-weight:800;
}


.page-content{
    flex:1;
}



.password-wrapper{
    position:relative;
    width:100%;
    margin:12px 0;
}

.password-wrapper input{
    width:100%;
    box-sizing:border-box;
    padding:14px 90px 14px 18px;
    margin:0;

    border:none;
    border-radius:6px;

    min-height:56px;

    font-size:18px;
    color:#111;
    background:#fff;

    font-family:Arial, sans-serif;
}

.password-wrapper input::placeholder{
    color:#888;
    opacity:1;
}

.toggle-password{
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    height:38px;
    min-width:68px;
    padding:0 10px;
    border:none;
    border-radius:8px;
    background:#ffd700;
    color:#063aa0;
    font-size:13px;
    font-weight:bold;
    cursor:pointer;
    z-index:10;
}

/* Nasconde l'occhio automatico dei browser */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear{
    display:none;
}

input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-textfield-decoration-container{
    display:none !important;
}













.all-products-image-link img{
    width:220px;
    height:110px;
    object-fit:contain;
    display:block;
}

.all-products-image-link img:hover{
    transform:scale(1.04);
}


/* FIX FINALI RESPONSIVE / LOGIN */
@media (max-width: 768px){
    html, body{
        width:100%;
        overflow-x:hidden;
    }

    .header{
        min-height:170px;
    }

    .logo{
        position:relative;
        left:-20px;
        top:15px;
    }

    .logo img{
        width:120px;
    }

    .right{
        top:5px;
        right:10px;
        gap:10px;
    }

    .cart-icon,
    .profile-icon{
        font-size:26px;
    }

    .icon-box{
        font-size:12px;
    }





    .search{
        width:92%;
        margin-bottom:30px;
    }

    .products{
        width:94%;
        gap:25px;
    }

    .product-card{
        width:90%;
        max-width:320px;
        box-sizing:border-box;
    }

    .cart-panel{
        width:320px;
        max-width:85vw;
        right:-420px;
    }

    .cart-panel.open{
        right:0;
    }

    .shop-benefits{
        flex-direction:column;
        align-items:center;
        padding:40px 20px;
        gap:40px;
    }

    .benefit{
        width:100%;
        max-width:350px;
        flex-direction:column;
        text-align:center;
        gap:15px;
    }

    .benefit img{
        width:70px;
        height:70px;
    }

    .benefit-text h3{
        font-size:24px;
        margin-bottom:10px;
    }

    .benefit-text p{
        font-size:16px;
        line-height:1.5;
    }
}



.password-hidden{
    -webkit-text-security: disc;
}










.menu-card {
  transition: transform 0.25s ease,
              box-shadow 0.25s ease,
              border-color 0.25s ease;
  border: 2px solid transparent;
  border-radius: 20px;
  overflow: hidden;
}

.menu-card:hover {
  transform: scale(1.05);
  border-color: #ffd700;
  box-shadow:
    0 0 15px rgba(255,215,0,0.6),
    0 0 30px rgba(255,215,0,0.3);
}

.menu-card img {
  display: block;
  width: 100%;
  transition: transform 0.25s ease;
}

.menu-card:hover img {
  transform: scale(1.03);
}





.footer-links{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
  margin:10px 0 25px;
}

.footer-links a{
  color:#ffd700;
  text-decoration:none;
  font-weight:bold;
}

.footer-links a:hover{
  text-decoration:underline;
}

.cookie-banner{
  display:none;
  position:fixed;
  left:50%;
  bottom:25px;
  transform:translateX(-50%);
  width:90%;
  max-width:900px;
  z-index:99999;

  background:rgba(0, 20, 90, 0.97);
  border:1px solid #ffd700;
  border-radius:14px;
  padding:18px 22px;

  color:white;
  box-shadow:0 0 20px rgba(255,215,0,0.35);

  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.cookie-banner p{
  margin:0;
  font-size:14px;
  line-height:1.5;
}

.cookie-banner button{
  background:#ffd700;
  color:#001b78;
  border:none;
  border-radius:10px;
  padding:10px 20px;
  font-weight:bold;
  cursor:pointer;
  white-space:nowrap;
}

.cookie-banner button:hover{
  box-shadow:0 0 12px #ffd700;
}









@media (max-width:600px){
  .cookie-banner{
    flex-direction:column;
    align-items:flex-start;
  }

  .cookie-banner button{
    width:100%;
  }
}



















