/* ==========================================================================
   1. GLOBAL & RESET STYLES
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f4f6f8;
  color: #1a2b32;
  font-family: "Readex Pro", Tahoma, Arial, sans-serif;
  line-height: 1.75;
}

.container {
  width: min(1160px, 92%);
  margin: auto;
}

.section {
  padding: 82px 0;
}

.soft {
  background: #ebf3f5;
}

/* ==========================================================================
   2. BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s transform, 0.2s box-shadow;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: #ffc107;
  color: #1a2b32;
  box-shadow: 0 10px 24px rgba(255, 193, 7, 0.2);
}

.btn-primary {
  background: #0b3c48;
  color: #fff;
  box-shadow: 0 10px 25px rgba(11, 60, 72, 0.18);
}

.badge,
.eyebrow {
  display: inline-block;
  background: #fff1c9;
  color: #8a6500;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
}

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
.announcement {
  background: #0b3c48;
  color: #fff;
  text-align: center;
  padding: 16px 12px;
  font-size: 13px;
}

.announcement b {
  opacity: 0.35;
  margin: 0 8px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e0e7ea;
}

.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #0b3c48;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  font-size: 20px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #0b3c48;
  color: #ffc107;
  border-radius: 12px;
  font-family: Georgia, serif;
  font-size: 21px;
}

.nav nav {
  display: flex;
  gap: 15px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav nav a {
  font-size: 12px;
  color: #52666d;
  text-decoration: none;
}

.floating-product {
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  background: #0b3c48;
  color: #fff;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 9px;
  transform: translateY(-130%);
  transition: 0.35s;
}

.floating-product.show {
  transform: none;
}

.floating-product div {
  display: flex;
  gap: 20px;
  align-items: center;
}

.floating-product span {
  font-size: 12px;
  color: #ffc107;
}

/* ==========================================================================
   4. HERO & PRODUCT DISPLAY
   ========================================================================== */
.hero {
  padding-top: 48px;
  padding-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: start;
}

.gallery {
  order: 2;
}

.product-copy {
  order: 1;
}

.main-image {
  background: #fff;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 18px 50px rgba(26, 43, 50, 0.09);
  min-height: 570px;
  display: grid;
  place-items: center;
}

.main-image img {
  width: 100%;
  height: 520px;
  object-fit: contain;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.thumb {
  border: 2px solid transparent;
  background: #fff;
  border-radius: 14px;
  padding: 4px;
  cursor: pointer;
}

.thumb:hover {
  border-color: #ffc107;
}

.thumb img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.product-copy h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.25;
  margin: 15px 0 8px;
  letter-spacing: -1px;
}

.rating {
  color: #e6a900;
  font-size: 17px;
}

.rating span {
  color: #687b82;
  font-size: 12px;
  margin-right: 8px;
}

.lead {
  font-size: 16px;
  color: #5a6e75;
  max-width: 560px;
}

.price {
  display: flex;
  align-items: end;
  gap: 14px;
  margin: 25px 0;
}

.price del {
  color: #91a0a5;
}

.price strong {
  font-size: 38px;
  color: #0b3c48;
}

.price small {
  color: #5a6e75;
}

/* ==========================================================================
   5. OFFERS & OPTIONS SELECTION
   ========================================================================== */
.offers h3 {
  margin-bottom: 12px;
}

.offer-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.offer-card {
  position: relative;
  background: #fff;
  border: 2px solid #e0e7ea;
  border-radius: 16px;
  padding: 15px;
  text-align: right;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: "Readex Pro", Tahoma, Arial, sans-serif;
}

.offer-card p {
  margin:0;
}

.offer-card.active {
  border-color: #ffc107;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.12);
}

.offer-card strong {
  font-size: 21px;
  color: #0b3c48;
}

.offer-card small {
  color: #6c7d83;
  font-size: 11px;
}

.offer-card em {
  position: absolute;
  top: -10px;
  left: 10px;
  background: #0b3c48;
  color: #fff;
  padding: 2px 7px;
  border-radius: 8px;
  font-style: normal;
  font-size: 10px;
}

