* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: #f6f7fb;
  color: #101828;
  font-family: Inter, Arial, sans-serif
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: auto;
  padding-left: 0;
  padding-right: 0;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid #eef0f4;
  position: sticky;
  top: 0;
  z-index: 50
}

.navrow {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.brand {
  text-decoration: none;
  color: #111;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -1px
}

.brand span span {
  color: #0d6efd
}

.brand img {
  height: 48px;
  display: block
}

.mainnav {
  display: flex;
  gap: 24px
}

.mainnav a,
.catbar a,
.footer a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 600
}

.actions .cart {
  background: #111827;
  color: white;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800
}

.cart b {
  background: #ffc107;
  color: #111;
  border-radius: 50%;
  padding: 2px 7px;
  margin-left: 6px
}

.catbar {
  background: #fff;
  border-bottom: 1px solid #eee
}

.cats {
  display: flex;
  gap: 12px;
  overflow: auto;
  padding-top: 14px;
  padding-bottom: 14px
}

.cats a {
  white-space: nowrap;
  background: #f2f4f7;
  border-radius: 999px;
  padding: 10px 16px
}

.hero {
  padding: 36px 0 28px
}

.heroBox {
  min-height: 430px;
  border-radius: 34px;
  padding: 54px;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .28)), url('../img/hero-placeholder.svg') center/cover no-repeat;
  color: #fff;
  overflow: hidden
}

.heroBox.hasBanner {
  background: linear-gradient(90deg, rgba(0, 0, 0, .78), rgba(0, 0, 0, .20)), var(--banner) center/cover no-repeat
}

.hero h1 {
  font-size: clamp(38px, 6vw, 78px);
  line-height: .98;
  margin: 0 0 18px;
  font-weight: 900;
  letter-spacing: -3px
}

.hero p {
  font-size: 19px;
  max-width: 560px;
  color: rgba(255, 255, 255, .85);
  line-height: 1.6
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 13px 22px;
  background: #111827;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer
}

.btn.yellow {
  background: #ffc107;
  color: #111
}

.sectionTitle {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 28px 0 18px
}

.sectionTitle h2 {
  margin: 0;
  font-size: 30px;
  letter-spacing: -1px
}

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

.card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(16, 24, 40, .06);
  border: 1px solid #eef0f4
}

.pimg {
  height: 250px;
  background: #f0f2f5;
  display: flex;
  align-items: center;
  justify-content: center
}

.pimg img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.pbody {
  padding: 18px
}

.brandBadge {
  font-size: 12px;
  font-weight: 900;
  background: #eef6ff;
  color: #0d6efd;
  border-radius: 999px;
  padding: 6px 10px
}

.pbody h3 {
  font-size: 18px;
  margin: 12px 0 8px
}

.price {
  font-size: 16px;
  font-weight: 500
}

.old {
  color: #98a2b3;
  text-decoration: line-through;
  margin-left: 8px;
  font-size: 14px
}

.service {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 42px 0
}

.service .box {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  border: 1px solid #eef0f4
}

.page {
  padding: 36px 0
}

.detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px
}

.detailImg {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid #eef0f4
}

.detailImg img {
  width: 100%;
  height: 500px;
  object-fit: contain;
  background: #fff;
  padding: 20px;
}

.panel {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #eef0f4
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 10px;
  border: 1px solid #dde2ea;
  border-radius: 6px;
  margin-bottom: 12px;
  font: inherit
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 11px;
  overflow: hidden
}

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


.mobiletab {
  display: none
}

@media(max-width:900px) {
  .mainnav {
    display: none
  }

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

  .heroBox {
    padding: 34px;
    min-height: 460px
  }

  .service,
  .detail {
    grid-template-columns: 1fr
  }

  .mobiletab {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #eee;
    z-index: 99
  }

  .mobiletab a {
    text-decoration: none;
    color: #111;
    font-weight: 800;
    font-size: 13px
  }
}

@media(max-width:520px) {
  .grid {
    grid-template-columns: 1fr
  }

  .pimg {
    height: 300px
  }

  .hero h1 {
    letter-spacing: -1px
  }

  .actions .cart {
    padding: 10px 12px
  }

  .heroBox {
    border-radius: 24px;
    padding: 26px
  }
}

/* ===== Upgrade pack ===== */
a.card {
  text-decoration: none;
  color: inherit
}

.productCard {
  transition: .18s transform, .18s box-shadow
}

.productCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(16, 24, 40, .12)
}

