/* ============================================================
   Regal Furniture look & feel theme
   Inspired by regalfurniturebd.com (Nuxt storefront)
   Loaded after custom-style.css so overrides win.
   ============================================================ */

:root {
    --regal-red: #603719;
    --regal-red-dark: #4a2a13;
    --regal-gold: #c9962e;
    --regal-gold-dark: #a87a1f;
    --regal-text: #484848;
    --regal-text-dark: #212121;
    --regal-border: #dfdfdf;
    --regal-bg-light: #f5f5f5;
}

body {
    font-family: 'Open Sans', 'Roboto', sans-serif !important;
    color: var(--regal-text);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    color: var(--regal-text-dark);
}

/* ---------------- Header ---------------- */

/* top strip - warm brand gradient with gold edge */
.top-navbar {
    background: linear-gradient(90deg, #4a2a13 0%, #603719 55%, #7a4a20 100%) !important;
    border-bottom: 2px solid var(--regal-gold);
}
.top-navbar a,
.top-navbar .dropdown-toggle {
    color: #f5e9d8 !important;
}
.top-navbar a:hover {
    color: var(--regal-gold) !important;
    opacity: 1 !important;
}

/* clean white sticky header with soft shadow */
header.sticky-top {
    box-shadow: 0 2px 14px rgba(96, 55, 25, 0.10) !important;
}
.logo-bar-area {
    border-bottom: 0 !important;
    background: #fffdf9;
}

/* search bar - modern pill with brand border and gold focus glow */
.search-input-box .form-control,
.logo-bar-area .form-control#search {
    background-color: #fff !important;
    border: 2px solid #e8dccb !important;
    border-radius: 50rem !important;
    height: 46px;
    padding-left: 1.4rem;
    color: var(--regal-text-dark);
    transition: border-color .2s, box-shadow .2s;
}
.search-input-box .form-control:hover {
    border-color: var(--regal-gold) !important;
}
.search-input-box .form-control:focus,
.logo-bar-area .form-control#search:focus {
    background-color: #fff !important;
    border-color: var(--regal-gold) !important;
    box-shadow: 0 0 0 4px rgba(201, 150, 46, 0.15) !important;
}
.search-input-box svg path {
    fill: var(--regal-red);
}

/* ---- bottom menu bar: rich gradient, gold accents ---- */
.bottom-background-color-visibility {
    background: linear-gradient(90deg, #4a2a13 0%, #603719 60%, #6f4522 100%) !important;
}

/* Categories button - gold block that pops */
#category-menu-bar {
    background: linear-gradient(135deg, var(--regal-gold) 0%, var(--regal-gold-dark) 100%) !important;
}
#category-menu-bar:hover {
    filter: brightness(1.07);
}
#category-menu-bar .bottom-text-color-visibility,
#category-menu-bar span, #category-menu-bar i {
    color: #fff !important;
}

/* menu links - white with gold underline hover */
.header_menu_links {
    position: relative;
    letter-spacing: .2px;
}
.header_menu_links:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: var(--regal-gold) !important;
}
.header_menu_links::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: var(--regal-gold);
    transition: width .25s, left .25s;
}
.header_menu_links:hover::after {
    width: 60%;
    left: 20%;
}

/* cart box - subtle gold tint on the brown bar */
.nav-cart-box,
.bottom-background-color-visibility .bg-black-10 {
    background: rgba(201, 150, 46, 0.18) !important;
}
.nav-cart-box:hover {
    background: rgba(201, 150, 46, 0.30) !important;
}

