/* Combined CSS file with Tailwind base styles and custom styles */

/*
! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: "";
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
  tab-size: 4;
  /* 3 */
  font-family: Inter, sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type="button"]),
input:where([type="reset"]),
input:where([type="submit"]) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

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

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

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

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

/* Custom styles from the original project */

@import url("https://fonts.googleapis.com/css2?family=Symphony:wght@400;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Sanchez:wght@400&display=swap");

:root {
  /* Primary Colors */
  --color-primary: #b14249;
  /* brand-red */
  --color-primary-dark: #8b3339;
  /* brand-red-dark */
  --color-accent: #d4545c;
  /* brand-red-light */
  /* Background Colors */
  --color-background: #ffffff;
  /* white */
  --color-surface: #f2f1eb;
  /* warm-grey-50 */
  /* Text Colors */
  --color-text-primary: #1a1a1a;
  /* grey-900 */
  --color-text-secondary: #666666;
  /* grey-600 */
  /* Status Colors */
  --color-success: #22c55e;
  /* green-500 */
  --color-warning: #f59e0b;
  /* amber-500 */
  --color-error: #ef4444;
  /* red-500 */
  /* Border Colors */
  --color-border: #e5e5e5;
  /* grey-200 */
  --color-border-active: #b14249;
  /* brand-red */
  /* Shadow Colors */
  --shadow-cta: 0 4px 12px rgba(177, 66, 73, 0.15);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.1);

  /* Brand colors from the original project */
  --brand-red: #b14249;
  --brand-grey: #f2f1eb;
  --text-dark: #2d2d2d;
  --text-light: #666666;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--color-text-primary);
  background-color: var(--color-background);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Symphony", cursive;
  font-weight: 600;
}

.font-symphony {
  font-family: "Dancing Script", cursive;
}

.font-sanchez {
  font-family: "Sanchez", serif;
}

/* Animation keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-8px) rotate(2deg);
  }
  66% {
    transform: translateY(4px) rotate(-1deg);
  }
}

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

/* Scroll animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in-up.animate {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in-left.animate {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in-right.animate {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in-scale.animate {
  opacity: 1;
  transform: scale(1);
}

/* Enhanced Creative Grid Design */
.creative-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .creative-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .creative-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.creative-product-card {
  position: relative;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transform: translateY(20px);
  opacity: 0;
}

.creative-product-card.animate {
  transform: translateY(0);
  opacity: 1;
}

.creative-product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.creative-product-card:nth-child(odd) {
  transform: translateY(20px) rotate(1deg);
}

.creative-product-card:nth-child(even) {
  transform: translateY(20px) rotate(-1deg);
}

.creative-product-card:nth-child(odd).animate {
  transform: translateY(0) rotate(0deg);
}

.creative-product-card:nth-child(even).animate {
  transform: translateY(0) rotate(0deg);
}

.creative-product-card:nth-child(odd):hover {
  transform: translateY(-12px) scale(1.02) rotate(2deg);
}

.creative-product-card:nth-child(even):hover {
  transform: translateY(-12px) scale(1.02) rotate(-2deg);
}

.creative-card-header {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.creative-card-header::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(177, 66, 73, 0.1) 0%,
    transparent 70%
  );
  transform: scale(0);
  transition: transform 0.6s ease;
}

.creative-product-card:hover .creative-card-header::before {
  transform: scale(1);
}

.creative-icon-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.4s ease;
}

.creative-product-card:hover .creative-icon-container {
  transform: translate(-50%, -50%) scale(1.1) rotate(5deg);
}

.creative-icon {
  font-size: 4rem;
  animation: float 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.creative-card-content {
  padding: 1.5rem;
  position: relative;
}

.creative-card-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: #1f2937;
}

.creative-card-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.creative-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.creative-price {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--brand-red);
}

.creative-badge {
  font-size: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.creative-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s ease;
}

.creative-badge:hover::before {
  left: 100%;
}

.pulse-badge {
  animation: pulse 2s infinite;
}

/* Special styling for different card types */
.creative-product-card:nth-child(1) .creative-card-header {
  background: linear-gradient(135deg, #fef3f2, #fecaca);
}

.creative-product-card:nth-child(2) .creative-card-header {
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.creative-product-card:nth-child(3) .creative-card-header {
  background: linear-gradient(135deg, #fefce8, #fef3c7);
}

.creative-product-card:nth-child(4) .creative-card-header {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.creative-product-card:nth-child(5) .creative-card-header {
  background: linear-gradient(135deg, #faf5ff, #ede9fe);
}

.creative-product-card:nth-child(6) .creative-card-header {
  background: linear-gradient(135deg, #fff7ed, #fed7aa);
}

.creative-product-card:nth-child(7) .creative-card-header {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

/* Parallax scroll effect for hero */
.hero-parallax {
  transform: translateY(0px);
  transition: transform 0.1s ease-out;
}

/* Smooth reveal animation */
.reveal-text {
  overflow: hidden;
}

.reveal-text span {
  display: inline-block;
  transform: translateY(100%);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-text.animate span {
  transform: translateY(0%);
}

/* Modal Styles */
#productModal {
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease-out;
}

#productModal .bg-white {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Enhanced Responsive Carousel Styles */
#imageCarousel {
  height: 300px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
}

@media (min-width: 640px) {
  #imageCarousel {
    height: 400px;
    border-radius: 20px;
  }
}

@media (min-width: 768px) {
  #imageCarousel {
    height: 500px;
  }
}

@media (min-width: 1024px) {
  #imageCarousel {
    height: 600px;
  }
}

#carouselTrack {
  height: 100%;
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  display: block;
}

.carousel-slide img:hover {
  transform: scale(1.03);
  filter: brightness(1.05) contrast(1.1);
}

/* Creative Navigation Buttons */
#prevBtn,
#nextBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 10;
  opacity: 0.8;
}

@media (min-width: 768px) {
  #prevBtn,
  #nextBtn {
    width: 60px;
    height: 60px;
    opacity: 0.9;
  }
}

