/* Import Hoss Round Font */
@import url('https://fonts.cdnfonts.com/css/hoss-round');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hoss Round', sans-serif;
    background-color: #fff2d9;
    overflow-x: hidden;
}

/* Homepage Container */
.homepage {
    width: 100%;
    min-height: 100vh;
    background-color: #fff2d9;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

/* Header */
.header {
    width: 100%;
    background-color: #fff2d9;
}

.header-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
}

.header-content {
    display: flex;
    gap: 208px;
    align-items: flex-end;
    justify-content: center;
    padding-top: 39px;
    width: 100%;
    max-width: 1440px;
    border-bottom: 1px solid #c9a18c;
}

.banner {
    height: 96px;
    width: 410px;
    position: relative;
    flex-shrink: 0;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Container Sections */
.container {
    width: 100%;
    max-width: none;           /* allow backgrounds to span full width */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 0;
}

.container-hero {
    background-color: #ecdec3;
}

.container-product {
    background-color: #fff2d9;
}

/* Content Areas */
.content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
}

.content-hero {
    width: 100%;
    max-width: 1340px;
    padding-right: 96px;
}

.content-product {
    width: 100%;
    max-width: 1200px;
}

/* Person Image */
.person-image {
    flex: 1;
    min-width: 0;
    min-height: 1px;
    aspect-ratio: 2645 / 1516;
    position: relative;
}

.person-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

