/** Shopify CDN: Minification failed

Line 832:13 Expected identifier but found whitespace
Line 832:19 Unexpected ";"

**/
/* ============================================================
   ALL CATEGORIES PRODUCT SHOWCASE - CSS
   Ultra Premium Shopify Section
   Version: 2.0.0
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --acg-bg: #ffffff;
  --acg-text: #333333;
  --acg-heading: #111111;
  --acg-price: #111111;
  --acg-badge-bg: #e53935;
  --acg-badge-text: #ffffff;
  --acg-card-bg: #ffffff;
  --acg-card-radius: 8px;
  --acg-card-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --acg-gap: 16px;
  --acg-container: 1400px;
  --acg-pt: 40px;
  --acg-pb: 40px;
}

/* ---- Section Container ---- */
.acg-section {
  background: var(--acg-bg);
  padding: var(--acg-pt) 16px var(--acg-pb);
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
}

.acg-section--full {
  max-width: 100%;
}

.acg-section--boxed {
  max-width: var(--acg-container);
  margin: 0 auto;
}

.acg-section--narrow {
  max-width: 960px;
  margin: 0 auto;
}

.acg-section--wide {
  max-width: 1600px;
  margin: 0 auto;
}

/* ---- Header ---- */
.acg-header {
  text-align: center;
  margin-bottom: 32px;
  max-width: var(--acg-container);
  margin-left: auto;
  margin-right: auto;
}

.acg-heading {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--acg-heading);
  margin: 0 0 8px;
  line-height: 1.2;
}

.acg-subheading {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--acg-text);
  margin: 0;
  opacity: 0.8;
}

/* ---- Container ---- */
.acg-container {
  max-width: var(--acg-container);
  margin: 0 auto;
  width: 100%;
}

/* ---- Empty State ---- */
.acg-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--acg-text);
  opacity: 0.6;
  font-size: 16px;
}

/* ============================================================
   CATEGORY BLOCK
   ============================================================ */
.acg-category {
  margin-bottom: var(--acg-block-margin, 40px);
  padding: var(--acg-block-padding, 24px);
  background: var(--acg-block-bg, transparent);
  border-radius: var(--acg-block-radius, 0);
}

.acg-category-header {
  margin-bottom: 24px;
}

.acg-category-title {
  font-size: var(--acg-title-size, 24px);
  font-weight: var(--acg-title-weight, 700);
  line-height: var(--acg-title-lh, 1.3);
  color: var(--acg-title-color, #111111);
  margin: 0;
  padding: 0;
}

.acg-title--small .acg-category-title { font-size: 18px; }
.acg-title--medium .acg-category-title { font-size: 24px; }
.acg-title--large .acg-category-title { font-size: 32px; }
.acg-title--xlarge .acg-category-title { font-size: 42px; }

.acg-title-align--left .acg-category-header { text-align: left; }
.acg-title-align--center .acg-category-header { text-align: center; }
.acg-title-align--right .acg-category-header { text-align: right; }

/* ============================================================
   PRODUCT CARD BASE
   ============================================================ */
.acg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--acg-card-bg, #ffffff);
  border-radius: var(--acg-card-radius, 8px);
  box-shadow: var(--acg-shadow, 0 4px 12px rgba(0, 0, 0, 0.1));
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.acg-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
}

/* ---- Card Grid Item ---- */
.acg-card--grid-item {
  width: 100%;
}

.acg-grid-item,
.acg-masonry-item,
.acg-bento-item,
.acg-wall-item,
.acg-horizontal-item,
.acg-carousel-slide,
.acg-compact-item,
.acg-premium-item,
.acg-zigzag-item,
.acg-gallery-item,
.acg-editorial-item,
.acg-magazine-item,
.acg-split-item,
.acg-lookbook-item,
.acg-sidebar-item {
  display: flex;
  flex-direction: column;
}

/* ---- Card Media ---- */
.acg-card__media {
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
  flex-shrink: 0;
  max-height: 400px;
}

.acg-card__image {
  width: 100%;
  height: 100%;
  max-height: 400px;
  display: block;
  transition: opacity 0.3s ease, transform 0.4s ease;
  object-fit: contain;
}

.acg-card__image--secondary {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}

.acg-card:hover .acg-card__image--secondary {
  opacity: 1;
}

.acg-card:hover .acg-card__image--primary {
  opacity: 0;
}

