/*
 * Glowing Tailwind Utility CSS
 * A compiled subset of Tailwind CSS for production use.
 */

:root {
  --color-primary: #00355f;
  --color-primary-container: #0f4c81;
  --color-primary-fixed: #d2e4ff;
  --color-primary-fixed-dim: #a0c9ff;
  --color-on-primary: #ffffff;
  --color-on-primary-container: #8ebdf9;
  
  --color-secondary: #795900;
  --color-secondary-container: #fdc331;
  --color-on-secondary: #ffffff;
  --color-on-secondary-container: #6e5200;
  --color-secondary-fixed: #ffdf9e;
  --color-secondary-fixed-dim: #f7be2b;
  
  --color-tertiary: #2d3344;
  --color-tertiary-container: #434a5b;
  --color-on-tertiary: #ffffff;
  --color-on-tertiary-container: #b3bace;
  
  --color-surface: #f9f9f9;
  --color-surface-dim: #dadada;
  --color-surface-bright: #f9f9f9;
  --color-surface-container-lowest: #ffffff;
  --color-surface-container-low: #f3f3f3;
  --color-surface-container: #eeeeee;
  --color-surface-container-high: #e8e8e8;
  --color-surface-container-highest: #e2e2e2;
  
  --color-on-surface: #1a1c1c;
  --color-on-surface-variant: #42474f;
  --color-outline: #727780;
  --color-outline-variant: #c2c7d1;
  
  --color-error: #ba1a1a;
  --color-error-container: #ffdad6;
  --color-on-error: #ffffff;
  --color-on-error-container: #93000a;
  
  --color-background: #f9f9f9;
  --color-on-background: #1a1c1c;

  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-headline: 'Poppins', system-ui, -apple-system, sans-serif;
}

/* Base Styles */
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--color-outline-variant);
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: var(--font-body);
}

body {
  margin: 0;
  line-height: inherit;
  background-color: var(--color-surface);
  color: var(--color-on-surface);
}

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

input, button, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  outline: none;
}

button, [role="button"] {
  cursor: pointer;
  background-color: transparent;
  background-image: none;
}

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

/* Typography Utilities */
.font-body-md { font-family: var(--font-body); font-weight: 400; font-size: 16px; line-height: 1.5; }
.font-body-lg { font-family: var(--font-body); font-weight: 400; font-size: 18px; line-height: 1.6; }
.font-body-sm { font-family: var(--font-body); font-weight: 400; font-size: 14px; line-height: 1.5; }
.font-label-md { font-family: var(--font-body); font-weight: 600; font-size: 14px; line-height: 1.2; }
.font-label-sm { font-family: var(--font-body); font-weight: 500; font-size: 12px; line-height: 1.2; }

