/* ==========================================================================
   Shopora Theme - Responsive CSS
   Mobile-First Approach
   ========================================================================== */

/* ==========================================================================
   Base Mobile Styles (Default - Mobile First)
   ========================================================================== */

:root {
  --shopora-gap: 15px;
  --shopora-section-padding: 40px 15px;
}

body {
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

.container,
.shopora-container {
  width: 100%;
  padding-left: var(--shopora-gap);
  padding-right: var(--shopora-gap);
  margin-left: auto;
  margin-right: auto;
}

/* Touch-friendly tap targets */
a,
button,
input[type="submit"],
.input-text,
 qty,
.nav-link,
.widget a,
.product-category a {
  min-height: 44px;
  min-width: 44px;
}

/* Reduce motion for performance */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   HEADER - Mobile Base
   ========================================================================== */

/* Top bar - hidden on mobile */
.shopora-top-bar {
  display: none;
}

/* Mobile Header */
.shopora-mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  gap: 10px;
}

.shopora-mobile-header .shopora-logo {
  flex: 1;
  max-width: 150px;
}

.shopora-mobile-header .shopora-logo img {
  max-height: 35px;
  width: auto;
}

.shopora-mobile-header .shopora-header-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shopora-mobile-header .shopora-header-icons a,
.shopora-mobile-header .shopora-header-icons button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 20px;
  color: #333;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  min-height: auto;
  min-width: auto;
}

.shopora-mobile-header .cart-count {
  position: absolute;
  top: 0;
  right: -2px;
  background-color: #e74c3c;
  color: #fff;
  font-size: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Desktop Navigation - hidden on mobile */
.shopora-desktop-nav,
.shopora-main-nav {
  display: none;
}

/* Desktop Header - hidden on mobile */
.shopora-desktop-header {
  display: none;
}

/* Mobile Menu */
.shopora-mobile-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background-color: #fff;
  z-index: 9999;
  overflow-y: auto;
  transition: left 0.3s ease;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.15);
}

.shopora-mobile-menu.active {
  left: 0;
}

.shopora-mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.shopora-mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.shopora-mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.shopora-mobile-menu-header .shopora-close-menu {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

.shopora-mobile-menu .shopora-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shopora-mobile-menu .shopora-nav-list li {
  border-bottom: 1px solid #f0f0f0;
}

.shopora-mobile-menu .shopora-nav-list li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  min-height: auto;
  min-width: auto;
}

.shopora-mobile-menu .shopora-nav-list li a:hover {
  color: #e74c3c;
  background-color: #f9f9f9;
}

.shopora-mobile-menu .shopora-submenu {
  display: none;
  padding-left: 15px;
}

.shopora-mobile-menu .shopora-submenu.active {
  display: block;
}

.shopora-mobile-menu .shopera-submenu-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.shopora-mobile-menu .shopora-submenu-toggle.rotated {
  transform: rotate(180deg);
}

.shopora-mobile-menu .shopora-menu-footer {
  padding: 20px;
  border-top: 1px solid #eee;
}

.shopora-mobile-menu .shopora-menu-footer .shopora-menu-contact {
  font-size: 14px;
  color: #666;
}

/* ==========================================================================
   HOMEPAGE SECTIONS - Mobile Base
   ========================================================================== */

/* Hero Section */
.shopora-hero-section {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

.shopora-hero-slide {
  position: relative;
  width: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
}

.shopora-hero-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.shopora-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  padding: 20px;
}

.shopora-hero-content h1 {
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #fff;
}

.shopora-hero-content p {
  font-size: 14px;
  margin-bottom: 15px;
  color: #fff;
}

.shopora-hero-content .shopora-btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  min-height: auto;
  min-width: auto;
}

/* Featured Categories */
.shopora-featured-categories {
  padding: var(--shopora-section-padding);
}

.shopora-section-title {
  font-size: 22px;
  text-align: center;
  margin-bottom: 25px;
}

.shopora-categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.shopora-category-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  text-align: center;
}

.shopora-category-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.shopora-category-card:hover img {
  transform: scale(1.05);
}

.shopora-category-card .shopora-category-name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  padding: 30px 15px 15px;
  font-size: 16px;
  font-weight: 600;
}

/* Product Grid */
.shopora-products-section {
  padding: var(--shopora-section-padding);
}

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

.shopora-product-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}

.shopora-product-card .shopora-product-image {
  position: relative;
  overflow: hidden;
}

.shopora-product-card .shopora-product-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.shopora-product-card:hover .shopora-product-image img {
  transform: scale(1.05);
}

.shopora-product-card .shopora-product-badges {
  position: absolute;
  top: 8px;
  left: 8px;
}

.shopora-product-card .shopora-sale-badge,
.shopora-product-card .shopora-new-badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  color: #fff;
  margin-bottom: 4px;
}

.shopora-product-card .shopora-sale-badge {
  background-color: #e74c3c;
}

.shopora-product-card .shopora-new-badge {
  background-color: #27ae60;
}

.shopora-product-card .shopora-product-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shopora-product-card:hover .shopora-product-actions {
  opacity: 1;
}

.shopora-product-card .shopora-product-actions button,
.shopora-product-card .shopora-product-actions a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  color: #333;
  min-height: auto;
  min-width: auto;
}

.shopora-product-card .shopora-product-info {
  padding: 12px;
}

