/* Commercial navigation, scoped to the existing TiendaHerrador header. */
.th-catalog-nav-active .th-nav-inner{display:block}
.th-catalog-nav-active .th-nav-note{display:none}
.th-catalog-nav-active .th-nav{width:100%}
.th-catalog-nav-active .th-nav-row{border-top:0;padding-bottom:16px}
.th-catalog-navigation{width:100%;min-width:0}
.th-nav .th-catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 12px}
.th-nav .th-nav-icon{width:18px;height:18px;flex:0 0 18px}
.th-nav a.th-catalog-all{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:10px 17px;border:1px solid #dce4dc;border-radius:8px;background:#f0f4ee;color:#173d2d;font-size:.88rem;font-weight:750;line-height:1.3;text-decoration:none}
.th-nav a.th-catalog-all:hover,.th-nav a.th-catalog-all[aria-current="page"]{background:#e3ece1;border-color:#bacfbd;color:#173d2d}
.th-nav-arrow{margin-left:14px;font-size:1.1rem;line-height:1}
.th-nav .th-catalog-utility{display:flex;align-items:center;gap:8px;margin:0;padding:0;list-style:none}
.th-nav .th-catalog-utility a{display:flex;align-items:center;gap:9px;min-height:44px;padding:10px 14px;border-radius:8px;color:#425348;font-size:.84rem;font-weight:600;line-height:1.3;text-decoration:none}
.th-nav .th-catalog-utility a:hover,.th-nav .th-catalog-utility a[aria-current="page"]{background:#f0f4ee;color:#173d2d}
.th-nav .th-catalog-label{display:none}
.th-nav .th-primary-menu.th-catalog-menu{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));align-items:stretch;gap:0;min-height:0;padding:0 4px;background:#173d2d;border:1px solid #173d2d;border-radius:10px;box-shadow:0 3px 8px #142d2110}
.th-nav .th-catalog-menu>.th-catalog-item{position:relative;display:flex;align-items:stretch;gap:0;min-width:0;border:0}
.th-nav .th-catalog-menu>.th-catalog-item:not(:last-child)::after{content:"";position:absolute;right:0;top:20px;bottom:20px;width:1px;background:#ffffff21;pointer-events:none}
.th-nav .th-catalog-menu>.th-catalog-item>a{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;min-height:62px;padding:12px 8px 12px 12px;border-radius:6px;color:#fff;font-size:.84rem;font-weight:600;line-height:1.35;letter-spacing:0;text-transform:none;text-decoration:none;overflow-wrap:normal;word-break:normal}
.th-nav .th-catalog-menu>.th-catalog-item>a:hover,.th-nav .th-catalog-menu>.th-catalog-item.is-current>a{background:#28533e;color:#fff}
.th-category-disclosure{flex:0 0 28px;margin:0;min-width:0}
.th-category-disclosure>summary{display:flex;align-items:center;justify-content:center;width:28px;height:100%;min-height:44px;margin:0;padding:0;border-radius:6px;list-style:none;cursor:pointer;color:#dce9dc;line-height:1}
.th-category-disclosure>summary::-webkit-details-marker{display:none}
.th-category-disclosure>summary::marker{content:""}
.th-category-disclosure>summary:hover,.th-category-disclosure[open]>summary{background:#28533e;color:#fff}
.th-category-disclosure[open]>summary svg{transform:rotate(180deg)}
.th-catalog-navigation a:focus-visible,.th-category-disclosure>summary:focus-visible{outline:3px solid #c89b50;outline-offset:-3px}
.th-nav .th-category-submenu{position:absolute;z-index:65;top:calc(100% + 8px);left:0;width:350px;max-width:calc(100vw - 64px);margin:0;padding:18px;background:#fff;border:1px solid #e0e7dd;border-radius:12px;box-shadow:0 14px 40px #162b2326;color:#243e30;text-align:left}
.th-category-disclosure:not([open])>.th-category-submenu{display:none}
.th-nav .th-catalog-item:nth-child(n+5) .th-category-submenu{left:auto;right:0}
.th-nav .th-submenu-title{margin:0 0 10px;padding:0 8px 12px;border-bottom:1px solid #e6ece3;color:#173d2d;font-size:.94rem;font-weight:750;line-height:1.4}
.th-nav .th-category-submenu ul{display:block;margin:0;padding:0;list-style:none}
.th-nav .th-category-submenu li{margin:0;padding:0}
.th-nav .th-category-submenu li a{display:block;min-height:44px;padding:11px 10px;border-radius:6px;color:#405449;font-size:.89rem;font-weight:500;line-height:1.4;overflow-wrap:break-word;text-transform:none;letter-spacing:0}
.th-nav .th-category-submenu li a:hover,.th-nav .th-category-submenu li a[aria-current="page"]{background:#edf3e9;color:#173d2d}
.th-nav .th-category-submenu a.th-submenu-all{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;margin:10px 0 0;padding:12px 10px 0;border-top:1px solid #e6ece3;color:#173d2d;font-size:.82rem;font-weight:700}
@media(min-width:768px) and (max-width:1199px){
 .th-nav .th-primary-menu.th-catalog-menu{grid-template-columns:repeat(4,minmax(0,1fr));padding:4px}
 .th-nav .th-catalog-menu>.th-catalog-item:nth-child(-n+4){border-bottom:1px solid #ffffff21}
 .th-nav .th-catalog-menu>.th-catalog-item:nth-child(4n)::after{display:none}
 .th-nav .th-catalog-menu>.th-catalog-item>a{min-height:52px;font-size:.86rem}
 .th-nav .th-catalog-item:nth-child(n) .th-category-submenu{left:0;right:auto}
 .th-nav .th-catalog-item:nth-child(4n-1) .th-category-submenu,.th-nav .th-catalog-item:nth-child(4n) .th-category-submenu{left:auto;right:0}
}
@media(max-width:767px){
 .th-catalog-nav-active .th-nav-row{padding-bottom:0}
 .th-catalog-nav-active .th-nav{padding:18px 18px 24px;background:#fbfcf9;max-height:calc(100dvh - 140px);overscroll-behavior:contain}
 .th-nav .th-catalog-toolbar{display:block;padding:0 0 12px}
 .th-nav a.th-catalog-all{display:flex;width:100%;min-height:48px;padding:13px 15px;border-color:#173d2d;background:#173d2d;color:#fff;font-size:.94rem}
 .th-nav a.th-catalog-all:hover,.th-nav a.th-catalog-all[aria-current="page"]{background:#28533e;border-color:#28533e;color:#fff}
 .th-nav-arrow{margin-left:auto}
 .th-nav .th-catalog-utility{display:grid;grid-template-columns:1fr 1.45fr;gap:8px;margin-top:8px}
 .th-nav .th-catalog-utility a{justify-content:center;gap:7px;padding:11px 8px;min-height:46px;border:1px solid #e0e7dd;border-radius:8px;background:#fff;font-size:.83rem}
 .th-nav .th-catalog-label{display:block;margin:10px 0 8px;padding:0 2px;color:#71806e;font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
 .th-nav .th-primary-menu.th-catalog-menu{display:block;padding:0;background:#fff;border:1px solid #e0e7dd;border-radius:10px;box-shadow:none}
 .th-nav .th-catalog-menu>.th-catalog-item{display:block;border:0;border-bottom:1px solid #edf0e9;padding-right:46px}
 .th-nav .th-catalog-menu>.th-catalog-item:last-child{border-bottom:0}
 .th-nav .th-catalog-menu>.th-catalog-item::after{display:none}
 .th-nav .th-catalog-menu>.th-catalog-item>a{justify-content:flex-start;min-height:54px;padding:14px 14px;color:#243e30;font-size:.93rem;line-height:1.4;font-weight:650;border-radius:8px}
 .th-nav .th-catalog-menu>.th-catalog-item>a:hover,.th-nav .th-catalog-menu>.th-catalog-item.is-current>a{background:#edf3e9;color:#173d2d}
 .th-category-disclosure{position:static}
 .th-category-disclosure>summary{position:absolute;right:3px;top:4px;width:42px;height:46px;min-height:44px;color:#436849}
 .th-category-disclosure>summary:hover,.th-category-disclosure[open]>summary{background:#edf3e9;color:#173d2d}
 .th-nav .th-catalog-item:nth-child(n) .th-category-submenu{position:static;width:calc(100% + 46px);max-width:none;margin:0;padding:0 12px 12px 17px;border:0;box-shadow:none;border-radius:0;background:#fff}
 .th-nav .th-submenu-title{display:none}
 .th-nav .th-category-submenu ul{padding-left:10px;border-left:2px solid #dce8d7}
 .th-nav .th-category-submenu li a{font-size:.88rem;padding:12px 10px;min-height:44px}
 .th-nav .th-category-submenu a.th-submenu-all{padding-top:12px;font-size:.8rem}
 .th-catalog-nav-active .th-mobile-only{display:block;margin-top:12px;padding:12px 14px;font-size:.88rem;border:1px solid #e0e7dd;border-radius:8px;background:#fff}
}
