/*
Theme Name: HYENA Child
Theme URI: https://hyena.co.za/
Description: Child theme for the HYENA WooCommerce store.
Author: DigitalBone
Template: woostify
Version: 1.0.1
Text Domain: hyena-child
*/

@import url('https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500;700&family=Pirata+One&display=swap');
/* Typography */

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.entry-title,
.page-title,
.product_title,
.woocommerce-loop-product__title {
  font-family: 'Pirata One', Helvetica, sans-serif;
  font-weight: 400;
  color:#4A1942;
}

body,
select,
button,
input,
textarea {
  color: #333;
  line-height: 1.25;
}

h2,
.has-woostify-heading-2-font-size {
  margin: 30px 0 10px;
  font-size: 25px;
}

h3,
.has-woostify-heading-3-font-size {
  margin-top: 35px;
}

p {
  margin-bottom: 20px;
  line-height: 1.4;
}

/* Layout */

.woostify-container {
  max-width: 1200px;
  padding: 0 60px;
}

:where(.wp-block-columns.is-layout-flex) {
  gap: 1px;
}

:where(.wp-block-columns) {
  margin-bottom: 1px;
}

/* Content Lists */

.entry-content li,
.woocommerce-product-details__short-description li,
.woocommerce-Tabs-panel li {
  margin: 0.5rem 0;
}

/* Featured Product Collection Headings */

.single_add_to_cart_button.button {
  background: #FF1A6F
}

.woocommerce-product-details__short-description p {
  line-height:1.5;
  padding:0;
  margin-bottom:10px
}

.wp-block-woocommerce-product-collection h2.wp-block-heading {
  color: #4A1942;
  font-size: clamp(2.5rem, 7vw, 3.5rem);
  line-height: 1;
  text-shadow:
    2px 2px #FFF4E6,
    4px 4px #FF1A6F;
}

/* Related Products Heading */

.related > h2 {
  font-size: clamp(2.25rem, 6vw, 2.5rem);
  line-height: 1;
  text-shadow:
    2px 2px #FFF4E6,
    3px 3px #ff1a6f;
}

/* Single Product Title */

.product_title {
  font-size: clamp(2.5rem, 8vw, 3.5rem);
  line-height: 1;
  text-shadow:
    2px 2px #FFF4E6,
    3px 3px #ff1a6f;
}

/* Header Branding */

.site-header-inner {
  padding: 15px 0 10px;
  background: #4A1942;
/*   border-bottom: 10px solid #f2f1de; */
}

.has-header-transparent .site-header-inner,
.has-sticky-header .site-header-inner.fixed {
  background: #4A1942;
}

.site-header-inner .woostify-container {
  padding: 0 15px;
}

.toggle-sidebar-menu-btn.woostify-icon-bar span {
  background-color: #fff;
}

.site-branding {
  width: 100%;
  max-width: 220px;
}

.site-branding img,
.site-branding .custom-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 5px;
}

:root :where(.wp-element-button, .wp-block-button__link) {
  background:#4A1842;
}

.primary-navigation > li > a {
  color:#fff;
}

/* Sticky Footer */

.woostify-sticky-footer-bar {
  background: #4A1942;
}

.woostify-sticky-footer-bar
  ul.woostify-item-list
  li.woostify-item-list__item
  a
  .woostify-item-list-item__icon
  .woositfy-sfb-icon
  svg {
  color: #ff1a6f;
}

/* Product Grid */

.wc-block-product-template__responsive {
  gap: 0.25rem;
}

.wc-block-product-template__responsive > li {
  margin-bottom: 50px;
  padding: 0;
}

/* Product Titles */

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.wc-block-grid__product-title,
.wp-block-post-title,
.wp-block-post-title a {
  color: #333;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.1;
  text-wrap: pretty;
}

.woocommerce-loop-product__title {
  text-shadow: none;
}

/* Product Pricing */

.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .woocommerce-Price-amount,
.single-product .summary .price,
.single-product .summary .price .woocommerce-Price-amount,
.wc-block-components-product-price,
.wc-block-grid__product-price {
  color: #333;
  font-family: 'Fira Mono', monospace;
  font-size: 1.25rem;
  font-weight: 400;
  color:#4A1942;
}

.cart-sidebar-title {
  color: #333;
  font-family: 'Fira Mono', monospace;
  font-size: 1.2rem;
  font-weight: 700;
}

/* Product Buttons */

