:root {
  --bg: #f4f7fb;
  --bg-strong: #edf3fb;
  --surface: #ffffff;
  --surface-strong: #ecf8ff;
  --surface-muted: #f7fafc;
  --text: #0f172a;
  --text-soft: #475569;
  --line: rgba(15, 23, 42, 0.09);
  --primary: #0f172a;
  --primary-2: #152c45;
  --accent: #06b6d4;
  --accent-soft: rgba(6, 182, 212, 0.14);
  --success: #16a34a;
  --warning: #f59e0b;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 14px 28px rgba(15, 23, 42, 0.08);
}

body.dark-mode {
  --bg: #07111f;
  --bg-strong: #0c1b2a;
  --surface: #0f1d2b;
  --surface-strong: #10253a;
  --surface-muted: #132b42;
  --text: #e6edf6;
  --text-soft: #a8b7c9;
  --line: rgba(148, 163, 184, 0.18);
  --primary: #dfefff;
  --primary-2: #94c9ff;
  --accent: #67e8f9;
  --accent-soft: rgba(103, 232, 249, 0.12);
  --shadow: 0 18px 48px rgba(2, 6, 23, 0.52);
  --shadow-soft: 0 18px 36px rgba(2, 6, 23, 0.38);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, var(--bg) 0%, var(--surface-muted) 100%);
  color: var(--text);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.container {
  max-width: 1200px;
}

.btn {
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
  border: none;
  color: white;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-2) 0%, #1e3a8a 100%);
  color: white;
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
}

.btn-link {
  padding-left: 0;
  padding-right: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1rem;
}

.text-primary {
  color: var(--accent) !important;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0;
  letter-spacing: -0.04em;
}

.glass-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.25s ease;
  backdrop-filter: blur(18px);
  background: rgba(244, 247, 251, 0.75);
  border-bottom: 1px solid transparent;
}

body.dark-mode .site-header {
  background: rgba(7, 17, 31, 0.76);
}

.site-header.scrolled {
  box-shadow: var(--shadow-soft);
  border-color: var(--line);
}

.navbar {
  min-height: 80px;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--text) !important;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent) 0%, #1d9bf0 100%);
  box-shadow: 0 12px 24px rgba(6, 182, 212, 0.3);
  color: white;
  font-weight: 800;
}

.navbar-nav {
  gap: 1.25rem;
}

.nav-link {
  color: var(--text-soft) !important;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text) !important;
}

.nav-actions {
  margin-left: 1rem;
}

.theme-toggle,
.nav-cart {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.32);
  color: var(--text);
  position: relative;
}

.nav-cart {
  color: var(--text);
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-size: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.hero-section {
  position: relative;
  padding: 6rem 0 3rem;
  background:
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.18), transparent 28%),
    linear-gradient(135deg, #081328 0%, #102542 50%, #07111d 100%);
  color: white;
  overflow: hidden;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.28), transparent 42%, rgba(6, 182, 212, 0.1));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.hero-section p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.secondary-btn {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-trust div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-trust strong {
  font-size: 1.2rem;
  color: white;
}

.hero-trust span {
  color: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: min(100%, 540px);
  border-radius: 2rem;
  overflow: hidden;
  padding: 1rem;
  transform: perspective(1200px) rotateX(4deg) rotateY(-8deg);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.42);
}

.hero-card img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 1.4rem;
}

.mini-widget {
  position: absolute;
  left: 1.8rem;
  top: 1.8rem;
  background: rgba(8, 15, 24, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: white;
  font-weight: 600;
  z-index: 1;
}

.signal-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

.brand-strip {
  padding: 1.5rem 0 0.5rem;
}

.brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.2rem 0;
  color: var(--text-soft);
  font-weight: 600;
}

.brand-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: rgba(15, 23, 42, 0.58);
}

.feature-section,
.products-section,
.categories-section,
.process-section,
.testimonials-section,
.tips-section,
.newsletter-section,
.about-section,
.contact-section,
.cart-section,
.page-hero,
.product-detail-section {
  padding: 5rem 0;
}

.feature-card,
.category-card,
.process-card,
.testimonial-card,
.security-panel,
.info-panel,
.product-card,
.contact-card,
.cart-summary,
.cart-item,
.timeline-item,
.team-card,
.cert-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.feature-card {
  padding: 2rem 1.4rem;
  height: 100%;
}

