/*
Theme Name: Hogarín
Template: blocksy
Version: 2.1.0
Text Domain: dropship-child
*/
:root {
  --hg-ink: #12332e;
  --hg-ink-dark: #0c2622;
  --hg-muted: #4e625c;
  --hg-brass: #c9a24b;
  --hg-ivory: #f6f3ec;
  --hg-sand: #e7e2d5;
  --hg-line: #d9d3c6;
  --hg-field: #8fa39a;
  --theme-palette-color-1: #12332e;
  --theme-palette-color-2: #0c2622;
  --theme-palette-color-3: #4e625c;
  --theme-palette-color-4: #12332e;
  --theme-palette-color-5: #d9d3c6;
  --theme-palette-color-6: #f6f3ec;
  --theme-palette-color-7: #ffffff;
  --theme-palette-color-8: #ffffff;
  --theme-font-family: Figtree, sans-serif;
  --theme-button-border-radius: 4px;
}
body.hg {
  margin: 0;
  background: #fff;
  color: var(--hg-ink);
  font-family: Figtree, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.hg a {
  color: var(--hg-ink);
}
.hg h1,
.hg h2,
.hg h3 {
  color: var(--hg-ink);
  font-family: Fraunces, serif;
  font-weight: 500;
}
.hg-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.hg-skip {
  position: absolute;
  left: -999px;
}
.hg-skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: #fff;
}
.hg-announce {
  padding: 9px 16px;
  background: var(--hg-ink);
  color: #fff;
  font-size: 14px;
  text-align: center;
}

/* Header */
.hg-header {
  border-bottom: 1px solid var(--hg-line);
  background: #fff;
}
.hg-header__top {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 24px;
}
.hg-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: Fraunces, serif;
  font-size: 28px;
  font-weight: 500;
  text-decoration: none;
}
.hg-search {
  flex: 1;
  margin: 0;
}
.hg-search input[type='search'],
.hg .woocommerce input.input-text,
.hg input[type='email'],
.hg input[type='tel'],
.hg input[type='text'],
.hg input[type='password'] {
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--hg-field);
  border-radius: 4px;
  background: #fff;
  color: var(--hg-ink);
  font:
    16px Figtree,
    sans-serif;
}
.hg-actions {
  display: flex;
  gap: 20px;
  font-weight: 500;
}
.hg-actions a,
.hg-categories a {
  text-decoration: none;
}
.hg-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px 12px;
  font-weight: 500;
}
.hg-menu {
  display: none;
}

/* Layout */
.hg-page {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px;
}
.hg-crumbs {
  margin-bottom: 12px;
  color: var(--hg-muted);
  font-size: 14px;
}
.hg-title {
  margin: 0 0 18px;
  font-size: 56px;
  letter-spacing: -1px;
  line-height: 1.05;
}
.hg-pills {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  overflow-x: auto;
}
.hg-pills a {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 22px;
  background: var(--hg-ivory);
  font-weight: 500;
  text-decoration: none;
}
.hg-empty {
  padding: 48px 0;
  color: var(--hg-muted);
}
.hg-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.hg-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
  min-height: 430px;
  padding: 28px;
  border-radius: 6px;
  background: var(--hg-ink);
  text-decoration: none;
}
.hg a.hg-tile,
.hg a.hg-tile:hover {
  color: #fff;
}
.hg a.hg-tile--light,
.hg a.hg-tile--light:hover {
  background: var(--hg-sand);
  color: var(--hg-ink);
}
.hg-tile span {
  font-family: Fraunces, serif;
  font-size: 50px;
  line-height: 1.05;
}
.hg-tile small {
  font-size: 16px;
  font-weight: 600;
}
.hg-shelf {
  margin-bottom: 40px;
}
.hg-shelf__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.hg-shelf h2,
.hg-related h2 {
  margin: 0 0 18px;
  font-size: 34px;
}
.hg-shelf__head h2 {
  margin: 0;
}

