:root {
  --primary: #1a5f4a;
  --primary-dark: #134a3a;
  --secondary: #e67e22;
  --accent: #f39c12;
  --dark: #1a1a2e;
  --white: #ffffff;
  --light: #f8f9fa;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --success: #27ae60;
  --danger: #e74c3c;
  --shadow: 0 4px 20px rgba(0, 0, 0, .08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, .14);
  --radius: 16px;
  --radius-sm: 8px;
  --pill: 50px;
  --font: 'Inter', sans-serif;
  --nav-h: 64px;
  --subnav-h: 46px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input,
select {
  font-family: var(--font);
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
  overflow: hidden;
}

.brand-mark {
  width: 36px; height: 36px;
  background-image: url('burale-logo-icon.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: transparent; font-size: 0;
  flex-shrink: 0;
}

.brand-text {
  line-height: 1.1;
  min-width: 0;
  overflow: hidden;
}

.brand-name {
  display: block;
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-name em {
  color: var(--secondary);
  font-style: normal;
}

.brand-sub {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}

.nav-link {
  padding: 7px 16px;
  border-radius: var(--pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  transition: all .22s;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--secondary);
  background: rgba(230, 126, 34, .07);
}

.nav-link.active {
  color: var(--secondary);
  background: rgba(230, 126, 34, .1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.search-box {
  position: relative;
  width: 256px;
}

.search-input {
  width: 100%;
  padding: 8px 68px 8px 14px;
  border: 2px solid var(--light-gray);
  border-radius: var(--pill);
  font-size: 0.83rem;
  color: var(--dark);
  background: var(--light);
  outline: none;
  transition: border-color .22s, box-shadow .22s, background .22s;
}

.search-input:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 95, 74, .1);
}

.search-input::placeholder {
  color: var(--gray);
}

.search-clear-btn {
  position: absolute;
  right: 34px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
  font-size: .76rem;
  display: none;
  align-items: center;
  padding: 2px;
  transition: color .2s;
}

.search-clear-btn.visible {
  display: flex;
}

.search-clear-btn:hover {
  color: var(--danger);
}

.search-submit-btn {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 27px;
  height: 27px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  transition: background .2s;
}

.search-submit-btn:hover {
  background: var(--secondary);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--light-gray);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  max-height: 300px;
  overflow-y: auto;
  z-index: 600;
  display: none;
  padding: 6px 0;
}

.search-dropdown.open {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  cursor: pointer;
  border-bottom: 1px solid var(--light-gray);
  transition: background .14s;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: rgba(26, 95, 74, .06);
}

.search-result-thumb {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--light);
  flex-shrink: 0;
}

.search-result-name {
  font-weight: 700;
  font-size: .8rem;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-meta {
  font-size: .7rem;
  color: var(--gray);
}

.search-result-price {
  font-size: .8rem;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.search-highlight {
  color: var(--secondary);
  font-weight: 800;
}

.search-no-results {
  padding: 16px;
  text-align: center;
  color: var(--gray);
  font-size: .84rem;
}

.search-no-results i {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--light-gray);
}

.search-toggle-btn {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--dark);
  font-size: 1rem;
  transition: color .2s, background .2s;
}

.search-toggle-btn:hover {
  color: var(--primary);
  background: var(--light);
}

.cart-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--pill);
  font-size: .84rem;
  font-weight: 600;
  transition: all .22s;
  white-space: nowrap;
  flex-shrink: 0;
}

.cart-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.cart-badge {
  background: var(--secondary);
  color: #fff;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .62rem;
  font-weight: 700;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 6px;
  border-radius: 10px;
  transition: background .2s;
}

.hamburger:hover {
  background: var(--light);
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-search-row {
  display: none;
  padding: 8px 16px 10px;
  background: var(--white);
  border-top: 1px solid var(--light-gray);
  position: relative;
}

.mobile-search-row.open {
  display: block;
}

.mobile-search-row .search-input {
  padding-right: 40px;
}

.mobile-search-row .search-clear-btn {
  right: 20px;
}

.mobile-search-row .search-submit-btn {
  right: 5px;
}

.sub-nav {
  background: var(--white);
  border-top: 1px solid var(--light-gray);
}

.sub-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--subnav-h);
  display: flex;
  align-items: center;
  gap: 14px;
}

.filter-chips {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 3px 0;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  border-radius: var(--pill);
  border: 1.5px solid var(--light-gray);
  background: var(--white);
  color: var(--dark);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all .2s;
}

.chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(26, 95, 74, .05);
}

.chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 3px 10px rgba(26, 95, 74, .25);
}

