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

:root {
    --primary-color: #d5bc64;
    --primary-dark: #b8a050;
    --secondary-color: #1c1d1d;
    --text-color: #333333;
    --bg-color: #ffffff;
    --border-color: #e8e8e1;
    --gold-gradient: linear-gradient(135deg, #d5bc64 0%, #e8d48a 100%);
}

/* Typography Overrides */
html {
    font-size: 16px; /* Set a solid base */
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span,
li,
button,
input,
select,
textarea {
    font-family: "Poppins", sans-serif !important;
}

/* Adjust sizes for Poppins */
body, p, li, span, a, input, select, textarea, button {
    font-size: 15px; /* Adjusted for Poppins */
    line-height: 1.6;
}

.header .nav li a {
    color: #000000 !important;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 14px; /* Specific nav size */
}

h1 { font-size: 48px !important; }
h2 { font-size: 36px !important; }
h3 { font-size: 28px !important; }
h4 { font-size: 24px !important; }
h5 { font-size: 20px !important; }
h6 { font-size: 18px !important; }

/* General Layout */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Header Config */
.header,
.header .header-inner,
.header .topbar {
    background-color: #ffffff !important;
    color: #000000 !important;
    border-bottom: 1px solid var(--border-color);
}

.header .topbar {
    border-bottom: none;
    font-size: 15px; /* Topbar specific */
}

.header .topbar ul li {
    font-size: 15px;
}

.header .nav li:hover a,
.header .nav li.active a {
    color: var(--primary-color) !important;
    background: transparent !important;
}

/* Sticky Header Fix */
.header.sticky .middle-inner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); /* Softer shadow */
    animation: slideDown 0.4s ease-out;
    border-bottom: 1px solid #f0f0f0;
}

/* Prevent layout jump when header becomes fixed */
.header.sticky {
    padding-bottom: 80px; /* Matches default header height */
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.header .logo img {
    max-height: 55px; /* Reduced to fit comfortably in 80px header */
    width: auto;
    transition: all 0.3s ease;
}

/* Badge Adjustment */
.nav.main-menu li .new {
    top: 0px !important; /* Move up slightly */
    right: -10px !important; /* Move fully to the right of text */
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: #000000;
}

/* Button Styling (Ghost/Minimalist) */
.btn,
button,
.btn-primary,
.single-banner .content a,
.shop.login .btn,
.contact-us .form-main .btn {
    background-color: transparent !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
    border-radius: 3px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: none !important;
    display: inline-block;
}

.btn:hover,
button:hover,
.btn-primary:hover,
.single-banner .content a:hover,
.shop.login .btn:hover,
.contact-us .form-main .btn:hover {
    background-color: #be9732 !important;
    color: #ffffff !important;
    border-color: #be9732 !important;
    text-decoration: none;
}

.btn-secondary {
    border-color: var(--border-color) !important;
    color: #000000 !important;
}

/* Product Cards */
.single-product {
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.3s ease;
}

.single-product .product-img a {
    background-color: #f7f7f7; /* Slight gray bg for image container if minimal */
}

.single-product .product-img img {
    width: 100%;
}

.single-product .product-content {
    text-align: center; /* Center align like Valampuri */
    padding-top: 15px;
}

.single-product .product-content h3 a {
    font-size: 14px;
    font-weight: 400;
    text-transform: none; /* Keep titles readable */
    letter-spacing: 1px;
}

.single-product .product-price {
    font-weight: 600;
    color: #000000;
    margin-top: 5px;
}

/* Badges */
.single-product .new,
.single-product .hot,
.single-product .price-dec {
    background-color: #000000 !important; /* Black badge */
    color: #ffffff !important;
    border-radius: 0 !important;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 1px;
}

/* Section Titles */
.section-title h2 {
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.section-title h2::before {
    display: none; /* Remove default underline if any */
}

/* Footer */
.footer {
    background-color: #f9f9f9 !important; /* Very light gray */
    color: #000000 !important;
}

.footer .single-footer h4 {
    color: #000000 !important;
}

.footer .single-footer ul li a {
    color: #333333 !important;
    font-weight: 400;
}

.footer .single-footer p, 
.footer .single-footer span,
.footer .single-footer a,
.footer p.text {
    color: #333333 !important;
}

.footer .copyright .inner .left p {
    color: #333333 !important;
}

.footer .single-footer ul li a:hover {
    color: var(--primary-color) !important;
}

/* Icons */
.ti-world,
.ti-user,
.ti-power-off,
.ti-location-pin,
.ti-headphone-alt,
.ti-email,
.ti-search,
.ti-bag,
.ti-heart {
    color: #000000 !important;
}

/* Sliders */
.owl-theme .owl-dots .owl-dot.active span {
    background: var(--primary-color) !important;
}

/* Dropdown Country Selector */
select[name="country_id"] {
    font-family: "Jost", sans-serif;
    letter-spacing: 1px;
}

/* Search Bar */
.search-bar-top .search-bar input {
    border: 1px solid #e8e8e1 !important;
    border-radius: 0 !important;
}

.search-bar-top .search-bar .btnn {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    padding: 0;
    width: 50px; /* Small icon button */
    height: 100%;
}

.search-bar-top .search-bar .btnn:hover {
    background-color: var(--primary-color) !important;
}

/* Cart/Wishlist Icons */
.right-bar .sinlge-bar .single-icon {
    color: #000000 !important;
}

.right-bar .sinlge-bar .single-icon .total-count {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

/* Announcement Bar style equivalent - keeping it white for clean look */
.topbar {
    background-color: #ffffff !important; 
    color: #000000 !important;
    padding: 10px 0;
    border-bottom: 1px solid #e8e8e1;
}
.topbar a,
.topbar i,
.topbar select {
    color: #000000 !important; /* Black text on white topbar */
}
.topbar option {
    color: #000000;
}

/* Additional specific overrides */
.shop-services .single-service i {
    color: #000000;
}
.shop-home-list .single-list .list-image .buy {
    background: #000000 !important;
}
.shop-home-list .single-list .list-image .buy:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
}
.shop-newsletter .newsletter-inner .btn {
    background: #000000 !important;
    color: #fff !important;
    border: 1px solid #000000 !important;
}
.shop-newsletter .newsletter-inner .btn:hover {
    background: transparent !important;
    color: #000000 !important;
}

/* Advanced Product Filter Tabs */
.product-info .nav-tabs {
    border-bottom: none;
    justify-content: center;
    margin-bottom: 30px;
    gap: 15px;
}

.product-info .nav-tabs .btn {
    border-radius: 30px !important;
    padding: 10px 28px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #e1e1e1 !important;
    background-color: #ffffff !important;
    color: #555555 !important;
    margin: 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-info .nav-tabs .btn:hover {
    border-color: #4a6151 !important; /* Theme Green */
    color: #4a6151 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.product-info .nav-tabs .btn.how-active1 {
    background-color: #4a6151 !important; /* Theme Green */
    color: #ffffff !important;
    border-color: #4a6151 !important;
    box-shadow: 0 8px 20px rgba(74, 97, 81, 0.25) !important;
    transform: translateY(-2px);
}

/* Product Card Styling Fixes */
.single-product {
    margin-top: 30px;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden; /* Ensure images don't bleed */
}

.single-product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); /* Soft shadow on hover */
}

.single-product .product-img {
    position: relative;
    overflow: hidden;
    border-radius: 8px; /* Rounded corners for image */
    background: #f9f9f9; /* Placeholder background */
}

/* Force Uniform Image Aspect Ratio */
.single-product .product-img a {
    display: block;
    aspect-ratio: 3 / 4; /* Standard portrait ratio */
    width: 100%;
}

.single-product .product-img a img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop to fit */
    object-position: center;
    transition: transform 0.5s ease;
}