.selection-boxes {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.piece-card {
  background: #fff;
  border: 1px solid #e0e7ea;
  border-radius: 18px;
  padding: 15px;
}

.piece-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.piece-title span,
small {
  color: #6d7f84;
  font-size: 11px;
}

.choice-row {
  display: grid;
  gap: 14px;
}

.size-pills,
.color-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.size-pills button,
.color-pill {
  transition: 0.18s ease;
  font-family: "Readex Pro", Tahoma, Arial, sans-serif;
}

.size-pills button:hover,
.color-pill:hover {
  border-color: #0b3c48;
  transform: translateY(-1px);
}

.size-pills button {
  border: 1px solid #d8e1e4;
  background: #fff;
  border-radius: 9px;
  padding: 5px 10px;
  cursor: pointer;
}

.size-pills button.selected {
  background: #ffc107 !important;
  color: #1a2b32 !important;
  border: 2px solid #0b3c48 !important;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.7) !important;
  font-weight: 800;
  transform: translateY(-2px) scale(1.04);
  position: relative;
  z-index: 2;
}

.size-pills button.selected:after {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  border-radius: 50%;
  background: #0b3c48;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  vertical-align: middle;
}

.color-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  border: 1px solid #d8e1e4;
  background: #fff;
  border-radius: 10px;
  padding: 3px 6px;
  cursor: pointer;
  font-size: 10px;
}

.color-pill img {
  width: 26px;
  height: 26px;
  object-fit: cover;
  border-radius: 6px;
}

.color-pill.selected {
  border: 2px solid #0b3c48 !important;
  background: #fff1bd !important;
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.35), 0 7px 18px rgba(11, 60, 72, 0.14) !important;
  font-weight: 800;
  position: relative;
  transform: translateY(-2px) scale(1.03);
  z-index: 2;
}

.color-pill.selected:after {
  content: "✓";
  position: absolute;
  top: -7px;
  left: -7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffc107;
  color: #1a2b32;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.guarantee {
  margin-top: 18px;
  background: #d7ffd4;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.guarantee .icon {
  font-size: 28px;
}

.guarantee small {
  display: block;
}

/* ==========================================================================
   6. FEATURES SECTION
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  background: #fff;
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(26, 43, 50, 0.05);
}

.feature span {
  color: #ffc107;
  font-weight: 900;
}

.feature h3 {
  margin: 6px 0;
}

.feature p {
  color: #5a6e75;
  margin: 0;
}

/* ==========================================================================
   7. ORDER FORM & SUMMARY
   ========================================================================== */
.order-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 50px;
  align-items: start;
}

.order-intro h2,
.section-head h2 {
  font-size: 34px;
  line-height: 1.3;
  margin: 8px 0;
}

.order-intro p,
.section-head p {
  color: #5a6e75;
}

.order-steps {
  display: grid;
  gap: 8px;
  margin-top: 25px;
}

.order-steps span {
  background: #ebf3f5;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 13px;
}

.order-form {
  background: #fff;
  border: 1px solid #e0e7ea;
  border-radius: 24px;
  padding: 25px;
  box-shadow: 0 18px 50px rgba(26, 43, 50, 0.07);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid label {
  font-size: 12px;
  font-weight: 800;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  border: 1px solid #dbe4e7;
  border-radius: 12px;
  padding: 12px;
  background: #fbfcfc;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: #0b3c48;
  box-shadow: 0 0 0 3px rgba(11, 60, 72, 0.08);
}

.summary {
  margin: 20px 0;
  background: #f4f6f8;
  border-radius: 15px;
  padding: 14px;
}

.summary > div {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  color: #5a6e75;
}

.summary .total {
  border-top: 1px solid #e0e7ea;
  margin-top: 6px;
  padding-top: 12px;
  color: #1a2b32;
}

.summary .total b {
  font-size: 24px;
  color: #0b3c48;
}

.submit-btn {
  width: 100%;
  font-size: 16px;
}

.secure {
  text-align: center;
  color: #667980;
  font-size: 11px;
}

.form-error {
  color: #b42318;
  font-size: 12px;
  min-height: 20px;
}

/* ==========================================================================
   8. SIZE CHART & REVIEWS
   ========================================================================== */
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 35px;
}

.size-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 30px;
  align-items: center;
}

.size-layout > img {
  width: 100%;
  border-radius: 22px;
}

.table-wrap {
  background: #fff;
  border-radius: 22px;
  overflow: auto;
  box-shadow: 0 12px 35px rgba(26, 43, 50, 0.06);
}

table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  font-size: 13px;
}

th {
  background: #0b3c48;
  color: #fff;
  padding: 13px;
}

td {
  padding: 11px;
  border-bottom: 1px solid #edf1f2;
}

tr:last-child td {
  border: 0;
}