#prevBtn {
  left: 15px;
}

#nextBtn {
  right: 15px;
}

@media (min-width: 768px) {
  #prevBtn {
    left: 20px;
  }
  #nextBtn {
    right: 20px;
  }
}

#prevBtn:hover,
#nextBtn:hover {
  transform: translateY(-50%) scale(1.15);
  background: var(--brand-red);
  color: white;
  box-shadow: 0 12px 40px rgba(177, 66, 73, 0.3);
  opacity: 1;
}

#prevBtn svg,
#nextBtn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  #prevBtn svg,
  #nextBtn svg {
    width: 24px;
    height: 24px;
  }
}

#prevBtn:hover svg,
#nextBtn:hover svg {
  transform: scale(1.2);
}

/* Enhanced Carousel Indicators */
#carouselIndicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 16px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  #carouselIndicators {
    bottom: 20px;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 50px;
  }
}

#carouselIndicators button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  background: #cbd5e1;
}

@media (min-width: 768px) {
  #carouselIndicators button {
    width: 12px;
    height: 12px;
  }
}

#carouselIndicators button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--brand-red), #d4545c);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

#carouselIndicators button.active {
  background: var(--brand-red);
}

#carouselIndicators button.active::before {
  transform: scale(1);
}

#carouselIndicators button:hover {
  transform: scale(1.3);
}

#carouselIndicators button:hover::before {
  transform: scale(1);
}

/* Image counter overlay */
.image-counter {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  z-index: 10;
}

@media (min-width: 768px) {
  .image-counter {
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
  }
}

/* Loading animation for images */
@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.image-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* Touch/Swipe Support */
#imageCarousel {
  touch-action: pan-y;
  user-select: none;
}

.carousel-slide {
  pointer-events: none;
}

.carousel-slide img {
  pointer-events: auto;
}

/* Modal content scrollbar */
.overflow-y-auto::-webkit-scrollbar {
  width: 6px;
}

.overflow-y-auto::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-0 {
  inset: 0px;
}

.top-0 {
  top: 0px;
}

.z-10 {
  z-index: 10;
}

.z-50 {
  z-index: 50;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-10 {
  height: 2.5rem;
}

.h-16 {
  height: 4rem;
}

.h-4 {
  height: 1rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.h-96 {
  height: 24rem;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.w-10 {
  width: 2.5rem;
}

.w-16 {
  width: 4rem;
}

.w-4 {
  width: 1rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.w-full {
  width: 100%;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y))
    rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y))
    scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.cursor-not-allowed {
  cursor: not-allowed;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-12 {
  gap: 3rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.space-x-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(2rem * var(--tw-space-x-reverse));
  margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}

.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-l-4 {
  border-left-width: 4px;
}

.border-t {
  border-top-width: 1px;
}

.border-gray-100 {
  border-color: rgb(243 244 246 / 1);
}

.border-gray-300 {
  border-color: rgb(209 213 219 / 1);
}

.border-gray-700 {
  border-color: rgb(55 65 81 / 1);
}

.bg-black {
  background-color: rgb(0 0 0 / 1);
}

.bg-blue-100 {
  background-color: rgb(219 234 254 / 1);
}

.bg-gray-100 {
  background-color: rgb(243 244 246 / 1);
}

.bg-gray-50 {
  background-color: rgb(249 250 251 / 1);
}

.bg-gray-800 {
  background-color: rgb(31 41 55 / 1);
}

.bg-green-100 {
  background-color: rgb(220 252 231 / 1);
}

.bg-green-500 {
  background-color: rgb(34 197 94 / 1);
}

.bg-orange-100 {
  background-color: rgb(255 237 213 / 1);
}

.bg-purple-100 {
  background-color: rgb(243 232 255 / 1);
}

.bg-red-600 {
  background-color: rgb(220 38 38 / 1);
}

.bg-white {
  background-color: rgb(255 255 255 / 1);
}

.bg-white\/20 {
  background-color: rgb(255 255 255 / 0.2);
}

.bg-white\/60 {
  background-color: rgb(255 255 255 / 0.6);
}

.bg-white\/95 {
  background-color: rgb(255 255 255 / 0.95);
}

.bg-yellow-100 {
  background-color: rgb(254 249 195 / 1);
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-red-50 {
  --tw-gradient-from: #fef2f2 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(254 242 242 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-pink-50 {
  --tw-gradient-to: #fdf2f8 var(--tw-gradient-to-position);
}

.object-cover {
  -o-object-fit: cover;
  object-fit: cover;
}

.p-12 {
  padding: 3rem;
}

.p-2 {
  padding: 0.5rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.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;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.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;
}

.pt-16 {
  padding-top: 4rem;
}

.pt-8 {
  padding-top: 2rem;
}

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

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.leading-relaxed {
  line-height: 1.625;
}

.text-blue-700 {
  color: rgb(29 78 216 / 1);
}

.text-gray-300 {
  color: rgb(209 213 219 / 1);
}

.text-gray-400 {
  color: rgb(156 163 175 / 1);
}

.text-gray-600 {
  color: rgb(75 85 99 / 1);
}

.text-gray-700 {
  color: rgb(55 65 81 / 1);
}

.text-gray-800 {
  color: rgb(31 41 55 / 1);
}

.text-gray-900 {
  color: rgb(17 24 39 / 1);
}

.text-green-100 {
  color: rgb(220 252 231 / 1);
}

.text-green-600 {
  color: rgb(22 163 74 / 1);
}

.text-green-700 {
  color: rgb(21 128 61 / 1);
}

.text-orange-700 {
  color: rgb(194 65 12 / 1);
}

.text-purple-700 {
  color: rgb(126 34 206 / 1);
}

.text-white {
  color: rgb(255 255 255 / 1);
}

.text-yellow-700 {
  color: rgb(161 98 7 / 1);
}

.opacity-75 {
  opacity: 0.75;
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color),
    0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.drop-shadow {
  --tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / 0.1))
    drop-shadow(0 1px 1px rgb(0 0 0 / 0.06));
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)
    var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate)
    var(--tw-sepia) var(--tw-drop-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast)
    var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate)
    var(--tw-sepia) var(--tw-drop-shadow);
}

