/*
CREATIVE MERCH UK - Modern Clean Design
White & Grey with Black Accents
UPDATED VERSION - Hover navigation, animated banners, perfect shop
*/

/* ============================================
   CORE VARIABLES
   ============================================ */
:root {
  /* Color System - White & Grey with Black Accent */
  --color-white: #FFFFFF;
  --color-grey-light: #F5F5F5;
  --color-grey: #9CA3AF;
  --color-grey-dark: #6B7280;
  --color-black: #000000;

  /* Typography */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-logo: 'Begild', serif;

  /* Spacing - Improved consistency */
  --spacing-xs: 0.5rem;
  /* 8px */
  --spacing-sm: 1rem;
  /* 16px */
  --spacing-md: 2rem;
  /* 32px */
  --spacing-lg: 4rem;
  /* 64px */
  --spacing-xl: 6rem;
  /* 96px */

  /* Container constraints */
  --container-max: 1400px;
  --content-max: 1200px;
  --text-max: 800px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

  /* Border Radius - Sharp edges */
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* Z-index layers */
  --z-banner: 9999;
  --z-topbar: 9998;
  --z-nav: 9997;
  --z-dropdown: 9996;
  --z-offcanvas: 9995;

  /* Line heights for better readability */
  --line-height-tight: 1.3;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Override Bootstrap */
  --bs-body-font-family: var(--font-primary);
  --bs-body-bg: var(--color-white);
  --bs-body-color: var(--color-black);
  --bs-border-radius: 0px;
  --bs-border-radius-sm: 0px;
  --bs-border-radius-lg: 0px;
}

/* ============================================
   BASE STYLES - Improved spacing and typography
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background: var(--color-white);
  color: var(--color-black);
  line-height: var(--line-height-normal);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 140px;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main,
section.section:not(footer) {
  flex: 1 0 auto;
}

/* ============================================
   TYPOGRAPHY - Better readability
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 500;
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

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

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

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

p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-grey-dark);
  line-height: var(--line-height-relaxed);
}

.text-grey {
  color: var(--color-grey);
}

.text-grey-dark {
  color: var(--color-grey-dark);
}

/* ============================================
   CONTAINER CONSTRAINTS - Prevent ultra-wide
   ============================================ */
.container {
  max-width: var(--container-max);
  width: 100%;
  padding-right: var(--spacing-sm);
  padding-left: var(--spacing-sm);
  margin-right: auto;
  margin-left: auto;
}

.container-content {
  max-width: var(--content-max);
  margin: 0 auto;
}

.container-text {
  max-width: var(--text-max);
  margin: 0 auto;
}

/* ============================================
   ANNOUNCEMENT BANNER - Fixed position with animation
   ============================================ */
.announcement-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: #F5F5F5;
  color: var(--color-black);
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  z-index: var(--z-banner);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.announcement-content {
  display: flex;
  white-space: nowrap;
  animation: scroll-banner 40s linear infinite;
  will-change: transform;
}

.announcement-item {
  padding: 0 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@keyframes scroll-banner {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Optional: Pause on hover */
.announcement-banner:hover .announcement-content {
  animation-play-state: paused;
}

/* ============================================
   TOP BAR - Consistent alignment
   ============================================ */
.top-bar {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-grey-light);
  padding: 0.75rem 0;
  z-index: var(--z-topbar);
  box-shadow: var(--shadow-sm);
}

.top-bar-content {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.navbar-brand {
  font-family: var(--font-logo);
  font-size: 1.5rem;
  font-weight: normal;
  color: var(--color-black) !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
}

.logo-image {
  height: 50px !important;
  width: auto;
}

/* ============================================
   SEARCH BAR - Better mobile behavior
   ============================================ */
.search-bar-form-compact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 580px;
  background: var(--color-grey-light);
  padding: 0.5rem 1rem;
  border-radius: 0px;
  margin: 0 auto;
}

.search-icon {
  width: 18px;
  height: 18px;
  color: var(--color-grey);
  flex-shrink: 0;
}

.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  color: var(--color-black);
  outline: none;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--color-grey);
}

/* ============================================
   NAV ICONS - Better touch targets
   ============================================ */
.nav-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-black);
  text-decoration: none;
  position: relative;
  transition: opacity var(--transition-base);
  padding: 0.5rem;
  margin: -0.5rem;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
}

.nav-icon:hover,
.nav-icon:focus {
  opacity: 0.7;
  color: var(--color-black);
  outline: none;
}

.nav-icon:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

.nav-icon .icon {
  width: 24px;
  height: 24px;
}

