/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

:root {
}
::selection {
  background-color: rgb(31 3 131 / 15%);
}
body {
  overflow-x: hidden;
  font-family: "Roboto", Sans-serif;
}

sup {
  font-size: 12px;
  vertical-align: super;
}

img {
  vertical-align: middle;
}
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

li {
  list-style-position: inside;
}
ul,
ol {
  padding: 0;
}
.comments-area a,
.page-content a {
  text-decoration: none;
}

p + p {
  margin-top: 0.5rem;
}
a:hover {
  opacity: 0.75;
}

h1 {
  margin: 0;
}

#page button:not(.remove) {
  background-color: blue;
  border-color: blue;
  color: #fff;
  width: 100%;
  font-weight: normal;
  font-size: 16px;
}
#page button:not(.remove):hover,
#page button:not(.remove):focus {
  background-color: blue;
}
#page button:not(.remove):not(:disabled):hover {
  opacity: 1;
  color: #ffffff8b;
}
#page button:not(.remove):disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Header */
#page {
  display: flex;
  gap: 2rem;
}
#masthead {
  width: 15rem;
  flex-shrink: 0;
}

/* Product categories menu */
.hndsm_product_categories_menu {
  list-style: none;
}

.hndsm_product_categories_menu li {
  border: 1px solid #000;
  padding: 2rem 0 0 1rem;
}

.hndsm_product_categories_menu li a {
  font-size: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hndsm_product_categories_menu li a span {
  display: inline-block;
}
.hndsm_product_categories_menu li a span.count {
  font-size: 1.25rem;
}

/* Product list */
.hndsm_product_list {
}
.hndsm_product_list ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
}
.hndsm_product_list li {
  padding: 0.5rem;
  border: 1px solid #000;
}
.hndsm_product_list h1 {
  margin: 0 0 0 2rem;
}
.hndsm_product_list > a > h3 {
  font-weight: normal;
  font-size: 1.25rem;
  margin: 0 0 2rem 2rem;
  color: #ccc;
}
.text-big {
  font-size: 1.3rem;
}
.hndsm_product_list img {
  padding: 1rem 0 4rem 0;
}

/* Product single */
.single-product .page-header {
  padding-top: 2rem;
  border-top: 1px solid #000;
}
.single-product .page-meta {
  margin-top: 4rem;
}
.single-product .page-buttons {
  margin: 1rem 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}
#page .button {
  background-color: blue;
  padding: 0.5rem 1rem;
  color: #fff;
  border-radius: 3px;
  font-size: 0.8rem;
}

#page .button:hover {
  opacity: 1;
  color: #ffffff8b;
}
.single-product .page-image {
  margin: 1rem 0 4rem 0;
}

/* Cart */
.single-product .page-header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.cart-icon {
  cursor: pointer;
  position: relative;
}

.cart-icon span {
  background-color: red;
  color: #fff;
  position: absolute;
  top: 0;
  right: -9px;
  font-size: 10px;
  padding: 0px;
  line-height: 1;
  border-radius: 99px;
  height: 0.8rem;
  min-width: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart {
  z-index: 999998;
}
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 150vw;
  bottom: 0;
  background-color: #000;
  opacity: 0.7;
  transition: 0.5s ease opacity;
}
.cart-wrapper {
  border-radius: 1rem !important;
  top: 0.75rem;
  bottom: 0.75rem;
  height: calc(100% - 1.5rem);
  max-width: 350px;
  position: fixed;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  z-index: 999999;
  display: flex;
  gap: 2rem;
  flex-direction: column;
  width: 90%;
  transition: 0.5s ease;
  right: -350px;
  padding: 2rem;
}
.cart.visible .cart-overlay {
  right: 0;
}
.cart.visible {
  opacity: 1;
}
.cart.visible .cart-wrapper {
  right: 0.75rem;
}

.cart-header h2 {
  font-size: 1.5rem;
}
.cart-body {
  flex: 1;
  overflow-x: hidden;
}
.cart-items {
  display: flex;
  gap: 1rem;
  flex-direction: column;
}
.cart-item {
  display: flex;
  gap: 1rem;
}
.cart-item + .cart-item {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}
.cart-item h3 {
  font-size: 1rem;
  font-weight: bold;
  padding-right: 2rem;
  margin: 0;
}
.cart-item-left {
  flex-basis: 80px;
  max-width: 80px;
  flex-shrink: 0;
}
.cart-item-right {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cart-item .remove {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  background: transparent;
  width: 1rem;
  height: 1rem;
  color: #000;
  padding: 0;
  line-height: 1rem;
  border: none;
  font-size: 1.5rem;
  transition: 0.3s ease;
}

.cart-item .remove:hover {
  opacity: 0.7;
}
.cart-item-meta {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.75rem;
}
.cart-item-meta input {
  flex-shrink: 0;
  padding: 0.25rem 0.5rem;
  border: 1px solid #eee;
  flex-basis: 60px;
  max-width: 60px;
  font-size: 0.75rem;
}
.cart-item-meta span {
  flex-shrink: 0;
  text-align: right;
  font-weight: bold;
}

.cart-footer-totals {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  margin-bottom: 1rem;
}
#page .cart-footer-totals button.back {
  background-color: #000;
  border-color: #000;
}
#page .cart-footer-totals button.back:hover,
#page .cart-footer-totals button.back:focus {
  background-color: #000;
}

.cart-slider {
  display: flex;
  height: 100%;
  width: 200%;
  transition: 0.3s ease all;
}

.cart-slider[data-slide="2"] {
  transform: translateX(-50%);
}

.cart-slider > * {
  flex: 1;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.cart-slider > *::-webkit-scrollbar {
  display: none;
}
.cart div.wpforms-container-full:not(:empty) {
  margin: 0;
}
#page .cart .wpforms-container .wpforms-field {
  padding: 0;
}
#page .cart .wpforms-container-full .wpforms-field-label {
  margin: 0 0 0.5rem 0;
}
#page .cart .wpforms-field {
  margin-bottom: 1rem;
}
#page .cart .field-products {
  display: none;
}
#page .cart .wpforms-submit-container button[type="submit"] {
  display: none !important;
}

@media (max-width: 1024px) {
  #page {
    gap: 0;
  }
  #masthead {
    width: 4rem;
  }
  #page h1 {
    font-size: 1.5rem;
  }
  .hndsm_product_categories_menu li {
    padding-top: 1rem;
  }
  .hndsm_product_categories_menu li a {
    font-size: 1.5rem;
  }
  .hndsm_product_list > a > h1,
  .hndsm_product_list > a > h3 {
    margin-left: 0;
  }

  .hndsm_product_list ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .hndsm_product_list ul {
    grid-template-columns: repeat(1, 1fr);
  }
}
