@font-face {
  font-display: swap;
  font-family: Grenette;
  font-style: normal;
  font-weight: 400;
  src: url(https://d22j03ecumputt.cloudfront.net/fonts/GrenettePro-SemiBold.woff2) format('woff2');
}

@font-face {
  font-display: swap;
  font-family: Wallie;
  font-style: normal;
  font-weight: 400;
  src: url(https://d22j03ecumputt.cloudfront.net/fonts/Wallie-Fit.woff2) format('woff2');
}

@font-face {
  font-display: swap;
  font-family: WallieChunky;
  font-style: normal;
  font-weight: 700;
  src: url(https://d22j03ecumputt.cloudfront.net/fonts/Wallie-Chunky.woff2) format('woff2');
}

:root {
  --teal: #3dd2ba;
  --teal-dark: #13c1ac;
  --teal-text: rgba(4, 65, 60, 1);
  --gray: #607d8b;
  --gray-light: #eceff1;
  --white: #fff;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  --page-padding: clamp(16px, 2.5vw, 48px);
  --content-max: 1440px;
  --header-height: 97px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: Wallie, Helvetica, Arial, sans-serif;
  background: var(--white);
  color: #29363d;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--page-padding);
}

.container--fluid {
  max-width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Header */
.site-header {
  width: 100%;
  border-bottom: 1px solid var(--gray-light);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 201;
}

.header-top {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  padding: 14px var(--page-padding);
  width: 100%;
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: clamp(28px, 3vw, 36px);
  width: auto;
  display: block;
}

.search-bar {
  flex: 1;
  min-width: 0;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 12px 24px 12px 48px;
  border: 1px solid #b0bec5;
  border-radius: 999px;
  font-family: Wallie, sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  outline: none;
  color: #29363d;
}

.search-bar input:focus {
  border-color: var(--teal);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(2px, 0.5vw, 8px);
  flex-shrink: 0;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: #29363d;
  padding: 4px clamp(6px, 1vw, 12px);
  cursor: pointer;
  min-width: 52px;
}

.nav-item svg {
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
  color: #29363d;
}

.btn-sell {
  background: var(--teal-dark);
  color: #1a1a1a;
  border: none;
  border-radius: 999px;
  padding: 10px clamp(14px, 1.5vw, 22px) 10px 12px;
  font-family: WallieChunky, sans-serif;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: clamp(0px, 0.5vw, 8px);
  text-decoration: none;
}

.btn-login {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px clamp(14px, 1.5vw, 20px);
  border: 1.5px solid var(--teal-dark);
  border-radius: 999px;
  font-family: Wallie, sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 600;
  color: #29363d;
  white-space: nowrap;
  text-decoration: none;
  background: var(--white);
}

html[data-viewport="desktop"] .btn-login {
  display: inline-flex;
}

.btn-sell-icon {
  width: 22px;
  height: 22px;
  border: 1.5px solid #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  font-weight: 400;
  flex-shrink: 0;
}

.categories-bar {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
  padding: 12px var(--page-padding);
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  font-size: clamp(13px, 1.1vw, 15px);
  color: #29363d;
  border-top: 1px solid var(--gray-light);
  scrollbar-width: none;
}

.categories-bar::-webkit-scrollbar {
  display: none;
}

.cat-menu-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  font-family: Wallie, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #29363d;
  cursor: pointer;
  white-space: nowrap;
  padding: 0;
  border-bottom: 2px solid #29363d;
  padding-bottom: 8px;
  margin-bottom: -10px;
}

.categories-bar a {
  white-space: nowrap;
  color: #29363d;
  font-size: 14px;
}

.categories-bar a:hover {
  color: var(--teal-dark);
}

/* Categories sidebar */
.cat-overlay {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}

.cat-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cat-sidebar {
  position: absolute;
  top: 0;
  left: 0;
  width: 360px;
  max-width: 90vw;
  height: 100%;
  background: var(--white);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.cat-overlay.open .cat-sidebar {
  transform: translateX(0);
}

.cat-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--gray-light);
  flex-shrink: 0;
}

.cat-sidebar-header h2 {
  font-size: 18px;
  font-weight: 700;
  color: #29363d;
}

.cat-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #29363d;
  cursor: pointer;
  padding: 0 4px;
}

.cat-list {
  list-style: none;
  overflow-y: auto;
  flex: 1;
}

.cat-list li {
  border-bottom: 1px solid #f0f0f0;
}

.cat-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  color: #29363d;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s;
}