.nav-icon-text .nav-text {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ============================================
   CART BADGE - More visible
   ============================================ */
.badge-cart {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 7px;
  min-width: 20px;
  height: 20px;
  border-radius: 0px;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.badge-cart.has-items {
  display: flex;
}

/* ============================================
   MAIN NAVIGATION - Better alignment
   ============================================ */
.main-nav {
  background: var(--color-white);
  padding: 0.75rem 0;
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--color-grey-light);
}

.navbar-nav {
  gap: 0;
  align-items: center;
  justify-content: center;
}

.nav-link {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-black) !important;
  padding: 0.75rem 2rem !important;
  transition: color var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active,
.nav-link:focus {
  color: var(--color-grey) !important;
}

.nav-link:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: -2px;
}

/* ============================================
   MEGA MENU - HOVER-ONLY DROPDOWNS (UPDATED)
   ============================================ */
.mega-menu {
  position: static;
}

/* Show dropdown on hover only on desktop */
.mega-menu:hover>.dropdown-menu {
  display: block !important;
}

/* Hide dropdown by default */
.dropdown-menu {
  display: none !important;
}

/* Override Bootstrap's click behavior on desktop */
.mega-menu .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.3em;
  vertical-align: 0.15em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

.mega-dropdown {
  width: 100%;
  left: 0 !important;
  right: 0 !important;
  border: none;
  border-radius: 0px;
  margin-top: 0;
  padding: 2rem 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  position: absolute;
  top: 100%;
  z-index: var(--z-dropdown);
}

.mega-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--color-black);
  padding-bottom: 0.5rem;
}

.mega-dropdown .dropdown-item {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.875rem;
  font-weight: 400;
  padding: 0.5rem 1rem;
  color: var(--color-grey-dark);
  border-radius: 0px;
  transition: all var(--transition-base);
}

.mega-dropdown .dropdown-item:hover,
.mega-dropdown .dropdown-item:focus {
  background: var(--color-grey-light);
  color: var(--color-black);
}

.mega-dropdown .dropdown-item:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: -2px;
}

/* ============================================
   BUTTONS - Better states and accessibility
   ============================================ */
.btn {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0px !important;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-height: 44px;
  position: relative;
}

.btn:focus-visible {
  outline: 3px solid var(--color-black);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-grey-dark);
  color: var(--color-white);
}

.btn-primary:active {
  background: var(--color-black);
  transform: translateY(1px);
}

.btn-primary:disabled {
  background: var(--color-grey-light);
  color: var(--color-grey);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-secondary {
  background: var(--color-grey-light);
  color: var(--color-black);
}

.btn-secondary:hover {
  background: var(--color-grey);
  color: var(--color-white);
}

.btn-secondary:active {
  background: var(--color-grey-dark);
  transform: translateY(1px);
}

.btn-secondary:disabled {
  background: var(--color-grey-light);
  color: var(--color-grey);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-outline {
  background: transparent;
  color: var(--color-black);
  border: 1px solid var(--color-grey) !important;
}

.btn-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black) !important;
}

.btn-outline:active {
  transform: translateY(1px);
}

.btn-outline.active {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black) !important;
}

.btn-outline:disabled {
  background: transparent;
  color: var(--color-grey);
  border-color: var(--color-grey-light) !important;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  min-height: 36px;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  min-height: 52px;
}

/* ============================================
   HERO SECTION - Prevent content jumping
   ============================================ */
.hero-section {
  padding: 0;
  margin: 0;
  width: 100%;
  position: relative;
  min-height: 850px;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 850px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ============================================
   PRODUCT GRID - Consistent heights & spacing
   ============================================ */
.product-grid-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  padding: var(--spacing-lg) 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: var(--color-white);
  border-radius: 0px;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.product-image {
  width: 100%;
  aspect-ratio: 1;
  background: var(--color-grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-grey);
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
}

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

.product-info {
  padding: var(--spacing-sm);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.product-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--color-black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: var(--line-height-tight);
}

.product-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: auto;
}

/* ============================================
   DESIGN STUDIO SECTION - Black background
   ============================================ */
.design-studio-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-black);
  color: var(--color-white);
}

.design-studio-section .section-title {
  color: var(--color-white);
}

.design-description {
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 2rem;
  line-height: var(--line-height-relaxed);
}

.design-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.design-features li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-white);
  font-size: 0.95rem;
  line-height: var(--line-height-relaxed);
}

.design-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-white);
  font-weight: 700;
}

