/*
Theme Name: w3domicile
Theme URI: https://www.w3domicile.com
Author: w3domicile
Author URI: https://www.w3domicile.com
Description: A clean digital product store theme for selling WordPress themes and plugins. Steel blue header, cream product sections, red CTAs. Works with the w3d-store plugin.
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: w3domicile
Tags: e-commerce, custom-logo, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready, blog, right-sidebar, footer-widgets

w3domicile WordPress Theme, Copyright 2025 w3domicile
w3domicile is distributed under the terms of the GNU GPL
*/

/* =========================================================
   SHAKTI COMICS COLOR SYSTEM
   Steel blue header · Cream sections · Red CTAs · Black text
   ========================================================= */
:root {
  --blue:         #4A90C4;
  --blue-dark:    #3A7BB0;
  --blue-light:   #E8F4FC;
  --cream:        #FDF0C4;
  --cream-dark:   #F5E4A0;
  --red:          #D32F2F;
  --red-dark:     #B71C1C;
  --red-light:    #FFEBEE;
  --black:        #111111;
  --dark:         #1A1A1A;
  --gray-dark:    #333333;
  --gray:         #666666;
  --gray-light:   #999999;
  --gray-border:  #DDDDDD;
  --gray-pale:    #F5F5F5;
  --white:        #FFFFFF;
  --font:         'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius:       4px;
  --radius-md:    6px;
  --shadow:       0 2px 8px rgba(0,0,0,0.1);
  --shadow-md:    0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:    0 8px 24px rgba(0,0,0,0.15);
  --transition:   all 0.18s ease;
  --max-w:        1200px;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--red-dark); }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 {
  color: var(--black);
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: break-word;
  word-break: break-word;
}
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.section { padding: 52px 0; }

/* =========================================================
   BUTTONS — Red CTAs like Shakti Comics
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(211,47,47,0.35);
}
.btn-black {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-black:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-blue {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-blue:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--black);
  border-color: var(--gray-border);
}
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); color: var(--white); }
.btn-lg  { padding: 12px 32px; font-size: 1rem; }
.btn-sm  { padding: 6px 14px; font-size: 0.82rem; }
.btn-full { width: 100%; }

/* =========================================================
   TOP INFO BAR (blue — like Shakti Comics)
   ========================================================= */