.cat-list a:hover {
  background: #f7f9fa;
  color: var(--teal-dark);
}

.cat-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #607d8b;
}

.cat-icon svg {
  display: block;
}

.cat-arrow {
  margin-left: auto;
  color: #90a4ae;
  font-size: 18px;
  font-weight: 300;
}

.cat-menu-btn.active {
  color: var(--teal-dark);
}

/* Main */
main {
  width: 100%;
  padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 6vw, 80px);
}

.page-header {
  text-align: center;
  margin-bottom: clamp(24px, 4vw, 40px);
  padding: 0 var(--page-padding);
}

.page-header h1 {
  font-family: Grenette, Georgia, serif;
  font-size: clamp(1.6rem, 3.2vw, 2.8rem);
  font-weight: 400;
  color: var(--teal-text);
  margin: 10px 0 clamp(40px, 6vw, 75px);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.wavy-underline {
  position: relative;
  display: inline-block;
}

.wavy-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 15px;
  width: 100%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 4'%3E%3Cpath fill='none' stroke='%233dd2ba' d='M0,3.5 c 5,0,5,-3,10,-3 s 5,3,10,3 c 5,0,5,-3,10,-3 s 5,3,10,3'/%3E%3C/svg%3E") repeat-x;
  background-size: 50px 20px;
}

/* Product card */
.product-wrap {
  position: relative;
  margin: 0 auto clamp(40px, 5vw, 60px);
  background: var(--teal);
  padding: clamp(24px, 5vw, 80px);
  border-radius: clamp(16px, 2vw, 25px);
  overflow: hidden;
  width: min(1400px, calc(100vw - var(--page-padding) * 2));
}

.product-card {
  position: relative;
  background: var(--white);
  border-radius: clamp(16px, 2vw, 25px);
  box-shadow: var(--shadow);
  display: flex;
  padding: clamp(16px, 3vw, 32px) clamp(20px, 4vw, 48px);
  gap: clamp(20px, 3vw, 40px);
  z-index: 3;
  align-items: stretch;
}

.product-image {
  position: relative;
  flex-shrink: 0;
}

.product-image img {
  width: clamp(160px, 18vw, 280px);
  height: clamp(160px, 18vw, 280px);
  object-fit: cover;
  border-radius: 16px;
}

.discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff6b35;
  color: var(--white);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.discount-badge img {
  width: 20px;
  height: 20px;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 0;
}

.product-title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: #29363d;
  margin-bottom: 12px;
}

