:root {
  --cream: #f8f3e9;
  --cream-deep: #eee4d2;
  --paper: #fffdf9;
  --olive-950: #26320f;
  --olive-900: #344414;
  --olive-800: #45581f;
  --olive-700: #5e7138;
  --olive-100: #edf0e8;
  --gold: #c89424;
  --gold-soft: #e6c66e;
  --ink: #202516;
  --muted: #777466;
  --line: #e8e0d3;
  --danger: #b33a32;
  --whatsapp: #20c968;
  --shadow-sm: 0 8px 24px rgba(49, 55, 26, 0.08);
  --shadow-lg: 0 24px 70px rgba(49, 55, 26, 0.15);
  --radius-lg: 30px;
  --radius-md: 20px;
  --shell: 1140px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 6% 12%, rgba(200, 148, 36, 0.1), transparent 22rem),
    radial-gradient(circle at 91% 82%, rgba(69, 88, 31, 0.09), transparent 24rem),
    var(--cream);
  font-family: "Tajawal", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  right: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--olive-950);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-glow {
  position: fixed;
  z-index: -1;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(200, 148, 36, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.page-glow::after {
  position: absolute;
  inset: 19px;
  content: "";
  border: 1px dashed rgba(69, 88, 31, 0.16);
  border-radius: inherit;
}

.page-glow--top {
  top: -120px;
  left: -95px;
}

.page-glow--bottom {
  right: -120px;
  bottom: -110px;
}

.shell {
  width: min(var(--shell), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(69, 88, 31, 0.1);
  background: rgba(248, 243, 233, 0.86);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  border: 0;
  background: none;
  text-align: right;
  cursor: pointer;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: var(--olive-900);
  color: var(--gold-soft);
  box-shadow: 0 8px 18px rgba(52, 68, 20, 0.18);
}

.brand-mark svg {
  width: 30px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--olive-950);
  font-size: 18px;
  line-height: 1.3;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--olive-800);
  direction: ltr;
  font-weight: 700;
}

.header-contact svg {
  width: 19px;
  fill: currentColor;
}

.view {
  min-height: calc(100vh - 84px);
}

.view.is-active {
  animation: view-in 0.38s ease both;
}

.home-layout {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(340px, 0.88fr) minmax(460px, 1.12fr);
  align-items: center;
  gap: clamp(45px, 7vw, 100px);
  padding-block: clamp(44px, 6vw, 86px);
}

.poster-wrap {
  position: relative;
  width: 100%;
  min-width: 0;
  justify-self: center;
}

.poster-halo {
  position: absolute;
  z-index: -1;
  inset: 10% -8%;
  border-radius: 50%;
  background: rgba(200, 148, 36, 0.15);
  filter: blur(45px);
}

.poster {
  width: min(100%, 505px);
  height: auto;
  max-height: 72vh;
  border: 10px solid rgba(255, 253, 249, 0.9);
  border-radius: 34px;
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}

.product-side {
  width: 100%;
  min-width: 0;
  max-width: 610px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: currentColor;
}

.product-side > h1 {
  margin: 0;
  color: var(--olive-950);
  font-size: clamp(35px, 4.4vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.hero-copy {
  max-width: 565px;
  margin: 15px 0 26px;
  color: var(--muted);
  font-size: 17px;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(69, 88, 31, 0.09);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: var(--shadow-lg);
}

.product-image-wrap {
  position: relative;
  height: 236px;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.product-card:hover .product-image {
  transform: scale(1.025);
}

.offer-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(76, 49, 5, 0.2);
}

.product-content {
  padding: 22px 24px 24px;
}

.product-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.availability {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 2px;
  color: var(--olive-700);
  font-size: 12px;
  font-weight: 700;
}

.availability span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #55a82f;
  box-shadow: 0 0 0 4px rgba(85, 168, 47, 0.12);
}

.product-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 22px;
}

.price-block {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
}

.old-price {
  color: #a08f79;
  font-size: 13px;
  text-decoration: line-through;
  text-decoration-color: #cb675b;
}

.price-block strong {
  color: var(--olive-800);
  font-size: 29px;
  line-height: 1;
}

.price-block strong small {
  font-size: 14px;
}

.product-description {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.primary-button {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--olive-700), var(--olive-900));
  color: #fff;
  box-shadow: 0 12px 24px rgba(52, 68, 20, 0.22);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(52, 68, 20, 0.28);
}