.top-bar {
  background: var(--blue);
  padding: 8px 0;
  border-bottom: 1px solid var(--blue-dark);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.top-bar-left { display: flex; align-items: center; gap: 24px; }
.top-bar-left a, .top-bar-right a {
  color: rgba(255,255,255,0.9);
  font-size: 0.82rem;
  display: flex; align-items: center; gap: 5px;
  text-decoration: none; transition: var(--transition);
}
.top-bar-left a:hover, .top-bar-right a:hover { color: var(--white); }
.top-bar-right { display: flex; align-items: center; gap: 16px; }

/* =========================================================
   HEADER (blue background — exact Shakti Comics)
   ========================================================= */
.site-header {
  background: var(--blue);
  border-bottom: 2px solid var(--blue-dark);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  height: 60px;
  gap: 20px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.logo-mark span { font-size: 12px; font-weight: 800; color: var(--blue); letter-spacing: -0.5px; }
.logo-text { font-size: 1.1rem; font-weight: 800; color: var(--white); letter-spacing: -0.03em; }
.logo-text em { color: var(--cream); font-style: normal; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo-link img { height: 38px; width: auto; }

/* Search bar (Shakti Comics has a full-width search under nav) */
.header-search {
  flex: 1;
  max-width: 500px;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}
.header-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-family: var(--font);
  color: var(--dark);
  background: transparent;
}
.header-search button {
  background: var(--white);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--gray);
  font-size: 0.9rem;
  transition: var(--transition);
}
.header-search button:hover { color: var(--red); }

/* Nav — horizontal category nav on blue background */
.site-nav { flex: 1; overflow: hidden; }
.site-nav ul {
  display: flex;
  align-items: center;
  margin: 0; padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav ul::-webkit-scrollbar { display: none; }
.site-nav ul li ul { display: none; }
.site-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  white-space: nowrap;
  transition: var(--transition);
  text-decoration: none;
}
.site-nav ul li a:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.site-nav ul li.current-menu-item > a,
.site-nav ul li.current_page_item > a {
  color: var(--white);
  font-weight: 700;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius);
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-cart {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius);
  font-size: 0.84rem; font-weight: 600;
  color: var(--white); text-decoration: none;
  transition: var(--transition);
}
.header-cart:hover { background: rgba(255,255,255,0.25); color: var(--white); }
.cart-count {
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem; font-weight: 700;
  width: 17px; height: 17px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 5px; background: none; border: none;
  cursor: pointer; margin-left: auto;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO SLIDER AREA (Shakti Comics: full-width comic covers)
   ========================================================= */
.site-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  overflow: hidden;
}
.hero-slider {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: stretch;
}
.hero-slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 380px;
}
.hero-slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
  background: var(--cream);
}
.hero-badge-pill {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  width: fit-content;
}
.hero-slide-content h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.08;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero-slide-content p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 24px;
  max-width: 400px;
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-slide-image {
  position: relative;
  overflow: hidden;
  background: var(--gray-pale);
}
.hero-slide-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-slide-image-ph {
  width: 100%; height: 100%; min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  background: var(--gray-pale);
}
.hero-feat-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--red); color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.hero-price-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  padding: 40px 20px 18px;
  color: var(--white);
}
.hero-prod-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.hero-prod-price { display: flex; align-items: baseline; gap: 10px; }
.hero-prod-price del { color: rgba(255,255,255,0.55); font-size: 0.9rem; }
.hero-prod-price strong { font-size: 1.25rem; font-weight: 800; }

/* =========================================================
   CATEGORY PRODUCT SECTIONS (Shakti Comics exact layout)
   ========================================================= */
.cat-section { padding: 44px 0 52px; }
.cat-section:nth-child(odd)  { background: var(--cream); }
.cat-section:nth-child(even) { background: var(--white); }

/* Section header: centered icon + big title + subtitle */
.cat-header {
  text-align: center;
  margin-bottom: 28px;
}
.cat-header-icon {
  width: 60px; height: 60px;
  margin: 0 auto 12px;
  overflow: hidden;
}
.cat-header-icon img { width: 100%; height: 100%; object-fit: contain; }
.cat-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--black);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.cat-header h2 span { color: var(--gray); font-weight: 400; font-size: 0.7em; }
.cat-header p { color: var(--gray); font-size: 0.95rem; }

/* Products row: centered auto-fit grid */
.products-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
}

/* Explore button centered below section */
.cat-explore {
  text-align: center;
  margin-top: 28px;
}

/* =========================================================
   PRODUCT CARDS (Shakti Comics exact style)
   ========================================================= */
.product-card {
  background: var(--white);
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Portrait book-cover ratio — Shakti Comics style */
.product-card-thumb {
  aspect-ratio: 2/3;
  overflow: hidden;
  background: var(--gray-pale);
  position: relative;
}
.product-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover .product-card-thumb img { transform: scale(1.04); }
.product-card-thumb-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  background: var(--gray-pale);
}

/* Badges (New Arrival, Pre Order, New Release) — red label top-left */
.product-card-badge {
  position: absolute;
  top: 0; left: 0;
  background: var(--red);
  color: var(--white);
  font-size: 0.68rem; font-weight: 700;
  padding: 4px 10px;
  border-radius: 0 0 var(--radius) 0;
}
.product-card-badge.badge-green  { background: #2E7D32; }
.product-card-badge.badge-blue   { background: var(--blue); }
.product-card-badge.badge-black  { background: var(--black); }

/* Quick View overlay — Shakti Comics style */
.quick-view-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.95);
  color: var(--black);
  font-size: 0.8rem; font-weight: 700;
  font-family: var(--font);
  padding: 8px 18px;
  border-radius: var(--radius);
  border: none; cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  display: block;
}
.product-card:hover .quick-view-btn { opacity: 1; }

