/* ---------- tablet.css ---------- */

@media (max-width: 1024px) {
  .search-overlay {
    top: 72px;
    width: min(840px, calc(100% - 40px));
    padding: 10px;
  }
 /* make internal input full width if needed */
  .search-overlay input,
  .search-overlay .search-overlay-content {
    width: 100%;
  }
}


@media (min-width: 768px) and (max-width: 1024px){
  .nav-menu {
    gap: 18px;
  }
  .cta-button {
    padding: 8px 14px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hamburger {
    display: flex;
  }

  .header-nav {
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 25px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .header-nav.active {
    width: min(840px, calc(100% - 40px));
    display: flex;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
  }
}


@media (min-width: 768px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .hero-left,
  .hero-right {
    flex: 1;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: row;
    gap: 1rem;
  }

  .hero-stats {
    justify-content: flex-start;
    gap: 2rem;
  }
}

.square-image {
  width: 100%;
  max-width: 480px;
  height: 480px;
}

/* ---------- TABLET (768px–1023px) ---------- */

@media (max-width: 1023px) and (min-width: 768px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .highlight-block {
    flex-direction: column;
    text-align: center;
    padding: 50px 30px;
  }

  .highlight-block .text {
    text-align: center;
  }

  .highlight-block .image {
    margin-top: 30px;
  }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-row {
    justify-content: space-around;
  }
}


/* Tablet styles */
@media (max-width: 1024px) and (min-width: 769px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .testimonial-card {
    padding: 25px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 15px;
    max-width: 500px;
  }

  .cta-container {
    max-width: 600px;
  }

  .cta-container h3 {
    font-size: 20px;
  }

  .cta-buttons a {
    padding: 10px 20px;
  }
}

@media (max-width: 1024px) {
.quote-container {
  flex-direction: column;
}

.quote-info,
.quote-form {
  padding: 40px 30px;
}
}

@media (min-width: 768px) and (max-width: 1024px){
  .shop-content { flex-direction:column; }
  .shop-filters { width:100%; order:2; }
  .shop-main { order:1; }
  .grid-inner { grid-template-columns: repeat(2, 1fr); }
}


/* Start Blog Post Single Post Styles */
@media (min-width: 768px) and (max-width: 1023px) {
  .single-post-page .entry-title {
    font-size: 2rem;
  }

  .single-post-page .entry-content {
    font-size: 1.05rem;
  }

  .single-post-page .post-thumbnail img {
    max-height: 400px;
  }
}
/* End Blog Post Single Post Styles */


/* ================================================
   Start Tablet Product Detial Page Style Overrides
   ============================================= */
/* TABLET LAYOUT — 50/50 columns */
@media (min-width: 768px) and (max-width: 1024px) {

  .product-main-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;   /* equal width columns */
    gap: 30px;
    align-items: start;
  }

  .product-gallery,
  .product-summary {
    width: 100% !important;
    max-width: 100% !important;
  }

  .product-summary .product-title {
    font-size: 1.7rem;
  }
}
/* ==============================================
   End Tablet Product Detial Page Style Overrides
   =============================================*/