.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  -webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)
    var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)
    var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)
    var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)
    var(--tw-backdrop-sepia);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)
    var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)
    var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)
    var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)
    var(--tw-backdrop-sepia);
}

.transition {
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
    -webkit-backdrop-filter;
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
    backdrop-filter;
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
    backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.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;
}

.ease-in-out {
  transition-timing-function: ease-in-out;
}

.hover\:bg-gray-800:hover {
  background-color: rgb(31 41 55 / 1);
}

.hover\:bg-green-50:hover {
  background-color: rgb(240 253 244 / 1);
}

.hover\:bg-green-600:hover {
  background-color: rgb(22 163 74 / 1);
}

.hover\:bg-red-700:hover {
  background-color: rgb(185 28 28 / 1);
}

.hover\:text-red-600:hover {
  color: rgb(220 38 38 / 1);
}

.hover\:text-white:hover {
  color: rgb(255 255 255 / 1);
}

.focus\:border-red-500:focus {
  border-color: rgb(239 68 68 / 1);
}

.focus\:ring-red-500:focus {
  --tw-ring-color: rgb(239 68 68 / 1);
}

@media (min-width: 640px) {
  .sm\:text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }

  .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .sm\:text-8xl {
    font-size: 6rem;
    line-height: 1;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
/* Modal Styles */
#productModal {
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease-out;
}

#productModal .bg-white {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Enhanced Carousel Sty
#imageCarousel {
  height: 500px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

#carouselTrack {
  height: 100%;
}

#carouselTrack img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 20px;
}

#carouselTrack img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* Creative Navigation Buttons */
#prevBtn,
#nextBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 10;
}

#prevBtn {
  left: 20px;
}

#nextBtn {
  right: 20px;
}

#prevBtn:hover,
#nextBtn:hover {
  transform: translateY(-50%) scale(1.15);
  background: var(--brand-red);
  color: white;
  box-shadow: 0 12px 40px rgba(177, 66, 73, 0.3);
}

#prevBtn svg,
#nextBtn svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

#prevBtn:hover svg,
#nextBtn:hover svg {
  transform: scale(1.2);
}

/* Enhanced Carousel Indicators */
#carouselIndicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  padding: 12px 20px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#carouselIndicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

#carouselIndicators button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--brand-red), #d4545c);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

#carouselIndicators button.active::before {
  transform: scale(1);
}

#carouselIndicators button:hover {
  transform: scale(1.3);
}

#carouselIndicators button:hover::before {
  transform: scale(1);
}

/* Image counter overlay */
.image-counter {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  z-index: 10;
}

/* Loading animation for images */
@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.image-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* Modal content scrollbar */
.overflow-y-auto::-webkit-scrollbar {
  width: 6px;
}

.overflow-y-auto::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
/* Mod
al Styles */
#productModal {
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease-out;
}

#productModal .bg-white {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Enhanced Responsive Carousel Styles */
#imageCarousel {
  height: 200px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  max-width: 100%;
}

@media (min-width: 480px) {
  #imageCarousel {
    height: 220px;
    border-radius: 14px;
  }
}

@media (min-width: 640px) {
  #imageCarousel {
    height: 240px;
    border-radius: 16px;
  }
}

@media (min-width: 768px) {
  #imageCarousel {
    height: 280px;
    border-radius: 18px;
  }
}

@media (min-width: 1024px) {
  #imageCarousel {
    height: 320px;
    border-radius: 20px;
  }
}

@media (min-width: 1280px) {
  #imageCarousel {
    height: 360px;
  }
}

#carouselTrack {
  height: 100%;
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  pointer-events: none;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s ease;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: auto;
}

.carousel-slide img:hover {
  transform: scale(1.02);
  filter: brightness(1.05) contrast(1.05);
}

/* Creative Navigation Buttons */
#prevBtn,
#nextBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  opacity: 0.9;
}

@media (min-width: 480px) {
  #prevBtn,
  #nextBtn {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 768px) {
  #prevBtn,
  #nextBtn {
    width: 40px;
    height: 40px;
  }
}

@media (min-width: 1024px) {
  #prevBtn,
  #nextBtn {
    width: 44px;
    height: 44px;
  }
}

