/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web,please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category    design
 * @package     default_default
 * @copyright   Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
 * @license     http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */

/* Reset ================================================================================= */
.products.wrapper.grid .short-desc {
	display: none;
}

/* Header Nav Sections z-index (desktop only) ============================================ */
.header-bottom .nav-sections {
    /* z-index: 0 !important; */
}

@media (min-width: 992px) {
    .header-bottom .nav-sections {
        z-index: 0 !important;
    }
}

/* All Categories Mega Menu - Alignment & Font Size Fixes ================================ */

/* Vertical menu sidebar item font size */
.vmagicmenu .level0 .level-top span {
    font-size: 12px;
}

/* "All Categories" toggle button */
.all-cat span {
    font-size: 12px;
}

/* Category title link in mega panel — reduce excess top padding (was 32px for images) */
.vmagicmenu .level0 .level-top-mega .children > a {
    padding-top: 10px;
}

/* Category title span font size */
.vmagicmenu .level0 .level-top-mega .children > a span {
    font-size: 12px;
}

/* Sub-category link font sizes */
.vmagicmenu .level0 .level-top-mega .children a span,
.vmagicmenu .vmagicmenu-narrow .level0.dropdown .level1 a span {
    font-size: 12px;
}

/* Level-3 category items */
.vmagicmenu .level0 .level-top-mega .children .level-3 a {
    font-size: 12px;
}

/* Nav item line height — tighten vertical rhythm */
.vmagicmenu .level0 .level-top-mega .children .nav {
    line-height: 22px;
}

/* Mega panel columns — reduce width and padding for tighter alignment */
.vmagicmenu .level0 .level-top-mega .mage-column .children {
    width: 180px;
    padding-right: 10px;
    padding-left: 10px;
}

/* Sub-category list — reduce excessive bottom padding (was 10px 0 29px) */
.vmagicmenu .level0 .level-top-mega .mage-column .children ul {
    padding: 5px 0 12px;
}

/* All Categories — always expanded on mobile & tablet ================================== */
@media (max-width: 991px) {
    /* Override hover-only visibility so the panel shows by default */
    .vmagicmenu .block-vmagicmenu-content {
        position: static !important;
        visibility: visible !important;
        opacity: 1 !important;
        border: none !important;
        display: block !important;
    }

    /* Prevent JS slideToggle from collapsing the list */
    .vmagicmenu .nav-desktop.vmagicmenu-narrow {
        position: static !important;
        display: block !important;
        height: auto !important;
        overflow: visible !important;
        width: 100% !important;
    }

    /* Show all items — override the nth-child(n+13) hide rule */
    .vmagicmenu .vmagicmenu-narrow > li:nth-child(n+13) {
        display: list-item !important;
    }

    /* Hide the "All Categories / Close" toggle button — not needed */
    .vmagicmenu .all-cat {
        display: none !important;
    }

    /* Mega panel — show as static block instead of absolute flyout */
    .vmagicmenu .level0 .level-top-mega {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        left: auto !important;
        top: auto !important;
        border: none !important;
        display: block !important;
    }

    .vmagicmenu .level0 .level-top-mega .content-mega {
        box-shadow: none;
    }

    /* Stack columns vertically */
    .vmagicmenu .level0 .level-top-mega .mage-column .children {
        float: none;
        width: 100%;
        padding: 0;
    }

    .vmagicmenu .level0 .level-top-mega .mage-column .children ul {
        display: block !important;
        padding: 0 0 8px;
    }

    .vmagicmenu .level0 .level-top-mega .children > a {
        padding: 6px 0;
        font-size: 13px;
    }

    .vmagicmenu .level0 .level-top-mega .children a span {
        font-size: 13px;
    }
}