/* ============================================================
   NUVITECNO — Colombian Technology E-Commerce
   style.css — Production stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* ============================================================
   CSS RESET
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.breadcrumbs {
  padding: 12px 0;
  font-size: 0.85rem;
  color: #777;
}

.breadcrumbs a {
  color: #2fb5d2;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: #1a8a9e;
}

.breadcrumbs span {
  margin: 0 6px;
  color: #aaa;
}

.page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2fb5d2;
}

.empty-category-message {
  text-align: center;
  padding: 60px 20px;
  font-size: 1.1rem;
  color: #888;
  background: #fff;
  border-radius: 8px;
  margin: 20px 0;
}

.empty-category-message i {
  font-size: 3rem;
  display: block;
  margin-bottom: 15px;
  color: #ccc;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  padding: 12px 28px;
  background-color: #2fb5d2;
  color: #fff;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.25s, transform 0.15s;
}

.btn-primary:hover {
  background-color: #1a8a9e;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-cart {
  display: inline-block;
  padding: 8px 16px;
  background-color: #2fb5d2;
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
  border-radius: 4px;
  text-align: center;
  width: 100%;
  transition: background-color 0.25s;
}

.btn-cart:hover {
  background-color: #1a8a9e;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #25d366;
  color: #fff;
  font-weight: 500;
  border-radius: 4px;
  transition: background-color 0.25s;
}

.btn-whatsapp:hover {
  background-color: #1ebd5a;
}

/* ============================================================
   1. TOP BAR
   ============================================================ */
.top-bar {
  background-color: #333;
  color: #fff;
  font-size: 0.8rem;
  padding: 6px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: #ddd;
  transition: color 0.2s;
}

.top-bar a:hover {
  color: #2fb5d2;
}

