/* =====================================================
   dc-menu  —  barra nav principal desktop
   Bootstrap 4 compatible. Prefijo dc-menu-.
   ===================================================== */

.dc-menu {
    background: #fff;
    border-bottom: 0.5px solid #ede8f8;
    position: relative;
    z-index: 1000;
}
.dc-menu-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 46px;
}
.dc-menu-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex: 1;
}

/* Link base */
.dc-menu-item {
    position: relative;
}
.dc-menu-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 13px 12px;
    font-size: 13px;
    color: #444;
    text-decoration: none;
    border-radius: 7px;
    white-space: nowrap;
    cursor: pointer;
    transition: background .12s, color .12s;
    line-height: 1;
}
.dc-menu-link:hover,
.dc-menu-link:focus {
    background: #f8f0ff;
    color: #8800cc;
    text-decoration: none;
}
.dc-menu-link.active {
    color: #8800cc;
    font-weight: 600;
}
.dc-menu-link.dc-menu-hot {
    color: #c00020;
    font-weight: 600;
}
.dc-menu-link.dc-menu-hot:hover {
    background: #fff0f3;
    color: #9a0018;
}

/* Chevron para items con dropdown */
.dc-menu-chevron {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    transition: transform .2s;
}
.dc-menu-item:hover .dc-menu-chevron,
.dc-menu-item:focus-within .dc-menu-chevron {
    transform: rotate(180deg);
}

/* Dropdown */
.dc-menu-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    margin-top: -4px;
    padding-top: 4px;
    left: 0;
    background: #fff;
    border: 0.5px solid #e8deff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(45,27,105,.1);
    min-width: 200px;
    padding: 6px 0;
    z-index: 1100;
}
.dc-menu-item:hover .dc-menu-dropdown,
.dc-menu-item:focus-within .dc-menu-dropdown {
    display: block;
}
.dc-menu-dropdown-item {
    display: block;
    padding: 8px 16px;
    font-size: 12.5px;
    color: #333;
    text-decoration: none;
    transition: background .1s, color .1s;
    white-space: nowrap;
}
.dc-menu-dropdown-item:hover {
    background: #f8f0ff;
    color: #8800cc;
    text-decoration: none;
}
.dc-menu-dropdown-divider {
    height: 0.5px;
    background: #f0eaff;
    margin: 4px 0;
}
.dc-menu-dropdown-label {
    padding: 6px 16px 3px;
    font-size: 10px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: .8px;
    font-weight: 600;
}

/* CTA Test de colchón */
.dc-menu-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #8800cc;
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .15s;
    cursor: pointer;
    border: none;
}
.dc-menu-cta:hover {
    background: #6a009e;
    color: #fff;
    text-decoration: none;
}

/* Línea degradé bajo el menú */
.dc-menu-accent {
    height: 3px;
    background: linear-gradient(90deg, #1a0a2e 0%, #8800cc 60%, #dd99ff 100%);
}

/* Buscador en menú */
.dc-menu-search {
    flex-shrink: 0;
    margin-right: 8px;
}
.dc-menu-search form {
    display: flex;
    align-items: center;
    border: 1.5px solid #8800cc;
    border-radius: 7px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .15s;
}
.dc-menu-search form:focus-within {
    box-shadow: 0 0 0 3px rgba(136,0,204,.12);
}
.dc-menu-search input[type="text"] {
    border: none;
    outline: none;
    padding: 6px 12px;
    font-size: 12.5px;
    color: #222;
    background: transparent;
    width: 240px;
    min-width: 0;
}
.dc-menu-search input[type="text"]::placeholder {
    color: #bbb;
}
.dc-menu-search button[type="submit"] {
    background: #8800cc;
    color: #fff;
    border: none;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .15s;
}
.dc-menu-search button[type="submit"]:hover {
    background: #6a009e;
}

/* Mobile: ocultar — el nav mobile existente toma el control */
@media (max-width: 767px) {
    .dc-menu { display: none !important; }
    .dc-menu-accent { display: none !important; }
}

/* =====================================================
   dc-mob  —  menú mobile
   ===================================================== */

.dc-mob-bar {
    display: none;
    flex-direction: column;
    background: #fff;
    border-bottom: 0.5px solid #ede8f8;
    position: relative;
    z-index: 1001;
}
.dc-mob-bar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 54px;
}
.dc-mob-bar-search {
    padding: 0 12px 10px;
    display: flex;
    border-top: 0.5px solid #f0eaff;
}
.dc-mob-logo {
    font-size: 15px;
    font-weight: 700;
    color: #1a0a2e;
    letter-spacing: -.5px;
    text-decoration: none;
}
.dc-mob-logo span {
    display: block;
    font-size: 8px;
    color: #8800cc;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}
.dc-mob-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.dc-mob-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #1a0a2e;
    border-radius: 2px;
    transition: all .2s;
}
.dc-mob-panel {
    display: none;
    position: fixed;
    top: 98px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 1000;
    overflow-y: auto;
    padding: 16px;
    flex-direction: column;
    gap: 4px;
}
.dc-mob-panel.open { display: flex; }
.dc-mob-search {
    display: flex;
    border: 1.5px solid #8800cc;
    border-radius: 9px;
    overflow: hidden;
    margin-bottom: 16px;
}
.dc-mob-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 13px;
    color: #333;
}
.dc-mob-search button {
    background: #8800cc;
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-size: 13px;
    cursor: pointer;
}
.dc-mob-link {
    display: block;
    padding: 13px 4px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 0.5px solid #f0eaff;
}
.dc-mob-link:hover { color: #8800cc; text-decoration: none; }
.dc-mob-link.hot { color: #c00020; font-weight: 600; }
.dc-mob-link.auth { color: #8800cc; font-size: 13px; }
.dc-mob-divider {
    height: 0.5px;
    background: #ede8f8;
    margin: 8px 0;
}
@media (min-width: 768px) {
    .dc-mob-bar { display: none !important; }
    .dc-mob-panel { display: none !important; }
}
@media (max-width: 767px) {
    .dc-mob-bar { display: flex; }
}

/* =====================================================
   dc-mob-bottom  —  barra inferior mobile
   ===================================================== */

.dc-mob-bottom {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 54px;
    background: #fff;
    border-top: 0.5px solid #ede8f8;
    z-index: 1002;
    align-items: center;
    justify-content: space-around;
}
.dc-mob-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    color: #555;
    font-size: 11px;
    padding: 8px 4px;
    flex: 1;
}
.dc-mob-bottom-item:hover,
.dc-mob-bottom-item.active { color: #5b21b6; text-decoration: none; }
.dc-mob-bottom-icon { font-size: 20px; position: relative; }
.dc-mob-bottom-cart-count {
    position: absolute;
    top: -4px; right: -4px;
    background: #8800cc;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    width: 16px; height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 767px) {
    .dc-mob-bottom { display: flex; }
    body { padding-bottom: 54px; }
}