.woocommerce ul.products li.product .button,
.wc-block-components-product-button__button.wp-block-button__link {
  display: flex;
  width: fit-content;
  max-width: 100%;
  min-height: 20px;
  max-height: 30px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-inline: auto;
  padding: 6px 20px;
  color: #333;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

/* Woostify Cart Icon */

.wc-block-components-product-button__button .woostify-svg-icon {
  display: inline-flex;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.wc-block-components-product-button__button .woostify-svg-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

.wc-block-components-product-button__button .woostify-svg-icon path {
  fill: currentColor;
}

/* Quick View Icon */

.quick-view-with-icon .woostify-svg-icon svg {
  width: 30px;
  height: 30px;
}

/* Single Product Layout */

.single-product .content-top,
.product-page-container {
  background: #fff;
}

/* Product Tabs */

.wc-tabs-wrapper {
  margin: 20px 0;
}

.woocommerce-tabs {
  padding: 5px;
  background: #f2f2f2;
  border-radius: 20px;
}

.woocommerce-tabs .tabs {
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
}

.woocommerce-tabs .tabs li {
  display: inline-flex;
  margin: 10px 5px 5px 10px;
  list-style: none;
  line-height: 1;
}

.woocommerce-tabs .tabs a,
#tab-title-description a {
  padding: 6px 10px 6px;
  color: #fff;
  background:#4A1942;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 700;
}

.woocommerce-tabs .tabs li:not(.active) a {
  color: #333;
  background: transparent;
}

.woocommerce-tabs .tabs li.active a {
  color: #fff;
  background: #4A1942 ;
  font-size: 1rem;
  font-weight: 700;
}

.woocommerce-tabs .woocommerce-Tabs-panel {
  max-width: 95%;
  padding: 15px;
}

/* Checkout Titles */

.wc-block-components-title {
  margin: 20px 0 0;
  font-size: 2rem;
  line-height: 1;
  text-shadow: none;
}

.wc-block-components-address-card {
  font-size: 16px;
}

.wc-block-components-address-card__edit {
  word-break: keep-all;
}

/* Checkout Order Summary */

.wp-block-woocommerce-checkout-order-summary-block {
  background: #f2f2f2;
  border: 1px dashed #ff1a6f;
  border-radius: 15px;
}

.wp-block-woocommerce-checkout-order-summary-block
  .wc-block-components-checkout-order-summary__title
  .wc-block-components-checkout-order-summary__title-text {
  color: #ff1a6f;
  font-family: 'Pirata One', Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 400;
}

.wp-block-woocommerce-checkout-order-summary-block
  .wc-block-components-product-name {
  font-size: 13px;
}

.wc-block-components-shipping-rates-control__package
  .wc-block-components-radio-control__label,
.wc-block-components-formatted-money-amount,
.wc-block-components-payment-method-label {
  font-size: 1.15rem;
}

.wc-block-components-totals-footer-item
  .wc-block-components-totals-item__value {
  font-weight: 700;
}

/* Order Details */

.woocommerce-order-details .woocommerce-order-details__title,
.woocommerce-customer-details
  .woocommerce-column
  .woocommerce-column__title {
  padding: 1rem;
  font-size: 2rem;
  letter-spacing: 1px;
  text-shadow: none;
}

/* Sidebar Navigation */

.sidebar-menu {
  width: 50%;
  min-width: 250px;
  color: #fff;
  background: #6d2461;
}

.has-header-layout-2 .sidebar-menu {
  padding: 30px 5px 10px;
}

.sidebar-menu .site-navigation nav .menu-item a,
.sidebar-menu .site-navigation nav > ul > li:first-child > a,
.sidebar-menu .site-navigation nav .menu-item a > .arrow-icon {
  border: none;
}

.menu-item .menu-item-arrow {
  display:none;
}

/* Top Bar */

.topbar-slider {
  background: #FF006F;
}

.topbar-slider * {
  color: #f2f1de;
}

.topbar-slider .slick-slider svg {
  fill: #fff;
}

.topbar-slider .slider .text-scroll {
  font-weight: 700;
  letter-spacing: 1px;
}

/* Search */

.wp-block-search__inside-wrapper {
  min-width: 280px;
  max-width: 500px;
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) {
  padding: 0;
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper) .wp-block-search__input {
  padding: 0 8px;
}

/* Shop Sorting */

.woostify-sorting {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1050px;
  margin: 20px auto;
  font-weight: 700;
}

/* Responsive */

@media screen and (max-width: 991px) {
  .woostify-header-total-price {
    display: none;
  }

}

@media screen and (max-width: 719px) {
  .woocommerce-tabs .tabs li {
    width: 40%;
  }

  .woocommerce-tabs .tabs li a {
    border: none;
  }

}

/* Footer */

/* Custom Footer */

/*
.hyena-footer__column {
  max-width: 500px;
  min-width: auto;
}

.hyena-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(30px, 5vw, 70px);
  width: 100%;
}
*/

.site-footer {
  background-color: #f2f1de;
}

.site-footer a {
  color: #FF006F;
}

.hyena-footer {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 5px;
}

.hyena-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(10px, 3vw, 20px);
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.hyena-footer__column {
  align-self: start;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.hyena-footer__column > :first-child {
  margin-top: 0;
}

.hyena-footer__column > :last-child {
  margin-bottom: 0;
}

.hyena-footer__heading {
  margin: 0 0 15px;
  font-size: 2rem;
  line-height: 1;
  text-shadow: none;
}

.hyena-footer p {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #333;
}

/* Footer Logo and Payments */

.hyena-footer__logo {
  display: block;
  width: fit-content;
  max-width: 180px;
  margin: 0 0 22px;
}

.hyena-footer__logo img {
  display: block;
  width: 100%;
  max-width: 140px;
  height: auto;
  padding: 0;
}

.hyena-footer__payment-title {
  font-family: 'Fira Mono', monospace;
  font-size: 0.75rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hyena-footer__payment-methods {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.hyena-footer__payment-methods img {
  display: block;
  width: auto;
  max-width: 110px;
  max-height: 34px;
  margin: 0;
}

/* Footer Social Buttons */

.hyena-footer__social {
  display: inline-block;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  color: #333;
  text-align: center;
}

.hyena-footer__social-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  color: #333;
  background: #fff;
  border: 1px solid #333;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    color 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease;
}

.hyena-footer__social p {
  text-align: center;
}

.hyena-footer__signup {
  margin-top: 20px;
  text-align: right;
}

.hyena-footer__about {
  margin-top: 20px;
}

.hyena-footer__social-link:hover,
.hyena-footer__social-link:focus-visible {
  color: #fff;
  background: #333;
  border-color: #333;
}

.hyena-footer__social-link:focus-visible {
  outline: 2px solid #ff1a6f;
  outline-offset: 3px;
}

/* Footer Newsletter */

/*
.sib_signup_box_inside_1 p {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
}
*/

.hyena-footer__newsletter-form {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 420px;
}

.hyena-footer__newsletter-form input[type='email'] {
  min-width: 0;
  flex: 1 1 auto;
  height: 42px;
  margin: 0;
  padding: 8px 12px;
  color: #333;
  background: #fff;
  border: 1px solid #333;
  border-radius: 5px 0 0 5px;
  font-size: 0.9rem;
  line-height: 1;
}

.hyena-footer__newsletter-form button {
  flex: 0 0 auto;
  min-height: 42px;
  margin: 0;
  padding: 8px 15px;
  color: #fff;
  background: #4A1942;
  border: 1px solid #4A1942;
  border-radius: 0 5px 5px 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
}

.hyena-footer__newsletter-form button:hover,
.hyena-footer__newsletter-form button:focus-visible {
  color: #fff;
  background: #333;
  border-color: #333;
}

.hyena-footer__newsletter-form input[type='email']:focus,
.hyena-footer__newsletter-form button:focus-visible {
  outline: 2px solid #ff1a6f;
  outline-offset: 2px;
}

.hyena-footer__privacy {
  margin-top: 10px !important;
  font-size: 0.7rem !important;
}

/* Remove Gutenberg Footer Spacing */

.site-footer-widget .wp-block-group,
.site-footer-widget .wp-block-group__inner-container,
.site-footer-widget .wp-block-columns,
.site-footer-widget .wp-block-column,
.site-footer-widget figure {
  margin-top: 0;
  margin-bottom: 0;
}

.site-footer-widget {
  position: relative;
  left: 0;
  right: 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 10px 40px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
}

.footer-widget-col-1 .widget {
  width: 100%;
  max-width: 1400px;
}

.site-footer-widget .widget {
  margin: 0 auto;
}

/* Footer Copyright */

.site-info {
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

/* Footer Responsive Layout */

@media screen and (max-width: 900px) {
  .hyena-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hyena-footer__newsletter {
    grid-column: 1 / -1;
  }

}

@media screen and (max-width: 600px) {
  .hyena-footer {
    padding: 30px 0 20px;
  }

  .hyena-footer__grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hyena-footer__newsletter {
    grid-column: auto;
  }

  .hyena-footer__newsletter-form {
    max-width: none;
  }

  .hyena-footer__social {
    margin-top: 15px;
  }

}

/* Break footer out of Woostify's boxed site container */

#colophon {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin-right: -50vw;
  margin-left: -50vw;
}

#colophon > .woostify-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-right: 30px;
  padding-left: 30px;
}

/* Ensure the custom footer widget occupies the full row */

#colophon .site-footer-widget {
  width: 100%;
  max-width: 1200px;
  flex: 0 0 100%;
}

@media screen and (max-width: 600px) {
  #colophon > .woostify-container {
    padding-right: 15px;
    padding-left: 15px;
  }

  #colophon .site-footer-widget,
  #colophon .site-footer-widget .widget,
  #colophon .hyena-footer__column,
  #colophon .hyena-footer__social,
  #colophon .hyena-footer__social p,
  #colophon .hyena-footer__signup {
    text-align: left;
  }
}