.pimg {
  position: relative
}

.smallDesc {
  min-height: 24px;
  color: #667085;
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 6px;


}

.miniStock {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  color: #16a34a
}

.shopHead {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px
}

.shopHead h1 {
  margin: 0;
  font-size: 40px;
  letter-spacing: -2px
}

.filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.filter input,
.filter select {
  border: 1px solid #dde2ea;
  border-radius: 999px;
  padding: 13px 15px;
  background: #fff
}

.proDetail {
  align-items: start
}

.zoomBox {
  cursor: zoom-in
}

.zoomBox img {
  transition: transform .16s ease
}

.thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow: auto
}

.thumbBtn {
  width: 86px;
  height: 76px;
  border: 1px solid transparent;
  border-radius: 2px;
  background: #fff;
  padding: 3px;
  cursor: pointer
}

.thumbBtn.active {
  border-color: #00a7b5
}

.thumbBtn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 7px
}

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px
}

.originalBadge {
  font-size: 12px;
  font-weight: 900;
  background: #111827;
  color: #ffc107;
  border-radius: 999px;
  padding: 6px 10px
}


.muted {
  color: #667085
}

.bigOld {
  font-size: 18px
}

.stock {
  display: inline-flex;
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 900;
  margin: 8px 0 18px
}

.stock.in {
  background: #ecfdf3;
  color: #027a48
}

.stock.out {
  background: #fef3f2;
  color: #b42318
}

.desc {
  line-height: 1.75;
  color: #344054
}

.specBox {
  background: #f8fafc;
  border: 1px solid #eef0f4;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0
}

.specBox h3 {
  margin: 0 0 10px
}

.buyForm {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 10px
}

.buyForm input {
  margin: 0
}

.messenger {
  margin-top: 10px;
  background: #0084ff;
  color: #fff;
  width: 100%
}

.imeiPanel {
  max-width: 760px;
  margin: auto
}

.imeiResult {
  padding: 16px;
  border-radius: 18px;
  margin-top: 16px;
  font-weight: 800
}

.imeiResult.ok {
  background: #ecfdf3;
  color: #027a48
}

.imeiResult.warn {
  background: #fffaeb;
  color: #b54708
}

.imeiResult.bad {
  background: #fef3f2;
  color: #b42318
}

.heroBox {
  position: relative
}

.heroBox:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 40%, rgba(255, 255, 255, .12), transparent 34%);
  pointer-events: none
}

.heroBox>div {
  position: relative;
  z-index: 1
}

.adminGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px
}

.form .help {
  font-size: 12px;
  color: #667085;
  margin: -6px 0 10px
}

@media(max-width:900px) {
  .shopHead {
    display: block
  }

  .filter {
    margin-top: 14px
  }

  .filter input,
  .filter select,
  .filter .btn {
    width: 100%
  }

  .buyForm {
    grid-template-columns: 1fr
  }

  .adminGrid {
    grid-template-columns: 1fr
  }

  .detailImg {
    min-height: 360px
  }

  .topbar .brand img {
    height: 38px
  }

  .catbar {
    display: none
  }
}

@media(max-width:520px) {
  .shopHead h1 {
    font-size: 32px
  }

  .thumbBtn {
    width: 72px;
    height: 64px
  }

  .panel {
    padding: 22px
  }

  .buyPanel h1 {
    font-size: 30px;
    letter-spacing: -1px
  }
}

.modeBtn {
  border: 0;
  background: #f2f4f7;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  font-weight: 900;
  margin-right: 8px;
  cursor: pointer
}

.actions {
  display: flex;
  align-items: center
}

.dark {
  background: #0b1020;
  color: #eef2ff
}

.dark .topbar,
.dark .catbar,
.dark .card,
.dark .panel,
.dark .service .box,
.dark .footer,
.dark .mobiletab,
.dark .filter input,
.dark .filter select {
  background: #111827;
  color: #f9fafb;
  border-color: #243244
}

.dark .mainnav a,
.dark .catbar a,
.dark .footer a,
.dark .brand {
  color: #f9fafb
}

.dark .cats a,
.dark .modeBtn {
  background: #1f2937;
  color: #f9fafb
}

.dark .pimg,
.dark .detailImg,
.dark .specBox {
  background: #0f172a;
  border-color: #243244
}

.dark .muted,
.dark .smallDesc,
.dark .desc {
  color: #cbd5e1
}

.dark .old {
  color: #94a3b8
}

.featureCarousel {
  display: flex;
  gap: 18px;
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px
}