/* Product cards */
.hg ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hg ul.products::before,
.hg ul.products::after {
  display: none;
}
.hg li.hg-card {
  display: flex;
  flex-direction: column;
  width: auto !important;
  margin: 0 !important;
  padding: 0;
  float: none;
}
.hg-card__media {
  display: block;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border-radius: 6px;
  background: var(--hg-ivory);
}
.hg-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  object-fit: cover;
}
.hg-card__name {
  display: block;
  margin-top: 10px;
  font-weight: 500;
  text-decoration: none;
}
.hg-card__price {
  margin-bottom: 8px;
  font-weight: 600;
}
.hg-card .button,
.hg-card .added_to_cart {
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 44px;
  margin-top: auto;
  border: 1px solid var(--hg-ink);
  border-radius: 4px;
  background: #fff;
  color: var(--hg-ink);
  font-weight: 600;
  text-decoration: none;
}
.hg-card .button:hover {
  background: var(--hg-ink);
  color: #fff;
}
.hg-card .added_to_cart {
  margin-top: 8px;
  border: 0;
}

/* Buttons */
.hg .button.alt,
.hg .single_add_to_cart_button,
.hg .wc-block-components-button:not(.is-link),
.hg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 4px;
  background: var(--hg-ink) !important;
  color: #fff !important;
  font-weight: 600;
  text-decoration: none;
}
.hg .button.alt:hover,
.hg .single_add_to_cart_button:hover,
.hg .wc-block-components-button:not(.is-link):hover {
  background: var(--hg-ink-dark) !important;
}

.hg {
  --theme-button-background-initial-color: #12332e;
  --theme-button-background-hover-color: #0c2622;
  --theme-button-text-initial-color: #ffffff;
  --theme-button-text-hover-color: #ffffff;
  --theme-link-initial-color: #12332e;
  --theme-link-hover-color: #4e625c;
}
.hg .woocommerce-message .button,
.hg .woocommerce form .button,
.hg .woocommerce-form-login__submit,
.hg .woocommerce-Button {
  min-height: 48px;
  border: 0;
  border-radius: 4px;
  background: var(--hg-ink);
  color: #fff;
  font-weight: 600;
}
.hg .woocommerce-message .button {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
}
.hg.woocommerce-checkout .hg-search,
.hg.woocommerce-checkout .hg-categories,
.hg.woocommerce-checkout .hg-actions,
.hg.woocommerce-checkout .hg-menu,
.hg.woocommerce-checkout .hg-announce,
.hg.woocommerce-checkout .hg-tabs {
  display: none;
}
.hg.woocommerce-checkout .hg-header__top {
  display: flex;
  justify-content: center;
}

/* Single product */
.hg-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
}
.hg-product__gallery .woocommerce-product-gallery {
  width: 100% !important;
  float: none;
  margin: 0;
  opacity: 1 !important;
}
.hg-product__gallery img {
  border-radius: 6px;
}
.hg-product__title {
  margin: 0;
  font-size: 46px;
  letter-spacing: -1px;
  line-height: 1.05;
}
.hg-product__price {
  margin: 12px 0;
  font-size: 30px;
  font-weight: 600;
}
.hg-product__short,
.hg-product__shipping {
  color: var(--hg-muted);
}
.hg-product form.cart {
  display: flex;
  gap: 12px;
  margin: 18px 0;
}
.hg-product form.cart .quantity input {
  width: 72px;
  min-height: 54px;
  border: 1px solid var(--hg-field);
  border-radius: 4px;
  text-align: center;
}
.hg-product form.cart .single_add_to_cart_button {
  flex: 1;
}
.hg-details details {
  border-top: 1px solid var(--hg-line);
  padding: 6px 0;
}
.hg-details summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  cursor: pointer;
}
.hg-details details > div {
  padding-bottom: 12px;
  color: var(--hg-muted);
}
.hg-related {
  margin-top: 56px;
}
.hg-buybar {
  display: none;
}

/* Cart, checkout and account */
.hg .entry-header,
.hg .hero-section {
  display: none;
}
.hg.woocommerce-cart main,
.hg.woocommerce-checkout main,
.hg.woocommerce-account main {
  display: block;
}
.hg .wc-block-cart,
.hg .wc-block-checkout,
.hg .woocommerce-MyAccount-content,
.hg .woocommerce-order {
  font-family: Figtree, sans-serif;
}
.hg .wc-block-components-sidebar,
.hg .wc-block-components-order-summary {
  background: var(--hg-ivory);
  border-radius: 6px;
}
.hg .wc-block-components-sidebar {
  padding: 24px;
}
.hg .wc-block-components-text-input input,
.hg .wc-block-components-combobox input,
.hg .wc-blocks-components-select__select {
  border-color: var(--hg-field) !important;
  border-radius: 4px !important;
}
.hg .wc-block-components-payment-method-label,
.hg .wc-block-components-radio-control-accordion-option {
  font-weight: 500;
}
.hg .wc-block-components-title {
  font-family: Fraunces, serif !important;
  font-weight: 500;
}
.hg .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.hg .woocommerce-MyAccount-navigation a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 22px;
  background: var(--hg-ivory);
  text-decoration: none;
}
.hg .woocommerce-message,
.hg .woocommerce-info {
  border: 0;
  border-radius: 4px;
  background: var(--hg-ivory);
  color: var(--hg-ink);
}