.studio-visual {
  background: var(--color-grey-dark);
  border-radius: 0px;
  padding: 4rem 2rem;
  text-align: center;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.studio-label {
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-white);
}

/* ============================================
   SERVICE CARDS - Consistent heights
   ============================================ */
.service-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}

.service-card {
  background: var(--color-grey-light);
  border-radius: 0px;
  padding: var(--spacing-md);
  text-align: center;
  transition: transform var(--transition-base);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 0px;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-black);
}

.service-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-description {
  color: var(--color-grey-dark);
  margin-bottom: var(--spacing-sm);
  line-height: var(--line-height-relaxed);
  flex: 1;
}

/* ============================================
   REVIEWS SECTION
   ============================================ */
.reviews-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-grey-light);
}

.review-card {
  background: var(--color-white);
  padding: var(--spacing-md);
  border-radius: 0px;
  height: 100%;
}

.review-stars {
  color: var(--color-black);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.review-text {
  color: var(--color-grey-dark);
  font-style: italic;
  margin-bottom: var(--spacing-sm);
  line-height: var(--line-height-relaxed);
}

.review-author {
  font-weight: 600;
  color: var(--color-black);
  font-size: 0.875rem;
}

/* ============================================
   CLIENTS BANNER
   ============================================ */
.clients-banner {
  padding: var(--spacing-md) 0;
  background: var(--color-black);
  color: var(--color-white);
  overflow: hidden;
}

.clients-title {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-sm);
  color: var(--color-white);
}

.clients-scroll {
  overflow: hidden;
}

.clients-content {
  display: flex;
  animation: scroll-clients 30s linear infinite;
  white-space: nowrap;
}

.client-item {
  padding: 0 3rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-white);
  opacity: 0.7;
}

@keyframes scroll-clients {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter-section {
  padding: var(--spacing-xl) 0;
  background: var(--color-white);
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form .form-control {
  flex: 1;
}

/* ============================================
   FORMS - Better validation and feedback
   ============================================ */
.form-control {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-grey);
  border-radius: 0px !important;
  background: var(--color-white);
  color: var(--color-black);
  width: 100%;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  line-height: var(--line-height-normal);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-control:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

.form-control::placeholder {
  color: var(--color-grey);
}

.form-control:invalid:not(:placeholder-shown) {
  border-color: #DC2626;
}

.form-control:valid:not(:placeholder-shown) {
  border-color: #059669;
}

.form-control:disabled {
  background: var(--color-grey-light);
  color: var(--color-grey);
  cursor: not-allowed;
  opacity: 0.6;
}

.form-label {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
  color: var(--color-black);
}

.form-check-input {
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-grey);
  border-radius: 0px;
  cursor: pointer;
}

.form-check-label {
  font-size: 0.875rem;
  margin-left: 0.5rem;
  cursor: pointer;
}

/* ============================================
   ALERT MESSAGES - Better visibility
   ============================================ */
.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0px !important;
  border: 1px solid transparent;
}

.alert-danger {
  background: #FEE2E2;
  border-color: #DC2626;
  color: #991B1B;
}

.alert-success {
  background: #D1FAE5;
  border-color: #059669;
  color: #065F46;
}

.alert-warning {
  background: #FEF3C7;
  border-color: #F59E0B;
  color: #92400E;
}

.alert-info {
  background: #DBEAFE;
}

/* ============================================
   PRODUCT CUSTOMIZATION STYLES
   ============================================ */
.product-customization {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: var(--color-grey-light);
}

.customization-group {
  margin-bottom: 1.5rem;
}

.customization-group:last-child {
  margin-bottom: 0;
}

.customization-label {
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: block;
  color: var(--color-black);
}

.color-swatches {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.color-swatch {
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-grey-light);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
}

.color-swatch:hover,
.color-swatch.active {
  border-color: var(--color-black);
  transform: scale(1.1);
}

.color-swatch.active::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.size-options,
.print-options,
.position-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.size-btn,
.print-btn,
.position-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-grey);
  background: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  min-width: 60px;
  text-align: center;
}

.size-btn:hover,
.print-btn:hover,
.position-btn:hover {
  border-color: var(--color-black);
}

.size-btn.active,
.print-btn.active,
.position-btn.active {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.artwork-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.artwork-btn {
  flex: 1;
  min-width: 200px;
  padding: 1rem;
  border: 2px dashed var(--color-grey);
  background: var(--color-white);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-base);
}

.artwork-btn:hover {
  border-color: var(--color-black);
  background: var(--color-grey-light);
}

