/**
 * Shopora Theme - Main CSS
 * Core design system for the Shopora WordPress e-commerce theme.
 *
 * @package Shopora
 * @version 1.0.0
 */

/* ==========================================================================
   1. CSS Variables
   ========================================================================== */

:root {
  --shopora-primary: #E85D04;
  --shopora-primary-hover: #DC4C00;
  --shopora-primary-light: #FFF0E6;
  --shopora-secondary: #1A1A2E;
  --shopora-secondary-light: #333355;
  --shopora-accent: #FFB703;
  --shopora-accent-light: #FFF3D6;
  --shopora-bg: #FFFFFF;
  --shopora-surface: #F8F9FA;
  --shopora-surface-alt: #F0F1F3;
  --shopora-text: #1A1A2E;
  --shopora-text-light: #6B7280;
  --shopora-text-inverse: #FFFFFF;
  --shopora-heading: #1A1A2E;
  --shopora-border: #E5E7EB;
  --shopora-success: #16A34A;
  --shopora-error: #DC2626;
  --shopora-warning: #F59E0B;
  --shopora-info: #2563EB;
  --shopora-sale: #DC2626;
  --shopora-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shopora-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shopora-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shopora-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shopora-radius-sm: 4px;
  --shopora-radius-md: 8px;
  --shopora-radius-lg: 12px;
  --shopora-radius-xl: 16px;
  --shopora-radius-full: 9999px;
  --shopora-container: 1320px;
  --shopora-header-height: 72px;
  --shopora-announcement-height: 40px;
  --shopora-transition: all 0.3s ease;
}

/* ==========================================================================
   2. Base / Reset
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--shopora-text);
  background-color: var(--shopora-bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--shopora-transition);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select,
button {
  font-size: inherit;
}

hr {
  border: none;
  border-top: 1px solid var(--shopora-border);
  margin: 0;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5em;
  color: var(--shopora-heading);
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
}

h5 {
  font-size: 1.1rem;
  font-weight: 600;
}

h6 {
  font-size: 1rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

strong,
b {
  font-weight: 600;
}

em,
i {
  font-style: italic;
}

small {
  font-size: 0.875em;
}

/* Text utility classes */
.text-center {
  text-align: center;
}

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

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--shopora-primary);
}

.text-secondary {
  color: var(--shopora-secondary);
}

.text-light {
  color: var(--shopora-text-light);
}

.text-inverse {
  color: var(--shopora-text-inverse);
}

.text-success {
  color: var(--shopora-success);
}

.text-error {
  color: var(--shopora-error);
}

.text-warning {
  color: var(--shopora-warning);
}

.text-accent {
  color: var(--shopora-accent);
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.shopora-container,
.wp-block-group[style*="contentSize"] {
  max-width: var(--shopora-container);
  margin-left: auto;
  margin-right: auto;
}

.shopora-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.shopora-section--sm {
  padding-top: 48px;
  padding-bottom: 48px;
}

.shopora-section--lg {
  padding-top: 120px;
  padding-bottom: 120px;
}

.shopora-section--alt {
  background-color: var(--shopora-surface);
}

/* WordPress block group sections */
.wp-block-group.shopora-hero,
.wp-block-group.shopora-featured-products,
.wp-block-group.shopora-best-sellers,
.wp-block-group.shopora-newsletter,
.wp-block-group.shopora-testimonials {
  width: 100%;
}

/* WordPress columns */
.wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.wp-block-column {
  flex: 1;
  min-width: 0;
}

/* Grid utilities */
.shopora-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.shopora-grid-auto {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* ==========================================================================
   5. Buttons
   ========================================================================== */

/* WordPress block buttons */
.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wp-block-button {
  margin: 0;
}

.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  border: 2px solid transparent;
  border-radius: var(--shopora-radius-md);
  cursor: pointer;
  transition: var(--shopora-transition);
  text-decoration: none;
  white-space: nowrap;
}

/* Primary button (filled) */
.wp-block-button.is-style-fill .wp-block-button__link,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
  border-color: var(--shopora-primary);
}

.wp-block-button.is-style-fill .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background-color: var(--shopora-primary-hover);
  border-color: var(--shopora-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.35);
}

/* Outline button */
.wp-block-button.is-style-outline .wp-block-button__link {
  background-color: transparent;
  color: var(--shopora-primary);
  border-color: var(--shopora-primary);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.35);
}

/* Button focus state */
.wp-block-button__link:focus-visible {
  outline: 2px solid var(--shopora-primary);
  outline-offset: 2px;
}

/* Button sizes */
.wp-block-button__link.has-small-font-size {
  padding: 8px 20px;
  font-size: 0.8125rem;
}

.wp-block-button__link.has-large-font-size {
  padding: 16px 36px;
  font-size: 1.0625rem;
}

/* Pill / rounded buttons */
.wp-block-button[style*="radius: 50px"] .wp-block-button__link,
.wp-block-button[style*="radius:9999"] .wp-block-button__link {
  border-radius: var(--shopora-radius-full);
}

/* Disabled state */
.wp-block-button__link:disabled,
.wp-block-button__link[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ==========================================================================
   6. Forms
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
textarea,
select {
  width: 100%;
  padding: 12px 16px;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--shopora-text);
  background-color: var(--shopora-bg);
  border: 1px solid var(--shopora-border);
  border-radius: var(--shopora-radius-md);
  transition: var(--shopora-transition);
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--shopora-primary);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
}

input::placeholder,
textarea::placeholder {
  color: var(--shopora-text-light);
  opacity: 1;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Checkbox and radio */
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--shopora-primary);
  cursor: pointer;
  margin: 0 8px 0 0;
  vertical-align: middle;
}

/* Search input */
.search-input {
  position: relative;
}

.search-input input[type="search"] {
  padding-left: 44px;
  padding-right: 44px;
  border-radius: var(--shopora-radius-full);
  background-color: var(--shopora-surface);
}

/* Labels */
label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--shopora-text);
}

/* Form rows */
.shopora-form-row {
  margin-bottom: 20px;
}

.shopora-form-row:last-child {
  margin-bottom: 0;
}

/* Validation */
input.error,
textarea.error,
select.error {
  border-color: var(--shopora-error);
}

.shopora-form-error {
  color: var(--shopora-error);
  font-size: 0.8125rem;
  margin-top: 4px;
}

/* ==========================================================================
   7. Announcement Bar
   ========================================================================== */

.announcement-bar {
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1;
  position: relative;
  z-index: 100;
}