/* Card body */
.product-card-body { padding: 10px 12px 14px; }
.product-card-title {
  font-size: 0.9rem; font-weight: 700;
  color: var(--black);
  line-height: 1.3; margin-bottom: 6px;
}
.product-card-title a { color: var(--black); }
.product-card-title a:hover { color: var(--red); }

/* Price — exact Shakti Comics: strikethrough + red sale */
.product-card-price {
  display: flex; align-items: baseline;
  gap: 8px; margin-bottom: 10px;
}
.product-card-price del {
  font-size: 0.82rem; color: var(--gray-light); font-weight: 400;
}
.product-card-price .price-current {
  font-size: 0.95rem; font-weight: 700; color: var(--red);
}
.product-card-price .price-only {
  font-size: 0.95rem; font-weight: 700; color: var(--black);
}
.product-card-price .price-free {
  font-size: 0.95rem; font-weight: 700; color: #2E7D32;
}

/* Full-width red Add to Cart / Pre-Order / Download button */
.product-card-btn {
  display: block; width: 100%;
  background: var(--red); color: var(--white);
  border: none; border-radius: var(--radius);
  padding: 9px 12px;
  font-size: 0.84rem; font-weight: 700;
  font-family: var(--font);
  text-align: center; text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
}
.product-card-btn:hover { background: var(--red-dark); color: var(--white); }
.product-card-btn.btn-black-fill {
  background: var(--black);
}
.product-card-btn.btn-black-fill:hover { background: var(--dark); }

/* =========================================================
   WHY SECTION
   ========================================================= */
.why-section {
  background: var(--blue);
  padding: 52px 0;
}
.why-section h2 { color: var(--white); text-align: center; margin-bottom: 32px; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.why-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  transition: var(--transition);
  text-align: center;
}
.why-card:hover { background: rgba(255,255,255,0.18); }
.why-icon { font-size: 1.8rem; margin-bottom: 10px; }
.why-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.why-card p  { font-size: 0.8rem; color: rgba(255,255,255,0.75); line-height: 1.55; margin: 0; }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner { background: var(--red); padding: 52px 0; text-align: center; }
.cta-banner h2 { color: var(--white); margin-bottom: 10px; }
.cta-banner p  { color: rgba(255,255,255,0.88); font-size: 1rem; margin-bottom: 24px; }
.cta-actions   { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =========================================================
   ABOUT SECTION (cream + sketch background like Shakti Comics)
   ========================================================= */
.about-banner {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}
.about-banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.15;
}
.about-content {
  position: relative; z-index: 1;
  max-width: 680px;
}
.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 20px; }
.about-content p { color: var(--gray-dark); line-height: 1.8; margin-bottom: 24px; font-size: 1rem; }
.about-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   BLOG
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 20px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--gray-pale); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.04); }
.blog-thumb-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; background: var(--gray-pale); }
.blog-body { padding: 16px 18px 18px; }
.blog-cat { font-size: 0.7rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; display: block; }
.blog-title { font-size: 0.94rem; font-weight: 700; line-height: 1.35; margin-bottom: 6px; }
.blog-title a { color: var(--black); }
.blog-title a:hover { color: var(--red); }
.blog-exc { font-size: 0.82rem; color: var(--gray); line-height: 1.55; margin-bottom: 10px; }
.blog-meta { font-size: 0.76rem; color: var(--gray-light); display: flex; gap: 12px; padding-top: 10px; border-top: 1px solid var(--gray-border); }

/* =========================================================
   PAGE BANNER (inner pages — blue like Shakti Comics)
   ========================================================= */
.page-banner {
  background: var(--blue);
  padding: 44px 0;
  text-align: center;
}
.page-banner h1 { color: var(--white); margin-bottom: 8px; }
.page-banner p  { color: rgba(255,255,255,0.8); font-size: 0.95rem; margin: 0; }

