/*
Theme Name: HázraKész
Theme URI: https://hazrakesz.hu
Author: Generiti Market Kft.
Description: Egyedi, prémium HázraKész szolgáltatási webáruház téma.
Version: 1.0.0
Text Domain: hazrakesz
*/

html { scroll-behavior: smooth; }
body { margin: 0; }

/* HázraKész – WooCommerce pénztár */
body.woocommerce-checkout,
body.woocommerce-cart {
  --hk-forest:#123f36;
  --hk-forest-deep:#0c312a;
  --hk-cream:#f5f0e6;
  --hk-paper:#fffdf8;
  --hk-sand:#dfc8a5;
  --hk-copper:#b96f49;
  --hk-ink:#1d2a27;
  --hk-muted:#68726f;
  --hk-line:#d8cdbc;
  background:var(--hk-cream);
  color:var(--hk-ink);
  font-family:Inter,Arial,sans-serif;
}
body.woocommerce-checkout main,
body.woocommerce-cart main {
  background:
    radial-gradient(circle at 92% 6%,rgba(185,111,73,.10) 0 1px,transparent 2px) 0 0/20px 20px,
    var(--hk-cream);
  padding:64px 24px 88px;
}
body.woocommerce-checkout main article,
body.woocommerce-cart main article {
  max-width:1180px;
  margin:0 auto;
}
body.woocommerce-checkout main article>h1,
body.woocommerce-cart main article>h1 {
  display:flex;
  align-items:center;
  gap:18px;
  margin:0 0 34px;
  color:var(--hk-forest);
  font-family:"Plus Jakarta Sans",Arial,sans-serif;
  font-size:clamp(38px,5vw,62px);
  font-weight:600;
  line-height:1;
  letter-spacing:-.02em;
}
body.woocommerce-checkout main article>h1::before {
  content:"";
  width:66px;
  height:66px;
  flex:0 0 66px;
  border:1px solid var(--hk-forest);
  background-color:var(--hk-forest);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='%23f5f0e6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 24h32l-3 28H19l-3-28Z'/%3E%3Cpath d='M24 24v-4a8 8 0 0 1 16 0v4'/%3E%3Cpath d='m24 38 6 6 11-13' stroke='%23c9855e' stroke-width='4'/%3E%3C/svg%3E");
  background-position:center;
  background-repeat:no-repeat;
  background-size:46px;
  box-shadow:8px 8px 0 var(--hk-sand);
}
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-cart .wc-block-components-sidebar-layout {
  gap:28px;
  align-items:flex-start;
}
body.woocommerce-checkout .wc-block-checkout__main {
  width:calc(64% - 14px);
  padding:0;
}
body.woocommerce-checkout .wc-block-checkout__sidebar {
  width:calc(36% - 14px);
  top:32px;
  padding:28px;
  border:0;
  background:var(--hk-forest);
  color:var(--hk-cream);
  box-shadow:12px 12px 0 var(--hk-sand);
}
body.woocommerce-checkout .wc-block-components-checkout-step {
  margin:0 0 18px;
  padding:26px 28px;
  border:1px solid var(--hk-line);
  background:var(--hk-paper);
}
body.woocommerce-checkout .wc-block-components-checkout-step__heading {
  margin:0 0 20px;
}
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title {
  color:var(--hk-forest);
  font-family:"Plus Jakarta Sans",Arial,sans-serif;
  font-size:27px;
  font-weight:600;
}
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select {
  min-height:58px;
  border:1px solid var(--hk-line)!important;
  border-radius:0!important;
  background:#fff!important;
  color:var(--hk-ink)!important;
}
body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select:focus {
  border-color:var(--hk-copper)!important;
  box-shadow:0 0 0 2px rgba(185,111,73,.18)!important;
}
body.woocommerce-checkout .wc-block-components-radio-control {
  border:1px solid var(--hk-line);
  border-radius:0;
  background:var(--hk-paper);
}
body.woocommerce-checkout .wc-block-components-radio-control__option {
  padding:22px 20px 22px 54px;
}
body.woocommerce-checkout .wc-block-components-radio-control__option-checked {
  background:rgba(223,200,165,.28);
}
body.woocommerce-checkout .wc-block-components-checkbox__input {
  border-color:var(--hk-forest)!important;
  border-radius:0!important;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  min-height:58px;
  border:1px solid var(--hk-forest)!important;
  border-radius:0!important;
  background:var(--hk-forest)!important;
  color:#fff!important;
  font-weight:700;
  letter-spacing:.02em;
  transition:background .2s ease,transform .2s ease;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background:var(--hk-copper)!important;
  border-color:var(--hk-copper)!important;
  transform:translateY(-2px);
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-name,
body.woocommerce-checkout .wc-block-checkout__sidebar a,
body.woocommerce-checkout .wc-block-checkout__sidebar strong {
  color:var(--hk-cream)!important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__title {
  padding:0 0 22px;
  font-family:"Plus Jakarta Sans",Arial,sans-serif;
  font-size:28px;
  font-weight:600;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-wrapper {
  border-color:rgba(245,240,230,.18)!important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__image {
  position:relative;
  overflow:hidden;
  width:58px;
  height:58px;
  border:1px solid rgba(245,240,230,.28);
  background:rgba(245,240,230,.10);
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__image img {
  opacity:.12;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__image::after {
  content:"HK";
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:var(--hk-sand);
  font-family:"Plus Jakarta Sans",Arial,sans-serif;
  font-size:19px;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-metadata__description,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-formatted-money-amount,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-price,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-badge,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__quantity {
  color:rgba(245,240,230,.82)!important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-badge {
  border-color:rgba(245,240,230,.28)!important;
  background:rgba(245,240,230,.08)!important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__quantity {
  background:var(--hk-copper)!important;
  border-color:var(--hk-copper)!important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-panel__button {
  color:var(--hk-cream)!important;
}
body.woocommerce-checkout .wc-block-checkout__sidebar svg {
  fill:currentColor;
}
body.woocommerce-checkout .wc-block-checkout__terms {
  padding:20px 0;
  border-top:1px solid var(--hk-line);
}
body.woocommerce-checkout .wc-block-checkout__terms a {
  color:var(--hk-forest);
  text-decoration-color:var(--hk-copper);
  text-underline-offset:3px;
}
body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius:0;
}
@media (max-width:782px) {
  body.woocommerce-checkout main,
  body.woocommerce-cart main {padding:34px 16px 60px}
  body.woocommerce-checkout main article>h1,
  body.woocommerce-cart main article>h1 {font-size:40px;margin-bottom:26px}
  body.woocommerce-checkout main article>h1::before {width:54px;height:54px;flex-basis:54px;background-size:38px;box-shadow:6px 6px 0 var(--hk-sand)}
  body.woocommerce-checkout .wc-block-components-sidebar-layout {display:flex;flex-direction:column;gap:22px}
  body.woocommerce-checkout .wc-block-checkout__main,
  body.woocommerce-checkout .wc-block-checkout__sidebar {width:100%;box-sizing:border-box}
  body.woocommerce-checkout .wc-block-checkout__sidebar {order:-1;padding:22px;position:relative;top:0;box-shadow:8px 8px 0 var(--hk-sand)}
  body.woocommerce-checkout .wc-block-components-checkout-step {padding:22px 18px}
}

/* HázraKész – saját szolgáltatási piktogramok */
.hk-service-icon {
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  box-sizing:border-box;
  margin:0 0 22px;
  border:1px solid #123f36;
  background:#123f36;
  color:#f5f0e6;
  box-shadow:7px 7px 0 #dfc8a5;
}
.hk-service-icon svg {
  width:42px;
  height:42px;
  display:block;
}
.hs-card .hk-service-icon {
  transition:transform .2s ease,box-shadow .2s ease;
}
.hs-card:hover .hk-service-icon {
  transform:translateY(-2px);
  box-shadow:9px 9px 0 #dfc8a5;
}
.hk-variant-icons {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:12px 0 18px;
}
.hk-variant-icons>span {
  display:flex;
  min-width:0;
  flex-direction:column;
  align-items:center;
  gap:5px;
  padding:8px 4px;
  border:1px solid rgba(18,63,54,.16);
  background:rgba(223,200,165,.16);
  color:#123f36;
}
.hk-variant-icons i {
  width:29px;
  height:29px;
  display:block;
  font-style:normal;
}
.hk-variant-icons svg {
  width:100%;
  height:100%;
  display:block;
}
.hk-variant-icons b {
  font-size:10px;
  line-height:1.25;
  text-align:center;
  font-weight:700;
}
.wc-block-components-order-summary-item__image .hk-product-icon {
  position:absolute;
  inset:5px;
  z-index:2;
  display:grid;
  place-items:center;
  color:#dfc8a5;
}
.wc-block-components-order-summary-item__image .hk-product-icon svg {
  width:100%;
  height:100%;
  display:block;
  fill:none;
}
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__image::after {
  display:none;
}
body.woocommerce-cart .wc-block-components-order-summary-item__image,
body.woocommerce-cart .wc-block-cart-item__image {
  position:relative;
  background:#123f36;
}
body.woocommerce-cart .hk-product-icon {
  color:#dfc8a5;
}
.hk-product-title-icon {
  margin-bottom:18px;
}
@media (max-width:600px) {
  .hk-service-icon {width:52px;height:52px;margin-bottom:18px;box-shadow:6px 6px 0 #dfc8a5}
  .hk-service-icon svg {width:37px;height:37px}
  .hk-variant-icons {gap:5px}
  .hk-variant-icons>span {padding:7px 2px}
  .hk-variant-icons b {font-size:9px}
}

/* Legal pages: readable text and contained tables, 2026-10-04. */
.hk-readable{max-width:860px;margin-inline:auto;font-family:Arial,sans-serif;font-size:17px;line-height:1.75;color:#243d36;overflow-wrap:anywhere}
.hk-readable h1{font-size:clamp(30px,5vw,42px);line-height:1.2;color:#173b35}
.hk-readable h2{font-size:25px;line-height:1.35;margin-top:1.6em;color:#173b35}
.hk-readable li{margin-block:8px}.hk-readable a{color:#173b35;text-underline-offset:3px}
.hk-readable .wp-block-table{overflow-x:auto;margin-inline:0}.hk-readable table{border-collapse:collapse;min-width:560px;width:100%}.hk-readable th,.hk-readable td{padding:12px;border:1px solid #dde1d8;vertical-align:top;text-align:left}
@media(max-width:600px){.hk-readable{font-size:16px;line-height:1.75}.hk-readable h2{font-size:23px}.hk-readable ul{padding-left:22px}.hk-readable .wp-block-table{max-width:100%}}