.announcement-bar p {
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.announcement-bar strong {
  font-weight: 700;
}

.announcement-bar.is-hidden {
  display: none;
}

/* ==========================================================================
   8. Header
   ========================================================================== */

.site-header {
  position: relative;
  z-index: 1000;
}

/* Top bar */
.top-bar {
  font-size: 0.8125rem;
  line-height: 1;
}

.top-bar p {
  margin: 0;
  padding: 0;
}

.top-bar-separator {
  opacity: 0.3;
}

/* Main header */
.main-header {
  background-color: var(--shopora-bg);
  position: relative;
  z-index: 999;
}

.site-header.is-sticky .main-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shopora-shadow-sm);
}

/* Logo */
.site-logo-wrapper img,
.site-logo-wrapper .wp-site-blocks {
  max-height: 40px;
  width: auto;
}

/* Desktop navigation */
.desktop-navigation .main-navigation {
  margin-left: 32px;
}

.desktop-navigation .main-navigation a {
  display: inline-block;
  padding: 8px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--shopora-text);
  position: relative;
  transition: var(--shopora-transition);
}

.desktop-navigation .main-navigation a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--shopora-primary);
  transition: width 0.3s ease;
}

.desktop-navigation .main-navigation a:hover {
  color: var(--shopora-primary);
}

.desktop-navigation .main-navigation a:hover::after,
.desktop-navigation .main-navigation a.active::after {
  width: 100%;
}

/* Navigation submenu */
.desktop-navigation .wp-block-navigation-submenu {
  position: relative;
}

.desktop-navigation .wp-block-navigation-submenu__toggle {
  background: none;
  border: none;
  padding: 8px 0;
  font-size: 0.93775rem;
  font-weight: 500;
  color: var(--shopora-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--shopora-transition);
}

.desktop-navigation .wp-block-navigation-submenu__toggle:hover {
  color: var(--shopora-primary);
}

.desktop-navigation .wp-block-navigation-submenu__toggle svg {
  transition: transform 0.3s ease;
}

.desktop-navigation .wp-block-navigation-submenu.open .wp-block-navigation-submenu__toggle svg {
  transform: rotate(180deg);
}

.desktop-navigation .wp-block-navigation__submenu-container {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background-color: var(--shopora-bg);
  border: 1px solid var(--shopora-border);
  border-radius: var(--shopora-radius-md);
  box-shadow: var(--shopora-shadow-lg);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.desktop-navigation .wp-block-navigation-submenu:hover .wp-block-navigation__submenu-container,
.desktop-navigation .wp-block-navigation-submenu.open .wp-block-navigation__submenu-container {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.desktop-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item a {
  display: block;
  padding: 8px 20px;
  font-size: 0.875rem;
  color: var(--shopora-text);
}

.desktop-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item a::after {
  display: none;
}

.desktop-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item a:hover {
  background-color: var(--shopora-surface);
  color: var(--shopora-primary);
}

/* Header actions */
.header-actions {
  gap: 4px;
}

.header-actions a,
.header-actions button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--shopora-radius-full);
  transition: var(--shopora-transition);
  background: none;
  border: none;
  color: var(--shopora-text);
  cursor: pointer;
}

.header-actions a:hover,
.header-actions button:hover {
  background-color: var(--shopora-surface);
  color: var(--shopora-primary);
}

.header-actions a:focus-visible,
.header-actions button:focus-visible {
  outline: 2px solid var(--shopora-primary);
  outline-offset: 2px;
}

/* Cart badge */
.cart-count,
.mobile-cart-count {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: var(--shopora-radius-full);
  padding: 0 5px;
  line-height: 1;
  pointer-events: none;
}

.header-cart,
.mobile-cart-btn {
  position: relative;
}

/* Search overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.search-overlay-content {
  width: 100%;
  max-width: 600px;
  background-color: var(--shopora-bg);
  border-radius: var(--shopora-radius-lg);
  box-shadow: var(--shopora-shadow-xl);
  padding: 32px;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.search-overlay.is-active .search-overlay-content {
  transform: translateY(0);
}

/* Mobile header */
.mobile-header {
  display: none;
  background-color: var(--shopora-bg);
}

.mobile-header-left,
.mobile-header-right {
  gap: 8px;
  align-items: center;
}

.mobile-menu-btn-mobile button,
.mobile-search-btn button,
.mobile-cart-btn a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--shopora-text);
}

.mobile-logo img {
  max-height: 32px;
  width: auto;
}

/* Mobile cart count */
.mobile-cart-btn {
  position: relative;
}

.mobile-cart-count {
  position: absolute;
  top: 0;
  right: -4px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: var(--shopora-radius-full);
  padding: 0 4px;
  line-height: 1;
  pointer-events: none;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background-color: var(--shopora-bg);
  z-index: 2001;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 24px;
  box-shadow: var(--shopora-shadow-xl);
}

.mobile-menu-panel.is-open {
  transform: translateX(0);
}

.mobile-menu-panel .wp-block-navigation-item a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--shopora-text);
  border-bottom: 1px solid var(--shopora-border);
}

.mobile-menu-panel .wp-block-navigation-item a:hover {
  color: var(--shopora-primary);
}

.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--shopora-text);
}

/* Mobile search overlay */
.mobile-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-search-overlay .search-overlay-content {
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  min-height: 100vh;
}

/* ==========================================================================
   9. Footer
   ========================================================================== */

.site-footer {
  background-color: var(--shopora-secondary);
  color: var(--shopora-text-inverse);
}

/* Newsletter section */
.newsletter-section {
  border-bottom: 1px solid var(--shopora-secondary-light);
}

.newsletter-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--shopora-text-inverse);
}

.newsletter-section p {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form {
  display: flex;
  gap: 12px;
  align-items: center;
}

.newsletter-input {
  width: 100%;
  max-width: 340px;
  padding: 12px 16px;
  background-color: var(--shopora-bg);
  color: var(--shopora-text);
  border: none;
  border-radius: var(--shopora-radius-md);
  font-size: 0.875rem;
  transition: var(--shopora-transition);
}

.newsletter-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.25);
}

.newsletter-submit {
  padding: 12px 24px;
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
  border: none;
  border-radius: var(--shopora-radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--shopora-transition);
  white-space: nowrap;
}

.newsletter-submit:hover {
  background-color: var(--shopora-primary-hover);
  transform: translateY(-1px);
}

/* Main footer */
.main-footer h4 {
  color: var(--shopora-text-inverse);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.main-footer p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  transition: var(--shopora-transition);
}

.footer-links a:hover {
  color: var(--shopora-primary);
  padding-left: 4px;
}

/* Contact info in footer */
.contact-info-list p {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  line-height: 1.6;
}

.contact-info-list p:last-child {
  margin-bottom: 0;
}

.contact-info-list svg {
  flex-shrink: 0;
  margin-right: 8px;
  margin-top: 3px;
}

