/* ============================================
   DAVICI-STYLE UI - Soho Furnishing
   Header, Footer, Hero, Categories, Products, Animations
   ============================================ */

/* ----- Variables ----- */
:root {
    --davici-font: 'Poppins', sans-serif;
    --davici-black: #000000;
    --davici-gold: #febf0a;
    --davici-orange: #febf0a;
    --davici-text: #000000;
    --davici-bg: #ffffff;
    --davici-border: #eee;
}

/* ----- Body ----- */
.davici-body {
    font-family: var(--davici-font);
    color: var(--davici-text);
}

/* ===== HEADER (bwp-header header-v2) – Premium ===== */
.bwp-header.header-v2 {
    background: var(--davici-bg);
    border-bottom: 1px solid var(--davici-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.bwp-header.header-premium.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.bwp-header .header-wrapper {
    padding: 12px 0;
}

/* Desktop: single row – logo | nav links | search | profile | cart */
.bwp-header .header-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.5rem;
}

.bwp-header .header-logo-wrap {
    flex-shrink: 0;
}

.bwp-header .wpbingoLogo a,
.bwp-header .logo-link {
    display: inline-block;
    transition: opacity 0.2s ease;
}

.bwp-header .wpbingoLogo a:hover,
.bwp-header .logo-link:hover {
    opacity: 0.85;
}

/* Round logo – circle */
.bwp-header .logo-link.logo-round {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--davici-bg);
    border: 1px solid var(--davici-border);
}

.bwp-header .logo-link.logo-round .logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: none;
}

.bwp-header .logo-link.logo-round .logo-text {
    font-size: 0.75rem;
    text-align: center;
    line-height: 1.2;
    padding: 0 4px;
}

.bwp-header .wpbingoLogo img,
.bwp-header .logo-img {
    max-height: 48px;
    width: auto;
    display: block;
}

@media (min-width: 992px) {
    .bwp-header .logo-link.logo-round {
        width: 52px;
        height: 52px;
    }
    .bwp-header .wpbingoLogo img,
    .bwp-header .logo-img {
        max-height: 52px;
    }
}

.bwp-header .logo-text {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    color: var(--davici-black);
}

.bwp-header .header-left.content-header {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    flex-wrap: wrap;
}

/* Nav menu in same row – no wrap */
.bwp-header .header-row .header-menu {
    flex: 1;
    min-width: 0;
}

.bwp-header .header-row .header-menu .menu {
    flex-wrap: nowrap;
    gap: 0.15rem;
}

@media (min-width: 1200px) {
    .bwp-header .header-row {
        gap: 2rem;
    }
    .bwp-header .menu.std-menu .menu-item > a {
        padding: 0.5rem 0.75rem;
        font-size: 0.95rem;
    }
}

.bwp-header .header-menu .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.1rem;
}

.bwp-header .menu.std-menu .menu-item {
    position: relative;
}

