/* =========================
   Shop layout chung
========================= */
.shop-layout-body {
    background: #f5f5f5;
    color: #222;
}

.shop-main {
    min-height: calc(100vh - 160px);
    padding: 24px 0 40px;
}

.shop-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(90deg, #ff6a3d, #ee4d2d, #ff5f8f);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.shop-header__inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.shop-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 160px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.shop-logo__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.shop-logo__text {
    font-size: 24px;
    letter-spacing: 0.3px;
}

.shop-search {
    flex: 1;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 999px;
    overflow: hidden;
    height: 48px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

    .shop-search input {
        flex: 1;
        height: 100%;
        border: none;
        outline: none;
        padding: 0 18px;
        font-size: 14px;
        color: #222;
        background: transparent;
    }

        .shop-search input::placeholder {
            color: #999;
        }

    .shop-search button {
        height: 40px;
        margin-right: 4px;
        padding: 0 18px;
        border: none;
        border-radius: 999px;
        background: linear-gradient(90deg, #ff6a3d, #ee4d2d);
        color: #fff;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.25s ease;
    }

        .shop-search button:hover {
            transform: translateY(-1px);
            filter: brightness(1.05);
        }

.shop-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-cart {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.25s ease;
}

    .shop-cart:hover {
        background: rgba(255, 255, 255, 0.24);
        transform: translateY(-2px);
        color: #fff;
    }

.shop-cart__icon {
    font-size: 18px;
}

.shop-cart__text {
    font-size: 14px;
    font-weight: 600;
}

.shop-cart__count {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #fff;
    color: #ee4d2d;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Login / manage partial trong header shop */
.shop-user-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .shop-user-tools ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .shop-user-tools .navbar-nav {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .shop-user-tools .nav-link,
    .shop-user-tools .btn,
    .shop-user-tools a {
        color: #fff !important;
        border: none;
        text-decoration: none;
        box-shadow: none !important;
    }

    .shop-user-tools .dropdown-menu a,
    .shop-user-tools .dropdown-item {
        color: #222 !important;
    }

    .shop-user-tools .btn-link {
        padding: 0;
        text-decoration: none;
    }

    .shop-user-tools form {
        margin: 0;
    }

.shop-footer {
    background: #fff;
    border-top: 1px solid #ececec;
    margin-top: 24px;
}

.shop-footer__inner {
    padding: 28px 16px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 24px;
}

.shop-footer h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #222;
}

.shop-footer p,
.shop-footer li,
.shop-footer a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.shop-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .shop-footer__links li + li {
        margin-top: 8px;
    }

.shop-footer__bottom {
    border-top: 1px solid #f1f1f1;
    padding: 12px 0;
    text-align: center;
}

    .shop-footer__bottom p {
        font-size: 13px;
        color: #777;
        margin: 0;
    }

@media (max-width: 992px) {
    .shop-header__inner {
        flex-wrap: wrap;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .shop-search {
        order: 3;
        width: 100%;
    }

    .shop-footer__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .shop-cart__text {
        display: none;
    }
}

@media (max-width: 480px) {
    .shop-logo__text {
        font-size: 20px;
    }

    .shop-search input {
        font-size: 13px;
    }
}