/* Social icons */
.about-social {
  gap: 16px;
}

.about-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--shopora-radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  transition: var(--shopora-transition);
}

.about-social a:hover {
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
}

/* Footer bottom */
.footer-bottom {
  background-color: var(--shopora-secondary);
}

.payment-methods {
  gap: 12px;
  align-items: center;
}

.payment-methods p {
  margin: 0;
  font-size: 0.8125rem;
}

.payment-icon svg {
  display: inline-block;
  vertical-align: middle;
  border-radius: var(--shopora-radius-sm);
}

.footer-copyright {
  gap: 12px;
  align-items: center;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-copyright a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-copyright a:hover {
  color: var(--shopora-primary);
}

.footer-copyright-separator {
  opacity: 0.3;
}

/* ==========================================================================
   10. Product Cards (Pattern-based)
   ========================================================================== */

.shopora-product-card {
  background-color: var(--shopora-bg);
  border: 1px solid var(--shopora-border);
  border-radius: var(--shopora-radius-xl);
  overflow: hidden;
  transition: var(--shopora-transition);
  position: relative;
}

.shopora-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shopora-shadow-lg);
}

.shopora-product-image {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.shopora-product-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Product badge */
.shopora-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--shopora-radius-sm);
  z-index: 2;
}

.shopora-badge--sale {
  background-color: var(--shopora-sale);
  color: var(--shopora-text-inverse);
}

.shopora-badge--new {
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
}

.shopora-badge--out-of-stock {
  background-color: var(--shopora-text);
  color: var(--shopora-text-inverse);
}

.shopora-badge--hot {
  background-color: var(--shopora-accent);
  color: var(--shopora-text);
}

/* Product price */
.shopora-price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.shopora-price__current {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--shopora-primary);
}

.shopora-price__regular {
  font-size: 0.9375rem;
  color: var(--shopora-text-light);
}

.shopora-price__sale {
  font-size: 0.9375rem;
  color: var(--shopora-text-light);
  text-decoration: line-through;
}

/* Star rating */
.shopora-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  color: var(--shopora-accent);
}

.shopora-rating__count {
  color: var(--shopora-text-light);
  font-size: 0.75rem;
}

/* Add to cart button overlay */
.shopora-product-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  display: flex;
  gap: 8px;
  justify-content: center;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.5));
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.shopora-product-card:hover .shopora-product-actions {
  transform: translateY(0);
}

.shopora-product-actions button,
.shopora-product-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--shopora-radius-full);
  background-color: var(--shopora-bg);
  color: var(--shopora-text);
  border: none;
  cursor: pointer;
  transition: var(--shopora-transition);
  box-shadow: var(--shopora-shadow-sm);
}

.shopora-product-actions button:hover,
.shopora-product-actions a:hover {
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
}

/* Wishlist heart icon */
.shopora-wishlist-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.shopora-wishlist-btn button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--shopora-radius-full);
  background-color: var(--shopora-bg);
  color: var(--shopora-text-light);
  border: none;
  cursor: pointer;
  transition: var(--shopora-transition);
  box-shadow: var(--shopora-shadow-sm);
}

.shopora-wishlist-btn button:hover {
  color: var(--shopora-sale);
}

.shopora-wishlist-btn button.is-active {
  color: var(--shopora-sale);
}

.shopora-wishlist-btn button.is-active svg {
  fill: var(--shopora-sale);
}

/* Quick view button */
.shopora-quickview-btn {
  position: absolute;
  top: 12px;
  right: 56px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--shopora-radius-full);
  background-color: var(--shopora-bg);
  color: var(--shopora-text-light);
  border: none;
  cursor: pointer;
  transition: var(--shopora-transition);
  box-shadow: var(--shopora-shadow-sm);
  opacity: 0;
  visibility: hidden;
}

.shopora-product-card:hover .shopora-quickview-btn {
  opacity: 1;
  visibility: visible;
}

.shopora-quickview-btn:hover {
  color: var(--shopora-primary);
}

/* ==========================================================================
   11. WooCommerce
   ========================================================================== */

/* ----- Product Archive / Shop Grid ----- */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--shopora-heading);
  margin: 12px 0 4px;
  padding: 0;
}

.woocommerce ul.products li.product .price {
  color: var(--shopora-primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.woocommerce ul.products li.product .price del {
  color: var(--shopora-text-light);
  font-weight: 400;
  font-size: 0.875rem;
  opacity: 0.6;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  margin-top: 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--shopora-primary);
  background-color: var(--shopora-primary-light);
  border: 1px solid var(--shopora-primary);
  border-radius: var(--shopora-radius-md);
  cursor: pointer;
  transition: var(--shopora-transition);
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
}

.woocommerce ul.products li.product .button:focus-visible,
.woocommerce ul.products li.product .add_to_cart_button:focus-visible {
  outline: 2px solid var(--shopora-primary);
  outline-offset: 2px;
}

/* Sale badge */
.woocommerce span.onsale,
span.onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  min-width: auto;
  min-height: auto;
  width: auto;
  height: auto;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: var(--shopora-text-inverse);
  background-color: var(--shopora-sale);
  border-radius: var(--shopora-radius-sm);
  z-index: 2;
}

/* Star rating (WooCommerce) */
.woocommerce .star-rating {
  color: var(--shopora-accent);
  font-size: 0.875rem;
}

.woocommerce .star-rating::before {
  color: var(--shopora-border);
}

/* Stock status */
.woocommerce .stock {
  font-size: 0.8125rem;
  font-weight: 500;
}

.woocommerce .in-stock {
  color: var(--shopora-success);
}

.woocommerce .out-of-stock {
  color: var(--shopora-error);
}

/* ----- Single Product ----- */
.woocommerce div.product {
  margin-bottom: 60px;
}

.woocommerce div.product div.images {
  border-radius: var(--shopora-radius-lg);
  overflow: hidden;
}

.woocommerce div.product div.images img {
  border-radius: var(--shopora-radius-md);
}

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

.woocommerce div.product .woocommerce-product-gallery__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--shopora-bg);
  border-radius: var(--shopora-radius-full);
  box-shadow: var(--shopora-shadow-md);
  right: 16px;
  bottom: 16px;
}

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

.woocommerce div.product .product_title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--shopora-heading);
  margin-bottom: 8px;
  line-height: 1.2;
}

.woocommerce div.product p.price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--shopora-primary);
  margin-bottom: 16px;
}

.woocommerce div.product p.price del {
  color: var(--shopora-text-light);
  font-weight: 400;
  font-size: 1.25rem;
  opacity: 0.5;
}

