
:root {
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
  font-family: var(--font-body);
  background: linear-gradient(135deg, #fef9f0 0%, #fff5e6 25%, #fef9f0 50%, #fff8f0 75%, #fef9f0 100%);
  background-size: 400% 400%;
  animation: background-shift 20s ease infinite;
  min-height: 100vh;
}

body.collection-page {
  background: url('https://cdn.shopify.com/s/files/1/0967/9198/6481/files/Background.jpg?v=1766191858') center center / cover fixed no-repeat !important;
  animation: none !important;
}

body.collection-page::before {
  display: none !important;
}

@keyframes background-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 15% 25%, rgba(139, 69, 19, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(210, 105, 30, 0.02) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(139, 69, 19, 0.015) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.chodie-hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, #fef9f0 0%, #fff5e6 50%, #fef9f0 100%);
  background-size: 200% 200%;
  animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.chodie-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(139, 69, 19, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(210, 105, 30, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(139, 69, 19, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.chodie-hero__content {
  text-align: center;
  position: relative;
  z-index: 2;
  transform: rotate(-1deg);
  max-width: 90%;
}

.chodie-hero__content,
.chodie-hero__float-cookie {
  position: relative;
  z-index: 2;
}

.chodie-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 900;
  margin: 0 0 1.5rem 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
  transform: rotate(1deg);
}

.chodie-hero__cookie {
  display: inline-block;
  animation: cookie-float 3s ease-in-out infinite;
  margin-left: 0.5rem;
}

.chodie-hero__subtext {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 3vw, 2rem);
  margin: 0 0 3rem 0;
  opacity: 0.85;
  font-weight: 400;
  transform: rotate(-0.5deg);
  letter-spacing: -0.01em;
}

.chodie-hero__cta {
  display: inline-block;
  padding: 1.5rem 3.5rem;
  background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 50%, #000 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 60px;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transform: rotate(0.5deg);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.chodie-hero__cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.chodie-hero__cta:hover::before {
  left: 100%;
}

.chodie-hero__cta:hover {
  transform: translateY(-4px) rotate(0.5deg) scale(1.05);
  box-shadow: 
    0 16px 40px rgba(0, 0, 0, 0.35),
    0 8px 20px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, #3d2418 0%, #2c1810 50%, #1a0f0a 100%);
}

.chodie-hero__cta:active {
  transform: translateY(-2px) rotate(0.5deg) scale(1.02);
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.3),
    0 4px 10px rgba(0, 0, 0, 0.2);
}

.chodie-hero__float-cookie {
  position: absolute;
  font-size: 3rem;
  opacity: 0.3;
  animation: float-around 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes cookie-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(5deg);
  }
}

@keyframes float-around {
  0% {
    top: 20%;
    left: 10%;
    transform: rotate(0deg);
  }
  25% {
    top: 60%;
    left: 80%;
    transform: rotate(90deg);
  }
  50% {
    top: 80%;
    left: 20%;
    transform: rotate(180deg);
  }
  75% {
    top: 30%;
    left: 70%;
    transform: rotate(270deg);
  }
  100% {
    top: 20%;
    left: 10%;
    transform: rotate(360deg);
  }
}

.chodie-collection {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.chodie-collection--with-bg {
  background-color: transparent !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  min-height: 60vh;
}

.chodie-collection--with-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(139, 69, 19, 0.015) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(210, 105, 30, 0.015) 0%, transparent 50%),
    rgba(255, 255, 255, 0.2);
  pointer-events: none;
  z-index: 0;
}

.chodie-collection > * {
  position: relative;
  z-index: 1;
}

.chodie-collection__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 1rem;
  text-transform: lowercase;
  letter-spacing: -0.02em;
}

