:root {
  --accent1: #25c7af;
  --accent2: #ff602c;
  --fto-accent1: var(--accent1);
  --fto-accent2: var(--accent2);
  --bg: #ffffff;
  --text: #111111;
  --muted: #e5e5e5;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(0,0,0,.08);
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Poppins, Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--accent1);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(var(--max), 92%);
  margin: 0 auto;
}

.logo-left img {
  height: 42px;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  filter: brightness(1.15);
  transition: 0.2s ease;
}

.logo-left img:hover {
  filter: brightness(1.35);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent2) !important;
  border: 2px solid var(--accent2) !important;
  background: transparent !important;
  border-radius: 10px;
  padding: 10px 18px;
  height: 42px;
  min-width: 120px;
  transition: .2s ease;
  cursor: pointer;
}

.cart-link:hover {
  background: var(--accent2) !important;
  color: #fff !important;
}

.btn {
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
}

.btn-primary {
  background: var(--accent1);
  color: #fff;
}

.btn-secondary {
  background: var(--accent2);
  color: #fff;
}

.btn-ghost {
  border: 1px solid var(--muted);
  background: #fff;
  color: var(--text);
}

.btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn.full {
  width: 100%;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr 70px 80px 40px;
  align-items: center;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.04);
  gap: 14px;
  margin-bottom: 16px;
  animation: cartPop .25s ease;
}

.cart-row div:nth-child(2)::before {
  content: "ks:";
  font-weight: 600;
  font-size: 14px;
  color: #666;
}

@keyframes ftoPulse{

     0% {
         transform: scale(0.85);
    }
     50% {
         transform: scale(1.05);
    }
     100% {
         transform: scale(0.85);
    }

}

.header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  background: #484349;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px) saturate(160%);
  padding: 14px 0;
}

.header .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-right a {
  padding: 8px 14px;
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  transition: .2s ease;
}

.nav-right a:hover {
  background: rgba(255,255,255,0.15);
}

.fto-burger {
  width: 36px;
  height: 26px;
  position: relative;
  display: none;
  cursor: pointer;
  z-index: 10001;
}

.fto-burger input {
  display: none;
}

.fto-burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: #f4f4f4;
  border-radius: 3px;
  transition: .28s ease;
}

.fto-burger span:nth-child(2) {
  top: 0;
}

.fto-burger span:nth-child(3) {
  top: 11px;
}

.fto-burger span:nth-child(4) {
  top: 22px;
}

.fto-burger input:checked ~ span:nth-child(2) {
  transform: rotate(45deg);
  top: 11px;
}

.fto-burger input:checked ~ span:nth-child(3) {
  opacity: 0;
  transform: translateX(12px);
}

.fto-burger input:checked ~ span:nth-child(4) {
  transform: rotate(-45deg);
  top: 11px;
}

.bestsellers-section {
  background: linear-gradient(180deg, #f3f4f7 0%, #eceef4 100%);
  padding: 90px 0 110px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}

.meta {
  color: #6b7280;
  font-size: 13px;
  margin: 8px 0 12px;
}

.bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.actions a, .actions button {
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
}

.btn-detail {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-detail:hover {
  border-color: #9ca3af;
}

.services-section {
  padding: 90px 0 120px;
  background: var(--fto-bg);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  text-align: center;
}

.services-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 50px;
  color: #111827;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 34px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 34px;
  text-align: left;
  border: 1px solid rgba(170, 180, 195, 0.25);
  box-shadow: 0 15px 38px rgba(0,0,0,0.10), 0 4px 14px rgba(0,0,0,0.05);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(31,187,170,0.55);
  box-shadow: 0 22px 58px rgba(0,0,0,0.15), 0 8px 26px rgba(0,0,0,0.06);
}

.icon-wrap {
  position: relative;
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
}

.icon-bg {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: rgba(31,187,170,0.10);
  box-shadow: inset 0 0 12px rgba(31,187,170,0.15);
  transition: .25s ease;
}

.icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  z-index: 2;
  transition: transform .25s ease;
}