.woocommerce div.product p.price ins {
  text-decoration: none;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--shopora-text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--shopora-border);
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

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

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: inline-block;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--shopora-text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--shopora-transition);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--shopora-primary);
  border-bottom-color: var(--shopora-primary);
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after {
  display: none;
}

.woocommerce div.product .woocommerce-tabs .panel {
  margin: 0;
  padding: 0 0 24px;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* Product variations / radios */
.woocommerce table.variations {
  border: none;
  margin: 0;
  width: 100%;
}

.woocommerce table.variations td,
.woocommerce table.variations th {
  padding: 0 12px 16px 0;
  border: none;
  vertical-align: top;
}

.woocommerce table.variations label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.woocommerce table.variations select {
  width: auto;
  min-width: 160px;
  padding: 10px 36px 10px 14px;
  border: 1px solid var(--shopora-border);
  border-radius: var(--shopora-radius-md);
  font-size: 0.875rem;
  background-color: var(--shopora-bg);
}

.woocommerce table.variations select:focus {
  border-color: var(--shopora-primary);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
  outline: none;
}

/* Radio variations (swatches) */
.woocommerce table.variations .shopora-swatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 2px solid var(--shopora-border);
  border-radius: var(--shopora-radius-md);
  font-size: 0.8125rem;
  cursor: pointer;
  transition: var(--shopora-transition);
  margin-right: 8px;
  margin-bottom: 8px;
}

.woocommerce table.variations .shopora-swatch:hover {
  border-color: var(--shopora-primary);
}

.woocommerce table.variations .shopora-swatch.selected,
.woocommerce table.variations input[type="radio"]:checked + .shopora-swatch {
  border-color: var(--shopora-primary);
  background-color: var(--shopora-primary-light);
  color: var(--shopora-primary);
  font-weight: 600;
}

/* Quantity input */
.woocommerce .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--shopora-border);
  border-radius: var(--shopora-radius-md);
  overflow: hidden;
}

.woocommerce .quantity .qty {
  width: 52px;
  height: 44px;
  text-align: center;
  border: none;
  background-color: var(--shopora-bg);
  font-size: 0.9375rem;
  font-weight: 500;
  -moz-appearance: textfield;
}

.woocommerce .quantity .qty::-webkit-inner-spin-button,
.woocommerce .quantity .qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.woocommerce .quantity .plus,
.woocommerce .quantity .minus {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  background-color: var(--shopora-surface);
  border: none;
  cursor: pointer;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--shopora-text);
  transition: var(--shopora-transition);
}

.woocommerce .quantity .plus:hover,
.woocommerce .quantity .minus:hover {
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
}

/* Single product add to cart */
.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.woocommerce div.product form.cart .single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--shopora-text-inverse);
  background-color: var(--shopora-primary);
  border: 2px solid var(--shopora-primary);
  border-radius: var(--shopora-radius-md);
  cursor: pointer;
  transition: var(--shopora-transition);
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover {
  background-color: var(--shopora-primary-hover);
  border-color: var(--shopora-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.35);
}

.woocommerce div.product form.cart .single_add_to_cart_button:focus-visible {
  outline: 2px solid var(--shopora-primary);
  outline-offset: 2px;
}

/* ----- Cart Table ----- */
.woocommerce-cart table.cart {
  border-collapse: collapse;
  width: 100%;
}

.woocommerce-cart table.cart th {
  padding: 14px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--shopora-text-light);
  background-color: var(--shopora-surface);
  border-bottom: 2px solid var(--shopora-border);
}

.woocommerce-cart table.cart td {
  padding: 16px;
  border-bottom: 1px solid var(--shopora-border);
  vertical-align: middle;
}

.woocommerce-cart table.cart td.product-name a {
  font-weight: 500;
  color: var(--shopora-heading);
}

.woocommerce-cart table.cart td.product-name a:hover {
  color: var(--shopora-primary);
}

.woocommerce-cart table.cart td.product-remove a {
  color: var(--shopora-text-light);
  font-size: 1.25rem;
  transition: var(--shopora-transition);
}

.woocommerce-cart table.cart td.product-remove a:hover {
  color: var(--shopora-error);
}

/* Cart totals */
.woocommerce-cart .cart-collaterals {
  margin-top: 32px;
}

.woocommerce-cart .cart_totals h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.woocommerce-cart .cart_totals td,
.woocommerce-cart .cart_totals th {
  padding: 10px 0;
  border-bottom: 1px solid var(--shopora-border);
}

.woocommerce-cart .cart_totals .order-total td,
.woocommerce-cart .cart_totals .order-total th {
  font-weight: 700;
  font-size: 1.125rem;
  border-bottom: none;
  padding-top: 16px;
}

.woocommerce-cart .cart_totals .order-total td {
  color: var(--shopora-primary);
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 36px;
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--shopora-text-inverse);
  background-color: var(--shopora-primary);
  border: none;
  border-radius: var(--shopora-radius-md);
  cursor: pointer;
  transition: var(--shopora-transition);
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  background-color: var(--shopora-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.35);
}

/* Cart coupon */
.woocommerce-cart .coupon {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
}

.woocommerce-cart .coupon input.input-text {
  width: auto;
  min-width: 200px;
}

.woocommerce-cart .coupon button {
  padding: 10px 24px;
}

/* ----- Checkout ----- */
.woocommerce form .form-row {
  margin-bottom: 20px;
}

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 500;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--shopora-border);
  border-radius: var(--shopora-radius-md);
  font-size: 0.9375rem;
  transition: var(--shopora-transition);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--shopora-primary);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
  outline: none;
}

.woocommerce #customer_details .col-1,
.woocommerce #customer_details .col-2 {
  margin-bottom: 24px;
}

/* Checkout order review */
.woocommerce-checkout #order_review {
  border: 1px solid var(--shopora-border);
  border-radius: var(--shopora-radius-lg);
  padding: 24px;
}

.woocommerce-checkout #order_review h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.woocommerce-checkout #order_review table {
  width: 100%;
}

.woocommerce-checkout #order_review th {
  padding: 10px 0;
  font-weight: 500;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--shopora-border);
}

.woocommerce-checkout #order_review td {
  padding: 10px 0;
  border-bottom: 1px solid var(--shopora-border);
}

/* Place order button */
.woocommerce-checkout #place_order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--shopora-text-inverse);
  background-color: var(--shopora-primary);
  border: none;
  border-radius: var(--shopora-radius-md);
  cursor: pointer;
  transition: var(--shopora-transition);
  margin-top: 16px;
}

.woocommerce-checkout #place_order:hover {
  background-color: var(--shopora-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.35);
}

/* ----- My Account ----- */
.woocommerce-account .woocommerce-MyAccount-navigation {
  margin-bottom: 32px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--shopora-border);
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: inline-block;
  padding: 12px 20px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--shopora-text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--shopora-transition);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  color: var(--shopora-primary);
  border-bottom-color: var(--shopora-primary);
}