.bwp-header .menu.std-menu .menu-item > a {
    color: var(--davici-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    padding: 0.4rem 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.bwp-header .menu.std-menu .menu-item > a:hover,
.bwp-header .menu.std-menu .menu-item.current-menu-item > a {
    color: #febf0a !important;
}

.bwp-header .menu.std-menu .menu-item > a:hover {
    background: rgba(254, 191, 10, 0.06);
}

.bwp-header .menu-arrow {
    font-size: 0.6rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.bwp-header .menu-item-has-children:hover .menu-arrow {
    transform: rotate(180deg);
}

.bwp-header .menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    list-style: none;
    margin: 0;
    padding: 8px 0;
    z-index: 100;
    border-radius: 8px;
    border: 1px solid var(--davici-border);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.bwp-header .menu .menu-item-has-children:hover .sub-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.bwp-header .menu .sub-menu li {
    margin: 0;
}

.bwp-header .menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--davici-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s ease, color 0.2s ease;
}

.bwp-header .menu .sub-menu a:hover {
    background: rgba(254, 191, 10, 0.08);
    color: #febf0a !important;
}

.bwp-header .header-right,
.bwp-header .header-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.bwp-header .header-row .header-actions {
    flex-shrink: 0;
}

/* Top nav: Facebook, Instagram, TikTok icons – always visible in header */
.bwp-header .header-social,
.bwp-header .header-social-mobile {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.bwp-header .header-row .header-social {
    margin-right: 0.25rem;
    padding-right: 0.75rem;
    border-right: 1px solid var(--davici-border);
}

.bwp-header .header-social-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border-radius: 50%;
    color: var(--davici-text);
    background: rgba(0, 0, 0, 0.04);
    font-size: 1.05rem;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease;
}

.bwp-header .header-social-link:hover {
    color: #fff;
    background: #febf0a !important;
}

.bwp-header .header-social-link.fb:hover { background: #1877f2; }
.bwp-header .header-social-link.ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.bwp-header .header-social-link.tiktok:hover { background: #000; }

@media (max-width: 991px) {
    .bwp-header .header-social-mobile .header-social-link {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 0.95rem;
    }
}

.bwp-header .header-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 8px 12px;
    color: var(--davici-text);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: 6px;
    transition: color 0.2s ease, background 0.2s ease;
}

.bwp-header .header-action-btn:hover {
    color: #febf0a !important;
    background: rgba(254, 191, 10, 0.08);
}

.bwp-header .header-action-btn .action-label {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navbar inline search bar (desktop) – input bara, icon chota */
.bwp-header .navbar-search-form {
    min-width: 0;
    max-width: 400px;
    border: 1px solid var(--davici-border);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
.bwp-header .navbar-search-input {
    border: none !important;
    padding: 8px 14px !important;
    font-size: 1rem !important;
    width: 280px;
    min-width: 0;
    background: transparent !important;
}
.bwp-header .navbar-search-input::placeholder {
    color: #999;
}
.bwp-header .navbar-search-input:focus {
    outline: none !important;
    box-shadow: none !important;
}
.bwp-header .navbar-search-btn {
    border: none !important;
    background: #febf0a !important;
    color: #000 !important;
    padding: 6px 8px !important;
    border-radius: 0 !important;
}
.bwp-header .navbar-search-btn i {
    font-size: 0.65rem !important;
}
.bwp-header .navbar-search-btn:hover {
    background: #d4a008 !important;
    color: #fff !important;
}
@media (min-width: 1200px) {
    .bwp-header .navbar-search-form { max-width: 480px; }
    .bwp-header .navbar-search-input { width: 340px; }
}
.bwp-header .search-toggle-wrap .search-toggle {
    padding: 8px 12px;
}

.bwp-header .cart-icon {
    position: relative;
    display: inline-flex;
}

.bwp-header .cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #febf0a !important;
    color: #000;
    font-size: 0.65rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Mobile header – relative so dropdown panel positions below it */
.bwp-header .header-mobile {
    padding: 14px 0;
    position: relative;
}

.bwp-header .navbar-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.bwp-header .navbar-toggle-icon:hover {
    background: rgba(0, 0, 0, 0.05);
}

.bwp-header .nav-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--davici-black);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.bwp-header .navbar-toggle-icon.open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.bwp-header .navbar-toggle-icon.open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.bwp-header .navbar-toggle-icon.open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.bwp-header .logo-mobile .logo-round {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
}

.bwp-header .logo-mobile .wpbingoLogo img,
.bwp-header .logo-mobile img {
    max-height: 40px;
}

.bwp-header .header-icon-btn {
    background: none;
    border: none;
    color: var(--davici-text);
    padding: 8px 12px;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 6px;
}

.bwp-header .header-icon-btn:hover {
    color: #febf0a !important;
}

.bwp-header .cart-icon-mobile {
    color: var(--davici-text);
    text-decoration: none;
    position: relative;
    display: inline-flex;
    padding: 8px 12px;
    font-size: 1.15rem;
}

.bwp-header .cart-icon-mobile .cart-count {
    position: absolute;
    top: -4px;
    right: -2px;
    background: #febf0a !important;
    color: #000;
    font-size: 0.65rem;
    font-weight: 600;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Mobile: hide desktop header */
@media (max-width: 991px) {
    .bwp-header .header-desktop {
        display: none !important;
    }
}

/* Mobile menu panel */
.bwp-header .mobile-menu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    padding: 16px 20px 24px;
    z-index: 1050;
    max-height: 75vh;
    overflow-y: auto;
    border-top: 1px solid var(--davici-border);
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.bwp-header .mobile-menu-panel.open {
    display: block;
}

.bwp-header .mobile-nav-search .form-control {
    border-radius: 6px 0 0 6px;
    border: 1px solid var(--davici-border);
}
.bwp-header .mobile-nav-search .btn-warning {
    border-radius: 0 6px 6px 0;
    background: #febf0a !important;
    border-color: #febf0a !important;
    color: #000 !important;
}

.bwp-header .mobile-menu-panel .menu,
.bwp-header .mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bwp-header .mobile-menu-panel .menu li,
.bwp-header .mobile-menu-list li {
    border-bottom: 1px solid var(--davici-border);
}

.bwp-header .mobile-menu-panel .menu a,
.bwp-header .mobile-menu-list a {
    display: block;
    padding: 14px 0;
    color: var(--davici-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.bwp-header .mobile-menu-panel .menu a:hover,
.bwp-header .mobile-menu-list a:hover {
    color: #febf0a !important;
    padding-left: 8px;
}

@media (min-width: 992px) {
    .bwp-header .mobile-menu-panel {
        display: none !important;
    }
}

body.menu-open {
    overflow: hidden;
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay .close-search {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.search-overlay .search-overlay-box {
    display: flex;
    max-width: 600px;
    width: 100%;
    border-bottom: 2px solid #fff;
}

.search-overlay .search-overlay-box .input-search {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.25rem;
    padding: 15px 0;
}

.search-overlay .search-overlay-box .input-search::placeholder {
    color: rgba(255,255,255,0.6);
}

.search-overlay .btn-search-submit {
    background: none;
    border: none;
    color: #fff;
    padding: 15px 20px;
}

/* ===== BACK TO TOP ===== */
.back-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--davici-black);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: var(--davici-orange);
    transform: translateY(-3px);
}

/* ===== FOOTER (footer-2) ===== */
.bwp-footer.footer-2 {
    background: #f5f5f5;
    padding: 0;
}

/* ----- Footer dark (black bg + white text) – forced so it always shows ----- */
#bwp-footer.footer-dark,
#bwp-footer.footer-dark .footer-newsletter,
#bwp-footer.footer-dark .footer-links,
#bwp-footer.footer-dark .footer-copyright {
    background: #000000 !important;
    background-color: #000000 !important;
}

#bwp-footer.footer-dark,
#bwp-footer.footer-dark *,
#bwp-footer.footer-dark h1,
#bwp-footer.footer-dark h2,
#bwp-footer.footer-dark h3,
#bwp-footer.footer-dark p,
#bwp-footer.footer-dark li,
#bwp-footer.footer-dark small {
    color: #ffffff !important;
}

#bwp-footer.footer-dark .footer-newsletter {
    padding: 48px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#bwp-footer.footer-dark .footer-newsletter h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff !important;
}

#bwp-footer.footer-dark .footer-newsletter p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9) !important;
}

#bwp-footer.footer-dark .newsletter-inner {
    display: flex;
    gap: 12px;
}

#bwp-footer.footer-dark .newsletter-inner .form-control {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    font-size: 1rem;
}

#bwp-footer.footer-dark .newsletter-inner .form-control::placeholder {
    color: rgba(255, 255, 255, 0.55) !important;
}

