body {
    font-family: Georgia, serif;
}
#contactForm .form-control {
    font-size: 16px;
}
.contactForm .form-control {
    border: none;
}

.form {
    max-width: 550px;
    margin: 0 auto;
}
.form-control {
    color: #222;
    border-radius: 5px;
    border: 2px solid #fff;
    display: block;
    width: 100%;
    padding: 10px 15px;
    font-size: 1.2em;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;

}

.has-error {
    border: 2px solid #da584b;
}

.red {
    color: #da584b;
}

.mt-10 {
  margin-top:15px;
}

.form-control:focus {
  outline:0;
}

.ask-btn {
    padding: 14px 16px 12px 16px;
    cursor: pointer;
    border-width: 0;
    border-radius: 5px;
    position: relative;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    width: 100%;
    background: #f7d275;
    color: #000;
    font-weight: 600;
    font-family: 'Vollkorn', sans-serif;
}

.ask-btn:hover {
    background: #f6e1a9;
}

.disabled, .disabled:hover {
    background: #e4e4e4;
    color: #999999;
    font-style: italic;
}

.green {
    color: #3a8a6c;
}

.gradient-text {
    background-color: #8360c3;
    background-image: linear-gradient(to right, #8360c3, #2ebf91);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent; 
    -moz-text-fill-color: transparent;
}

.mt-10 {
    margin-top: 10px;
}

.w-250 {
    width: 250px;
}

.media {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
}
.media, .media-body {
    overflow: hidden;
    zoom: 1;
}

.icon-40 {
    height: 30px;
    width: 30px;
    margin-right: 5px;
    border-style: none;
}

.media-body {
    -ms-flex: 1;
    flex: 1;
    -ms-flex-item-align: center !important;
    align-self: center !important;
    margin-right: 1rem !important;
}
.media-body, .media-left, .media-right {
    display: table-cell;
    vertical-align: top;
}
.media-body {
    width: 10000px;
}
.media-body p {
    font-size: 1.1em;
}
.media, .media-body {
    overflow: hidden;
    zoom: 1;
}

.sign__box {
    width: 100%;
    padding-bottom: 80px;
}

.group__submit button {
    border: none;
    min-width: 200px;
}

.box {
    max-width: 668px;
    margin-left: auto;
    padding-left: 20px;
    padding-right: 20px;
    margin-right: auto;
}

.group__input > p {
    font-size: 16px;
    line-height: 20px;
    margin-top: 0px;
    margin-bottom: 12px;
    color: #1B2026;
}

.group__input > select, .triple > select{
    width: 100%;
    padding: 10px 15px;
    outline: none;
    border-radius: 5px;
    border: 2px solid #fff;
    background: #FFF;
    font-size: 1.2em;
    line-height: 1.5;
    -webkit-appearance: none;
    font-weight: 400;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
    background: url(/img/select-arrow.svg);
    background-repeat: no-repeat;
    background-size: 8px;
    background-position: calc(100% - 16px) center;
    background-color: #fff;
}

.triple {
    grid-column-gap: 10px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.is-invalid {
    border-color: #da584b!important;
    color: #da584b!important;
}

.testimonial {
    width: 100%;
    max-width: 600px;
    border-radius: 10px;
}

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

.card-pane img {
    width: 8.33%;
    padding: 3px;
}

.three {
    text-align: center;
}
.three ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0 5px 5px 5px;
}

.three ul li {
  list-style: none;
  flex: 0 0 33.333333%;
}

.three ul li img {
  padding: 5px;
  width: 100%;
}

.anchor-bottom {
  position: fixed;
  left: 50%;
  bottom: 10px;
  width: 60%;
  transform: translate(-50%, -50%);
  margin: 0 auto;
}

.castle {
  background-color: #112a3e;
  background-image: url(/img/mooncardplus-bg-xl.jpg);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top center;
  padding: 40px 10px 30px 10px;
}

.max-500 {
  max-width: 500px;
  margin: 0 auto;
}

#progress-container {
  width: 150px;
  height: 20px;
  border: 1px solid #000;
  padding: 2px;
  margin: 0 auto;
}

#progress-bar {
  height: 100%;
  width: 0%;
  background-color: #5e8dab;
  transition: width 1s;
}

.buy-btn {
  padding: 14px 16px 12px 16px;
  cursor: pointer;
  border-width: 0;
  border-radius: 5px;
  position: relative;
  width: 100%;
  max-width: 450px;
  background: #da3e31;
  color: #fff;
  font-weight: 600;
  font-size: 1.1em;
  font-family: 'Vollkorn', sans-serif;
  text-decoration: none;
}