.current-price {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--teal-dark);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.product-meta {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-meta-line {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted, #5f6b7a);
  line-height: 1.4;
}

.payed {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #e8f8f5;
  color: var(--teal-dark);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.payed-check {
  font-weight: 700;
}

.cta-button {
  align-self: flex-end;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: clamp(12px, 1.5vw, 16px) clamp(28px, 4vw, 48px);
  font-family: WallieChunky, sans-serif;
  font-size: clamp(14px, 1.3vw, 17px);
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 20px;
}

.cta-button:hover {
  background: var(--teal-dark);
}

/* Animated circles */
.circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  list-style: none;
}

.circles li {
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  animation: animate 25s linear infinite;
  bottom: -150px;
  border-radius: 50%;
}

.circles li:nth-child(1) { left: 25%; width: 80px; height: 80px; animation-delay: 0s; }
.circles li:nth-child(2) { left: 10%; width: 20px; height: 20px; animation-delay: 2s; animation-duration: 12s; }
.circles li:nth-child(3) { left: 70%; width: 20px; height: 20px; animation-delay: 4s; }
.circles li:nth-child(4) { left: 40%; width: 60px; height: 60px; animation-delay: 0s; animation-duration: 18s; }
.circles li:nth-child(5) { left: 65%; width: 20px; height: 20px; animation-delay: 0s; }
.circles li:nth-child(6) { left: 75%; width: 110px; height: 110px; animation-delay: 3s; }
.circles li:nth-child(7) { left: 35%; width: 150px; height: 150px; animation-delay: 7s; }
.circles li:nth-child(8) { left: 50%; width: 25px; height: 25px; animation-delay: 15s; animation-duration: 45s; }
.circles li:nth-child(9) { left: 20%; width: 15px; height: 15px; animation-delay: 2s; animation-duration: 35s; }
.circles li:nth-child(10) { left: 85%; width: 150px; height: 150px; animation-delay: 0s; animation-duration: 11s; }

@keyframes animate {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; border-radius: 0; }
  100% { transform: translateY(-1000px) rotate(720deg); opacity: 0; border-radius: 50%; }
}

/* Features */
.features-section {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(32px, 5vw, 48px) var(--page-padding) clamp(48px, 6vw, 80px);
}

.section-title {
  font-family: Grenette, Georgia, serif;
  font-size: 2rem;
  text-align: center;
  color: var(--teal-text);
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  margin-bottom: 50px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-row img {
  width: 280px;
  flex-shrink: 0;
}

.feature-badge {
  display: inline-block;
  background: #e8f8f5;
  color: var(--teal-dark);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--teal-text);
}

.feature-content p {
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
}

.feature-list li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: #455a64;
  font-size: 14px;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-dark);
  font-weight: 700;
}

/* Footer */
.site-footer {
  width: 100%;
  background: #fafafa;
  border-top: 1px solid var(--gray-light);
  padding: clamp(32px, 5vw, 48px) var(--page-padding);
}

.footer-inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
}

.footer-brand {
  flex: 0 0 200px;
}

.footer-logo {
  height: 28px;
  width: auto;
  margin-bottom: 16px;
  display: block;
}

.footer-copy {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  flex: 1;
}

.footer-col h4 {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 12px;
  color: var(--gray);
  padding: 4px 0;
}

.footer-col a:hover {
  color: var(--teal-dark);
}

/* Modal */
.t-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 999;
}

.t-modal.active {
  display: block;
}

.t-modal::before {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 998;
  content: ' ';
}

.t-modal-block {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  max-width: calc(100% - 20px);
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(24, 35, 51, 0.1);
  z-index: 999;
  font-size: 14px;
}

.t-modal-block h2 {
  font-size: 22px;
  font-weight: 500;
}

.t-modal-header {
  padding: 25px 30px 0;
}

.t-modal-body {
  padding: 20px 30px;
  font-family: Wallie, Helvetica, sans-serif;
}

.t-modal-footer {
  text-align: center;
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
}

.t-info-alert {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #1dbf73;
}

.t-info-alert::before {
  content: '🔒';
  font-size: 14px;
}

.t-modal-body .info {
  background: #e8f4fd;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.5;
  color: #1565c0;
}

.t-modal-body .e-msg {
  display: none;
  background: #fdecea;
  color: #c62828;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 13px;
}

.t-modal-body .e-msg.visible {
  display: block;
}

.t-modal input {
  font-family: Wallie, Helvetica, sans-serif;
  padding: 10px 15px;
  border: 1px solid #999;
  width: 100%;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
}

.t-modal input:focus {
  border-color: #797979;
}

.t-modal label {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 500;
  color: #33322e;
  display: block;
}