/* header logo - Regal-sized brand mark with entrance + hover animation */
#header-logo-preview {
    height: 90px !important;
    max-height: 90px;
    width: auto;
    animation: regalLogoIn .9s cubic-bezier(.22, 1, .36, 1) both;
    transition: transform .3s ease, filter .3s ease;
    transform-origin: center bottom;
    will-change: transform;
}
#header-logo-preview:hover {
    animation: regalLogoSwing .8s ease-in-out;
    filter: drop-shadow(0 6px 12px rgba(96, 55, 25, 0.35));
}
@keyframes regalLogoIn {
    0% {
        opacity: 0;
        transform: translateY(-14px) scale(.92);
    }
    60% {
        opacity: 1;
        transform: translateY(2px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@keyframes regalLogoSwing {
    0%   { transform: rotate(0deg) scale(1); }
    25%  { transform: rotate(-3deg) scale(1.05); }
    50%  { transform: rotate(2.5deg) scale(1.05); }
    75%  { transform: rotate(-1.5deg) scale(1.03); }
    100% { transform: rotate(0deg) scale(1); }
}
/* keep the logo row from pushing the header too tall */
.logo-bar-area a.py-20px {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
@media (max-width: 767px) {
    #header-logo-preview {
        height: 56px !important;
        max-height: 56px;
    }
}

/* nav menu links */
.header-content-wrapper .nav-menu-list .nav-item .nav-link {
    font-weight: 600;
    color: var(--regal-text-dark);
}
.header-content-wrapper .nav-menu-list .nav-item .nav-link:hover {
    color: var(--regal-red) !important;
    opacity: 1 !important;
}

/* category bar */
.aiz-category-menu,
#category-menu-bar {
    border-radius: 0 !important;
}

/* ---------------- Buttons ---------------- */

.btn-primary {
    background-color: var(--regal-red) !important;
    border-color: var(--regal-red) !important;
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--regal-red-dark) !important;
    border-color: var(--regal-red-dark) !important;
}

/* pill CTA used on the regal homepage sections */
.regal-btn {
    display: inline-block;
    background: var(--regal-text-dark);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50rem;
    transition: background .2s;
}
.regal-btn:hover {
    background: var(--regal-red);
    text-decoration: none;
}
.regal-btn.regal-btn-red {
    background: var(--regal-red);
}
.regal-btn.regal-btn-red:hover {
    background: var(--regal-red-dark);
}

/* ---------------- Homepage sections ---------------- */

.regal-section {
    padding: 40px 0 24px;
}
.regal-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
}
.regal-section-head h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--regal-text-dark);
    margin: 0;
}
.regal-section-head .regal-view-all {
    font-size: 14px;
    font-weight: 600;
    color: var(--regal-red);
    white-space: nowrap;
}
.regal-section-head .regal-view-all:hover {
    color: var(--regal-red-dark);
    text-decoration: underline;
}

@media (max-width: 767px) {
    .regal-section { padding: 24px 0 12px; }
    .regal-section-head h2 { font-size: 18px; }
}

/* hero slider - full width, flat corners, natural aspect so the banner shows fully */
.regal-hero .aiz-carousel .carousel-box img {
    width: 100%;
    border-radius: 0 !important;
    border: 0 !important;
}
.regal-hero-img {
    height: auto !important;
    max-height: 560px;
    min-height: 200px;
    object-fit: cover;
    object-position: center;
}
@media (max-width: 767px) {
    .regal-hero-img {
        max-height: 300px;
    }
}
.regal-hero .slick-dots li button {
    background: #fff;
    border: 1px solid var(--regal-text-dark);
}
.regal-hero .slick-dots li.slick-active button {
    background: var(--regal-text-dark);
}

/* category tiles */
.regal-cat-tile {
    display: block;
    text-align: center;
}
.regal-cat-tile .regal-cat-img {
    display: block;
    background: var(--regal-bg-light);
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 100%;
}
.regal-cat-tile .regal-cat-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.regal-cat-tile:hover .regal-cat-img img {
    transform: scale(1.06);
}
.regal-cat-tile .regal-cat-name {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--regal-text-dark);
}
.regal-cat-tile:hover .regal-cat-name {
    color: var(--regal-red);
    text-decoration: none;
}

/* product cards - flat, minimal, IKEA-like */
.regal-product-card {
    background: #fff;
    padding: 8px;
    height: 100%;
}
.regal-product-card .regal-product-img {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: var(--regal-bg-light);
    overflow: hidden;
    margin-bottom: 12px;
}
.regal-product-card .regal-product-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.regal-product-card:hover .regal-product-img img {
    transform: scale(1.05);
}
.regal-product-card .regal-product-name {
    font-size: 14px;
    font-weight: 400;
    color: var(--regal-text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    margin-bottom: 4px;
}
.regal-product-card .regal-product-name:hover {
    color: var(--regal-red);
    text-decoration: none;
}
.regal-product-card .regal-product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--regal-text-dark);
}
.regal-product-card .regal-product-price del {
    font-size: 12px;
    font-weight: 400;
    color: #929292;
    margin-left: 6px;
}
.regal-product-card .regal-product-discount {
    color: var(--regal-red);
    font-size: 12px;
    font-weight: 700;
}