/* ---- Image Ratios ---- */
.acg-img--original .acg-card__image { aspect-ratio: auto; }
.acg-img--square .acg-card__media { aspect-ratio: 1 / 1; max-height: 350px; }
.acg-img--portrait .acg-card__media { aspect-ratio: 3 / 4; max-height: 400px; }
.acg-img--landscape .acg-card__media { aspect-ratio: 4 / 3; max-height: 300px; }
.acg-img--4-5 .acg-card__media { aspect-ratio: 4 / 5; max-height: 380px; }
.acg-img--3-4 .acg-card__media { aspect-ratio: 3 / 4; max-height: 400px; }
.acg-img--16-9 .acg-card__media { aspect-ratio: 16 / 9; max-height: 280px; }
.acg-img--21-9 .acg-card__media { aspect-ratio: 21 / 9; max-height: 220px; }

/* ---- Image Modes ---- */
.acg-img--cover .acg-card__image {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
}

.acg-img--contain .acg-card__image {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: contain;
}

.acg-img--auto-height .acg-card__image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

.acg-img--fixed .acg-card__image {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
}

/* ---- Badges ---- */
.acg-card__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}

.acg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.acg-badge--sale {
  background: var(--acg-badge-bg);
  color: var(--acg-badge-text);
}

.acg-badge--discount {
  background: var(--acg-badge-bg);
  color: var(--acg-badge-text);
}

.acg-badge--new {
  background: #2e7d32;
  color: #ffffff;
}

.acg-badge--bestseller {
  background: #ff9800;
  color: #ffffff;
}

/* ---- Card Content ---- */
.acg-card__content {
  padding: var(--acg-card-padding, 12px);
  display: flex;
  flex-direction: column;
  gap: var(--acg-content-gap, 4px);
  flex: 1;
}

.acg-card__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: inherit;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Rating ---- */
.acg-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
}

.acg-card__stars {
  display: flex;
  gap: 1px;
}

.acg-star {
  color: #ffc107;
  width: 14px;
  height: 14px;
}

.acg-star--half {
  color: #ffc107;
  opacity: 0.5;
}

.acg-card__rating-count {
  font-size: 12px;
  color: inherit;
  opacity: 0.6;
}