.artwork-btn svg {
  width: 32px;
  height: 32px;
  margin-bottom: 0.5rem;
  color: var(--color-grey-dark);
}

.artwork-btn span {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.price-breakdown {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-grey);
}

.price-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.price-line.total {
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-grey);
}

/* ============================================
   FAQ ACCORDION STYLES
   ============================================ */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  width: 100%;
  padding: 1.5rem 0;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-black);
  transition: color var(--transition-base);
}

.faq-question:hover {
  color: var(--color-grey-dark);
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  margin: 0;
  color: var(--color-grey-dark);
  line-height: var(--line-height-relaxed);
}

/* ============================================
   GALLERY/REVIEWS GRID
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  aspect-ratio: 1;
  background: var(--color-grey-light);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ============================================
   SIDE-BY-SIDE LAYOUT UTILITIES
   ============================================ */
.layout-side-by-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.layout-side-by-side.reverse {
  direction: rtl;
}

.layout-side-by-side.reverse>* {
  direction: ltr;
}

.layout-side-by-side .content {
  padding: var(--spacing-md) 0;
}

.layout-side-by-side .visual {
  min-height: 300px;
  background: var(--color-grey-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.layout-side-by-side .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   HORIZONTAL RESOURCES LAYOUT
   ============================================ */
.resources-horizontal {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.resources-horizontal .service-card {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
}

@media (max-width: 991px) {
  .layout-side-by-side {
    grid-template-columns: 1fr;
  }

  .layout-side-by-side.reverse {
    direction: ltr;
  }

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

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

  .artwork-options {
    flex-direction: column;
  }

  .artwork-btn {
    min-width: 100%;
  }
}

/* ============================================
   SECTION SPACING - Consistent across pages
   ============================================ */
.section {
  padding: var(--spacing-lg) 0;
  max-width: 100%;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-subtitle {
  text-align: center;
  color: var(--color-grey-dark);
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-relaxed);
}

/* ============================================
   FOOTER - Fixed at bottom on short pages
   ============================================ */
footer {
  background: var(--color-white);
  padding: var(--spacing-lg) 0 var(--spacing-md);
  border-top: 1px solid var(--color-grey-light);
  margin-top: auto;
  flex-shrink: 0;
}

.footer-section {
  margin-bottom: var(--spacing-md);
}

.footer-title {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-sm);
  color: var(--color-black);
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--color-grey-dark);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--color-black);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
}

.social-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-grey-light);
  border-radius: 0px;
  color: var(--color-black);
  transition: all var(--transition-base);
}

.social-link:hover,
.social-link:focus {
  background: var(--color-black);
  color: var(--color-white);
}

.social-link:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   OFFCANVAS - Mobile cart improvements
   ============================================ */
.offcanvas {
  background: var(--color-white);
  border-radius: 0px !important;
  max-width: 400px;
}

.offcanvas-header {
  border-bottom: 1px solid var(--color-grey-light);
  padding: var(--spacing-sm) var(--spacing-md);
}

.offcanvas-title {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.offcanvas-body {
  padding: var(--spacing-md);
  overflow-y: auto;
  max-height: calc(100vh - 80px);
}

.btn-close {
  padding: var(--spacing-sm);
  min-width: 44px;
  min-height: 44px;
}

.btn-close:focus {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

/* ============================================
   CART ITEMS - Better mobile display
   ============================================ */
.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-grey-light);
}

.cart-item-image {
  width: 60px;
  height: 60px;
  background: var(--color-grey-light);
  border-radius: 0px;
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  min-width: 0;
}

.cart-item-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-price {
  font-size: 0.875rem;
  color: var(--color-grey-dark);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--color-grey);
  cursor: pointer;
  padding: 0.5rem;
  font-size: 1.25rem;
  line-height: 1;
  transition: color var(--transition-base);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-remove:hover,
.cart-item-remove:focus {
  color: var(--color-black);
}

.cart-item-remove:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

/* ============================================
   REGION DROPDOWN
   ============================================ */
.region-dropdown {
  min-width: 200px;
}

.region-dropdown .flag {
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

/* ============================================
   UTILITIES - Consistent spacing helpers
   ============================================ */
.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: var(--spacing-xs);
}

.mb-2 {
  margin-bottom: var(--spacing-sm);
}

.mb-3 {
  margin-bottom: var(--spacing-md);
}

.mb-4 {
  margin-bottom: var(--spacing-lg);
}

.mb-5 {
  margin-bottom: var(--spacing-xl);
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: var(--spacing-xs);
}

.mt-2 {
  margin-top: var(--spacing-sm);
}

