* {
  box-sizing: border-box;
}

:root {
  --bg: #080808;
  --bg-soft: #111113;
  --card: #16161a;
  --card-light: #1d1d22;
  --gold: #c7a75b;
  --gold-light: #ead59b;
  --text: #f7f2e8;
  --muted: #b9b2a4;
  --border: rgba(199, 167, 91, 0.22);
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(199, 167, 91, 0.12), transparent 35%),
    linear-gradient(180deg, #080808, #111113);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

.navbar {
  width: 90%;
  margin: 25px auto;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(22, 22, 26, 0.88);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-text {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.brand-main {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #d4af37;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 18px;
  font-weight: 700;
  color: white;
  opacity: .9;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu a {
  color: var(--muted);
  font-weight: 700;
  transition: 0.25s;
}

.menu a:hover {
  color: var(--gold-light);
}

.hero {
  background: transparent;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: 70%;
  max-width: 500px;
  height: auto;

  background: transparent !important;
  padding: 0 !important;
  margin: 0 auto;
  display: block;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.gold-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(199, 167, 91, 0.35), transparent 65%);
  filter: blur(20px);
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  min-height: 75vh;
}

.badge {
  display: inline-block;
  background: rgba(199, 167, 91, 0.12);
  color: var(--gold-light);
  border: 1px solid var(--border);
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 800;
}

h1 {
  font-size: 56px;
  line-height: 1.02;
  margin: 20px 0;
  letter-spacing: -1.5px;
}

h2 {
  font-size: 34px;
  margin-top: 0;
}

.subtitle {
  font-size: 20px;
  color: var(--muted);
  max-width: 650px;
  line-height: 1.6;
}

.buttons {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.primary-button,
button {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #090909;
  padding: 15px 24px;
  border-radius: 14px;
  border: 0;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s;
  box-shadow: 0 12px 30px rgba(199, 167, 91, 0.22);
}

.primary-button:hover,
button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(199, 167, 91, 0.32);
}

.secondary-button,
.nav-button {
  display: inline-block;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 15px 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: 0.25s;
}

.secondary-button:hover,
.nav-button:hover {
  background: rgba(199, 167, 91, 0.1);
  color: var(--gold-light);
}

.section {
  padding: 60px 8%;
}

.product-card,
.product,
.benefit-card,
.white-box,
.offer-box,
.form-box,
.faq details,
.cart-item,
.checkout-form,
.checkout-summary {
  background: linear-gradient(180deg, var(--card-light), var(--card));
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.product-card {
  padding: 36px;
  text-align: center;
}

.product-icon {
  font-size: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  margin-bottom: 20px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-card,
.white-box,
.offer-box,
.form-box,
.faq details {
  padding: 26px;
}

.benefit-card p,
.product p,
.footer-column p,
.checkout-summary p {
  color: var(--muted);
  line-height: 1.7;
}

.products {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 35px;
}

.product {
  width: 340px;
  padding: 22px;
  text-align: center;
  transition: 0.3s;
}

.product:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.product img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  border-radius: 18px;
  background: #f4f1ea;
  padding: 12px;
}

.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  padding: 70px 8%;
  align-items: start;
}

.product-image {
  overflow: hidden;
  border-radius: 28px;
}

.product-image img,
#main-image {
  width: 100%;
  border-radius: 24px;
  background: transparent;
}

#main-image {
  cursor: zoom-in;
  transition: transform 0.15s ease;
  transform-origin: center center;
}

#main-image:hover {
  transform: scale(1.6);
}

.product-info ul {
  font-size: 18px;
  line-height: 1.9;
  padding-left: 20px;
  color: var(--muted);
}

.new-price {
  color: var(--gold-light);
  font-size: 36px;
  font-weight: 900;
}

.old-price {
  text-decoration: line-through;
  color: #777;
}

.gallery {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.gallery img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #f4f1ea;
  padding: 6px;
  border: 3px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  transition: 0.2s;
}

.gallery img:hover {
  transform: scale(1.05);
}

.gallery img.active {
  border-color: var(--gold);
  transform: scale(1.08);
}

.colors {
  display: flex;
  gap: 15px;
  margin: 15px 0;
}

.color-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: 0.2s;
}

.black {
  background: #000;
}

.white {
  background: #fff;
}

.color-btn:hover,
.color-btn.selected {
  border-color: var(--gold-light);
  transform: scale(1.15);
}

input,
textarea {
  width: 100%;
  font-size: 16px;
  padding: 15px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: #8f887c;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(199, 167, 91, 0.12);
}

textarea {
  min-height: 110px;
}

.form-box form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}

.faq details {
  margin-bottom: 12px;
}

.faq summary {
  font-weight: 900;
  cursor: pointer;
}

.cart-item {
  display: flex;
  gap: 22px;
  align-items: center;
  padding: 22px;
  margin-bottom: 20px;
}

.cart-item img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #f4f1ea;
  border-radius: 16px;
  padding: 8px;
}

.cart-info {
  flex: 1;
}

.qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 15px 0;
}

.qty button {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  font-size: 20px;
}

.qty span {
  font-size: 20px;
  font-weight: 900;
}

.delete-btn {
  background: #7f1d1d;
  color: white;
  box-shadow: none;
}