/* Footer and mobile tabs */
.hg-footer {
  margin-top: 40px;
  background: var(--hg-ink);
  color: #fff;
}
.hg-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px 24px;
}
.hg-footer__brand {
  font-family: Fraunces, serif;
  font-size: 24px;
}
.hg-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}
.hg .hg-footer a {
  color: #fff;
}
.hg-tabs {
  display: none;
}

.hg-legal {
  max-width: 760px;
}
.hg-legal h2 {
  margin: 32px 0 8px;
  font-size: 26px;
}
.hg-legal p,
.hg-legal ul,
.hg-legal ol {
  margin: 0 0 14px;
}
.hg-notfound {
  padding: 72px 24px;
  text-align: center;
}
.hg-notfound__code {
  margin: 0;
  color: var(--hg-muted);
  font-family: Fraunces, serif;
  font-size: 40px;
}
.hg-notfound h1 {
  margin: 0 0 24px;
  font-size: 48px;
}

body.hg-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 16px;
  box-sizing: border-box;
  background: var(--hg-ink);
  color: #fff;
  text-align: center;
}
.hg-soon h1 {
  margin: 16px 0 4px;
  color: #fff;
  font-size: 72px;
  line-height: 1;
}
.hg-soon p {
  margin: 0;
  color: var(--hg-brass);
  font-size: 20px;
}

@media (max-width: 800px) {
  body.hg {
    padding-bottom: 64px;
  }
  .hg-announce {
    padding: 7px 16px;
    font-size: 13px;
  }
  .hg-header__top {
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    gap: 8px 4px;
    padding: 8px 12px 12px;
  }
  .hg-menu {
    display: block;
    position: relative;
  }
  .hg-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    list-style: none;
    cursor: pointer;
  }
  .hg-menu summary span {
    width: 22px;
    height: 12px;
    border-top: 1.5px solid var(--hg-ink);
    border-bottom: 1.5px solid var(--hg-ink);
  }
  .hg-menu nav {
    position: absolute;
    z-index: 30;
    top: 48px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
    padding: 10px;
    border: 1px solid var(--hg-line);
    border-radius: 6px;
    background: #fff;
  }
  .hg-menu nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    text-decoration: none;
  }
  .hg-brand {
    justify-content: center;
    font-size: 26px;
  }
  .hg-brand img {
    width: 34px;
    height: 34px;
  }
  .hg-actions {
    justify-content: flex-end;
  }
  .hg-actions .hg-actions__account {
    display: none;
  }
  .hg-actions a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 0;
  }
  .hg-actions .hg-bag-count {
    font-size: 16px;
  }
  .hg-search {
    grid-column: 1 / -1;
    order: 4;
  }
  .hg-categories {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 0 12px 12px;
    overflow-x: auto;
  }
  .hg-categories a {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 22px;
    background: var(--hg-ivory);
  }
  .hg-page {
    padding: 12px;
  }
  .hg-title {
    font-size: 40px;
  }
  .hg-tiles {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }
  .hg-tile {
    min-height: 220px;
    padding: 18px;
  }
  .hg-tile span {
    font-size: 38px;
  }
  .hg-shelf h2,
  .hg-related h2 {
    font-size: 28px;
  }
  .hg ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 10px;
  }
  .hg-card .button {
    min-height: 44px;
  }
  .hg-product {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hg-product__title {
    font-size: 36px;
  }
  .hg-buybar {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 64px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-top: 1px solid var(--hg-line);
    background: #fff;
  }
  .hg-buybar .hg-btn {
    flex: 1;
  }
  .single-product.hg {
    padding-bottom: 140px;
  }
  .hg-tabs {
    position: fixed;
    z-index: 25;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 64px;
    border-top: 1px solid var(--hg-line);
    background: #fff;
    font-size: 13px;
    font-weight: 500;
  }
  .hg-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
  }
  .hg-footer__inner {
    padding: 28px 16px;
  }
}