.top-bar__left,
.top-bar__right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar__phone {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ============================================================
   2. HEADER
   ============================================================ */
.header {
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__main {
  padding: 12px 0;
}

.header__main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.header__logo img {
  max-height: 50px;
}

.header__logo a {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2fb5d2;
}

.header__search {
  flex: 1;
  max-width: 500px;
}

.header__search form {
  display: flex;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.header__search form:focus-within {
  border-color: #2fb5d2;
}

.header__search input {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: #333;
}

.header__search input::placeholder {
  color: #aaa;
}

.header__search button {
  padding: 10px 18px;
  background-color: #2fb5d2;
  color: #fff;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.header__search button:hover {
  background-color: #1a8a9e;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header__actions a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  color: #555;
  transition: color 0.2s;
}

.header__actions a:hover {
  color: #2fb5d2;
}

.header__actions i,
.header__actions .icon {
  font-size: 1.3rem;
  margin-bottom: 2px;
}

.header__cart-count {
  background-color: #2fb5d2;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -6px;
  right: -8px;
}

.header__cart-wrapper {
  position: relative;
}

/* Category Navigation Bar */
.category-nav {
  background-color: #2fb5d2;
}

.category-nav .container {
  display: flex;
  align-items: center;
}

.category-nav__list {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-nav__list::-webkit-scrollbar {
  display: none;
}

.category-nav__list li a {
  display: block;
  padding: 12px 18px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.category-nav__list li a:hover,
.category-nav__list li a.active {
  background-color: #1a8a9e;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   3. HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #e9e9e9;
}

.hero-slider__track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.hero-slider__slide {
  min-width: 100%;
  position: relative;
}

.hero-slider__slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-slider__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-slider__content h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.hero-slider__content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.hero-slider__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-slider__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-slider__dot.active,
.hero-slider__dot:hover {
  background-color: #fff;
}

.hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.25s;
  z-index: 2;
}

.hero-slider__arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

.hero-slider__arrow--prev {
  left: 15px;
}

.hero-slider__arrow--next {
  right: 15px;
}

/* ============================================================
   4. PRODUCT GRID
   ============================================================ */
.products-section {
  padding: 40px 0;
}

.products-section__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  text-align: center;
}

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

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.product-card__image {
  position: relative;
  overflow: hidden;
  background: #fafafa;
}

.product-card__image img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 15px;
  transition: transform 0.3s;
}

.product-card:hover .product-card__image img {
  transform: scale(1.03);
}

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #e74c3c;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
}

.product-card__badge--new {
  background-color: #2fb5d2;
}

.product-card__info {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__name {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__name a {
  color: #333;
  transition: color 0.2s;
}

.product-card__name a:hover {
  color: #2fb5d2;
}

.product-card__price {
  color: #2fb5d2;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 12px;
  margin-top: auto;
}

.product-card__price-old {
  color: #999;
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: line-through;
  margin-right: 8px;
}

/* ============================================================
   5. BANNER SECTION
   ============================================================ */
.banner-section {
  margin: 30px 0;
}

.banner-section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.banner-section a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  transition: opacity 0.2s;
}

.banner-section a:hover {
  opacity: 0.92;
}

/* ============================================================
   6. CATEGORIES GRID
   ============================================================ */
.categories-section {
  padding: 40px 0;
}

.categories-section__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 25px;
  text-align: center;
}

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

.category-card {
  background: #fff;
  border-radius: 8px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.category-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.category-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-card__name {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}

/* ============================================================
   7. CATEGORY PAGE LAYOUT
   ============================================================ */
.category-page {
  padding: 30px 0;
}

.category-page .container {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

/* Sidebar */
.category-sidebar {
  width: 250px;
  min-width: 250px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 20px;
}

.category-sidebar__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #2fb5d2;
}

.category-sidebar__list li {
  border-bottom: 1px solid #f0f0f0;
}

.category-sidebar__list li:last-child {
  border-bottom: none;
}

.category-sidebar__list li a {
  display: block;
  padding: 10px 0;
  font-size: 0.9rem;
  color: #555;
  transition: color 0.2s, padding-left 0.2s;
}

.category-sidebar__list li a:hover,
.category-sidebar__list li a.active {
  color: #2fb5d2;
  padding-left: 6px;
}

.category-sidebar__filter-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Main content */
.category-main {
  flex: 1;
  min-width: 0;
}

.category-main__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.category-main__count {
  font-size: 0.9rem;
  color: #777;
}

.category-main__sort select {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #333;
  background: #fff;
  cursor: pointer;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 30px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #555;
  background: #fff;
  border: 1px solid #ddd;
  transition: all 0.2s;
}

.pagination a:hover {
  border-color: #2fb5d2;
  color: #2fb5d2;
}

.pagination .active {
  background-color: #2fb5d2;
  color: #fff;
  border-color: #2fb5d2;
}

/* ============================================================
   8. CONTACT PAGE
   ============================================================ */
.contact-page {
  padding: 40px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 35px;
}

.contact-form__title,
.contact-info__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #333;
  background: #fafafa;
  transition: border-color 0.2s, background-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #2fb5d2;
  background: #fff;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.contact-info__item i,
.contact-info__item .icon {
  font-size: 1.2rem;
  color: #2fb5d2;
  margin-top: 2px;
}

.contact-info__map {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.contact-info__map iframe {
  width: 100%;
  height: 220px;
  border: none;
}

/* ============================================================
   9. TERMS / LEGAL PAGES
   ============================================================ */
.terms-page {
  padding: 40px 0;
}

.terms-content {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 35px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.terms-content h1 {
  font-size: 1.75rem;
  margin-bottom: 20px;
  color: #333;
}

.terms-content h2 {
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 12px;
  color: #333;
}

.terms-content h3 {
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #444;
}

.terms-content p {
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
}

.terms-content ul,
.terms-content ol {
  margin-bottom: 14px;
  padding-left: 24px;
  list-style: disc;
}

.terms-content ol {
  list-style: decimal;
}

.terms-content li {
  margin-bottom: 6px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

.terms-content a {
  color: #2fb5d2;
  text-decoration: underline;
}

.terms-content a:hover {
  color: #1a8a9e;
}

/* ============================================================
   10. FOOTER
   ============================================================ */
.footer {
  background-color: #222;
  color: #ccc;
  padding: 50px 0 0;
  margin-top: 50px;
}

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

.footer__col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer__col-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 35px;
  height: 2px;
  background-color: #2fb5d2;
}

.footer p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #aaa;
}

.footer__links li {
  margin-bottom: 8px;
}

.footer__links a {
  font-size: 0.85rem;
  color: #aaa;
  transition: color 0.2s, padding-left 0.2s;
}

.footer__links a:hover {
  color: #2fb5d2;
  padding-left: 4px;
}

.footer__newsletter p {
  margin-bottom: 12px;
}

.footer__newsletter-form {
  display: flex;
  border-radius: 4px;
  overflow: hidden;
}

.footer__newsletter-form input {
  flex: 1;
  padding: 10px 12px;
  font-size: 0.85rem;
  color: #333;
  background: #fff;
  border: none;
}

.footer__newsletter-form button {
  padding: 10px 18px;
  background-color: #2fb5d2;
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.footer__newsletter-form button:hover {
  background-color: #1a8a9e;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #333;
  color: #ccc;
  font-size: 0.9rem;
  transition: background-color 0.2s, color 0.2s;
}

.footer__social a:hover {
  background-color: #2fb5d2;
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid #333;
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #777;
}

.footer__payment-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

.footer__payment-icons img {
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer__payment-icons img:hover {
  opacity: 1;
}

/* ============================================================
   11. WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

/* ============================================================
   12. MOBILE RESPONSIVE
   ============================================================ */

/* Tablet — max 1024px */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .category-sidebar {
    width: 220px;
    min-width: 220px;
  }
}

/* Tablet portrait — max 768px */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .hero-slider__slide img {
    height: 280px;
  }

  .hero-slider__content h2 {
    font-size: 1.5rem;
  }

  /* Header mobile */
  .header__search {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .category-nav__list {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .category-nav__list.is-open {
    display: flex;
  }

  .category-nav__list li a {
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .category-nav .container {
    flex-wrap: wrap;
  }

  /* Category page stacked */
  .category-page .container {
    flex-direction: column;
  }

  .category-sidebar {
    width: 100%;
    min-width: 100%;
  }

  /* Contact stacked */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 25px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  /* Terms */
  .terms-content {
    padding: 25px 20px;
  }

  .top-bar__right {
    display: none;
  }
}

/* Phone — max 480px */
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .hero-slider__slide img {
    height: 200px;
  }

  .hero-slider__content h2 {
    font-size: 1.2rem;
  }

  .hero-slider__content p {
    font-size: 0.9rem;
  }

  .hero-slider__arrow {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .header__main .container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .header__logo a {
    font-size: 1.2rem;
  }

  .page-title {
    font-size: 1.3rem;
  }

  .products-section {
    padding: 25px 0;
  }

  .product-card__image img {
    height: 180px;
  }

  .product-card__info {
    padding: 12px;
  }

  .product-card__price {
    font-size: 1.05rem;
  }

  .contact-layout {
    padding: 20px 15px;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 52px;
    height: 52px;
    font-size: 1.5rem;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .pagination a,
  .pagination span {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }
}

/* ============================================================
   13. PRODUCT DETAIL PAGE (bonus)
   ============================================================ */
.product-detail {
  padding: 30px 0;
}

.product-detail__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 30px;
}

.product-detail__gallery img {
  width: 100%;
  border-radius: 6px;
}

.product-detail__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.product-detail__price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2fb5d2;
  margin-bottom: 15px;
}

.product-detail__description {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.product-detail__qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.product-detail__qty label {
  font-size: 0.9rem;
  font-weight: 500;
}

.product-detail__qty input {
  width: 60px;
  padding: 8px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .product-detail__layout {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 20px;
  }
}

/* ============================================================
   ANIMATIONS & TRANSITIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.4s ease-out;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.whatsapp-float {
  animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
  animation: none;
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.spinner {
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 3px solid #e0e0e0;
  border-top-color: #2fb5d2;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 95px;
  right: 27px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background-color 0.2s;
  z-index: 9998;
  cursor: pointer;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #2fb5d2;
}
