.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #0c2b4e;
  border: 2px solid #39a452;
  border-radius: 50%;
  text-decoration: none;
  width: 64px;
  height: 64px;
  padding: 0;
}

.cart-count {
  position: absolute;
  left: -8px;
  top: -8px;
  background: #39a452;
  color: #ffffff;
  border-radius: 999px;
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  padding: 0 4px;
  border: 2px solid #ffffff;
}

.cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-svg {
  width: 34px;
  height: 34px;
}

.live-with-section {
  background: linear-gradient(180deg, #f3f8ff 0%, #e8f7ec 100%);
}

.live-logos-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}

.live-logo-item {
  background: #ffffff;
  border-radius: 12px;
  min-height: 84px;
  border: 1px solid #d8e5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
}

.live-logo-item img {
  width: 100%;
  max-width: 150px;
  height: 50px;
  object-fit: contain;
}

.seven-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.products-section {
  background: linear-gradient(180deg, #0e3158 0%, #184234 100%);
  color: #ffffff;
  border-radius: 20px;
  margin: 30px 20px;
  padding: 56px 20px;
}

.products-page {
  background: #f4f7f7;
  padding: 20px;
}

.product-hero {
  max-width: 1200px;
  margin: 0 auto 56px;
  background: #dce8e8;
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 20px;
  padding: 34px 42px;
}

.product-hero-copy h1 {
  margin: 0 0 14px;
  color: #355355;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 700;
}

.product-hero-copy p {
  margin: 0 0 24px;
  color: #355355;
  font-size: 18px;
  max-width: 560px;
}

.product-hero-btn {
  display: inline-block;
  background: #39a452;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.product-hero-media {
  display: flex;
  justify-content: center;
}

.product-hero-media img {
  max-width: 100%;
  width: 520px;
  height: 360px;
  object-fit: cover;
  border-radius: 15px;
}

.products-catalog {
  max-width: 1200px;
  margin: 0 auto;
}

.catalog-image-wrap {
  margin: 0 auto 22px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #d7e2e2;
  max-width: 920px;
  background: #e3ecec;
}

.catalog-image-wrap img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.catalog-head {
  text-align: center;
  margin-bottom: 36px;
}

.catalog-head h2 {
  margin: 0 0 12px;
  color: #355355;
  font-size: clamp(32px, 4vw, 56px);
}

.catalog-head p {
  margin: 0;
  color: #355355;
  font-size: 18px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.catalog-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #d7e2e2;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.catalog-card img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  margin-bottom: 6px;
}

.stars {
  margin: 0 0 8px;
  color: #39a452;
  letter-spacing: 2px;
  font-size: 14px;
}

.catalog-card h3 {
  margin: 0 0 6px;
  color: #355355;
  font-size: 24px;
}

.catalog-desc {
  margin: 0 0 6px;
  color: #355355;
  font-size: 14px;
  min-height: 22px;
}

.catalog-price {
  margin: 0 0 12px;
  color: #39a452;
  font-size: 28px;
  font-weight: 700;
}

.product-add-btn {
  background: linear-gradient(90deg, #355355 0%, #39a452 100%);
  min-width: 132px;
}

.product-add-btn:hover {
  background: linear-gradient(90deg, #39a452 0%, #355355 100%);
}

.qty-control {
  width: 100%;
  align-items: center;
  gap: 8px;
}

.qty-control .qty-minus,
.qty-control .qty-plus {
  width: 34px;
  height: 34px;
  border: 1px solid #c8d5d5;
  border-radius: 8px;
  background: #ffffff;
  color: #355355;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.qty-control input {
  width: 72px;
  text-align: center;
}

.qty-control .add-to-cart-btn {
  margin-left: auto;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
}

.products-container h2 {
  margin: 0 0 10px;
  font-size: 40px;
  text-align: center;
}

.products-container > p {
  margin: 0 0 24px;
  text-align: center;
  color: #d5e8ff;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.store-product-card {
  background: #ffffff;
  color: #0c2b4e;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-product-card img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.store-product-card h3 {
  margin: 0;
  font-size: 20px;
}

.store-product-card p {
  margin: 0;
  line-height: 1.5;
}

.price-line {
  color: #355355;
}

.product-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
}

.product-actions input {
  width: 92px;
  border: 1px solid #b5c7db;
  border-radius: 8px;
  padding: 8px;
}

.add-to-cart-btn,
.go-to-cart-btn,
.primary-btn {
  border: none;
  background: #0e3158;
  color: #ffffff;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
}

.go-to-cart-btn.secondary {
  background: #39a452;
}

.products-cta {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-shell {
  max-width: 1120px;
  margin: 30px auto 60px;
  padding: 0 16px;
}

.page-shell h1 {
  color: #0e3158;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.cart-table th,
.cart-table td {
  border-bottom: 1px solid #e9eef7;
  padding: 12px;
  text-align: left;
}

.cart-product-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-product-thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #f6fbfb;
  border: 1px solid #dce6e6;
  padding: 4px;
}

.cart-total-box {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eef4ff;
  padding: 14px;
  border-radius: 12px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
}

.checkout-card {
  background: #ffffff;
  border: 1px solid #dbe6f5;
  border-radius: 12px;
  padding: 16px;
}

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

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  width: 100%;
  border: 1px solid #cad7ea;
  border-radius: 8px;
  padding: 10px;
  font-family: inherit;
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.checkout-thumb {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  background: #f6fbfb;
  border: 1px solid #dce6e6;
  padding: 4px;
}

.muted {
  color: #627890;
  font-size: 14px;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.danger-btn {
  border: 0;
  background: #ad2138;
  color: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
}

.admin-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.order-confirm-wrap {
  min-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 16px 56px;
  background: #efefef;
}

.order-confirm-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  padding: 28px 26px 22px;
  text-align: center;
}

.order-confirm-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  border: 1px solid #39a452;
  color: #39a452;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
}

.order-confirm-greet {
  margin: 0 0 6px;
  color: #355355;
  font-size: 12px;
}

.order-confirm-title {
  margin: 0;
  color: #355355;
  font-size: 24px;
  font-weight: 700;
}

.order-confirm-subtitle {
  margin: 8px 0 14px;
  color: #355355;
  font-size: 12px;
}

.order-confirm-details {
  margin: 0 0 16px;
  padding: 10px 12px;
  background: #f2f7f2;
  border: 1px solid #d5e6d5;
  border-radius: 8px;
  text-align: left;
}

.order-confirm-details p {
  margin: 0 0 6px;
  color: #355355;
  font-size: 13px;
}

.order-confirm-details p:last-child {
  margin-bottom: 0;
}

.check-status-btn {
  display: inline-block;
  min-width: 144px;
  border: 0;
  background: linear-gradient(90deg, #355355 0%, #39a452 100%);
  color: #ffffff;
  border-radius: 4px;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .checkout-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .products-page {
    padding: 16px;
  }

  .product-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
    margin-bottom: 34px;
  }

  .product-hero-copy h1 {
    font-size: clamp(30px, 4.4vw, 48px);
  }

  .product-hero-copy p {
    font-size: 16px;
    max-width: 100%;
  }

  .product-hero-media img {
    width: 100%;
    max-width: 560px;
    height: 300px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .catalog-card h3 {
    font-size: 22px;
  }

  .catalog-price {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .cart-btn {
    width: 56px;
    height: 56px;
  }

  .products-section {
    margin: 20px 10px;
    padding: 40px 12px;
  }

  .products-page {
    padding: 12px;
  }

  .product-hero {
    padding: 18px 16px;
    border-radius: 18px;
    margin-bottom: 26px;
  }

  .product-hero-copy h1 {
    font-size: clamp(26px, 8vw, 38px);
    line-height: 1.1;
  }

  .product-hero-copy p {
    font-size: 15px;
    margin-bottom: 18px;
  }

  .product-hero-media img {
    height: 220px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .catalog-card {
    padding: 14px;
  }

  .catalog-card img {
    height: 146px;
  }

  .catalog-card h3 {
    font-size: 20px;
  }

  .catalog-price {
    font-size: 22px;
  }

  .qty-control {
    flex-wrap: wrap;
    gap: 10px;
  }

  .qty-control input {
    width: 88px;
  }

  .qty-control .add-to-cart-btn {
    margin-left: 0;
    width: 100%;
  }

  .services-header h2 {
    font-size: 42px;
  }

  .order-confirm-card {
    max-width: 360px;
    padding: 22px 18px 18px;
  }
}

@media (max-width: 520px) {
  .product-hero {
    padding: 16px 14px;
  }

  .product-hero-media img {
    height: 190px;
  }

  .catalog-head h2 {
    font-size: clamp(24px, 8vw, 34px);
  }

  .catalog-head p {
    font-size: 15px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-card {
    border-radius: 14px;
  }

  .qty-control .qty-minus,
  .qty-control .qty-plus {
    width: 36px;
    height: 36px;
  }

  .catalog-image-wrap img {
    height: 190px;
  }
}

@media (max-width: 380px) {
  .products-page {
    padding: 10px;
  }

  .product-hero {
    padding: 14px 12px;
    border-radius: 14px;
    gap: 12px;
  }

  .product-hero-copy h1 {
    font-size: clamp(21px, 8.2vw, 28px);
  }

  .product-hero-copy p {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .product-hero-btn {
    width: 100%;
    text-align: center;
    padding: 10px 14px;
    font-size: 14px;
  }

  .product-hero-media img {
    height: 165px;
    border-radius: 12px;
  }

  .catalog-head {
    margin-bottom: 18px;
  }

  .catalog-head h2 {
    font-size: clamp(21px, 7.5vw, 28px);
  }

  .catalog-head p {
    font-size: 14px;
  }

  .catalog-grid {
    gap: 10px;
  }

  .catalog-card {
    padding: 12px;
  }

  .catalog-card img {
    height: 128px;
  }

  .catalog-card h3 {
    font-size: 18px;
  }

  .catalog-desc {
    font-size: 13px;
    min-height: auto;
  }

  .catalog-price {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .qty-control {
    gap: 8px;
  }

  .qty-control input {
    width: 74px;
    min-height: 36px;
  }

  .qty-control .qty-minus,
  .qty-control .qty-plus {
    width: 34px;
    height: 34px;
  }

  .qty-control .add-to-cart-btn {
    font-size: 13px;
    min-height: 38px;
    padding: 8px 10px;
  }
}
