:root {
  --color-primary: #648594;
  --color-secondary: #5dc3f0;
  --color-dark: #444;
  --color-white: #fff;
  --color-gray: #a8a8a8;
}

/* FONTS */
@font-face {
  font-family: "D-DIN Regular";
  font-style: normal;
  font-weight: 400;
  src: url("../../../modules/iqitthemeeditor/views/fonts/D-DIN.woff") format("woff");
}

@font-face {
  font-family: "D-DIN Italic";
  font-style: italic;
  font-weight: 400;
  src: url("../../../modules/iqitthemeeditor/views/fonts/D-DIN-Italic.woff") format("woff");
}

@font-face {
  font-family: "D-DIN Bold";
  font-style: normal;
  font-weight: 700;
  src: url("../../../modules/iqitthemeeditor/views/fonts/D-DIN-Bold.woff") format("woff");
}

@font-face {
  font-family: "D-DIN Condensed";
  font-style: normal;
  font-weight: 400;
  src: url("../../../modules/iqitthemeeditor/views/fonts/D-DINCondensed.woff") format("woff");
}

@font-face {
  font-family: "D-DIN Condensed Bold";
  font-style: normal;
  font-weight: 700;
  src: url("../../../modules/iqitthemeeditor/views/fonts/D-DINCondensed-Bold.woff") format("woff");
}

@font-face {
  font-family: "D-DIN Expanded";
  font-style: normal;
  font-weight: 400;
  src: url("../../../modules/iqitthemeeditor/views/fonts/D-DINExp.woff") format("woff");
}

@font-face {
  font-family: "D-DIN Expanded Italic";
  font-style: italic;
  font-weight: 400;
  src: url("../../../modules/iqitthemeeditor/views/fonts/D-DINExp-Italic.woff") format("woff");
}

@font-face {
  font-family: "D-DIN Expanded Bold";
  font-style: normal;
  font-weight: 700;
  src: url("../../../modules/iqitthemeeditor/views/fonts/D-DINExp-Bold.woff") format("woff");
}

/* CUTOM AUTH PAGE */
#authentication #footer-container-main,
#authentication #wrapper div.container:not(#inner-wrapper),
#authentication nav.header-nav,
#authentication #desktop-header-container div.col-header-left,
#authentication #desktop-header-container div.col-header-right,
#authentication #mobile-header .row-mobile-header .col-mobile-btn-menu,
#authentication #mobile-header .row-mobile-header #mobile-btn-search,
#authentication #mobile-header .row-mobile-header .col-mobile-btn-account,
#authentication #mobile-header .row-mobile-header .col-mobile-btn-cart,
#authentication #footer-container-first {
  display: none;
}

#authentication #desktop-header-container div.row {
  justify-content: center;
}

#authentication div#content {
  padding: 4rem;
}

#authentication h1.page-title {
  text-transform: uppercase;
}

#authentication #main-page-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#authentication #main-page-content .form-group.row label,
#authentication #main-page-content .form-group.row,
#authentication #main-page-content .form-group.row div,
#authentication #login-form footer button,
#authentication .login-video_background a {
  width: 100%;
}

#authentication #main-page-content .form-group.row>* {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

#authentication #main-page-content .form-group.row {
  margin: 0;
}

#authentication #wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

#authentication #content-wrapper,
#authentication div#desktop-header,
#authentication div#mobile-header {
  background-color: rgba(255, 255, 255, 0.85);
}

#authentication #footer {
  margin-top: auto;
}

#footer .stsocial_list {
  list-style-type: none;
  display: flex;
  justify-content: center;
}

#footer .stsocial_list .social_wrap i {
  margin-right: 1em;
  font-size: 24px;
}

#authentication #content #login-form section div.forgot-password {
  text-align: left;
  margin-top: 0;
  padding-bottom: 1rem;
  color: var(--color-primary);
}

#authentication #content #login-form section div.forgot-password:hover {
  color: var(--color-dark);
}

#authentication #video-background {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
}

/* CUSTOM */

#header>nav>div>div>div.col.col-auto.col-md.left-nav {
  text-align: center !important;
}

.easy_brother_block.text-2.text-md-2 {
  margin-bottom: 0.8rem;
}

#module-amigos_familiares-invitados #modalInvitations .modal-header {
  flex-direction: row-reverse;
}