.shopora-product-card .shopora-product-category {
  font-size: 12px;
  color: #999;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.shopora-product-card .shopora-product-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}

.shopora-product-card .shopora-product-title a {
  color: #333;
  text-decoration: none;
}

.shopora-product-card .shopora-product-title a:hover {
  color: #e74c3c;
}

.shopora-product-card .shopora-product-rating {
  margin-bottom: 6px;
}

.shopora-product-card .shopora-star-rating {
  font-size: 12px;
  color: #f39c12;
}

.shopora-product-card .shopora-rating-count {
  font-size: 11px;
  color: #999;
}

.shopora-product-card .shopora-product-price {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.shopora-product-card .shopora-price {
  font-size: 16px;
  font-weight: 700;
  color: #e74c3c;
}

.shopora-product-card .shopora-price ins {
  text-decoration: none;
}

.shopora-product-card .shopora-price del {
  font-size: 13px;
  color: #999;
  font-weight: 400;
}

.shopora-product-card .shopora-add-to-cart {
  width: 100%;
  padding: 8px 12px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease;
  min-height: auto;
}

.shopora-product-card .shopora-add-to-cart:hover {
  background-color: #e74c3c;
}

/* Testimonials */
.shopora-testimonials-section {
  padding: var(--shopora-section-padding);
  background-color: #f8f9fa;
}

.shopora-testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.shopora-testimonial-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.shopora-testimonial-card .shopora-testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 12px;
  object-fit: cover;
}

.shopora-testimonial-card .shopora-testimonial-text {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  font-style: italic;
  margin-bottom: 12px;
}

.shopora-testimonial-card .shopora-testimonial-author {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin-bottom: 2px;
}

.shopora-testimonial-card .shopora-testimonial-role {
  font-size: 12px;
  color: #999;
}

/* Blog Grid */
.shopora-blog-section {
  padding: var(--shopora-section-padding);
}

.shopora-blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.shopora-blog-card {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.shopora-blog-card .shopora-blog-image {
  overflow: hidden;
}

.shopora-blog-card .shopora-blog-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.shopora-blog-card:hover .shopora-blog-image img {
  transform: scale(1.05);
}

.shopora-blog-card .shopora-blog-content {
  padding: 15px;
}

.shopora-blog-card .shopora-blog-meta {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}

.shopora-blog-card .shopora-blog-meta span {
  margin-right: 10px;
}

.shopora-blog-card .shopora-blog-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
}

.shopora-blog-card .shopora-blog-title a {
  color: #333;
  text-decoration: none;
}

.shopora-blog-card .shopora-blog-title a:hover {
  color: #e74c3c;
}

.shopora-blog-card .shopora-blog-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 10px;
}

.shopora-blog-card .shopora-read-more {
  font-size: 13px;
  font-weight: 600;
  color: #e74c3c;
  text-decoration: none;
}

.shopora-blog-card .shopora-read-more:hover {
  text-decoration: underline;
}

/* Newsletter */
.shopora-newsletter-section {
  padding: var(--shopora-section-padding);
  background-color: #333;
  color: #fff;
  text-align: center;
}

.shopora-newsletter-content {
  max-width: 500px;
  margin: 0 auto;
}

.shopora-newsletter-content h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.shopora-newsletter-content p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #ccc;
}

.shopora-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shopora-newsletter-form input[type="email"] {
  padding: 12px 15px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  width: 100%;
  min-height: auto;
}

.shopora-newsletter-form button {
  padding: 12px 24px;
  background-color: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
  min-height: auto;
}

.shopora-newsletter-form button:hover {
  background-color: #c0392b;
}

/* ==========================================================================
   FOOTER - Mobile Base
   ========================================================================== */

.shopora-footer {
  background-color: #1a1a2e;
  color: #ccc;
  padding: 30px 15px 0;
}

.shopora-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-bottom: 30px;
}

.shopora-footer-column h4 {
  font-size: 16px;
  color: #fff;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e74c3c;
  display: inline-block;
}

.shopora-footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.shopora-footer-column ul li {
  margin-bottom: 8px;
}

.shopora-footer-column ul li a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
  min-height: auto;
}

.shopora-footer-column ul li a:hover {
  color: #e74c3c;
}

.shopora-footer-column .shopora-footer-text {
  font-size: 14px;
  line-height: 1.6;
}

.shopora-footer-column .shopora-footer-logo img {
  max-height: 40px;
  margin-bottom: 10px;
}

.shopora-footer-column .shopora-social-links {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.shopora-footer-column .shopora-social-links a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
  min-height: auto;
  min-width: auto;
}

.shopora-footer-column .shopora-social-links a:hover {
  background-color: #e74c3c;
}

.shopora-footer-column .shopora-payment-icons {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.shopora-footer-column .shopora-payment-icons img {
  height: 30px;
  width: auto;
}

.shopora-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 0;
  text-align: center;
}

.shopora-footer-bottom p {
  font-size: 13px;
  color: #888;
}

/* Back to Top */
.shopora-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background-color: #e74c3c;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

/* ==========================================================================
   WooCommerce - Mobile Base
   ========================================================================== */

/* Shop Page */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

.woocommerce .woocommerce-result-count {
  font-size: 13px;
  margin-bottom: 15px;
}

.woocommerce .woocommerce-ordering {
  margin-bottom: 15px;
}

.woocommerce .woocommerce-ordering select {
  padding: 8px 12px;
  font-size: 14px;
  min-height: auto;
}

/* Product Page */
.woocommerce div.product {
  padding: var(--shopora-section-padding);
}