.chip.active:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.sort-select {
  flex-shrink: 0;
  max-width: 130px;
  padding: 6px 28px 6px 12px;
  border: 1.5px solid var(--light-gray);
  border-radius: var(--pill);
  background: var(--white);
  color: var(--dark);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: border-color .2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.sort-select:focus {
  border-color: var(--primary);
}

body.no-subnav .sub-nav {
  display: none;
}

body:not(.no-subnav) main {
  padding-top: calc(var(--nav-h) + var(--subnav-h));
}

body.no-subnav main {
  padding-top: var(--nav-h);
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 1100;
  opacity: 0;
  transition: opacity .3s;
}

.drawer-overlay.open {
  display: block;
  opacity: 1;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85vw;
  height: 100vh;
  background: var(--white);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--primary);
  color: #fff;
  flex-shrink: 0;
}

.drawer-header .brand-name {
  color: #fff;
  font-size: 1rem;
}

.drawer-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.05rem;
  transition: background .2s;
}

.drawer-close:hover {
  background: rgba(255, 255, 255, .18);
}

.drawer-nav {
  padding: 10px 0;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  color: var(--dark);
  font-weight: 600;
  font-size: .93rem;
  border-left: 3px solid transparent;
  transition: all .2s;
}

.drawer-link i {
  width: 20px;
  text-align: center;
  color: var(--gray);
  transition: color .2s;
}

.drawer-link:hover {
  background: var(--light);
  color: var(--secondary);
  border-left-color: var(--secondary);
}

.drawer-link:hover i {
  color: var(--secondary);
}

.drawer-link.active {
  background: rgba(26, 95, 74, .06);
  color: var(--primary);
  border-left-color: var(--primary);
}

.drawer-link.active i {
  color: var(--primary);
}

.hero {
  padding: 60px 24px 40px;
  background: var(--white);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-content h1 span {
  color: var(--secondary);
}

.hero-content p {
  font-size: .98rem;
  color: var(--gray);
  margin-bottom: 28px;
  max-width: 460px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--pill);
  font-size: .92rem;
  font-weight: 700;
  transition: all .28s;
  cursor: pointer;
}

.btn-primary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(230, 126, 34, .3);
}

.btn-primary:hover {
  background: #d35400;
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(230, 126, 34, .4);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--light-gray);
}

.btn-outline:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 360px;
  overflow: visible;
}

.phone-slider {
  position: relative;
  width: 100%;
  max-width: 280px;
  height: 460px;
  perspective: 1000px;
  overflow: visible;
}
.phone-slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 260px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
}

.slide-img-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent);
}

.slide-img-wrapper img {
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5));
  transition: transform 0.6s ease;
}

.phone-slide:hover .slide-img-wrapper img {
  transform: scale(1.08) translateY(-5px);
}

.slide-glass-panel {
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px;
  text-align: left;
  z-index: 2;
  position: relative;
}

.slide-brand {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 4px;
}

.slide-model {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.slide-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.slide-price {
  font-size: 1.25rem;
  font-weight: 900;
  background: linear-gradient(to right, #fff, #bbb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slide-old-price {
  font-size: 0.8rem;
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.4);
}

.slide-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--pill);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(26, 95, 74, 0.4);
  z-index: 3;
}

.phone-slide.active {
  z-index: 3;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.phone-slide.prev {
  z-index: 2;
  transform: translate(-90%, -50%) scale(0.85);
  opacity: 0.3;
}

.phone-slide.next {
  z-index: 2;
  transform: translate(-10%, -50%) scale(0.85);
  opacity: 0.3;
}

.phone-slide.hidden {
  z-index: 1;
  transform: translate(-50%, -50%) scale(0.6);
  opacity: 0;
}

.slider-dots {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-dot.active {
  background: var(--primary);
  width: 32px;
  box-shadow: 0 0 10px rgba(26, 95, 74, 0.5);
}

@media (min-width: 992px) {
  .phone-slider {
    max-width: 400px;
    height: 560px;
  }
  .phone-slide {
    width: 320px;
    height: 500px;
    border-radius: 28px;
    background: #000;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-color: rgba(255, 255, 255, 0.1);
  }
  .slide-img-wrapper {
    background: transparent;
  }
  .slide-glass-panel {
    padding: 24px;
    background: #000;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .slide-brand {
    font-size: 0.85rem;
  }
  .slide-model {
    font-size: 1.3rem;
    margin-bottom: 12px;
  }
  .slide-price {
    font-size: 1.6rem;
  }
  .slide-old-price {
    font-size: 0.9rem;
  }
  .slide-badge {
    font-size: 0.8rem;
    padding: 8px 16px;
    top: 20px;
    right: 20px;
  }
}

.section {
  padding: 60px 24px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-tag {
  display: inline-block;
  background: rgba(26, 95, 74, .1);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: var(--pill);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
}

.section-header p {
  color: var(--gray);
  font-size: .92rem;
  max-width: 480px;
  margin: 0 auto;
}

.filter-results {
  font-size: .8rem;
  color: var(--gray);
  margin-bottom: 14px;
  font-weight: 500;
  min-height: 1.2em;
}

.filter-results span {
  color: var(--primary);
  font-weight: 700;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-gray);
  transition: all .28s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--secondary);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--pill);
  font-size: .66rem;
  font-weight: 700;
  z-index: 2;
}