/* ---- Price ---- */
.acg-card__price {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.acg-card__price--current {
  font-weight: 700;
  color: var(--acg-price, #111111);
}

.acg-card__price--compare {
  text-decoration: line-through;
  opacity: 0.5;
  font-weight: 400;
  font-size: 0.9em;
}

/* ---- Discount Row ---- */
.acg-card__discount-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.acg-card__discount-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  background: #e53935;
  color: #ffffff;
}

.acg-card__save-price {
  font-size: 12px;
  font-weight: 500;
  color: #2e7d32;
}

/* Discount Badge Style Variations */
.acg-discount--flipkart .acg-card__discount-badge {
  background: #388e3c;
}

.acg-discount--flipkart .acg-card__save-price {
  color: #388e3c;
}

.acg-discount--amazon .acg-card__discount-badge {
  background: #cc0c39;
}

.acg-discount--amazon .acg-card__save-price {
  color: #cc0c39;
}

.acg-discount--rounded .acg-card__discount-badge {
  border-radius: 20px;
  padding: 3px 12px;
}

.acg-discount--outlined .acg-card__discount-badge {
  background: transparent;
  border: 1px solid #e53935;
  color: #e53935;
}

.acg-discount--dark .acg-card__discount-badge {
  background: #111111;
  color: #ffffff;
}

.acg-discount--dark .acg-card__save-price {
  color: #111111;
}

/* ---- Inventory ---- */
.acg-card__inventory {
  font-size: 12px;
}

.acg-inventory--low {
  color: #e53935;
}

.acg-inventory--in-stock {
  color: #2e7d32;
}

.acg-inventory--sold-out {
  color: #999999;
}

/* ---- Add to Cart Form ---- */
.acg-card__form {
  margin-top: auto;
  padding: 0 var(--acg-card-padding, 12px) var(--acg-card-padding, 12px);
}

.acg-card__add-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: #111111;
  color: #ffffff;
  border: none;
  border-radius: var(--acg-card-radius, 8px);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.acg-card__add-btn:hover {
  background: #333333;
}

.acg-card__add-btn:active {
  transform: scale(0.97);
}

/* ============================================================
   CARD STYLE VARIATIONS
   ============================================================ */
.acg-card--standard {
  border: none;
}

.acg-card--rounded {
  border-radius: 16px;
  --acg-card-radius: 16px;
}

.acg-card--bordered {
  border: 2px solid var(--acg-card-border-color, #e5e5e5);
  box-shadow: none;
}

.acg-card--elevated {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.acg-card--flat {
  box-shadow: none;
  border-radius: 0;
}

.acg-card--outlined {
  border: 1px solid var(--acg-card-border-color, #e5e5e5);
  box-shadow: none;
  border-radius: 12px;
}

.acg-card--glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.acg-card--neon {
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.3);
  border: 1px solid rgba(0, 200, 255, 0.5);
  border-radius: 12px;
}

.acg-card--neumorphic {
  box-shadow: 8px 8px 16px #d1d1d1, -8px -8px 16px #ffffff;
  border-radius: 16px;
  border: none;
}

.acg-card--gradient {
  background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
  border: none;
}

/* ============================================================
   HOVER EFFECTS
   ============================================================ */
.acg-hover--zoom:hover .acg-card__image--primary,
.acg-hover--zoom:hover .acg-card__image--secondary {
  transform: scale(1.08);
}

.acg-hover--zoom-fade:hover .acg-card__image--primary,
.acg-hover--zoom-fade:hover .acg-card__image--secondary {
  transform: scale(1.05);
  filter: brightness(0.95);
}

.acg-hover--lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.acg-hover--glow:hover {
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.acg-hover--border:hover {
  border: 2px solid var(--acg-badge-bg);
}

.acg-hover--overlay:hover::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.acg-hover--shake:hover {
  animation: acg-shake 0.5s ease;
}

.acg-hover--rotate:hover .acg-card__image--primary,
.acg-hover--rotate:hover .acg-card__image--secondary {
  transform: rotate(3deg) scale(1.05);
}

.acg-hover--flip:hover {
  transform: perspective(1000px) rotateY(5deg);
}

.acg-hover--pulse:hover {
  animation: acg-pulse 0.6s ease;
}

@keyframes acg-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
}

@keyframes acg-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
/* Default: content visible. Only hidden when JS-ready class is present */
.acg-anim--fade-up,
.acg-anim--fade-in,
.acg-anim--scale-up,
.acg-anim--slide-left,
.acg-anim--slide-right,
.acg-anim--bounce {
  opacity: 1;
  transform: none;
}

/* When JS has initialized, apply hidden state for animation */
.acg-js-ready .acg-anim--fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--acg-anim-duration, 600ms) ease, transform var(--acg-anim-duration, 600ms) ease;
}

.acg-js-ready .acg-anim--fade-up.acg-visible {
  opacity: 1;
  transform: translateY(0);
}

.acg-js-ready .acg-anim--fade-in {
  opacity: 0;
  transition: opacity var(--acg-anim-duration, 600ms) ease;
}

.acg-js-ready .acg-anim--fade-in.acg-visible {
  opacity: 1;
}

.acg-js-ready .acg-anim--scale-up {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--acg-anim-duration, 600ms) ease, transform var(--acg-anim-duration, 600ms) ease;
}

.acg-js-ready .acg-anim--scale-up.acg-visible {
  opacity: 1;
  transform: scale(1);
}

.acg-js-ready .acg-anim--slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity var(--acg-anim-duration, 600ms) ease, transform var(--acg-anim-duration, 600ms) ease;
}

.acg-js-ready .acg-anim--slide-left.acg-visible {
  opacity: 1;
  transform: translateX(0);
}

.acg-js-ready .acg-anim--slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity var(--acg-anim-duration, 600ms) ease, transform var(--acg-anim-duration, 600ms) ease;
}

.acg-js-ready .acg-anim--slide-right.acg-visible {
  opacity: 1;
  transform: translateX(0);
}

.acg-js-ready .acg-anim--stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--acg-anim-duration, 600ms) ease, transform var(--acg-anim-duration, 600ms) ease;
}

.acg-js-ready .acg-anim--stagger.acg-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.acg-js-ready .acg-anim--stagger > *:nth-child(1) { transition-delay: 0ms; }
.acg-js-ready .acg-anim--stagger > *:nth-child(2) { transition-delay: 80ms; }
.acg-js-ready .acg-anim--stagger > *:nth-child(3) { transition-delay: 160ms; }
.acg-js-ready .acg-anim--stagger > *:nth-child(4) { transition-delay: 240ms; }
.acg-js-ready .acg-anim--stagger > *:nth-child(5) { transition-delay: 320ms; }
.acg-js-ready .acg-anim--stagger > *:nth-child(6) { transition-delay: 400ms; }
.acg-js-ready .acg-anim--stagger > *:nth-child(7) { transition-delay: 480ms; }
.acg-js-ready .acg-anim--stagger > *:nth-child(8) { transition-delay: 560ms; }