#prevBtn {
  left: 8px;
}

#nextBtn {
  right: 8px;
}

@media (min-width: 480px) {
  #prevBtn {
    left: 10px;
  }
  #nextBtn {
    right: 10px;
  }
}

@media (min-width: 768px) {
  #prevBtn {
    left: 12px;
  }
  #nextBtn {
    right: 12px;
  }
}

@media (min-width: 1024px) {
  #prevBtn {
    left: 16px;
  }
  #nextBtn {
    right: 16px;
  }
}

#prevBtn:hover,
#nextBtn:hover {
  transform: translateY(-50%) scale(1.05);
  background: var(--brand-red);
  color: white;
  box-shadow: 0 6px 20px rgba(177, 66, 73, 0.3);
  opacity: 1;
}

#prevBtn svg,
#nextBtn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

@media (min-width: 480px) {
  #prevBtn svg,
  #nextBtn svg {
    width: 16px;
    height: 16px;
  }
}

@media (min-width: 768px) {
  #prevBtn svg,
  #nextBtn svg {
    width: 18px;
    height: 18px;
  }
}

@media (min-width: 1024px) {
  #prevBtn svg,
  #nextBtn svg {
    width: 20px;
    height: 20px;
  }
}

#prevBtn:hover svg,
#nextBtn:hover svg {
  transform: scale(1.2);
}

/* Enhanced Carousel Indicators */
#carouselIndicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px 8px;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 480px) {
  #carouselIndicators {
    bottom: 10px;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 18px;
  }
}

@media (min-width: 768px) {
  #carouselIndicators {
    bottom: 12px;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
  }
}

@media (min-width: 1024px) {
  #carouselIndicators {
    bottom: 16px;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 24px;
  }
}

#carouselIndicators button {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: #cbd5e1;
}

@media (min-width: 480px) {
  #carouselIndicators button {
    width: 6px;
    height: 6px;
  }
}

@media (min-width: 768px) {
  #carouselIndicators button {
    width: 7px;
    height: 7px;
  }
}

@media (min-width: 1024px) {
  #carouselIndicators button {
    width: 8px;
    height: 8px;
  }
}

#carouselIndicators button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--brand-red), #d4545c);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

#carouselIndicators button.active {
  background: var(--brand-red);
}

#carouselIndicators button.active::before {
  transform: scale(1);
}

#carouselIndicators button:hover {
  transform: scale(1.3);
}

#carouselIndicators button:hover::before {
  transform: scale(1);
}

/* Image counter overlay */
.image-counter {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 3px 6px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  z-index: 10;
}

@media (min-width: 480px) {
  .image-counter {
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
  }
}

@media (min-width: 768px) {
  .image-counter {
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 14px;
    font-size: 12px;
  }
}

@media (min-width: 1024px) {
  .image-counter {
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
  }
}

/* Loading animation for images */
@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.image-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* Modal responsive adjustments */
@media (max-width: 640px) {
  #productModal .bg-white {
    margin: 10px;
    max-height: calc(100vh - 20px);
  }

  #productModal .p-6 {
    padding: 1rem;
  }

  #productModal .overflow-y-auto {
    max-height: calc(100vh - 200px);
  }
}

@media (max-width: 480px) {
  #productModal .bg-white {
    margin: 5px;
    max-height: calc(100vh - 10px);
    border-radius: 12px;
  }

  #productModal .overflow-y-auto {
    max-height: calc(100vh - 180px);
  }
}

/* Modal content scrollbar */
.overflow-y-auto::-webkit-scrollbar {
  width: 6px;
}

.overflow-y-auto::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
} /*
 Professional Standard Carousel Styles */
#imageCarousel {
  height: 180px;
  background: #f8fafc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  max-width: 100%;
}

@media (min-width: 640px) {
  #imageCarousel {
    height: 200px;
    border-radius: 10px;
  }
}

@media (min-width: 768px) {
  #imageCarousel {
    height: 220px;
    border-radius: 12px;
  }
}

@media (min-width: 1024px) {
  #imageCarousel {
    height: 240px;
  }
}

#carouselTrack {
  height: 100%;
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.carousel-slide img:hover {
  transform: scale(1.02);
}

/* Compact Navigation Buttons */
#prevBtn,
#nextBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
  opacity: 0.8;
}

@media (min-width: 768px) {
  #prevBtn,
  #nextBtn {
    width: 32px;
    height: 32px;
  }
}

#prevBtn {
  left: 6px;
}

#nextBtn {
  right: 6px;
}

@media (min-width: 768px) {
  #prevBtn {
    left: 8px;
  }
  #nextBtn {
    right: 8px;
  }
}

#prevBtn:hover,
#nextBtn:hover {
  transform: translateY(-50%) scale(1.05);
  background: var(--brand-red);
  color: white;
  opacity: 1;
}

#prevBtn svg,
#nextBtn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  #prevBtn svg,
  #nextBtn svg {
    width: 14px;
    height: 14px;
  }
}

/* Compact Indicators */
#carouselIndicators {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3px;
  background: rgba(255, 255, 255, 0.8);
  padding: 3px 6px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  #carouselIndicators {
    bottom: 8px;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 14px;
  }
}

#carouselIndicators button {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #cbd5e1;
}

@media (min-width: 768px) {
  #carouselIndicators button {
    width: 5px;
    height: 5px;
  }
}