.woocommerce div.product div.images {
  margin-bottom: 20px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image {
  margin-bottom: 10px;
}

.woocommerce div.product div.images img {
  width: 100%;
  height: auto;
}

.woocommerce div.product div.images .woocommerce-product-gallery__thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__thumbnail {
  flex: 0 0 60px;
  width: 60px;
}

.woocommerce div.product div.images .woocommerce-product-gallery__thumbnail img {
  width: 100%;
  height: 60px;
  object-fit: cover;
}

.woocommerce div.product div.summary {
  margin-bottom: 20px;
}

.woocommerce div.product .product_title {
  font-size: 22px;
  margin-bottom: 10px;
}

.woocommerce div.product p.price {
  font-size: 22px;
  color: #e74c3c;
  margin-bottom: 10px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 14px;
  margin-bottom: 15px;
}

.woocommerce div.product form.cart {
  margin-bottom: 20px;
}

.woocommerce div.product form.cart .quantity {
  margin-bottom: 10px;
}

.woocommerce div.product form.cart .quantity input {
  width: 60px;
  min-height: auto;
}

.woocommerce div.product form.cart .button {
  padding: 10px 20px;
  font-size: 14px;
  min-height: auto;
}

.woocommerce div.product .woocommerce-tabs {
  margin-top: 20px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0 0 15px;
  list-style: none;
  gap: 5px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: none;
  border: none;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 5px;
  min-height: auto;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

.woocommerce div.product .woocommerce-tabs .panel {
  padding: 15px 0;
  margin: 0;
  border: none;
}

/* Cart Page */
.woocommerce-cart .woocommerce-cart-form {
  overflow-x: auto;
}

.woocommerce-cart table.shop_table {
  min-width: 500px;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td {
  padding: 10px;
  font-size: 13px;
  vertical-align: middle;
}

.woocommerce-cart table.shop_table .product-remove a {
  font-size: 18px;
}

.woocommerce-cart table.shop_table .product-thumbnail img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.woocommerce-cart table.shop_table .quantity input {
  width: 50px;
  min-height: auto;
  padding: 5px;
  font-size: 14px;
}

.woocommerce-cart .cart-collaterals {
  margin-top: 20px;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100%;
}

.woocommerce-cart .cart-collaterals .cart_totals table {
  width: 100%;
}

.woocommerce-cart .shipping-calculator-form {
  padding: 10px 0;
}

.woocommerce .coupon input.input-text {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  min-height: auto;
}

.woocommerce .coupon .button {
  padding: 10px 20px;
  font-size: 14px;
  min-height: auto;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px;
  font-size: 15px;
  min-height: auto;
}

/* Cart - Mobile Card Layout */
@media screen and (max-width: 576px) {
  .woocommerce-cart .shop_table thead {
    display: none;
  }

  .woocommerce-cart .shop_table tbody tr {
    display: block;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #fff;
  }

  .woocommerce-cart .shop_table tbody tr td {
    display: block;
    text-align: left;
    padding: 5px 0;
    border: none;
    font-size: 14px;
  }

  .woocommerce-cart .shop_table tbody tr td.product-remove {
    text-align: right;
  }

  .woocommerce-cart .shop_table tbody tr td.product-thumbnail {
    display: none;
  }

  .woocommerce-cart .shop_table tbody tr td.product-name {
    font-weight: 600;
    font-size: 15px;
  }

  .woocommerce-cart .shop_table tbody tr td.product-name::before {
    content: attr(data-title) ": ";
    font-weight: 400;
    color: #999;
  }

  .woocommerce-cart .shop_table tbody tr td.product-price::before {
    content: attr(data-title) ": ";
    font-weight: 400;
    color: #999;
  }

  .woocommerce-cart .shop_table tbody tr td.product-quantity::before {
    content: attr(data-title) ": ";
    font-weight: 400;
    color: #999;
  }

  .woocommerce-cart .shop_table tbody tr td.product-subtotal::before {
    content: attr(data-title) ": ";
    font-weight: 400;
    color: #999;
  }
}

/* Checkout Page */
.woocommerce-checkout #payment {
  padding: 15px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
  width: 100%;
}

.woocommerce-checkout .col-1,
.woocommerce-checkout .col-2 {
  width: 100%;
  float: none;
}

.woocommerce-checkout form .form-row {
  margin-bottom: 15px;
}

.woocommerce-checkout form .form-row input.input-text,
.woocommerce-checkout form .form-row textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  min-height: auto;
}

.woocommerce-checkout form .form-row select {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  min-height: auto;
}

.woocommerce-checkout #order_review {
  padding: 15px;
}

.woocommerce-checkout #payment .place-order {
  width: 100%;
}

.woocommerce-checkout #payment .place-order .button {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  min-height: auto;
}

.woocommerce-checkout #payment ul.payment_methods {
  padding: 0;
}

.woocommerce-checkout #payment ul.payment_methods li {
  margin-bottom: 10px;
}

/* My Account */
.woocommerce-account .woocommerce {
  padding: var(--shopora-section-padding);
}

.woocommerce-account #primary {
  width: 100%;
  float: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 100%;
  margin-bottom: 20px;
  float: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
  background: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  background: none;
  border: none;
  margin: 0;
  border-radius: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 8px 15px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  border: 1px solid #ddd;
  border-radius: 5px;
  white-space: nowrap;
  min-height: auto;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

.woocommerce-account .woocommerce-MyAccount-content {
  width: 100%;
  float: none;
  padding: 15px;
}

.woocommerce-account table {
  width: 100%;
  font-size: 13px;
}

.woocommerce-account table th,
.woocommerce-account table td {
  padding: 8px;
  font-size: 12px;
}

/* Login / Register Forms */
.woocommerce form .form-row {
  margin-bottom: 15px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  min-height: auto;
}

.woocommerce form .form-row label {
  font-size: 14px;
  margin-bottom: 5px;
}

.woocommerce #customer_login .col-1,
.woocommerce #customer_login .col-2 {
  width: 100%;
  float: none;
  margin-bottom: 30px;
}

/* Product Reviews */
.woocommerce #reviews #comments {
  margin-bottom: 20px;
}

.woocommerce #reviews .commentlist {
  padding: 0;
}

.woocommerce #reviews .commentlist li {
  padding: 15px 0;
}