/* =========================================================
   CONTENT + SIDEBAR
   ========================================================= */
.content-layout { display: grid; grid-template-columns: 1fr 270px; gap: 40px; align-items: start; }
.post-content { line-height: 1.82; color: var(--dark); }
.post-content h2, .post-content h3 { margin: 1.75rem 0 0.65rem; }
.post-content p  { margin-bottom: 1.1rem; }
.post-content ul, .post-content ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.post-content li { margin-bottom: 0.35rem; }
.post-content a  { color: var(--red); }
.post-content blockquote { border-left: 3px solid var(--red); padding: 12px 18px; background: var(--red-light); border-radius: 0 var(--radius-md) var(--radius-md) 0; margin: 1.4rem 0; font-style: italic; }
.post-content img { border-radius: var(--radius-md); margin: 1rem 0; }
.post-content code { background: var(--gray-pale); border: 1px solid var(--gray-border); border-radius: 3px; padding: 2px 6px; font-size: 0.87em; }
.post-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.8rem; color: var(--gray-light); padding-bottom: 14px; border-bottom: 1px solid var(--gray-border); margin-bottom: 22px; }
.post-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.widget { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius-md); padding: 18px; margin-bottom: 18px; }
.widget-title { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--black); margin-bottom: 12px; padding-bottom: 9px; border-bottom: 2px solid var(--cream); }

/* =========================================================
   PRICING
   ========================================================= */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 22px; }
.pricing-card { background: var(--white); border: 1px solid var(--gray-border); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.pricing-card.featured { border: 2px solid var(--red); }
.pricing-card-top { background: var(--red); padding: 7px; text-align: center; font-size: 0.76rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 0.07em; }
.pricing-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.pricing-card-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 5px; }
.pricing-card-desc { font-size: 0.84rem; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.pricing-price { margin-bottom: 16px; }
.pricing-price .amount { font-size: 2rem; font-weight: 800; color: var(--black); letter-spacing: -0.04em; line-height: 1; }
.pricing-price .amount.free { color: #2E7D32; }
.pricing-price .was { font-size: 0.84rem; color: var(--gray-light); text-decoration: line-through; display: block; margin-bottom: 2px; }
.pricing-price .note { font-size: 0.74rem; color: var(--gray-light); margin-top: 4px; display: block; }
.pricing-features { list-style: none; margin-bottom: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 8px; font-size: 0.84rem; }
.pricing-features li::before { content: '✓'; color: #2E7D32; font-weight: 700; flex-shrink: 0; }
.pricing-features li.off { color: var(--gray-light); }
.pricing-features li.off::before { content: '—'; color: var(--gray-light); }
.pricing-btn { display: flex; flex-direction: column; gap: 8px; }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { max-width: 720px; }
.faq-item { border: 1px solid var(--gray-border); border-radius: var(--radius-md); margin-bottom: 8px; overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 14px 18px; background: var(--white); border: none; font-family: var(--font); font-size: 0.9rem; font-weight: 600; color: var(--black); cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; transition: var(--transition); }
.faq-question:hover { background: var(--cream); }
.faq-question[aria-expanded="true"] { background: var(--blue-light); color: var(--blue-dark); }
.faq-icon { font-size: 1.1rem; flex-shrink: 0; transition: transform 0.2s ease; }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 18px 14px; font-size: 0.86rem; color: var(--gray); line-height: 1.7; }
.faq-answer.open { display: block; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-info-card { display: flex; align-items: flex-start; gap: 14px; padding: 14px; background: var(--cream); border: 1px solid var(--cream-dark); border-radius: var(--radius-md); margin-bottom: 12px; }
.contact-info-icon { font-size: 1.3rem; flex-shrink: 0; }
.contact-info-card h4 { font-size: 0.86rem; margin-bottom: 3px; }
.contact-info-card p { font-size: 0.83rem; color: var(--gray); margin: 0; }
.contact-info-card a { color: var(--red); }
.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea,
.wpforms-field input,
.wpforms-field textarea {
  width: 100%; padding: 10px 13px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  font-family: var(--font); font-size: 0.88rem;
  color: var(--dark); background: var(--white);
  transition: border-color 0.15s ease;
  display: block; margin-bottom: 12px;
}
.contact-form-wrap input:focus, .contact-form-wrap textarea:focus,
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(211,47,47,0.08); }
.contact-form-wrap textarea, .wpcf7 textarea { height: 120px; resize: vertical; }
.wpcf7-submit, .wpforms-submit { background: var(--red) !important; color: var(--white) !important; border: none !important; border-radius: var(--radius) !important; padding: 11px 24px !important; font-family: var(--font) !important; font-size: 0.9rem !important; font-weight: 700 !important; cursor: pointer !important; transition: var(--transition) !important; }
.wpcf7-submit:hover, .wpforms-submit:hover { background: var(--red-dark) !important; }

/* =========================================================
   FOOTER (blue — exact Shakti Comics)
   ========================================================= */
.site-footer { background: var(--blue); padding: 44px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.15); }
.footer-logo-wrap { margin-bottom: 12px; }
.footer-logo-wrap .logo-text { color: var(--white); }
.footer-logo-wrap .logo-text em { color: var(--cream); }
.footer-desc { color: rgba(255,255,255,0.75); font-size: 0.84rem; line-height: 1.7; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85); font-size: 0.8rem;
  text-decoration: none; font-weight: 700;
  transition: var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,0.3); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.75); font-size: 0.84rem; text-decoration: none; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 16px 0; font-size: 0.8rem; color: rgba(255,255,255,0.6); }
