Theme Name: Quiltking
/*
Theme URI: https://homemonde.in/
Author: harry0x
Author URI: https://homemonde.in/
Description: Custom WordPress Theme for Quiltking.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quiltking
*/

/* ========== RESET & BASE ========== */
:root {
  --primary-color: #41624d;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --bg-dark: #181a1b;
  --bg-light: #faf8f5;
  --accent-color: #c5a059;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

@media (min-width: 1440px) {
  .container {
    padding: 0 60px;
  }
}

/* ========== ANNOUNCEMENT BAR ========== */
.announcement-bar {
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ========== NAVBAR ========== */
.navbar {
  position: sticky;
  top: 0;
  padding:20px;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
img.custom-logo {
    height: 80px;
    width: 200px;
    object-position: left;
    object-fit: contain;
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    padding: 0px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
}

.nav-links {
  display: flex;
  gap: 35px;
}

.nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #262626;
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 5px;
}

.nav-item:hover .nav-link {
  color: var(--accent-color);
}

.nav-item:hover .nav-link {
  color: var(--accent-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-item:hover .nav-link::after {
  width: 100%;
}

/* ========== SHARED UTILS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1),
    transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== MEGA MENU SYSTEM ========== */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  color: #2a2622;
  padding: 40px 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}

.nav-item:hover .mega-menu {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.mega-menu-container {
  display: flex;
  gap: 60px;
}

/* Sidebar in Mega Menu */
.mega-menu-sidebar {
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-btn {
  background-color: #000;
  color: #ffffff !important;
  padding: 12px 16px !important;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-btn:hover {
  opacity: 1;
}

/* Columns in Mega Menu */
.mega-menu-grid {
  flex: 1;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.mega-menu-col {
  min-width: 140px;
}

.mega-menu-col h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.mega-menu-col ul li {
  margin-bottom: 12px;
}

.mega-menu-col ul li a {
  font-size: 13px;
  color: #555;
  transition: color 0.3s ease;
}

.mega-menu-col ul li a:hover {
  color: #000;
  text-decoration: underline;
}

.badge-hot {
  font-size: 9px;
  background-color: #008080;
  color: #fff;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: 700;
}

.nav-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-btn {
  font-size: 18px;
  color: #555;
  transition: color 0.3s ease;
  position: relative;
}

.icon-btn:hover {
  color: #2a2622;
}

.cart-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--secondary-color);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
  font-size: 22px;
  color: #2a2622;
}

/* ========== MOBILE MENU DROPDOWN (PUSH CONTENT) ========== */
.mobile-menu-dropdown {
  max-height: 0;
  overflow: hidden;
  background-color: #ffffff;
  transition: max-height 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-bottom: 0px solid rgba(0, 0, 0, 0.04);
}

.mobile-menu-dropdown.active {
  max-height: 400px; /* Adjust based on content height */
  border-bottom-width: 1px;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 10px 0 30px;
}

.mobile-nav-links a {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #1a1a1a;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.mobile-nav-links a:last-child {
  border-bottom: none;
}

.mobile-nav-links a:hover {
  color: var(--primary-color);
  padding-left: 8px;
}

/* ========== HERO SLIDER ========== */
.hero-slider {
  position: relative;
  width: 100%;
  height: clamp(400px, 65vh, 700px);
  overflow: hidden;
  background: #000;
}

.slides-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  z-index: 3;
  color: #222;
}

.slide-heading {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 15px;
}

.slide-divider {
  width: 100%;
  height: 3px;
  background-color: #333;
  margin-bottom: 20px;
}

.slide-sub {
  font-size: clamp(20px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.slide-btn {
  display: inline-block;
  padding: 16px 50px;
  background-color: #222;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 40px;
  transition: all 0.3s ease;
}

.slide-btn:hover {
  background-color: var(--primary-color);
  transform: scale(1.02);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.8);
}

.slider-prev {
  left: 20px;
}
.slider-next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #222;
  transform: scale(1.2);
}

/* ========== SECTION UTILS ========== */
.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #888;
  display: block;
  margin-bottom: 20px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: var(--text-dark);
}

.section-title-alt {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #333;
}
/* about us section */
.about-section-grid
 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 90px;
}
.about-image img {
    border-radius: 10px;
}
.about-button {
    padding: 14px 30px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin-top: 85px;
    text-transform: uppercase;
    color: #fff;
    background-color: #000;
    cursor: pointer;
    border: none;
}

.button_about_section {
    margin-top: 60px;
}

/* ========== PRODUCT SLIDER ========== */
.product-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.product-slider {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0;
}

.product-slider::-webkit-scrollbar {
  display: none;
}

.product-slider .product-card {
  min-width: 260px;
  flex-shrink: 0;
}

.ps-arrow {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  color: #333;
  transition: all 0.3s ease;
}

.ps-arrow:hover {
  background: #222;
  color: #fff;
  border-color: #222;
}

/* ========== CATEGORY GRID (5 COLUMNS) ========== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
  }
}

.category-card {
  text-align: center;
  transition: all 0.4s ease;
}

.category-img-wrap {
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 25px;
  background-color: #f5f5f5;
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.category-card:hover .category-img-wrap img {
  transform: scale(1.1);
}

.category-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1a1a1a;
}

/* ========== SPLIT BANNER ========== */
.split-banner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  margin: 100px 0;
  min-height: 700px;
}

@media (min-width: 992px) {
  .split-banner {
    grid-template-columns: 1fr 1fr;
  }

  .split-banner.reverse {
    direction: rtl;
  }

  .split-banner.reverse .banner-content {
    direction: ltr;
  }
}

.banner-content {
  padding: 10%;
  background-color: #f7f7f7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.banner-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.banner-link {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.banner-img-wrap {
  overflow: hidden;
}

.banner-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== PRODUCT CARDS ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
  }
}

.product-card {
  transition: transform 0.3s ease;
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1/1; /* Square aspect ratio must be used 200px */
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 20px;
  background-color: #f9f9f9;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.product-btn-wide {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  color: #fff;
  padding: 15px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.product-card:hover .product-btn-wide {
  transform: translateY(0);
}

.product-meta {
  text-align: left;
}

.product-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1a1a1a;
}

.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

.badge-bestseller,
.badge-new,
.badge-trending {
  background-color: #d17147;
  color: #fff;
}

.wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #2a2622;
  transition: all 0.3s ease;
  opacity: 0;
}

.product-card:hover .wishlist-btn {
  opacity: 1;
}

.wishlist-btn:hover {
  color: var(--secondary-color);
}

.product-info {
  padding: 0;
}