.woocommerce #reviews .comment-respond {
  padding: 15px 0;
}

/* ==========================================================================
   Blog - Mobile Base
   ========================================================================== */

.shopora-blog-page {
  padding: var(--shopora-section-padding);
}

.shopora-blog-page #primary {
  width: 100%;
  float: none;
}

.shopora-blog-page #secondary {
  width: 100%;
  float: none;
  margin-top: 30px;
}

.shopora-blog-page .shopora-post-card {
  margin-bottom: 25px;
}

.shopora-blog-page .shopora-post-card .shopora-post-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.shopora-blog-page .shopora-post-card .shopora-post-content {
  padding: 15px;
}

.shopora-blog-page .shopora-post-card .shopora-post-title {
  font-size: 18px;
}

.shopora-blog-page .shopora-post-card .shopora-post-excerpt {
  font-size: 14px;
}

/* Single Post */
.shopora-single-post {
  padding: var(--shopora-section-padding);
}

.shopora-single-post .shopora-post-header {
  text-align: center;
  margin-bottom: 20px;
}

.shopora-single-post .shopora-post-title {
  font-size: 22px;
  line-height: 1.3;
}

.shopora-single-post .shopora-post-meta {
  font-size: 13px;
  color: #999;
  margin-top: 10px;
}

.shopora-single-post .shopora-post-featured-image {
  margin-bottom: 20px;
}

.shopora-single-post .shopora-post-featured-image img {
  width: 100%;
  height: auto;
}

.shopora-single-post .shopora-post-content {
  font-size: 16px;
  line-height: 1.8;
}

.shopora-single-post .shopora-post-content p {
  margin-bottom: 15px;
}

.shopora-single-post .shopora-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.shopora-single-post .shopora-post-content blockquote {
  border-left: 4px solid #e74c3c;
  padding: 15px;
  margin: 20px 0;
  background-color: #f9f9f9;
  font-style: italic;
}

.shopora-single-post .shopora-post-navigation {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.shopora-single-post .shopora-post-navigation .shopora-nav-links {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.shopora-single-post .shopora-post-navigation .shopora-nav-links a {
  flex: 1;
  text-decoration: none;
  font-size: 14px;
}

.shopora-single-post .shopora-post-navigation .shopora-nav-links .shopora-nav-next {
  text-align: right;
}

/* Sidebar */
.shopora-sidebar .widget {
  margin-bottom: 25px;
  padding: 15px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.shopora-sidebar .widget-title {
  font-size: 16px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e74c3c;
}

.shopora-sidebar .widget ul {
  list-style: none;
  padding: 0;
}

.shopora-sidebar .widget ul li {
  padding: 6px 0;
  border-bottom: 1px solid #f0f0f0;
}

.shopora-sidebar .widget ul li:last-child {
  border-bottom: none;
}

.shopora-sidebar .widget ul li a {
  font-size: 14px;
  color: #555;
  text-decoration: none;
}

.shopora-sidebar .widget ul li a:hover {
  color: #e74c3c;
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */

.shopora-breadcrumbs {
  padding: 10px 0;
  background-color: #f8f9fa;
}

.shopora-breadcrumbs .shopora-breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}

.shopora-breadcrumbs .shopora-breadcrumbs-list li {
  margin-right: 5px;
}

.shopora-breadcrumbs .shopora-breadcrumbs-list li::after {
  content: "/";
  margin-left: 5px;
  color: #999;
}

.shopora-breadcrumbs .shopora-breadcrumbs-list li:last-child::after {
  content: "";
  margin-left: 0;
}

.shopora-breadcrumbs .shopora-breadcrumbs-list li a {
  color: #666;
  text-decoration: none;
}

.shopora-breadcrumbs .shopora-breadcrumbs-list li a:hover {
  color: #e74c3c;
}

.shopora-breadcrumbs .shopora-breadcrumbs-list li.current {
  color: #333;
}

/* ==========================================================================
   SEARCH
   ========================================================================== */

.shopora-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.shopora-search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.shopora-search-overlay form {
  width: 90%;
  max-width: 600px;
}

.shopora-search-overlay .shopora-search-input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  font-size: 18px;
  border: none;
  border-radius: 50px;
  background-color: #fff;
  min-height: auto;
}

.shopora-search-overlay .shopora-search-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  min-height: auto;
  min-width: auto;
}

/* ==========================================================================
   WISHLIST / COMPARE (Quick View)
   ========================================================================== */

.shopora-wishlist-btn.active {
  color: #e74c3c !important;
}

/* Quick View Modal */
.shopora-quick-view-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.shopora-quick-view-modal.active {
  opacity: 1;
  visibility: visible;
}

.shopora-quick-view-content {
  background-color: #fff;
  border-radius: 10px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
  position: relative;
}

.shopora-quick-view-content .shopora-close-quick-view {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  min-height: auto;
  min-width: auto;
}

.shopora-quick-view-content .shopora-quick-view-image {
  margin-bottom: 15px;
}

.shopora-quick-view-content .shopora-quick-view-image img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

/* ==========================================================================
   SHOPORA 404 PAGE
   ========================================================================== */

.shopora-404-page {
  text-align: center;
  padding: 60px 20px;
}

.shopora-404-page .shopora-404-title {
  font-size: 80px;
  font-weight: 900;
  color: #e74c3c;
  line-height: 1;
  margin-bottom: 10px;
}

.shopora-404-page h2 {
  font-size: 22px;
  margin-bottom: 15px;
}

.shopora-404-page p {
  font-size: 16px;
  color: #666;
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.shopora-hide-mobile {
  display: none !important;
}

.shopora-show-mobile {
  display: block !important;
}

.shopora-text-center-mobile {
  text-align: center;
}

/* ==========================================================================
   BREAKPOINT: max-width: 1200px (Large Desktop)
   ========================================================================== */

@media screen and (max-width: 1200px) {
  .shopora-container {
    max-width: 1140px;
  }

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

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

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

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

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

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

  .shopora-hero-content h1 {
    font-size: 36px;
  }

  .shopora-hero-content p {
    font-size: 16px;
  }
}

/* ==========================================================================
   BREAKPOINT: max-width: 992px (Tablet Landscape / Small Desktop)
   ========================================================================== */

@media screen and (max-width: 992px) {
  .shopora-container {
    max-width: 960px;
  }

  /* Header */
  .shopora-desktop-header {
    display: none !important;
  }

  .shopora-desktop-nav {
    display: none !important;
  }

  .shopora-mobile-header {
    display: flex !important;
  }

  /* Hero */
  .shopora-hero-slide {
    min-height: 350px;
  }

  .shopora-hero-slide img {
    height: 350px;
  }

  .shopora-hero-content h1 {
    font-size: 32px;
  }

  .shopora-hero-content p {
    font-size: 15px;
  }

  /* Products */
  .shopora-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* Categories */
  .shopora-featured-categories .shopora-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Blog */
  .shopora-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Product Page - Stacked Gallery */
  .woocommerce div.product div.images .woocommerce-product-gallery__thumbnails {
    display: flex;
    overflow-x: auto;
  }

  .woocommerce div.product div.images .woocommerce-product-gallery__thumbnail {
    flex: 0 0 70px;
  }

  /* Checkout */
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    width: 100%;
  }

  .woocommerce-checkout .col-1,
  .woocommerce-checkout .col-2 {
    width: 100%;
    float: none;
    clear: both;
  }

  /* Blog Page */
  .shopora-blog-page #primary,
  .shopora-blog-page #secondary {
    width: 100%;
    float: none;
  }

  .shopora-blog-page #secondary {
    margin-top: 30px;
  }

  /* Footer */
  .shopora-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   BREAKPOINT: max-width: 768px (Tablet Portrait)
   ========================================================================== */