.footer-bottom a { color: rgba(255,255,255,0.65); }
.footer-bottom a:hover { color: var(--white); }
.footer-legal { display: flex; gap: 14px; }

/* =========================================================
   FILTER BAR (Themes page)
   ========================================================= */
.filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-border);
  padding: 16px 0;
  position: sticky;
  top: 62px;
  z-index: 100;
}
.filter-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.product-sort-wrap { display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--gray); }
.product-sort-select {
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  padding: 6px 10px;
  font-size: 0.84rem;
  font-family: var(--font);
  color: var(--gray-dark);
  background: var(--white);
  cursor: pointer;
}
.no-results-msg { display: none; text-align: center; padding: 40px 0; color: var(--gray); }
.empty-state { text-align: center; padding: 80px 0; }
.empty-state-icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h2 { margin-bottom: 12px; }
.empty-state p { color: var(--gray); }

/* Hero stats + featured link */
.hero-stats {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.hero-stat strong {
  display: block; font-size: 1.5rem; font-weight: 800;
  color: var(--black); line-height: 1; letter-spacing: -0.03em;
}
.hero-stat span { display: block; font-size: 0.76rem; color: var(--gray); margin-top: 3px; }
.hero-feat-link {
  display: block; position: relative; width: 100%; height: 100%;
  color: inherit; text-decoration: none;
}
.hero-feat-link img {
  width: 100%; height: 100%; min-height: 380px;
  object-fit: cover; object-position: top center;
  display: block;
}

/* Pricing page extras */
.pricing-card-thumb { aspect-ratio: 16/9; overflow: hidden; }
.pricing-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pricing-card-cat {
  font-size: 0.68rem; font-weight: 700; color: var(--red);
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 5px;
}
.pricing-guarantee {
  background: var(--cream); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); padding: 36px 40px;
  text-align: center; max-width: 680px; margin: 48px auto 0;
}
.pricing-guarantee h2 { font-size: 1.3rem; margin-bottom: 10px; }
.pricing-guarantee p { color: var(--gray); line-height: 1.75; margin-bottom: 20px; }
.pricing-guarantee-badges {
  display: flex; gap: 20px; justify-content: center;
  flex-wrap: wrap; font-size: 0.86rem; font-weight: 600; color: var(--gray-dark);
}