.primary-button:active {
  transform: translateY(0);
}

.primary-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 17px;
}

.service-points > div {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
}

.service-points > div > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.service-points p {
  margin: 0;
}

.service-points strong,
.service-points small {
  display: block;
  white-space: nowrap;
}

.service-points strong {
  color: var(--olive-950);
  font-size: 12px;
}

.service-points small {
  color: var(--muted);
  font-size: 10px;
}

.narrow-shell {
  max-width: 700px;
  padding-block: 38px 70px;
}

.view-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.back-button,
.text-button {
  border: 0;
  background: none;
  cursor: pointer;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 0;
  color: var(--olive-700);
  font-weight: 700;
}

.back-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.step-label {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.order-card {
  overflow: hidden;
  border: 1px solid rgba(69, 88, 31, 0.08);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
}

.order-card-head {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(237, 240, 232, 0.4);
}

.order-card-head img {
  width: 72px;
  height: 62px;
  border-radius: 14px;
  object-fit: cover;
}

.order-card-head p,
.order-card-head h1 {
  margin: 0;
}

.order-card-head p {
  color: var(--muted);
  font-size: 11px;
}

.order-card-head h1 {
  font-size: 17px;
}

.order-card-head > strong {
  color: var(--olive-700);
  font-size: 17px;
}

#order-form {
  display: grid;
  gap: 21px;
  padding: 26px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend,
.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.field label small {
  color: var(--muted);
  font-weight: 400;
}

.quantity-fieldset {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 17px;
}

.quantity-fieldset legend {
  float: right;
  margin: 0;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 17px;
  direction: ltr;
}

.quantity-control button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--olive-700);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.quantity-control output {
  min-width: 20px;
  text-align: center;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 15px;
  outline: none;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input {
  min-height: 52px;
  padding: 0 15px;
}

.field textarea {
  display: block;
  min-height: 90px;
  padding: 13px 15px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #aaa698;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--olive-700);
  box-shadow: 0 0 0 4px rgba(94, 113, 56, 0.1);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--danger);
}