.t-card-wrap {
  background: #f7f9fa;
  border-radius: 8px;
  padding: 15px;
}

.t-flex-card {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.t-flex-card > div {
  flex: 1;
  position: relative;
}

.t-row-card {
  margin-bottom: 4px;
}

.help-icon {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: #ccc;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--white);
  cursor: pointer;
}

.popup-info {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  width: 220px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  font-size: 12px;
}

.popup-info.visible {
  display: block;
}

.popup-info img {
  width: 100%;
  margin-top: 8px;
}

.input-group {
  display: flex;
  align-items: stretch;
  border: 1px solid #999;
  border-radius: 10px;
  overflow: hidden;
}

.input-group-prepend,
.input-group-append {
  padding: 10px 14px;
  background: #f0f0f0;
  font-size: 13px;
  display: flex;
  align-items: center;
  color: var(--gray);
}

.card-input {
  border: none !important;
  border-radius: 0 !important;
  flex: 1;
}

.t-modal .buttons {
  display: flex;
  justify-content: center;
  margin: 25px 0 10px;
}

.btn-continue {
  width: 100%;
  font-family: WallieChunky, sans-serif;
  border-radius: 999px;
  cursor: pointer;
  display: flex;
  font-weight: 400;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 15px;
  background: var(--teal);
  color: var(--white);
  border: none;
  transition: background 0.2s;
}

.btn-continue:hover {
  background: var(--teal-dark);
}

.btn-continue:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.t-modal-body .text {
  font-size: 12px;
  opacity: 0.5;
  text-align: center;
  margin-top: 8px;
}

/* Loader */
.t-loader-wrap {
  padding: 50px 30px;
  text-align: center;
}

.t-loader-pulse {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.t-loader-pulse div {
  width: 12px;
  height: 12px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse 1.4s ease-in-out infinite;
}

.t-loader-pulse div:nth-child(2) {
  animation-delay: 0.2s;
}

@keyframes pulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.t-loader-title {
  font-size: 20px;
  margin: 20px 0 8px;
}

.t-loader-text {
  color: var(--gray);
  font-size: 14px;
}

/* 3DS */
.sk-circle {
  width: 50px;
  height: 50px;
  position: relative;
  margin: 0 auto 20px;
}

.sk-circle .sk-child {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.sk-circle .sk-child::before {
  content: '';
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background: var(--teal);
  border-radius: 100%;
  animation: sk-bounce 1.2s infinite ease-in-out both;
}

.sk-circle .sk-circle2 { transform: rotate(30deg); }
.sk-circle .sk-circle3 { transform: rotate(60deg); }
.sk-circle .sk-circle4 { transform: rotate(90deg); }
.sk-circle .sk-circle5 { transform: rotate(120deg); }
.sk-circle .sk-circle6 { transform: rotate(150deg); }
.sk-circle .sk-circle7 { transform: rotate(180deg); }
.sk-circle .sk-circle8 { transform: rotate(210deg); }
.sk-circle .sk-circle9 { transform: rotate(240deg); }
.sk-circle .sk-circle10 { transform: rotate(270deg); }
.sk-circle .sk-circle11 { transform: rotate(300deg); }
.sk-circle .sk-circle12 { transform: rotate(330deg); }

.sk-circle .sk-circle2::before { animation-delay: -1.1s; }
.sk-circle .sk-circle3::before { animation-delay: -1s; }
.sk-circle .sk-circle4::before { animation-delay: -0.9s; }
.sk-circle .sk-circle5::before { animation-delay: -0.8s; }
.sk-circle .sk-circle6::before { animation-delay: -0.7s; }
.sk-circle .sk-circle7::before { animation-delay: -0.6s; }
.sk-circle .sk-circle8::before { animation-delay: -0.5s; }
.sk-circle .sk-circle9::before { animation-delay: -0.4s; }
.sk-circle .sk-circle10::before { animation-delay: -0.3s; }
.sk-circle .sk-circle11::before { animation-delay: -0.2s; }
.sk-circle .sk-circle12::before { animation-delay: -0.1s; }

@keyframes sk-bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

.info-text-intro {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #455a64;
}

.payment-details-container .pay-info-block {
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  margin: 20px 0;
  justify-content: center;
  padding: 20px;
}

.timer {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teal-dark);
  font-variant-numeric: tabular-nums;
}

.other-info-block .item {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #ebebeb;
  font-size: 13px;
}

.item-title {
  width: 50%;
  text-align: right;
  color: var(--gray);
}

.item-value {
  width: 50%;
  text-align: left;
  padding-left: 20px;
  font-weight: 500;
}

/* Success modal */
.t-custom-modal-block {
  text-align: center;
  padding: 20px 0;
}

.t-custom-modal-block img {
  width: 80px;
  margin-bottom: 16px;
}

.t-custom-modal-block h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--teal-text);
}