.service-card:hover .icon {
  transform: translateY(-3px) scale(1.07);
}

.service-card:hover .icon-bg {
  background: rgba(31,187,170,0.16);
  box-shadow: inset 0 0 18px rgba(31,187,170,0.22);
}

.service-card h3 {
  margin: 6px 0 10px;
  font-size: 20px;
  font-weight: 700;
  color: #111827;
}

.service-card p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.65;
}

.faq-section {
  padding: 90px 0 110px;
  background: var(--fto-bg);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
}

.faq-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
  color: #111827;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  padding: 0 12px;
}

.faq-flip {
  perspective: 1400px;
  height: 200px;
}

.faq-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .65s cubic-bezier(.18,.55,.26,1.15);
}

.faq-flip:hover .faq-inner {
  transform: rotateY(180deg);
}

.faq-front, .faq-back {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(170, 180, 195, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
  backface-visibility: hidden;
}

.faq-front span {
  font-size: 40px;
  margin-bottom: 10px;
}

.faq-front h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}

.faq-back {
  transform: rotateY(180deg);
  padding: 24px;
}

.faq-back p {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.faq-back a {
  color: #1FBBAA;
  font-weight: 600;
}

.section .tech {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
  border-radius: 28px;
  background: linear-gradient(180deg, #f4f6f9 0%, #eceff3 100%);
  box-shadow: 0 12px 28px rgba(0,0,0,0.10);
  max-width: 1200px;
  margin: 60px auto;
}

.tech-media img {
  width: 360px;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  object-fit: cover;
  transition: transform .35s ease;
}

.tech-media img:hover {
  transform: scale(1.03);
}

.tech-text {
  flex: 1;
}

.tech-text h3 {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 16px;
  color: #111827;
}

.tech-text p {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.65;
  margin-bottom: 14px;
}

.tech-text strong {
  color: #000;
}

.footer {
  background: #2d2b32;
  padding: 50px 0 40px;
  margin-top: 80px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -12px 28px rgba(0,0,0,0.20);
  color: #e5e7eb;
  font-size: 15px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 35px;
}

.footer-row > div:first-child {
  font-size: 15px;
  opacity: 0.9;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links a {
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.85;
  transition: 0.2s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: #1FBBAA;
  transform: translateX(4px);
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-links a {
  display: inline-flex;
  background: rgba(255,255,255,0.08);
  padding: 8px;
  border-radius: 12px;
  transition: .25s ease;
  border: 1px solid rgba(255,255,255,0.14);
}

.social-links a:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-3px);
}

.social-links img {
  width: 22px;
  height: 22px;
  filter: brightness(0.92);
}

.gopay-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 26px;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.gopay-footer p {
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.gopay-footer img {
  height: 34px;
  width: auto;
  opacity: 0.85;
  margin-top: 8px;
  filter: brightness(0.96);
  transition: .25s ease;
}

.gopay-footer img:hover {
  opacity: 1;
  transform: scale(1.04);
}

.cookie-banner {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 480px);
  background: #2d2b32;
  color: #fff;
  padding: 18px 22px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  z-index: 999999;
  opacity: 1;
  transition: opacity .35s ease, transform .35s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  pointer-events: none;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #e6e6e6;
}

.cookie-banner a {
  color: var(--accent1);
  text-decoration: underline;
}

.cookie-banner button {
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--accent1);
  color: #fff;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: .2s ease;
}

.cookie-banner button:hover {
  background: #18a394;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 99999;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 92%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 26px;
  box-shadow: 0 18px 55px rgba(0,0,0,0.20), 0 0 0 1px rgba(255,255,255,0.35) inset;
  overflow: hidden;
  animation: modalFade .35s ease;
  backdrop-filter: blur(22px) saturate(170%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  max-height: 80vh;
  display: flex;
  flex-direction: column;
}

@keyframes modalPop{

     0% {
         transform: translateY(20px) scale(.95);
         opacity: 0;
    }
     100% {
         transform: translateY(0) scale(1);
         opacity: 1;
    }

}

.modal-head {
  padding: 20px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.35);
  backdrop-filter: blur(12px);
}

.modal-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #111;
}