.buy-btn:hover {
    background: #972f26;
}

.creamy {
  background-color: #fcedd4;
}

.flex-container {
  display: flex;
  flex-flow: row wrap;
  max-width: 1100px; /* Set the maximum width of the container */
  margin: 0 auto; /* Center the container horizontally */
}

.flex-left{
  order: 1;
  width:30%;
}

.flex-right{
  order: 2;
  width:70%;
  flex-flow: column;
  padding: 20px;
}

.flex-center {
  display:flex;
  align-items: center;
  justify-content: center;
}

.flex-center h1, .flex-center h2, .flex-center h3{
  margin: 0 10px;
}

.max-450 {
  max-width: 450px;
  margin: 0 auto;
}

.guarantee {
  max-width: 150px;
}

.blue-banner {
    background-color: #2f45a9;
    padding: 5px;
  }
  .yellow {
    color: #fffb54;
  }
  .white {
    color: #ffffff;
  }
  .grey {
    color: #7a7a7a;
  }
  .grey:hover {
    color: #7a7a7a;
  }
  .p-giant {
    font-size: 1.8em;
  }
  .p-huge {
    font-size: 1.5em;
  }
  .p-large {
    font-size: 1.2em;
  }
  .discount {
    margin-top: 20px;
    border: 4px #da584b dashed;
    background-color: #fff;
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 5px 10px rgb(0 0 0 / 30%);
    box-shadow: 0 5px 10px rgb(0 0 0 / 30%);
    padding: 15px;
  }
  .btn-yellow {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    border: 3px solid #0021f5;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    padding: 15px;
    margin: 15px 0;
    font-size: 1.8em;
    font-weight: 500;
    line-height: 1.5;
    border-radius: 15px;
    background-color: #fffb54;
    color: #0021f5;
    cursor: pointer;
    outline: 0 !important;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
}

.diagonal-strike {
    position: relative;
    display: inline-block;
    font-family: inherit; /* Ensures it inherits the font of the parent element */
}

.diagonal-strike::after {
    content: "";
    position: absolute;
    top: 70%;
    left: 0;
    width: 100%;
    height: 2px; /* Thickness of the strikethrough */
    background-color: red; /* Color of the strikethrough */
    transform: rotate(-10deg); /* Adjust angle as needed */
    transform-origin: left;
}

@media (max-width: 700px) {
    .hide-small {
    display: none;
    }
    .card-pane img {
    width: 12.5%;
    padding: 2px;
    }
    .card-title {
    font-size: 14px;
    line-height: 14px;
    }
    .captions {
    font-size: 1.1rem
    }
    .anchor-bottom {
    position: fixed;
    left: 50%;
    bottom: 10px;
    width: 90%;
    transform: translate(-50%, -50%);
    margin: 0 auto;
    }
    .flex-left, .flex-right{
    width:100%;
    }
    .flex-right{
    padding: 0 20px 20px 20px;
    }
}

/* Product Page Styles */
.product-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

.product-header {
    text-align: center;
    margin-bottom: 30px;
}

.product-images {
    margin-bottom: 20px;
}