.product-badge.new {
  background: var(--success);
}

.product-badge.hot {
  background: var(--danger);
}

.product-image {
  height: 200px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform .3s;
}

.product-card:hover .product-image img {
  transform: scale(1.06);
}

.product-actions {
  position: absolute;
  bottom: -52px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  transition: bottom .28s;
}

.product-card:hover .product-actions {
  bottom: 0;
}

.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  transition: all .22s;
}

.action-btn:hover {
  background: var(--secondary);
  transform: scale(1.1);
}

.product-info {
  padding: 16px;
}

.product-brand {
  font-size: .7rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.product-name {
  font-size: .94rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.product-specs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.spec-tag {
  background: var(--light);
  padding: 3px 8px;
  border-radius: 5px;
  font-size: .66rem;
  color: var(--gray);
}

.product-footer {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
  border-top: 1px solid var(--light-gray);
  gap: 8px;
}

.product-price {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--primary);
}

.product-price .old {
  font-size: .78rem;
  color: var(--gray);
  text-decoration: line-through;
  margin-left: 4px;
  font-weight: 400;
}

.product-btns {
  display: flex;
  gap: 5px;
}

.product-btns .add-to-cart {
  flex: 1;
  justify-content: center;
  font-size: .63rem;
  padding: 7px 7px;
}

.product-btns .btn-whatsapp {
  flex: 1;
  justify-content: center;
  font-size: .61rem;
  padding: 7px 6px;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

.deal-btns {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.deal-btns .add-to-cart,
.deal-btns .btn-whatsapp {
  width: 100%;
  justify-content: center;
}

.deal-btns .btn-whatsapp {
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #25D366;
  color: #fff;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
  transition: background .2s, transform .18s;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
}

.btn-whatsapp i {
  font-size: .84rem;
}

.add-to-cart {
  background: var(--primary);
  color: #fff;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: .77rem;
  font-weight: 700;
  transition: background .22s;
  display: flex;
  align-items: center;
  gap: 4px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.add-to-cart:hover {
  background: var(--secondary);
}

.products-no-results {
  display: none;
  grid-column: 1/-1;
  text-align: center;
  padding: 50px 20px;
  color: var(--gray);
}

.products-no-results.visible {
  display: block;
}

.products-no-results i {
  font-size: 2.4rem;
  color: var(--light-gray);
  display: block;
  margin-bottom: 10px;
}

.products-no-results h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.brands-section {
  padding: 50px 24px;
  background: var(--light);
}

.brands-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 14px;
}

.brand-card {
  background: #fff;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  padding: 20px 14px;
  text-align: center;
  cursor: pointer;
  transition: all .28s;
}

.brand-card:hover {
  border-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.brand-card i {
  font-size: 1.65rem;
  color: var(--gray);
  display: block;
  margin-bottom: 7px;
  transition: color .25s;
}

.brand-card:hover i {
  color: var(--secondary);
}

.brand-name {
  font-size: .8rem;
  font-weight: 700;
  color: var(--dark);
}

.deals-banner {
  background: var(--primary);
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.deals-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, .05);
  border-radius: 50%;
}

.deals-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.deal-content h2 {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

.deal-content p {
  color: rgba(255, 255, 255, .8);
  margin-bottom: 20px;
  font-size: .95rem;
}

.countdown {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.countdown-item {
  background: rgba(255, 255, 255, .15);
  padding: 10px 14px;
  border-radius: 10px;
  text-align: center;
  min-width: 56px;
}

.countdown-item .number {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  display: block;
}

.countdown-item .label {
  font-size: .63rem;
  color: rgba(255, 255, 255, .7);
  text-transform: uppercase;
}

.deal-image {
  display: flex;
  justify-content: center;
}

.deal-phone {
  width: 210px;
  height: 420px;
  background: var(--dark);
  border-radius: 30px;
  border: 5px solid rgba(255, 255, 255, .1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .3);
}

.deal-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

.deal-phone .discount {
  position: absolute;
  top: 22px;
  right: -12px;
  background: var(--secondary);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .9rem;
  transform: rotate(15deg);
  z-index: 3;
}

.deal-phone .deal-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, .72);
  padding: 14px;
  text-align: center;
  z-index: 2;
  border-bottom-left-radius: 26px;
  border-bottom-right-radius: 26px;
  color: #fff;
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.deal-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--light-gray);
  transition: all .28s;
}

.deal-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.deal-card-img {
  height: 220px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.deal-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--danger);
  color: #fff;
  padding: 4px 10px;
  border-radius: var(--pill);
  font-size: .7rem;
  font-weight: 800;
}

.deal-card-body {
  padding: 16px;
}

.deal-progress {
  height: 6px;
  background: var(--light-gray);
  border-radius: 3px;
  margin: 10px 0;
  overflow: hidden;
}

.deal-progress-bar {
  height: 100%;
  background: var(--secondary);
  border-radius: 3px;
}

.deal-stock {
  font-size: .72rem;
  color: var(--gray);
  margin-bottom: 10px;
}

.deal-stock span {
  color: var(--danger);
  font-weight: 700;
}

.deal-prices {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.deal-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
}

.deal-old-price {
  font-size: .85rem;
  color: var(--gray);
  text-decoration: line-through;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--light-gray);
  transition: all .28s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: .84rem;
}