.modal-head button {
  background: rgba(0,0,0,0.05);
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #444;
  transition: .2s;
  width: 36px;
  height: 36px;
  border-radius: 12px;
}

.modal-head button:hover {
  color: #000;
  background: rgba(0,0,0,0.12);
}

.modal-body {
  padding: 22px;
  max-height: none;
  overflow-y: auto;
  font-size: 15px;
  line-height: 1.55;
  flex: 1 1 auto;
  overflow: auto;
}

.modal-foot {
  padding: 22px 26px;
  background: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(14px);
}

.modal-foot .total {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.modal-foot .btn-primary {
  padding: 12px 22px;
  border-radius: 14px;
  font-size: 16px;
  background: var(--accent1);
  transition: .22s ease;
}

.fto-social {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fto-social li {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .25s ease;
}

.fto-social li img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  filter: brightness(1.15);
  transition: .25s ease;
}

.fto-social li.ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.fto-social li.fb {
  background: #1877f2;
}

.fto-social li.tk {
  background: #000;
}

.fto-social li:hover {
  transform: translateY(-4px);
  filter: brightness(1.15);
}

.fto-social li:hover img {
  transform: scale(1.12);
}

.contact-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, #f8fafc, #f0f2f5);
}

.contact-title {
  font-size: 34px;
  margin-bottom: 8px;
  font-weight: 700;
  color: #111;
}

.contact-subtitle {
  margin-bottom: 40px;
  color: #4b5563;
  font-size: 17px;
  max-width: 620px;
}

.contact-card {
  background: #fff;
  padding: 30px 34px;
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  margin-bottom: 26px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}

.contact-card h2 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 22px;
  font-weight: 700;
  color: #111;
}

.contact-info p {
  margin: 0;
  color: #333;
  line-height: 1.55;
  font-size: 16px;
}

.contact-info a {
  color: #1FBBAA;
  font-weight: 600;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

@keyframes modalFade{

     0% {
         transform: translateY(25px) scale(.95);
         opacity: 0;
    }
     100% {
         transform: translateY(0) scale(1);
         opacity: 1;
    }

}

@keyframes cartPop{

     0% {
         transform: translateY(8px) scale(.97);
         opacity: 0;
    }
     100% {
         transform: translateY(0) scale(1);
         opacity: 1;
    }

}

.cart-row .name {
  font-size: 17px;
  font-weight: 700;
  color: #111;
}

.cart-row input[type="number"] {
  width: 70px;
  padding: 10px 12px;
  font-size: 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04), inset 0 0 0 1px rgba(255,255,255,0.7);
  transition: .2s ease;
}

.cart-row input[type="number"]:focus {
  border-color: var(--accent1);
  box-shadow: 0 0 0 3px rgba(31,187,170,0.25), 0 2px 6px rgba(0,0,0,0.06);
  outline: none;
}

.cart-row .price {
  font-weight: 800;
  font-size: 17px;
  text-align: right;
  color: #000000;
}

.cart-row .remove-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  color: #666;
  border: 1px solid rgba(0,0,0,0.10);
  transition: .25s ease, transform .25s ease;
  backdrop-filter: blur(14px);
}

.cart-row .remove-btn:hover {
  background: rgba(255, 77, 77, 0.15);
  border-color: rgba(255, 77, 77, 0.45);
  color: #d00000;
  transform: translateY(-2px) scale(1.05);
}

.modal-foot .btn-primary:hover {
  background: #18a394;
  transform: translateY(-2px);
}

.cart-row .remove-btn:active {
  transform: scale(0.92);
  background: rgba(255,0,0,0.20);
}