.feature-card .icon-wrap {
  width: 3.3rem;
  height: 3.3rem;
  background: var(--accent-soft);
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-card h3,
.category-card h3,
.process-card h3,
.product-title,
.page-header h1,
.timeline-item h3,
.team-card h3,
.cert-card h3 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p,
.category-card p,
.process-card p,
.testimonial-card p,
.footer-copy,
.footer-newsletter input,
.contact-copy,
.timeline-item p,
.team-card p,
.cert-card p,
.info-panel p,
.product-description,
.cart-summary p,
.cart-item p,
.page-header p,
.product-specs li,
.product-features li {
  color: var(--text-soft);
}

.category-card {
  padding: 2rem 1.5rem;
  text-align: center;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.stats-section {
  padding: 0 0 5rem;
}

.stat-box {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-strong) 100%);
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  padding: 2rem 1.2rem;
  box-shadow: var(--shadow-soft);
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-soft);
}

.process-card {
  padding: 2rem 1.5rem;
  height: 100%;
}

.process-number {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 1rem;
}

.testimonial-card {
  padding: 2rem 1.6rem;
  height: 100%;
}

.stars {
  color: #fbbf24;
  letter-spacing: 0.2rem;
  margin-bottom: 1rem;
}

.author {
  display: flex;
  flex-direction: column;
  margin-top: 1.25rem;
}

.author span {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.tips-list {
  padding-left: 1.3rem;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
  color: var(--text-soft);
}

.tips-list li {
  line-height: 1.7;
}

.security-panel {
  padding: 1.5rem;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-weight: 700;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.live-pill {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.panel-body {
  padding-top: 1rem;
}

.camera-list {
  display: grid;
  gap: 1rem;
}

.camera-list div {
  display: flex;
  justify-content: space-between;
  background: var(--surface-muted);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
}

.newsletter-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(13, 54, 79, 0.9));
  border-radius: 2rem;
  padding: 2.5rem;
  color: white;
  box-shadow: var(--shadow);
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  flex: 1;
  max-width: 560px;
}

.newsletter-form input,
.footer-newsletter input,
.search-field,
.sort-select,
.filter-select,
.form-control,
.form-select {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0.9rem 1.2rem;
}

.newsletter-form input {
  color: white;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.12);
}

.newsletter-form input::placeholder,
.footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.67);
}

.site-footer {
  background: #0b1525;
  color: rgba(255, 255, 255, 0.8);
  padding-top: 2rem;
}

.footer-brand {
  color: white !important;
  margin-bottom: 1rem;
}

.site-footer h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.footer-newsletter {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-newsletter input {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0));
}

.page-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -0.06em;
  font-weight: 900;
}

.page-header p {
  font-size: 1.08rem;
  margin-top: 0.9rem;
}

.product-card {
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  background: var(--surface-muted);
}

.product-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  left: 1rem;
  top: 1rem;
  background: rgba(6, 182, 212, 0.18);
  color: var(--accent);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.category-pill {
  background: rgba(15, 23, 42, 0.05);
  color: var(--text-soft);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
}

.stock-badge {
  font-size: 0.7rem;
  border-radius: 999px;
  padding: 0.34rem 0.6rem;
  font-weight: 700;
}

.stock-badge.in-stock {
  color: var(--success);
  background: rgba(34, 197, 94, 0.12);
}

.stock-badge.out-of-stock {
  color: #dc2626;
  background: rgba(220, 38, 38, 0.08);
}

.product-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.product-description {
  color: var(--text-soft);
  line-height: 1.6;
  min-height: 4.5rem;
}

.rating-stars {
  color: rgba(15, 23, 42, 0.2);
  letter-spacing: 0.12rem;
}

.rating-stars .filled {
  color: #fbbf24;
}

.rating-text {
  color: var(--text-soft);
  font-weight: 600;
}

.product-price {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.original-price {
  font-size: 0.82rem;
  color: var(--text-soft);
  text-decoration: line-through;
  margin-left: 0.55rem;
}

.product-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-actions .btn {
  padding: 0.6rem 0.95rem;
  font-size: 0.78rem;
}

.filter-toolbar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.2rem 1.3rem;
  box-shadow: var(--shadow-soft);
}

.search-field,
.sort-select,
.filter-select,
.form-control,
.form-select {
  background: var(--surface-muted);
  color: var(--text);
}

.search-field::placeholder {
  color: var(--text-soft);
}

.product-grid {
  margin-top: 2rem;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.page-link {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  width: 2.7rem;
  height: 2.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-item.active .page-link {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 110%);
  border-color: transparent;
  color: white;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.2rem;
}

.gallery-main {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.gallery-main img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.gallery-thumb {
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--surface);
  padding: 0;
  cursor: pointer;
}

.gallery-thumb img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.product-info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 1.2rem;
}