.testimonial-text {
  color: var(--gray);
  font-size: .87rem;
  margin-bottom: 16px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: .87rem;
}

.author-info h4 {
  font-weight: 800;
  color: var(--dark);
  font-size: .87rem;
}

.author-info p {
  font-size: .72rem;
  color: var(--gray);
}

.newsletter-section {
  background: var(--light);
  padding: 60px 24px;
}

.newsletter-inner {
  max-width: 580px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-inner h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 10px;
}

.newsletter-inner p {
  color: var(--gray);
  margin-bottom: 24px;
  font-size: .92rem;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 13px 18px;
  border: 2px solid var(--light-gray);
  border-radius: var(--pill);
  font-size: .9rem;
  outline: none;
  background: #fff;
  color: var(--dark);
  transition: border-color .22s;
}

.newsletter-input:focus {
  border-color: var(--primary);
}

.newsletter-input::placeholder {
  color: var(--gray);
}

.newsletter-btn {
  background: var(--secondary);
  color: #fff;
  border: none;
  padding: 13px 22px;
  border-radius: var(--pill);
  font-weight: 700;
  cursor: pointer;
  font-size: .9rem;
  transition: background .22s;
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: #d35400;
}

.footer {
  background: #fff;
  padding: 50px 24px 20px;
  border-top: 1px solid var(--light-gray);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand p {
  color: var(--gray);
  font-size: .83rem;
  line-height: 1.7;
  margin: 12px 0 16px;
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-links a {
  width: 36px;
  height: 36px;
  background: var(--light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: .88rem;
  transition: all .22s;
}

.social-links a:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  font-size: .9rem;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: var(--gray);
  font-size: .83rem;
  transition: color .22s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-links a i {
  font-size: .57rem;
  color: var(--primary);
}

.footer-contact p {
  color: var(--gray);
  font-size: .83rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: var(--primary);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--light-gray);
  padding-top: 16px;
  text-align: center;
  color: var(--gray);
  font-size: .77rem;
}

.page-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 50px 24px;
  color: #fff;
}

.page-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.page-banner h1 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.page-banner p {
  color: rgba(255, 255, 255, .8);
  font-size: .95rem;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  z-index: 5000;
  opacity: 0;
  transition: all .38s;
  box-shadow: var(--shadow-lg);
  font-size: .87rem;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast i {
  color: var(--success);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeInUp .6s ease forwards;
}

.delay-1 {
  animation-delay: .1s;
}

.delay-2 {
  animation-delay: .2s;
}

.delay-3 {
  animation-delay: .3s;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    margin: 0 auto 24px;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-image {
    order: -1;
    min-height: 300px;
  }

  .phone-slider {
    max-width: 250px;
    height: 400px;
  }

  .phone-slide {
    width: 168px;
    height: 336px;
  }

  .deals-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .countdown {
    justify-content: center;
  }

  .deal-image {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }


  .nav-link {
    font-size: 0.82rem;
    padding: 6px 12px;
  }

  .brand-name {
    font-size: 0.98rem;
  }

  .nav-actions .search-box {
    width: 200px;
  }
}

@media (max-width: 768px) {
  .nav-link {
    font-size: 0.78rem;
    padding: 5px 10px;
  }

  .brand-name {
    font-size: 0.9rem;
  }

  .brand-sub {
    display: none;
  }

  .nav-actions .search-box {
    width: 160px;
  }

  .search-input {
    padding: 7px 56px 7px 12px;
    font-size: 0.78rem;
  }

  .cart-label {
    display: none;
  }

  .cart-btn {
    padding: 8px 11px;
  }

  .nav-inner {
    padding: 0 16px;
    gap: 10px;
  }

  .sub-nav-inner {
    padding: 0 16px;
  }
}

@media (max-width: 610px) {
  :root {
    --subnav-h: 90px;
  }

  .sub-nav-inner {
    height: auto;
    min-height: var(--subnav-h);
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 10px;
  }

  .filter-chips {
    flex: 0 0 100%;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .sort-select {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 560px) {
  :root {
    --nav-h: 54px;
    --subnav-h: 84px;
  }


  .nav-inner {
    padding: 0 14px;
    gap: 0;
    justify-content: space-between;
  }


  .brand {
    gap: 7px;
    flex-shrink: 1;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 12px;
    border-radius: 9px;
  }

  .brand-name {
    font-size: .9rem;
  }

  .brand-sub {
    display: none;
  }


  .nav-actions {
    gap: 4px;
    margin-left: 10px;
  }


  .nav-links {
    display: none;
  }

  .nav-actions .search-box {
    display: none;
  }

  .cart-label {
    display: none;
  }


  .search-toggle-btn {
    display: flex;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    font-size: .95rem;
  }

  .hamburger {
    display: flex;
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 9px;
  }


  .cart-btn {
    padding: 0;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    justify-content: center;
    position: relative;
  }

  .cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    font-size: .55rem;
  }


  .mobile-search-row {
    padding: 8px 14px 10px;
  }

  .mobile-search-row .search-box {
    display: block !important;
    width: 100% !important;
  }

  .mobile-search-row .search-input {
    font-size: .88rem;
    padding: 9px 44px 9px 14px;
  }


  .sub-nav-inner {
    padding: 8px 14px;
    gap: 8px;
    height: auto;
  }

  .chip {
    padding: 5px 12px;
    font-size: .72rem;
  }

  .sort-select {
    font-size: .72rem;
    padding: 5px 22px 5px 9px;
    max-width: 110px;
  }


  .phone-slide.prev,
  .phone-slide.next {
    opacity: 0 !important;
    pointer-events: none;
  }

  .hero-image {
    min-height: 300px;
  }

  .phone-slider {
    max-width: 220px;
    height: 350px;
  }

  .phone-slide {
    width: 150px;
    height: 300px;
  }

  .hero {
    padding: 36px 16px 28px;
  }

  .hero-content h1 {
    font-size: 1.85rem;
  }


  .section {
    padding: 40px 16px;
  }

  .section-header h2 {
    font-size: 1.65rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-image {
    height: 160px;
  }


  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
    gap: 16px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 8px;
  }

  .social-links {
    justify-content: center;
  }

  .footer-links a,
  .footer-contact p {
    justify-content: flex-start;
  }


  .newsletter-form {
    flex-direction: column;
  }

  .deal-phone {
    width: 180px;
    height: 360px;
  }

  .deal-content h2 {
    font-size: 1.8rem;
  }

  .deals-grid {
    grid-template-columns: 1fr;
  }

  .page-banner {
    padding: 36px 16px;
  }

  .page-banner h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  :root {
    --subnav-h: 110px;
  }

  .hero {
    padding: 28px 12px 22px;
  }

  .hero-content h1 {
    font-size: 1.62rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .phone-slider {
    max-width: 210px;
    height: 320px;
  }

  .phone-slide {
    width: 140px;
    height: 282px;
  }

  .products-grid {
    gap: 12px;
  }

  .product-image {
    height: 140px;
  }

  .product-info {
    padding: 12px;
  }

  .product-name {
    font-size: .88rem;
  }

  .section {
    padding: 32px 12px;
  }

  .brands-section {
    padding: 36px 12px;
  }

  .chip {
    padding: 5px 11px;
    font-size: .74rem;
  }

  .sort-select {
    font-size: .74rem;
    padding: 5px 24px 5px 10px;
  }

  .sub-nav-inner {
    gap: 8px;
    padding: 0 12px;
  }

  .newsletter-section {
    padding: 40px 12px;
  }

  .footer {
    padding: 36px 12px 16px;
  }
}

@media (max-width: 379px) {
  :root {
    --nav-h: 50px;
    --subnav-h: 120px;
  }


  .nav-inner {
    padding: 0 10px;
  }

  .brand {
    gap: 6px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 10px;
    border-radius: 8px;
  }

  .brand-name {
    font-size: .78rem;
  }


  .nav-actions {
    gap: 3px;
    margin-left: 8px;
  }

  .cart-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }

  .cart-badge {
    top: -3px;
    right: -3px;
    width: 14px;
    height: 14px;
    font-size: .5rem;
  }

  .hamburger {
    width: 32px;
    height: 32px;
    padding: 7px;
    border-radius: 8px;
  }

  .search-toggle-btn {
    width: 32px;
    height: 32px;
    font-size: .85rem;
    border-radius: 8px;
  }


  .sub-nav-inner {
    padding: 8px 10px;
    gap: 5px;
    height: auto;
  }

  .chip {
    padding: 3px 8px;
    font-size: .64rem;
  }

  .sort-select {
    font-size: .64rem;
    padding: 3px 18px 3px 7px;
    max-width: 90px;
  }


  .hero {
    padding: 22px 10px 14px;
  }

  .hero-content h1 {
    font-size: 1.3rem;
    letter-spacing: -.5px;
  }

  .hero-content p {
    font-size: .82rem;
  }

  .hero-image {
    min-height: 230px;
  }

  .phone-slider {
    max-width: 170px;
    height: 270px;
  }

  .phone-slide {
    width: 115px;
    height: 232px;
    border-radius: 18px;
  }

  .slide-price {
    font-size: .95rem;
  }


  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .product-image {
    height: 105px;
  }

  .product-info {
    padding: 9px 7px 7px;
  }

  .product-brand {
    font-size: .58rem;
  }

  .product-name {
    font-size: .75rem;
    margin-bottom: 4px;
  }

  .product-specs {
    gap: 3px;
    margin-bottom: 5px;
  }

  .spec-tag {
    font-size: .58rem;
    padding: 2px 5px;
  }

  .product-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .product-price {
    font-size: .84rem;
  }

  .add-to-cart {
    width: 100%;
    justify-content: center;
    padding: 5px 7px;
    font-size: .65rem;
  }


  .section {
    padding: 26px 10px;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  .section-header p {
    font-size: .78rem;
  }


  .brands-section {
    padding: 26px 10px;
  }

  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }

  .brand-card {
    padding: 12px 6px;
  }

  .brand-card i {
    font-size: 1.2rem;
  }


  .countdown {
    gap: 6px;
  }

  .countdown-item {
    padding: 7px 8px;
    min-width: 44px;
  }

  .countdown-item .number {
    font-size: 1.1rem;
  }

  .deal-phone {
    width: 130px;
    height: 260px;
  }

  .deals-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .deal-card-img {
    height: 170px;
  }


  .page-banner {
    padding: 22px 10px;
  }

  .page-banner h1 {
    font-size: 1.3rem;
  }

  .page-banner p {
    font-size: .78rem;
  }


  .newsletter-section {
    padding: 28px 10px;
  }

  .newsletter-inner h2 {
    font-size: 1.3rem;
  }

  .newsletter-input,
  .newsletter-btn {
    font-size: .82rem;
    padding: 10px 12px;
  }


  .footer {
    padding: 24px 10px 14px;
  }

  .footer-grid {
    gap: 10px;
  }

  .footer-col h4 {
    font-size: .7rem;
    margin-bottom: 10px;
  }

  .footer-links a,
  .footer-contact p {
    font-size: .65rem;
  }


  .toast {
    white-space: normal;
    text-align: center;
    max-width: calc(100vw - 28px);
    font-size: .78rem;
    padding: 9px 12px;
  }
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
}

.cart-empty {
  text-align: center;
  padding: 64px 20px;
  color: var(--gray);
}

.cart-empty i {
  font-size: 3.5rem;
  color: var(--light-gray);
  display: block;
  margin-bottom: 18px;
}

.cart-empty h2 {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 8px;
}

.cart-empty p {
  margin-bottom: 26px;
  font-size: .94rem;
}

.cart-items-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--light-gray);
  margin-bottom: 4px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--dark);
}