.font-headline-sm { font-family: var(--font-headline); font-weight: 600; font-size: 18px; line-height: 1.4; }
.font-headline-md { font-family: var(--font-headline); font-weight: 600; font-size: 24px; line-height: 1.3; }
.font-headline-lg { font-family: var(--font-headline); font-weight: 600; font-size: 32px; line-height: 1.25; letter-spacing: -0.01em; }
.font-headline-xl { font-family: var(--font-headline); font-weight: 700; font-size: 48px; line-height: 1.2; letter-spacing: -0.02em; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.line-through { text-decoration-line: line-through; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }

/* Colors Utility */
.bg-primary { background-color: var(--color-primary); }
.bg-primary-container { background-color: var(--color-primary-container); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-secondary-container { background-color: var(--color-secondary-container); }
.bg-surface { background-color: var(--color-surface); }
.bg-surface-container { background-color: var(--color-surface-container); }
.bg-surface-container-low { background-color: var(--color-surface-container-low); }
.bg-surface-container-lowest { background-color: var(--color-surface-container-lowest); }
.bg-surface-container-high { background-color: var(--color-surface-container-high); }
.bg-surface-container-highest { background-color: var(--color-surface-container-highest); }
.bg-error { background-color: var(--color-error); }
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }
.bg-transparent { background-color: transparent; }

.text-primary { color: var(--color-primary); }
.text-primary-container { color: var(--color-primary-container); }
.text-secondary { color: var(--color-secondary); }
.text-on-secondary { color: var(--color-on-secondary); }
.text-on-secondary-container { color: var(--color-on-secondary-container); }
.text-on-surface { color: var(--color-on-surface); }
.text-on-surface-variant { color: var(--color-on-surface-variant); }
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.text-error { color: var(--color-error); }
.text-outline-variant { color: var(--color-outline-variant); }
.text-secondary-fixed-dim { color: var(--color-secondary-fixed-dim); }

.border-primary { border-color: var(--color-primary); }
.border-primary-container { border-color: var(--color-primary-container); }
.border-outline-variant { border-color: var(--color-outline-variant); }
.border-white { border-color: #ffffff; }

/* Layout & Flex/Grid */
.w-full { width: 100%; }
.w-screen { width: 100vw; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-64 { height: 16rem; }
.min-h-\[500px\] { min-height: 500px; }

.w-\[280px\] { width: 280px; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-48 { height: 12rem; }
.w-48 { width: 12rem; }

.max-w-\[1320px\] { max-width: 1320px; }
.max-w-xs { max-width: 20rem; }
.max-w-md { max-width: 28rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.ml-1 { margin-left: 0.25rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-10 { margin-left: 2.5rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mt-auto { margin-top: auto; }
.mt-2 { margin-top: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-20 { margin-top: 5rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-20 { margin-bottom: 5rem; }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-grow { flex-grow: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gap-6 { gap: 1.5rem; }
.gap-10 { gap: 2.5rem; }
.gap-gutter { gap: 1.5rem; }

/* Padding & Spacing */
.px-gutter { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-0\.5 { padding-top: 0.125rem; padding-bottom: 0.125rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pt-10 { padding-top: 2.5rem; }
.py-section-padding { padding-top: 4rem; padding-bottom: 4rem; }

.space-x-1 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.25rem; }
.space-x-2 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.5rem; }
.space-x-3 > :not([hidden]) ~ :not([hidden]) { margin-left: 0.75rem; }
.space-x-4 > :not([hidden]) ~ :not([hidden]) { margin-left: 1rem; }
.space-x-6 > :not([hidden]) ~ :not([hidden]) { margin-left: 1.5rem; }
.space-x-8 > :not([hidden]) ~ :not([hidden]) { margin-left: 2rem; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }

/* Borders & Rounding */
.border { border-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-r { border-right-width: 1px; }
.border-t { border-top-width: 1px; }
.border-2 { border-width: 2px; }
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-t-xl { border-top-left-radius: 0.75rem; border-top-right-radius: 0.75rem; }
.rounded-b-xl { border-bottom-left-radius: 0.75rem; border-bottom-right-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

/* Effects & Others */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }
.grayscale { filter: grayscale(100%); }
.hover\:grayscale-0:hover { filter: grayscale(0%); }
.hover\:opacity-100:hover { opacity: 1; }

.sticky { position: sticky; }
.top-0 { top: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.absolute { position: absolute; }
.top-2 { top: 0.5rem; }
.right-2 { right: 0.5rem; }
.top-8 { top: 2rem; }
.right-8 { right: 2rem; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.-top-2 { top: -0.5rem; }
.-right-2 { right: -0.5rem; }
.-top-20 { top: -5rem; }
.-left-20 { left: -5rem; }

.bg-cover { background-size: cover; }
.bg-center { background-position: center; }
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.aspect-square { aspect-ratio: 1 / 1; }

/* Transitions & Animations */
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-500 { transition-duration: 500ms; }
.duration-1000 { transition-duration: 1000ms; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.10); }
.group-hover\:scale-110 { transition: transform 0.5s ease; }
.group:hover .group-hover\:scale-110 { transform: scale(1.10); }
.group-hover\:opacity-100 { transition: opacity 0.2s ease; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group-hover\:translate-x-1 { transition: transform 0.2s ease; }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite; }
.animate-bounce { animation: bounce 1s infinite; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
  50% { transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); }
}

.blur-3xl { filter: blur(64px); }
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hidden { display: none; }

/* Responsive Media Queries */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:flex-row { flex-direction: row; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:p-16 { padding: 4rem; }
  .md\:mt-0 { margin-top: 0; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block; }
}

@media (min-width: 1280px) {
  .xl\:block { display: block; }
}

/* WooCommerce Integration Rules */
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__wrapper { display: flex; transition: transform 0.5s ease; }
.woocommerce-product-gallery__image { width: 100%; flex-shrink: 0; }
.woocommerce-product-gallery__trigger { position: absolute; top: 1rem; right: 1rem; z-index: 10; font-size: 1.5rem; background: #fff; border-radius: 50%; width: 2.5rem; height: 2.5rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 6px rgba(0,0,0,0.1); cursor: pointer; }

/* Zoom and lightbox support */
.glowing-zoom-lens { position: absolute; border: 1px solid #c2c7d1; width: 150px; height: 150px; background: rgba(255, 255, 255, 0.4); cursor: crosshair; }
.glowing-zoom-result { position: absolute; border: 1px solid #c2c7d1; width: 400px; height: 400px; overflow: hidden; background-repeat: no-repeat; z-index: 100; top: 0; left: 105%; box-shadow: 0 10px 15px rgba(0,0,0,0.15); display: none; }
.glowing-lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.9); z-index: 9999; display: none; align-items: center; justify-content: center; }
.glowing-lightbox img { max-width: 90%; max-height: 90%; object-fit: contain; }
.glowing-lightbox-close { position: absolute; top: 2rem; right: 2rem; color: #fff; font-size: 2.5rem; cursor: pointer; }
