/*
Theme Name: Her Mutfak Astra Child
Theme URI: https://siparis.hermutfak.com
Template: astra
Author: Renton Dijital
Description: Her Mutfak icin Astra tabanli WooCommerce siparis temasi.
Version: 1.0.0
*/

@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800&family=Caveat:wght@600;700&family=Permanent+Marker&display=swap");

:root {
  --hm-primary: #f27a1a;
  --hm-primary-hover: #ef6114;
  --hm-soft: #fef2e8;
  --hm-dark: #0f131a;
  --hm-ink: #273142;
  --hm-muted: #6e7787;
  --hm-line: #eef0f4;
  --hm-bg: #f1f2f7;
  --hm-radius: 12px;
  --hm-pill: 999px;
}

body {
  font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--hm-ink);
  background: #fff;
}

a {
  color: inherit;
}

.ast-primary-header-bar {
  border-bottom: 1px solid var(--hm-line);
}

.main-header-menu .menu-link,
.site-title a {
  color: var(--hm-dark);
  font-weight: 700;
}

.site-title a {
  font-size: 1.45rem;
}

.site-title a::first-letter {
  color: var(--hm-primary);
}

.ast-button,
.button,
button,
input[type="button"],
input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  border-radius: var(--hm-pill);
  background: var(--hm-primary);
  border-color: var(--hm-primary);
  color: #fff;
  font-weight: 700;
  padding: 13px 24px;
}

.ast-button:hover,
.button:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--hm-primary-hover);
  border-color: var(--hm-primary-hover);
  color: #fff;
}

.hm-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hm-hero {
  background: radial-gradient(circle at 80% 20%, #1c232e 0%, var(--hm-dark) 60%);
  color: #fff;
  padding: clamp(42px, 6vw, 76px) 0;
}

.hm-hero__grid,
.hm-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.hm-kicker {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: var(--hm-pill);
  background: rgba(242, 122, 26, 0.18);
  color: #ffd1ad;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hm-hero h1 {
  max-width: 620px;
  margin: 16px 0 0;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05;
  font-weight: 800;
}

.hm-hero p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.hm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: var(--hm-pill);
  font-weight: 700;
  line-height: 1;
}

.hm-btn--primary {
  background: var(--hm-primary);
  color: #fff;
}

.hm-btn--ghost {
  border: 2px solid rgba(255, 255, 255, 0.62);
  color: #fff;
}

.hm-hero__media img,
.hm-story img {
  width: 100%;
  border-radius: var(--hm-radius);
}

.hm-brands,
.hm-story {
  padding: clamp(48px, 6vw, 76px) 0;
}

.hm-brands h2,
.hm-story h2 {
  color: var(--hm-dark);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  text-align: center;
}

.hm-brands h2 span,
.hm-story h2 span {
  color: var(--hm-primary);
}

.hm-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.hm-brand-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  background: #fff;
  box-shadow: 0 6px 20px rgba(15, 19, 26, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hm-brand-card:hover {
  transform: translateY(-4px);
  border-color: var(--hm-primary);
  box-shadow: 0 12px 28px rgba(242, 122, 26, 0.14);
}

.hm-brand-card strong {
  color: var(--hm-dark);
  font-size: 1.12rem;
}

.hm-brand-card small {
  color: var(--hm-muted);
  font-size: 0.92rem;
}

.hm-brand-card--dark {
  background: var(--hm-dark);
}

.hm-brand-card--dark strong,
.hm-brand-card--dark small {
  color: #fff;
}

.hm-features {
  background: var(--hm-soft);
  padding: 36px 0;
}

.hm-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hm-feature-grid div {
  text-align: center;
}

.hm-feature-grid strong {
  display: block;
  color: var(--hm-dark);
  font-size: 1rem;
}

.hm-feature-grid span {
  display: block;
  color: var(--hm-muted);
  font-size: 0.84rem;
}

.hm-story {
  background: #fff;
}

.hm-story h2 {
  text-align: left;
}

.hm-story p {
  max-width: 600px;
  color: var(--hm-muted);
  line-height: 1.75;
}

.woocommerce ul.products li.product,
.wc-block-grid__product {
  border: 1px solid var(--hm-line);
  border-radius: var(--hm-radius);
  padding: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15, 19, 26, 0.04);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--hm-dark);
  font-weight: 800;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
  color: var(--hm-primary);
  font-weight: 800;
}

.woocommerce-store-notice,
p.demo_store {
  background: var(--hm-primary);
}

@media (min-width: 768px) {
  .hm-hero__grid,
  .hm-story__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hm-brand-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hm-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 544px) {
  .hm-brand-grid {
    grid-template-columns: 1fr;
  }

  .hm-actions .hm-btn {
    width: 100%;
  }
}