#carouselIndicators button.active {
  background: var(--brand-red);
  transform: scale(1.2);
}

#carouselIndicators button:hover {
  transform: scale(1.3);
  background: var(--brand-red);
}

/* Compact Image Counter */
.image-counter {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 2px 5px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 500;
  z-index: 10;
}

@media (min-width: 768px) {
  .image-counter {
    top: 8px;
    right: 8px;
    padding: 3px 6px;
    border-radius: 10px;
    font-size: 10px;
  }
}

/* Loading State */
.image-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

/* Modal Responsive Adjustments */
@media (max-width: 640px) {
  #productModal .bg-white {
    margin: 8px;
    max-height: calc(100vh - 16px);
  }

  #productModal .p-6 {
    padding: 0.75rem;
  }

  #productModal .overflow-y-auto {
    max-height: calc(100vh - 160px);
  }
}

@media (max-width: 480px) {
  #productModal .bg-white {
    margin: 4px;
    max-height: calc(100vh - 8px);
    border-radius: 8px;
  }

  #productModal .overflow-y-auto {
    max-height: calc(100vh - 140px);
  }

  #imageCarousel {
    height: 160px;
  }
} /* Force 
Professional Modal Sizing */
#productModal .bg-white {
  width: 90% !important;
  max-width: 380px !important;
}

@media (min-width: 640px) {
  #productModal .bg-white {
    max-width: 480px !important;
  }
}

@media (min-width: 768px) {
  #productModal .bg-white {
    max-width: 550px !important;
  }
}

@media (min-width: 1024px) {
  #productModal .bg-white {
    max-width: 600px !important;
  }
}

/* Professional Carousel Sizing - Taller for full image view */
#productModal #imageCarousel {
  height: 200px !important;
  max-height: 250px !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  #productModal #imageCarousel {
    height: 220px !important;
  }
}

@media (min-width: 768px) {
  #productModal #imageCarousel {
    height: 250px !important;
  }
}

@media (min-width: 1024px) {
  #productModal #imageCarousel {
    height: 280px !important;
    max-height: 280px !important;
  }
}

/* Modal Content Height Control */
#productModal .overflow-y-auto {
  max-height: 45vh !important;
}

@media (min-width: 768px) {
  #productModal .overflow-y-auto {
    max-height: 50vh !important;
  }
}

@media (min-width: 1024px) {
  #productModal .overflow-y-auto {
    max-height: 55vh !important;
  }
}
/* Fix text overflow and modal content */
#productModal .p-6 {
  padding: 1rem !important;
  overflow: hidden !important;
}

@media (min-width: 768px) {
  #productModal .p-6 {
    padding: 1.5rem !important;
  }
}

/* Ensure ALL text stays within bounds */
#productModal * {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#modalDescription {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

#modalDescription h4 {
  font-size: 1rem !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.4 !important;
}

@media (min-width: 768px) {
  #modalDescription h4 {
    font-size: 1.125rem !important;
  }
}

#modalDescription p {
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
  margin-bottom: 0.75rem !important;
}

@media (min-width: 768px) {
  #modalDescription p {
    font-size: 0.9rem !important;
  }
}

#modalDescription ul {
  font-size: 0.875rem !important;
  margin-bottom: 0.75rem !important;
  padding-left: 1.2rem !important;
}

@media (min-width: 768px) {
  #modalDescription ul {
    font-size: 0.9rem !important;
  }
}

#modalDescription li {
  margin-bottom: 0.3rem !important;
  line-height: 1.4 !important;
}

/* Modal header improvements */
#modalTitle {
  font-size: 1.25rem !important;
  line-height: 1.3 !important;
}

@media (min-width: 768px) {
  #modalTitle {
    font-size: 1.5rem !important;
  }
}

/* Close button improvements */
#productModal button[onclick="closeProductModal()"] {
  font-size: 1.75rem !important;
  font-weight: 300 !important;
  line-height: 1 !important;
}

@media (min-width: 768px) {
  #productModal button[onclick="closeProductModal()"] {
    font-size: 2rem !important;
  }
}

/* Modal content height adjustments */
#productModal .overflow-y-auto {
  max-height: 60vh !important;
}

@media (min-width: 768px) {
  #productModal .overflow-y-auto {
    max-height: 65vh !important;
  }
}

@media (min-width: 1024px) {
  #productModal .overflow-y-auto {
    max-height: 70vh !important;
  }
}
/* Fix price and badge overflow */
#modalPrice {
  font-size: 1.25rem !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

@media (min-width: 768px) {
  #modalPrice {
    font-size: 1.5rem !important;
  }
}

#modalBadge {
  font-size: 0.75rem !important;
  padding: 0.25rem 0.5rem !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 120px !important;
}

@media (min-width: 768px) {
  #modalBadge {
    font-size: 0.8rem !important;
    padding: 0.375rem 0.75rem !important;
    max-width: 150px !important;
  }
}

/* Fix bottom section layout */
#productModal .flex.justify-between.items-center {
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
}

@media (max-width: 640px) {
  #productModal .flex.justify-between.items-center {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  #productModal .flex.justify-between.items-center > div:first-child {
    text-align: center !important;
  }

  #productModal .flex.justify-between.items-center a {
    text-align: center !important;
    width: 100% !important;
  }
}

/* Ensure modal container doesn't overflow */
#productModal .bg-white {
  overflow: hidden !important;
}

#productModal .overflow-y-auto {
  overflow-x: hidden !important;
  padding-right: 0.5rem !important;
}