.cart-clear-btn {
  background: none;
  border: none;
  color: var(--danger);
  font-size: .78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  font-family: var(--font);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: background .15s;
}

.cart-clear-btn:hover {
  background: rgba(231, 76, 60, .08);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--light-gray);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-unit {
  font-size: .74rem;
  color: var(--gray);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 2px;
  background: var(--light);
  border-radius: 9px;
  padding: 3px;
  flex-shrink: 0;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: transparent;
  border: none;
  color: var(--dark);
  font-size: .7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
}

.qty-btn:hover {
  background: var(--white);
  box-shadow: var(--shadow);
}

.qty-value {
  font-size: .9rem;
  font-weight: 800;
  min-width: 22px;
  text-align: center;
}

.cart-item-total {
  font-size: .9rem;
  font-weight: 900;
  color: var(--primary);
  min-width: 76px;
  text-align: right;
  flex-shrink: 0;
}

.cart-item-remove {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(231, 76, 60, .08);
  color: var(--danger);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  transition: background .2s;
  flex-shrink: 0;
}

.cart-item-remove:hover {
  background: rgba(231, 76, 60, .2);
}

.cart-summary-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--light-gray);
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}

.summary-title {
  font-size: 1rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-title i {
  color: var(--primary);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .88rem;
  padding: 6px 0;
  color: var(--gray);
}

.summary-total {
  font-size: 1rem;
  font-weight: 900;
  color: var(--dark);
}

.summary-divider {
  border: none;
  border-top: 1px solid var(--light-gray);
  margin: 10px 0;
}

.cart-whatsapp-btn {
  width: 100%;
  margin-top: 16px;
  background: #25D366;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: .92rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  box-shadow: 0 4px 14px rgba(37, 211, 102, .28);
  transition: background .2s, transform .2s, box-shadow .2s;
}

.cart-whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .38);
}