.quickview .js-quickview-np-btn {
  font-size: 1rem;
}

.vm_line-break {
  line-break: anywhere;
  word-break: break-all;
}

.logo {
  max-width: 270px;
}

#ps-shoppingcart-wrapper,
#header-user-btn,
#header-contact-btn {
  align-content: center;
}

nav.header-nav .easy_brother_block a.btn-secondary:hover {
  color: var(--color-white) !important;
}

nav.header-nav {
  background-image: url(./../img/amigos-familiares-header_background.png) !important;
  background-repeat: repeat !important;
}

.header-top .header-cart-default a.cart-toogle {
  background: var(--color-white);
}

#header .header-btn .icon {
  font-size: 1.1rem !important;
}

#header .header-btn-w {
  padding: 0 .4rem;
}

#ps-shoppingcart-wrapper {
  width: auto !important;
}

.header-top .header-cart-default a.cart-toogle {
  padding: 0;
}

#index .home-category_cards .elementor-row div {
  transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
  -webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
  -o-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out,
    border-color 0.2s ease-in-out;
}

#index .home-category_cards .elementor-row div.elementor-element-populated:hover {
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.4);
  background-blend-mode: lighten;
}

#index .carousel-logo .swiper-wrapper .swiper-slide {
  border: 1px solid #d9d9d9;
}

#index .carousel-logo .swiper-container .swiper-slide {
  margin-right: 11px;
}

#index .carousel-logo .swiper-container .swiper-wrapper {
  margin-right: -11px;
}

#wrapper .breadcrumb li a:hover {
  color: var(--color-primary);
}

#cbp-hrmenu li a {
  padding-left: 0;
}

@media (max-width: 1210px) {
  #blockcart .info-wrapper {
    display: none;
  }
}

/* LEFT COLUMN STICKY */
#left-column .block-categories {
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

/* PRODUCT GRID */
.products-grid .js-product-miniature-wrapper .product-description .product-add-cart {
  display: none;
}

.products-grid .js-product-miniature-wrapper:hover .product-description .product-add-cart {
  display: block;
}

/* CART AND CHECKOUT */
div#dariqueWrapper {
  position: relative;
  padding: 1.25rem;
  overflow: hidden;
}

body#cart .dariqueWrapper.row>* {
  padding-right: unset;
  padding-left: unset;
}

div#dariqueWrapper h2 {
  margin-bottom: 0;
}

table.dariqueTable {
  border-collapse: collapse;
}

table.dariqueTable tr.dariqueItem td {
  border-top: 1px solid #eee;
  vertical-align: top;
}

table.dariqueTable tr.tableHeader {
  background: #dedfe0;
}

ul#dariqueNextPresents {
  margin: 0;
  padding: 0;
  list-style-type: none;
  overflow: hidden;
}

ul#dariqueNextPresents li {
  float: left;
  text-align: center;
}

ul.dariqueWrapper {
  display: block;
  padding: 0;
  margin: 0 0 60px 0;
  overflow: hidden;
  list-style-type: none;
  transition: all 0.2s ease-in-out;
}

.dariqueItem>input {
  margin-bottom: 4px;
}

ul.dariqueWrapper li {
  margin-right: 10px;
  margin-bottom: 10px;
}

ul.dariqueWrapper li .gift {
  float: left;
  border: 1px solid #d6d4d4;
  text-align: center;
  cursor: pointer;
  padding: 15px;
}

ul.dariqueWrapper li .gift.active {
  border: 1px solid #55c65e;
}

ul.dariqueWrapper li .gift.disable {
  opacity: 0.5;
  cursor: default;
}

ul.dariqueWrapper li .gift h5 {
  font-size: 14px;
  line-height: 18px;
  max-width: 125px;
  min-height: 56px;
  overflow: hidden;
  margin-bottom: 0;
}

ul.dariqueWrapper li .gift>.checker,
ul.dariqueWrapper li .gift>input[type="checkbox"] {
  float: left;
}

ul.dariqueWrapper li .gift .gift-img img {
  width: 100%;
  max-width: 125px;
}

ul.dariqueWrapper li .gift:hover {
  background-color: #f6f6f6;
}

ul.dariqueWrapper li h4 {
  height: 40px;
}