/* Page layout grids */
.stats-grid-4 {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; text-align: center;
}
.info-cards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-bottom: 48px;
}
.products-row-3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 280px));
  justify-content: center;
}

/* =========================================================
   REQUIRED WORDPRESS CSS
   ========================================================= */
.screen-reader-text { border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;word-wrap:normal!important }
.screen-reader-text:focus { background:#f1f1f1;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;clip-path:none;color:#21759b;display:block;font-size:.875rem;font-weight:700;height:auto;left:5px;top:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;width:auto;z-index:100000 }
.alignleft  { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { clear: both; display: block; margin: 0 auto 1em; }
.alignwide  { margin-left: -60px; margin-right: -60px; }
.alignfull  { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 0.8rem; color: var(--gray); text-align: center; margin-top: 4px; }
.sticky { border-left: 3px solid var(--red); padding-left: 14px; }
.page-links { margin-top: 16px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; font-size: 0.84rem; }
.page-links a { background: var(--red-light); color: var(--red); padding: 3px 10px; border-radius: var(--radius); font-weight: 600; }
.nav-links { display: flex; gap: 8px; margin-top: 28px; }
.nav-links a { padding: 7px 16px; border: 1px solid var(--gray-border); border-radius: var(--radius); font-size: 0.84rem; font-weight: 600; color: var(--dark); transition: var(--transition); }
.nav-links a:hover { border-color: var(--red); color: var(--red); }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.post-tag { background: var(--gray-pale); color: var(--dark); padding: 3px 10px; border-radius: 12px; font-size: 0.74rem; font-weight: 600; text-decoration: none; }
.post-tag:hover { background: var(--red-light); color: var(--red); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-slide { grid-template-columns: 1fr; }
  .hero-slide-image { min-height: 280px; max-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .content-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .top-bar { display: none; }
  .header-search { display: none; }
  .stats-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .info-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .products-row-3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .site-nav {
    display: none; position: fixed;
    top: 60px; left: 0; right: 0; bottom: 0;
    background: var(--blue); padding: 16px;
    z-index: 150; overflow-y: auto;
    border-top: 1px solid var(--blue-dark);
  }
  .site-nav.open { display: flex; flex-direction: column; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav ul li a { padding: 11px 12px; font-size: 0.95rem; border-radius: var(--radius); }
  .hamburger { display: flex; }
  .header-actions .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
  .products-row { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .products-row { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .products-row-3 { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid-4 { grid-template-columns: 1fr 1fr; }
  .info-cards-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
}
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* =========================================================
   SINGLE PRODUCT PAGE
   ========================================================= */
@media (max-width: 900px) {
	.single-w3d_product .container > div[style*="grid-template-columns:1fr 300px"] {
		grid-template-columns: 1fr !important;
	}
	.single-w3d_product aside[style*="sticky"] {
		position: static !important;
	}
}
.single-w3d_product .post-content h2 {
	font-size: 1.25rem;
	margin: 1.5rem 0 0.6rem;
	color: var(--black);
	border-bottom: 2px solid var(--cream);
	padding-bottom: 6px;
}
.single-w3d_product .post-content h3 {
	font-size: 1rem;
	margin: 1.2rem 0 0.5rem;
	color: var(--black);
}
.single-w3d_product .post-content p {
	color: var(--gray-dark);
	line-height: 1.75;
	margin-bottom: 1rem;
}
.single-w3d_product .post-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0;
}
.single-w3d_product .post-content table th,
.single-w3d_product .post-content table td {
	padding: 8px 12px;
	border: 1px solid var(--gray-border);
	font-size: 0.86rem;
}
.single-w3d_product .post-content table th {
	background: var(--black);
	color: var(--white);
	font-weight: 600;
}
.single-w3d_product .post-content table tr:nth-child(even) td {
	background: var(--gray-pale);
}