.cart-whatsapp-btn i {
  font-size: 1.2rem;
}

.whatsapp-note {
  font-size: .72rem;
  color: var(--gray);
  text-align: center;
  margin-top: 12px;
  line-height: 1.55;
}

.whatsapp-note i {
  color: #25D366;
}

.cart-continue-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 16px auto 0;
  font-size: .68rem;
  font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  transition: color .2s;
  width: max-content;
  padding: 2px 6px;
  border-radius: 6px;
}

.cart-continue-link:hover {
  color: var(--primary);
  background: rgba(26, 95, 74, .05);
}

@media (max-width: 768px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary-card {
    position: static;
  }
}

@media (max-width: 480px) {
  .cart-item {
    gap: 10px;
  }

  .cart-item-name {
    font-size: .82rem;
  }

  .cart-item-total {
    min-width: 60px;
    font-size: .82rem;
  }
}

.pdp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: var(--gray);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.pdp-breadcrumb a {
  color: var(--gray);
  text-decoration: none;
  transition: color .2s;
}

.pdp-breadcrumb a:hover {
  color: var(--primary);
}

.pdp-breadcrumb i {
  font-size: .65rem;
  color: var(--light-gray);
}

.pdp-breadcrumb span {
  color: var(--dark);
  font-weight: 600;
}