.acg-js-ready .acg-anim--bounce.acg-visible > * {
  animation: acg-bounce-in 0.6s ease forwards;
}

@keyframes acg-bounce-in {
  0% { opacity: 0; transform: scale(0.3); }
  50% { opacity: 1; transform: scale(1.05); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* ============================================================
   LAYOUT: GRID
   ============================================================ */
.acg-grid {
  display: grid;
  grid-template-columns: repeat(var(--acg-block-cols, 4), 1fr);
  gap: var(--acg-gap);
  grid-auto-flow: dense;
}

/* ============================================================
   LAYOUT: MASONRY
   ============================================================ */
.acg-masonry {
  columns: var(--acg-block-cols, 4);
  column-gap: var(--acg-gap);
}

.acg-masonry-item {
  break-inside: avoid;
  margin-bottom: var(--acg-gap);
  display: inline-block;
  width: 100%;
}

/* ============================================================
   LAYOUT: BENTO
   ============================================================ */
.acg-bento {
  display: grid;
  grid-template-columns: repeat(var(--acg-block-cols, 4), 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: var(--acg-gap);
}

.acg-bento-item--large {
  grid-column: span 2;
  grid-row: span 2;
}

.acg-bento-item--wide {
  grid-column: span 2;
}

.acg-bento-item--tall {
  grid-row: span 2;
}

/* ============================================================
   LAYOUT: HORIZONTAL SCROLL
   ============================================================ */
.acg-horizontal-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
  padding-bottom: 8px;
}

.acg-horizontal-scroll::-webkit-scrollbar {
  height: 6px;
}

.acg-horizontal-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.acg-horizontal-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.acg-horizontal-track {
  display: flex;
  gap: var(--acg-gap);
  padding: 4px 0;
  width: max-content;
}

.acg-horizontal-item {
  flex: 0 0 280px;
  width: 280px;
}

/* ============================================================
   LAYOUT: PRODUCT WALL
   ============================================================ */
.acg-product-wall {
  display: grid;
  grid-template-columns: repeat(var(--acg-block-cols, 4), 1fr);
  gap: var(--acg-gap);
}

.acg-product-wall .acg-card {
  aspect-ratio: 3 / 4;
}

.acg-product-wall .acg-card__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.acg-product-wall .acg-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #ffffff;
  padding: 20px 16px 16px;
}

.acg-product-wall .acg-card__title {
  color: #ffffff;
}

.acg-product-wall .acg-card__price {
  color: #ffffff;
}

.acg-product-wall .acg-card__price--compare {
  opacity: 0.7;
}
  object-fit: cover;
}

/* ============================================================
   LAYOUT: CAROUSEL
   ============================================================ */
.acg-carousel {
  position: relative;
  overflow: hidden;
}

.acg-carousel-track {
  display: flex;
  gap: var(--acg-gap);
  transition: transform 0.4s ease;
  padding: 4px 0;
}

.acg-carousel-slide {
  flex: 0 0 calc((100% - var(--acg-gap) * (var(--acg-block-cols, 4) - 1)) / var(--acg-block-cols, 4));
  min-width: 0;
}

.acg-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: background 0.2s, box-shadow 0.2s;
}

.acg-carousel-btn:hover {
  background: #f5f5f5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.acg-carousel-btn--prev {
  left: 8px;
}

.acg-carousel-btn--next {
  right: 8px;
}

/* ============================================================
   LAYOUT: MAGAZINE
   ============================================================ */
.acg-magazine {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--acg-gap);
}

.acg-magazine-item--featured {
  grid-column: 1 / -1;
}

.acg-magazine-item--half {
  grid-column: span 1;
}

/* ============================================================
   LAYOUT: LUXURY
   ============================================================ */
.acg-layout--luxury.acg-grid {
  gap: 2px;
}

.acg-layout--luxury .acg-card {
  border-radius: 0;
  box-shadow: none;
}

.acg-layout--luxury .acg-card__content {
  background: #000000;
  color: #ffffff;
}

.acg-layout--luxury .acg-card__title {
  color: #ffffff;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
}

.acg-layout--luxury .acg-card__price--current {
  color: #ffffff;
  font-weight: 300;
}

