/* ==========================================================================
   CLICK TO CART - PREMIUM DESIGN SYSTEM (MATTE BLACK & COPPER BRONZE)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

:root {
    --primary: #111111; /* Matte Black */
    --secondary: #b87333; /* Copper Bronze Accent */
    --background: #faf8f5; /* Off-White Minimal Luxury Lux Bag */
    --card: #ffffff;
    --text-main: #2c2c2c;
    --border-color: #e5e5e5;
    --success: #2e7d32;
    --danger: #c62828;
    --font-sans:
        "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--background);
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
input,
select,
button {
    font-family: var(--font-sans) !important;
}

/* Container Width Constraint */
.container {
    width: 100%;
    max-width: 1320px !important;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* ==========================================================================
   NAVIGATION & HEADER
   ========================================================================== */
.header-top {
    background-color: var(--primary);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    font-weight: 400;
}

.header-left p {
    color: var(--secondary);
    margin: 0;
    padding: 10px 0;
}

.header-right ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
}

.header-right ul li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary);
}

.header-right ul li a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 300ms ease;
}

.header-right ul li a:hover {
    color: var(--secondary) !important;
}

.header {
    background-color: var(--card);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* Premium Dynamic Inputs & Search Overrides */
.search-select {
    appearance: none;
    background: #ffffff
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23111111'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E")
        no-repeat calc(100% - 12px) center;
    background-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px 0 0 8px !important;
    height: 48px;
    padding: 0 32px 0 16px;
    color: var(--primary);
    font-size: 14px;
    outline: none;
    transition: border-color 300ms ease;
}

.search-input {
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: 0 8px 8px 0 !important;
    height: 48px;
    padding: 0 48px 0 16px;
    font-size: 14px;
    color: var(--primary);
    outline: none;
    transition: all 300ms ease;
}

.search-input:focus,
.search-select:focus {
    border-color: var(--secondary);
}

.search-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23111111'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E")
        no-repeat center;
    width: 20px;
    height: 20px;
    border: none;
    cursor: pointer;
}