#bwp-footer.footer-dark .newsletter-inner .form-control:focus {
    border-color: var(--davici-orange);
    background: rgba(255, 255, 255, 0.12) !important;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(254, 191, 10, 0.25);
}

#bwp-footer.footer-dark .btn-newsletter {
    background: #febf0a !important;
    color: #000000 !important;
    border: none;
    padding: 14px 28px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

#bwp-footer.footer-dark .btn-newsletter:hover {
    background: #d4a008 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

#bwp-footer.footer-dark .footer-links {
    padding: 56px 0 40px;
}

#bwp-footer.footer-dark .footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.25rem;
    color: #ffffff !important;
}

#bwp-footer.footer-dark .list-link {
    list-style: none;
    padding: 0;
    margin: 0;
}

#bwp-footer.footer-dark .list-link li {
    margin-bottom: 0.6rem;
    color: rgba(255, 255, 255, 0.85) !important;
}

#bwp-footer.footer-dark .list-link a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

#bwp-footer.footer-dark .list-link a:hover {
    color: var(--davici-orange) !important;
}

#bwp-footer.footer-dark .footer-copyright {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#bwp-footer.footer-dark .copyright-text {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75) !important;
}

#bwp-footer.footer-dark .list-link-copyright {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    gap: 1.25rem;
}