.field-error {
  display: block;
  min-height: 0;
  margin-top: 4px;
  color: var(--danger);
  font-size: 12px;
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.method-option {
  position: relative;
  cursor: pointer;
}

.method-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.method-card {
  display: flex;
  min-height: 125px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.method-card svg {
  width: 28px;
  margin-bottom: 3px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.method-card strong {
  color: var(--ink);
  font-size: 14px;
}

.method-card small {
  color: var(--muted);
  font-size: 11px;
}

.method-option input:checked + .method-card {
  border-color: var(--olive-700);
  background: var(--olive-100);
  box-shadow: inset 0 0 0 1px var(--olive-700);
}

.method-option input:checked + .method-card svg {
  stroke: var(--olive-700);
}

.method-option input:focus-visible + .method-card {
  outline: 3px solid rgba(94, 113, 56, 0.24);
  outline-offset: 2px;
}

.address-field[hidden] {
  display: none;
}

.delivery-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(200, 148, 36, 0.25);
  border-radius: 14px;
  background: rgba(230, 198, 110, 0.1);
  color: #6f5a26;
}

.delivery-note svg {
  width: 21px;
  flex: 0 0 auto;
  margin-top: 2px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.delivery-note p {
  margin: 0;
  font-size: 12px;
}

.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px dashed #d9d0c2;
}

.order-total span {
  color: var(--muted);
  font-size: 14px;
}

.order-total strong,
.order-total strong span {
  color: var(--olive-800);
  font-size: 22px;
}

.ready-shell {
  display: grid;
  min-height: calc(100vh - 84px);
  place-items: center;
  padding-block: 45px;
}

.ready-card {
  width: min(100%, 530px);
  padding: clamp(28px, 6vw, 50px);
  border: 1px solid rgba(69, 88, 31, 0.08);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.success-icon {
  display: grid;
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--olive-100);
}

.success-icon svg {
  width: 55px;
  fill: none;
  stroke: var(--olive-700);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ready-card > .step-label {
  margin: 0 0 5px;
}

.ready-card h1 {
  margin: 0;
  color: var(--olive-950);
  font-size: 30px;
}

.ready-intro {
  max-width: 400px;
  margin: 10px auto 22px;
  color: var(--muted);
  font-size: 14px;
}

.summary-box {
  display: grid;
  gap: 11px;
  margin-bottom: 20px;
  padding: 17px;
  border-radius: 18px;
  background: rgba(237, 240, 232, 0.55);
  text-align: right;
}

.summary-box > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.summary-box span {
  color: var(--muted);
  font-size: 12px;
}

.summary-box strong {
  color: var(--olive-950);
  font-size: 13px;
}

.whatsapp-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 17px;
  background: var(--whatsapp);
  color: white;
  box-shadow: 0 12px 28px rgba(32, 201, 104, 0.25);
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(32, 201, 104, 0.32);
}

.whatsapp-button svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-button {
  display: block;
  margin: 18px auto 0;
  color: var(--olive-700);
  font-size: 13px;
  font-weight: 700;
}

.text-button--muted {
  margin-top: 7px;
  color: var(--muted);
  font-weight: 500;
}

.site-footer {
  padding: 30px 0 16px;
  border-top: 1px solid rgba(69, 88, 31, 0.1);
  background: rgba(255, 253, 249, 0.45);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-inner strong {
  color: var(--olive-950);
}

.footer-inner p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.social-links {
  display: flex;
  gap: 9px;
}

.social-links a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
  color: var(--olive-700);
  transition: color 0.18s ease, transform 0.18s ease;
}

.social-links a:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.social-links svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.copyright {
  margin: 24px 0 0;
  color: #9b978b;
  font-size: 10px;
  text-align: center;
}

.reveal {
  animation: rise-in 0.7s ease both;
}

.reveal--delay {
  animation-delay: 0.1s;
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 900px) {
  .home-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .poster-wrap {
    order: -1;
  }

  .poster {
    width: min(100%, 480px);
    max-height: none;
  }

  .product-side {
    max-width: 650px;
    margin-inline: auto;
  }
}

@media (max-width: 600px) {
  .shell {
    width: min(100% - 28px, var(--shell));
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 12px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand small {
    font-size: 10px;
  }

  .header-contact span {
    display: none;
  }

  .header-contact {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
  }

  .home-layout {
    gap: 37px;
    padding-block: 28px 48px;
  }

  .poster {
    width: min(100%, 420px);
    border-width: 6px;
    border-radius: 24px;
  }

  .product-side > h1 {
    font-size: 36px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .product-card,
  .order-card,
  .ready-card {
    border-radius: 23px;
  }

  .product-image-wrap {
    height: 205px;
  }

  .product-content {
    padding: 19px 18px 20px;
  }

  .product-heading h2 {
    font-size: 19px;
  }

  .price-block {
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 4px;
  }

  .price-block strong {
    font-size: 25px;
  }

  .service-points {
    overflow-x: auto;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    scrollbar-width: none;
  }

  .service-points::-webkit-scrollbar {
    display: none;
  }

  .view {
    min-height: calc(100vh - 72px);
  }

  .narrow-shell {
    width: 100%;
    padding: 24px 12px 45px;
  }

  .view-topbar {
    padding-inline: 7px;
  }

  .order-card-head {
    grid-template-columns: 57px 1fr auto;
    padding: 15px;
  }

  .order-card-head img {
    width: 57px;
    height: 55px;
    border-radius: 12px;
  }

  .order-card-head h1,
  .order-card-head > strong {
    font-size: 14px;
  }

  #order-form {
    gap: 19px;
    padding: 20px 16px 22px;
  }

  .method-card {
    min-height: 116px;
    padding: 9px 5px;
  }

  .ready-shell {
    width: 100%;
    min-height: calc(100vh - 72px);
    padding: 24px 12px;
  }

  .ready-card {
    padding: 30px 20px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