.acg-layout--luxury .acg-card__price--compare {
  color: rgba(255,255,255,0.5);
}

.acg-layout--luxury .acg-card__discount-badge {
  background: #c9a96e;
  color: #000000;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 0;
  letter-spacing: 1px;
}

.acg-layout--luxury .acg-card__save-price {
  color: #c9a96e;
  font-size: 11px;
}

/* ============================================================
   LAYOUT: TECH
   ============================================================ */
.acg-layout--tech .acg-card {
  border-radius: 16px;
  border: 1px solid #e0e0e0;
  box-shadow: none;
}

.acg-layout--tech .acg-card__content {
  background: #fafafa;
  border-top: 3px solid #2196f3;
}

.acg-layout--tech .acg-badge--sale {
  background: #2196f3;
}

/* ============================================================
   LAYOUT: BEAUTY
   ============================================================ */
.acg-layout--beauty .acg-card {
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.acg-layout--beauty .acg-card__content {
  text-align: center;
  padding: 16px 12px;
}

.acg-layout--beauty .acg-card__title {
  font-weight: 400;
  letter-spacing: 0.5px;
}

.acg-layout--beauty .acg-card__price {
  justify-content: center;
}

.acg-layout--beauty .acg-card__discount-row {
  justify-content: center;
}

.acg-layout--beauty .acg-card__discount-badge {
  background: #e91e63;
  border-radius: 20px;
  font-size: 10px;
  padding: 3px 10px;
}

.acg-layout--beauty .acg-card__save-price {
  color: #e91e63;
  font-size: 11px;
}

/* ============================================================
   LAYOUT: FASHION
   ============================================================ */
.acg-layout--fashion .acg-card {
  border-radius: 0;
}

.acg-layout--fashion .acg-card__media {
  aspect-ratio: 3 / 4;
}

.acg-layout--fashion .acg-card__content {
  padding: 12px 4px;
}

.acg-layout--fashion .acg-card__title {
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ============================================================
   LAYOUT: FLIPKART
   ============================================================ */
.acg-layout--flipkart .acg-card {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  box-shadow: none;
}

.acg-layout--flipkart .acg-card__content {
  padding: 12px;
  border-top: 1px solid #f0f0f0;
}

.acg-layout--flipkart .acg-card__title {
  font-size: 13px;
  font-weight: 400;
  -webkit-line-clamp: 2;
}

.acg-layout--flipkart .acg-badge--discount {
  background: #388e3c;
  font-size: 12px;
  padding: 2px 6px;
}

.acg-layout--flipkart .acg-card__discount-badge {
  background: #388e3c;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
}

.acg-layout--flipkart .acg-card__save-price {
  color: #388e3c;
  font-weight: 600;
}

/* ============================================================
   LAYOUT: AMAZON
   ============================================================ */
.acg-layout--amazon .acg-card {
  border: 1px solid #d5d9d9;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.acg-layout--amazon .acg-card__content {
  padding: 12px;
}

.acg-layout--amazon .acg-card__discount-badge {
  background: #cc0c39;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
}

.acg-layout--amazon .acg-card__save-price {
  color: #cc0c39;
  font-weight: 500;
  font-size: 12px;
}

.acg-layout--amazon .acg-card__add-btn {
  background: #ffd814;
  color: #0f1111;
  border: 1px solid #fcd200;
  border-radius: 20px;
  font-size: 12px;
}

.acg-layout--amazon .acg-card__add-btn:hover {
  background: #f7ca00;
}

/* ============================================================
   LAYOUT: MODERN CARDS
   ============================================================ */
.acg-layout--modern-cards .acg-card {
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.acg-layout--modern-cards .acg-card__content {
  padding: 16px;
}

.acg-layout--modern-cards .acg-card__add-btn {
  border-radius: 12px;
}

/* ============================================================
   LAYOUT: MINIMAL CARDS
   ============================================================ */
.acg-layout--minimal-cards .acg-card {
  box-shadow: none;
  border: 1px solid #f0f0f0;
  border-radius: 4px;
}

.acg-layout--minimal-cards .acg-card__content {
  padding: 12px 8px;
}

.acg-layout--minimal-cards .acg-card__title {
  font-weight: 500;
}

/* ============================================================
   LAYOUT: HERO CARDS
   ============================================================ */
.acg-layout--hero-cards.acg-grid {
  grid-template-columns: repeat(2, 1fr);
}

.acg-layout--hero-cards .acg-grid-item:first-child {
  grid-column: 1 / -1;
}

.acg-layout--hero-cards .acg-grid-item:first-child .acg-card__media {
  aspect-ratio: 16 / 9;
}

.acg-layout--hero-cards .acg-grid-item:first-child .acg-card__content {
  padding: 24px;
}

.acg-layout--hero-cards .acg-grid-item:first-child .acg-card__title {
  font-size: 24px;
  -webkit-line-clamp: 3;
}

/* ============================================================
   LAYOUT: MIXED CARDS
   ============================================================ */
.acg-layout--mixed-cards .acg-grid-item:nth-child(4n+1) .acg-card__media {
  aspect-ratio: 1 / 1;
}

.acg-layout--mixed-cards .acg-grid-item:nth-child(4n+2) .acg-card__media {
  aspect-ratio: 3 / 4;
}

.acg-layout--mixed-cards .acg-grid-item:nth-child(4n+3) .acg-card__media {
  aspect-ratio: 4 / 3;
}

.acg-layout--mixed-cards .acg-grid-item:nth-child(4n+4) .acg-card__media {
  aspect-ratio: 16 / 9;
}

/* ============================================================
   LAYOUT: EDITORIAL
   ============================================================ */
.acg-editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--acg-gap);
}

.acg-editorial-item:first-child {
  grid-column: 1 / -1;
}

.acg-editorial-item:first-child .acg-card {
  flex-direction: row;
  min-height: 300px;
}

.acg-editorial-item:first-child .acg-card__media {
  flex: 0 0 50%;
  aspect-ratio: 16 / 10;
}

.acg-editorial-item:first-child .acg-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.acg-editorial-item:first-child .acg-card__title {
  font-size: 24px;
  -webkit-line-clamp: 3;
}

.acg-editorial-item:first-child .acg-card__title {
  font-size: 28px;
  -webkit-line-clamp: 3;
}

/* ============================================================
   LAYOUT: COMPACT
   ============================================================ */
.acg-compact {
  display: grid;
  grid-template-columns: repeat(var(--acg-block-cols, 4), 1fr);
  gap: 8px;
}

.acg-compact .acg-card {
  border-radius: 4px;
  box-shadow: none;
  border: 1px solid #f0f0f0;
}

.acg-compact .acg-card__media {
  aspect-ratio: 1 / 1;
}

.acg-compact .acg-card__content {
  padding: 8px;
}

.acg-compact .acg-card__title {
  font-size: 11px;
  -webkit-line-clamp: 1;
}

.acg-compact .acg-card__price {
  font-size: 12px;
}

/* ============================================================
   LAYOUT: PREMIUM SHOWCASE
   ============================================================ */
.acg-premium-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.acg-premium-showcase .acg-card {
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.acg-premium-showcase .acg-card__media {
  aspect-ratio: 4 / 5;
}

.acg-premium-showcase .acg-card__content {
  padding: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.acg-premium-showcase .acg-card__title {
  font-size: 16px;
  font-weight: 600;
}

/* ============================================================
   LAYOUT: SPLIT SHOWCASE
   ============================================================ */
.acg-split-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--acg-gap);
}

.acg-split-item--full {
  grid-column: 1 / -1;
}

.acg-split-item--full .acg-card {
  flex-direction: row;
  min-height: 400px;
}

.acg-split-item--full .acg-card__media {
  flex: 0 0 50%;
}

.acg-split-item--full .acg-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.acg-split-item--half .acg-card__media {
  aspect-ratio: 1 / 1;
}

/* ============================================================
   LAYOUT: ZIGZAG
   ============================================================ */
.acg-zigzag {
  display: flex;
  flex-direction: column;
  gap: var(--acg-gap);
}

.acg-zigzag-item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--acg-gap);
}