.darique-select {
  margin-top: 9px;
  width: 100%;
  max-width: 125px;
}

.darique-block-gifts li .darique-badge-gift {
  background-color: #00aff0;
  padding: 4px 5px;
  border-radius: 5px;
  display: inline-block;
  line-height: 10px;
  font-size: 11px;
}

.cart-summary-products .selected-presents-in-block-cart img {
  border: 1px solid #f1f1f1;
  width: 3.125rem;
}

.cart-summary-products>p {
  font-size: 0.875rem;
}

.cart-summary-products .selected-presents-in-block-cart .media-body {
  font-size: 0.875rem;
  vertical-align: middle;
}

.cart-summary .gift_cart_container {
  color: #55c65e;
  padding-left: 5px;
}

.hide_dariqueLoader {
  display: none;
}

#dariqueLoader {
  border: 5px solid #e1e1e1;
  border-top: 5px solid #313131;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 2s linear infinite;
  position: relative;
  left: 50%;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.dariqueRuleContainer {
  position: relative;
}

.arrow_right,
.arrow_left {
  opacity: 0.5;
  cursor: pointer;
  position: absolute;
  top: 100px;
  height: 0;
  width: 0;
  border: 24px solid transparent;
}

.arrow_right:hover,
.arrow_left:hover {
  opacity: 0.8;
}

.arrow_right {
  border-left-color: #55c65e;
  border-right: 0;
  right: -15px;
}

.arrow_left {
  border-right-color: #55c65e;
  border-left: 0;
  left: -15px;
}

hr.cart_gift_separator {
  border-top-color: #31a950;
}

hr.cart_gift_separator~hr.cart_gift_separator {
  display: none;
}

.darique_tag_list {
  text-align: center;
}

.darique_tag_item {
  padding: 8px;
  margin: 1px;
  border: 1px solid #e2e2e2;
  cursor: pointer;
}

.darique_tag_item:hover {
  opacity: 0.7;
}

.darique_tag_item.active_tag {
  background: #c3c3c3;
  color: #fff;
}

#cart .cart-darique {
  margin-bottom: 1rem;
}

#cart .darique_header {
  padding: 1.25rem 0 0 1.25rem;
}

#cart .cart-darique h1.h1,
#checkout .cart-darique h1.h1 {
  font-size: 25px;
  font-weight: 700;
  color: #444;
}

#cart .cart-darique .separator,
#checkout .cart-darique .separator {
  margin: 0 !important;
  border: none;
}

#cart .cart-darique #dariqueWrapper .dariqueRuleContainer .page-heading,
#checkout .cart-darique #dariqueWrapper .dariqueRuleContainer .page-heading {
  font-size: 16px;
  color: #444;
}

#cart .cart-darique #dariqueWrapper .dariqueRuleContainer,
#checkout .cart-darique #dariqueWrapper .dariqueRuleContainer {
  margin-bottom: 0;
}

#cart .cart-darique #dariqueWrapper .dariqueRuleContainer .dariqueItem,
#checkout .cart-darique #dariqueWrapper .dariqueRuleContainer .dariqueItem {
  width: fit-content;
}

#cart .cart-darique #dariqueWrapper .dariqueRuleContainer .dariqueItem .gift,
#checkout .cart-darique #dariqueWrapper .dariqueRuleContainer .dariqueItem .gift {
  border-color: #d9d9d9;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

#cart .cart-darique #dariqueWrapper .dariqueRuleContainer .dariqueItem .gift .gift-img img,
#checkout .cart-darique #dariqueWrapper .dariqueRuleContainer .dariqueItem .gift .gift-img img {
  max-width: 80px;
}

#cart .cart-darique #dariqueWrapper .dariqueRuleContainer .dariqueItem .gift:hover,
#checkout .cart-darique #dariqueWrapper .dariqueRuleContainer .dariqueItem .gift:hover {
  background-color: unset;
}

#checkout .cart-darique {
  padding: 0;
}

