/* Custom English CSS for OPACK */

:root {
  /* Core Theme Colors */
  --clr-theme-primary: #5D4ED3;
  --clr-theme-secondary: #35305e;
  --clr-theme-grocery: #5D4ED3;
  --clr-theme-3: #C445A8;
  --clr-theme-4: #42B7E9;
  --clr-theme-5: #5D4ED3;
  
  /* Text and Headings */
  --clr-common-heading: #1A1A1A;
  --clr-common-selection: #5D4ED3;
  --clr-text-primary: #fff;
  --clr-text-secondary: #1A1A1A;
  --clr-text-body: #1A1A1A;
  --clr-text-2: #1A1A1A;
  --clr-text-3: #C445A8;
  --clr-text-4: #4A4A4A;
  
  /* Backgrounds */
  --clr-bg-1: #F7F7F7;
  --clr-bg-2: #131033; /* Elegant Dark Footer Background */
  --clr-bg-3: #F7F7F7;
  --clr-bg-4: #F7F7F7;
  --clr-bg-5: #F2F1FC; /* Light violet-blue background */
  
  /* Borders & Gradients */
  --clr-border-1: #5D4ED3;
  --clr-border-2: rgba(93, 78, 211, 0.2);
  --clr-border-primary: #5D4ED3;
  --clr-gradient-1: linear-gradient(96.81deg, #5D4ED3 0%, #C445A8 50%, #42B7E9 100%);
}

/* Fix English Navbar Spacing */
.header-main-4 .mean__menu-wrapper.furniture__menu {
    margin-left: 50px !important; /* Move menu away from logo in LTR */
}

.header-main-4 .header-logo {
    margin-right: 20px;
}

.tp-header-top-menu {
    gap: 20px;
}

/* RTL Styles for Arabic */
[dir="rtl"] .header-main-4 .mean__menu-wrapper.furniture__menu {
    margin-right: 50px !important; /* Move menu away from logo in RTL */
    margin-left: 0 !important;
}

[dir="rtl"] .header-main-4 .header-logo {
    margin-left: 20px;
    margin-right: 0;
}

[dir="rtl"] .header-main-4 .header-logo img {
    transform: scaleX(-1); /* Flip logo if needed */
}

[dir="rtl"] .tp-header-top-menu {
    direction: rtl;
    justify-content: flex-start !important;
}

[dir="rtl"] .header-to-main {
    direction: rtl;
}

[dir="rtl"] .header-to-main .link-text {
    text-align: right;
}

[dir="rtl"] .header-to-main .link-text a {
    margin-right: 5px;
    margin-left: 0;
}

[dir="rtl"] .header-to-main .link-text img {
    margin-left: 5px;
    margin-right: 0;
}

[dir="rtl"] .header-action-item {
    margin-left: 15px;
    margin-right: 0;
}

[dir="rtl"] .header-search {
    margin-left: 20px;
    margin-right: 0;
}

[dir="rtl"] .header-search input {
    text-align: right;
}

[dir="rtl"] .furniture__menu ul {
    text-align: right;
}

[dir="rtl"] .furniture__menu ul li {
    float: right;
}

[dir="rtl"] .breadcrumb__menu ul {
    text-align: right;
}

[dir="rtl"] .breadcrumb__menu ul li {
    float: right;
}

[dir="rtl"] .footer__widget ul {
    text-align: right;
}

[dir="rtl"] .footer__widget ul li {
    text-align: right;
}

[dir="rtl"] .product-content {
    text-align: right;
}

[dir="rtl"] .product-title {
    text-align: right;
}

[dir="rtl"] .product-price {
    text-align: right;
}

/* General text alignment for RTL */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .text-left {
    text-align: right !important;
}

[dir="rtl"] .text-right {
    text-align: left !important;
}

[dir="rtl"] .ml-auto {
    margin-left: 0 !important;
    margin-right: auto !important;
}

[dir="rtl"] .mr-auto {
    margin-right: 0 !important;
    margin-left: auto !important;
}

[dir="rtl"] .float-left {
    float: right !important;
}

[dir="rtl"] .float-right {
    float: left !important;
}
button.furniture-clr-hover {
    font-size: 15px !important;
}
.search-sidebar-form .btn{
 background-color: var(--clr-theme-primary);
}

/* Product button states */
.product-action-btn {
    transition: all 0.3s ease;
}

/* Wishlist button state - greenish yellow when product is in wishlist */


.product-action-btn.add-to-wishlist-btn.in-wishlist svg {
    fill: #fff !important;
    stroke: #fff !important;
}

.product-action-btn.add-to-wishlist-btn.in-wishlist:hover {
    background-color: #e1e816 !important; /* Darker greenish yellow on hover */
    transform: scale(1.05);
}

/* Cart button state - subtle indication when product is in cart */
.product-action-btn.add-to-cart-btn.in-cart {
    background-color: #28a745 !important; /* Green color */
    border-color: #28a745 !important;
}

.product-action-btn.add-to-cart-btn.in-cart svg {
    fill: #fff !important;
    stroke: #fff !important;
}

.product-action-btn.add-to-cart-btn.in-cart:hover {
    background-color: #218838 !important; /* Darker green on hover */
    transform: scale(1.05);
}

/* Loading state for buttons */
.product-action-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.product-action-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Pagination Styles */
.custom-pagination {
    margin-top: 40px;
}

.custom-pagination .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-pagination .page-item {
    margin: 0;
}

.custom-pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    background-color: #fff;
    color: var(--clr-theme-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-pagination .page-link:hover {
    background-color: var(--clr-theme-primary);
    border-color: var(--clr-theme-primary);
    color: #fff;
    transform: translateY(-2px);
}

.custom-pagination .page-item.active .page-link {
    background-color: var(--clr-theme-primary);
    border-color: var(--clr-theme-primary);
    color: #fff;
}

.custom-pagination .page-item.disabled .page-link {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

.custom-pagination .page-link.act-btn {
    padding: 0 10px;
}

.custom-pagination .page-link i {
    font-size: 14px;
    line-height: 1;
}

.custom-pagination .page-link:hover i {
    color: #fff;
}

.custom-pagination .inner-page-list {
    margin: 0 8px;
}

.custom-pagination .inner-page-list .pagination {
    gap: 4px;
}

/* RTL Pagination Support */
[dir="rtl"] .custom-pagination .pagination {
    direction: rtl;
}

[dir="rtl"] .custom-pagination .page-link i.bi-chevron-left {
    transform: rotate(180deg);
}

[dir="rtl"] .custom-pagination .page-link i.bi-chevron-right {
    transform: rotate(180deg);
}

.bd-filter__sidebar li{
    list-style-type: none !important;
    margin-bottom: 10px !important;
}

/* Fix for Continue Shopping button hover issue in wishlist */
.cart-area .fill-btn:hover,
.wishlist .fill-btn:hover {
    color: #ffffff !important;
}

/* Ensure continue shopping button text remains visible on hover */
.table .fill-btn:hover {
    color: #ffffff !important;
}

/* Additional specific rule for continue shopping button */
#continue_shopping:hover,
#continue_shopping:hover .fill-btn-normal,
#continue_shopping:hover .fill-btn-hover {
    color: #ffffff !important;
}

/* Force white text on hover for all fill-btn instances */
.fill-btn#continue_shopping:hover {
    color: #ffffff !important;
}

/* Target the inner spans specifically */
#continue_shopping .fill-btn-inner span {
    color: #ffffff !important;
}

/* Disable the ::before pseudo-element for continue shopping button */
#continue_shopping::before {
    display: none !important;
}

/* Ensure no background appears on hover */
#continue_shopping:hover::before {
    display: none !important;
}

/* Override any background color on hover */
#continue_shopping:hover {
    background-color: transparent !important;
    background: none !important;
    background-image: none !important;
}

/* Ensure no background at all times */
#continue_shopping {
    background-color: transparent !important;
    background: none !important;
    background-image: none !important;
}

/* Force transparent background on all states */
#continue_shopping:link,
#continue_shopping:visited,
#continue_shopping:active,
#continue_shopping:focus {
    background-color: transparent !important;
    background: none !important;
    background-image: none !important;
}
.text-time
{
    color:rgba(255, 255, 255, 0.7) !important
}
.furniture__product .prod-desc
{
    text-align: center;
}