@media screen and (max-width: 768px) {
  :root {
    --shopora-gap: 12px;
    --shopora-section-padding: 35px 12px;
  }

  .shopora-container {
    max-width: 100%;
  }

  /* Header */
  .shopora-mobile-header .shopora-logo {
    max-width: 120px;
  }

  .shopora-mobile-header .shopora-logo img {
    max-height: 30px;
  }

  /* Hero */
  .shopora-hero-slide {
    min-height: 280px;
  }

  .shopora-hero-slide img {
    height: 280px;
  }

  .shopora-hero-content h1 {
    font-size: 26px;
  }

  .shopora-hero-content p {
    font-size: 14px;
  }

  .shopora-hero-content .shopora-btn {
    padding: 10px 20px;
    font-size: 13px;
  }

  /* Sections */
  .shopora-section-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  /* Categories */
  .shopora-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .shopora-category-card img {
    height: 160px;
  }

  .shopora-category-card .shopora-category-name {
    font-size: 14px;
    padding: 20px 10px 10px;
  }

  /* Products */
  .shopora-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .shopora-product-card .shopora-product-image img {
    height: 150px;
  }

  .shopora-product-card .shopora-product-info {
    padding: 10px;
  }

  .shopora-product-card .shopora-product-title {
    font-size: 13px;
  }

  .shopora-product-card .shopora-price {
    font-size: 14px;
  }

  .shopora-product-card .shopora-product-rating {
    margin-bottom: 4px;
  }

  /* WooCommerce */
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .woocommerce div.product .product_title {
    font-size: 20px;
  }

  .woocommerce div.product p.price {
    font-size: 20px;
  }

  /* Testimonials */
  .shopora-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .shopora-testimonial-card {
    padding: 15px;
  }

  .shopora-testimonial-card .shopora-testimonial-text {
    font-size: 13px;
  }

  /* Blog */
  .shopora-blog-grid {
    grid-template-columns: 1fr;
  }

  .shopora-blog-card .shopora-blog-image img {
    height: 180px;
  }

  /* Newsletter */
  .shopora-newsletter-content h3 {
    font-size: 20px;
  }

  .shopora-newsletter-form {
    flex-direction: column;
  }

  /* Footer */
  .shopora-footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .shopora-footer-column h4 {
    font-size: 15px;
    margin-bottom: 12px;
  }

  .shopora-footer-column ul li a {
    font-size: 13px;
  }

  /* Blog Single */
  .shopora-single-post .shopora-post-title {
    font-size: 20px;
  }

  .shopora-single-post .shopora-post-content {
    font-size: 15px;
  }

  /* Back to Top */
  .shopora-back-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Search Overlay */
  .shopora-search-overlay .shopora-search-input {
    font-size: 16px;
    padding: 12px 45px 12px 15px;
  }

  /* Quick View */
  .shopora-quick-view-content {
    padding: 15px;
  }

  /* Hide on tablet */
  .shopora-hide-tablet {
    display: none !important;
  }

  .shopora-show-tablet {
    display: block !important;
  }
}

/* ==========================================================================
   BREAKPOINT: max-width: 576px (Mobile Landscape)
   ========================================================================== */