.featureCarousel .card {
  min-width: 270px;
  scroll-snap-align: start
}

.featureCarousel::-webkit-scrollbar {
  height: 8px
}

.featureCarousel::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px
}

/* ===== Mobile polish patch v3 ===== */
@media (max-width: 768px) {
  body {
    padding-bottom: 72px;
    -webkit-text-size-adjust: 100%;
  }

  .container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 12px;
  }

  /* Header */
  .topbar {
    box-shadow: 0 8px 24px rgba(16, 24, 40, .06);
  }

  .navrow {
    height: 62px;
    gap: 10px;
  }

  .brand {
    min-width: 0;
    max-width: 145px;
    overflow: hidden;
  }

  .brand img {
    height: 34px;
    max-width: 140px;
    object-fit: contain;
  }

  .actions {
    gap: 6px;
    flex-shrink: 0;
  }

  .modeBtn {
    width: 38px;
    height: 38px;
    margin-right: 0;
  }

  .actions .cart {
    padding: 9px 11px;
    font-size: 13px;
    white-space: nowrap;
  }

  .cart b {
    padding: 1px 6px;
    margin-left: 4px;
  }

  .mainnav {
    display: none;
  }

  /* Category scroll instead of hiding */
  .catbar {
    display: block;
    position: sticky;
    top: 62px;
    z-index: 48;
  }

  .cats {
    gap: 8px;
    padding: 10px 12px;
    scrollbar-width: none;
  }

  .cats::-webkit-scrollbar {
    display: none;
  }

  .cats a {
    font-size: 13px;
    padding: 8px 12px;
  }

  /* Hero */
  .hero {
    padding: 14px 0 12px;
  }

  .heroBox {
    min-height: 360px;
    border-radius: 22px;
    padding: 28px 20px;
    background-position: center !important;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.02;
    letter-spacing: -1.2px;
    margin-bottom: 12px;
    max-width: 92%;
  }

  .hero p {
    font-size: 15px;
    line-height: 1.55;
    max-width: 92%;
    margin-bottom: 18px;
  }

  .hero .btn {
    width: 100%;
    max-width: 260px;
    margin-top: 4px;
  }

  /* Section titles */
  .sectionTitle {
    margin: 20px 0 12px;
    align-items: center;
  }

  .sectionTitle h2 {
    font-size: 23px;
    letter-spacing: -.5px;
  }

  .sectionTitle a {
    font-size: 13px;
  }

  /* Product grid: 2 columns on phones */
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .card {
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(16, 24, 40, .06);
  }

  .pimg {
    height: 172px;
  }

  .pimg img {
    object-fit: contain;
    background: #f7f8fb;
    padding: 8px;
  }

  .pbody {
    padding: 12px;
  }

  .brandBadge {
    font-size: 10px;
    padding: 5px 8px;
  }

  .pbody h3 {
    font-size: 14px;
    line-height: 1.25;
    margin: 9px 0 5px;
    min-height: 36px;
  }

  .smallDesc {
    display: none;
  }

  .price {
    font-size: 15px;
    line-height: 1.3;
  }

  .old {
    display: block;
    margin-left: 0;
    margin-top: 2px;
    font-size: 12px;
  }

  .miniStock {
    font-size: 12px;
    margin-top: 6px;
  }

  /* Feature carousel */
  .featureCarousel {
    gap: 10px;
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .featureCarousel .card {
    min-width: 46%;
  }

  /* Shop filters */
  .shopHead {
    display: block;
    margin-bottom: 14px;
  }

  .shopHead h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .filter {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .filter input,
  .filter select,
  .filter .btn {
    width: 100%;
    height: 44px;
    font-size: 14px;
  }

  /* Product detail */
  .page {
    padding: 18px 0;
  }

  .detail {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detailImg {
    min-height: auto;
    border-radius: 20px;
  }

  .detailImg img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background: #fff;
    padding: 12px;
  }

  .panel {
    border-radius: 10px;
    padding: 18px;
  }

  .buyPanel h1 {
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -.8px;
    margin-top: 4px;
  }

  .badges {
    gap: 6px;
    margin-bottom: 10px;
  }

  .originalBadge {
    font-size: 10px;
    padding: 6px 8px;
  }

  .stock {
    font-size: 12px;
    padding: 7px 10px;
    margin: 6px 0 12px;
  }

  .desc {
    font-size: 14px;
    line-height: 1.65;
  }

  .specBox {
    padding: 10px;
    border-radius: 16px;
  }

  .thumbs {
    gap: 8px;
  }

  .thumbBtn {
    width: 66px;
    height: 58px;
    border-radius: 14px;
  }

  .buyForm {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .buyForm input,
  .form input,
  .form textarea,
  .form select {
    font-size: 16px;
    padding: 10px;
    border-radius: 6px;
  }

  .buyForm .btn,
  .messenger {
    height: 46px;
  }

  /* Checkout/cart/forms */
  .table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 10px;
    font-size: 13px;
  }

  .table th,
  .table td {
    padding: 8px;
  }

  .form .btn {
    width: 100%;
    height: 46px;
  }

  /* Footer */
  .service {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 24px 0;
  }

  .service .box {
    padding: 18px;
    border-radius: 18px;
  }

  .footgrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer {
    padding: 28px 0 92px;
    margin-top: 30px;
  }
}

@media (max-width: 380px) {
  .grid {
    gap: 8px;
  }

  .pimg {
    height: 150px;
  }

  .pbody {
    padding: 10px;
  }

  .pbody h3 {
    font-size: 13px;
    min-height: 14px;
  }

  .price {
    font-size: 14px;
  }

  .actions .cart {
    font-size: 12px;
    padding: 8px 9px;
  }

  .brand img {
    height: 30px;
    max-width: 120px;
  }

  .heroBox {
    min-height: 330px;
    padding: 24px 18px;
  }

  .hero h1 {
    font-size: 32px;
  }
}

/* Admin mobile */
@media (max-width: 900px) {
  .admin-sidebar {
    position: static !important;
    width: 100% !important;
    min-height: auto !important;
    display: flex;
    overflow-x: auto;
    gap: 6px;
    padding: 10px !important;
  }

  .admin-sidebar h5 {
    display: none;
  }

  .admin-sidebar a {
    white-space: nowrap;
    font-size: 13px;
    padding: 9px 12px;
  }

  .admin-sidebar+main {
    padding: 12px !important;
  }

  .admin-sidebar~main .table,
  .card .table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Product colors */
.colorBuyForm {
  grid-template-columns: 90px 1fr 1fr
}

.fullSpan {
  grid-column: 1 / -1
}

.colorSelect label {
  font-weight: 900;
  display: block;
  margin-bottom: 8px
}

.colorOptions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px
}

.colorPill {
  display: inline-flex !important;
  margin: 0 !important
}

.colorPill input {
  display: none
}

.colorPill span {
  border: 1px solid #dde2ea;
  background: #fff;
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex
}

.colorPill input:checked+span {
  background: #111827;
  color: #ffc107;
  border-color: #111827
}

.dark .colorPill span {
  background: #1f2937;
  border-color: #334155;
  color: #f9fafb
}

.dark .colorPill input:checked+span {
  background: #ffc107;
  color: #111827;
  border-color: #ffc107
}

@media(max-width:900px) {
  .colorBuyForm {
    grid-template-columns: 1fr
  }

  .fullSpan {
    grid-column: auto
  }

  .colorPill span {
    padding: 9px 13px;
    font-size: 14px
  }
}

/* ===== Color image + compact product action patch v4 ===== */
.colorImageAdmin {
  background: #f8fafc;
  border: 1px solid #eef0f4;
  border-radius: 18px;
  padding: 16px;
  margin: 12px 0 16px
}

.colorImageAdmin h3 {
  margin: 0 0 6px
}

.colorImageRow {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  align-items: center;
  border-top: 1px solid #eef0f4;
  padding: 12px 0
}

.colorImageRow:first-of-type {
  border-top: 0
}

.colorImageRow .thumb {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 14px;
  margin-top: 8px
}

.compactBuyForm {
  display: block
}

.buyActionRow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px
}