.chodie-collection__description {
  text-align: center;
  font-size: 1.25rem;
  opacity: 0.7;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.chodie-collection__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.chodie-collection__empty {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1.25rem;
  opacity: 0.6;
  padding: 4rem 2rem;
}

.chodie-collection__empty-subtext {
  font-size: 1rem;
  opacity: 0.5;
  margin-top: 0.5rem;
  font-style: italic;
}

.product-card {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-card__image-link {
  display: block;
  margin-bottom: 1rem;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.05);
}

.product-card__title-link {
  text-decoration: none;
  color: inherit;
}

.product-card__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  text-transform: lowercase;
  letter-spacing: -0.01em;
}

.product-card__description {
  font-family: var(--font-body);
  font-size: 0.95rem;
  opacity: 0.7;
  margin: 0 0 1rem 0;
  font-style: italic;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.product-card__price {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 1rem 0;
  letter-spacing: -0.01em;
}

.product-card__form {
  margin-top: auto;
  padding-top: 1rem;
}

.product-card__button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 50%, #000 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  width: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.2),
    0 3px 10px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.05);
}

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

.product-card__button:hover::before {
  left: 100%;
}

.product-card__button:hover {
  transform: translateY(-3px) scale(1.02);
  background: linear-gradient(135deg, #3d2418 0%, #2c1810 50%, #1a0f0a 100%);
  box-shadow: 
    0 12px 32px rgba(0, 0, 0, 0.3),
    0 6px 16px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.product-card__button:active {
  transform: translateY(-1px) scale(1);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.25),
    0 2px 6px rgba(0, 0, 0, 0.15);
}

.product__title,
.product__title-wrapper h1,
.product-single__title {
  font-family: var(--font-heading) !important;
  font-size: clamp(2.5rem, 6vw, 4rem) !important;
  font-weight: 900 !important;
  margin-bottom: 1rem !important;
  text-transform: lowercase;
  letter-spacing: -0.02em !important;
}

.product__helper-text {
  font-size: 1rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.product-form__quantity {
  border-radius: 12px !important;
  border: 2px solid #e0e0e0 !important;
  padding: 0.75rem !important;
  font-size: 1rem !important;
  width: 100%;
  max-width: 120px;
  font-family: inherit;
}

.product-form__quantity:focus {
  outline: none;
  border-color: #000 !important;
}

.product-form__submit {
  border-radius: 50px !important;
  padding: 1.25rem 3rem !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.product-form__submit:hover {
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

.product-form__submit:active {
  transform: translateY(0) scale(0.98) !important;
}

@media screen and (max-width: 749px) {
  .product-form {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
    z-index: 10;
  }
}

.feedback-page {
  max-width: 600px;
  margin: 4rem auto;
  padding: 2rem;
}

.feedback-page__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-transform: lowercase;
  letter-spacing: -0.02em;
}

.feedback-page__subtitle {
  font-size: 1.25rem;
  opacity: 0.7;
  margin-bottom: 3rem;
  font-style: italic;
}

.feedback-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feedback-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feedback-form__label {
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.8;
}

.feedback-form__input,
.feedback-form__textarea {
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.feedback-form__input:focus,
.feedback-form__textarea:focus {
  outline: none;
  border-color: #000;
}

.feedback-form__textarea {
  min-height: 120px;
  resize: vertical;
}

.feedback-form__rating {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.feedback-form__rating-button {
  width: 50px;
  height: 50px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  background: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feedback-form__rating-button:hover {
  border-color: #000;
  transform: scale(1.05);
}

.feedback-form__rating-button.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.feedback-form__submit {
  padding: 1rem 2rem;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  align-self: flex-start;
}

.feedback-form__submit:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.feedback-form__submit:active {
  transform: translateY(0) scale(0.98);
}

.chodie-footer {
  padding: 3rem 2rem 2rem;
  text-align: center;
  border-top: 1px solid #e0e0e0;
  margin-top: 4rem;
  background: linear-gradient(to bottom, #fff 0%, #fef9f0 100%);
  position: relative;
}

.chodie-footer__disclaimer {
  font-size: 0.9rem;
  opacity: 0.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.chodie-footer__social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.chodie-footer__social-link {
  text-decoration: none;
  font-size: 1.25rem;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chodie-footer__social-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.chodie-footer__copyright {
  font-size: 0.85rem;
  opacity: 0.5;
  text-transform: lowercase;
}

.chodie-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: blur(10px);
  border-bottom: none;
  padding: 1.5rem 0;
}

.chodie-header__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
}

.chodie-header__logo {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease;
  background: transparent;
}

.chodie-header__logo:hover {
  transform: scale(1.05);
}

.chodie-header__cookie {
  font-size: 1.2em;
  animation: cookie-float 3s ease-in-out infinite;
}

.chodie-header__nav {
  display: flex;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.chodie-header__link {
  font-family: var(--font-body) !important;
  font-size: clamp(0.95rem, 2vw, 1.1rem) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  padding: 0.75rem 1.75rem !important;
  border-radius: 50px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 50%, #000 100%) !important;
  border: 2px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.2),
    0 2px 6px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  overflow: hidden !important;
  display: inline-block !important;
  letter-spacing: 0.01em !important;
  cursor: pointer !important;
}

.chodie-header__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.chodie-header__link:hover::before {
  left: 100%;
}

.chodie-header__link:hover {
  background: linear-gradient(135deg, #3d2418 0%, #2c1810 50%, #1a0f0a 100%) !important;
  color: #fff !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.3),
    0 4px 12px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  text-decoration: none !important;
}

.chodie-header__link:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.25),
    0 2px 6px rgba(0, 0, 0, 0.15);
}

@media (max-width: 640px) {
  .chodie-header__nav {
    gap: 1rem;
  }
  
  .chodie-header__logo {
    font-size: 1.1rem;
  }
  
  .chodie-header__link {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
}

a:not(.chodie-hero__cta):not(.product-card__button):not(.feedback-form__submit):not(.product-form__submit):not(.chodie-header__link) {
  text-decoration: none;
  position: relative;
  transition: opacity 0.2s ease;
}

a:not(.chodie-hero__cta):not(.product-card__button):not(.feedback-form__submit):not(.product-form__submit):not(.chodie-header__link):hover {
  opacity: 0.8;
}

a:not(.chodie-hero__cta):not(.product-card__button):not(.feedback-form__submit):not(.product-form__submit):not(.chodie-header__link)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}

a:not(.chodie-hero__cta):not(.product-card__button):not(.feedback-form__submit):not(.product-form__submit):not(.chodie-header__link):hover::after {
  width: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  body {
    animation: fade-in 0.4s ease;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.chodie-build-box-button {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 3rem;
  background: linear-gradient(135deg, #8B4513 0%, #6B3410 50%, #4A2510 100%);
  color: #fff;
  border: none;
  border-radius: 60px;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: lowercase;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 10px 30px rgba(139, 69, 19, 0.4),
    0 5px 15px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.chodie-build-box-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.chodie-build-box-button:hover::before {
  left: 100%;
}

.chodie-build-box-button:hover {
  transform: translateY(-5px) scale(1.05);
  background: linear-gradient(135deg, #A0522D 0%, #8B4513 50%, #6B3410 100%);
  box-shadow: 
    0 16px 45px rgba(139, 69, 19, 0.5),
    0 8px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.chodie-build-box-button:active {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 25px rgba(139, 69, 19, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.25);
}

.chodie-build-box-button__icon {
  font-size: 1.5rem;
  display: block;
  animation: cookie-float 3s ease-in-out infinite;
}

.chodie-build-box-button__text {
  display: block;
}

@media screen and (max-width: 749px) {
  .chodie-hero {
    min-height: 70vh;
  }
  
  .chodie-hero__content {
    transform: rotate(0deg);
  }
  
  .chodie-hero__title {
    transform: rotate(0deg);
  }
  
  .chodie-hero__subtext {
    transform: rotate(0deg);
  }
  
  .chodie-hero__cta {
    transform: rotate(0deg);
  }
  
  .product-card {
    margin-bottom: 1.5rem;
  }
  
  .chodie-build-box-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