.cart-row .remove-btn span {
  display: block;
  margin-top: -2px;
}

#cart-pop {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(40px);
  padding: 14px 22px;
  background: #FF5530;
  color: #fff;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  opacity: 0;
  z-index: 999999;
  font-size: 15px;
  transition: transform .35s ease, opacity .35s ease;
}

#cart-pop.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.fto-product-grid {
  padding: 72px 0 56px;
}

.fto-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
}

.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 10px 18px;
  border-radius: 40px;
  border: 1px solid #d1d5db;
  background: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  transition: .25s ease;
}

.filter-pill:hover {
  background: #f3f4f6;
}

.filter-pill.active {
  background: var(--fto-accent1);
  border-color: var(--fto-accent1);
  color: #fff;
  box-shadow: 0 4px 12px rgba(31,187,170,0.25);
}

.fto-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  border: 1px solid #ececec;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.fto-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10);
  border-color: #e5e7eb;
}

.fto-scribble {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  fill: none;
  z-index: 0;
}

.fto-scribble-path {
  opacity: 1;
  stroke-dasharray: 1700;
  stroke-dashoffset: 1700;
  transition: stroke-dashoffset .9s ease;
}

.fto-card:hover .fto-scribble-path {
  stroke-dashoffset: 0;
  opacity: 1;
}

.fto-img-wrap, .fto-card-title, .fto-card-price, .fto-card-btn {
  position: relative;
  z-index: 2;
}

.fto-img-wrap {
  overflow: hidden;
  padding: 12px;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: #f5f5f5;
  margin-bottom: 16px;
}

.fto-img-wrap img {
  width: 100%;
  display: block;
  margin: auto;
  border-radius: 18px;
  transition: transform 0.35s ease;
  height: 100%;
  object-fit: cover;
}

.fto-card-title {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.25;
  margin: 0 0 8px;
}

.fto-card-price {
  margin-top: 6px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 18px;
}

.fto-card-btn {
  margin-top: auto;
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2bb8a5 0%, #ff6a3d 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 10px 24px rgba(255, 106, 61, 0.22);
  width: 100%;
  border: 0;
  font-size: 0.98rem;
  cursor: pointer;
  align-self: flex-start;
}

.fto-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(255, 106, 61, 0.28);
  opacity: 0.85;
}

.fto-card, .fto-card img, .fto-img-wrap img {
  animation: none !important;
}

.fto-card-link {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.fto-card .fto-card-btn {
  position: relative;
  z-index: 5;
  pointer-events: auto;
}

.fto-product-card {
  position: relative;
  padding: 22px;
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.07);
  transition: transform .35s ease, box-shadow .35s ease;
  cursor: pointer;
}

.fto-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(0,0,0,0.12);
}

.fto-card-scribble {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
}

.fto-card-scribble path {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  transition: stroke-dashoffset .9s ease;
}

.fto-product-card:hover .fto-card-scribble path {
  stroke-dashoffset: 0;
}

.fto-product-img {
  width: 92%;
  margin: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
  transition: transform .35s ease;
}

.fto-product-card:hover .fto-product-img {
  transform: scale(1.07);
}

.fto-product-name {
  margin: 18px 0 6px 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
}

.fto-product-price {
  color: #000000;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.fto-product-buttons {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.fto-btn-detail {
  padding: 10px 18px;
  border-radius: 40px;
  border: 1px solid #d1d5db;
  background: #fff;
  font-size: .9rem;
  cursor: pointer;
}

.fto-btn-buy {
  flex: 1;
  text-align: center;
  padding: 10px 18px;
  border-radius: 40px;
  background: linear-gradient(135deg, var(--fto-accent1), var(--fto-accent2));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255,85,48,0.25);
}

.fto-btn-buy:hover {
  transform: translateY(-2px);
}