#bwp-footer.footer-dark .list-link-copyright a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

#bwp-footer.footer-dark .list-link-copyright a:hover {
    color: var(--davici-orange) !important;
}

#bwp-footer.footer-dark .payment-text {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ----- Footer light (default, keep for non-dark) ----- */
.bwp-footer .footer-newsletter {
    background: var(--davici-black);
    color: #fff;
    padding: 40px 0;
}

.bwp-footer .footer-newsletter h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bwp-footer .footer-newsletter p {
    margin: 0;
    opacity: 0.9;
}

.bwp-footer .newsletter-inner {
    display: flex;
    gap: 10px;
}

.bwp-footer .newsletter-inner .form-control {
    flex: 1;
    padding: 12px 16px;
    border: none;
}

.bwp-footer .btn-newsletter {
    background: #febf0a;
    color: #000;
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
}

.bwp-footer .footer-links {
    padding: 50px 0 30px;
}

.bwp-footer .footer-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.25rem;
    color: var(--davici-black);
}

.bwp-footer .list-link {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bwp-footer .list-link li {
    margin-bottom: 0.5rem;
}

.bwp-footer .list-link a {
    color: #666;
    text-decoration: none;
}

.bwp-footer .list-link a:hover {
    color: var(--davici-orange);
}

.bwp-footer .footer-copyright {
    padding: 20px 0;
    border-top: 1px solid var(--davici-border);
}

.bwp-footer .copyright-text {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.bwp-footer .list-link-copyright {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: flex;
    gap: 1rem;
}

.bwp-footer .list-link-copyright a {
    color: #666;
    text-decoration: none;
}

.bwp-footer .list-link-copyright a:hover {
    color: var(--davici-orange);
}

/* ===== HERO SLIDER (Premium) – full width, well distributed ===== */
.davici-hero-section {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.davici-hero-section.hero-fullwidth {
    width: 100%;
    max-width: 100%;
}

.davici-hero-slider {
    width: 100%;
}

.davici-hero-slider .davici-hero-slide {
    position: relative;
    min-height: 80vh;
    height: 560px;
    display: flex;
    align-items: center;
    width: 100%;
}

@media (max-width: 767px) {
    .davici-hero-slider .davici-hero-slide {
        min-height: 50vh;
        height: 380px;
    }
    .davici-hero-content {
        padding: 24px 0 40px;
        max-width: 100%;
    }
    .davici-hero-content .silder-font-regular {
        font-size: 0.9rem;
    }
    .davici-hero-content .hero-line {
        height: 36px;
        margin: 0.4rem 0;
    }
    .davici-hero-content .silder-font-bold {
        font-size: 0.7rem;
    }
    .davici-hero-content .hero-line-sm {
        margin: 0.4rem 0 0.6rem;
    }
    .davici-hero-content .silder-font-light {
        font-size: 1.5rem;
        margin: 0.3rem 0 0.8rem;
    }
    .davici-hero-content .button-slider.rev-btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) {
    .davici-hero-slider .davici-hero-slide {
        min-height: 82vh;
        height: 640px;
    }
}

@media (min-width: 992px) {
    .davici-hero-slider .davici-hero-slide {
        min-height: 88vh;
        height: 720px;
    }
}

.davici-hero-slider .davici-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    overflow: hidden;
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.davici-hero-slider .davici-hero-bg .davici-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.davici-hero-slider .slick-active .davici-hero-bg {
    transform: scale(1.08);
}

.davici-hero-slider .davici-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Light overlay: only subtle dark on left for text readability, rest clear so image stays sharp */
    background: linear-gradient(105deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.08) 40%, transparent 100%);
    pointer-events: none;
}

.hero-slide-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
}

.davici-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0 80px;
    max-width: 560px;
}

@media (min-width: 992px) {
    .davici-hero-content {
        padding: 80px 0 100px;
        max-width: 600px;
    }
}