/* Force container width constraints */
#productModal .relative.mb-8 {
  width: 100% !important;
  overflow: hidden !important;
}

/* Image counter positioning fix */
.image-counter {
  max-width: 60px !important;
  text-align: center !important;
  font-size: 0.7rem !important;
}

@media (min-width: 768px) {
  .image-counter {
    font-size: 0.75rem !important;
    max-width: 70px !important;
  }
}
/* Ensure full text visibility */
#modalDescription {
  min-height: auto !important;
  height: auto !important;
  overflow: visible !important;
}

/* Remove any height restrictions that might cut off text */
#productModal .p-6 {
  min-height: auto !important;
  height: auto !important;
}

/* Ensure scrolling works properly for long content */
#productModal .overflow-y-auto {
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

/* Custom scrollbar for webkit browsers */
#productModal .overflow-y-auto::-webkit-scrollbar {
  width: 6px;
}

#productModal .overflow-y-auto::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

#productModal .overflow-y-auto::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

#productModal .overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Ensure proper spacing for all content */
#productModal .relative.mb-8 {
  margin-bottom: 1.5rem !important;
}

#productModal .mt-6.pt-6 {
  margin-top: 1.5rem !important;
  padding-top: 1.5rem !important;
}
/* Logo styling - Larger sizes */
nav img[alt="birthdayeve Logo"] {
  height: 3.5rem;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

nav img[alt="birthdayeve Logo"]:hover {
  transform: scale(1.05);
}

footer img[alt="birthdayeve Logo"] {
  height: 3rem;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: brightness(1.1);
}

/* Responsive logo adjustments */
@media (max-width: 640px) {
  nav img[alt="BirthdayEve Logo"] {
    height: 2.5rem;
    max-width: 120px;
  }
  
  footer img[alt="BirthdayEve Logo"] {
    height: 2.25rem;
    max-width: 100px;
  }
}

/* Logo container adjustments for larger logos */
nav .flex.items-center {
  min-height: 3.5rem;
}

footer .flex.items-center {
  min-height: 3rem;
}

/* Adjust navbar height for larger logo */
nav .flex.justify-between.items-center {
  min-height: 4rem;
}/
* Instagram Social Link Enhancements */
.instagram-card {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(240, 148, 51, 0.4);
}

/* Instagram footer link hover effect */
footer a[href*="instagram"]:hover {
  color: #e91e63 !important;
  transform: translateX(5px);
}

/* Instagram icon animations */
.instagram-card svg {
  transition: transform 0.3s ease;
}

.instagram-card:hover svg {
  transform: scale(1.1) rotate(-5deg);
}

/* Responsive adjustments for social grid */
@media (max-width: 1024px) {
  .grid.lg\\:grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid.lg\\:grid-cols-3 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}/* For
ce grid layout for social cards */
#find-us .grid {
  display: grid !important;
}

/* Ensure proper grid columns on desktop */
@media (min-width: 1024px) {
  #find-us .grid.lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Ensure proper grid columns on tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  #find-us .grid.md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Single column on mobile */
@media (max-width: 767px) {
  #find-us .grid {
    grid-template-columns: 1fr !important;
  }
}
/* So
cial Grid Layout - Force proper grid display */
.social-grid {
  display: grid !important;
  gap: 2rem !important;
  max-width: 72rem !important;
  margin: 0 auto !important;
}

/* Desktop: 3 columns */
@media (min-width: 1024px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Tablet: 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
  .social-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}/* I
nstagram Card Content Styling */
.instagram-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.instagram-card h3 {
  color: white !important;
}

.instagram-card p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.instagram-card a {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #8b5cf6 !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.instagram-card a:hover {
  background: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}
/* Prod
uct Detail Page Styles */
#productDetailPage {
  transition: opacity 0.3s ease-in-out;
}

#productDetailPage.show {
  opacity: 1;
}

/* Product Image Gallery Styles */
#productImageGallery {
  height: 450px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  position: relative;
}

@media (min-width: 640px) {
  #productImageGallery {
    height: 550px;
    border-radius: 20px;
  }
}

@media (min-width: 768px) {
  #productImageGallery {
    height: 650px;
  }
}

@media (min-width: 1024px) {
  #productImageGallery {
    height: 700px;
  }
}

#productCarouselTrack {
  height: 100%;
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-carousel-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.4s ease;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-carousel-slide img:hover {
  transform: scale(1.02);
  filter: brightness(1.05) contrast(1.1);
}

/* Product Navigation Buttons */
#productPrevBtn,
#productNextBtn {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
  z-index: 10;
  opacity: 0.8;
}

#productPrevBtn:hover,
#productNextBtn:hover {
  transform: translateY(-50%) scale(1.15);
  background: var(--brand-red) !important;
  color: white !important;
  box-shadow: 0 12px 40px rgba(177, 66, 73, 0.3);
  opacity: 1;
}

/* Product Thumbnails */
#productThumbnails {
  min-width: max-content;
}

.product-thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  flex-shrink: 0;
}

.product-thumbnail:hover {
  transform: scale(1.05);
  border-color: var(--brand-red);
}

.product-thumbnail.active {
  border-color: var(--brand-red);
  box-shadow: 0 4px 12px rgba(177, 66, 73, 0.3);
}

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

@media (min-width: 768px) {
  .product-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 12px;
  }
}

/* Product Detail Content */
#productDetailDescription {
  line-height: 1.7;
}