.single-product:hover .product-img a img {
    transform: scale(1.05); /* Zoom effect */
}

/* Product Content Styling */
.single-product .product-content {
    padding: 15px 10px;
    text-align: center;
}

.single-product .product-content h3 {
    margin: 0 0 10px;
    line-height: 1.4;
}

.single-product .product-content h3 a {
    font-size: 16px;
    font-weight: 600;
    color: #333 !important; /* Force dark visible colour */
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.single-product .product-content h3 a:hover {
    color: var(--primary-color) !important;
}

.single-product .product-price {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
}

.single-product .product-price span {
    display: inline-block;
    margin: 0 5px;
}

.single-product .product-price .old {
    text-decoration: line-through;
    color: #999;
    font-size: 13px;
    font-weight: 400;
}

/* Latest Items - List Card Styling */
.shop-home-list .single-list {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 120px; /* Fixed height for consistency */
}

.shop-home-list .single-list:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08); /* Lift effect */
    border-color: transparent;
}

.shop-home-list .single-list .list-image {
    width: 120px; /* Square image area */
    min-width: 120px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.shop-home-list .single-list .list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.shop-home-list .single-list:hover .list-image img {
    transform: scale(1.1);
}

.shop-home-list .single-list .list-content {
    flex-grow: 1;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.shop-home-list .single-list .title {
    margin: 0 0 8px;
    line-height: 1.3;
}

.shop-home-list .single-list .title a {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s;
}

.shop-home-list .single-list .title a:hover {
    color: var(--primary-color);
}

.shop-home-list .single-list .price-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-home-list .single-list .price {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
}

.shop-home-list .single-list .old-price {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

/* Action Button overlay on image */
.shop-home-list .single-list .button-action {
    position: absolute;
    bottom: 10px;
    right: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.shop-home-list .single-list:hover .button-action {
    transform: translateY(0);
    opacity: 1;
}

.shop-home-list .single-list .button-action a {
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.shop-home-list .single-list .button-action a:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Fix for Select Option Design Issue */
select {
    height: 50px !important; /* Increase height for comfortable selection */
    padding: 0 20px !important; /* Use horizontal padding only, vertical managed by line-height/height */
    line-height: 50px !important; /* Vertically center text */
    border: 1px solid #e8e8e1;
    border-radius: 0;
    background-color: #fff;
}