.image-carousel {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.main-product-image {
    width: 100%;
    max-width: 450px;
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.3s ease;
}



.card-samples {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 450px;
    margin: 0 auto;
}

.card-sample {
    width: calc((100% - 32px) / 5);
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.card-sample:hover {
    border-color: #f7d275;
    transform: scale(1.05);
}

.card-sample.active {
    border-color: #f7d275;
    border-width: 3px;
}

.product-info {
    max-width: 600px;
    margin: 0 auto;
}

.product-title {
    font-family: 'Vollkorn', serif;
    font-size: 2.2em;
    font-weight: 700;
    margin: 0 0 5px 0;
    color: #222;
}

.product-subtitle {
    font-family: 'Vollkorn', serif;
    font-size: 1.2em;
    font-weight: 400;
    color: #666;
    margin: 0 0 15px 0;
    font-style: italic;
}

.product-subtitle.green {
    color: #3a8a6c;
}

.rating-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #ffd700;
    font-size: 1.2em;
}

.stars.large .star {
    font-size: 1.5em;
}

.rating-text, .rating-number {
    font-weight: 600;
    color: #222;
}

.review-count, .total-reviews {
    color: #666;
}

.features-list {
    margin-bottom: 20px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.features-list .media {
    margin-bottom: 8px;
}

.features-list .media-body p {
    margin: 0;
    font-size: 1.1em;
    color: #222;
}

.pricing-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.current-price {
    font-size: 1.8em;
    font-weight: bold;
    color: #222;
}

.original-price {
    font-size: 1.5em;
    color: #999;
}

.discount-text {
    background: #da584b;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9em;
}

.product-description {
    margin: 15px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.product-description p {
    font-size: 1em;
    line-height: 1.4;
    color: #444;
    margin: 0;
    text-align: left;
}

.order-btn {
    padding: 16px 32px;
    font-size: 1.3em;
    font-weight: 600;
    background: #f7d275 !important;
    color: #000 !important;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    font-family: 'Vollkorn', serif;
    transition: background 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.order-btn:hover {
    background: #f6e1a9 !important;
    color: #000 !important;
}

.order-btn:focus {
    background: #f7d275 !important;
    color: #000 !important;
    outline: none;
}

.order-btn:active {
    background: #f6e1a9 !important;
    color: #000 !important;
}

.main-content, .reviews-section, .faq-section {
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.section-title {
    font-family: 'Vollkorn', serif;
    font-size: 1.8em;
    font-weight: 700;
    text-align: left;
    margin-bottom: 20px;
    color: #222;
}

.description-section p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #444;
}

.signature {
    font-style: italic;
    margin-top: 30px;
    color: #666;
}

.rating-summary {
    text-align: left;
    margin-bottom: 25px;
}

.rating-line {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 5px;
}

.rating-summary .rating-number {
    font-size: 1.2em;
    font-weight: 600;
}

.rating-summary .total-reviews {
    color: #666;
    font-size: 0.95em;
}

.review-separator {
    border: none;
    border-top: 1px solid #222;
    margin: 20px 0;
    width: 100%;
}

.review-item-compact {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
    text-align: left;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-name {
    font-weight: 600;
    font-size: 1.1em;
    color: #222;
}

.review-date {
    color: #666;
    font-size: 1em;
}

.review-stars-line {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-stars {
    display: flex;
    gap: 2px;
}

.verified-purchase {
    color: #f7d275;
    font-weight: 600;
    font-size: 0.9em;
}

.review-text {
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #222;
}

.review-recommendation {
    font-weight: 600;
    color: #3a8a6c;
    font-size: 1em;
}

.review-btn-container {
    text-align: center;
    margin-top: 20px;
}

.review-btn-compact {
    background: transparent;
    border: 2px solid #222;
    padding: 15px 40px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    color: #222;
    font-weight: 500;
    transition: all 0.3s;
    width: 100%;
    max-width: none;
    margin-top: 20px;
}

.review-btn-compact:hover {
    background: rgba(0, 0, 0, 0.05);
}

.faq-item {
    margin-bottom: 30px;
}

.faq-question {
    font-family: 'Vollkorn', serif;
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

.faq-answer {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    margin: 0;
}

@media (max-width: 768px) {
    .product-title {
        font-size: 2em;
    }
    
    .main-product-image {
        max-width: 350px;
    }
    
    .card-samples {
        max-width: 350px;
        gap: 6px;
    }
    
    .card-sample {
        width: calc((100% - 24px) / 5);
        height: 60px;
    }
    

}

@media (max-width: 340px) {
    .card-title {
        font-size: 12px;
        line-height: 12px;
    }
    .captions {
      font-size: 1rem
    }
    .castle {
        background-image: url(/img/mooncardplus-bg-sm.jpg);
    }
    
    .product-title {
        font-size: 1.8em;
    }
    
    .current-price {
        font-size: 1.2em;
    }
    
    .card-samples {
        max-width: 300px;
        gap: 4px;
    }
    
    .card-sample {
        width: calc((100% - 16px) / 5);
        height: 50px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 30px;
    border: none;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-title {
    font-family: 'Vollkorn', serif;
    font-size: 1.8em;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: #222;
    font-size: 1.1em;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1.1em;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f7d275;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.star-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.star-rating .star {
    font-size: 2em;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating .star:hover,
.star-rating .star.active {
    color: #ffd700;
}

.rating-text {
    font-size: 1em;
    color: #666;
    margin-top: 5px;
}

.modal-submit {
    padding: 15px 20px;
    background: #f7d275;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Vollkorn', serif;
    transition: background 0.3s;
}

.modal-submit:hover {
    background: #f6e1a9;
}

.modal-submit:disabled {
    background: #e4e4e4;
    color: #999;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .modal-title {
        font-size: 1.5em;
    }
    
    .star-rating .star {
        font-size: 1.8em;
    }
}