.buyActionRow .qtyInput {
  width: 86px !important;
  min-width: 86px;
  height: 38px;
  margin: 0 !important;
  text-align: center;
  padding: 0 10px !important;
  border-radius: 6px
}

.buyActionRow .btn {
  padding: 0 20px;
  white-space: nowrap;
  line-height: 1
}

.buyActionRow .cartBtn {
  flex: 1
}

.buyActionRow .buyNowBtn {
  flex: 1
}

.colorOptions {
  margin-bottom: 8px
}

.messenger {
  height: 46px;
  min-height: 46px;
  padding-top: 0;
  padding-bottom: 0
}

@media(max-width:900px) {

  .buyActionRow {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .buyActionRow .qtyInput {
    width: 100% !important;
    min-width: 100%;
    height: 44px;
  }

  .buyActionRow .cartBtn,
  .buyActionRow .buyNowBtn {
    width: 100%;
  }

  .buyActionRow .btn {
    height: 44px;
    min-height: 44px;
    padding: 0 14px;
    white-space: normal;
  }

  .messenger {
    height: 44px;
    min-height: 44px;
  }
}

.dark .colorImageAdmin {
  background: #0f172a;
  border-color: #243244
}

.dark .colorImageRow {
  border-color: #243244
}


/* ===== UI cleanup requested ===== */
/* 1. Hide/remove Original labels everywhere */
.cornerOriginal,
.originalBadge {
  display: none !important;
}

/* 2. Featured products section removed from index.php; this is safety if old markup remains */
.featureCarousel {
  display: none !important;
}


/* 5. Hero title 50% smaller */
.hero h1 {
  font-size: clamp(19px, 3vw, 39px) !important;
  letter-spacing: -1px !important;
  line-height: 1.08 !important;
}

@media(max-width:768px) {
  .hero h1 {
    font-size: clamp(17px, 5vw, 24px) !important;
  }

  .footer-service {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer {
    font-size: 12px;
  }
}

.btn {
  border-radius: 6px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
  padding: 10px 18px !important;
}

.btn-sm {
  padding: 7px 12px !important;
  border-radius: 5px !important;
}

.btn-lg {
  padding: 12px 22px !important;
  border-radius: 6px !important;
}

/* Cart / сагс button */
.cart-btn,
.btn-cart,
a[href*="cart"],
button[name="action"][value="cart"] {
  border-radius: 6px !important;
}

/* CART BUTTON CLEAN STYLE */

.cart-btn,
.btn-cart,
a[href*="cart"],
button[name="action"][value="cart"] {
  font-weight: 400 !important;
  border-radius: 6px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* COLOR SECTION CLEAN */

.color-options label,
.color-options .color-pill,
.product-colors label {
  font-weight: 400 !important;
  font-size: 14px;
}

/* "Өнгө сонгох" */

.color-title,
.product-colors-title,
label[for="color"] {
  font-weight: 400 !important;
}

/* STOCK TEXT */

.stock-text,
.product-stock,
.in-stock,
.ready-stock {
  display: none !important;
}

/* COLOR SELECT SECTION NORMAL WEIGHT */

.color-options,
.color-options *,
.product-colors,
.product-colors *,
.color-title,
.product-colors-title {
  font-weight: 200 !important;
}

.product-page label,
.product-page .form-label,
.product-page .color-options label,
.product-page .color-options *,
.product-page .fw-bold,
.product-page .fw-semibold,
.product-page .fw-medium {
  font-weight: 400 !important;
}

/* IMAGE COLOR SELECT */

.image-color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.image-color-item {
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  padding: 6px 6px;
  border: 1px solid #ddd;
  border-radius: 3px !important;
  background: #fff;
  cursor: pointer;
  font-weight: 400 !important;
  position: relative;
}

.image-color-item input {
  display: none;
}

.image-color-item .color-thumb {
  width: 36px;
  height: 36px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f5f5f5;
}

.image-color-item .color-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-color-item .color-name {
  font-size: 14px;
  font-weight: 400 !important;
  color: #111;
}

.image-color-item:has(input:checked) {
  border-color: #00a7b5;
}

.image-color-item:has(input:checked)::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  background: #00a7b5;
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-left-radius: 4px;
}

.hero-slide {
  position: relative;
  min-height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-dark {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .12);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero-content h1 {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
}

.hero-content p {
  max-width: 560px;
  color: #ddd;
}

@media(max-width:768px) {
  .hero-slide {
    min-height: 420px;
  }
}

/* HERO SAME WIDTH AS HEADER CONTAINER */

/* HERO CAROUSEL FIX */

.hero-carousel {
  padding-top: 18px;
}

.hero-carousel .carousel {
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
}

.hero-carousel .carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-carousel .carousel-item {
  display: none;
  position: relative;
  width: 100%;
}

.hero-carousel .carousel-item.active,
.hero-carousel .carousel-item-next,
.hero-carousel .carousel-item-prev {
  display: block;
}

.hero-slide {
  min-height: 430px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(19px, 3vw, 39px) !important;
  letter-spacing: -1px !important;
  line-height: 1.08 !important;
}

@media(max-width:768px) {
  .hero-carousel {
    padding: 12px 12px 0;
  }

  .hero-carousel .carousel {
    border-radius: 0px;
  }

  .hero-slide {
    min-height: 320px;
  }

  .hero-content h1 {
    font-size: clamp(17px, 5vw, 24px) !important;
  }
}

/* PRODUCT CARD EQUAL HEIGHT */

.productCard,
.card {
  height: 100%;
}

.pbody {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pbody h3 {
  min-height: 14px;
}

.smallDesc {
  min-height: 42px;
}

.price {
  margin-top: auto;
}

/* ===== Clean Footer / Service section ===== */

.footer-service-wrap {
  background: #f5f5f5;
  margin-top: 60px;
  padding: 30px 0;
}

.footer-service-wrap .container,
.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.footer-service {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 0;
}

.footer-service .box {
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  color: #111;
}

.footer-service h3 {
  font-size: 13px;
  margin: 0 0 6px;
  letter-spacing: .2px;
}

.footer-service p {
  font-size: 12px;
  margin: 0;
  color: #667085;
  line-height: 1.55;
}

.footer {
  background: #111;
  color: #fff;
  margin-top: 0 !important;
  padding: 0 0 90px;
  border-top: 0;
  font-size: 13px;
}

.footgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 50px 0 40px;
  background: #111;
  color: #fff;
}

.footer h3 {
  font-size: 16px;
  margin: 0 0 15px;
}

.footer h4 {
  font-size: 14px;
  margin: 0 0 15px;
}

.footer p,
.footer a {
  font-size: 12px;
  line-height: 1.55;
}

.footer a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin: 0 0 10px;
  font-weight: 400;
}

.footer a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #1a1a1a;
  border-radius: 10px;
  transition: .2s;
  margin: 0;
}

.socials a:hover {
  background: #222;
  transform: translateY(-2px);
}

.socials img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.copyright {
  background: #111;
  color: #777;
  border-top: 1px solid #222;
  text-align: center;
  padding: 18px;
  font-size: 12px;
  line-height: 1.55;
}

@media(max-width:768px) {
  .footer-service-wrap {
    margin-top: 40px;
    padding: 24px 0;
  }

  .footer-service,
  .footgrid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer {
    padding-bottom: 92px;
    font-size: 12px;
  }

  .footgrid {
    padding: 32px 0;
  }
}

.header-slogan {
  font-size: 18px;
  color: #667085;
  font-weight: 500;
  letter-spacing: .2px;
  white-space: nowrap;
}

.stockBadge {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 3px;
  border-radius: 20px;
  line-height: 1;
}

.warrantyInline {
  font-size: 12px;
  background: #ecfdf3;
  color: #00a7b5;
  font-weight: 500;
  border-radius: 20px;
  white-space: nowrap;
  padding: 2px 3px;
}

.stockBadge.in {
  background: #ecfdf3;
  color: #16a34a;
}

.stockBadge.out {
  background: #fef2f2;
  color: #dc2626;
}

.stockBadge.low {
  background: #fff3cd;
  color: #856404;

}

.priceRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.saleBadge {
  font-size: 11px;
  font-weight: 700;

  padding: 4px 6px;
  border-radius: 5px;

  background: #fef2f2;
  color: #dc2626;

  white-space: nowrap;

}

.topSocialBtn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111827;
  text-decoration: none;
  transition: .2s;

}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topSocialBtn:hover {
  background: #00a7b5;
  color: #fff;
}

.topSocialBtn i {
  font-size: 16px;
}

.cartBtn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #111;
  border: 1px solid #ddd;
  background: #fff;
  transition: .2s;
  font-size: 20px;
}

.cartBtn:hover {
  background: #00a7b5;
  color: #fff;
}

.footer .topSocialBtn {
  display: flex !important;
  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;

  align-items: center !important;
  justify-content: center !important;

  border-radius: 50% !important;
}

.footer .topSocialBtn i {
  line-height: 1;
  font-size: 16px;
}

.relatedProducts .productCard {
  width: 100%;
  height: 100%;
}


.accordion-button {
  font-weight: 600;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: #f8f9fa;
  color: #00a7b5;
}

.accordion-item {
  border: 1px solid #e9ecef;
  margin-bottom: 8px;
  border-radius: 8px !important;
  overflow: hidden;
}

.accordion-button:focus {
  box-shadow: none;
}

.faqLink {
  color: #00a7b5 !important;
}

.faqLink:hover {
  color: #02e5f8 !important;
}