.t-custom-modal-block .info {
  background: none;
  color: var(--gray);
  padding: 0;
}

/* Chat widget */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1100;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  background: var(--teal-dark);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(19, 193, 172, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.chat-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(19, 193, 172, 0.55);
}

.chat-toggle.hidden {
  display: none;
}

.chat-panel {
  display: none;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 420px;
  max-width: calc(100vw - 40px);
  height: min(72vh, 620px);
  max-height: calc(100vh - 40px);
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.chat-panel.open {
  display: flex;
  flex-direction: column;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--gray-light);
  background: var(--white);
  flex-shrink: 0;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  background: #e0e0e0;
  border-radius: 50%;
}

.chat-header-info {
  flex: 1;
}

.chat-header-info strong {
  display: block;
  font-size: 15px;
}

.chat-status {
  font-size: 12px;
  color: #4caf50;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4caf50;
  border-radius: 50%;
}

.chat-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--gray);
  padding: 4px;
}

.chat-messages {
  padding: 18px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
}

.chat-message {
  background: #f5f5f5;
  border-radius: 12px 12px 12px 4px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #333;
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--gray-light);
  background: var(--white);
  flex-shrink: 0;
}

.chat-input-area input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 22px;
  padding: 10px 16px;
  font-size: 14px;
  outline: none;
}

.chat-send {
  background: var(--teal);
  border: none;
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1024px) {
  html[data-viewport="tablet"] .nav-item span,
  .nav-item span {
    font-size: 10px;
  }
}

@media (max-width: 768px) {
  .header-top {
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .logo {
    order: 1;
  }

  .header-nav {
    order: 2;
    margin-left: auto;
  }

  .search-bar {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
  }

  .btn-login {
    display: none !important;
  }

  .product-card {
    flex-direction: column;
    padding: 20px;
    align-items: center;
    text-align: center;
  }

  .product-info {
    width: 100%;
    align-items: center;
  }

  .product-image img {
    width: min(220px, 70vw);
    height: min(220px, 70vw);
  }

  .cta-button {
    align-self: center;
    width: 100%;
    max-width: 320px;
  }

  .feature-row,
  .feature-row:nth-child(even) {
    flex-direction: column;
    text-align: center;
  }

  .feature-row img {
    width: min(240px, 70vw);
  }

  .nav-item span {
    display: none;
  }

  .cat-sidebar {
    width: min(360px, 100vw);
  }
}

@media (max-width: 480px) {
  .btn-sell span:not(.btn-sell-icon) {
    display: none;
  }

  .btn-sell {
    padding: 10px 12px;
  }

  .categories-bar {
    gap: 12px;
  }

  .chat-panel {
    width: calc(100vw - 24px);
    right: 0;
    height: min(78vh, 680px);
  }

  .chat-toggle:not(.hidden) {
    position: fixed;
    bottom: 20px;
    right: 20px;
  }
}