.pdp-hero {
  display: grid;
  grid-template-columns: 460px 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.pdp-gallery {
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}

.pdp-main-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--light);
  border: 1px solid var(--light-gray);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-main-img-wrap img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform .4s ease;
}

.pdp-main-img-wrap:hover img {
  transform: scale(1.06);
}

.pdp-main-img-wrap .product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: .82rem;
}

.pdp-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  justify-content: center;
}

.pdp-thumb {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 2px solid var(--light-gray);
  overflow: hidden;
  background: var(--light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s;
}

.pdp-thumb.active,
.pdp-thumb:hover {
  border-color: var(--primary);
}

.pdp-thumb img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

.pdp-info {
  padding-top: 4px;
}

.pdp-brand-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.pdp-name {
  font-size: 2rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.pdp-stars {
  color: #f59e0b;
  font-size: .9rem;
}

.pdp-review-count {
  font-size: .82rem;
  color: var(--gray);
}

.pdp-price-block {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.pdp-price {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
}

.pdp-old-price {
  font-size: 1.05rem;
  color: var(--gray);
  text-decoration: line-through;
}

.pdp-savings span {
  display: inline-block;
  background: rgba(46, 213, 115, .12);
  color: #1a9e56;
  font-size: .78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.pdp-spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}

.pdp-qty-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.pdp-qty-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
}

.pdp-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--light);
  border-radius: 12px;
  padding: 5px;
  border: 1px solid var(--light-gray);
}

.pdp-qty-ctrl .qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: .8rem;
}

.pdp-qty-ctrl .qty-value {
  font-size: 1rem;
  font-weight: 800;
  min-width: 32px;
  text-align: center;
}

.pdp-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.pdp-add-cart {
  flex: 1;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 13px;
  font-size: .95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font);
  box-shadow: 0 4px 14px rgba(37, 99, 235, .25);
  transition: background .2s, transform .2s, box-shadow .2s;
}

.pdp-add-cart:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, .35);
}

.pdp-whatsapp-btn {
  flex: 1;
  background: #25D366;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 13px;
  font-size: .95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font);
  box-shadow: 0 4px 14px rgba(37, 211, 102, .25);
  transition: background .2s, transform .2s, box-shadow .2s;
}

.pdp-whatsapp-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
}