/* Navigation Base Bar */
.header-bottom {
    background: var(--primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cat_menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}

.cat_menu ul li a {
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    padding: 16px 20px;
    display: inline-block;
    transition: all 300ms ease;
    text-decoration: none;
}

.cat_menu ul li:hover > a {
    background: rgba(255, 255, 255, 0.03);
    color: var(--secondary) !important;
}

/* Mega/Sub Menu Support */
.sub_category {
    display: none;
    position: absolute;
    background: var(--card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    min-width: 240px;
    padding: 8px 0;
    z-index: 999;
}

.cat_menu ul li:hover > .sub_category {
    display: block;
}

.sub_category ul {
    flex-direction: column;
}

.sub_category ul li a {
    color: var(--text-main) !important;
    padding: 10px 20px;
    width: 100%;
}

.sub_category ul li a:hover {
    background: var(--background);
    color: var(--secondary) !important;
}

/* ==========================================================================
   BUTTONS (PRIMARY / SECONDARY / ALERTS)
   ========================================================================== */
.order_now_btn,
.btn-primary {
    background: var(--secondary) !important;
    color: #ffffff !important;
    border: 1px solid var(--secondary) !important;
    border-radius: 5px !important;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 600;
    transition: all 300ms ease !important;
    cursor: pointer;
    box-shadow: none;
}

.order_now_btn:hover,
.btn-primary:hover {
    background: #914f13 !important;
    border-color: var(--secondary) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.add_cart_btn {
    background: transparent !important;
    color: var(--secondary) !important;
    border: 1px solid var(--secondary) !important;
    border-radius: 8px !important;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    transition: all 300ms ease !important;
}

.add_cart_btn:hover {
    background: var(--secondary) !important;
    color: #ffffff !important;
}

.btn-danger {
    background-color: var(--danger) !important;
    border-radius: 8px;
}
.btn-success {
    background-color: var(--success) !important;
    border-radius: 8px;
}

/* ==========================================================================
   PRODUCT GRID & PREMIUM LUXURY CARDS
   ========================================================================== */
.custom-product-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    padding: 16px 0;
}

@media (min-width: 576px) {
    .custom-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .custom-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 992px) {
    .custom-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1200px) {
    .custom-product-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.main-product {
    width: 100% !important;
    max-width: 100% !important;
}

.main-product-inner-wrapper {
    background: var(--card);
    border: 1px solid var(--secondary);
    border-radius: 8px;
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 300ms cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.01);
    position: relative;
    overflow: hidden;
}

.main-product-inner-wrapper:hover {
    transform: translateY(-6px);
    border-color: rgba(184, 115, 51, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.main-product-inner-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 500ms ease;
}

.main-product-inner-wrapper:hover img {
    transform: scale(1.03);
}

/* Badges & Micro Items */
.discount {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
}

.discount-wrapper span {
    background: var(--secondary);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prod_name {
    margin-top: 12px !important;
    margin-bottom: 16px !important;
    font-size: 15px !important;
    line-height: 1.4;
    font-weight: 500;
    text-align: left;
}

.prod_name a {
    color: var(--text-main) !important;
    text-decoration: none;
    transition: color 300ms ease;
}

.prod_name a:hover {
    color: var(--secondary) !important;
}

/* ==========================================================================
   TABLES & DASHBOARD OVERRIDES
   ========================================================================== */
.table {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
}

.table th {
    background: var(--background);
    color: var(--primary);
    font-weight: 600;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
}

.table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background 300ms ease;
}

.table tr:last-child td {
    border-bottom: none;
}

.table tr:hover td {
    background: rgba(250, 248, 245, 0.6);
}

/* ==========================================================================
   MOBILE EXPANSIONS & DRAWER
   ========================================================================== */
@media (max-width: 767.98px) {
    .header-right,
    .d-none-m {
        display: none !important;
    }
    .header-right-m {
        display: block;
    }

    .logo img {
        max-width: 130px;
    }
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .search-form-m {
        background: var(--primary);
        padding: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }
}

/* ==========================================================================
   MOBILE SEARCH & DROPDOWN PERFECT FIT
   ========================================================================== */

/* à¦®à§‹à¦¬à¦¾à¦‡à¦² à¦¸à¦¾à¦°à§à¦š à¦«à¦°à§à¦® à¦«à¦¿à¦•à§à¦¸ */
.search-form-m {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.search-form-m form {
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-form-m .input-group {
    width: calc(100% - 40px) !important;
    display: flex;
}

.search-form-m .form-control {
    height: 44px;
    border: 1px solid #e5e5e5;
    border-radius: 8px 0 0 8px !important;
    font-size: 14px;
    color: #111111;
}

.search-form-m .btn-dark {
    background: #111111 !important;
    border: 1px solid #111111 !important;
    border-radius: 0 8px 8px 0 !important;
    height: 44px;
    padding: 0 16px;
}

/* à¦•à§à¦²à§‹à¦œ à¦¬à¦¾à¦Ÿà¦¨ à¦«à¦¿à¦•à§à¦¸ */
.search_btnclose {
    background: transparent;
    border: none;
    color: #111111;
    font-size: 22px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* à¦šà¦¾à¦‡à¦²à§à¦¡ à¦•à§à¦¯à¦¾à¦Ÿà¦¾à¦—à¦°à¦¿ à¦à¦¬à¦‚ à¦¶à§‡à¦­à¦°à¦¨ à¦¸à§à¦Ÿà§à¦°à¦¾à¦•à¦šà¦¾à¦° */
.sub_category ul li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.sub_category ul li a {
    flex-grow: 1;
    padding: 10px 16px;
}

/* à¦¡à¦¾à¦¨à¦®à§à¦–à§€ à¦†à¦§à§à¦¨à¦¿à¦• à¦¶à§‡à¦­à¦°à¦¨ à¦à¦°à§‹ */
.caret-right {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 1.5px solid #888888;
    border-right: 1.5px solid #888888;
    transform: rotate(45deg);
    margin-right: 16px;
    pointer-events: none;
}

.sub_category ul li:hover .caret-right {
    border-color: #b87333;
}

/* ==========================================================================
   INFINITE NESTED SUB-MENU (DESKTOP HOVER)
   ========================================================================== */
.cat_menu ul li {
    position: relative;
}

/* à¦¸à§‡à¦•à§‡à¦¨à§à¦¡ à¦²à§‡à¦­à§‡à¦² à¦“ à¦¤à¦¾à¦° à¦­à§‡à¦¤à¦°à§‡à¦° à¦ªà§à¦°à¦¤à¦¿à¦Ÿà¦¾ à¦¸à¦¾à¦¬-à¦®à§‡à¦¨à§à¦° à¦œà¦¨à§à¦¯ */
.cat_menu .sub_category {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 230px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    z-index: 999;
    padding: 5px 0;
}

/* à§©à§Ÿ, à§ªà¦°à§à¦¥ à¦¬à¦¾ à¦¤à¦¾à¦° à¦ªà¦°à¦¬à¦°à§à¦¤à§€ à¦ªà§à¦°à¦¤à¦¿à¦Ÿà¦¾ à¦šà¦¾à¦‡à¦²à§à¦¡ à¦¸à¦¾à¦¬-à¦®à§‡à¦¨à§ à¦¡à¦¾à¦¨à§‡ à¦ªà¦ª-à¦†à¦ª à¦¹à¦¬à§‡ */
.cat_menu .sub_category .nested-sub-menu {
    top: 0 !important;
    left: 100% !important;
    margin-left: 1px;
}

/* à¦¹à§‹à¦­à¦¾à¦° à¦‡à¦«à§‡à¦•à§à¦Ÿà¦¸ - à¦šà§‡à¦‡à¦¨ à¦°à¦¿à§Ÿà§à¦¯à¦¾à¦•à¦¶à¦¨ */
.cat_menu ul li:hover > .sub_category {
    display: block !important;
}

.cat_menu .sub_category li a {
    color: #2c2c2c !important;
    padding: 10px 16px !important;
    font-size: 14px;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.cat_menu .sub_category li:hover > a {
    background: #faf8f5;
    color: #b87333 !important;
}

.sub-chevron {
    font-size: 11px;
    color: #999;
}

/* ==========================================================================
   MOBILE ACCORDION DROPDOWN STYLES
   ========================================================================== */
.mobile-menu-row {
    width: 100%;
}
.mobile-nav-item {
    list-style: none;
    width: 100%;
}
.mobile-nav-item a {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    padding: 8px 0;
    display: inline-block;
}
.mobile-toggle-btn {
    cursor: pointer;
    color: #b87333;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* à¦ªà§à¦°à§‹à¦¡à¦¾à¦•à§à¦Ÿà§‡à¦° à¦¨à¦¾à¦® à¦¸à¦¬à¦¸à¦®à§Ÿ à§¨ à¦²à¦¾à¦‡à¦¨à§‡ à¦«à¦¿à¦•à§à¦¸à¦¡ à¦°à¦¾à¦–à¦¾à¦° à¦®à§à¦¯à¦¾à¦œà¦¿à¦• à¦¸à¦¿à¦à¦¸à¦à¦¸ */
.prod_name {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* à¦¸à¦°à§à¦¬à§‹à¦šà§à¦š à§¨ à¦²à¦¾à¦‡à¦¨ à¦¦à§‡à¦–à¦¾à¦¬à§‡ */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 42px; /* à¦²à¦¾à¦‡à¦¨-à¦¹à¦¾à¦‡à¦Ÿ à¦…à¦¨à§à¦¯à¦¾à§Ÿà§€ à§¨ à¦²à¦¾à¦‡à¦¨à§‡à¦° à¦«à¦¿à¦•à§à¦¸à¦¡ à¦‰à¦šà§à¦šà¦¤à¦¾ */
    line-height: 21px; /* à¦ªà§à¦°à¦¤à¦¿ à¦²à¦¾à¦‡à¦¨à§‡à¦° à¦‰à¦šà§à¦šà¦¤à¦¾ */
    margin-bottom: 8px !important;
    font-size: 15px;
}

.prod_name a {
    color: #222222;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.prod_name a:hover {
    color: #b87333; /* à¦¹à§‹à¦­à¦¾à¦° à¦•à¦°à¦²à§‡ à¦•à¦ªà¦¾à¦° à¦¬à§à¦°à§‹à¦žà§à¦œ à¦•à¦¾à¦²à¦¾à¦° à¦¹à¦¬à§‡ */
}
.price-box {
    display: flex;
    gap: 5px;
    align-items: center;
}
/* mobile price box */
@media (max-width: 767.98px) {
    .price-box {
        flex-direction: column;
        gap: 0;
    }
    .custom-product-grid {
        gap: 5px;
    }
    .product-meta {
        margin-top: 5px !important;
    }
    .prod_name {
        margin-top: 5px !important;
        margin-bottom: 16px !important;
        font-size: 14px !important;
    }
    .order_now_btn,
    .btn-primary {
        border-radius: 4px !important;
        padding: 5px 24px;
        font-size: 13px;
    }
    .main-products-section .row {
        margin-bottom: 0 !important;
    }
    .main-product-inner-wrapper {
        border-radius: 4px;
        padding: 5px;
    }
    .hot-deals-inner-wrapper {
        border-radius: 4px !important;
        padding: 10px !important;
    }
    .hot-deals-inner-wrapper .owl-item {
        padding: 0 !important;
        margin: 0 !important;
    }
    .hot-deals-section {
        padding: 10px 0 !important;
        margin: 10px 0 !important;
    }
    .main-products-section {
        padding: 10px 0 !important;
        margin: 10px 0 !important;
    }

    .header {
        padding: 8px 0 !important;
    }
}
.hot-deals-inner-wrapper {
    border-radius: 4px !important;
    padding: 15px !important;
}
.hot-deals-inner-wrapper .owl-item {
    padding: 0 !important;
    margin: 0 !important;
}
/* ==========================================================================
   Premium Copper Bronze Pagination Adjustments
   ========================================================================== */
.pagination {
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
}

.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #111111; /* à¦¡à¦¿à¦«à¦²à§à¦Ÿ à¦Ÿà§‡à¦•à§à¦¸à¦Ÿ à¦¡à¦¾à¦°à§à¦• à¦•à¦¾à¦²à¦¾à¦° */
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease-in-out;
}

.page-link:hover {
    z-index: 2;
    color: #fff; /* à¦¹à§‹à¦­à¦¾à¦° à¦•à¦°à¦²à§‡ à¦Ÿà§‡à¦•à§à¦¸à¦Ÿ à¦¸à¦¾à¦¦à¦¾ à¦¹à¦¬à§‡ */
    text-decoration: none;
    background-color: #b87333; /* à¦¹à§‹à¦­à¦¾à¦° à¦¬à§à¦¯à¦¾à¦•à¦—à§à¦°à¦¾à¦‰à¦¨à§à¦¡ à¦•à¦ªà¦¾à¦° à¦¬à§à¦°à§‹à¦žà§à¦œ */
    border-color: #b87333;
}

.page-link:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(184, 115, 51, 0.25); /* à¦•à¦ªà¦¾à¦° à¦¬à§à¦°à§‹à¦žà§à¦œ à¦—à§à¦²à§‹ à¦‡à¦«à§‡à¦•à§à¦Ÿ */
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.page-item:last-child .page-link {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

/* à¦…à§à¦¯à¦¾à¦•à§à¦Ÿà¦¿à¦­ à¦ªà§‡à¦œà§‡à¦° à¦ªà§à¦°à¦¿à¦®à¦¿à¦¯à¦¼à¦¾à¦® à¦•à¦ªà¦¾à¦° à¦²à§à¦• */
.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #b87333; /* à¦…à§à¦¯à¦¾à¦•à§à¦Ÿà¦¿à¦­ à¦¬à§à¦¯à¦¾à¦•à¦—à§à¦°à¦¾à¦‰à¦¨à§à¦¡ */
    border-color: #b87333; /* à¦…à§à¦¯à¦¾à¦•à§à¦Ÿà¦¿à¦­ à¦¬à¦°à§à¦¡à¦¾à¦° */
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

/* Large Pagination */
.pagination-lg .page-link {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    line-height: 1.5;
}

.pagination-lg .page-item:first-child .page-link {
    border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}

.pagination-lg .page-item:last-child .page-link {
    border-top-right-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
}

/* Small Pagination */
.pagination-sm .page-link {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.pagination-sm .page-item:first-child .page-link {
    border-top-left-radius: 0.2rem;
    border-bottom-left-radius: 0.2rem;
}

.pagination-sm .page-item:last-child .page-link {
    border-top-right-radius: 0.2rem;
    border-bottom-right-radius: 0.2rem;
}