/* Hero Text */
.hero-text {
    flex: 1;
    min-width: 0;
    min-height: 1px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.hero-title {
    font-family: 'Hoss Round', sans-serif;
    font-weight: 900;
    font-size: 70px;
    color: #d73f4c;
    text-shadow: -2px 2px 0px #6d4344;
    line-height: 0.9;
    width: min-content;
    min-width: 100%;
}

.hero-subtitle {
    font-family: 'Hoss Round', sans-serif;
    font-weight: 500;
    font-size: 24px;
    color: #6d4344;
    line-height: 1.25;
    width: min-content;
    min-width: 100%;
}

.hero-subtitle p {
    margin-bottom: 1px;
}

/* Form */
.form {
    display: flex;
    gap: 8.75px;
    height: 40px;
    align-items: flex-end;
    justify-content: center;
}

.email-field {
    position: relative;
    flex-shrink: 0;
}

.email-field input {
    width: 306.207px;
    height: 40px;
    background-color: #f7f7f9;
    border: 0.958px solid #3b3539;
    border-radius: 12.5px;
    padding: 0 18px;
    font-family: 'Hoss Round', sans-serif;
    font-size: 15.333px;
    color: #3b3539;
    letter-spacing: 0.9583px;
    text-transform: lowercase;
}

.email-field input::placeholder {
    color: #3b3539;
    opacity: 1;
}

/* Buttons */
.button {
    height: 40px;
    border-radius: 12.5px;
    border: 0.958px solid;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.379px;
    font-family: 'Hoss Round', sans-serif;
    text-transform: uppercase;
    transition: opacity 0.2s;
}

.button:hover {
    opacity: 0.9;
}

.button-secondary {
    width: 168.276px;
    background-color: #ffd661;
    border-color: #3b3539;
    color: #6e4445;
    font-weight: 800;
    font-size: 18px;
}

.button-primary {
    width: 168.276px;
    background-color: #ff990b;
    border-color: #3b3539;
    color: #6e4445;
    font-weight: 800;
    font-size: 18px;
}

/* Button variants */
.button-order {
  width: 168.276px;
  background-color: #ff990b; /* CTA */
  border-color: #3b3539;
  color: #6e4445;  
  font-weight: 800;
  font-size: 18px;

  text-decoration: none; /* no underline */
}

.button-order:hover,
.button-order:focus-visible {
  text-decoration: none;
}

/* Keep JOIN THE LIST as orange (existing look) */
.button-join {
  width: 168.276px;
  background-color: #f3be27;
  border-color: #3b3539;
  color: #6e4445;
  font-weight: 800;
  font-size: 18px;

  text-decoration: none; /* safety */
}

/* Button variants */

.button-order:hover,
.button-order:focus-visible {
  text-decoration: none;
}

/* Product Section */
.product-image {
    width: 512px;
    height: 320px;
    border-radius: 16px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    pointer-events: none;
}

.product-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.product-titles {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-title {
    font-family: 'Hoss Round', sans-serif;
    font-weight: 900;
    font-size: 34px;
    color: #d73f4c;
    text-shadow: -2px 2px 0px #6d4344;
    line-height: 0.9;
    width: 662px;
    max-width: 100%;
}

.product-subtitle {
    font-family: 'Hoss Round', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #6d4344;
    line-height: 0.9;
    width: 662px;
    max-width: 100%;
}

.product-description {
    font-family: 'Hoss Round', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #6d4344;
    line-height: 1.25;
    width: 662px;
    max-width: 100%;
}

/* Decorative Head */
.decorative-head {
    position: fixed;     /* stick to viewport edge */
    right: 0;            /* always hug the right side */
    top: 389px;
    width: 192px;
    height: 193px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
}

.decorative-head img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

/* Image Bar Footer */
.image-bar {
    width: 100%;
    background-color: #ecdec3;
}

.image-bar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 497px;
    width: 100%;
}

.image-bar-content img {
    width: 270px;
    height: 123px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Responsive Design */
@media screen and (max-width: 1440px) {
    .decorative-head {
        left: calc(100% - 181px);
    }
}

@media screen and (max-width: 1280px) {
    .content-hero {
        max-width: 1100px;
        padding-right: 48px;
    }
    
    .content-product {
        max-width: 1000px;
    }
    
    .decorative-head {
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .hero-title {
        font-size: 56px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .product-title {
        font-size: 40px;
    }
    
    .product-subtitle {
        font-size: 28px;
    }
    
    .product-description {
        font-size: 18px;
    }
    
    .content {
        gap: 48px;
    }
    
    .content-hero {
        padding-right: 32px;
    }
}

@media screen and (max-width: 768px) {
    .content {
        flex-direction: column;
        gap: 32px;
    }
    
    .content-hero {
        padding-right: 0;
        padding: 0 24px;
    }
    
    .content-product {
        padding: 0 24px;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .form {
        flex-wrap: wrap;
        height: auto;
        gap: 12px;
    }
    
    .email-field input {
        width: 100%;
    }
    
    .button-primary {
        width: 100%;
    }
    
    .product-title {
        font-size: 36px;
        width: 100%;
    }
    
    .product-subtitle {
        font-size: 24px;
        width: 100%;
    }
    
    .product-description {
        font-size: 16px;
        width: 100%;
    }
    
    .container {
        padding: 48px 0;
    }
    
    .container-product {
        padding: 0px 0 48px;
    }

    .image-bar-content {
        padding: 32px 24px;
    }
    
    .image-bar-content img {
        max-width: 100%;
        height: auto;
    }
    
    .banner {
        width: 100%;
        max-width: 410px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .product-title {
        font-size: 28px;
    }
    
    .product-subtitle {
        font-size: 20px;
    }
    
    .product-description {
        font-size: 14px;
    }
}


/* Mailchimp inline messages + states */
.form-message {
  width: 100%;
  margin-top: 8px;
  font-family: 'Hoss Round', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}

.form-message--error {
  color: #d73f4c;
}

.form-message--success {
  color: #6e4445;
}

.form.is-error .email-field input {
  border-color: #d73f4c;
}

.form.is-success .email-field input {
  border-color: #6e4445;
}

.button.is-loading {
  opacity: 0.75;
  cursor: progress;
}

/* Stack email + messages without affecting the button */
.email-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Keep input + button aligned even when message shows */
.form {
  position: relative;
  align-items: center;     /* was flex-end; prevents odd vertical shifting */
  height: 40px;            /* your design height */
  padding-bottom: 28px;    /* reserves space for message below (doesn't push UP) */
}

/* Message is out-of-flow so it doesn't affect layout of input/button */
.form-message {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);   /* below the row */
  width: 100%;
  margin: 0;

  font-family: 'Hoss Round', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
}

.form-message--success {
  color: #6e4445;
}

.form.is-error .email-field input {
  border-color: #d73f4c;
}

.form.is-success .email-field input {
  border-color: #6e4445;
}

/* Prevent button wrapping / thinning */
.button {
  white-space: nowrap;
  padding: 0 14px; /* your old padding was ~1px and caused weird shrink/wrap */
}

.button.is-loading {
  opacity: 0.75;
  cursor: progress;
}

/* Modal */
.modal-overlay[hidden] { display: none; }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(59, 53, 57, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;
}

.modal-card {
  width: min(980px, 100%);
  background: #fff2d9;
  border: 0.958px solid #3b3539;
  border-radius: 16px;
  box-shadow: -4px 4px 0px #6d4344;
  padding: 18px;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.modal-title {
  font-family: 'Hoss Round', sans-serif;
  font-weight: 900;
  font-size: 26px;
  color: #d73f4c;
  text-shadow: -1px 1px 0px #6d4344;
  line-height: 1;
}

.modal-close {
  width: 40px;
  height: 40px;
  border-radius: 12.5px;
  border: 0.958px solid #3b3539;
  background: #ecdec3;
  color: #6e4445;
  font-family: 'Hoss Round', sans-serif;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
}

.modal-close:hover { opacity: 0.9; }

/* Bundle grid */
.bundle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.bundle-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  border-radius: 16px;
  border: 0.958px solid #3b3539;
  background: #ffffff;
  text-decoration: none;
  color: inherit;
}

.bundle-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.bundle-name {
  font-family: 'Hoss Round', sans-serif;
  font-weight: 900;
  font-size: 16px;
  color: #6d4344;
  text-transform: uppercase;
}

.bundle-price {
  font-family: 'Hoss Round', sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: #3b3539;
}

.bundle-sub {
  font-family: 'Hoss Round', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #6d4344;
}

.bundle-cta {
  margin-top: auto;
  height: 40px;
  border-radius: 12.5px;
  border: 0.958px solid #3b3539;
  background: #ff990b;
  color: #6e4445;
  font-family: 'Hoss Round', sans-serif;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}

.bundle-card:hover { opacity: 0.9; }

/* Popular highlight */
.bundle-card--popular {
  background: #f3ffc2;
  box-shadow: -3px 3px 0px #6d4344;
}

.bundle-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff2d9;
  border: 0.958px solid #3b3539;
  border-radius: 999px;
  padding: 4px 10px;
  font-family: 'Hoss Round', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: #6d4344;
  text-transform: uppercase;
}

/* Responsive */
@media screen and (max-width: 1024px) {
  .bundle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 480px) {
  .bundle-grid { grid-template-columns: 1fr; }
  .modal-card { padding: 14px; }
  .modal-title { font-size: 22px; }
}

.bundle-card--popular { padding-top: 28px; }

.bundle-badge {
  position: absolute;
  top: -12px;                     /* floats above the card */
  left: 12px;
  z-index: 3;
  background: #fff2d9;
  border: 0.958px solid #3b3539;
  border-radius: 999px;
  padding: 4px 10px;
  font-family: 'Hoss Round', sans-serif;
  font-weight: 800;
  font-size: 12px;
  color: #6d4344;
  text-transform: uppercase;
}