.davici-hero-content .silder-font-regular {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
    color: var(--davici-black);
    font-family: var(--davici-font);
    letter-spacing: 0.01em;
}

.davici-hero-content .hero-line {
    display: block;
    width: 4px;
    height: 56px;
    background: var(--davici-orange);
    margin: 0.6rem 0;
    border-radius: 2px;
}

@media (min-width: 768px) {
    .davici-hero-content .hero-line {
        height: 66px;
    }
}

.davici-hero-content .silder-font-bold {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--davici-black);
    margin: 0.25rem 0;
    opacity: 0.9;
}

.davici-hero-content .hero-line-sm {
    display: block;
    width: 56px;
    height: 3px;
    background: var(--davici-orange);
    margin: 0.6rem 0 1rem;
    border-radius: 2px;
}

.davici-hero-content .silder-font-light {
    font-size: clamp(2rem, 5.5vw, 4.25rem);
    font-weight: 300;
    line-height: 1.08;
    margin: 0.4rem 0 1.5rem;
    color: var(--davici-black);
    font-family: var(--davici-font);
    letter-spacing: -0.02em;
}

.davici-hero-content .button-slider.rev-btn {
    display: inline-block;
    padding: 16px 34px;
    border: 2px solid var(--davici-black);
    background: var(--davici-orange);
    color: var(--davici-black);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(254, 191, 10, 0.25);
}

.davici-hero-content .button-slider.rev-btn:hover {
    background: var(--davici-black);
    color: #fff;
    border-color: var(--davici-black);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Hero slick dots – desktop: center of page (mid); premium style */
.davici-hero-slider .slick-dots {
    position: absolute;
    bottom: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 3;
}

.davici-hero-slider .slick-dots li {
    margin: 0;
}

.davici-hero-slider .slick-dots li button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--davici-black);
    background: transparent;
    font-size: 0;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.davici-hero-slider .slick-dots li button:hover {
    background: rgba(0, 0, 0, 0.2);
}

.davici-hero-slider .slick-dots li.slick-active button {
    background: var(--davici-black);
    transform: scale(1.15);
}

/* Desktop: dots in middle of slide (horizontal row at center) */
@media (min-width: 768px) {
    .davici-hero-slider .slick-dots {
        flex-direction: row;
        top: 50%;
        left: 50%;
        bottom: auto;
        transform: translate(-50%, -50%);
    }
}

/* Mobile: smaller dots, bottom of slide (less large) */
@media (max-width: 767px) {
    .davici-hero-slider .slick-dots {
        top: auto;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 8px;
    }
    .davici-hero-slider .slick-dots li button {
        width: 6px;
        height: 6px;
        border-width: 1px;
    }
    .davici-hero-slider .slick-dots li.slick-active button {
        transform: scale(1.1);
    }
}

/* Hero content entrance (when slide is active) */
.davici-hero-slider .slick-active .hero-content-inner .hero-subtitle,
.davici-hero-slider .slick-active .hero-content-inner .hero-line,
.davici-hero-slider .slick-active .hero-content-inner .hero-collection,
.davici-hero-slider .slick-active .hero-content-inner .hero-title,
.davici-hero-slider .slick-active .hero-content-inner .hero-line-sm,
.davici-hero-slider .slick-active .hero-content-inner .hero-cta {
    animation: heroFadeUp 0.7s ease forwards;
}

.davici-hero-slider .slick-active .hero-content-inner .hero-subtitle { animation-delay: 0.1s; opacity: 0; }
.davici-hero-slider .slick-active .hero-content-inner .hero-line { animation-delay: 0.2s; opacity: 0; }
.davici-hero-slider .slick-active .hero-content-inner .hero-collection { animation-delay: 0.25s; opacity: 0; }
.davici-hero-slider .slick-active .hero-content-inner .hero-title { animation-delay: 0.3s; opacity: 0; }
.davici-hero-slider .slick-active .hero-content-inner .hero-line-sm { animation-delay: 0.4s; opacity: 0; }
.davici-hero-slider .slick-active .hero-content-inner .hero-cta { animation-delay: 0.45s; opacity: 0; }

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SECTIONS ===== */
.davici-section {
    padding: 60px 0;
}