.product-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.product-media {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

model-viewer, .big-img {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  background: #f3f3f3;
  object-fit: contain;
}

.product-gallery {
  display: flex;
  gap: 10px;
}

.product-gallery img {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  cursor: pointer;
  object-fit: cover;
  border: 2px solid transparent;
  transition: .2s;
}

.product-gallery img:hover {
  border-color: #1FBBAA;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn-big {
  padding: 14px 24px;
  font-size: 18px;
  border-radius: 14px;
}

.fto-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #f3f3f3;
  margin-bottom: 16px;
}

.fto-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fto-card-name {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 10px 0 6px;
}

.product-thumb img {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  height: 100%;
}

.product-item h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.btn-cart {
  background: linear-gradient(135deg, #1FBBAA, #1FAAC9);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
}

.btn-cart:hover {
  opacity: 0.85;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.product-item {
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  text-align: center;
  transition: .25s ease;
}

.product-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.product-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  background: #f7f7f7;
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-item .price {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 16px;
}

.product-item .btn-cart {
  display: inline-block;
  background: linear-gradient(90deg, #1FBBAA, #FF5530);
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: .2s;
}

.product-item .btn-cart:hover {
  opacity: .85;
}

#homeGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.fto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  margin-top: 80px;
  margin-bottom: 120px;
}

.detail-left {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.detail-main {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 22px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 420px;
}

.detail-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity .25s ease, transform .25s ease;
}

.detail-gallery {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}

.detail-gallery img {
  width: 90px;
  height: 90px;
  border-radius: 14px;
  cursor: pointer;
  object-fit: cover;
  border: 3px solid transparent;
  transition: .25s ease;
  background: #f4f4f4;
}

.detail-gallery img:hover {
  transform: translateY(-3px);
  border-color: var(--accent1);
}

.detail-gallery img.active {
  border-color: var(--accent2);
  transform: translateY(-2px);
}

.detail-right h1 {
  font-size: 2.6rem;
}

.detail-price {
  font-size: 2rem;
  font-weight: 800;
}

.btn-cart-big {
  width: 100%;
  margin-top: 30px;
  padding: 18px 24px;
  font-size: 1.2rem;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(31,187,170,0.25);
  transition: .25s ease;
}

.btn-cart-big:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(31,187,170,0.35);
}

.fto-hero-v2 {
  position: relative;
  min-height: 85vh;
  overflow: hidden;
  background: #000;
  border-bottom-left-radius: 28px;
  border-bottom-right-radius: 28px;
}

.fto-hero-v2-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fto-hero-v2-bg .fto-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  animation: ftoHeroV2Fade 24s infinite;
  filter: brightness(1.15) contrast(1.05) saturate(1.05);
}

.fto-hero-slide.slide-1 {
  background-image: url("../img/bg/hero1.webp");
  animation-delay: 0s;
}

.fto-hero-slide.slide-2 {
  background-image: url("../img/bg/hero2.webp");
  animation-delay: 8s;
}

.fto-hero-slide.slide-3 {
  background-image: url("../img/bg/hero3.webp");
  animation-delay: 16s;
}

.fto-hero-v2-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient( to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.25) );
}

.fto-hero-v2-inner {
  position: relative;
  z-index: 2;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 120px 0;
}

.fto-hero-v2-content {
  max-width: 620px;
  color: #fff;
}

.fto-hero-v2-title {
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.fto-hero-v2-lead {
  max-width: 520px;
  line-height: 1.6;
  opacity: 0.9;
  margin-top: 14px;
}

.fto-hero-v2-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

.fto-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.fto-hero-btn.primary {
  background: var(--fto-accent1);
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
  box-shadow: 0 8px 20px rgba(37, 199, 175, 0.35);
}

.fto-hero-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 199, 175, 0.45);
  background-color: #1fb3a0;
}

.fto-hero-btn.ghost {
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.35);
  text-decoration: none;
  transition: background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.fto-hero-btn.ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
}