/* 5-per-row product grid on large screens */
@media (min-width: 992px) {
    .regal-5col {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* inspiration / banner cards */
.regal-idea-card {
    display: block;
    overflow: hidden;
    position: relative;
}
.regal-idea-card img {
    width: 100%;
    transition: transform .35s;
}
.regal-idea-card:hover img {
    transform: scale(1.04);
}

/* SEO text block */
.regal-seo {
    background: var(--regal-bg-light);
    padding: 48px 0;
    margin-top: 32px;
}
.regal-seo h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}
.regal-seo p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--regal-text);
}

/* offers strip heading accent */
.regal-offer-strip {
    background: var(--regal-red);
    color: #fff;
    font-weight: 700;
}

/* flatten the rounded "thecore" look so it matches Regal */
.aiz-thecore .rounded-75 {
    border-radius: 0 !important;
}

/* ---------------- Footer: rich brown + gold, professional ---------------- */

/* footer sections - warm brown gradient with gold top edge */
section.footer-widget {
    background: linear-gradient(160deg, #47290f 0%, #3a2210 55%, #2c1a0b 100%) !important;
}
section.footer-widget.border-bottom {
    border-top: 3px solid var(--regal-gold) !important;
    border-bottom: 1px solid rgba(201, 150, 46, 0.25) !important;
}

/* footer logo - white card so the mark sits cleanly on dark brown */
.footer-widget img.h-45px {
    height: 84px !important;
    max-height: 84px;
    width: auto;
    background: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: transform .3s ease;
}
.footer-widget img.h-45px:hover {
    transform: translateY(-3px) scale(1.03);
}

/* widget headings - gold with short underline bar */
.footer-widget h4.text-uppercase {
    color: var(--regal-gold) !important;
    opacity: 1 !important;
    letter-spacing: 1.2px;
    position: relative;
    padding-bottom: 8px;
}
.footer-widget h4.text-uppercase::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    background: var(--regal-gold);
    border-radius: 2px;
}
@media (max-width: 575px) {
    .footer-widget h4.text-uppercase::after {
        left: 50%;
        margin-left: -17px;
    }
}

/* footer links - cream, gold on hover with slide */
.footer-widget ul a {
    color: #e9dcc9 !important;
    transition: color .2s, padding-left .2s;
}
.footer-widget ul a:hover {
    color: var(--regal-gold) !important;
    padding-left: 4px;
    text-decoration: none;
}
.footer-widget p {
    color: #e9dcc9;
}

/* newsletter - cream input + gold subscribe button */
.footer-email-input {
    border: 1px solid rgba(233, 220, 201, 0.5) !important;
    border-radius: 6px !important;
    color: #fff !important;
}
.footer-email-input:focus {
    border-color: var(--regal-gold) !important;
    box-shadow: 0 0 0 3px rgba(201, 150, 46, 0.2) !important;
}
.footer-widget .btn-primary {
    background: linear-gradient(135deg, var(--regal-gold) 0%, var(--regal-gold-dark) 100%) !important;
    border: 0 !important;
    border-radius: 6px !important;
    font-weight: 700;
}
.footer-widget .btn-primary:hover {
    filter: brightness(1.1);
}

/* social icons - gold circles */
.footer-widget .social li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(201, 150, 46, 0.18);
    border: 1px solid rgba(201, 150, 46, 0.45);
    color: var(--regal-gold) !important;
    transition: background .25s, transform .25s;
}
.footer-widget .social li a:hover {
    background: var(--regal-gold);
    color: #2c1a0b !important;
    transform: translateY(-3px);
}

/* bottom copyright strip - darkest brown */
footer.pt-3 {
    background: #241407 !important;
    border-top: 1px solid rgba(201, 150, 46, 0.25);
}
footer.pt-3 .container,
footer.pt-3 .layout-container {
    background: transparent !important;
    color: #e9dcc9;
}
footer.pt-3 * {
    color: #e9dcc9;
}

/* sub-footer (about text) - warm cream */
.footer-desc-container p {
    line-height: 1.9;
}