.woocommerce-account .woocommerce-MyAccount-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.woocommerce-account .woocommerce-MyAccount-content table {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-account .woocommerce-MyAccount-content table th {
  padding: 12px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--shopora-text-light);
  background-color: var(--shopora-surface);
  border-bottom: 2px solid var(--shopora-border);
  text-align: left;
}

.woocommerce-account .woocommerce-MyAccount-content table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--shopora-border);
}

/* Order status badges */
.woocommerce-account .order-status {
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--shopora-radius-full);
  text-transform: capitalize;
}

.woocommerce-account .order-status.status-completed {
  background-color: rgba(22, 163, 74, 0.1);
  color: var(--shopora-success);
}

.woocommerce-account .order-status.status-processing {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--shopora-info);
}

.woocommerce-account .order-status.status-on-hold {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--shopora-warning);
}

.woocommerce-account .order-status.status-cancelled {
  background-color: rgba(220, 38, 38, 0.1);
  color: var(--shopora-error);
}

.woocommerce-account .order-status.status-refunded {
  background-color: rgba(107, 114, 128, 0.1);
  color: var(--shopora-text-light);
}

/* ----- WooCommerce Notices / Alerts ----- */
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error {
  border-radius: var(--shopora-radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  line-height: 1.5;
  border: none;
}

.woocommerce .woocommerce-info {
  background-color: rgba(37, 99, 235, 0.08);
  color: var(--shopora-info);
}

.woocommerce .woocommerce-message {
  background-color: rgba(22, 163, 74, 0.08);
  color: var(--shopora-success);
}

.woocommerce .woocommerce-error {
  background-color: rgba(220, 38, 38, 0.08);
  color: var(--shopora-error);
}

.woocommerce .woocommerce-error ul {
  margin: 0;
  padding: 0;
  list-style: disc;
}

.woocommerce .woocommerce-error ul li {
  padding: 0;
  margin: 4px 0 4px 20px;
}

/* ----- WooCommerce Pagination ----- */
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  gap: 4px;
  border: none;
  margin: 40px 0 0;
  padding: 0;
  justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 1px solid var(--shopora-border);
  border-radius: var(--shopora-radius-md);
  overflow: hidden;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--shopora-text);
  background-color: var(--shopora-bg);
  transition: var(--shopora-transition);
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
  border-color: var(--shopora-primary);
}

/* ----- WooCommerce Result Count & Ordering ----- */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-bottom: 24px;
}

.woocommerce .woocommerce-result-count {
  font-size: 0.9375rem;
  color: var(--shopora-text-light);
}

.woocommerce .woocommerce-ordering select {
  width: auto;
  min-width: 180px;
  padding: 10px 36px 10px 14px;
}

/* ----- WooCommerce Price Filter Widget ----- */
.widget_price_filter .price_slider {
  margin-bottom: 12px;
}

.widget_price_filter .price_slider_amount {
  display: flex;
  gap: 8px;
  align-items: center;
}

.widget_price_filter .price_slider_amount .button {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

/* ----- WooCommerce Product Category Thumbnails ----- */
.woocommerce ul.product-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce ul.product-categories li {
  margin: 0;
}

.woocommerce ul.product-categories li a {
  display: block;
  text-align: center;
  padding: 16px;
  font-weight: 500;
  border-radius: var(--shopora-radius-lg);
  transition: var(--shopora-transition);
}

.woocommerce ul.product-categories li a:hover {
  background-color: var(--shopora-surface);
}

/* ==========================================================================
   12. Blog
   ========================================================================== */

/* Blog post card */
.shopora-post-card {
  background-color: var(--shopora-bg);
  border: 1px solid var(--shopora-border);
  border-radius: var(--shopora-radius-xl);
  overflow: hidden;
  transition: var(--shopora-transition);
}

.shopora-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shopora-shadow-lg);
}

.shopora-post-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.shopora-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.shopora-post-card__category {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--shopora-text-inverse);
  background-color: var(--shopora-primary);
  border-radius: var(--shopora-radius-sm);
}

.shopora-post-card__content {
  padding: 20px 24px 24px;
}

.shopora-post-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  color: var(--shopora-text-light);
}

.shopora-post-card__meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.shopora-post-card__title {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.shopora-post-card__title a {
  color: var(--shopora-heading);
  transition: var(--shopora-transition);
}

.shopora-post-card__title a:hover {
  color: var(--shopora-primary);
}

.shopora-post-card__excerpt {
  margin-bottom: 16px;
  color: var(--shopora-text-light);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.shopora-post-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--shopora-primary);
  transition: var(--shopora-transition);
}

.shopora-post-card__read-more:hover {
  gap: 10px;
}

/* Featured image (single post) */
.entry-featured-image {
  margin-bottom: 32px;
  border-radius: var(--shopora-radius-lg);
  overflow: hidden;
}

.entry-featured-image img {
  width: 100%;
  height: auto;
}

/* Post meta */
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: var(--shopora-text-light);
}

.entry-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.entry-meta a {
  color: var(--shopora-text-light);
}

.entry-meta a:hover {
  color: var(--shopora-primary);
}

/* Author box */
.shopora-author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background-color: var(--shopora-surface);
  border-radius: var(--shopora-radius-lg);
  margin: 40px 0;
}

.shopora-author-box__avatar {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--shopora-radius-full);
  overflow: hidden;
}

.shopora-author-box__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shopora-author-box__name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.shopora-author-box__bio {
  font-size: 0.9375rem;
  color: var(--shopora-text-light);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Comments section */
.comments-area {
  margin-top: 48px;
}

.comments-area .comments-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.comment-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment-list .comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--shopora-border);
}

.comment-list .comment:last-child {
  border-bottom: none;
}

.comment-list .comment-body {
  display: flex;
  gap: 16px;
}

.comment-list .comment-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--shopora-radius-full);
  overflow: hidden;
}

.comment-list .comment-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-list .comment-meta {
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.comment-list .comment-meta a {
  font-weight: 600;
  color: var(--shopora-heading);
}

.comment-list .comment-metadata {
  margin-bottom: 8px;
  font-size: 0.8125rem;
  color: var(--shopora-text-light);
}

.comment-list .comment-content {
  font-size: 0.9375rem;
  color: var(--shopora-text);
  line-height: 1.7;
}

.comment-list .reply a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--shopora-primary);
}

.comment-respond {
  margin-top: 32px;
}

.comment-respond .comment-reply-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Related posts */
.shopora-related-posts {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--shopora-border);
}

.shopora-related-posts__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