.title-block-2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (max-width: 767px) {
    .davici-section {
        padding: 32px 0;
    }
    .title-block-2 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
}

/* ===== SHOP BY CATEGORIES ===== */
.shop-by-categories .elementor-icon-wrapper {
    width: 48px;
    height: 48px;
}

.shop-by-categories .elementor-icon-wrapper i {
    font-size: 1.5rem;
}

.btn-davici-outline {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border: 2px solid var(--davici-black);
    background: transparent;
    color: var(--davici-black);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-davici-outline:hover {
    background: var(--davici-black);
    color: #fff;
}

.bwp-woo-categories .item-product-cat {
    padding: 0 10px;
}

.item-product-cat-content {
    text-align: center;
}

.item-product-cat-content .item-image {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.item-product-cat-content .item-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s;
}

.item-product-cat-content:hover .item-image img {
    transform: scale(1.08);
}

.item-product-cat-content .item-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.item-product-cat-content .item-title a {
    color: var(--davici-text);
    text-decoration: none;
}

.item-product-cat-content .item-title a:hover {
    color: var(--davici-orange);
}

.item-product-cat-content .item-count {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-top: 0.25rem;
}

/* ===== Categories round / gol (white circle, image inside, name below) ===== */
.shop-by-categories.categories-round {
    background: #fff;
}

/* Home categories slider: Prev | Slider | Next in one row, arrows vertically centered (not above/below) */
.categories-round-slider-wrap .categories-round-slider-outer {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1rem;
}
.categories-round-slider-wrap .categories-round-slider {
    flex: 1;
    min-width: 0;
    position: relative;
}
.categories-round-slider-wrap .categories-round-slider .category-slide,
.categories-round-slider-wrap .categories-round-slider .slick-slide {
    padding: 0 4px;
    margin: 0;
    box-sizing: border-box;
}
.categories-round-slider-wrap .categories-round-slider .category-slide .category-round-item {
    margin: 0 auto;
}

/* Scroller buttons – Prev (left) and Next (right), in document flow so always visible */
.categories-round-slider-wrap .category-scroll-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid #000;
    background: #000;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.categories-round-slider-wrap .category-scroll-arrow::before {
    display: none !important;
}
.categories-round-slider-wrap .category-scroll-arrow:hover {
    background: var(--davici-orange);
    border-color: var(--davici-orange);
    color: #fff;
    box-shadow: 0 6px 20px rgba(254, 191, 10, 0.4);
    transform: scale(1.05);
}
/* Mobile: keep prev/next in same row (not above/below), smaller arrow icons */
@media (max-width: 767px) {
    .categories-round-slider-wrap .categories-round-slider-outer {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 0.5rem;
    }
    .categories-round-slider-wrap .category-scroll-arrow {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        font-size: 0.85rem;
        flex-shrink: 0 !important;
        align-self: center;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
    .categories-round-slider-wrap .category-scroll-arrow i {
        font-size: 0.85rem !important;
    }
}
@media (max-width: 400px) {
    .categories-round-slider-wrap .categories-round-slider-outer {
        gap: 0.35rem;
    }
    .categories-round-slider-wrap .category-scroll-arrow {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
        font-size: 0.75rem;
    }
    .categories-round-slider-wrap .category-scroll-arrow i {
        font-size: 0.75rem !important;
    }
}

.shop-by-categories.categories-round .categories-round-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
    justify-items: center;
    max-width: 100%;
}

@media (min-width: 576px) {
    .shop-by-categories.categories-round .categories-round-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .shop-by-categories.categories-round .categories-round-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 992px) {
    .shop-by-categories.categories-round .categories-round-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 2rem;
    }
}

.shop-by-categories.categories-round .category-round-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 140px;
}

/* Choti + round: small circular image like Davici reference */
.shop-by-categories.categories-round .category-round-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07), 0 4px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    padding: 10px;
    transition: box-shadow 0.3s ease;
}

.shop-by-categories.categories-round .category-round-item:hover .category-round-circle {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.09), 0 6px 20px rgba(0, 0, 0, 0.07);
}

.shop-by-categories.categories-round .category-round-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
}

.shop-by-categories.categories-round .category-round-item:hover .category-round-circle img {
    transform: scale(1.05);
}

