/* GlamHair shared frontend card. No selectors for full product, cart, mini-cart or BO. */
.product-miniature.glam-product-card { display:flex; min-width:0; padding-bottom:24px; }
.product-miniature.glam-product-card > .thumbnail-container {
 display:flex; flex-direction:column; flex:1 1 auto; min-width:0; width:100%;
 border:1px solid #e5e5e5; border-radius:4px;
}
.product-miniature.glam-product-card .right-block,
.product-miniature.glam-product-card .product-desc { display:flex; flex-direction:column; flex:1 1 auto; min-width:0; }
.product-miniature.glam-product-card .product-desc { padding-inline:18px; }
.product-miniature.glam-product-card .thumbnail-wrapper { flex:0 0 auto; position:relative; padding:0; }
.product-miniature.glam-product-card .product-thumbnail { display:block; aspect-ratio:1; }
.product-miniature.glam-product-card .product-thumbnail img { width:100%; height:100%; object-fit:contain; }
.product-miniature.glam-product-card .wrapper-buy { margin-top:auto; }
.product-miniature.glam-product-card .product-title {
 margin-top:8px; margin-bottom:12px; white-space:normal; overflow:visible;
 text-overflow:clip; height:auto; max-height:none;
}
.product-miniature.glam-product-card .product-title a { color:#343a40; }
.product-miniature.glam-product-card .ptg-product-list-wrp .ptg-tag-name::before { content:none; }
.product-miniature.glam-product-card .glam-brand-label { display:none; }
.product-miniature.glam-product-card .price { font-size:18px; color:#245f76; font-weight:600; }
.product-miniature.glam-product-card .regular-price { color:#6b6b6b; }
.product-miniature.glam-product-card .product-flags li {
 width:auto; height:auto; min-height:0; padding:.25rem .45rem; border-radius:.2rem; line-height:1.15; font-size:.72rem;
}
.product-miniature.glam-product-card .product-flags li.discount-product {
 width:auto; height:auto; min-width:0; min-height:0; padding:5px 8px; border-radius:4px;
 background:#fbeaec; color:#8b2535; font-size:12px; line-height:1.25; font-weight:600;
 top:8px; right:8px; left:auto;
}
.product-miniature.glam-product-card .out-of-stock-link { position:relative; z-index:3; }
.products.view-carousel .owl-stage { display:flex; align-items:stretch; }
.products.view-carousel .owl-item { display:flex; float:none; }
.products.view-carousel .owl-item > .glam-product-card { width:100%; margin-bottom:0; }
.elementor-widget-product-carousel .slick-track { display:flex; align-items:stretch; }
.elementor-widget-product-carousel .slick-track > .slick-slide { display:flex; height:auto; }
.elementor-widget-product-carousel .slick-track > .slick-slide > div { display:flex; width:100%; min-width:0; }
.elementor-widget-product-carousel .slick-track > .slick-slide > div > .slick-slide { display:flex !important; width:100%; min-width:0; }
.elementor-widget-product-carousel .slick-slide-inner { display:flex; flex:1 1 auto; min-width:0; }
.elementor-widget-product-carousel .slick-slide-inner > .glam-product-card { width:100%; flex:1 1 auto; margin-bottom:0; }
@media (max-width:575px) {
 .product-miniature.glam-product-card { padding-inline:6px; padding-bottom:18px; }
 .product-miniature.glam-product-card .product-desc { padding-inline:8px; }
 .product-miniature.glam-product-card .regular-price { font-size:11px; }
}

/* Approved shared appearance and responsive buy row. */
.glam-product-card .thumbnail-container,
.glam-product-card .thumbnail-wrapper,
.glam-product-card .product-thumbnail { background:#fff; }
.product-miniature.glam-product-card .glam-brand-label { display:none; }
.glam-product-card .product-desc,
.glam-product-card .product-title { text-align:center; }
.glam-product-card .ptg-product-list-wrp .ptg-list { text-align:center; padding-inline:0; }
.glam-product-card .ptg-product-list-wrp .ptg-tag-name { font-size:11px; color:#707070; }
.product-miniature.glam-product-card .wrapper-buy {
 display:flex; flex-direction:row; flex-wrap:nowrap;
 align-items:center; justify-content:space-between; gap:4px;
 min-width:0; min-height:48px; padding:8px 0;
}
.product-miniature.glam-product-card .product-price-and-shipping {
 display:flex; flex-direction:row; flex-wrap:nowrap;
 align-items:center !important; justify-content:flex-start; align-self:center;
 flex:0 0 auto; min-width:0; min-height:32px; width:auto; gap:4px; text-align:left;
}
.glam-product-card .product-price-and-shipping > .price,
.glam-product-card .product-price-and-shipping > .regular-price { white-space:nowrap; }
.product-miniature.glam-product-card .wrapper-buy > form,
.product-miniature.glam-product-card .wrapper-buy > .out-of-stock-link {
 position:static; display:flex; flex:0 0 auto; align-self:center;
 align-items:center; justify-content:center; margin:0; white-space:nowrap;
}
.product-miniature.glam-product-card button.add-to-cart {
 display:flex; align-items:center; justify-content:center; flex:0 0 32px;
 box-sizing:border-box; width:32px; height:32px; min-width:32px; min-height:32px;
 max-width:32px; max-height:32px; padding:0; border:0; border-radius:5px; position:static; top:auto; bottom:auto; transform:none;
 background:#78a9c2; color:#fff; font-size:0; line-height:0;
 text-indent:0; box-shadow:0 2px 6px #0001;
}
.product-miniature.glam-product-card button.add-to-cart::before {
 content:''; display:block; flex:0 0 16px; width:16px; height:16px;
 min-width:16px; min-height:16px; margin:0; padding:0;
 position:static; transform:none; line-height:0; font-size:0;
 background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='8' width='14' height='13' rx='1.5' fill='%23fff'/%3E%3Cpath d='M9 9V6a3 3 0 0 1 6 0v3' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center/16px 16px no-repeat;
}
@media (hover:hover) {
 .product-miniature.glam-product-card button.add-to-cart:hover { background-color:#5689a4; color:#fff; }
}
.glam-product-card button.add-to-cart:focus-visible { outline:2px solid #245f76; outline-offset:3px; }


.product-miniature.glam-product-card .regular-price { position:static; margin:0; line-height:1.2; }
.product-miniature.glam-product-card .wrapper-buy > .out-of-stock-link {
 box-sizing:border-box; min-height:32px; padding:0 7px; border-radius:4px;
 background:#78a9c2; color:#fff; font-weight:600; text-decoration:none; line-height:1;
}
@media (hover:hover) { .product-miniature.glam-product-card .out-of-stock-link:hover { background:#5689a4; color:#fff; } }
.glam-product-card .out-of-stock-link:focus-visible { outline:2px solid #245f76; outline-offset:3px; }
@media (max-width:575px) {
 .product-miniature.glam-product-card .wrapper-buy { margin-inline:0; gap:4px; }
 .product-miniature.glam-product-card .product-price-and-shipping { flex:1 1 0; flex-direction:column; align-items:flex-start !important; justify-content:center; gap:0; min-height:32px; }
 .product-miniature.glam-product-card .price { order:0; font-size:16px; line-height:20px; }
 .product-miniature.glam-product-card .regular-price { order:-1; font-size:11px; line-height:12px; color:#707070; }
 .product-miniature.glam-product-card .wrapper-buy > .out-of-stock-link { padding-inline:5px; font-size:11px; }
}
@font-face { font-family:'Glam Inter Tight'; src:url('../fonts/glam-card/inter-tight-400-latin.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
.product-miniature.glam-product-card .product-title { margin-inline:-12px; padding-inline:0; font-family:'Glam Inter Tight',sans-serif; font-size:14px; font-weight:400; line-height:1.275; }
.product-miniature.glam-product-card .product-title a { font-family:'Glam Inter Tight',sans-serif; font-size:14px; font-weight:400; line-height:1.275; }
@media (max-width:575px) { .product-miniature.glam-product-card .product-title { margin-inline:-2px; } }
.elementor-widget-product-carousel .glam-ce-products { display:flex; flex:1 1 auto; width:100%; margin:0; padding:0; }
.elementor-widget-product-carousel .slick-slide-inner .glam-product-card { width:100%; flex:1 1 auto; margin-bottom:0; }

/* Mobile: links navigate on first tap instead of revealing desktop hover controls. */
@media (max-width:767px) {
  .product-miniature.glam-product-card .highlighted-informations,
  .product-miniature.glam-product-card .variant-links,
  .product-miniature.glam-product-card .thumbnail-alternate { display:none !important; }
  .product-miniature.glam-product-card .thumbnail-picture { opacity:1 !important; transform:none !important; transition:none !important; }
  .product-miniature.glam-product-card .product-thumbnail::before { display:none; animation:none; pointer-events:none; }
  .product-miniature.glam-product-card > .thumbnail-container { transform:none !important; transition:none !important; }
  .product-miniature.glam-product-card > .thumbnail-container:hover { border-color:#e5e5e5; }
}

/* gh-card-light-all: shared card actions at every breakpoint, excluding main product CTA. */
body .product-miniature.glam-product-card button.add-to-cart,
body .product-miniature.glam-product-card .wrapper-buy > .out-of-stock-link,
body .product-miniature.glam-product-card .highlighted-informations .inner > a,
body .product-miniature.glam-product-card .highlighted-informations button {
 background:#fff!important;color:#52788D!important;border:1px solid #52788D!important;
 border-radius:5px;box-shadow:none!important;box-sizing:border-box;
}
body .product-miniature.glam-product-card button.add-to-cart {
 width:36px;height:36px;min-width:36px;min-height:36px;max-width:36px;max-height:36px;flex-basis:36px;
}
body .product-miniature.glam-product-card button.add-to-cart::before {
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='8' width='14' height='13' rx='1.5' fill='%2352788D'/%3E%3Cpath d='M9 9V6a3 3 0 0 1 6 0v3' fill='none' stroke='%2352788D' stroke-width='2'/%3E%3C/svg%3E");
}
body .product-miniature.glam-product-card .wrapper-buy > .out-of-stock-link {
 min-height:36px;line-height:1.2;font-weight:600;
}
body .product-miniature.glam-product-card .highlighted-informations .inner > a,
body .product-miniature.glam-product-card .highlighted-informations button {min-width:36px;min-height:36px;}
@media(hover:hover){
 body .product-miniature.glam-product-card button.add-to-cart:not(:disabled):hover,
 body .product-miniature.glam-product-card .wrapper-buy > .out-of-stock-link:hover,
 body .product-miniature.glam-product-card .highlighted-informations .inner > a:hover,
 body .product-miniature.glam-product-card .highlighted-informations button:not(:disabled):hover {
  background:#edf2f5!important;color:#52788D!important;
 }
}
body .product-miniature.glam-product-card :is(button.add-to-cart,.out-of-stock-link,.quick-view,.link-view):focus-visible {
 outline:2px solid #245f76;outline-offset:3px;
}

/* gh-card-hover-overlay: reserve secondary actions inside desktop cards only. */
@media(min-width:768px){
 body .product-miniature.glam-product-card .highlighted-informations{
  position:absolute!important;top:auto!important;bottom:6px!important;left:6px!important;right:6px!important;transform:none!important;z-index:4;
  width:auto!important;max-width:100%;min-width:0;min-height:0;height:auto;box-sizing:border-box;
  padding:0!important;margin:0!important;border:0!important;
  opacity:0;pointer-events:none;transition:opacity .15s ease;
 }
 body .product-miniature.glam-product-card .highlighted-informations::after{content:none!important;}
 body .product-miniature.glam-product-card .highlighted-informations .inner{
  display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px;
  width:100%;min-width:0;box-sizing:border-box;padding:0!important;
 }
 body .product-miniature.glam-product-card .highlighted-informations .inner a,
 body .product-miniature.glam-product-card .highlighted-informations button{
  position:relative;inset:auto;transform:none;float:none;
  display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;min-width:36px;min-height:36px;flex:0 0 36px;
  margin:0!important;padding:0!important;line-height:1;font-size:18px;
 }
 body .product-miniature.glam-product-card:hover .highlighted-informations,
 body .product-miniature.glam-product-card:focus-within .highlighted-informations{
  opacity:1;pointer-events:auto;transform:none!important;
 }
}


/* gh-card-buy-flow: compact normal rows; long rule messages can shrink and wrap. */
body .product-miniature.glam-product-card .wrapper-buy {
 flex-wrap:wrap; justify-content:space-between; gap:4px;
 min-width:0; max-width:100%; box-sizing:border-box;
}
body .product-miniature.glam-product-card .wrapper-buy > .product-price-and-shipping {
 flex:0 1 auto; width:auto; min-width:0; max-width:100%;
 box-sizing:border-box;
}
body .product-miniature.glam-product-card.ghs-addify-price .wrapper-buy > .product-price-and-shipping,
body .product-miniature.glam-product-card .wrapper-buy > .product-price-and-shipping:has(.extaddifyhideprice[pricehidecheck="yes"]) {
 flex:1 1 6rem; flex-wrap:wrap;
}
body .product-miniature.glam-product-card .product-price-and-shipping .extaddifyhideprice,
body .product-miniature.glam-product-card .extaddifyhideprice * {
 min-width:0; max-width:100%; box-sizing:border-box;
 white-space:normal!important; overflow-wrap:anywhere;
}
body .product-miniature.glam-product-card .product-price-and-shipping .extaddifyhideprice {
 flex:1 1 auto; width:auto; height:auto; line-height:1.4;
}
body .product-miniature.glam-product-card .extaddifyhideprice p { margin:0; }
body .product-miniature.glam-product-card .wrapper-buy > form,
body .product-miniature.glam-product-card .wrapper-buy > .out-of-stock-link {
 min-width:0; max-width:100%; box-sizing:border-box;
}
body .product-miniature.glam-product-card .wrapper-buy > .out-of-stock-link {
 flex:0 1 auto; white-space:normal; overflow-wrap:anywhere;
}


/* Mobile rule messages use a complete row; ordinary product prices keep their layout. */
@media (max-width:575px) {
 body .product-miniature.glam-product-card.ghs-addify-price .wrapper-buy > .product-price-and-shipping,
 body .product-miniature.glam-product-card .wrapper-buy > .product-price-and-shipping:has(.extaddifyhideprice[pricehidecheck="yes"]) {
  flex:1 1 100%; width:100%; max-width:100%;
 }
 body .product-miniature.glam-product-card.ghs-addify-price .wrapper-buy > .out-of-stock-link,
 body .product-miniature.glam-product-card .wrapper-buy:has(.extaddifyhideprice[pricehidecheck="yes"]) > .out-of-stock-link {
  margin-inline:auto;
 }
}

/* Hide the promotional countdown overlay only in the Alfaparf category. */
body#category.category-id-510 #js-product-list .product-miniature .pspc-main {
  display: none;
}