/* ==========================================================================
   13. Hero Section
   ========================================================================== */

.shopora-hero {
  overflow: hidden;
}

.shopora-hero-inner {
  max-width: var(--shopora-container);
  margin-left: auto;
  margin-right: auto;
}

.shopora-hero-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.shopora-hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--shopora-text-light);
  line-height: 1.7;
  max-width: 540px;
  margin-bottom: 0;
}

.shopora-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

/* ==========================================================================
   14. Utilities
   ========================================================================== */

/* Screen reader only */
.shopora-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Flex helpers */
.shopora-flex {
  display: flex;
}

.shopora-flex-wrap {
  flex-wrap: wrap;
}

.shopora-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.shopora-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shopora-flex-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.shopora-flex-col {
  display: flex;
  flex-direction: column;
}

.shopora-gap-sm {
  gap: 8px;
}

.shopora-gap-md {
  gap: 16px;
}

.shopora-gap-lg {
  gap: 24px;
}

.shopora-gap-xl {
  gap: 32px;
}

/* Margin utilities */
.shopora-mt-0 { margin-top: 0; }
.shopora-mt-1 { margin-top: 8px; }
.shopora-mt-2 { margin-top: 16px; }
.shopora-mt-3 { margin-top: 24px; }
.shopora-mt-4 { margin-top: 32px; }
.shopora-mt-5 { margin-top: 48px; }
.shopora-mb-0 { margin-bottom: 0; }
.shopora-mb-1 { margin-bottom: 8px; }
.shopora-mb-2 { margin-bottom: 16px; }
.shopora-mb-3 { margin-bottom: 24px; }
.shopora-mb-4 { margin-bottom: 32px; }
.shopora-mb-5 { margin-bottom: 48px; }
.shopora-mx-auto { margin-left: auto; margin-right: auto; }

/* Padding utilities */
.shopora-p-0 { padding: 0; }
.shopora-p-1 { padding: 8px; }
.shopora-p-2 { padding: 16px; }
.shopora-p-3 { padding: 24px; }
.shopora-p-4 { padding: 32px; }
.shopora-p-5 { padding: 48px; }

/* Display utilities */
.shopora-hidden { display: none; }
.shopora-block { display: block; }
.shopora-inline-block { display: inline-block; }
.shopora-inline { display: inline; }

/* Width utilities */
.shopora-w-full { width: 100%; }
.shopora-w-auto { width: auto; }

/* Position */
.shopora-relative { position: relative; }
.shopora-absolute { position: absolute; }

/* Overflow */
.shopora-overflow-hidden { overflow: hidden; }

/* Background */
.shopora-bg-surface { background-color: var(--shopora-surface); }
.shopora-bg-primary { background-color: var(--shopora-primary); }
.shopora-bg-secondary { background-color: var(--shopora-secondary); }

/* Border */
.shopora-border { border: 1px solid var(--shopora-border); }
.shopora-border-top { border-top: 1px solid var(--shopora-border); }
.shopora-border-bottom { border-bottom: 1px solid var(--shopora-border); }
.shopora-rounded { border-radius: var(--shopora-radius-md); }
.shopora-rounded-lg { border-radius: var(--shopora-radius-lg); }
.shopora-rounded-xl { border-radius: var(--shopora-radius-xl); }
.shopora-rounded-full { border-radius: var(--shopora-radius-full); }

/* Shadow */
.shopora-shadow-sm { box-shadow: var(--shopora-shadow-sm); }
.shopora-shadow-md { box-shadow: var(--shopora-shadow-md); }
.shopora-shadow-lg { box-shadow: var(--shopora-shadow-lg); }

/* Text size */
.shopora-text-xs { font-size: 0.75rem; }
.shopora-text-sm { font-size: 0.875rem; }
.shopora-text-base { font-size: 1rem; }
.shopora-text-lg { font-size: 1.125rem; }
.shopora-text-xl { font-size: 1.25rem; }
.shopora-text-2xl { font-size: 1.5rem; }

/* Text weight */
.shopora-font-normal { font-weight: 400; }
.shopora-font-medium { font-weight: 500; }
.shopora-font-semibold { font-weight: 600; }
.shopora-font-bold { font-weight: 700; }

/* Line height */
.shopora-leading-tight { line-height: 1.25; }
.shopora-leading-normal { line-height: 1.5; }
.shopora-leading-relaxed { line-height: 1.75; }

/* WordPress alignment */
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1em;
}

.alignwide {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* WordPress block styles */
.wp-block-separator.is-style-wide {
  border-bottom-width: 1px;
}

.wp-block-separator.has-background {
  height: 1px;
}

/* WordPress spacer */
.wp-block-spacer {
  clear: both;
}

/* ==========================================================================
   15. Animations
   ========================================================================== */

@keyframes shopora-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes shopora-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shopora-slide-down {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shopora-scale-in {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shopora-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes shopora-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.shopora-animate-fade-in {
  animation: shopora-fade-in 0.5s ease forwards;
}

.shopora-animate-slide-up {
  animation: shopora-slide-up 0.5s ease forwards;
}

.shopora-animate-scale-in {
  animation: shopora-scale-in 0.4s ease forwards;
}

/* Loading skeleton */
.shopora-skeleton {
  background: linear-gradient(
    90deg,
    var(--shopora-surface) 25%,
    var(--shopora-surface-alt) 50%,
    var(--shopora-surface) 75%
  );
  background-size: 200% 100%;
  animation: shopora-shimmer 1.5s ease-in-out infinite;
  border-radius: var(--shopora-radius-md);
}

/* Toast / notification animation */
@keyframes shopora-toast-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.shopora-toast {
  animation: shopora-toast-in 0.3s ease forwards;
}

/* Back to top button */
.shopora-back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
  border: none;
  border-radius: var(--shopora-radius-full);
  cursor: pointer;
  box-shadow: var(--shopora-shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--shopora-transition);
  z-index: 500;
}

.shopora-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.shopora-back-to-top:hover {
  background-color: var(--shopora-primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shopora-shadow-lg);
}

/* ==========================================================================
   16. Accessibility
   ========================================================================== */

/* Focus visible */
*:focus-visible {
  outline: 2px solid var(--shopora-primary);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--shopora-primary);
  outline-offset: 2px;
}

/* Skip link */
.shopora-skip-link {
  position: fixed;
  top: -100%;
  left: 16px;
  z-index: 99999;
  padding: 12px 24px;
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0 0 var(--shopora-radius-md) var(--shopora-radius-md);
  text-decoration: none;
  transition: top 0.3s ease;
}

.shopora-skip-link:focus {
  top: 0;
  outline: 2px solid var(--shopora-text-inverse);
  outline-offset: 2px;
}

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

/* High contrast mode support */
@media (forced-colors: active) {
  .wp-block-button__link {
    border: 2px solid ButtonText;
  }

  .shopora-badge,
  .shopora-wishlist-btn button {
    border: 1px solid ButtonText;
  }
}

/* ==========================================================================
   17. Scrollbar
   ========================================================================== */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: var(--shopora-surface);
}

