:root {
  --zy-seller-primary: #0f5b46;
  --zy-seller-primary-dark: #0b4435;
  --zy-seller-primary-soft: #edf6f2;
  --zy-seller-border: #e4eae7;
  --zy-seller-text: #17201d;
  --zy-seller-muted: #737d79;
}

/* Page */

.zy-seller-page {
  min-height: 100vh;
  padding: 22px 0 70px;
  background: #ffffff;
}

/* Breadcrumb */

.zy-seller-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;

  margin-bottom: 20px;

  font-size: 12px;
  color: #87908d;
}

.zy-seller-breadcrumb a {
  color: var(--zy-seller-primary);
  text-decoration: none;
}

.zy-seller-breadcrumb i {
  font-size: 9px;
}

/* ===================================
   SELLER HEADER
=================================== */

.zy-seller-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;

  padding: 30px;

  background: linear-gradient(120deg, #f8faff 0%, #ffffff 52%, #f3f7ff 100%);

  border: 1px solid var(--zy-seller-border);
  border-radius: 22px;
}

.zy-seller-main-info {
  display: flex;
  align-items: center;
  gap: 22px;

  flex: 1;
  min-width: 0;
}

/* Logo */

.zy-seller-logo-box {
  position: relative;

  flex: 0 0 auto;
}

.zy-seller-logo {
  width: 108px;
  height: 108px;

  display: block;

  object-fit: cover;

  border: 5px solid #ffffff;
  border-radius: 50%;

  box-shadow: 0 4px 18px rgba(18, 72, 57, 0.08);
}

.zy-seller-logo-verified {
  position: absolute;

  right: 1px;
  bottom: 5px;

  width: 27px;
  height: 27px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #ffffff;

  border-radius: 50%;

  color: var(--zy-seller-primary);

  font-size: 18px;
}

/* Info */

.zy-seller-info {
  min-width: 0;
}

.zy-seller-name-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;

  margin-bottom: 9px;
}

.zy-seller-name-line h1 {
  margin: 0;

  color: var(--zy-seller-text);

  font-size: 25px;
  font-weight: 700;
  line-height: 1.25;

  letter-spacing: -0.4px;
}

.zy-seller-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  padding: 4px 9px;

  background: var(--zy-seller-primary-soft);

  border-radius: 30px;

  color: var(--zy-seller-primary);

  font-size: 11px;
  font-weight: 600;
}

.zy-seller-details-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;

  margin-bottom: 13px;
}

.zy-seller-details-line > span {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  font-size: 12px;

  color: var(--zy-seller-muted);
}

.zy-seller-details-line i {
  color: var(--zy-seller-primary);
}

.zy-seller-rating i {
  color: #f5a623;
}

.zy-seller-rating small {
  color: #909895;
}

.zy-seller-description {
  max-width: 650px;

  margin: 0;

  color: #66716d;

  font-size: 13px;
  line-height: 1.7;
}

/* Stats */

.zy-seller-stats {
  display: flex;
  align-items: center;

  padding: 17px 20px;

  background: #ffffff;

  border: 1px solid #e7ece9;
  border-radius: 15px;

  flex: 0 0 auto;
}

.zy-seller-stat-item {
  min-width: 80px;

  text-align: center;
}

.zy-seller-stat-item strong {
  display: block;

  margin-bottom: 2px;

  color: var(--zy-seller-text);

  font-size: 20px;
  font-weight: 700;
}

.zy-seller-stat-item span {
  display: block;

  color: #808986;

  font-size: 11px;
}

.zy-seller-stat-divider {
  width: 1px;
  height: 30px;

  margin: 0 8px;

  background: #e6ebe8;
}

/* ===================================
   TRUST ROW
=================================== */

.zy-seller-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 20px;

  padding: 20px 4px;

  border-bottom: 1px solid #edf0ef;
}

.zy-seller-trust-item {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;
}

.zy-seller-trust-item > i {
  font-size: 20px;

  color: var(--zy-seller-primary);
}

.zy-seller-trust-item strong {
  display: block;

  margin-bottom: 1px;

  color: #26302c;

  font-size: 12px;
  font-weight: 600;
}

.zy-seller-trust-item span {
  display: block;

  color: #8a9390;

  font-size: 10px;
}

/* ===================================
   PRODUCT SECTION
=================================== */

.zy-seller-products-section {
  padding-top: 38px;
}

.zy-seller-products-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 22px;
}