.acg-zigzag-item:nth-child(even) {
  direction: rtl;
}

.acg-zigzag-item:nth-child(even) > * {
  direction: ltr;
}

.acg-zigzag-item .acg-card__media {
  aspect-ratio: 4 / 3;
}

/* ============================================================
   LAYOUT: GALLERY
   ============================================================ */
.acg-gallery {
  display: grid;
  grid-template-columns: repeat(var(--acg-block-cols, 4), 1fr);
  gap: 4px;
}

.acg-gallery .acg-card {
  border-radius: 0;
  box-shadow: none;
}

.acg-gallery .acg-card__media {
  aspect-ratio: 1 / 1;
}

.acg-gallery .acg-card__content {
  display: none;
}

.acg-gallery .acg-card:hover .acg-card__content {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 16px;
  z-index: 2;
}

.acg-gallery .acg-card:hover .acg-card__title {
  color: #ffffff;
}

.acg-gallery .acg-card:hover .acg-card__price--current {
  color: #ffffff;
}

/* ============================================================
   LAYOUT: LOOKBOOK
   ============================================================ */
.acg-lookbook {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--acg-gap);
}

.acg-lookbook-item--hero {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

.acg-lookbook-item--hero .acg-card {
  height: 100%;
}

.acg-lookbook-item--hero .acg-card__media {
  aspect-ratio: 1 / 1;
  flex: 1;
}

.acg-lookbook-item--grid .acg-card__media {
  aspect-ratio: 1 / 1;
}

/* ============================================================
   LAYOUT: SIDEBAR
   ============================================================ */
.acg-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--acg-gap);
}

