/*
Theme Name: Hammykoti AE Child
Description: Hammykoti UAE storefront child theme for Blocksy.
Author: Hammykoti
Template: blocksy
Version: 1.0.1
Text Domain: hammykoti-ae
*/

:root {
  --hmk-ink: #2f2a25;
  --hmk-muted: #756d64;
  --hmk-sand: #eee7de;
  --hmk-cream: #faf8f4;
  --hmk-accent: #9a7556;
  --hmk-line: rgba(47, 42, 37, 0.14);
}

body {
  color: var(--hmk-ink);
  background: var(--hmk-cream);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
}

.hmk-prelaunch {
  padding: 9px 20px;
  color: #fff;
  background: var(--hmk-ink);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
}

.hmk-home {
  overflow: hidden;
}

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

.hmk-hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 72% 34%, rgba(255, 255, 255, 0.92) 0 12%, transparent 13%),
    radial-gradient(circle at 75% 45%, rgba(154, 117, 86, 0.16) 0 20%, transparent 21%),
    linear-gradient(120deg, #f7f2eb 0 52%, #e6d9ca 52% 100%);
}

.hmk-hero::after {
  content: "";
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: min(410px, 42vw);
  aspect-ratio: 1.25;
  border: 1px solid rgba(47, 42, 37, 0.12);
  border-radius: 48% 48% 12% 12%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.2));
  box-shadow: 0 40px 100px rgba(80, 57, 38, 0.15);
}

.hmk-hero-content {
  position: relative;
  z-index: 1;
  max-width: 630px;
  padding-block: 100px;
}

.hmk-eyebrow {
  margin: 0 0 18px;
  color: var(--hmk-accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hmk-hero h1,
.hmk-section h2 {
  margin: 0;
  font-family: "Bodoni 72", Didot, Baskerville, Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.hmk-hero h1 {
  max-width: 620px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 0.98;
}

.hmk-lead {
  max-width: 540px;
  margin: 28px 0 34px;
  color: var(--hmk-muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.hmk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hmk-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--hmk-ink);
  color: #fff;
  background: var(--hmk-ink);
  font-size: 14px;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.hmk-button:hover {
  color: #fff;
  transform: translateY(-2px);
}

.hmk-button.is-secondary {
  color: var(--hmk-ink);
  background: transparent;
}

.hmk-button.is-secondary:hover {
  color: #fff;
  background: var(--hmk-ink);
}

.hmk-section {
  padding-block: 96px;
}

.hmk-section h2 {
  max-width: 760px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
}

.hmk-section-intro {
  max-width: 670px;
  margin: 20px 0 44px;
  color: var(--hmk-muted);
  font-size: 17px;
  line-height: 1.8;
}

.hmk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.hmk-card {
  min-height: 310px;
  padding: 34px;
  border: 1px solid var(--hmk-line);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hmk-card:nth-child(2) {
  background: #ede6dc;
}

.hmk-card:nth-child(3) {
  background: #e5dfd5;
}

.hmk-card h3 {
  margin: 0 0 12px;
  font-family: "Bodoni 72", Didot, Baskerville, Georgia, serif;
  font-size: 29px;
  font-weight: 400;
}

.hmk-card p,
.hmk-value p {
  margin: 0;
  color: var(--hmk-muted);
  line-height: 1.7;
}

.hmk-values {
  background: var(--hmk-ink);
  color: #fff;
}

.hmk-values .hmk-eyebrow,
.hmk-values .hmk-value p {
  color: #d7c4b1;
}

.hmk-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 48px;
}

.hmk-value {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hmk-value h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 19px;
}

html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .hmk-hero::after {
  right: auto;
  left: 8%;
}

html[dir="rtl"] input,
html[dir="rtl"] textarea,
html[dir="rtl"] select,
html[dir="rtl"] .woocommerce-breadcrumb,
html[dir="rtl"] .woocommerce-message,
html[dir="rtl"] .woocommerce-info,
html[dir="rtl"] .woocommerce-error {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .ct-cart-content,
html[dir="rtl"] .ct-panel-content {
  direction: rtl;
}

@media (max-width: 800px) {
  .hmk-shell {
    width: min(100% - 28px, 1180px);
  }

  .hmk-hero {
    min-height: 600px;
    background: linear-gradient(145deg, #f7f2eb, #e6d9ca);
  }

  .hmk-hero::after {
    opacity: 0.35;
  }

  .hmk-hero-content {
    padding-block: 78px;
  }

  .hmk-grid,
  .hmk-values-grid {
    grid-template-columns: 1fr;
  }

  .hmk-section {
    padding-block: 68px;
  }
}

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