@keyframes ftoHeroV2Fade{

     0% {
         opacity: 0;
    }
     8% {
         opacity: 1;
    }
     30% {
         opacity: 1;
    }
     38% {
         opacity: 0;
    }
     100% {
         opacity: 0;
    }

}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
  pointer-events: none;
}

.header-tag-left {
  margin-right: 4px;
}

.header-tag-right {
  margin-left: 4px;
}

.fto-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 26px;
}

.fto-badge {
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

.img-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 9999;
}

.img-lightbox.show {
  opacity: 1;
  pointer-events: auto;
}

.img-lightbox img {
  max-width: 92vw;
  max-height: 92vh;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  border-radius: 12px;
  cursor: zoom-out;
}

.fade-in {
  animation: fadeIn .25s ease;
}

@keyframes fadeIn{

  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }

}

.fto-grid-title {
  font-size: 2rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 10px;
}

.fto-grid-subtitle {
  font-size: 1rem;
  color: #4b5563;
  margin: 0 0 32px;
}

#featuredProducts.fto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.fto-card:hover .fto-img-wrap img {
  transform: scale(1.03);
}

.fto-card-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .fto-burger {
    display: block;
  }
}

@media (max-width: 768px) {
  .nav-right {
    position: fixed;
    right: 16px;
    top: 72px;
    width: 220px;
    flex-direction: column;
    padding: 22px 20px 26px;
    background: #413D46;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35);
    backdrop-filter: blur(14px) saturate(150%);
    opacity: 0;
    transform: translateY(-14px) scale(0.97);
    pointer-events: none;
    transition: opacity .28s ease, transform .28s ease;
    z-index: 9999;
  }
  
  .nav-right.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
  
  .nav-right a {
    width: 100%;
    font-size: 1rem;
    color: #fff !important;
    padding: 10px 8px;
  }
  
  .nav-right a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(4px);
  }
}

@media (max-width: 768px) {
  .bestsellers-section {
    padding: 56px 0 70px;
    border-top-left-radius: 32px;
    border-top-right-radius: 32px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 60px 0 90px;
  }
  
  .services-title {
    font-size: 28px;
  }
  
  .service-card {
    padding: 26px;
  }
  
  .icon-wrap {
    width: 64px;
    height: 64px;
  }
  
  .icon {
    font-size: 28px;
  }
}

@media (max-width: 720px) {
  .faq-title {
    font-size: 26px;
  }
  
  .faq-back p {
    font-size: 14px;
  }
}

@media (max-width: 900px) {
  .section .tech {
    flex-direction: column;
    text-align: center;
    padding: 32px;
  }
  
  .tech-media img {
    width: 80%;
    max-width: 320px;
  }
}

@media (max-width: 600px) {
  .section .tech {
    padding: 24px;
    border-radius: 20px;
  }
  
  .tech-text h3 {
    font-size: 22px;
  }
  
  .tech-text p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .section .tech {
    flex-direction: column;
    text-align: center;
  }
  
  .tech-media img {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .footer-row {
    flex-direction: column;
    text-align: center;
    align-items: center;
    gap: 28px;
  }
  
  .footer-links {
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .filter-row {
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  #homeGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #homeGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .fto-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .fto-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .detail-main {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .fto-hero-v2-inner {
    padding: 90px 0;
  }
  
  .fto-hero-v2-title {
    font-size: 36px;
  }
  
  .fto-hero-v2-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .header-tag {
    display: none;
  }
}

@media (max-width: 1024px) {
  #featuredProducts.fto-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .fto-product-grid {
    padding: 56px 0 42px;
  }
  
  #featuredProducts.fto-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .fto-grid-title {
    font-size: 1.6rem;
  }
  
  .fto-card {
    border-radius: 22px;
    padding: 16px;
  }
  
  .fto-img-wrap {
    border-radius: 16px;
  }
  
  .fto-card-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
#featuredProducts .fto-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

#featuredProducts .fto-img-wrap {
  aspect-ratio: 1 / 1;
}