#productDetailDescription h4 {
  color: var(--brand-red);
  margin-bottom: 1rem;
}

#productDetailDescription ul {
  margin: 1rem 0;
}

#productDetailDescription li {
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

/* Touch/Swipe Support for Product Gallery */
#productImageGallery {
  touch-action: pan-y;
  user-select: none;
}

.product-carousel-slide {
  pointer-events: none;
}

.product-carousel-slide img {
  pointer-events: auto;
}

/* Loading animation for product images */
.product-image-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* Responsive adjustments for product detail page */
@media (max-width: 768px) {
  #productDetailPage .grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  #productDetailTitle {
    font-size: 2rem;
    line-height: 2.25rem;
  }
  
  #productDetailPrice {
    font-size: 2rem;
  }
  
  .product-thumbnail {
    width: 60px;
    height: 60px;
  }
}

/* Smooth page transitions */
.page-transition {
  transition: all 0.3s ease-in-out;
}

.page-hidden {
  opacity: 0;
  transform: translateY(20px);
}

.page-visible {
  opacity: 1;
  transform: translateY(0);
}/* 
Enhanced Product Detail Page Responsive Design */
@media (max-width: 1024px) {
  #productDetailPage .grid {
    gap: 2rem;
  }
  
  #productDetailTitle {
    font-size: 2.5rem;
    line-height: 2.75rem;
  }
  
  #productDetailPrice {
    font-size: 2.25rem;
  }
}

@media (max-width: 768px) {
  #productDetailPage .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  #productDetailTitle {
    font-size: 2rem;
    line-height: 2.25rem;
    text-align: center;
  }
  
  #productDetailPrice {
    font-size: 1.875rem;
  }
  
  .product-thumbnail {
    width: 60px;
    height: 60px;
  }
  
  #productImageGallery {
    height: 350px;
  }
  
  .product-carousel-slide {
    padding: 15px;
  }
  
  /* Center align product info on mobile */
  #productDetailPage .space-y-8 > div:first-child {
    text-align: center;
  }
  
  #productDetailPage .space-y-8 > div:first-child .flex {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  #productDetailTitle {
    font-size: 1.75rem;
    line-height: 2rem;
  }
  
  #productDetailPrice {
    font-size: 1.5rem;
  }
  
  #productDetailBadge {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  .product-thumbnail {
    width: 50px;
    height: 50px;
  }
  
  #productImageGallery {
    height: 300px;
  }
  
  .product-carousel-slide {
    padding: 10px;
  }
}

/* CTA Button Improvements */
#productCTASection .max-w-xs {
  min-width: 200px;
  max-width: 280px;
}

#productCTASection a {
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
}

@media (min-width: 640px) {
  #productCTASection a {
    font-size: 1rem;
    padding: 0.875rem 1.75rem;
  }
}

/* Ensure hero section stays centered */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: calc(100vh - 4rem);
}

/* Better spacing for product detail content */
#productDetailDescription {
  line-height: 1.7;
}

#productDetailDescription h4 {
  color: var(--brand-red);
  margin-bottom: 1rem;
  font-weight: 600;
}

#productDetailDescription ul {
  margin: 1rem 0;
  padding-left: 1rem;
}

#productDetailDescription li {
  margin-bottom: 0.5rem;
  position: relative;
}

/* Smooth transitions for all elements */
#productDetailPage * {
  transition: all 0.2s ease;
}

/* Better focus states for accessibility */
#productDetailPage button:focus,
#productDetailPage a:focus {
  outline: 2px solid var(--brand-red);
  outline-offset: 2px;
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--brand-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}/* B
ack to Shop Button Improvements */
#backToShopBtn {
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background-color: transparent;
  border: 1px solid transparent;
}

#backToShopBtn:hover {
  background-color: rgba(239, 68, 68, 0.05);
  border-color: rgba(239, 68, 68, 0.2);
}

#backToShopBtn svg {
  flex-shrink: 0;
}

/* Breadcrumb improvements */
.breadcrumb-separator {
  color: #d1d5db;
  font-weight: normal;
}

/* Image gallery container improvements */
.product-carousel-slide {
  background: transparent;
}

.product-carousel-slide img {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Better image loading states */
.product-image-loading {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* Navigation button improvements */
#productPrevBtn,
#productNextBtn {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

#productPrevBtn svg,
#productNextBtn svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 768px) {
  #productPrevBtn,
  #productNextBtn {
    width: 48px;
    height: 48px;
  }
  
  #productPrevBtn svg,
  #productNextBtn svg {
    width: 20px;
    height: 20px;
  }
}

/* Thumbnail improvements */
.product-thumbnail {
  border-radius: 8px;
  overflow: hidden;
  background: white;
  border: 2px solid transparent;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-thumbnail img {
  object-fit: cover;
  transition: transform 0.2s ease;
}

.product-thumbnail:hover img {
  transform: scale(1.05);
}

.product-thumbnail.active {
  border-color: var(--brand-red);
  box-shadow: 0 4px 12px rgba(177, 66, 73, 0.3);
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
  #backToShopBtn {
    font-size: 0.875rem;
    padding: 0.375rem 0.5rem;
  }
  
  #backToShopBtn svg {
    width: 16px;
    height: 16px;
    margin-right: 0.25rem;
  }
  
  .breadcrumb-separator {
    display: none;
  }
  
  #productBreadcrumb {
    display: none;
  }
}

/* Better spacing for product detail navigation */
.product-detail-nav {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f3f4f6;
}