/* CUSTOMER PAGE ACCOUNT GRID */
.my-account-side-links-grid {
  padding: 1em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.my-account-side-links-grid>a {
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0001;
  transition: box-shadow 0.2s, border-color 0.2s;
  min-height: 110px;
  padding: 0;
}

.my-account-side-links-grid>a:hover {
  border-color: var(--color-primary, #648594);
  box-shadow: 0 4px 16px #0002;
  background: #f8fafc;
}

.my-account-side-links-grid .link-item {
  text-align: center;
  font-family: inherit !important;
  font-size: 1.1rem;
  font-weight: 500;
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: none;
}

.my-account-side-links-grid i {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary, #648594);
}

@media (max-width: 991px) {
  .my-account-side-links-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
  }

  .my-account-side-links-grid>a {
    min-height: 80px;
  }
}

@media (max-width: 575px) {
  .my-account-side-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .my-account-side-links-grid>a {
    min-height: 60px;
    font-size: 0.95rem;
  }

  .my-account-side-links-grid .link-item {
    padding: 0.7rem 0.2rem;
  }

  .my-account-side-links-grid i {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
  }
}

/* === CUSTOMER PAGE ACCOUNT GRID FIX: Override Bootstrap === */
.my-account-side-links-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.my-account-side-links-grid>a {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0001;
  transition: box-shadow 0.2s, border-color 0.2s;
  min-height: 120px;
  padding: 0;
  margin: 0 !important;
  /* Bootstrap override */
  float: none !important;
  width: 100% !important;
  max-width: unset !important;
}

.my-account-side-links-grid>a>.link-item,
.my-account-side-links-grid>a>span.link-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1.1rem;
  font-weight: 500;
  color: #222;
  padding: 1.2rem 0.5rem;
  background: none;
}

.my-account-side-links-grid i {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary, #648594);
}

.my-account-side-links-grid>a:hover {
  border-color: var(--color-primary, #648594);
  box-shadow: 0 4px 16px #0002;
  background: #f8fafc;
}

/* Remove Bootstrap grid spacing */
.my-account-side-links-grid .col-lg-3,
.my-account-side-links-grid .col-md-4,
.my-account-side-links-grid .col-sm-6,
.my-account-side-links-grid .col-12,
.my-account-side-links-grid .mb-2,
.my-account-side-links-grid .col-lg-4,
.my-account-side-links-grid .col-md-6,
.my-account-side-links-grid .col-xs-12 {
  float: none !important;
  width: 100% !important;
  max-width: unset !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .my-account-side-links-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .my-account-side-links-grid>a {
    min-height: 80px;
  }
}

@media (max-width: 575px) {
  .my-account-side-links-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .my-account-side-links-grid>a {
    min-height: 60px;
    font-size: 0.95rem;
  }

  .my-account-side-links-grid>a>.link-item {
    padding: 0.7rem 0.2rem;
  }

  .my-account-side-links-grid i {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
  }
}

@media only screen and (min-width: 1200px) {
  ul.dariqueWrapper li .gift h5 {
    min-height: 38px;
  }
}

@media only screen and (max-width: 991px) {
  ul.dariqueWrapper li .gift h5 {
    min-height: 38px;
  }

  body#cart #wrapper .cart-grid-right {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  ul.dariqueWrapper li .gift {
    float: none;
  }

  ul.dariqueWrapper li .gift h5 {
    max-width: none;
  }

  #cart .cart-darique #dariqueWrapper .dariqueRuleContainer .dariqueItem,
  #checkout .cart-darique #dariqueWrapper .dariqueRuleContainer .dariqueItem {
    width: 100%;
  }

  .logo {
    max-width: 150px;
  }

  body#checkout #wrapper #checkout-addresses-step .js-address-item.address-item {
    width: 100%;
    flex: 0 0 100%;
  }
}

body#cart #wrapper,
body#checkout #wrapper {
  background: #f9f9f9;
}

body#checkout #checkout-header .container .row a.text-muted {
  display: none !important;
}

body#cart #wrapper .cart-grid-body {
  padding: 0;
}

body#cart #wrapper .cart-grid.row .cart-grid-body a.btn.btn-secondary {
  display: none;
}

body#cart #wrapper .cart-grid-body .cart-container,
body#cart #wrapper .cart-grid-body .cart-darique,
body#cart #wrapper .cart-grid-right .cart-summary,
body#checkout #wrapper .checkout-step,
body#checkout #wrapper #js-checkout-summary {
  border: none;
  box-shadow: 0 3px 20px #00000017;
  background-color: #fff;
}

