/* ================================
   Velriah Ecom – Light Luxury Theme
   Brand Color: #861B1A
================================ */

:root {
    --primary: #861B1A;          /* Wine Red (Logo) */
    --primary-hover: #6F1413;    /* Darker Wine */
    --bg-main: #FBF7F6;          /* Warm Ivory */
    --bg-soft: #F3ECEB;          /* Soft Blush Grey */
    --heading: #2D2323;          /* Deep Brown Grey */
    --text: #6F6463;             /* Body Text */
    --border: #861B1A;           /* Border */
    --accent: #D6A5A2;           /* Soft Rose */
}

/* Global */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text);
    line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--heading);
    font-weight: 600;
}

/* Links */
a {
    color: var(--heading);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary-custom {
    background-color: var(--primary);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-hover);
}

.btn-outline-custom {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background-color: var(--primary);
    color: #ffffff;
}

.bg-maroon{
    background-color: var(--primary-hover);
}

/* Sections */
.section-padding {
    padding: 80px 0;
}

.bg-soft {
    background-color: var(--bg-soft);
}

/* Cards */
.card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 30px rgba(134, 27, 26, 0.08);
}

.card-img,
.card-img-top {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* Muted text */
.text-muted-custom {
    color: var(--text);
}

/* Badges / Highlights */
.badge-primary-custom {
    background-color: var(--accent);
    color: var(--primary);
}

/* Price Highlight */
.price {
    color: var(--primary);
    font-weight: 600;
}

.product_cat{
    color: var(--primary);
    font-weight: 500;
}

/* Product Card Hover Icons */
.product-card {
    overflow: hidden;
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-actions a {
    width: 38px;
    height: 38px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.product-actions a:hover {
    background: var(--primary);
    color: #ffffff;
}

/* Variation Buttons */
.variation-btn {
    border: 1px solid var(--border);
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.25s ease;
    color: var(--heading);
}

.variation-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.variation-btn.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* Disabled add to cart */
#addToCartBtn.disabled {
    cursor: not-allowed;
}
/* Variation Rows */
.variation-row {
    display: flex;
    flex-direction: column;
}

.variation-label {
    min-width: 80px;
    font-size: 14px;
    color: var(--heading);
}

/* Variation Buttons */
.variation-btn {
    border: 1px solid var(--border);
    background: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.variation-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.variation-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Color Variations */
.color-variation {
    padding: 6px;
    border-radius: 50%;
}

.color-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: block;
    border: 1px solid #ddd;
}

.color-variation.active {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.description_tab .nav-link{
    color: #000;
    font-size: 20px;
}

/* Breadcrumb */
.custom-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.custom-breadcrumb .breadcrumb-item a {
    color: var(--text);
    font-size: 14px;
    transition: color 0.3s ease;
}

.custom-breadcrumb .breadcrumb-item a:hover {
    color: var(--primary);
}

.custom-breadcrumb .breadcrumb-item.active {
    color: var(--heading);
    font-weight: 500;
}

.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--border);
    padding: 0 8px;
}



/* Order Summary */
.order-summary-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 10px;
}

.summary-row span:last-child {
    font-weight: 500;
}

.order-summary-card hr {
    margin: 12px 0;
}

/* Coupon Notification */
.coupon-notification {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 15px;
}

.coupon-success {
    background-color: #e7f6ee;
    color: #1e7e34;
    border: 1px solid #c3e6cb;
}

.coupon-error {
    background-color: #fdecea;
    color: #a71d2a;
    border: 1px solid #f5c6cb;
}

.cart-icon {
    position: relative;
}

.cart-count-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

.breadcrumb {
    font-size: 14px;
    background: #dedede;
}

.breadcrumb a {
    color: var(--heading);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--text);
}

/* Wishlist List View */
.wishlist-list-card {
    border-radius: 10px;
    overflow: hidden;
}

.wishlist-table th {
    background-color: var(--bg-soft);
    font-size: 14px;
    font-weight: 600;
}

.wishlist-table td {
    vertical-align: middle;
}

.wishlist-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid var(--border);
    padding: 4px;
    background: #fff;
}

/* Toast Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2147483647;
    pointer-events: none;
}

/* Toast Base */
.toast {
     min-width: 260px;
    margin-bottom: 12px;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    opacity: 1 !important;     /* IMPORTANT */
    transform: none !important;/* IMPORTANT */
}

/* Variants */
.toast-success {
    background-color: #28a745; /* green */
}

.toast-error {
    background-color: #dc3545; /* red */
}

.toast-info {
    background-color: #0d6efd; /* blue */
}
#toastContainer .toast{
    display: block;
}

/* Animation */
@keyframes toastIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wishlist-icon {
    position: relative;
}

.wishlist-count-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 50%;
    min-width: 18px;
    text-align: center;
}

.filter-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: all .3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.product-card img {
    aspect-ratio: 1/1;
    object-fit: cover;
}
.variation-filter {
    max-height: 180px;
    overflow-y: auto;
}

.color-swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 6px;
    border: 1px solid #ccc;
    vertical-align: middle;
}
.fs-8{
    font-size: 12px;
    text-decoration: underline;
}

.active>.page-link, .page-link.active{
    background-color: var(--primary);
    border-color: var(--border);
}
.page-link{
    color: var(--primary);
}
.page-link:hover{
    color: var(--primary-hover);
}
.owl-carousel .owl-stage {
    display: flex;
}

.owl-carousel .owl-item {
    display: flex;
    flex: 1 0 auto;
}

.owl-carousel .item {
    display: flex;
    width: 100%;
}

.owl-carousel .card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.search-box {
    position: absolute;
    top: 40px;
    right: 0;
    display: none;
    background: #fff;
    padding: 8px;
    border-radius: 6px;
    z-index: 999;
    width: 280px;
}

.search-box input {
    border-radius: 4px;
}
.btn-srch{
    background-color: var(--primary);
    color: #fff;
}

.breadcrumb_section{
    background: url(../images/breadcrumb.png)center center no-repeat;
    background-size: cover;
    height: 200px;
}