@media screen and (max-width: 576px) {
  :root {
    --shopora-gap: 10px;
    --shopora-section-padding: 30px 10px;
  }

  .shopora-container {
    padding-left: 10px;
    padding-right: 10px;
  }

  /* Header */
  .shopora-mobile-header {
    padding: 8px 10px;
  }

  .shopora-mobile-header .shopora-logo {
    max-width: 100px;
  }

  .shopora-mobile-header .shopora-logo img {
    max-height: 28px;
  }

  .shopora-mobile-header .shopora-header-icons {
    gap: 8px;
  }

  .shopora-mobile-header .shopora-header-icons a,
  .shopora-mobile-header .shopora-header-icons button {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  /* Hero */
  .shopora-hero-slide {
    min-height: 220px;
  }

  .shopora-hero-slide img {
    height: 220px;
  }

  .shopora-hero-content {
    width: 95%;
    padding: 15px;
  }

  .shopora-hero-content h1 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .shopora-hero-content p {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .shopora-hero-content .shopora-btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  /* Sections */
  .shopora-section-title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  /* Categories */
  .shopora-categories-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shopora-category-card img {
    height: 180px;
  }

  .shopora-category-card .shopora-category-name {
    font-size: 15px;
  }

  /* Products */
  .shopora-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .shopora-product-card .shopora-product-image img {
    height: 130px;
  }

  .shopora-product-card .shopora-product-info {
    padding: 8px;
  }

  .shopora-product-card .shopora-product-category {
    font-size: 10px;
  }

  .shopora-product-card .shopora-product-title {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .shopora-product-card .shopora-product-rating {
    margin-bottom: 3px;
  }

  .shopora-product-card .shopora-star-rating {
    font-size: 10px;
  }

  .shopora-product-card .shopora-rating-count {
    font-size: 10px;
  }

  .shopora-product-card .shopora-price {
    font-size: 13px;
  }

  .shopora-product-card .shopora-price del {
    font-size: 11px;
  }

  .shopora-product-card .shopora-add-to-cart {
    padding: 6px 8px;
    font-size: 11px;
  }

  .shopora-product-card .shopora-product-badges .shopora-sale-badge,
  .shopora-product-card .shopora-product-badges .shopora-new-badge {
    padding: 2px 6px;
    font-size: 9px;
  }

  /* WooCommerce Products */
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    font-size: 12px;
  }

  /* Product Page */
  .woocommerce div.product .product_title {
    font-size: 18px;
  }

  .woocommerce div.product p.price {
    font-size: 18px;
  }

  .woocommerce div.product .woocommerce-product-details__short-description {
    font-size: 13px;
  }

  .woocommerce div.product form.cart .quantity input {
    width: 50px;
  }

  .woocommerce div.product form.cart .button {
    padding: 8px 16px;
    font-size: 13px;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 6px 12px;
    font-size: 12px;
  }

  .woocommerce div.product div.images .woocommerce-product-gallery__thumbnail {
    flex: 0 0 50px;
    width: 50px;
  }

  .woocommerce div.product div.images .woocommerce-product-gallery__thumbnail img {
    height: 50px;
  }

  /* Cart */
  .woocommerce-cart .cart-collaterals .cart_totals h2 {
    font-size: 18px;
  }

  .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    font-size: 14px;
    padding: 10px;
  }

  /* Checkout */
  .woocommerce-checkout #payment .place-order .button {
    font-size: 14px;
    padding: 10px;
  }

  /* My Account */
  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    flex-direction: column;
    gap: 3px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    padding: 10px 15px;
    font-size: 14px;
  }

  .woocommerce-account table th,
  .woocommerce-account table td {
    padding: 6px;
    font-size: 11px;
  }

  /* Blog */
  .shopora-blog-card .shopora-blog-image img {
    height: 150px;
  }

  .shopora-blog-card .shopora-blog-title {
    font-size: 15px;
  }

  .shopora-blog-card .shopora-blog-excerpt {
    font-size: 13px;
  }

  .shopora-single-post .shopora-post-title {
    font-size: 18px;
  }

  .shopora-single-post .shopora-post-meta {
    font-size: 12px;
  }

  .shopora-single-post .shopora-post-content {
    font-size: 14px;
    line-height: 1.7;
  }

  .shopora-single-post .shopora-post-navigation .shopora-nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .shopora-single-post .shopora-post-navigation .shopora-nav-links .shopora-nav-next {
    text-align: left;
  }

  /* Newsletter */
  .shopora-newsletter-section {
    padding: 25px 10px;
  }

  .shopora-newsletter-content h3 {
    font-size: 18px;
  }

  .shopora-newsletter-content p {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .shopora-newsletter-form input[type="email"] {
    padding: 10px 12px;
    font-size: 13px;
  }

  .shopora-newsletter-form button {
    padding: 10px 20px;
    font-size: 13px;
  }

  /* Footer */
  .shopora-footer {
    padding: 25px 10px 0;
  }

  .shopora-footer-column h4 {
    font-size: 14px;
  }

  .shopora-footer-column .shopora-social-links {
    justify-content: center;
  }

  .shopora-footer-bottom {
    padding: 12px 0;
  }

  .shopora-footer-bottom p {
    font-size: 12px;
  }

  /* 404 */
  .shopora-404-page .shopora-404-title {
    font-size: 60px;
  }

  .shopora-404-page h2 {
    font-size: 18px;
  }

  .shopora-404-page p {
    font-size: 14px;
  }

  /* Sidebar */
  .shopora-sidebar .widget {
    padding: 12px;
  }

  .shopora-sidebar .widget-title {
    font-size: 14px;
  }

  .shopora-sidebar .widget ul li a {
    font-size: 13px;
  }

  /* Search */
  .shopora-search-overlay form {
    width: 95%;
  }

  .shopora-search-overlay .shopora-search-input {
    font-size: 15px;
    padding: 12px 40px 12px 15px;
  }

  .shopora-search-overlay .shopora-search-close {
    top: 20px;
    right: 20px;
    font-size: 24px;
  }

  /* Quick View */
  .shopora-quick-view-content {
    max-height: 85vh;
    padding: 12px;
  }

  .shopora-quick-view-content .shopora-close-quick-view {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  /* Breadcrumbs */
  .shopora-breadcrumbs .shopora-breadcrumbs-list {
    font-size: 12px;
  }

  /* Hide on mobile */
  .shopora-hide-mobile-only {
    display: none !important;
  }

  .shopora-show-mobile-only {
    display: block !important;
  }

  /* Reduced animations on mobile */
  .shopora-product-card .shopora-product-image img {
    transition: none;
  }

  .shopora-category-card img {
    transition: none;
  }

  .shopora-blog-card .shopora-blog-image img {
    transition: none;
  }

  .shopora-product-card .shopora-product-actions {
    opacity: 1;
    position: static;
    flex-direction: row;
    margin-top: 8px;
  }

  .shopora-product-card .shopora-product-actions button,
  .shopora-product-card .shopora-product-actions a {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
}

/* ==========================================================================
   BREAKPOINT: max-width: 480px (Mobile)
   ========================================================================== */

@media screen and (max-width: 480px) {
  :root {
    --shopora-gap: 8px;
    --shopora-section-padding: 25px 8px;
  }

  .shopora-container {
    padding-left: 8px;
    padding-right: 8px;
  }

  body {
    font-size: 15px;
  }

  /* Header */
  .shopora-mobile-header {
    padding: 6px 8px;
  }

  .shopora-mobile-header .shopora-logo {
    max-width: 80px;
  }

  .shopora-mobile-header .shopora-logo img {
    max-height: 25px;
  }

  .shopora-mobile-header .shopora-header-icons {
    gap: 6px;
  }

  .shopora-mobile-header .shopora-header-icons a,
  .shopora-mobile-header .shopora-header-icons button {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .shopora-mobile-header .cart-count {
    width: 16px;
    height: 16px;
    font-size: 9px;
  }

  /* Mobile Menu */
  .shopora-mobile-menu {
    width: 260px;
  }

  .shopora-mobile-menu .shopora-nav-list li a {
    padding: 12px 15px;
    font-size: 14px;
  }

  /* Hero */
  .shopora-hero-slide {
    min-height: 200px;
  }

  .shopora-hero-slide img {
    height: 200px;
  }

  .shopora-hero-content {
    width: 100%;
    padding: 10px;
  }

  .shopora-hero-content h1 {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .shopora-hero-content p {
    font-size: 12px;
    margin-bottom: 8px;
    display: none;
  }

  .shopora-hero-content .shopora-btn {
    padding: 8px 14px;
    font-size: 11px;
  }

  /* Sections */
  .shopora-section-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  /* Categories */
  .shopora-categories-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .shopora-category-card img {
    height: 150px;
  }

  .shopora-category-card .shopora-category-name {
    font-size: 14px;
    padding: 15px 8px 8px;
  }

  /* Products */
  .shopora-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .shopora-product-card .shopora-product-image img {
    height: 110px;
  }

  .shopora-product-card .shopora-product-info {
    padding: 6px;
  }

  .shopora-product-card .shopora-product-category {
    font-size: 9px;
    margin-bottom: 2px;
  }

  .shopora-product-card .shopora-product-title {
    font-size: 11px;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .shopora-product-card .shopora-star-rating {
    font-size: 9px;
  }

  .shopora-product-card .shopora-price {
    font-size: 12px;
  }

  .shopora-product-card .shopora-price del {
    font-size: 10px;
  }

  .shopora-product-card .shopora-add-to-cart {
    padding: 5px 6px;
    font-size: 10px;
  }

  /* WooCommerce */
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 12px;
  }

  .woocommerce ul.products li.product .price {
    font-size: 13px;
  }

  .woocommerce .woocommerce-result-count {
    font-size: 11px;
  }

  .woocommerce .woocommerce-ordering select {
    font-size: 13px;
    padding: 6px 8px;
  }

  /* Product Page */
  .woocommerce div.product {
    padding: 20px 8px;
  }

  .woocommerce div.product .product_title {
    font-size: 16px;
  }

  .woocommerce div.product p.price {
    font-size: 16px;
  }

  .woocommerce div.product form.cart .quantity input {
    width: 45px;
    height: 38px;
  }

  .woocommerce div.product form.cart .button {
    padding: 8px 12px;
    font-size: 12px;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs {
    gap: 3px;
  }

  .woocommerce div.product .woocommerce-tabs ul.tabs li a {
    padding: 5px 10px;
    font-size: 11px;
  }

  /* Cart */
  .woocommerce-cart .cart_totals table {
    font-size: 13px;
  }

  .woocommerce-cart .cart_totals .discount td,
  .woocommerce-cart .cart_totals .cart-subtotal td,
  .woocommerce-cart .cart_totals .order-total td {
    font-size: 13px;
  }

  .woocommerce .coupon input.input-text {
    padding: 8px;
    font-size: 13px;
  }

  .woocommerce .coupon .button {
    padding: 8px 15px;
    font-size: 13px;
  }

  /* Checkout */
  .woocommerce-checkout form .form-row label {
    font-size: 13px;
  }

  .woocommerce-checkout form .form-row input.input-text,
  .woocommerce-checkout form .form-row textarea,
  .woocommerce-checkout form .form-row select {
    padding: 8px;
    font-size: 13px;
  }

  /* My Account */
  .woocommerce-account .woocommerce-MyAccount-content {
    padding: 10px;
  }

  .woocommerce-account table th,
  .woocommerce-account table td {
    padding: 5px;
    font-size: 10px;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    padding: 8px 12px;
    font-size: 13px;
  }

  /* Blog */
  .shopora-blog-card .shopora-blog-image img {
    height: 130px;
  }

  .shopora-blog-card .shopora-blog-content {
    padding: 10px;
  }

  .shopora-blog-card .shopora-blog-meta {
    font-size: 11px;
    margin-bottom: 5px;
  }

  .shopora-blog-card .shopora-blog-title {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .shopora-blog-card .shopora-blog-excerpt {
    font-size: 12px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .shopora-blog-card .shopora-read-more {
    font-size: 12px;
  }

  .shopora-single-post .shopora-post-title {
    font-size: 16px;
  }

  .shopora-single-post .shopora-post-content {
    font-size: 14px;
    line-height: 1.6;
  }

  .shopora-single-post .shopora-post-content p {
    margin-bottom: 12px;
  }

  .shopora-single-post .shopora-post-content blockquote {
    padding: 12px;
    margin: 15px 0;
    font-size: 14px;
  }

  /* Testimonials */
  .shopora-testimonials-section {
    padding: 25px 8px;
  }

  .shopora-testimonial-card {
    padding: 12px;
  }

  .shopora-testimonial-card .shopora-testimonial-avatar {
    width: 50px;
    height: 50px;
  }

  .shopora-testimonial-card .shopora-testimonial-text {
    font-size: 12px;
  }

  .shopora-testimonial-card .shopora-testimonial-author {
    font-size: 13px;
  }

  .shopora-testimonial-card .shopora-testimonial-role {
    font-size: 11px;
  }

  /* Newsletter */
  .shopora-newsletter-section {
    padding: 20px 8px;
  }

  .shopora-newsletter-content h3 {
    font-size: 16px;
  }

  .shopora-newsletter-content p {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .shopora-newsletter-form input[type="email"] {
    padding: 10px;
    font-size: 12px;
  }

  .shopora-newsletter-form button {
    padding: 10px 16px;
    font-size: 12px;
  }

  /* Footer */
  .shopora-footer {
    padding: 20px 8px 0;
  }

  .shopora-footer-grid {
    gap: 15px;
  }

  .shopora-footer-column h4 {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .shopora-footer-column ul li a {
    font-size: 12px;
    padding: 4px 0;
  }

  .shopora-footer-column .shopora-footer-text {
    font-size: 12px;
  }

  .shopora-footer-column .shopora-social-links {
    gap: 8px;
  }

  .shopora-footer-column .shopora-social-links a {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .shopora-footer-column .shopora-payment-icons img {
    height: 24px;
  }

  .shopora-footer-bottom p {
    font-size: 11px;
  }

  /* Sidebar */
  .shopora-sidebar .widget {
    padding: 10px;
  }

  .shopora-sidebar .widget-title {
    font-size: 13px;
  }

  .shopora-sidebar .widget ul li {
    padding: 4px 0;
  }

  .shopora-sidebar .widget ul li a {
    font-size: 12px;
  }

  /* 404 */
  .shopora-404-page {
    padding: 40px 10px;
  }

  .shopora-404-page .shopora-404-title {
    font-size: 50px;
  }

  .shopora-404-page h2 {
    font-size: 16px;
  }

  .shopora-404-page p {
    font-size: 13px;
  }

  /* Breadcrumbs */
  .shopora-breadcrumbs {
    padding: 8px 0;
  }

  .shopora-breadcrumbs .shopora-breadcrumbs-list {
    font-size: 11px;
  }

  /* Back to Top */
  .shopora-back-to-top {
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  /* Utility */
  .shopora-hide-small-mobile {
    display: none !important;
  }

  .shopora-show-small-mobile {
    display: block !important;
  }

  /* No animations on smallest screens */
  .shopora-product-card .shopora-product-actions {
    opacity: 1;
    position: static;
  }

  .shopora-mobile-menu {
    transition: none;
  }

  .shopora-mobile-menu-overlay {
    transition: none;
  }
}

/* ==========================================================================
   LANDSCAPE MOBILE SPECIFIC
   ========================================================================== */

@media screen and (max-width: 576px) and (orientation: landscape) {
  .shopora-hero-slide {
    min-height: 180px;
  }

  .shopora-hero-slide img {
    height: 180px;
  }

  .shopora-hero-content {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .shopora-hero-content h1 {
    font-size: 18px;
  }

  .shopora-hero-content p {
    display: none;
  }
}

/* ==========================================================================
   HIGH DPI / RETINA DISPLAYS
   ========================================================================== */

@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-resolution: 192dpi) {
  .shopora-logo img,
  .shopora-footer-logo img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* ==========================================================================
   TOUCH DEVICE SPECIFIC
   ========================================================================== */

@media (hover: none) and (pointer: coarse) {
  .shopora-product-card .shopora-product-actions {
    opacity: 1;
    position: static;
    flex-direction: row;
    margin-top: 8px;
    justify-content: center;
  }

  .shopora-product-card .shopora-product-actions button,
  .shopora-product-card .shopora-product-actions a {
    width: 36px;
    height: 36px;
  }

  .shopora-product-card:hover .shopora-product-image img {
    transform: none;
  }

  .shopora-category-card:hover img {
    transform: none;
  }

  .shopora-blog-card:hover .shopora-blog-image img {
    transform: none;
  }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
  .shopora-mobile-header,
  .shopora-desktop-header,
  .shopora-desktop-nav,
  .shopora-mobile-menu,
  .shopora-mobile-menu-overlay,
  .shopora-newsletter-section,
  .shopora-footer,
  .shopora-back-to-top,
  .shopora-search-overlay,
  .shopora-quick-view-modal,
  .shopora-product-card .shopora-product-actions,
  .shopora-product-card .shopora-add-to-cart,
  .shopora-blog-card .shopora-read-more {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .shopora-products-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  a {
    text-decoration: underline;
    color: #000;
  }

  .shopora-hero-slide img {
    height: auto !important;
    max-height: 300px;
  }
}
