:root {
    --primary-color: #1a1a1a;
    --secondary-color: #c9a55c;
    --accent-color: #d4af37;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-dark: #2c2c2c;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== TOP BAR ===== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #232323 100%);
    color: white;
    padding: 12px 0;
    border-bottom: 1px solid rgba(201, 165, 92, 0.2);
    font-size: 0.9rem;
}

.top-bar a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}
.top-bar a span{
    color: var(--light-bg);
}
.top-bar a:hover {
    opacity: 0.8;
    text-shadow: 0 0 8px rgba(201, 165, 92, 0.5);
}

/* ===== NAVBAR ===== */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, #232323 100%) !important;
    padding: 15px 0;
    box-shadow: var(--shadow-md);
    border-bottom: 2px solid var(--secondary-color);
}

.navbar-brand {
    font-family: "Merriweather", serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-color) !important;
    letter-spacing: 1px;
    transition: var(--transition);
}

.navbar-brand:hover {
    text-shadow: 0 4px 12px rgba(201, 165, 92, 0.4);
}

.logo-img {
    max-height: 45px;
    margin-right: 8px;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 15px !important;
    position: relative;
    margin: 0 5px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.dropdown-menu {
    background: #2f3640;
    border: 1px solid rgba(201, 165, 92, 0.2);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-item {
    color: #ffffff;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(201, 165, 92, 0.1);
    color: var(--accent-color);
    padding-left: 20px;
}

/* Search Box */
.search-box {
    position: relative;
    margin: 0 15px;
}

.search-box input {
    width: 250px;
    padding: 10px 45px 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    background: #2f3640;
    color: #ffffff;
    transition: var(--transition);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-box input:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(47, 54, 64, 0.8);
    box-shadow: 0 0 10px rgba(201, 165, 92, 0.2);
}

.search-box button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    color: var(--secondary-color);
}

/* Nav Icons */
.nav-icons {
    display: flex;
    gap: 15px;
    margin-left: 20px;
}

.nav-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.nav-icon:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 165, 92, 0.3);
}

.icon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #dc3545;
    color: white;
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    font-weight: 700;
    border: 2px solid var(--primary-color);
}

/* Restructured section titles into 3 layers: title, heading, subdescription */
.section-title {
    margin-bottom: 60px;
    position: relative;
}

.section-title .section-label {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: block;
}

.section-title h2 {
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 2.5rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent-color);
}
.section-title-no{
    margin-bottom: 20px;
    position: relative;
}
.no-subcategory{
    padding:100px 0px;
}



/* ===== PRODUCT SECTION ===== */
.product-grid {
    padding: 30px 0;
}

.categorytitle {
    font-size: 50px;
    padding: 20px;
}

@media only screen and (max-width: 767px) {
    .categorytitle {
        font-size: 30px;
        padding: 15px;
    }
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--light-bg);
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.product-image-main {
    display: block;
}

.product-image-hover {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.product-card:hover .product-image-main {
    transform: scale(1.1) rotate(2deg);
}

.product-card:hover .product-image-hover {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-actions {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.action-icon:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.action-icon a,
.action-icon i {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 1rem;
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.offer-price {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
}



/* ===== FOOTER ===== */
.footer-corporate {
    background: linear-gradient(135deg, var(--primary-color) 0%, #232323 100%);
    color: white;
    padding: 50px 0 0;
    margin-top: 60px;
    border-top: 2px solid var(--secondary-color);
}

.footer-corporate h6 {
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 25px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}
.footer-corporate ul {
    list-style: none;
    padding: 0;
}

.footer-corporate ul li {
    margin-bottom: 10px;
}

.footer-corporate ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-corporate ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-corporate p {
    color: #e0e0e0;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.logo-footer {
    max-width: 80px;
    margin-bottom: 15px;
    transition: var(--transition);
}

.logo-footer:hover {
    transform: scale(1.05);
}

.footer-corporate > div:first-child {
    padding-bottom: 30px;
}

.footer-bar {
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(201, 165, 92, 0.2);
    color: #e0e0e0;
    font-size: 0.9rem;
}

.footer-corporate a i {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-right: 15px;
    transition: var(--transition);
}

.footer-corporate a i:hover {
    color: var(--secondary-color);
    transform: scale(1.2);
}

.footer-social a {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    margin-right: 12px;

    color: #f5c542;
    text-decoration: none;

    transition: 0.3s ease;
}

.footer-social a i {
    font-size: 16px;
    line-height: 1;
    color:var(--light-bg);
    margin-left:13px !important;
}


.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-4px);
}



/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .navbar-brand {
        font-size: 1.3rem;
    }

    .search-box {
        width: 100%;
        margin: 10px 0 !important;
    }

    .search-box input {
        width: 100%;
    }

    .nav-icons {
        margin-left: 0;
        margin-top: 10px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .banner-content h2 {
        font-size: 1.8rem;
    }
    .banner-content h4 {
        font-size: 1.2rem;
    }

    .categorytitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .banner_button {
        padding: 6px 15px;
        font-size: 0.75rem;
    }

    .product-image-wrapper {
        height: 200px;
    }

    .floating-card {
        padding: 25px;
    }
}

p, span, pre {
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
}

a {
    text-decoration: none;
}

textarea {
    resize: none;
}

/* ===== Breadcrumb DETAILS SECTION ===== */
.breadcrumb-section {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.breadcrumb-item a {
    color: var(--text-dark);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}