.shop-by-categories.categories-round .category-round-name {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
    line-height: 1.3;
    font-family: var(--davici-font);
    text-align: center;
}

.shop-by-categories.categories-round .category-round-item:hover .category-round-name {
    color: var(--davici-orange);
}

@media (min-width: 576px) {
    .shop-by-categories.categories-round .category-round-circle {
        width: 100px;
        height: 100px;
        padding: 11px;
    }
    .shop-by-categories.categories-round .category-round-name {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    .shop-by-categories.categories-round .category-round-circle {
        width: 110px;
        height: 110px;
        padding: 12px;
    }
    .shop-by-categories.categories-round .category-round-name {
        font-size: 0.95rem;
    }
}

@media (min-width: 992px) {
    .shop-by-categories.categories-round .category-round-circle {
        width: 120px;
        height: 120px;
        padding: 14px;
    }
    .shop-by-categories.categories-round .category-round-item {
        max-width: 140px;
    }
}

/* Category carousel arrows */
.bwp-woo-categories.slider .slick-prev,
.bwp-woo-categories.slider .slick-next {
    width: 40px;
    height: 40px;
    z-index: 2;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
}

.bwp-woo-categories.slider .slick-prev:hover,
.bwp-woo-categories.slider .slick-next:hover {
    background: var(--davici-black);
}

.bwp-woo-categories.slider .slick-prev { left: 5px; }
.bwp-woo-categories.slider .slick-next { right: 5px; }

.bwp-woo-categories.slider .slick-prev:before,
.bwp-woo-categories.slider .slick-next:before {
    font-size: 18px;
}

/* ===== BANNERS ===== */
.bwp-widget-banner.layout-2 .banner-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.bwp-widget-banner .bwp-image {
    position: relative;
    padding-bottom: 70%;
    overflow: hidden;
}

.bwp-widget-banner .bwp-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.bwp-widget-banner .banner-wrapper:hover .bwp-image img {
    transform: scale(1.08);
}

.bwp-widget-banner .banner-wrapper-infor {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
}

.bwp-widget-banner .bwp-image-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.bwp-widget-banner .title-banner {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bwp-widget-banner .button {
    display: inline-block;
    padding: 8px 20px;
    background: var(--davici-orange);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.3s;
}

.bwp-widget-banner .button:hover {
    background: var(--davici-black);
    color: #fff;
}

/* ===== HOT PRODUCTS (product grid Davici style) ===== */
.bwp-filter-heading .title-block h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
}

.filter-orderby {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 0.5rem;
}

.filter-orderby .nav-link {
    border: none;
    background: transparent;
    color: #666;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 4px;
}

.filter-orderby .nav-link:hover,
.filter-orderby .nav-link.active {
    background: var(--davici-black);
    color: #fff;
}

.button-all.font-medium {
    color: var(--davici-text);
    font-weight: 600;
    text-decoration: none;
}

.button-all.font-medium:hover {
    color: var(--davici-orange);
}

/* Product card */
.products-entry.product-wapper {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.products-entry.product-wapper:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.products-thumb {
    position: relative;
    overflow: hidden;
}

.product-thumb-hover {
    position: relative;
    padding-bottom: 100%;
    overflow: hidden;
}

.product-thumb-hover a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.product-thumb-hover .wp-post-image,
.product-thumb-hover .hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumb-hover .hover-image {
    opacity: 0;
    transition: opacity 0.4s;
}

.products-entry.product-wapper:hover .product-thumb-hover .hover-image {
    opacity: 1;
}

.products-entry.product-wapper:hover .product-thumb-hover .wp-post-image {
    opacity: 0;
}

.product-thumb-hover .wp-post-image {
    transition: opacity 0.4s;
}

.product-button {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.products-entry.product-wapper:hover .product-button {
    opacity: 1;
    transform: translateY(0);
}

.product-button .add_to_cart_button,
.product-button .add-to-cart-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--davici-black);
    color: #fff;
    border: none;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s;
}

.product-button .add_to_cart_button:hover,
.product-button .add-to-cart-btn:hover {
    background: var(--davici-orange);
    color: #fff;
}

.products-content {
    padding: 1.25rem 0 0;
}

.products-content .product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.products-content .product-title a {
    color: var(--davici-text);
    text-decoration: none;
}

.products-content .product-title a:hover {
    color: var(--davici-orange);
}

.products-content .price {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== ICON BOXES ===== */
.elementor-icon-box {
    text-align: center;
    padding: 1.5rem 1rem;
}

.elementor-icon-box-icon {
    margin-bottom: 1rem;
}

.elementor-icon-box-icon i {
    font-size: 2.5rem;
    color: var(--davici-orange);
}

.elementor-icon-box-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.elementor-icon-box-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* ===== OUR STORIES ===== */
.our-stories-section {
    background: #f9f9f9;
}

.our-stories-section .title-block-2 {
    margin-bottom: 1rem;
}

.our-stories-section p {
    margin-bottom: 1.5rem;
    color: #666;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    animation: daviciFadeIn 0.6s ease;
}

@keyframes daviciFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Slick overrides */
.slick-slide {
    outline: none;
}

.slick-initialized .slick-slide {
    display: block;
}

/* ===== MOBILE VIEW (max-width: 767px) ===== */
@media (max-width: 767px) {
    /* Sections: tighter padding */
    #categories-section .text-center.mb-5 {
        margin-bottom: 1.5rem !important;
    }
    #categories-section .mt-5 {
        margin-top: 1.5rem !important;
    }
    #shop-section,
    #new-arrivals-section {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    #shop-section .row.g-4,
    #new-arrivals-section .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }
    /* Product cards: compact on mobile */
    #shop-section .product-image-container .product-image,
    #new-arrivals-section .product-image-container .product-image {
        height: 180px !important;
        min-height: 180px;
    }
    #shop-section .product-card-wrapper,
    #new-arrivals-section .product-card-wrapper {
        margin-bottom: 0.5rem !important;
    }
    #shop-section .card-body,
    #new-arrivals-section .card-body {
        padding: 0.5rem 0.75rem !important;
    }
    #shop-section .card-title,
    #new-arrivals-section .card-title {
        font-size: 0.95rem !important;
        min-height: 2rem !important;
    }
    #shop-section .btn,
    #new-arrivals-section .btn {
        padding: 0.4rem 0.75rem !important;
        font-size: 0.8rem !important;
    }
    /* Navbar mobile: fit content */
    .bwp-header .header-mobile {
        padding: 10px 0;
    }
    .bwp-header .header-right {
        gap: 0.25rem;
    }
    .bwp-header .header-social-mobile .header-social-link {
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
        font-size: 0.9rem;
    }
    .bwp-header .navbar-toggle-icon {
        width: 40px;
        height: 40px;
    }
    .bwp-header .mobile-menu-panel .menu a {
        padding: 12px 0;
        font-size: 1rem;
    }
    /* Footer mobile */
    .bwp-footer .footer-newsletter {
        padding: 24px 0;
    }
    .bwp-footer .footer-newsletter h2 {
        font-size: 1.25rem;
    }
    .bwp-footer .newsletter-inner {
        flex-direction: column;
        gap: 10px;
    }
    .bwp-footer .footer-links {
        padding: 32px 0 24px;
    }
    .bwp-footer .footer-title {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    .bwp-footer .list-link a {
        font-size: 0.9rem;
    }
    .bwp-footer .footer-copyright {
        padding: 16px 0;
    }
    .bwp-footer .copyright-text {
        font-size: 0.8rem;
    }
    /* Pre-footer strip mobile */
    .home-pre-footer {
        padding: 24px 0 !important;
    }
    .home-pre-footer h5 {
        font-size: 1rem;
    }
    .home-pre-footer .home-pre-footer-icon-circle,
    .home-pre-footer .rounded-circle {
        width: 44px !important;
        height: 44px !important;
    }
    .home-pre-footer .home-pre-footer-icon-circle .fa-lg,
    .home-pre-footer .fa-lg {
        font-size: 1rem !important;
    }
    /* View All / View all links */
    .button-all {
        font-size: 0.9rem;
    }
    .btn.btn-dark.btn-lg,
    .btn.btn-outline-dark.btn-lg {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    .bwp-header .header-social-mobile {
        gap: 0.25rem;
    }
    .bwp-header .header-social-mobile .header-social-link {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
        font-size: 0.8rem;
    }
}