@media (min-width: 768px) {
  .product-detail-nav {
    margin-bottom: 2.5rem;
  }
}

/* === Magazine Templates Modal and Sub-Templates === */
.product-modal, .carousel-modal {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.product-modal .modal-content {
  animation: slideUp 0.4s ease;
}

.sub-template-card {
  background: white;
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: all 0.4s ease;
  cursor: pointer;
}

.sub-template-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.carousel-content {
  animation: slideUp 0.4s ease;
}

.carousel-images img {
  flex: 0 0 auto;
  width: 300px;
  transition: transform 0.4s ease;
}

.carousel-images img:hover {
  transform: scale(1.05);
}


/* Fix: ensure product detail page remains functional and modals stack correctly */
#magazineModal, .carousel-modal {
  display: none;
}
#magazineModal.active, .carousel-modal.active {
  display: flex;
}




/* Assistant-inserted: Magazine/Carousel/Calendar styles */
.be-modal { position: fixed; inset: 0; display: none; align-items: flex-start; justify-content: center; z-index: 9999; }
.be-modal.hidden { display: none; }
.be-modal .be-modal-backdrop { position: absolute; inset:0; background: rgba(255,255,255,0.85); backdrop-filter: blur(6px); }
.be-modal-panel { position: relative; width: 100%; max-width: 1200px; margin: 24px; background: #fff; border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,0.12); overflow: hidden; display: flex; flex-direction: column; max-height: calc(100vh - 48px); }
.be-modal-header { padding: 18px 22px; border-bottom: 1px solid rgba(0,0,0,0.04); text-align: center; }
.be-modal-title { font-size: 1.75rem; margin-top: 6px; }
.be-modal-sub { margin-top: 6px; color: var(--text-light); }
.be-modal-body { padding: 18px; overflow-y: auto; }
/* grid */
.be-mag-grid { display: grid; grid-template-columns: repeat(1,1fr); gap: 16px; }
@media(min-width:640px){ .be-mag-grid { grid-template-columns: repeat(2,1fr); } }
@media(min-width:1024px){ .be-mag-grid { grid-template-columns: repeat(4,1fr); } }
.be-sub-card { background: #fff; border: 1px solid rgba(0,0,0,0.04); border-radius: 12px; padding: 12px; text-align: center; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.be-sub-card img { width:100%; height:160px; object-fit:cover; border-radius:8px; display:block; margin-bottom:8px; }
.be-sub-card h3 { margin:0; font-size: 1rem; color: #1f2937; }
/* carousel */
.be-carousel { position: fixed; inset:0; z-index:10001; display:none; align-items:center; justify-content:center; }
.be-carousel.be-open { display:flex; }
.be-carousel.hidden { display:none; }
.be-carousel-backdrop { position:absolute; inset:0; background: rgba(0,0,0,0.6); }
.be-carousel-panel { position:relative; width:100%; max-width:90vw; max-height:90vh; margin: 24px; background: #fff; border-radius:12px; overflow:hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.3); display:flex; align-items:center; justify-content:center; }
.be-carousel-track { display:flex; width:100%; transition: transform .5s ease; }
.be-slide { min-width:100%; height: 80vh; display:flex; align-items:center; justify-content:center; }
.be-slide img { width:100%; height:100%; object-fit:contain; background: #fff; }
/* nav */
.be-prev, .be-next { position:absolute; top:50%; transform:translateY(-50%); background:#fff; border-radius:999px; width:48px; height:48px; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 20px rgba(0,0,0,0.12); cursor:pointer; }
.be-prev { left:12px; } .be-next { right:12px; }
.be-indicators { position:absolute; bottom:12px; left:50%; transform:translateX(-50%); display:flex; gap:8px; z-index:10; }
.be-ind { width:10px; height:10px; border-radius:50%; background:#cbd5e1; border:none; cursor:pointer; }
.be-ind.active { background: var(--brand-red); }
.be-counter { position:absolute; top:12px; right:12px; background: rgba(0,0,0,0.6); color:#fff; padding:6px 10px; border-radius:999px; font-size:13px; }
/* fixed top-right back */
.be-fixed-back { position: fixed; top: 16px; right: 16px; z-index: 10005; background: var(--brand-red); color: #fff; font-weight: 600; border: none; border-radius: 999px; padding: 10px 18px; font-size: 16px; cursor: pointer; box-shadow: 0 3px 8px rgba(0,0,0,0.15); transition: all 0.25s ease; display:none; }
.be-fixed-back:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(0,0,0,0.25); }
/* close buttons */
.be-modal-close { background:transparent; border:none; cursor:pointer; font-weight:600; color:var(--brand-red); }
.be-left-close { 
  position: absolute; 
  top: 16px; 
  left: 16px; 
  z-index: 10; 
  background: rgba(255,255,255,0.9); 
  border: 1px solid rgba(0,0,0,0.1); 
  border-radius: 8px; 
  padding: 8px 12px; 
  font-size: 14px; 
  font-weight: 600; 
  color: var(--brand-red); 
  cursor: pointer; 
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}
.be-left-close:hover { 
  background: rgba(255,255,255,1); 
  transform: translateY(-1px); 
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); 
}
/* animations */
@keyframes beFadeIn { from{ opacity:0; transform: translateY(10px) scale(.995);} to{ opacity:1; transform:none;} }
.be-open .be-modal-panel, .be-carousel.be-open .be-carousel-panel { animation: beFadeIn .28s ease both; }