.checkout-page {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 35px;
  padding: 70px 8%;
  align-items: start;
}

.checkout-form,
.checkout-summary {
  padding: 35px;
}

.checkout-form {
  display: grid;
  gap: 15px;
}

.checkout-summary {
  position: sticky;
  top: 30px;
}

.checkout-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}

.checkout-summary h3 {
  font-size: 26px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.footer {
  background: #070707;
  color: var(--text);
  margin-top: 80px;
  border-top: 1px solid var(--border);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-column h3 {
  color: var(--gold-light);
  margin-bottom: 20px;
  font-size: 22px;
}

.footer-column a {
  display: block;
  color: var(--muted);
  margin-bottom: 12px;
  transition: 0.25s;
}

.footer-column a:hover {
  color: var(--gold-light);
  padding-left: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(199, 167, 91, 0.16);
  text-align: center;
  padding: 25px;
  color: #8f887c;
}

@media (max-width: 800px) {

  .hero-content,
  .benefits-grid,
  .product-page,
  .checkout-page,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-direction: column;
    gap: 16px;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
  }

  h1 {
    font-size: 68px;
    line-height: 1.05;
    font-weight: 800;
    margin: 20px 0;
    max-width: 900px;
  }

  .hero-text {
    width: 100%;
    max-width: 900px;
  }

  .buttons {
    flex-direction: column;
  }

  .product-icon {
    font-size: 80px;
  }
}

.brand-logo {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.order-card {
  background: linear-gradient(180deg, var(--card-light), var(--card));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.order-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.order-header span {
  color: var(--muted);
}

.order-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.admin-products {
  display: grid;
  gap: 15px;
  margin-top: 15px;
}

.admin-product {
  display: flex;
  gap: 18px;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 15px;
}

.admin-product img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #f4f1ea;
  border-radius: 14px;
  padding: 6px;
}

.order-total {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--gold-light);
  font-size: 26px;
  font-weight: 900;
}

.admin-body {
  background: #080808;
}

.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: #0f0f11;
  border-right: 1px solid var(--border);
  padding: 30px 22px;
}

.admin-logo {
  font-size: 34px;
  font-weight: 900;
  color: var(--gold-light);
  margin-bottom: 35px;
  letter-spacing: 3px;
}

.admin-menu {
  display: grid;
  gap: 12px;
}

.admin-menu button {
  width: 100%;
  text-align: left;
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  box-shadow: none;
}

.admin-menu button:hover {
  background: rgba(199, 167, 91, 0.1);
  color: var(--gold-light);
  border-color: var(--border);
  transform: none;
}

.admin-main {
  padding: 40px;
}

.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.admin-card {
  background: linear-gradient(180deg, var(--card-light), var(--card));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 25px;
  box-shadow: var(--shadow);
}

.admin-card p {
  color: var(--muted);
}

.admin-card h2 {
  color: var(--gold-light);
  font-size: 36px;
}

.login-box {
  width: 420px;
  margin: 120px auto;
  background: linear-gradient(180deg, var(--card-light), var(--card));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 35px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.login-box h1 {
  text-align: center;
  color: var(--gold-light);
  font-size: 36px;
}

#login-error {
  color: #f87171;
  text-align: center;
  font-weight: bold;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-box {
  width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, var(--card-light), var(--card));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header button {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  font-size: 24px;
}

.modal-form {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.preview-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  margin: 8px;
  border: 1px solid var(--border);
}

.color-section {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.uploaded-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.preview-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.feature-row {
  display: flex;
  gap: 12px;
  margin: 10 px 0;
}

.feature-row input {
  flex: 1;
}

.old-price {
  text-decoration: line-through;
  color: #888;
  margin-right: 8px;
  font-size: 14px;
}

.discount-badge {
  display: inline-block;
  margin-top: 8px;
  background: #d62828;
  color: #fff;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
}

.dashboard-box {
  margin-top: 30px;
  background: #111;
  border: 1px solid #333;
  border-radius: 18px;
  padding: 20px;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
  padding: 14px;
  border-bottom: 1px solid #2a2a2a;
  text-align: left;
}

@media (max-width: 768px) {

  .navbar {
    width: 94%;
    padding: 14px 18px;
    flex-direction: column;
    gap: 14px;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .hero-content,
  .product-page,
  .checkout-page,
  .benefits-grid,
  .footer-container {
    grid-template-columns: 1fr;
    padding: 35px 6%;
  }

  h1 {
    font-size: 36px;
    line-height: 1.1;
  }

  h2 {
    font-size: 28px;
  }

  .subtitle {
    font-size: 16px;
  }

  .buttons {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  button {
    width: 100%;
    text-align: center;
  }

  .hero-visual img {
    width: 78%;
    max-width: 320px;
  }

  .gold-glow {
    width: 300px;
    height: 300px;
  }

  .product {
    width: 100%;
  }

  .gallery {
    flex-wrap: wrap;
  }

  .cart-item,
  .admin-product {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .checkout-summary {
    position: static;
  }

  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .admin-menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-main {
    padding: 20px;
  }

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

  .modal-box {
    width: 94%;
    max-height: 90vh;
  }
}