.pdp-features-list {
  list-style: none;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.pdp-features-list li {
  font-size: .83rem;
  color: var(--dark);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.pdp-features-list li i {
  color: #1a9e56;
  font-size: .82rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.pdp-trust {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 16px;
  background: var(--light);
  border-radius: 14px;
  border: 1px solid var(--light-gray);
}

.pdp-trust-item {
  flex: 1;
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  padding: 10px 6px;
}

.pdp-trust-item i {
  font-size: 1.3rem;
  color: var(--primary);
}

.pdp-trust-item span {
  font-size: .72rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}

.pdp-tabs {
  margin-bottom: 56px;
}

.pdp-tab-nav {
  display: flex;
  border-bottom: 2px solid var(--light-gray);
  margin-bottom: 28px;
}

.pdp-tab-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 26px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--gray);
  font-family: var(--font);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}

.pdp-tab-btn:hover {
  color: var(--primary);
}

.pdp-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.pdp-tab-panel {
  display: none;
}

.pdp-tab-panel.active {
  display: block;
  animation: fadeUp .3s ease;
}

.pdp-tab-desc {
  font-size: .92rem;
  line-height: 1.8;
  color: var(--gray);
  max-width: 760px;
  margin-bottom: 24px;
}

.pdp-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.pdp-specs-table tr:nth-child(even) td {
  background: var(--light);
}

.pdp-specs-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--light-gray);
  vertical-align: top;
}

.pdp-specs-table td:first-child {
  font-weight: 700;
  color: var(--dark);
  width: 42%;
}

.pdp-specs-table td:last-child {
  color: var(--gray);
}

.pdp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.pdp-review-card {
  background: var(--light);
  border-radius: 14px;
  padding: 20px;
  border: 1px solid var(--light-gray);
}

.pdp-review-stars {
  color: #f59e0b;
  font-size: .82rem;
  margin-bottom: 8px;
}

.pdp-review-text {
  font-size: .86rem;
  color: var(--gray);
  line-height: 1.65;
  margin-bottom: 12px;
}

.pdp-review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pdp-reviewer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 800;
  flex-shrink: 0;
}

.pdp-reviewer-name {
  font-size: .8rem;
  font-weight: 700;
  color: var(--dark);
}

.pdp-reviewer-date {
  font-size: .72rem;
  color: var(--gray);
}

.pdp-related-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.pdp-related-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--light-gray);
  border-radius: 1px;
}

.pdp-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pdp-related-card {
  display: block;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--light-gray);
  background: var(--white);
  transition: transform .25s, box-shadow .25s;
}

.pdp-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pdp-related-img {
  background: var(--light);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdp-related-img img {
  width: 75%;
  height: 100%;
  object-fit: contain;
}

.pdp-related-info {
  padding: 12px 14px;
}

.pdp-related-brand {
  font-size: .7rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}

.pdp-related-name {
  font-size: .84rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdp-related-price {
  font-size: .9rem;
  font-weight: 900;
  color: var(--primary);
}

@media (max-width: 1024px) {
  .pdp-hero {
    grid-template-columns: 360px 1fr;
    gap: 32px;
  }

  .pdp-name {
    font-size: 1.65rem;
  }

  .pdp-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pdp-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pdp-gallery {
    position: static;
  }

  .pdp-name {
    font-size: 1.4rem;
  }

  .pdp-price {
    font-size: 1.85rem;
  }

  .pdp-actions {
    flex-direction: column;
  }

  .pdp-add-cart,
  .pdp-whatsapp-btn {
    width: 100%;
  }

  .pdp-features-list {
    grid-template-columns: 1fr;
  }

  .pdp-tab-btn {
    padding: 10px 16px;
    font-size: .84rem;
  }

  .pdp-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .pdp-name {
    font-size: 1.2rem;
  }

  .pdp-price {
    font-size: 1.6rem;
  }

  .pdp-main-img-wrap {
    border-radius: 14px;
  }

  .pdp-trust-item {
    min-width: 70px;
    padding: 8px 4px;
  }

  .pdp-trust-item i {
    font-size: 1.1rem;
  }

  .pdp-trust-item span {
    font-size: .65rem;
  }

  .pdp-tab-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .pdp-tab-btn {
    white-space: nowrap;
    padding: 9px 12px;
    font-size: .78rem;
  }
}

@media (max-width: 380px) {
  .pdp-related-grid {
    grid-template-columns: 1fr;
  }

  .pdp-name {
    font-size: 1.05rem;
  }

  .pdp-price {
    font-size: 1.4rem;
  }

  .pdp-add-cart,
  .pdp-whatsapp-btn {
    font-size: .84rem;
    padding: 13px 14px;
  }
}

.product-loading-skeleton {
  display: contents;
}

.skeleton-card {
  background: var(--light);
  border-radius: var(--radius);
  height: 320px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--light-gray);
}

.skeleton-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .65) 50%, transparent 100%);
  animation: skeleton-shimmer 1.4s infinite;
}

@keyframes skeleton-shimmer {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}