.meta-badge {
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
}

.product-hero-price {
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.product-specs,
.product-features {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.product-specs li,
.product-features li {
  line-height: 1.6;
}

.detail-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}

.detail-panel h3 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.review-list,
.timeline,
.team-grid,
.cert-grid {
  display: grid;
  gap: 1.3rem;
}

.review-item {
  padding: 1.3rem 1.2rem;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
}

.review-item header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 1.2rem;
  padding: 1rem;
  align-items: center;
}

.cart-item img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 1rem;
}

.quantity-box {
  display: inline-flex;
  align-items: center;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.quantity-box button {
  width: 2.15rem;
  height: 2.15rem;
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 700;
}

.quantity-box span {
  min-width: 2rem;
  text-align: center;
  font-weight: 700;
}

.cart-summary {
  padding: 1.5rem;
  position: sticky;
  top: 110px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.summary-row.total {
  font-weight: 800;
  font-size: 1.2rem;
  padding-top: 1rem;
}

.coupon-box {
  display: flex;
  gap: 0.65rem;
  margin: 1.4rem 0 1.2rem;
}

.timeline-item,
.team-card,
.cert-card,
.contact-card,
.info-panel {
  padding: 1.4rem;
}

.timeline {
  position: relative;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  margin-left: 0.5rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.2rem;
  top: 1.5rem;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(6, 182, 212, 0.12);
}

.team-grid,
.cert-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-card img,
.cert-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-card,
.info-panel {
  min-height: 100%;
}

.faq-list {
  display: grid;
  gap: 0.8rem;
}

.accordion-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.accordion-button {
  font-weight: 600;
  color: var(--text);
}

.accordion-button:not(.collapsed) {
  background: var(--surface-strong);
  color: var(--text);
}

.map-placeholder {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.07), rgba(6, 182, 212, 0.12));
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  box-shadow: var(--shadow);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
}

.back-to-top.visible {
  display: inline-flex;
}

.toast-container {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1400;
  display: grid;
  gap: 0.8rem;
}

.toast-item {
  background: rgba(15, 23, 42, 0.92);
  color: white;
  border-radius: 0.9rem;
  box-shadow: var(--shadow);
  padding: 0.85rem 1rem;
  min-width: 220px;
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding-top: 1rem;
  }

  .nav-actions {
    justify-content: flex-start;
    margin-left: 0;
    padding-top: 1rem;
  }

  .product-detail-layout,
  .cart-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-grid,
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding-top: 4rem;
  }

  .hero-card img {
    min-height: 420px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form,
  .footer-newsletter,
  .coupon-box,
  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn {
    width: 100%;
  }

  .cart-item {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .team-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .navbar-brand {
    font-size: 1.15rem;
  }

  .section-heading h2 {
    font-size: 2.1rem;
  }

  .gallery-main img {
    height: 360px;
  }

  .product-info-card {
    padding: 1.25rem;
  }

  .feature-section,
  .products-section,
  .categories-section,
  .process-section,
  .testimonials-section,
  .tips-section,
  .newsletter-section,
  .about-section,
  .contact-section,
  .cart-section,
  .page-hero,
  .product-detail-section {
    padding: 4rem 0;
  }

  .page-header h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0.2rem 0;
  }

  .navbar {
    min-height: 68px;
  }

  .navbar-nav {
    gap: 0.7rem;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
    padding-top: 0.35rem;
  }

  .hero-section h1 {
    font-size: 2.5rem;
    line-height: 1.02;
  }

  .hero-section p {
    font-size: 1rem;
  }

  .hero-card {
    border-radius: 1.4rem;
  }

  .hero-card img {
    min-height: 310px;
  }

  .mini-widget {
    left: 1rem;
    top: 1rem;
    font-size: 0.75rem;
    padding: 0.45rem 0.7rem;
  }

  .brand-row {
    justify-content: center;
    text-align: center;
  }

  .brand-logos {
    justify-content: center;
  }

  .newsletter-box {
    padding: 1.4rem;
    border-radius: 1.4rem;
  }

  .site-footer {
    padding-top: 1.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-card .card-body {
    padding: 1rem;
  }

  .product-title {
    font-size: 1.2rem;
  }

  .product-actions {
    gap: 0.55rem;
  }

  .product-image {
    height: 220px;
  }

  .summary-row {
    font-size: 0.92rem;
  }
}