.mt-3 {
  margin-top: var(--spacing-md);
}

.mt-4 {
  margin-top: var(--spacing-lg);
}

.mt-5 {
  margin-top: var(--spacing-xl);
}

.gap-1 {
  gap: var(--spacing-xs);
}

.gap-2 {
  gap: var(--spacing-sm);
}

.gap-3 {
  gap: var(--spacing-md);
}

.gap-4 {
  gap: var(--spacing-lg);
}

.g-3 {
  gap: var(--spacing-md);
}

.g-4 {
  gap: var(--spacing-lg);
}

.g-5 {
  gap: var(--spacing-xl);
}

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

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

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

.w-100 {
  width: 100%;
}

.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
}

/* ============================================
   LOADING STATES - Better UX
   ============================================ */
.spinner-border {
  width: 2rem;
  height: 2rem;
  border: 3px solid var(--color-grey-light);
  border-right-color: var(--color-black);
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
  to {
    transform: rotate(360deg);
  }
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Icon utilities */
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
}

.icon-sm {
  width: 16px;
  height: 16px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

/* ============================================
   RESPONSIVE - TABLET (768px - 991px)
   ============================================ */
@media (max-width: 991px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }

  body {
    padding-top: 180px;
  }

  .hero-carousel,
  .hero-section {
    min-height: 600px;
    height: 600px;
  }

  .navbar-nav {
    text-align: center;
    background: var(--color-white);
    padding: 1rem 0;
  }

  .main-nav {
    position: fixed;
  }

  /* Mobile: Allow click to expand dropdowns */
  .mega-menu .dropdown-toggle {
    pointer-events: auto !important;
  }

  .mega-dropdown {
    position: relative !important;
    box-shadow: none;
    background: var(--color-grey-light);
    padding: 1rem !important;
  }

  .mega-dropdown .row {
    flex-direction: column;
  }

  .product-grid-four,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }

  .nav-link {
    padding: 0.5rem 1.5rem !important;
  }

  .navbar-toggler {
    padding: 0.5rem 0.75rem;
    min-width: 44px;
    min-height: 44px;
  }
}

/* ============================================
   RESPONSIVE - MOBILE (below 768px)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 3rem;
  }

  body {
    padding-top: 140px;
  }

  .hero-carousel,
  .hero-section {
    min-height: 500px;
    height: 500px;
  }

  .top-bar-content {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0.5rem var(--spacing-sm);
  }

  .navbar-brand {
    grid-row: 1;
  }

  .search-bar-form-compact {
    grid-row: 2;
    max-width: 100%;
  }

  .top-bar-right {
    grid-row: 1;
    justify-self: end;
  }

  .nav-icon-text .nav-text {
    display: none;
  }

  .nav-icon {
    min-width: 48px;
    min-height: 48px;
  }

  .section {
    padding: var(--spacing-md) 0;
  }

  .product-grid-four,
  .product-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) 0;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .logo-image {
    height: 40px !important;
  }

  .mega-dropdown {
    padding: 1rem 0;
  }

  .design-studio-section .row {
    flex-direction: column-reverse;
  }

  .studio-visual {
    min-height: 200px;
    margin-bottom: 2rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .btn {
    padding: 0.875rem 1.25rem;
    min-height: 48px;
  }

  .btn-lg {
    padding: 1rem 1.5rem;
    min-height: 52px;
  }

  .form-control {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    min-height: 48px;
  }

  .footer-section {
    margin-bottom: var(--spacing-sm);
  }
}

/* ============================================
   RESPONSIVE - SMALL MOBILE (below 576px)
   ============================================ */
@media (max-width: 576px) {

  .hero-carousel,
  .hero-section {
    min-height: 400px;
    height: 400px;
  }

  .announcement-item {
    padding: 0 2rem;
  }

  .nav-link {
    padding: 0.5rem 1rem !important;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .offcanvas {
    max-width: 100%;
  }
}

/* ============================================
   ACCESSIBILITY - High contrast mode support
   ============================================ */
@media (prefers-contrast: high) {
  .btn-outline {
    border-width: 2px !important;
  }

  .form-control:focus {
    border-width: 2px;
  }
}

/* ============================================
   ACCESSIBILITY - Reduced motion support
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-slide {
    transition: none;
  }

  .announcement-content,
  .clients-content {
    animation: none;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {

  .announcement-banner,
  .top-bar,
  .main-nav,
  .btn,
  .offcanvas,
  footer {
    display: none !important;
  }

  body {
    padding-top: 0;
  }

  .section {
    page-break-inside: avoid;
  }
}