.acg-sidebar-item--featured {
  grid-row: 1 / 3;
}

.acg-sidebar-item--featured .acg-card__media {
  aspect-ratio: 3 / 4;
}

.acg-sidebar-item--list .acg-card {
  flex-direction: row;
}

.acg-sidebar-item--list .acg-card__media {
  flex: 0 0 120px;
  aspect-ratio: 1 / 1;
}

.acg-sidebar-item--list .acg-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   MOBILE LAYOUTS
   ============================================================ */
.acg-mobile--single .acg-grid,
.acg-mobile--single .acg-compact,
.acg-mobile--single .acg-product-wall {
  grid-template-columns: 1fr !important;
}

.acg-mobile--two-column .acg-grid,
.acg-mobile--two-column .acg-compact,
.acg-mobile--two-column .acg-product-wall {
  grid-template-columns: repeat(2, 1fr) !important;
}

.acg-mobile--horizontal-scroll .acg-grid,
.acg-mobile--horizontal-scroll .acg-compact,
.acg-mobile--horizontal-scroll .acg-product-wall {
  display: flex !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  grid-template-columns: none !important;
}

.acg-mobile--horizontal-scroll .acg-grid .acg-grid-item,
.acg-mobile--horizontal-scroll .acg-compact .acg-compact-item,
.acg-mobile--horizontal-scroll .acg-product-wall .acg-wall-item {
  flex: 0 0 220px;
  min-width: 220px;
}

.acg-mobile--stacked .acg-grid,
.acg-mobile--stacked .acg-compact {
  grid-template-columns: 1fr !important;
  gap: 24px !important;
}

.acg-mobile--stacked .acg-card {
  flex-direction: row;
}

.acg-mobile--stacked .acg-card__media {
  flex: 0 0 120px;
  aspect-ratio: 1 / 1;
}

.acg-mobile--compact .acg-grid,
.acg-mobile--compact .acg-compact {
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 8px !important;
}

.acg-mobile--compact .acg-card__content {
  padding: 8px !important;
}

.acg-mobile--compact .acg-card__title {
  font-size: 11px !important;
  -webkit-line-clamp: 1 !important;
}

.acg-mobile--compact .acg-card__add-btn {
  display: none;
}

/* ============================================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ============================================================ */
@media screen and (max-width: 1024px) {
  .acg-section {
    padding: calc(var(--acg-pt) * 0.75) 12px calc(var(--acg-pb) * 0.75);
  }

  .acg-card__media {
    max-height: 320px;
  }

  .acg-card__image {
    max-height: 320px;
  }

  .acg-grid,
  .acg-compact,
  .acg-product-wall {
    grid-template-columns: repeat(var(--acg-block-cols-tablet, 3), 1fr) !important;
  }

  .acg-masonry {
    columns: var(--acg-block-cols-tablet, 3);
  }

  .acg-bento {
    grid-template-columns: repeat(var(--acg-block-cols-tablet, 3), 1fr);
    grid-auto-rows: minmax(180px, auto);
  }

  .acg-editorial {
    grid-template-columns: repeat(2, 1fr);
  }

  .acg-premium-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  .acg-lookbook {
    grid-template-columns: repeat(2, 1fr);
  }

  .acg-sidebar-layout {
    grid-template-columns: 1fr;
  }

  .acg-sidebar-item--featured {
    grid-row: auto;
  }

  .acg-editorial-item:first-child .acg-card {
    flex-direction: column;
  }

  .acg-editorial-item:first-child .acg-card__media {
    flex: none;
    aspect-ratio: 16 / 9;
  }

  .acg-split-item--full .acg-card {
    flex-direction: column;
  }

  .acg-split-item--full .acg-card__media {
    flex: none;
  }

  .acg-carousel-slide {
    flex: 0 0 calc((100% - var(--acg-gap) * (var(--acg-block-cols-tablet, 3) - 1)) / var(--acg-block-cols-tablet, 3));
  }
}

