/* Custom overrides. Add your CSS here; loaded after all other styles. */

/* Gidromarket 3.0: compact Dushlux-inspired cards and mobile menu */
.gmd-site .gmd-category { transition: box-shadow .2s ease, transform .2s ease; }
.gmd-site .gmd-category:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(0,0,0,.09); }
.gmd-site .woocommerce ul.products li.product img { border-radius: 7px; aspect-ratio: 1/1; object-fit: contain; background: #f7f7f7; }
.gmd-site .woocommerce ul.products li.product .button { border-radius: 5px; }
@media(max-width:767px){.gmd-site .gmd-mega{max-height:75vh;overflow:auto}.gmd-site .gmd-search{min-width:0}}

/* 9.29 — mobile account and single-column cards (last stylesheet). */
@media(max-width:680px){
 .gmd-classic-shell .gmd-classic-account > a.gmd-classic-account-mobile,
 .gmd-classic-shell .gmd-classic-account > a.gmd-classic-account-mobile:hover,
 .gmd-classic-shell .gmd-classic-account > a.gmd-classic-account-mobile:active{
   border:0!important;border-width:0!important;outline:0!important;box-shadow:none!important;
   border-radius:0!important;background:transparent!important;
   width:42px!important;height:42px!important;min-width:42px!important;padding:8px!important;
 }
 .gmd-classic-shell .gmd-classic-account > a.gmd-classic-account-mobile:focus-visible{
   outline:2px solid #2379b4!important;outline-offset:2px!important;
 }
}
@media(max-width:600px){
 .gmd-site ul.products,
 .gmd-site .woocommerce ul.products,
 .gmd-shop-results ul.products,
 .gmd-product-recommendations ul.products,
 .woocommerce .gmd-product-recommendations ul.products,
 .gmd-product-detail .gmd-product-recommendations ul.products{
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important;
   width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;
 }
 .gmd-site ul.products li.product,
 .gmd-product-recommendations ul.products li.product,
 .woocommerce .gmd-product-recommendations ul.products li.product{
   width:100%!important;max-width:100%!important;min-width:0!important;min-height:0!important;
   height:auto!important;margin:0!important;padding:0!important;box-sizing:border-box!important;
   display:flex!important;flex-direction:column!important;overflow:hidden!important;
 }
 .gmd-site ul.products li.product .woocommerce-loop-product__link,
 .gmd-product-recommendations ul.products li.product .woocommerce-loop-product__link{
   display:flex!important;flex-direction:column!important;min-width:0!important;
   width:100%!important;box-sizing:border-box!important;padding:14px 16px 0!important;
 }
 .gmd-site ul.products li.product .woocommerce-loop-product__title,
 .gmd-product-recommendations ul.products li.product .woocommerce-loop-product__title{
   font-size:15px!important;line-height:1.4!important;min-height:0!important;height:auto!important;
   white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;
 }
 .gmd-site ul.products li.product img,
 .gmd-product-recommendations ul.products li.product img{
   display:block!important;width:100%!important;max-width:100%!important;
   height:210px!important;max-height:210px!important;object-fit:contain!important;
   margin:12px auto!important;
 }
 .gmd-site ul.products li.product .price,
 .gmd-product-recommendations ul.products li.product .price{
   display:block!important;width:auto!important;max-width:100%!important;min-width:0!important;
   margin:12px 16px 0!important;padding:10px 0 0!important;
   font-size:19px!important;line-height:1.3!important;white-space:normal!important;
   overflow-wrap:anywhere!important;box-sizing:border-box!important;
 }
 .gmd-site ul.products li.product .gmd-catalog-actions,
 .gmd-product-recommendations ul.products li.product .gmd-catalog-actions{
   display:flex!important;flex-wrap:nowrap!important;gap:10px!important;
   width:auto!important;max-width:calc(100% - 32px)!important;
   min-width:0!important;margin:12px 16px 16px!important;padding:0!important;
 }
 .gmd-site ul.products li.product .gmd-catalog-actions .gmd-catalog-buy,
 .gmd-site ul.products li.product .gmd-catalog-actions .button,
 .gmd-product-recommendations ul.products li.product .gmd-catalog-actions .button{
   flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:none!important;
   padding:10px 12px!important;white-space:normal!important;overflow-wrap:normal!important;
   font-size:13px!important;line-height:1.25!important;
 }
 .gmd-site ul.products li.product .gmd-catalog-actions .gmd-favorite-button,
 .gmd-product-recommendations ul.products li.product .gmd-catalog-actions .gmd-favorite-button{
   flex:0 0 44px!important;width:44px!important;max-width:44px!important;
 }
 .gmd-site ul.products li.product > .button,
 .gmd-product-recommendations ul.products li.product > .button{
   width:calc(100% - 32px)!important;max-width:calc(100% - 32px)!important;
   margin:12px 16px 16px!important;white-space:normal!important;
 }
}

/* 9.31: classic top information menu, including legacy individual anchor links. */
.gmd-classic-shell .gmd-classic-top nav{display:flex!important;align-items:center;justify-content:flex-end;flex-wrap:wrap;column-gap:18px!important;row-gap:7px!important}
.gmd-classic-shell .gmd-classic-top nav > a{display:inline-block!important;margin:0!important;padding:4px 0!important;white-space:nowrap;line-height:1.4!important}
.gmd-classic-shell .gmd-classic-top nav > ul.gmd-top-menu{display:flex!important;align-items:center;justify-content:flex-end;flex-wrap:wrap;column-gap:18px!important;row-gap:7px!important;margin:0!important;padding:0!important;list-style:none!important}
.gmd-classic-shell .gmd-classic-top nav > ul.gmd-top-menu > li{display:list-item;margin:0!important;padding:0!important;list-style:none!important}
.gmd-classic-shell .gmd-classic-top nav > ul.gmd-top-menu > li > a{display:inline-block!important;padding:4px 0!important;white-space:nowrap;line-height:1.4!important}
/* Brand archive: sort form lives outside .gmd-shop-results, unlike category archives. */
.gmd-brand-archive .gmd-legacy-sort{display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important;justify-content:flex-start!important;gap:12px 16px!important;clear:both;margin:16px 0 20px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.gmd-brand-archive .gmd-legacy-sort label{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:5px!important;margin:0!important;font-size:12px!important;line-height:1.35!important;white-space:nowrap}
.gmd-brand-archive .gmd-legacy-sort select{display:block!important;width:auto!important;min-width:125px!important;max-width:190px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:4px 26px 4px 8px!important;border:1px solid #aaa!important;border-radius:0!important;background-color:#fff!important;color:#333!important;font-size:12px!important;box-shadow:none!important}
.gmd-brand-archive .gmd-legacy-sort label:last-of-type{margin-left:auto!important}
@media(max-width:700px){.gmd-brand-archive .gmd-legacy-sort label:last-of-type{margin-left:0!important}.gmd-brand-archive .gmd-legacy-sort label{flex:1 1 135px;min-width:0}.gmd-brand-archive .gmd-legacy-sort select{width:100%!important;max-width:none!important}.gmd-classic-shell .gmd-classic-top nav{column-gap:12px!important}}