.reviews-grid {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 4px 16px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.reviews-grid .review {
  flex: 0 0 calc((100% - 30px) / 3);
  min-width: 290px;
  scroll-snap-align: start;
}

.review {
  background: #fff;
  border: 1px solid #e0e7ea;
  border-radius: 18px;
  padding: 18px;
  display: flex;
  gap: 12px;
}

.avatar {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: #ebf3f5;
  display: grid;
  place-items: center;
  color: #0b3c48;
  font-weight: 900;
}

.review span {
  display: block;
  color: #e4a800;
  font-size: 12px;
}

.review p {
  margin: 7px 0 0;
  color: #5a6e75;
  font-size: 13px;
}

/* ==========================================================================
   9. CHAT MOCK & FAQ
   ========================================================================== */
.chat-mock {
  width: min(420px, 100%);
  margin: 30px auto 0;
  background: #101516;
  color: #fff;
  padding: 15px;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.15);
}

.chat-title {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #2b3335;
  font-size: 12px;
}

.bubble {
  background: #213b31;
  padding: 9px 12px;
  border-radius: 14px;
  margin: 10px 45px 0 0;
  font-size: 12px;
}

.bubble.me {
  background: #0b3c48;
  margin-right: 0;
  margin-left: 45px;
}

.faq-wrap {
  max-width: 850px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: #fff;
  border: 1px solid #e0e7ea;
  border-radius: 15px;
  padding: 0 18px;
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 0;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  color: #5a6e75;
  margin: 0 0 17px;
}

/* ==========================================================================
   10. FOOTER & THANK YOU PAGE
   ========================================================================== */
.footer {
  background: #102a31;
  color: #dce7ea;
  padding-top: 55px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
}

.footer h4 {
  color: #fff;
  margin-top: 0;
}

.footer a,
.footer span {
  display: block;
  color: #b8c9cd;
  text-decoration: none;
  font-size: 13px;
  margin: 8px 0;
}

.brand-footer {
  color: #fff;
}

.socials {
  display: flex;
  gap: 8px;
  margin-top: 15px;
}

.socials a {
  width: 34px;
  height: 34px;
  border: 1px solid #49636a;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.bottom-bar {
  border-top: 1px solid #29464d;
  margin-top: 40px;
  padding: 16px;
  text-align: center;
  font-size: 11px;
  color: #9db1b6;
}

.bottom-bar span {
  display: inline-block;
  margin-right: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.thank-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 60px 15px;
}

.success-card {
  background: #fff;
  border: 1px solid #e0e7ea;
  border-radius: 28px;
  padding: 50px;
  max-width: 650px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(26, 43, 50, 0.09);
}

.check {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  display: grid;
  place-items: center;
  font-size: 55px;
  margin: 0 auto 20px;
  animation: pop 0.5s ease;
}

.success-card h1 {
  font-size: 36px;
}

.success-card p {
  color: #5a6e75;
}

.order-number {
  background: #ebf3f5;
  border-radius: 12px;
  padding: 10px;
}

.thank-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 25px;
}

.mobile-cta {
  display: none;
}

@keyframes pop {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================================================================
   11. MEDIA QUERIES (RESPONSIVE DESIGN)
   ========================================================================== */
@media (max-width: 980px) {
  .nav nav {
    display: none;
  }
  .hero-grid,
  .order-layout,
  .size-layout {
    grid-template-columns: 1fr;
  }
  .gallery {
    order: 1;
  }
  .product-copy {
    order: 2;
  }
  .main-image {
    min-height: 450px;
  }
  .main-image img {
    height: 410px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid .review {
    flex-basis: calc((100% - 15px) / 2);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .floating-product {
    top: 62px;
  }
  .mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    background: #fff;
    border-top: 1px solid #dbe4e7;
    z-index: 50;
    padding: 8px 12px;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
  }
  .mobile-cta small,
  .mobile-cta b {
    display: block;
  }
  .mobile-cta b {
    font-size: 18px;
    color: #0b3c48;
  }
  .mobile-cta .btn {
    min-height: 42px;
  }
  .footer {
    padding-bottom: 75px;
  }
}

@media (max-width: 620px) {
  .section {
    padding: 58px 0;
  }
  .container {
    width: min(94%, 1160px);
  }
  .nav-inner {
    min-height: 62px;
  }
  .nav .btn {
    display: none;
  }
  .hero-grid {
    gap: 25px;
  }
  .offer-cards,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .full {
    grid-column: auto;
  }
  .reviews-grid .review {
    flex-basis: 88vw;
  }
  .thumbs {
    grid-template-columns: repeat(5, 1fr);
  }
  .thumb:nth-child(n + 6) {
    display: none;
  }
  .main-image {
    min-height: 350px;
  }
  .main-image img {
    height: 330px;
  }
  .product-copy h1 {
    font-size: 31px;
  }
  .price strong {
    font-size: 32px;
  }
  .success-card {
    padding: 35px 20px;
  }
  .thank-actions {
    flex-direction: column;
  }
}