/* ============================================================
   RESPONSIVE - MOBILE (max-width: 767px)
   ============================================================ */
@media screen and (max-width: 767px) {
  .acg-section {
    padding: 24px 10px;
  }

  .acg-heading {
    font-size: 22px;
  }

  .acg-subheading {
    font-size: 14px;
  }

  .acg-category {
    padding: 16px;
    margin-bottom: 24px;
  }

  .acg-category-title {
    font-size: 18px;
  }

  .acg-card__discount-row {
    gap: 6px;
  }

  .acg-card__discount-badge {
    font-size: 10px;
    padding: 2px 6px;
  }

  .acg-card__save-price {
    font-size: 11px;
  }

  .acg-grid,
  .acg-compact,
  .acg-product-wall {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .acg-masonry {
    columns: 1;
    column-gap: 10px;
  }

  .acg-masonry-item {
    margin-bottom: 10px;
  }

  .acg-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(150px, auto);
    gap: 10px;
  }

  .acg-bento-item--large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .acg-bento-item--tall {
    grid-row: span 1;
  }

  .acg-magazine {
    grid-template-columns: 1fr;
  }

  .acg-magazine-item--half {
    grid-column: span 1;
  }

  .acg-editorial {
    grid-template-columns: 1fr;
  }

  .acg-premium-showcase {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .acg-lookbook {
    grid-template-columns: 1fr;
  }

  .acg-lookbook-item--hero {
    grid-column: auto;
    grid-row: auto;
  }

  .acg-zigzag-item {
    grid-template-columns: 1fr;
  }

  .acg-zigzag-item:nth-child(even) {
    direction: ltr;
  }

  .acg-split-showcase {
    grid-template-columns: 1fr;
  }

  .acg-split-item--full .acg-card {
    flex-direction: column;
  }

  .acg-sidebar-layout {
    grid-template-columns: 1fr;
  }

  .acg-horizontal-item {
    flex: 0 0 240px;
    width: 240px;
  }

  .acg-carousel-slide {
    flex: 0 0 calc((100% - var(--acg-gap)) / 2);
  }
}

/* ============================================================
   RESPONSIVE - SMALL MOBILE (max-width: 479px)
   ============================================================ */
@media screen and (max-width: 479px) {
  .acg-section {
    padding: 20px 8px;
  }

  .acg-heading {
    font-size: 20px;
  }

  .acg-category-title {
    font-size: 16px;
  }

  .acg-card__content {
    padding: 8px;
  }

  .acg-card__title {
    font-size: 12px;
  }

  .acg-card__price {
    font-size: 13px;
  }

  .acg-card__discount-badge {
    font-size: 9px;
    padding: 2px 5px;
  }

  .acg-card__save-price {
    font-size: 10px;
  }

  .acg-badge {
    font-size: 9px;
    padding: 3px 6px;
  }

  .acg-card__rating {
    display: none;
  }

  .acg-card__inventory {
    display: none;
  }

  .acg-carousel-slide {
    flex: 0 0 100%;
  }
}

/* ============================================================
   RESPONSIVE - LARGE DESKTOP (min-width: 1440px)
   ============================================================ */
@media screen and (min-width: 1440px) {
  .acg-container {
    max-width: 1600px;
  }

  .acg-premium-showcase {
    gap: 32px;
  }

  .acg-card__content {
    padding: 16px;
  }
}

/* ============================================================
   ULTRA WIDE (min-width: 1920px)
   ============================================================ */
@media screen and (min-width: 1920px) {
  .acg-container {
    max-width: 1800px;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .acg-section {
    padding: 0;
    background: white;
  }

  .acg-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .acg-card__add-btn,
  .acg-carousel-btn {
    display: none;
  }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .acg-card,
  .acg-card__image,
  .acg-card__image--secondary {
    transition: none !important;
  }

  .acg-js-ready .acg-anim--fade-up,
  .acg-js-ready .acg-anim--fade-in,
  .acg-js-ready .acg-anim--scale-up,
  .acg-js-ready .acg-anim--slide-left,
  .acg-js-ready .acg-anim--slide-right,
  .acg-js-ready .acg-anim--stagger > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