body#checkout #wrapper .checkout-step {
  margin-bottom: 1em;
  opacity: 1 !important;
}

body#checkout #wrapper .checkout-step .step-title.js-step-title {
  text-transform: uppercase;
}

body#checkout #wrapper #checkout-delivery-step div.content {
  padding: 0;
}

body#checkout #meta-address,
body#checkout #meta-carrier {
  color: var(--color-gray);
  font-size: 17px;
  font-weight: 500;
}

@media only screen and (max-width: 575px) {

  #meta-address,
  #meta-carrier {
    margin-top: .5rem;
    display: block;
  }
}

body#checkout #wrapper .checkout-step .row.delivery-option {
  border-bottom: 1px solid rgba(160, 160, 160, .25);
  background: unset;
}

body#checkout h1.h1.page-title {
  display: none;
}

body#checkout #wrapper .checkout-step .delivery-options img {
  max-width: 100px;
}

body#checkout #wrapper .darique-ch:hover {
  cursor: pointer;
  text-decoration: underline;
}

body#cart #content-wrapper .page-title {
  border-bottom: none;
  padding-bottom: 0.5em;
  padding-top: 0.5em;
}

body#cart #promo-code i.voucher-icon {
  display: none;
}

body#cart .product-line-info a.label {
  color: var(--color-primary);
}

body#cart #main .row {
  margin-right: unset;
  margin-left: unset;
}

.block-promo .cart-voucher-area {
  background: #fff;
}

.media.darique-gifts {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eeeeee;
}

.media.darique-gifts .media-left {
  margin-right: 14px;
  align-self: center;
}

.media.darique-gifts .media-left img.cart-images {
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  max-width: 100%;
  height: auto;
}

.media.darique-gifts .media-body {
  align-self: center;
  flex: 1;
  display: flex;
  justify-items: center;
  gap: 5px;
}

.media.darique-gifts .media-body .product-quantity {
  display: none;
}

.media.darique-gifts .media-body .product-name {
  color: #777777;
}

.media.darique-gifts .media-body .product-price {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.media.darique-gifts .media-body .pull-xs-right,
.media.darique-gifts .media-body .pull-right {
  float: right;
}

.cart-summary-products .media.darique-gifts:last-child {
  border-bottom: none;
}

@media (max-width: 1210px) {

  .delivery-option-radio {
    align-self: flex-start;
  }

  #checkout .delivery-options .delivery-option .row .col-carrier:has(img) {
    order: 4;
    width: 35%;
    text-align: center;
  }

  #checkout .delivery-options .delivery-option .row .col-carrier:has(.carrier-price) {
    order: 2;
    width: 35%;
    text-align: center;
  }

  #checkout .delivery-options .delivery-option .row .col-carrier:has(.carrier-name) {
    order: 1;
    width: 60%;
  }

  #checkout .delivery-options .delivery-option .row .col-carrier:has(.carrier-delay) {
    order: 3;
    width: 60%;
  }

  #checkout .carrier-delay {
    font-size: 14px;
    font-weight: 400;
    color: #394049;
    font-weight: 500;
  }

  #checkout .carrier-delay {
    font-size: 14px;
    font-weight: 400;
    color: #394049;
    font-weight: 500;
  }
}


/* MOBILE HEADER BOTTOM POSITION - Layout 3 */
@media (max-width: 991px) {
  #back-to-top {
    bottom: 4rem;
  }

  .mobile-header-style-3 #mobile-header-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    z-index: 5000;
    width: 100%;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  }

  body {
    padding-bottom: 70px;
    /* Espacio para el header flotante */
  }

  #mobile-btn-search {
    position: relative;
  }

  #mobile-header .mobile-buttons-bar {
    padding: 10px;
  }

  #mobile-btn-search #search-widget-mobile {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - 53px);
    overflow-y: auto;
    border-bottom: 1px solid #e0e0e0;
    background: white;
    z-index: 4999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-out;
    padding: 1rem;
    height: auto;
  }

  #mobile-btn-search #search-widget-mobile.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
   #search-widget-mobile:focus-within {
    height: 350px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
  }

  /* Ocultar dropdown predeterminado de Bootstrap */
  #mobile-btn-search .dropdown-menu:not(.show) {
    display: none !important;
  }
}