.product-name {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2a2622;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.product-card:hover .product-name {
  color: var(--primary-color, #41624d);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-current {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2a2622;
}

.price-original {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: rgba(42, 38, 34, 0.6);
  text-decoration: line-through;
}

/* ========== OUR STORY ========== */
/* ========== OUR STORY ========== */
.story-section {
  padding: 80px 0;
  background-color: transparent;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.story-image {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-content {
  padding: 0;
}

.story-content .section-label {
  display: block;
  margin-bottom: 12px;
}

.story-content .section-title {
  text-align: left;
  margin-bottom: 24px;
  font-size: 48px;
  line-height: 1.25;
  color: var(--text-dark, #2a2622);
}

.story-content p {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  color: rgba(42, 38, 34, 0.6);
  line-height: 1.625;
  margin-bottom: 16px;
}

.story-content p:last-of-type {
  margin-bottom: 32px;
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  padding: 80px 0;
  background-color: #ece6df;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 32px;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.stars i {
  color: #d17147;
  font-size: 14px;
}

.testimonial-text {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  color: #2a2622;
  line-height: 1.625;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: block;
}

.testimonial-author h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2a2622;
  margin-bottom: 0px;
}

.testimonial-author span {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  color: rgba(42, 38, 34, 0.6);
}

/* ========== NEWSLETTER ========== */
.newsletter-section {
  padding: 80px 0;
}

.newsletter-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--primary-color);
  padding: 60px 40px;
  border-radius: 20px;
  color: #fff;
}

.newsletter-content .section-title {
  color: #fff;
  margin-bottom: 12px;
}

.newsletter-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.7;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  font-size: 15px;
  font-family: "DM Sans", sans-serif;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: border-color 0.3s ease;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-input:focus {
  border-color: #fff;
}

.newsletter-btn {
  white-space: nowrap;
}

/* ========== FOOTER ========== */
.footer {
  background-color: #2a2622;
  color: rgba(255, 255, 255, 0.75);
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.footer-brand p {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 24px;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.7);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.footer-col h4 {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 16px;
}

.footer-col ul li a {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-family: "DM Sans", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  background-color: #fff;
  padding: 120px 0;
}

.testimonial-card {
  padding: 40px;
  background-color: #fcfcfb;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.03);
  text-align: center;
}

.stars {
  color: var(--accent-color);
  font-size: 14px;
  margin-bottom: 25px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.testimonial-author span {
  font-size: 13px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========== NEWSLETTER ========== */
.newsletter-section {
  padding: 100px 0;
  background-color: var(--primary-color);
  color: #fff;
  text-align: center;
}

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

.newsletter-input {
  height: 55px;
  padding: 0 30px;
  border-radius: 30px;
  border: none;
  width: 100%;
  max-width: 400px;
  margin-bottom: 20px;
  font-family: inherit;
}

/* ========== FOOTER ========== */
.footer {
  background-color: #000;
  color: #fff;
  padding: 120px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 60px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 30px;
  display: block;
}

.footer-brand p {
  color: #999;
  line-height: 2;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 35px;
}

.footer-col ul li {
  margin-bottom: 18px;
}

.footer-col ul li a {
  color: #777;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  width: 45px;
  height: 45px;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 40px;
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  color: #666;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

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

/* ========== MOBILE SIDEBAR (HIDDEN BY DEFAULT) ========== */
.mobile-sidebar {
  display: none;
}

.sidebar-overlay {
  display: none;
}

/* ========== RESPONSIVE ========== */

/* Mobile & Tablet combined Breakpoint (1024px) */
@media (max-width: 1024px) {
  img.custom-logo{
    object-position:center;
  }
  .slide-heading {
    font-size: 2rem;
  }

  .slide-sub {
    font-size: 1.2rem;
  }

  .slide-content {
    right: 5%;
  }

  .section-title {
    font-size: 28px;
  }

  .section-title-alt {
    font-size: 16px;
    letter-spacing: 3px;
  }

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

  .announcement-bar {
    font-size: 0.75rem !important;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .nav-container {
    height: 60px;
    position: relative;
  }

  .logo {
    font-size: 24px;
  }

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

  .hero-slider {
    height: 60vh;
    min-height: 350px;
  }

  .slider-arrow {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .split-banner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .banner-content {
    padding: 60px 40px;
  }

  .banner-title {
    font-size: 28px;
  }

  .section-padding {
    padding: 50px 0;
  }

  .section-header {
    margin-bottom: 30px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 20px;
  }

  .footer-col.footer-brand {
    grid-column: 1 / -1;
  }

  /* Mobile Sidebar styling */
  .mobile-sidebar {
    display: block;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 2000;
    transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
  }

  .mobile-sidebar.active {
    left: 0;
  }

  .sidebar-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .sidebar-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  }

  .sidebar-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 10;
  }

  .sidebar-header {
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 60px;
  }

  .back-header {
    justify-content: flex-start;
    gap: 16px;
    cursor: pointer;
    background-color: #f8f8f8;
  }

  .back-header i {
    font-size: 16px;
  }

  .back-header span {
    font-size: 16px;
    font-weight: 600;
    color: #2a2622;
  }

  .close-sidebar {
    font-size: 20px;
    color: #000;
  }

  .sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
  }

  .mobile-nav-list {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
  }

  .mobile-nav-item span {
    font-size: 17px;
    font-weight: 500;
    color: #2a2622;
  }

  .mobile-nav-item i {
    font-size: 14px;
    color: #666;
  }

  .mobile-nav-single {
    display: block;
    padding: 18px 0;
    font-size: 17px;
    font-weight: 500;
    color: #2a2622;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .sidebar-featured-btns {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .btn-featured {
    display: block;
    padding: 16px;
    text-align: center;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: opacity 0.3s ease;
  }

  .btn-featured:hover {
    opacity: 0.9;
  }

  .sidebar-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }
	.blog-articles{
	grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 767px){
	.about-section-grid{
		grid-template-columns: repeat(1, 1fr);
		gap:0px
	}
	.about-image img{
		display:none;
	}
	.blog-articles{
	   grid-template-columns: repeat(1, 1fr) !important;
    }
	.things_offer {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}
/* Small Mobile */
@media (max-width: 480px) {
  .announcement-bar {
    font-size: 11px;
    padding: 8px 12px;
  }

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

  .hero-slider {
    height: 50vh;
    min-height: 280px;
  }

  .slide-content {
    right: 5%;
    left: 5%;
    text-align: center;
  }

  .slide-btn {
    padding: 12px 30px;
    font-size: 13px;
  }

  .slider-arrow {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .ps-arrow {
    display: none;
  }

  .product-slider .product-card {
    min-width: 220px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .blog-articles{
	grid-template-columns: repeat(1, 1fr) !important;
  }
  .blog_hero h1{
	font-size:45px !important;
  }
}

/* NEW TRENDING SPLIT SECTION */
.trending-split-section {
  display: flex;
  background-color: #171717;
  color: #fff;
  align-items: stretch;
  overflow: hidden;
}

.trending-left {
  width: 30%;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trending-title {
  font-family: "DM Sans", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.trending-desc {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 30px;
  line-height: 1.5;
}

.trending-link {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.trending-right {
  width: 70%;
  padding: 40px 0 40px 20px;
}

/* REVIEWS & STATS SECTION */
.reviews-section {
  background-color: #f9f9f9;
  color: #2a2622;
  padding: 60px 0;
}

.reviews-header {
  margin-bottom: 40px;
  text-align: center;
}

.reviews-header h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 15px;
}

.reviews-stars {
  color: goldenrod;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.reviews-count {
  font-size: 14px;
  color: #2a2622;
  text-decoration: underline;
}

.reviews-slider-wrap {
  position: relative;
  margin: 0 -20px 60px;
}

.reviews-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  gap: 30px;
  padding: 0 20px;
}
.reviews-slider::-webkit-scrollbar {
  display: none;
}

.review-card {
  min-width: 300px;
  max-width: 350px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.review-stars {
  color: goldenrod;
  margin-bottom: 15px;
  font-size: 16px;
}

.review-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.review-text {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.review-author {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.review-product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.review-product img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.review-product span {
  font-size: 13px;
  color: #2a2622;
  text-decoration: underline;
}

.rs-arrow {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #555;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}
.rs-arrow:hover {
  color: #000;
}
.rs-arrow.rs-prev {
  left: 0;
}
.rs-arrow.rs-next {
  right: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid #333;
  padding-top: 50px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-item img {
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

.stat-item h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #2a2622;
}

.stat-item p {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

/* NEWSLETTER SECTION */
.newsletter-section {
  background-color: #f9f9f9;
  color: #2a2622;
  padding: 80px 0 40px;
  border-bottom: 1px solid #eaeaea;
}

.newsletter-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

.newsletter-header h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 15px;
  color: #2a2622;
}

.newsletter-header p {
  font-size: 14px;
  color: #555;
  margin-bottom: 30px;
}

.newsletter-form {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
}

.newsletter-form input {
  width: 370px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ccc;
  padding: 10px 40px 10px 0;
  color: #2a2622;
  font-size: 15px;
}
.newsletter-form input:focus {
  outline: none;
  border-bottom-color: #2a2622;
}

.newsletter-form button {
  position: absolute;
  right: 0;
  top: 5px;
  background: transparent;
  border: none;
  color: #2a2622;
  font-size: 20px;
  cursor: pointer;
}

.popular-searches {
  font-size: 12px;
  color: #666;
  line-height: 1.8;
}

.popular-searches p {
  margin-bottom: 15px;
}
.popular-searches strong {
  color: #2a2622;
}

/* SITE FOOTER */
.site-footer {
  background-color: #f9f9f9;
  color: #2a2622;
  padding: 60px 0 0;
}

.site-footer h4 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 25px;
  color: #2a2622;
}

.site-footer ul li a {
  color: #555;
  font-size: 13px;
  margin-bottom: 12px;
  display: block;
}
.site-footer ul li a:hover {
  color: #2a2622;
}

.vip-form {
  position: relative;
  margin-bottom: 40px;
}

.vip-form input {
  width: 100%;
  background: transparent;
  border: 1px solid #ccc;
  padding: 12px 100px 12px 15px;
  color: #2a2622;
  border-radius: 4px;
	position:relative;
}

.vip-form button {
  position: absolute;
  right: 5px;
  bottom: 5px;
  background: #2a2622;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.footer-social-header {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.social-links-bubbles {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
}

.social-bbl {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  background: #2a2622;
}
.social-bbl.fb {
  background: #1877f2;
}
.social-bbl.ig {
  background: #e4405f;
}
.social-bbl.in {
  background: #0077b5;
}
.social-bbl.wa {
  background: #25d366;
}
.social-bbl.yt {
  background: #cd201f;
}
.social-bbl.pi {
  background: #bd081c;
}

.footer-contact-links {
  margin-top: 20px;
}

.d-flex {
  display: flex;
}
.gap-15 {
  gap: 15px;
  color: #2a2622;
}

.footer-bottom-info {
  border-top: 1px solid #eaeaea;
  padding: 40px 0;
  text-align: center;
  font-size: 12px;
  color: #555;
  line-height: 1.8;
}

.footer-bottom-links {
  margin: 15px 0;
}

.footer-bottom-links a {
  color: #555;
  margin: 0 10px;
}
.footer-bottom-links a:hover {
  color: #2a2622;
}

.footer-sticky-bar {
  background: var(--primary-color);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* RESPONSIVE UPDATES FOR NEW LAYOUTS */
@media (max-width: 900px) {
  .trending-split-section {
    flex-direction: column;
  }
  .trending-left,
  .trending-right {
    width: 100%;
    padding: 30px 20px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .site-footer .footer-grid {
    gap: 40px;
  }
}

/* ================= NEW HERO SLIDER THEME ================= */
.theme-slide-content {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  z-index: 2;
  text-align: left;
}

.theme-heading {
  position: relative;
  font-family: "Playfair Display", serif;
  font-size: clamp(48px, 6vw, 90px);
  color: #2a2622;
  margin-bottom: 20px;
  line-height: 1.1;
}

.theme-heading::before {
  content: attr(data-text);
  position: absolute;
  top: -10px;
  left: 10px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(42, 38, 34, 0.4);
  z-index: -1;
  font-family: "Playfair Display", serif;
}

.theme-sub {
  position: relative;
  font-family: "Inter", sans-serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  color: #2a2622;
  margin-bottom: 40px;
  letter-spacing: 2px;
}

.theme-sub::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 20px;
  color: transparent;
  -webkit-text-stroke: 2px rgba(42, 38, 34, 0.2);
  z-index: -1;
}

.theme-btn {
  display: inline-block;
  background-color: #2a2622;
  color: #fff;
  padding: 16px 40px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 4px 4px 0px rgba(42, 38, 34, 0.8);
}

.theme-btn:hover {
  transform: translateY(-2px);
  box-shadow: 6px 6px 0px rgba(42, 38, 34, 0.8);
  color: #fff;
}

.theme-btn:active {
  transform: translateY(2px);
  box-shadow: 2px 2px 0px rgba(42, 38, 34, 0.8);
}

@media (max-width: 768px) {
  .theme-heading::before {
    top: -5px;
    left: 5px;
  }
  .theme-sub::before {
    left: 10px;
  }
}

/* ================= TABLE RUNNERS SECTION ================= */
.table-runners-section {
  background-color: #fff;
  padding: 80px 0 20px;
}

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

.tr-card {
  position: relative;
}

.tr-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background-color: #f7f7f7;
  margin-bottom: 15px;
  border-radius: 8px;
}

.tr-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tr-img-wrap:hover img {
  transform: scale(1.05);
}

.tr-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-add,
.btn-sold {
  flex: 1;
  padding: 12px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  background-color: #000;
  cursor: pointer;
  border: none;
}

.btn-sold {
  background-color: #888;
  cursor: not-allowed;
}

.btn-heart {
  width: 44px;
  height: 44px;
  background-color: #000;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-heart:hover {
  background-color: #333;
}

.tr-title {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2a2622;
  line-height: 1.5;
  margin-bottom: 8px;
}

.tr-price {
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #2a2622;
}

@media (max-width: 900px) {
  .tr-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .tr-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= FEATURED CATEGORIES ================= */
.fc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.fc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  font-family: "DM Sans", sans-serif;
  color: #2a2622;
  font-weight: 700;
  font-size: 14px;
  transition: opacity 0.3s;
}

.fc-card:hover {
  opacity: 0.8;
}

.fc-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 12px;
}

@media (max-width: 900px) {
  .fc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .fc-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   QUILTKING SHOP PAGE — FINAL v3
   ================================================================ */

/* ── ADMIN BAR ───────────────────────────────────────────────── */
body.admin-bar {
  padding-top: 0 !important;
}
body.admin-bar .navbar {
  top: 32px !important;
}
@media screen and (max-width: 782px) {
  body.admin-bar .navbar {
    top: 46px !important;
  }
}

/* ── SHOP LAYOUT ─────────────────────────────────────────────── */
.qk-shop-main {
  background: #f8f7f5;
  padding: 40px 0 80px;
}
.qk-shop-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* ── SIDEBAR — full column ───────────────────────────────────── */
.qk-sidebar {
  flex: 0 0 260px;
  width: 260px;
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Remove all bullets */
.qk-sidebar ul,
.qk-sidebar li {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* ── WIDGET CARD ─────────────────────────────────────────────── */
.qk-sidebar .widget {
  background: #fff;
  border: 1px solid #e8e4df;
  border-radius: 14px;
  padding: 20px 18px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.qk-sidebar .widget-title,
.qk-sidebar .widgettitle {
  font-family: "DM Sans", sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #41624d;
  border-bottom: 1.5px solid #d6e9de;
  padding-bottom: 10px;
  margin: 0 0 14px;
}

/* ── CATEGORY PILL BUTTONS ───────────────────────────────────── */
.qk-sidebar .product-categories {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.qk-sidebar .product-categories li a {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-family: "DM Sans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #41624d !important;
  text-decoration: none !important;
  padding: 9px 14px !important;
  border: 1.5px solid #c9ddd0 !important;
  border-radius: 50px !important;
  background: #f3f8f5 !important;
  transition: all 0.2s ease !important;
}
.qk-sidebar .product-categories li a:hover,
.qk-sidebar .product-categories li.current-cat > a {
  background: #41624d !important;
  color: #fff !important;
  border-color: #41624d !important;
}

/* ── SEARCH ──────────────────────────────────────────────────── */
.qk-sidebar .woocommerce-product-search {
  display: flex !important;
}
.qk-sidebar .woocommerce-product-search input {
  flex: 1;
  padding: 9px 12px;
  border: 1px solid #e0dbd5;
  border-right: none;
  border-radius: 8px 0 0 8px;
  font-size: 12px;
  outline: none;
  font-family: "DM Sans", sans-serif;
}
.qk-sidebar .woocommerce-product-search button {
  background: #41624d;
  color: #fff;
  border: none;
  padding: 9px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.qk-sidebar .woocommerce-product-search button:hover {
  background: #2a2622;
}

/* ── TOP RATED PRODUCTS — heading bada, cards neeche ────────── */

/* Widget ka title bada aur proper */
.qk-sidebar .widget_top_rated_products .widget-title,
.qk-sidebar .widget_top_rated_products .widgettitle {
  font-family: "Playfair Display", serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #1a1a1a !important;
  border-bottom: 2px solid #d6e9de !important;
  padding-bottom: 12px !important;
  margin: 0 0 16px !important;
}

/* Product list */
.qk-sidebar .product_list_widget {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

/* Each product — card row */
.qk-sidebar .product_list_widget li {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  background: #f8f7f5 !important;
  border: 1px solid #ede9e4 !important;
  border-radius: 10px !important;
  padding: 10px !important;
  list-style: none !important;
  transition: box-shadow 0.2s ease !important;
}
.qk-sidebar .product_list_widget li:hover {
  box-shadow: 0 4px 14px rgba(65, 98, 77, 0.1) !important;
}

/* Image — LEFT, fixed square */
.qk-sidebar .product_list_widget li img {
  width: 30px !important;
  height: 60px !important;
  min-width: 30px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  flex-shrink: 0 !important;
  display: block !important;
  margin: 0 !important;
}

/* Text block — RIGHT */
.qk-sidebar .product_list_widget li > a {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  flex: 1 !important;
  min-width: 0 !important;
  text-decoration: none !important;
}

/* Product name */
.qk-sidebar .product_list_widget .product-title {
  font-family: "DM Sans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #2a2622 !important;
  line-height: 1.3 !important;
  display: block !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* Stars */
.qk-sidebar .product_list_widget .star-rating {
  font-size: 10px !important;
  display: block !important;
  float: none !important;
  margin: 0 !important;
  color: #c5a059 !important;
  width: auto !important;
}

/* Price */
.qk-sidebar .product_list_widget .woocommerce-Price-amount {
  font-family: "DM Sans", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #41624d !important;
  display: block !important;
}

/* ── PRODUCTS AREA ───────────────────────────────────────────── */
.qk-products-area {
  flex: 1;
  min-width: 0;
}
.qk-products-area h1.page-title {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.qk-products-area .woocommerce-result-count {
  color: #aaa;
  font-size: 12px;
}
.qk-products-area .woocommerce-ordering select {
  border: 1px solid #e0dbd5;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 12px;
  background: #fff;
  outline: none;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
}

/* ── PRODUCT GRID ────────────────────────────────────────────── */
.qk-products-area ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  margin: 16px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
  clear: both;
}
.qk-products-area ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  border-radius: 14px;
  border: 1px solid #ede9e4;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.qk-products-area ul.products li.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(65, 98, 77, 0.13);
  border-color: #c9ddd0;
}
.qk-products-area ul.products li.product a img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 14px 14px 0 0 !important;
  transition: transform 0.5s ease;
}
.qk-products-area ul.products li.product:hover a img {
  transform: scale(1.04);
}
.qk-products-area ul.products li.product .woocommerce-loop-product__title {
  font-family: "DM Sans", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #2a2622 !important;
  padding: 13px 14px 3px !important;
  flex: 1;
}
.qk-products-area ul.products li.product .star-rating {
  padding: 2px 14px !important;
  color: #c5a059;
  float: none !important;
}
.qk-products-area ul.products li.product .price {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #41624d !important;
  padding: 3px 14px 10px !important;
  display: block;
}
.qk-products-area ul.products li.product .price del {
  color: #c0b8b0 !important;
  font-size: 11px !important;
  font-weight: 400 !important;
}
.qk-products-area ul.products li.product .price ins {
  text-decoration: none !important;
}
.qk-products-area ul.products li.product .button {
  display: block !important;
  width: calc(100% - 24px) !important;
  margin: 4px 12px 13px !important;
  padding: 11px !important;
  background: #2a2622 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-align: center !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  font-family: "DM Sans", sans-serif !important;
  transition: background 0.25s !important;
  text-decoration: none !important;
}
.qk-products-area ul.products li.product .button:hover {
  background: #41624d !important;
}
.qk-products-area ul.products li.product .onsale {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #d17147;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 30px;
  text-transform: uppercase;
  z-index: 2;
}

/* ── PAGINATION ──────────────────────────────────────────────── */
.qk-products-area .woocommerce-pagination {
  margin-top: 40px;
  text-align: center;
}
.qk-products-area .woocommerce-pagination ul.page-numbers {
  display: inline-flex;
  gap: 8px;
  list-style: none !important;
  padding: 0;
  margin: 0;
}
.qk-products-area .woocommerce-pagination ul.page-numbers li {
  list-style: none;
}
.qk-products-area .woocommerce-pagination ul.page-numbers li a,
.qk-products-area .woocommerce-pagination ul.page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #e0dbd5;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
}
.qk-products-area .woocommerce-pagination ul.page-numbers li a:hover,
.qk-products-area .woocommerce-pagination ul.page-numbers li span.current {
  background: #41624d;
  border-color: #41624d;
  color: #fff;
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .qk-products-area ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 768px) {
  .qk-shop-wrap {
    flex-direction: column;
    padding: 0 16px;
  }
  .qk-sidebar {
    width: 100%;
    flex: none;
    position: static;
  }
  .qk-products-area ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
}

/* ============================================================
   QUILTKING - SHOP ENHANCEMENTS (PILL BUTTONS & SEARCH)
   ============================================================ */

/* 1. Hide Top Rated Products from Sidebar */
.shop-sidebar .widget_top_rated_products {
  display: none !important;
}

/* 2. Category Pill Buttons */
.shop-sidebar .product-categories,
.widget_product_categories ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 15px 0 !important;
  list-style: none !important;
}

.shop-sidebar .product-categories li {
  margin: 0 !important;
  padding: 0 !important;
}

.shop-sidebar .product-categories li a {
  display: inline-block !important;
  padding: 8px 16px !important;
  background: #f3f8f5 !important;
  border: 1.5px solid #c9ddd0 !important;
  border-radius: 50px !important;
  color: #41624d !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.shop-sidebar .product-categories li a:hover {
  background: #41624d !important;
  color: #ffffff !important;
  border-color: #41624d !important;
}

/* 3. Modern Pill Search Bar */
.shop-sidebar .woocommerce-product-search {
  display: flex !important;
  border: 1.5px solid #e0dbd5 !important;
  border-radius: 50px !important;
  overflow: hidden !important;
  background: #fff !important;
  margin-top: 10px !important;
}

.shop-sidebar .woocommerce-product-search input[type="search"] {
  flex: 1 !important;
  border: none !important;
  padding: 10px 15px !important;
  font-size: 13px !important;
  outline: none !important;
  background: transparent !important;
}

.shop-sidebar .woocommerce-product-search button {
  background: #41624d !important;
  color: #fff !important;
  border: none !important;
  padding: 0 15px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
}

/* 4. Bottom Top Rated Section */
.qk-top-rated-section {
  background: #fbfcfb;
  padding: 80px 0;
  border-top: 1px solid #eee;
  clear: both;
}

.qk-top-rated-section .section-title-alt {
  font-family: serif;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
}

/* ============================================================
   QUILTKING - FORCE 2-COLUMN LAYOUT FIX
   ============================================================ */

/* Force row to be flex */
.site-main .container > .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 -15px !important;
}

/* Sidebar on left (25%) */
.site-main .shop-sidebar {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  padding: 0 20px !important;
}

/* Products on right (75%) */
.site-main .qk-products-area {
  flex: 0 0 75% !important;
  max-width: 75% !important;
  padding: 0 20px !important;
}

/* Category Pill Styling */
.product-categories,
.widget_product_categories ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 0 !important;
  list-style: none !important;
}

.product-categories li a {
  display: inline-block !important;
  padding: 6px 15px !important;
  background: #f3f8f5 !important;
  border: 1.5px solid #c9ddd0 !important;
  border-radius: 50px !important;
  color: #41624d !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.product-categories li a:hover {
  background: #41624d !important;
  color: #fff !important;
}

/* Pill Search Styling */
.woocommerce-product-search {
  display: flex !important;
  border: 1.5px solid #e0dbd5 !important;
  border-radius: 50px !important;
  overflow: hidden !important;
}

.woocommerce-product-search input {
  border: none !important;
  padding: 8px 15px !important;
  flex: 1 !important;
}

.woocommerce-product-search button {
  background: #41624d !important;
  color: #fff !important;
  border: none !important;
  padding: 0 15px !important;
}

/* Mobile Responsive */
@media (max-width: 991px) {
  .site-main .shop-sidebar,
  .site-main .qk-products-area {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* ============================================================
   SPACING & PADDING FIXES
   ============================================================ */

/* 1. Add gap between Top Rated and products above */
.qk-top-rated-section {
  margin-top: 100px !important;
  padding-top: 80px !important;
  border-top: 2px solid #f1f1f1 !important;
}

/* 2. Add padding inside search bar for placeholder gap */
.shop-sidebar .woocommerce-product-search input[type="search"],
.widget_product_search input[type="search"],
.woocommerce-product-search input {
  padding-left: 25px !important;
  padding-right: 15px !important;
}

/* 3. Search button alignment fix */
.shop-sidebar .woocommerce-product-search button,
.woocommerce-product-search button {
  padding: 0 25px !important;
  border-radius: 0 50px 50px 0 !important;
}

/* ============================================================
   FORCED PILL SEARCH DESIGN FIX
   ============================================================ */

/* Target the form container */
.shop-sidebar form.woocommerce-product-search,
.widget_product_search form {
  display: flex !important;
  border: 1.5px solid #e0dbd5 !important;
  border-radius: 50px !important;
  overflow: hidden !important;
  background: #fff !important;
  max-width: 100% !important;
  height: 45px !important;
  align-items: center !important;
}

/* Target the input field */
.shop-sidebar form.woocommerce-product-search input[type="search"],
.widget_product_search input[type="search"] {
  border: none !important;
  background: transparent !important;
  padding: 0 25px !important; /* This creates the placeholder gap */
  height: 100% !important;
  flex: 1 !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 14px !important;
}

/* Target the button */
.shop-sidebar form.woocommerce-product-search button[type="submit"],
.widget_product_search button,
.widget_product_search input[type="submit"] {
  background: #41624d !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0 20px !important;
  height: 100% !important;
  border-radius: 0 50px 50px 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  margin: 0 !important;
}

/* Specific fix for label if it exists */
.shop-sidebar .woocommerce-product-search label {
  display: none !important;
}

/* ============================================================
   FINAL FIX: WORDPRESS BLOCK SEARCH (PILL & GAP)
   ============================================================ */

/* 1. Hide the Search label text above the box */
.wp-block-search__label {
  display: none !important;
}

/* 2. Container to be a Pill */
.wp-block-search__inside-wrapper {
  display: flex !important;
  border: 1.5px solid #e0dbd5 !important;
  border-radius: 50px !important;
  overflow: hidden !important;
  background: #fff !important;
  height: 48px !important;
  margin-top: 15px !important;
  transition: border-color 0.3s ease !important;
}

/* 3. Input with Placeholder Gap */
.wp-block-search__input {
  border: none !important;
  padding: 0 25px !important; /* Forces the gap from border */
  flex: 1 !important;
  outline: none !important;
  box-shadow: none !important;
  font-size: 14px !important;
  line-height: 48px !important;
  background: transparent !important;
}

/* 4. The Button inside the Pill */
.wp-block-search__button {
  background: #41624d !important;
  color: #fff !important;
  border: none !important;
  padding: 0 25px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  border-radius: 0 50px 50px 0 !important;
  margin: 0 !important;
}

.wp-block-search__inside-wrapper:focus-within {
  border-color: #41624d !important;
}

/* ============================================================
   REFINED SIDEBAR DESIGN (SEPARATE SEARCH & PILL CATEGORIES)
   ============================================================ */

/* 1. Category Pill Buttons Styling */
.shop-sidebar .product-categories,
.widget_product_categories ul {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 0 !important;
  margin: 20px 0 !important;
  list-style: none !important;
}

.shop-sidebar .product-categories li {
  margin: 0 !important;
  padding: 0 !important;
}

.shop-sidebar .product-categories li a {
  display: inline-block !important;
  padding: 10px 22px !important;
  background: #ffffff !important;
  border: 1.5px solid #41624d !important; /* Theme Green Border */
  border-radius: 50px !important;
  color: #41624d !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  text-align: center !important;
}

/* Category Hover Effect */
.shop-sidebar .product-categories li a:hover {
  background: #41624d !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(65, 98, 77, 0.15) !important;
}

/* 2. Separate Search Input & Button Design */
.wp-block-search__inside-wrapper,
.woocommerce-product-search {
  border: none !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important; /* Stack them or keep row? User said different so stacking with gap is better */
  gap: 10px !important;
}

/* Search Input as its own pill */
.wp-block-search__input,
.woocommerce-product-search input[type="search"] {
  border: 1.5px solid #e0dbd5 !important;
  border-radius: 50px !important;
  padding: 12px 25px !important;
  width: 100% !important;
  background: #ffffff !important;
  outline: none !important;
  transition: border-color 0.3s ease !important;
}

.wp-block-search__input:focus {
  border-color: #41624d !important;
}

/* Search Button as its own pill */
.wp-block-search__button,
.woocommerce-product-search button {
  border: none !important;
  border-radius: 50px !important;
  padding: 12px 25px !important;
  background: #41624d !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  width: fit-content !important; /* Button sized to text */
}

.wp-block-search__button:hover {
  background: #2a2622 !important;
  transform: scale(1.02) !important;
}

/* ============================================================
   FINAL INTEGRATED SEARCH & PILL CATEGORIES
   ============================================================ */

/* 1. Category Pill Buttons (With Borders & Hover) */
.shop-sidebar .product-categories,
.widget_product_categories ul,
.product-categories {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 20px 0 !important;
  list-style: none !important;
}

.shop-sidebar .product-categories li,
.product-categories li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.shop-sidebar .product-categories li a,
.product-categories li a {
  display: block !important;
  padding: 10px 20px !important;
  background: #ffffff !important;
  border: 1.5px solid #41624d !important;
  border-radius: 50px !important;
  color: #41624d !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  text-align: center !important;
}

.shop-sidebar .product-categories li a:hover,
.product-categories li a:hover {
  background: #41624d !important; /* Theme Green on Hover */
  color: #ffffff !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

/* 2. Integrated Pill Search Bar (Everything in one) */
.wp-block-search__inside-wrapper,
.woocommerce-product-search {
  display: flex !important;
  border: 1.5px solid #e0dbd5 !important;
  border-radius: 50px !important;
  overflow: hidden !important;
  background: #fff !important;
  height: 48px !important;
  margin-top: 15px !important;
}

.wp-block-search__input,
.woocommerce-product-search input[type="search"] {
  border: none !important;
  padding: 0 20px !important;
  flex: 1 !important;
  outline: none !important;
  font-size: 14px !important;
  background: transparent !important;
}

.wp-block-search__button,
.woocommerce-product-search button {
  background: #41624d !important;
  color: #fff !important;
  border: none !important;
  padding: 0 25px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  border-radius: 0 50px 50px 0 !important; /* Right side rounded only */
  margin: 0 !important;
}

.wp-block-search__button:hover {
  background: #2a2622 !important;
}

/* ============================================================
   FORCED COMPACT SEARCH BAR (FIX BUTTON & SIZE)
   ============================================================ */

/* 1. Make the container smaller */
.wp-block-search,
.woocommerce-product-search,
.shop-sidebar .widget_product_search {
  max-width: 220px !important; /* Smaller width */
  margin-bottom: 30px !important;
}

/* 2. Fix the inside wrapper (The Pill) */
.wp-block-search__inside-wrapper,
.woocommerce-product-search {
  display: flex !important;
  border: 1.5px solid #e0dbd5 !important;
  border-radius: 50px !important;
  overflow: hidden !important;
  background: #fff !important;
  height: 40px !important; /* Compact height */
  width: 100% !important;
}

/* 3. Adjust the Input inside */
.wp-block-search__input,
.woocommerce-product-search input[type="search"] {
  border: none !important;
  padding: 0 15px !important;
  flex: 1 !important;
  outline: none !important;
  font-size: 13px !important;
  background: transparent !important;
  width: 60% !important; /* Leave space for button */
}

/* 4. FORCE THE BUTTON TO SHOW */
.wp-block-search__button,
.woocommerce-product-search button,
.wp-block-search__button.wp-element-button {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: #41624d !important;
  color: #fff !important;
  border: none !important;
  padding: 0 15px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  height: 100% !important;
  min-width: 70px !important; /* Ensure it has width */
  border-radius: 0 50px 50px 0 !important;
  margin: 0 !important;
}

/* Hide any labels that might push things away */
.wp-block-search__label {
  display: none !important;
}

/* ============================================================
   ULTIMATE SEARCH & CATEGORY FIX (LIVE SITE MATCH)
   ============================================================ */

/* 1. Category Pill Buttons (FORCE FIX) */
.widget_product_categories ul li a,
.wp-block-product-categories li a,
.product-categories li a {
  display: block !important;
  padding: 10px 20px !important;
  margin-bottom: 12px !important;
  border: 1.5px solid #41624d !important;
  border-radius: 50px !important;
  color: #41624d !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-align: center !important;
  transition: all 0.3s ease !important;
  background: #ffffff !important;
}

.widget_product_categories ul li a:hover,
.wp-block-product-categories li a:hover,
.product-categories li a:hover {
  background: #41624d !important;
  color: #ffffff !important;
}

/* 2. RE-DREIGN SEARCH BAR (SNAP TO PILL) */
.wp-block-search__inside-wrapper {
  display: flex !important;
  border: none !important;
}

/* Force Input to be left pill half */
.wp-block-search__input {
  border: 1.5px solid #e0dbd5 !important;
  border-radius: 50px 0 0 50px !important; /* Left Rounded */
  border-right: none !important;
  height: 45px !important;
  padding: 0 25px !important; /* PERFECT INSIDE GAP */
  margin: 0 !important;
  width: 65% !important;
  background: #fff !important;
  font-size: 14px !important;
  outline: none !important;
  display: inline-block !important;
}

/* Force Button to be right pill half */
.wp-block-search__button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 45px !important;
  border: 1.5px solid #e0dbd5 !important;
  border-left: none !important;
  border-radius: 0 50px 50px 0 !important; /* Right Rounded */
  background: #41624d !important;
  color: #ffffff !important;
  padding: 0 20px !important;
  margin: 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  width: 35% !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.wp-block-search__button:hover {
  background: #2a2622 !important;
}

/* ============================================================
   FINAL COMPACT PILL SEARCH & CATEGORY SYNC
   ============================================================ */

/* 1. Hide the "Search" text label above the input */
.wp-block-search__label {
  display: none !important;
}

/* 2. Limit the search bar overall size */
.wp-block-search {
  max-width: 240px !important; /* Compact size for sidebar */
}

/* 3. Re-align Input and Button to be a single pill */
.wp-block-search__inside-wrapper {
  display: flex !important;
  gap: 0 !important;
}

.wp-block-search__input {
  border: 1.5px solid #e0dbd5 !important;
  border-radius: 50px 0 0 50px !important; /* ONLY LEFT ROUNDED */
  border-right: none !important;
  height: 42px !important;
  padding: 0 20px !important; /* INTERNAL SPACE */
  margin: 0 !important;
  width: 60% !important;
  background: #fff !important;
}

.wp-block-search__button {
  border: 1.5px solid #e0dbd5 !important;
  border-left: none !important;
  border-radius: 0 50px 50px 0 !important; /* ONLY RIGHT ROUNDED */
  background: #41624d !important;
  color: #fff !important;
  padding: 0 15px !important;
  height: 42px !important;
  width: 40% !important;
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  visibility: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* 4. Category Pills Sync */
.wp-block-product-categories li a,
.widget_product_categories ul li a {
  display: block !important;
  padding: 10px 18px !important;
  border: 1.2px solid #41624d !important;
  border-radius: 50px !important;
  margin-bottom: 10px !important;
  text-align: center !important;
  font-size: 13px !important;
  color: #41624d !important;
  font-weight: 600 !important;
  transition: 0.3s !important;
}

.wp-block-product-categories li a:hover,
.widget_product_categories ul li a:hover {
  background: #41624d !important;
  color: #fff !important;
}

/* ============================================================
   PREMIUM SINGLE PRODUCT PAGE STYLING
   ============================================================ */

/* 1. Layout Structure */
.qk-single-product-area .product {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 40px !important;
  margin-bottom: 60px !important;
}

.qk-single-product-area .woocommerce-product-gallery {
  flex: 0 0 50% !important;
  max-width: 50% !important;
}

.qk-single-product-area .summary {
  flex: 0 0 calc(50% - 40px) !important;
  max-width: calc(50% - 40px) !important;
  padding-top: 20px !important;
}

@media (max-width: 768px) {
  .qk-single-product-area .woocommerce-product-gallery,
  .qk-single-product-area .summary {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* 2. Product Summary Styling */
.qk-single-product-area .product_title {
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 15px !important;
  color: #1a1a1a !important;
}

.qk-single-product-area .price {
  font-size: 28px !important;
  color: #41624d !important;
  font-weight: 700 !important;
  margin-bottom: 25px !important;
  display: block !important;
}

.qk-single-product-area .woocommerce-product-details__short-description {
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #555 !important;
  margin-bottom: 30px !important;
}

/* 3. Add to Cart & Quantity */
.qk-single-product-area .cart {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-top: 30px !important;
}

.qk-single-product-area .quantity input {
  width: 60px !important;
  height: 48px !important;
  border: 1.5px solid #e0dbd5 !important;
  border-radius: 8px !important;
  text-align: center !important;
  font-weight: 600 !important;
  font-size: 16px !important;
}

.qk-single-product-area .single_add_to_cart_button {
  height: 48px !important;
  background: #41624d !important;
  color: #fff !important;
  border: none !important;
  padding: 0 40px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.qk-single-product-area .single_add_to_cart_button:hover {
  background: #2a2622 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(65, 98, 77, 0.2) !important;
}

/* 4. Product Meta (Category, SKU) */
.qk-single-product-area .product_meta {
  border-top: 1px solid #eee !important;
  padding-top: 20px !important;
  margin-top: 30px !important;
  font-size: 14px !important;
  color: #888 !important;
}

.qk-single-product-area .product_meta span {
  display: block !important;
  margin-bottom: 5px !important;
}

.qk-single-product-area .product_meta a {
  color: #41624d !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}

/* 5. Tabs & Reviews */
.woocommerce-tabs {
  margin-top: 80px !important;
  border-top: 1px solid #eee !important;
  padding-top: 40px !important;
}

.woocommerce-tabs .tabs {
  display: flex !important;
  list-style: none !important;
  padding: 0 !important;
  margin-bottom: 30px !important;
  gap: 30px !important;
  justify-content: center !important;
}

.woocommerce-tabs .tabs li a {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #aaa !important;
  text-decoration: none !important;
  padding-bottom: 10px !important;
  border-bottom: 2.5px solid transparent !important;
  transition: all 0.3s ease !important;
}

.woocommerce-tabs .tabs li.active a {
  color: #41624d !important;
  border-bottom-color: #41624d !important;
}

.woocommerce-Tabs-panel {
  max-width: 800px !important;
  margin: 0 auto !important;
  line-height: 1.8 !important;
  color: #444 !important;
}

/* Review Stars Fix */
.star-rating::before {
  color: #ffc107 !important;
}

.comment-form-rating {
  margin-bottom: 20px !important;
}

/* ============================================================
   SINGLE PRODUCT PAGE - DESIGN FIXES (FULL WIDTH & CLEANUP)
   ============================================================ */

/* 1. Hide the search/zoom icon on image */
.woocommerce-product-gallery__trigger {
  display: none !important;
}

/* 2. Full Width Content Area */
.woocommerce-Tabs-panel {
  max-width: 100% !important;
  margin: 0 !important;
  padding: 20px 0 !important;
}

.woocommerce-tabs {
  margin-top: 50px !important;
  border-top: 1px solid #eee !important;
}

/* 3. Review List Styling */
.commentlist {
  list-style: none !important;
  padding: 0 !important;
  margin-bottom: 50px !important;
}

.commentlist li {
  background: #fbfbfb !important;
  border-radius: 12px !important;
  padding: 25px !important;
  margin-bottom: 20px !important;
  border: 1px solid #f1f1f1 !important;
}

.commentlist li img.avatar {
  border-radius: 50% !important;
  margin-right: 15px !important;
  border: 2px solid #fff !important;
}

.comment-text .meta {
  font-size: 14px !important;
  margin-bottom: 10px !important;
  color: #1a1a1a !important;
}

/* 4. Review Form Styling */
#review_form_wrapper {
  background: #fff !important;
  padding: 40px !important;
  border: 1px solid #eee !important;
  border-radius: 15px !important;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03) !important;
}

#review_form .comment-form-comment textarea {
  width: 100% !important;
  border: 1.5px solid #e0dbd5 !important;
  border-radius: 10px !important;
  padding: 15px !important;
  min-height: 120px !important;
  outline: none !important;
}

#review_form .submit {
  background: #41624d !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 30px !important;
  border-radius: 50px !important;
  cursor: pointer !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-top: 15px !important;
}

/* 5. Rating Input Stars Fix */
.stars a {
  color: #ffc107 !important;
}

/* ============================================================
   SINGLE PRODUCT - REVIEWS FULL WIDTH & CENTER FIX
   ============================================================ */

/* 1. Center the Review Title */
.woocommerce-Reviews-title {
  text-align: center !important;
  margin-bottom: 40px !important;
  font-size: 24px !important;
  font-weight: 700 !important;
}

/* 2. Force Review Cards to be Full Width */
.commentlist {
  width: 100% !important;
  display: block !important;
}

.commentlist li {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 3. Center the Reviews Section Container */
#reviews #comments {
  width: 100% !important;
  max-width: 1000px !important; /* Balanced width for readability */
  margin: 0 auto !important;
}

/* 4. Center the Review Form as well */
#review_form_wrapper {
  max-width: 1000px !important;
  margin: 40px auto 0 !important;
}

/* ============================================================
   SINGLE PRODUCT - FINAL FORCE CENTER & FULL WIDTH FIX
   ============================================================ */

/* Force the entire tabs section to break out of columns and be full width */
.woocommerce div.product .woocommerce-tabs {
  width: 100% !important;
  max-width: 100% !important;
  clear: both !important;
  display: block !important;
  float: none !important;
  padding-top: 50px !important;
}

/* Ensure review content is centered within a readable box */
#reviews #comments,
#review_form_wrapper {
  max-width: 1000px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  width: 100% !important;
}

/* Force specific heading centering */
.woocommerce-Reviews-title {
  text-align: center !important;
  width: 100% !important;
  display: block !important;
  margin-bottom: 40px !important;
  font-size: 26px !important;
}

/* Force individual review cards to be full width within the 1000px box */
.commentlist {
  width: 100% !important;
  padding: 0 !important;
}

.commentlist li.review {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  float: none !important;
  margin-bottom: 30px !important;
  box-sizing: border-box !important;
}

/* Center tab navigation buttons */
.woocommerce-tabs ul.tabs {
  display: flex !important;
  justify-content: center !important;
  border-bottom: 1px solid #eee !important;
  margin-bottom: 40px !important;
}

/* ============================================================
   SINGLE PRODUCT - FLEXBOX BREAKOUT (FULL WIDTH REVIEWS)
   ============================================================ */

/* 1. Force the main product container to wrap its children */
.woocommerce div.product,
.qk-single-product-area .product {
  display: flex !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
}

/* 2. Image and Summary take 50% each */
.woocommerce div.product .woocommerce-product-gallery,
.qk-single-product-area .woocommerce-product-gallery {
  flex: 0 0 50% !important;
  max-width: 50% !important;
}

.woocommerce div.product .summary,
.qk-single-product-area .summary {
  flex: 0 0 50% !important;
  max-width: 50% !important;
}

/* 3. Force Tabs to break to a NEW line and take 100% width */
.woocommerce div.product .woocommerce-tabs,
.qk-single-product-area .woocommerce-tabs {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  clear: both !important;
  margin-top: 50px !important;
  order: 10 !important; /* Forces it below gallery/summary */
}

/* 4. Center all content inside the 100% width area */
.woocommerce-Tabs-panel,
#reviews #comments,
#review_form_wrapper {
  max-width: 1100px !important; /* Matches main container feel */
  margin: 0 auto !important;
  float: none !important;
  clear: both !important;
}

.woocommerce-Reviews-title {
  text-align: center !important;
}

/* ============================================================
   SINGLE PRODUCT - ULTIMATE ROW FIX & LINE CLEANUP
   ============================================================ */

/* 1. Force Image and Summary into a single Row */
.woocommerce div.product {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
}

.woocommerce div.product .woocommerce-product-gallery {
  width: 45% !important;
  flex: 0 0 45% !important;
  margin-right: 5% !important;
  float: left !important;
}

.woocommerce div.product .summary {
  width: 50% !important;
  flex: 0 0 50% !important;
  float: right !important;
}

/* 2. Remove the double lines above Reviews */
.woocommerce-tabs,
.woocommerce div.product .woocommerce-tabs {
  border-top: none !important;
  margin-top: 40px !important;
  padding-top: 0 !important;
  clear: both !important;
  width: 100% !important;
}

.woocommerce-tabs::before,
.woocommerce-tabs::after {
  display: none !important;
}

/* 3. Mobile adjustments (Keep them stacked on phones) */
@media (max-width: 768px) {
  .woocommerce div.product {
    flex-direction: column !important;
  }
  .woocommerce div.product .woocommerce-product-gallery,
  .woocommerce div.product .summary {
    width: 100% !important;
    flex: 0 0 100% !important;
    margin-right: 0 !important;
  }
}

/* ============================================================
   SINGLE PRODUCT - PERFECT 2-COLUMN + FULL WIDTH REVIEWS
   ============================================================ */

/* 1. Reset Product Container to Flex */
.woocommerce div.product {
  display: flex !important;
  flex-wrap: wrap !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
}

/* 2. Image (Left Column - 48%) */
.woocommerce div.product .woocommerce-product-gallery {
  flex: 0 0 48% !important;
  max-width: 48% !important;
  margin: 0 !important;
}

/* 3. Summary/Price/Buttons (Right Column - 48%) */
.woocommerce div.product .summary {
  flex: 0 0 48% !important;
  max-width: 48% !important;
  margin: 0 !important;
  padding-top: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
}

/* 4. Tabs/Reviews (Full Width Bottom - 100%) */
.woocommerce div.product .woocommerce-tabs {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  clear: both !important;
  margin-top: 60px !important; /* Gap after product top section */
  border-top: none !important; /* Remove those lines */
}

/* 5. Remove extra lines and pseudo elements */
.woocommerce-tabs::before,
.woocommerce-tabs::after,
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after {
  display: none !important;
}

/* 6. Refine Price & Add to Cart spacing */
.summary .price {
  font-size: 26px !important;
  margin-bottom: 20px !important;
}

.summary .cart {
  display: flex !important;
  align-items: center !important;
  gap: 15px !important;
  margin-top: 20px !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .woocommerce div.product .woocommerce-product-gallery,
  .woocommerce div.product .summary {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* ============================================================
   SINGLE PRODUCT - GRID SYSTEM (IMAGE & DETAIL IN ONE ROW)
   ============================================================ */

/* 1. Force Grid Layout on Product Container */
.woocommerce div.product,
.qk-single-product-area .product {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important; /* Two equal columns */
  grid-template-areas:
    "gallery summary"
    "tabs tabs" !important;
  gap: 40px !important;
  align-items: start !important;
}

/* 2. Assign Areas */
.woocommerce-product-gallery {
  grid-area: gallery !important;
  width: 100% !important;
}

.summary.entry-summary {
  grid-area: summary !important;
  width: 100% !important;
  padding: 0 !important;
}

.woocommerce-tabs.wc-tabs-wrapper {
  grid-area: tabs !important;
  width: 100% !important;
  margin-top: 50px !important;
  border: none !important; /* Remove lines */
}

/* 3. Remove Hidden Lines & Pseudo Elements */
.woocommerce-tabs::before,
.woocommerce-tabs::after,
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

.woocommerce-tabs ul.tabs {
  border-top: none !important;
  border-bottom: 1px solid #eee !important;
}

/* 4. Mobile Responsiveness */
@media (max-width: 768px) {
  .woocommerce div.product,
  .qk-single-product-area .product {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "gallery"
      "summary"
      "tabs" !important;
  }
}

/* ============================================================
   SINGLE PRODUCT - IMAGE SIZE & ALIGNMENT FIX
   ============================================================ */

/* 1. Force the gallery image to fill its column width */
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce-product-gallery--with-images {
  width: 100% !important;
}

.woocommerce div.product .woocommerce-product-gallery img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important; /* Ensures whole image is visible without crop */
  border-radius: 8px !important;
}

/* 2. Adjust Grid for better balance (45% Image, 50% Details) */
.woocommerce div.product,
.qk-single-product-area .product {
  grid-template-columns: 45% 50% !important;
  column-gap: 5% !important;
}

/* 3. Ensure Summary matches the image height area */
.summary.entry-summary {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
}

/* ============================================================
   SINGLE PRODUCT - DEFINITIVE 2-COLUMN GRID FIX
   ============================================================ */

/* 1. Force the product container to be a strict 2-column grid on desktop */
.woocommerce div.product,
.qk-single-product-area .product {
  display: grid !important;
  grid-template-columns: 50% 50% !important;
  grid-template-areas:
    "gallery summary"
    "tabs tabs" !important;
  gap: 0 !important;
  align-items: start !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* 2. Gallery Area - Ensure it takes the left half and is wide enough */
.woocommerce div.product .woocommerce-product-gallery {
  grid-area: gallery !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 20px !important;
}

.woocommerce div.product .woocommerce-product-gallery img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 8px !important;
}

/* 3. Summary Area - Ensure it takes the right half */
.woocommerce div.product .summary {
  grid-area: summary !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 15px !important;
}

/* 4. Tabs Area - Force it to be full width below both */
.woocommerce div.product .woocommerce-tabs {
  grid-area: tabs !important;
  width: 100% !important;
  max-width: 1140px !important; /* Centered narrow container for readability */
  margin: 40px auto 0 !important;
  clear: both !important;
  border: none !important; /* Remove those lines */
}

/* 5. Clean up extra lines and borders */
.woocommerce-tabs::before,
.woocommerce-tabs::after,
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after {
  display: none !important;
  content: none !important;
}

.woocommerce-tabs ul.tabs {
  border: none !important;
  margin-bottom: 30px !important;
}

/* 6. Mobile Responsiveness */
@media (max-width: 768px) {
  .woocommerce div.product,
  .qk-single-product-area .product {
    grid-template-columns: 100% !important;
    grid-template-areas:
      "gallery"
      "summary"
      "tabs" !important;
  }
}

/* ============================================================
   SINGLE PRODUCT - IMAGE SIZE & NO LINES (FINAL)
   ============================================================ */

/* 1. Make Image column wider (60%) and Summary narrower (35%) */
.woocommerce div.product,
.qk-single-product-area .product {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
}

.woocommerce div.product .woocommerce-product-gallery {
  width: 60% !important;
  flex: 0 0 60% !important;
  padding: 0 !important;
}

.woocommerce div.product .summary {
  width: 35% !important;
  flex: 0 0 35% !important;
  padding: 0 0 0 20px !important;
}

/* 2. Force Image to be large and clear */
.woocommerce div.product .woocommerce-product-gallery img {
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}

/* 3. ABSOLUTELY REMOVE ALL LINES from Review/Tabs */
.woocommerce div.product .woocommerce-tabs,
.woocommerce-tabs,
.woocommerce-tabs ul.tabs,
.woocommerce-tabs .panel {
  border: none !important;
  box-shadow: none !important;
}

.woocommerce-tabs::before,
.woocommerce-tabs::after,
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

/* 4. Center Reviews Section */
.woocommerce-tabs .panel {
  max-width: 1100px !important;
  margin: 0 auto !important;
}

/* ============================================================
   SINGLE PRODUCT - REVIEW FORM INPUTS STYLING
   ============================================================ */

/* 1. Make Name and Email fields 50% width and stack them */
#review_form .comment-form-author,
#review_form .comment-form-email {
  width: 50% !important;
  margin-bottom: 20px !important;
  display: flex !important;
  flex-direction: column !important;
}

#review_form label {
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  font-size: 14px !important;
  color: #333 !important;
}

/* 2. Style the actual input boxes */
#review_form input[type="text"],
#review_form input[type="email"] {
  width: 100% !important;
  height: 50px !important;
  border: 1.5px solid #e0dbd5 !important;
  border-radius: 10px !important;
  padding: 0 15px !important;
  font-size: 15px !important;
  outline: none !important;
  transition: all 0.3s ease !important;
  background: #fdfdfd !important;
}

/* 3. Input hover and focus effect */
#review_form input[type="text"]:focus,
#review_form input[type="email"]:focus,
#review_form .comment-form-comment textarea:focus {
  border-color: #41624d !important;
  background: #fff !important;
  box-shadow: 0 0 8px rgba(65, 98, 77, 0.1) !important;
}

/* 4. Checkbox Styling */
.comment-form-cookies-consent {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-top: 10px !important;
}

.comment-form-cookies-consent input {
  margin-top: 4px !important;
}

.comment-form-cookies-consent label {
  font-weight: 400 !important;
  font-size: 13px !important;
  color: #666 !important;
}

/* ============================================================
   QUANTITY BUTTON VISIBILITY FIX
   ============================================================ */

/* Force numeric arrows to be visible at all times */
.quantity input::-webkit-outer-spin-button,
.quantity input::-webkit-inner-spin-button {
  -webkit-appearance: inner-spin-button !important;
  opacity: 1 !important;
  display: block !important;
  cursor: pointer !important;
}

/* Ensure enough space for the arrows */
.qk-single-product-area .quantity input {
  padding-right: 5px !important;
  width: 75px !important; /* Slightly wider to accommodate buttons */
}

/* Firefox support */
.quantity input[type="number"] {
  -moz-appearance: number-input !important;
}

/* ============================================================
   SINGLE PRODUCT - RESPONSIVE FIX (MOBILE STACKING)
   ============================================================ */
@media (max-width: 768px) {
  .woocommerce div.product,
  .qk-single-product-area .product {
    flex-direction: column !important;
    display: flex !important;
  }

  .woocommerce div.product .woocommerce-product-gallery,
  .woocommerce div.product .summary {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 30px !important;
  }

  .woocommerce div.product .summary {
    padding: 0 15px !important; /* Side padding for text on mobile */
  }

  .qk-single-product-area .product_title {
    font-size: 28px !important; /* Smaller title for mobile */
  }
}

/* ============================================================
   SINGLE PRODUCT - REVIEW FORM RESPONSIVE FIX
   ============================================================ */
@media (max-width: 600px) {
  #review_form .comment-form-author,
  #review_form .comment-form-email {
    width: 100% !important;
    margin-right: 0 !important;
  }

  #review_form_wrapper {
    padding: 20px !important; /* Less padding for small screens */
  }
}

/* ============================================================
   SINGLE PRODUCT - DEFINITIVE MOBILE UI FIX
   ============================================================ */
@media (max-width: 500px) {
  /* 1. Reset Cart alignment for small phones */
  .woocommerce div.product .summary .cart {
    flex-direction: row !important; /* Keep side by side but wrap if needed */
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .woocommerce div.product .summary .quantity {
    margin-bottom: 5px !important;
  }

  .woocommerce div.product .summary .single_add_to_cart_button {
    flex: 1 !important; /* Make button fill space */
    min-width: 160px !important;
    padding: 0 15px !important;
    font-size: 13px !important;
  }

  /* 2. Fix Image Overflow */
  .woocommerce-product-gallery {
    margin-bottom: 20px !important;
  }

  .woocommerce-product-gallery img {
    border-radius: 0 !important; /* Full edge to edge on mobile looks better usually */
    max-height: 400px !important;
    object-fit: cover !important;
  }

  /* 3. Refine Typography */
  .qk-single-product-area .product_title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }

  .qk-single-product-area .price {
    font-size: 22px !important;
    margin-bottom: 15px !important;
  }

  /* 4. Remove horizontal scroll if any */
  body,
  html {
    overflow-x: hidden !important;
  }
}

/* ============================================================
   SINGLE PRODUCT - BUTTON & IMAGE STRETCH FIX
   ============================================================ */
@media (max-width: 768px) {
  /* Force image to stretch properly */
  .woocommerce-product-gallery,
  .woocommerce-product-gallery__wrapper,
  .woocommerce-product-gallery img {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Ensure no strange cropping on mobile */
  .woocommerce-product-gallery img {
    height: auto !important;
    max-height: 500px !important;
    object-fit: contain !important;
  }

  /* Cart Button Fix - Prevent text wrap */
  .single_add_to_cart_button {
    white-space: nowrap !important;
    display: inline-block !important;
    padding: 0 20px !important;
    font-size: 14px !important;
  }
}

/* ============================================================
   SINGLE PRODUCT - PREMIUM MOBILE RESPONSIVE REWRITE
   ============================================================ */
@media (max-width: 768px) {
  /* 1. Full-Bleed Image on Mobile */
  .woocommerce div.product .woocommerce-product-gallery {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important; /* Remove any padding to go edge-to-edge */
  }

  .woocommerce div.product .woocommerce-product-gallery img {
    width: 100% !important;
    height: auto !important;
    border-radius: 0 !important; /* Edge to edge looks more premium on mobile */
    object-fit: cover !important;
    display: block !important;
  }

  /* 2. Content Padding and Alignment */
  .woocommerce div.product .summary {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding: 0 20px !important; /* Balanced side gap */
    text-align: left !important; /* Keep it left for modern clean look, but better spacing */
    display: flex !important;
    flex-direction: column !important;
  }

  /* 3. Typography Cleanup */
  .qk-single-product-area .product_title,
  .product_title.entry-title {
    font-size: 26px !important;
    margin-bottom: 12px !important;
    line-height: 1.2 !important;
    color: #1a1a1a !important;
  }

  .woocommerce-product-rating {
    margin-bottom: 15px !important;
    font-size: 14px !important;
    color: #666 !important;
  }

  .qk-single-product-area .price,
  .price {
    font-size: 24px !important;
    margin-bottom: 20px !important;
    font-weight: 700 !important;
    color: #41624d !important;
  }

  /* 4. Balanced Add to Cart Row */
  .woocommerce div.product .summary .cart {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 20px !important;
    margin-bottom: 30px !important;
  }

  .woocommerce div.product .summary .quantity input {
    width: 65px !important;
    height: 50px !important;
    font-size: 16px !important;
    border-radius: 10px !important;
  }

  .woocommerce div.product .summary .single_add_to_cart_button {
    flex: 1 !important;
    height: 50px !important;
    border-radius: 50px !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    padding: 0 20px !important;
  }

  /* 5. Product Meta & Extra Info */
  .product_meta {
    border-top: 1px solid #f0f0f0 !important;
    padding-top: 20px !important;
    margin-top: 10px !important;
    font-size: 13px !important;
  }
}

/* ============================================================
   SINGLE PRODUCT - IMAGE FULL BLEED BREAKOUT
   ============================================================ */
@media (max-width: 768px) {
  /* This forces the gallery to ignore parent container padding and go edge-to-edge */
  .woocommerce div.product .woocommerce-product-gallery {
    margin-left: -20px !important;
    margin-right: -20px !important;
    width: calc(100% + 40px) !important;
    max-width: none !important;
  }
}

/* ============================================================
   WOOCOMMERCE STAR RATING FIX (ICON INSTEAD OF TEXT)
   ============================================================ */
/* 1. Star Rating Font Face (Ensuring WC Font) */
@font-face {
    font-family: 'star';
    src: url('../../../plugins/woocommerce/assets/fonts/star.eot');
    src: url('../../../plugins/woocommerce/assets/fonts/star.eot?#iefix') format('embedded-opentype'),
         url('../../../plugins/woocommerce/assets/fonts/star.woff') format('woff'),
         url('../../../plugins/woocommerce/assets/fonts/star.ttf') format('truetype'),
         url('../../../plugins/woocommerce/assets/fonts/star.svg#star') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* 2. Hide the "1 of 5 stars" text and show icons */
.stars {
    display: inline-block;
    color: #ffc107;
    line-height: 1;
}

.stars a {
    position: relative !important;
    height: 1em !important;
    width: 1em !important;
    text-indent: -999em !important;
    display: inline-block !important;
    text-decoration: none !important;
    margin-right: 2px !important;
    outline: none !important;
}

.stars a:before {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 1em !important;
    height: 1em !important;
    line-height: 1 !important;
    font-family: "WooCommerce" !important;
    content: "\e021" !important; /* Empty Star */
    text-indent: 0 !important;
    color: #ffc107 !important;
    font-size: 18px !important;
}

/* Fill ALL stars when container is hovered */
.stars:hover a:before {
    content: "\e020" !important; /* Filled Star */
}

/* Un-fill stars appearing AFTER the hovered star */
.stars a:hover ~ a:before {
    content: "\e021" !important; /* Empty Star */
}

/* Selected state: same logic as hover but triggered by WooCommerce's 'active' class */
.stars.selected a.active:before {
    content: "\e020" !important; /* Filled */
}

/* When a selection is made, fill everything, then unfill after active */
.stars.selected a:before {
    content: "\e020" !important; /* Force all to gold */
}

.stars.selected a.active ~ a:before {
    content: "\e021" !important; /* Stars after the selection back to hollow */
}

/* Priority check: hover should override the persistent selection visually */
.stars:hover a.active ~ a:before {
    content: "\e020" !important; /* Fill them back if we are hovering later stars */
}

.stars a:hover ~ a:before {
    content: "\e021" !important; /* Final safety for hollow following stars */
}

/* Remove any focus outlines/blue brackets */
.stars a:focus, .stars a:active {
    outline: none !important;
    box-shadow: none !important;
}

/* 3. Fallback to System Stars if WC font fails */
@supports not (font-family: "WooCommerce") {
    .stars a:before {
        content: "★" !important;
        font-family: sans-serif !important;
    }
}

/* 4. Fix display star rating overlaps */
.star-rating {
    overflow: hidden !important;
    position: relative !important;
    height: 1.6em !important;
    line-height: 1 !important;
    font-size: 14px !important;
    width: 5.4em !important;
    font-family: "WooCommerce" !important;
}

.star-rating:before {
    content: "\e021\e021\e021\e021\e021" !important;
    color: #e0dbd5 !important;
    float: left !important;
    top: 0 !important;
    left: 0 !important;
    position: absolute !important;
}

.star-rating span {
    overflow: hidden !important;
    float: left !important;
    top: 0 !important;
    left: 0 !important;
    position: absolute !important;
    padding-top: 1.5em !important;
}

.star-rating span:before {
    content: "\e020\e020\e020\e020\e020" !important;
    top: 0 !important;
    position: absolute !important;
    left: 0 !important;
    color: #ffc107 !important;
}

/* Ensure stars are in a single horizontal row */
p.stars {
    display: flex !important;
    gap: 5px !important;
    margin-bottom: 20px !important;
}
div#email-1 label {
    display: none;
}


.page-content{
	padding:50px 0px;
}
tr.woocommerce-cart-form__cart-item.cart_item .product-thumbnail img {
    height: 90px;
    object-fit: cover;
    width: 90px;
}

input#coupon_code {
    width: 235px;
    padding: 7px;
    border: 1px solid #000;
    border-radius: 5px;
}
.woocommerce .cart .button,
button#place_order{
    padding: 12px 20px !important;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff !important;
    background-color: #000 !important;
    cursor: pointer;
    border: none;
}
a.checkout-button.button.alt.wc-forward {
    background: #000;
    font-family: 'DM Sans';
    font-weight: 500;
    text-transform: uppercase;
}
.woocommerce-info {
    border-top-color: #728a5f;
}
.woocommerce-info::before {
    color: #728a5f;
}
.woocommerce form .form-row .input-text, .woocommerce form .form-row select{
	padding:0.7em
}
h3#order_review_heading {
    margin-top: 30px;
    margin-bottom: 10px;
}



/* ===============================
   SINGLE PRODUCT PAGE
================================= */
.qk-single-product-area {
    width: 100%;
}

.qk-single-product-layout {
    padding: 60px 0;
}

.qk-product-top {
    display: flex;
    /* flex-direction: column !important; */
    flex-wrap: nowrap !important;
}

.qk-product-gallery,
.qk-product-summary {
    width: 100%;
}

@media (min-width: 992px) {
    .qk-product-gallery {
        width: 48%;
    }

    .qk-product-summary {
        width: 46%;
    }
}

/* ===============================
   GALLERY
================================= */
.woocommerce div.product div.images {
    width: 100%;
    float: none !important;
    margin: 0 !important;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    width: 100%;
}

.woocommerce div.product div.images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.woocommerce div.product div.flex-control-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: thin;
}

.woocommerce div.product div.flex-control-thumbs li {
    width: 90px !important;
    min-width: 90px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce div.product div.flex-control-thumbs li:hover {
    border-color: #111;
}

.woocommerce div.product div.flex-control-thumbs li img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    opacity: 1 !important;
    display: block;
}

/* ===============================
   PRODUCT SUMMARY
================================= */
.qk-product-summary .product_title {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 18px;
    color: #111;
    font-family: 'Playfair Display', serif;
}

.qk-product-summary .price {
    font-size: 30px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
    display: block;
}

.qk-product-summary .woocommerce-product-details__short-description {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
    margin-bottom: 28px;
}

.qk-product-summary .woocommerce-product-rating {
    margin-bottom: 15px;
}

/* ===============================
   VARIATIONS
================================= */
.qk-product-summary form.cart {
    margin-top: 20px;
    margin-bottom: 25px;
}

.qk-product-summary .variations {
    width: 100%;
    margin-bottom: 20px;
}

.qk-product-summary .variations th,
.qk-product-summary .variations td {
    padding-bottom: 16px;
    vertical-align: middle;
}

.qk-product-summary .variations label {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

.qk-product-summary .variations select {
    width: 100%;
    max-width: 320px;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
    background: #fff;
}

/* ===============================
   QUANTITY + BUTTON
================================= */
.qk-product-summary .quantity {
    margin-right: 12px;
}

.qk-product-summary .quantity .qty {
    width: 80px;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
}

.qk-product-summary .single_add_to_cart_button {
    background: #111 !important;
    color: #fff !important;
    border: none !important;
    padding: 15px 32px !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease;
}

.qk-product-summary .single_add_to_cart_button:hover {
    background: #333 !important;
}

/* ===============================
   META
================================= */
.qk-product-summary .product_meta {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.qk-product-summary .product_meta span {
    display: block;
    margin-bottom: 10px;
}

/* ===============================
   TABS
================================= */
.qk-product-bottom {
    margin-top: 80px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

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

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: inline-block;
    padding: 14px 22px;
    border-radius: 10px 10px 0 0;
    background: #f7f7f7;
    color: #111;
    font-weight: 600;
    text-decoration: none;
}

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

.woocommerce div.product .woocommerce-tabs .panel {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 0 12px 12px 12px;
    background: #fff;
}

/* ===============================
   RELATED PRODUCTS
================================= */
.related.products {
    margin-top: 70px;
}

.related.products > h2 {
    font-size: 30px;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
    color: #111;
}

.related.products ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 991px) {
    .related.products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .related.products ul.products {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   MOBILE
================================= */
@media (max-width: 991px) {
    .qk-single-product-layout {
        padding: 40px 0;
    }

    .qk-product-top {
        gap: 35px;
    }

    .qk-product-summary .product_title {
        font-size: 30px;
    }

    .qk-product-summary .price {
        font-size: 26px;
    }

    .qk-product-bottom {
        margin-top: 50px;
    }
}

ol.flex-control-nav.flex-control-thumbs {
    display: flex;
    gap: 20px;
    width: 100%;
    flex-wrap: wrap;
    border-radius: 10px;
	margin-top:20px;
	list-style:none;
}
ol.flex-control-nav.flex-control-thumbs li{
    border-radius: 10px;
}
ol.flex-control-nav.flex-control-thumbs li::marker{
	display:none;
}
.qk-product-gallery {
    width: 100%;
}
.qk-product-summary{
	width:100%
}
.qk-product-top {
   display:flex;
}
.qk-single-product-area form.variations_form.cart {
    display: flex !important;
    flex-direction: column !important;
    align-items: start !important;
    justify-content: flex-start !important;
}
.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-disabled,
.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled{
    display: flex;
}
.qk-product-summary .variations th, .qk-product-summary .variations td{
	text-align:left;
}


/* blog page */

section.blog_hero {
    background: linear-gradient(135deg, #253e59, #182d49);
	padding: 120px 20px;
	display:flex;
}
.blog_hero h1 {
    color: #fff;
    font-family: 'Playfair Display', sans-serif;
    font-size: 60px;
    text-align: center;
}
.blog_hero p{
	color: #ffffffb0;
	font-size:18px;
	max-width: 742px;
	text-align:center;
}
.blog-articles {
    display: grid;
    grid-gap: 1rem;
    column-gap: 20px;
    padding-left: 10px;
    row-gap: 40px !important;
	grid-template-columns: repeat(3, 1fr);
	margin: 80px 0px;
}
.new_section_main {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}
.article-card__image img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    object-position: top;
    border-radius: 8px;
}
.card__content {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
p.article-card__excerpt {
    font-size: 15px;
}
.card__heading {
    color: #2d2d2d;
    font-size: 20px;
}
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 35px;
	margin-bottom: 60px;
}
span.page-numbers.current {
    background: #1a304b;
    color: #fff;
    width: 39px;
    border-radius: 2px;
    font-size: 22px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
a.page-numbers{
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Single blog post */
.breadcrumb {
    background-color: #F0F0F0;
}
.bread-new {
    max-width: 1200px;
    margin: 0 auto;
    padding: 7px 20px;
}
.bread-new a {
    color: #828282;
    text-decoration-line: none;
    font-family: "Lato", Sans-serif;
    font-size: 12px;
    font-weight: 400;
}
.breadcrumb .bread-new span {
    text-transform: capitalize;
}
.bread-new span {
    color: #2b2b2b;
    text-decoration-line: none;
    font-family: "Lato", Sans-serif;
    font-size: 12px;
    font-weight: 400;
}
section.single-blog {
    padding: 50px 0px;
}
h1.single-post-title {
    color: #242833;
    margin-bottom: 30px;
}
.post-meta {
    font-family: "Lato", sans-serif;
    font-size: 15px;
    text-transform: capitalize;
}
.post-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 17px;
    margin-top: 30px;
}
.post-content ol.wp-block-list {
    padding-left: 17px;
    gap: 20px;
    display: flex;
    flex-direction: column;
}
/* about page */
.about_container {
    max-width: 896px;
    margin: auto;
    padding: 60px 30px;
}
.journey_content {
    background: #f9f9f9;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    padding: 32px;
    border: 1px solid #dae0e7;
    border-radius: 8px;
}
.what-we-offer,
.promise_content{
	background: #f9f9f9;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    padding: 32px;
    border: 1px solid #dae0e7;
    border-radius: 8px;
	margin-top: 40px;
}
h1.journey_heading,
.heading_offer,
.promise_heading{
    font-size: 24px;
    font-family: 'Playfair Display';
    margin-bottom: 15px;
}
.things_offer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 22px;
}
.things_offer span {
    background: #f3efe7;
    padding: 12px;
    text-align: center;
    color: #243342;
    font-weight: 500;
    border-radius: 6px;
}

/* why choose us  */
h1.choose_heading {
    font-family: 'Playfair Display';
    font-size: 24px;
    margin-bottom: 15px;
}
.choose_div {
    margin-top: 50px;
}
/* FAQ Section */

/* FAQ Section */
.faq-section {
  background: #f9f9f9;
}

.faq-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
}

/* FAQ Item */
.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

/* Question */
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  padding: 18px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Icon */
.faq-icon {
  font-size: 22px;
  transition: transform 0.4s ease;
}

/* Answer (IMPORTANT CHANGE) */
.faq-answer {
  height: 0;
  overflow: hidden;
  transition: height 0.4s ease;
}

.faq-answer p {
  padding-bottom: 15px;
  color: #555;
  font-size: 15px;
}

/* Active */
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}