::-webkit-scrollbar-thumb {
  background-color: var(--shopora-border);
  border-radius: var(--shopora-radius-full);
  border: 2px solid var(--shopora-surface);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--shopora-text-light);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--shopora-border) var(--shopora-surface);
}

/* ==========================================================================
   18. WordPress Block Styles
   ========================================================================== */

/* Group blocks */
.wp-block-group {
  box-sizing: border-box;
}

/* Cover block */
.wp-block-cover {
  overflow: hidden;
}

/* Image block */
.wp-block-image img {
  border-radius: var(--shopora-radius-md);
}

/* Quote block */
.wp-block-quote {
  border-left: 4px solid var(--shopora-primary);
  padding: 16px 24px;
  margin: 24px 0;
  font-style: italic;
  color: var(--shopora-text-light);
}

.wp-block-quote cite {
  display: block;
  margin-top: 8px;
  font-size: 0.875rem;
  font-style: normal;
  color: var(--shopora-text-light);
}

/* Table block */
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
  padding: 12px 16px;
  border: 1px solid var(--shopora-border);
  text-align: left;
}

.wp-block-table th {
  background-color: var(--shopora-surface);
  font-weight: 600;
}

/* List block */
.wp-block-list {
  padding-left: 1.5em;
}

.wp-block-list li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* Separator block */
.wp-block-separator {
  border-top: none;
}

/* Gallery block */
.wp-block-gallery {
  gap: 12px;
}

.wp-block-gallery .wp-block-image {
  margin: 0;
}

/* Button group */
.wp-block-buttons .wp-block-button:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   19. Newsletter Section (Pattern)
   ========================================================================== */

.shopora-newsletter {
  overflow: hidden;
}

/* ==========================================================================
   20. Brands Section (Pattern)
   ========================================================================== */

.shopora-brands img {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: var(--shopora-transition);
}

.shopora-brands img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================================
   21. FAQ Section (Pattern)
   ========================================================================== */

.shopora-faq-item {
  border-bottom: 1px solid var(--shopora-border);
}

.shopora-faq-item summary,
.shopora-faq-item .shopora-faq-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--shopora-heading);
  cursor: pointer;
  list-style: none;
  background: none;
  border: none;
  text-align: left;
}

.shopora-faq-item summary::-webkit-details-marker,
.shopora-faq-item summary::marker {
  display: none;
}

.shopora-faq-item summary::after,
.shopora-faq-item .shopora-faq-toggle::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--shopora-text-light);
  transition: var(--shopora-transition);
}

.shopora-faq-item[open] summary::after,
.shopora-faq-item[open] .shopora-faq-toggle::after {
  content: "\2212";
}

.shopora-faq-item .shopora-faq-content {
  padding: 0 0 18px;
  color: var(--shopora-text-light);
  line-height: 1.7;
}

/* ==========================================================================
   22. Testimonials Section (Pattern)
   ========================================================================== */

.shopora-testimonial-card {
  background-color: var(--shopora-bg);
  border: 1px solid var(--shopora-border);
  border-radius: var(--shopora-radius-xl);
  padding: 32px;
  transition: var(--shopora-transition);
}

.shopora-testimonial-card:hover {
  box-shadow: var(--shopora-shadow-md);
}

.shopora-testimonial-card__stars {
  color: var(--shopora-accent);
  margin-bottom: 12px;
  font-size: 1rem;
}

.shopora-testimonial-card__text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--shopora-text);
  margin-bottom: 20px;
}

.shopora-testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shopora-testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--shopora-radius-full);
  overflow: hidden;
}

.shopora-testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shopora-testimonial-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0;
}

.shopora-testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--shopora-text-light);
}

/* ==========================================================================
   23. Benefits Section (Pattern)
   ========================================================================== */

.shopora-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.shopora-benefit-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.shopora-benefit-item__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--shopora-primary-light);
  border-radius: var(--shopora-radius-lg);
  color: var(--shopora-primary);
}

.shopora-benefit-item__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.shopora-benefit-item__text {
  font-size: 0.8125rem;
  color: var(--shopora-text-light);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   24. Social Proof Section (Pattern)
   ========================================================================== */

.shopora-social-proof {
  text-align: center;
}

.shopora-social-proof .shopora-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  color: var(--shopora-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.shopora-social-proof .shopora-label {
  font-size: 0.9375rem;
  color: var(--shopora-text-light);
}

/* ==========================================================================
   25. Promo Banner (Pattern)
   ========================================================================== */

.shopora-promo-banner {
  position: relative;
  border-radius: var(--shopora-radius-xl);
  overflow: hidden;
}

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

.shopora-promo-banner__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 48px;
  background: linear-gradient(90deg, rgba(26, 26, 46, 0.8) 0%, rgba(26, 26, 46, 0.2) 100%);
  color: var(--shopora-text-inverse);
}

.shopora-promo-banner__title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--shopora-text-inverse);
  margin-bottom: 8px;
}

.shopora-promo-banner__subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 24px;
}

/* ==========================================================================
   26. Featured Categories (Pattern)
   ========================================================================== */

.shopora-category-card {
  position: relative;
  border-radius: var(--shopora-radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

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

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

.shopora-category-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  color: var(--shopora-text-inverse);
}

.shopora-category-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--shopora-text-inverse);
  margin-bottom: 4px;
}

.shopora-category-card__count {
  font-size: 0.8125rem;
  opacity: 0.7;
}

/* ==========================================================================
   27. WooCommerce - Quick View Modal
   ========================================================================== */

.shopora-quickview-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.shopora-quickview-modal.is-active {
  opacity: 1;
  visibility: visible;
}

.shopora-quickview-modal__content {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  background-color: var(--shopora-bg);
  border-radius: var(--shopora-radius-xl);
  box-shadow: var(--shopora-shadow-xl);
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.shopora-quickview-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--shopora-bg);
  border: none;
  border-radius: var(--shopora-radius-full);
  cursor: pointer;
  box-shadow: var(--shopora-shadow-sm);
  transition: var(--shopora-transition);
}

.shopora-quickview-modal__close:hover {
  background-color: var(--shopora-surface);
  color: var(--shopora-primary);
}

.shopora-quickview-modal__image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  background-color: var(--shopora-surface);
  border-radius: var(--shopora-radius-xl) 0 0 var(--shopora-radius-xl);
}