.zy-seller-products-label {
  display: block;

  margin-bottom: 5px;

  color: var(--zy-seller-primary);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.zy-seller-products-heading h2 {
  margin: 0 0 4px;

  color: var(--zy-seller-text);

  font-size: 22px;
  font-weight: 700;

  letter-spacing: -0.3px;
}

.zy-seller-products-heading p {
  margin: 0;

  color: #828b88;

  font-size: 12px;
}

.zy-seller-products-count {
  padding: 6px 11px;

  background: #f5f8f7;

  border-radius: 30px;

  color: #68736f;

  font-size: 11px;
  font-weight: 600;
}

/* ===================================
   PRODUCT
=================================== */

.zy-seller-product {
  position: relative;

  height: 100%;
}

/* Image */

.zy-seller-product-image-wrap {
  position: relative;

  overflow: hidden;

  aspect-ratio: 1 / 1.08;

  background: #f4f6f5;

  border-radius: 14px;
}

.zy-seller-product-image {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  -webkit-transition: transform 0.35s ease;

  transition: transform 0.35s ease;
}

.zy-seller-product:hover .zy-seller-product-image {
  -webkit-transform: scale(1.035);

  transform: scale(1.035);
}

/* Discount */

.zy-seller-product-off {
  position: absolute;

  top: 10px;
  left: 10px;

  padding: 4px 7px;

  background: #ffffff;

  border-radius: 6px;

  color: var(--zy-seller-primary);

  font-size: 9px;
  font-weight: 700;
}

/* Wishlist */

.zy-seller-product-wishlist {
  position: absolute;

  top: 9px;
  right: 9px;

  width: 31px;
  height: 31px;

  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.94);

  border: 0;
  border-radius: 50%;

  color: #4c5753;

  font-size: 14px;

  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.zy-seller-product-wishlist:hover {
  color: #dc3545;

  -webkit-transform: scale(1.05);

  transform: scale(1.05);
}

/* Product body */

.zy-seller-product-body {
  padding: 11px 2px 2px;
}

.zy-seller-product-title {
  display: -webkit-box;

  overflow: hidden;

  margin-bottom: 7px;

  color: #222c28;

  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;

  text-decoration: none;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.zy-seller-product-title:hover {
  color: var(--zy-seller-primary);
}

.zy-seller-product-rating {
  margin-bottom: 5px;
}

.zy-seller-product-rating span {
  display: inline-flex;
  align-items: center;
  gap: 3px;

  padding: 3px 6px;

  background: #edf7f2;

  border-radius: 5px;

  color: var(--zy-seller-primary);

  font-size: 10px;
  font-weight: 600;
}

.zy-seller-product-rating i {
  font-size: 8px;
}

.zy-seller-product-pricing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 7px;
}

.zy-seller-product-pricing strong {
  color: #18231f;

  font-size: 15px;
  font-weight: 700;
}

.zy-seller-product-pricing del {
  color: #9aa19f;

  font-size: 11px;
}

/* ===================================
   TABLET
=================================== */

@media (max-width: 991.98px) {
  .zy-seller-header {
    align-items: flex-start;
    flex-direction: column;

    gap: 22px;

    padding: 24px;
  }

  .zy-seller-stats {
    width: 100%;

    justify-content: space-around;
  }

  .zy-seller-stat-item {
    flex: 1;
  }
}

/* ===================================
   MOBILE
=================================== */

@media (max-width: 767.98px) {
  .zy-seller-page {
    padding-top: 15px;
  }

  .zy-seller-breadcrumb {
    margin-bottom: 14px;
  }

  .zy-seller-header {
    padding: 19px;

    border-radius: 17px;
  }

  .zy-seller-main-info {
    align-items: flex-start;

    gap: 14px;
  }

  .zy-seller-logo {
    width: 76px;
    height: 76px;

    border-width: 3px;
  }

  .zy-seller-logo-verified {
    width: 21px;
    height: 21px;

    bottom: 2px;

    font-size: 14px;
  }

  .zy-seller-name-line {
    margin-bottom: 6px;
  }

  .zy-seller-name-line h1 {
    font-size: 18px;
  }

  .zy-seller-verified {
    padding: 3px 7px;

    font-size: 9px;
  }

  .zy-seller-details-line {
    gap: 5px 12px;

    margin-bottom: 9px;
  }

  .zy-seller-details-line > span {
    font-size: 10px;
  }

  .zy-seller-description {
    font-size: 11px;
    line-height: 1.6;
  }

  .zy-seller-stats {
    padding: 13px 8px;
  }

  .zy-seller-stat-item {
    min-width: 0;
  }

  .zy-seller-stat-item strong {
    font-size: 17px;
  }

  .zy-seller-stat-item span {
    font-size: 9px;
  }

  .zy-seller-stat-divider {
    height: 26px;

    margin: 0 3px;
  }

  /* Trust */

  .zy-seller-trust-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 15px 0;
  }

  .zy-seller-trust-item {
    flex: 1;

    justify-content: flex-start;

    gap: 6px;
  }

  .zy-seller-trust-item > i {
    font-size: 16px;
  }

  .zy-seller-trust-item strong {
    font-size: 9px;
  }

  .zy-seller-trust-item span {
    display: none;
  }

  /* Product heading */

  .zy-seller-products-section {
    padding-top: 26px;
  }

  .zy-seller-products-heading {
    align-items: center;

    margin-bottom: 17px;
  }

  .zy-seller-products-heading h2 {
    font-size: 18px;
  }

  .zy-seller-products-heading p {
    display: none;
  }

  .zy-seller-products-count {
    padding: 5px 8px;

    font-size: 9px;
  }

  /* Product */

  .zy-seller-product-image-wrap {
    border-radius: 11px;
  }

  .zy-seller-product-body {
    padding-top: 8px;
  }

  .zy-seller-product-title {
    min-height: 34px;

    margin-bottom: 5px;

    font-size: 11px;
  }

  .zy-seller-product-pricing strong {
    font-size: 13px;
  }

  .zy-seller-product-pricing del {
    font-size: 9px;
  }

  .zy-seller-product-wishlist {
    width: 28px;
    height: 28px;

    top: 7px;
    right: 7px;

    font-size: 12px;
  }

  .zy-seller-product-off {
    top: 7px;
    left: 7px;

    font-size: 8px;
  }
}

/* Very small mobile */

@media (max-width: 480px) {
  .zy-seller-main-info {
    display: grid;

    grid-template-columns: 68px 1fr;
  }

  .zy-seller-logo {
    width: 68px;
    height: 68px;
  }

  .zy-seller-description {
    grid-column: 1 / -1;
  }
}
