/*
Theme Name: Urban Global Store
Theme URI: https://urbanglobalstore.com
Author: Antigravity
Author URI: https://deepmind.google
Description: A premium, mobile-first WooCommerce theme for modern Indian commerce. Featuring glassmorphism, Tailwind CSS, and optimized shopping flows.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: urban-global
*/

:root {
  --brand-black: #0c0c0c;
  --brand-white: #ffffff;
  --brand-gray-50: #fafafa;
  --brand-gray-100: #f4f4f5;
  --brand-gray-200: #e4e4e7;
  --brand-gray-300: #d4d4d8;
  --brand-gray-400: #a1a1aa;
  --brand-gray-600: #52525b;
  --brand-accent: #d4af37;
  /* Metallic Gold */

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', serif;

  /* Modern Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.3);

  /* Modern Transitions */
  --transition-ultra: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing Tokens */
  --section-padding-y: 6rem;
  --section-padding-y-lg: 10rem;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--brand-gray-50);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-black);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-gray-600);
}

/* Scrollbar Hide Utility */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Smooth Reveal Base */
.reveal-on-scroll {
  opacity: 1;
  /* Default to visible */
  transform: translateY(0);
  transition: var(--transition-ultra);
}

/* Only apply hidden state if the user has JS enabled and we want to animate */
@media (prefers-reduced-motion: no-preference) {
  .js-enabled .reveal-on-scroll:not(.active) {
    opacity: 0;
    transform: translateY(30px);
  }
}

.reveal-on-scroll.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Base resets and typography */
img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  object-fit: cover;
  /* Global image guard */
}

/* Specific Logo Guard for any stray/external logo injections */
img[src*="logo.png"] {
  max-height: 80px !important;
  width: auto !important;
  object-fit: contain !important;
}

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  color: var(--brand-black);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

.font-serif {
  font-family: var(--font-serif);
}

/* Header & Navigation Micro-interactions */
.menu-with-dots li {
  position: relative;
  display: flex;
  align-items: center;
}

.menu-with-dots li:not(:last-child)::after {
  content: '•';
  margin-left: 2.5rem;
  margin-right: -0.25rem;
  color: #e5e5e7;
  font-size: 10px;
  line-height: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.menu-with-dots a {
  font-weight: 500;
  color: #4b5563;
  /* Muted gray for menu */
  transition: color 0.3s ease;
}

.menu-with-dots a:hover {
  color: #000;
}

.brand-serif {
  color: #000;
  /* Bold black for authority */
  font-family: var(--font-serif);
}

#main-header.scrolled {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  #main-header.scrolled {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
  }
}

.animate-scroll {
  display: flex;
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.pause {
  animation-play-state: paused;
}

/* Premium Component Styling */
.glass-panel {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* WooCommerce Button Overrides - Myntra Style */
.button,
.woocommerce-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0 !important;
  font-size: 11px !important;
  padding: 1.25rem 2.5rem !important;
  border: none;
}

.button.alt,
.woocommerce-button.alt {
  background-color: var(--brand-black) !important;
  color: white !important;
}

.button.alt:hover,
.woocommerce-button.alt:hover {
  background-color: #333 !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Product Card Polish */
.product-card-image-wrap {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.product-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .product-card-image-wrap img {
  transform: scale(1.08);
}

/* Custom Checkbox/Radio Styling */
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--brand-black);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--brand-gray-50);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-gray-400);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-black);
}

/* Mobile-first specific tweaks */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 2rem !important;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }

  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* Section Spacing Desktop */
@media (min-width: 1024px) {
  section {
    padding-top: var(--section-padding-y-lg) !important;
    padding-bottom: var(--section-padding-y-lg) !important;
  }
}

/* Performance Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slowZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.animate-slow-zoom {
  animation: slowZoom 20s linear infinite alternate;
}

/* Premium Typography Utilities */
.tracking-ultra {
  letter-spacing: 0.5em;
}

.tracking-relaxed {
  letter-spacing: 0.1em;
}

/* Enhanced Hover States */
.hover-lift {
  transition: var(--transition-smooth);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.hover-gold:hover {
  color: var(--brand-accent);
}

/* Glassmorphism Refinements */
.glass-effect {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-premium {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Modern Link Underline */
.link-underline {
  position: relative;
  text-decoration: none;
}

.link-underline::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: currentColor;
  transform-origin: bottom right;
  transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Button Hover Glow */
.btn-glow:hover {
  box-shadow: var(--shadow-glow);
}