.shopora-quickview-modal__image img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.shopora-quickview-modal__details {
  padding: 32px;
}

/* ==========================================================================
   28. WooCommerce - Mini Cart
   ========================================================================== */

.shopora-mini-cart {
  position: fixed;
  top: 0;
  right: 0;
  width: 400px;
  max-width: 90vw;
  height: 100%;
  background-color: var(--shopora-bg);
  box-shadow: var(--shopora-shadow-xl);
  z-index: 3000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.shopora-mini-cart.is-open {
  transform: translateX(0);
}

.shopora-mini-cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--shopora-border);
}

.shopora-mini-cart__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.shopora-mini-cart__close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--shopora-text);
  transition: var(--shopora-transition);
}

.shopora-mini-cart__close:hover {
  color: var(--shopora-primary);
}

.shopora-mini-cart__items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.shopora-mini-cart__item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--shopora-border);
}

.shopora-mini-cart__item:last-child {
  border-bottom: none;
}

.shopora-mini-cart__item-image {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--shopora-radius-md);
  overflow: hidden;
}

.shopora-mini-cart__item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shopora-mini-cart__item-details {
  flex: 1;
  min-width: 0;
}

.shopora-mini-cart__item-name {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--shopora-heading);
}

.shopora-mini-cart__item-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--shopora-primary);
}

.shopora-mini-cart__item-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--shopora-text-light);
  padding: 0;
  transition: var(--shopora-transition);
}

.shopora-mini-cart__item-remove:hover {
  color: var(--shopora-error);
}

.shopora-mini-cart__footer {
  padding: 20px 24px;
  border-top: 1px solid var(--shopora-border);
}

.shopora-mini-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-size: 1.125rem;
  font-weight: 700;
}

.shopora-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shopora-mini-cart__buttons a,
.shopora-mini-cart__buttons button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--shopora-radius-md);
  transition: var(--shopora-transition);
  width: 100%;
  text-align: center;
}

/* Mini cart overlay */
.shopora-mini-cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.shopora-mini-cart-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   29. WooCommerce - Cross-sells / Upsells
   ========================================================================== */

.woocommerce .cross-sells,
.woocommerce .related.products {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--shopora-border);
}

.woocommerce .cross-sells h2,
.woocommerce .related.products h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
}

/* ==========================================================================
   30. WordPress Query Loop Support
   ========================================================================== */

.wp-block-query {
  padding: 0;
}

.wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.wp-block-post-template .wp-block-post {
  margin: 0;
}

.wp-block-post-title {
  margin-bottom: 8px;
}

.wp-block-post-title a {
  color: var(--shopora-heading);
  text-decoration: none;
  transition: var(--shopora-transition);
}

.wp-block-post-title a:hover {
  color: var(--shopora-primary);
}

.wp-block-post-excerpt {
  font-size: 0.9375rem;
  color: var(--shopora-text-light);
  line-height: 1.6;
}

.wp-block-post-featured-image {
  margin-bottom: 16px;
  border-radius: var(--shopora-radius-lg);
  overflow: hidden;
}

.wp-block-post-featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wp-block-post-featured-image a:hover img {
  transform: scale(1.05);
}

.wp-block-post-date {
  font-size: 0.8125rem;
  color: var(--shopora-text-light);
}

.wp-block-post-terms {
  font-size: 0.8125rem;
  color: var(--shopora-primary);
}

/* ==========================================================================
   31. Pagination
   ========================================================================== */

.shopora-pagination,
.navigation.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 40px;
}

.shopora-pagination .page-numbers,
.navigation.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--shopora-text);
  background-color: var(--shopora-bg);
  border: 1px solid var(--shopora-border);
  border-radius: var(--shopora-radius-md);
  text-decoration: none;
  transition: var(--shopora-transition);
}

.shopora-pagination .page-numbers:hover,
.navigation.pagination .page-numbers:hover,
.shopora-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
  border-color: var(--shopora-primary);
}

.shopora-pagination .page-numbers.next,
.shopora-pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next,
.navigation.pagination .page-numbers.prev {
  min-width: auto;
  padding: 0 16px;
}

/* ==========================================================================
   32. Breadcrumbs
   ========================================================================== */

.shopora-breadcrumbs,
.woocommerce .woocommerce-breadcrumb {
  padding: 16px 0;
  font-size: 0.875rem;
  color: var(--shopora-text-light);
}

.shopora-breadcrumbs a,
.woocommerce .woocommerce-breadcrumb a {
  color: var(--shopora-text-light);
  transition: var(--shopora-transition);
}

.shopora-breadcrumbs a:hover,
.woocommerce .woocommerce-breadcrumb a:hover {
  color: var(--shopora-primary);
}

.shopora-breadcrumbs .separator,
.woocommerce .woocommerce-breadcrumb .separator {
  margin: 0 8px;
  opacity: 0.5;
}

/* ==========================================================================
   33. Page Title
   ========================================================================== */

.shopora-page-header {
  padding: 48px 0 32px;
  background-color: var(--shopora-surface);
  border-bottom: 1px solid var(--shopora-border);
}

.shopora-page-header .page-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0;
  color: var(--shopora-heading);
}

/* ==========================================================================
   34. Single Post Navigation
   ========================================================================== */

.shopora-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--shopora-border);
}

.shopora-post-navigation a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background-color: var(--shopora-surface);
  border-radius: var(--shopora-radius-lg);
  transition: var(--shopora-transition);
}

.shopora-post-navigation a:hover {
  background-color: var(--shopora-primary-light);
}

.shopora-post-navigation__label {
  font-size: 0.8125rem;
  color: var(--shopora-text-light);
}

.shopora-post-navigation__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--shopora-heading);
}

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

/* ==========================================================================
   35. 404 Page
   ========================================================================== */

.shopora-404 {
  text-align: center;
  padding: 80px 24px;
}

.shopora-404__title {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  color: var(--shopora-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.shopora-404__subtitle {
  font-size: 1.25rem;
  color: var(--shopora-text-light);
  margin-bottom: 32px;
}

/* ==========================================================================
   36. Search Results Page
   ========================================================================== */

.shopora-search-form {
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
}

.shopora-search-form input[type="search"] {
  padding: 14px 52px 14px 20px;
  border-radius: var(--shopora-radius-full);
  border: 2px solid var(--shopora-border);
  font-size: 1rem;
}

.shopora-search-form button {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--shopora-primary);
  color: var(--shopora-text-inverse);
  border: none;
  border-radius: var(--shopora-radius-full);
  cursor: pointer;
  transition: var(--shopora-transition);
}

.shopora-search-form button:hover {
  background-color: var(--shopora-primary-hover);
}
