/*
Theme Name: Lorviere
Theme URI: https://lorviere.com/
Author: Murat Dinc
Author URI: https://muratdinc.com/
Description: A modern WordPress theme with WooCommerce support developed specifically for Lorviere.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lorviere
*/

a,
button i {
    color: #595959;
    text-decoration: none;
    transition: .2s;
}
a:hover,
button:hover i {
    color: #000;
    text-decoration: none;
}
button {
    text-decoration: none!important;
}

/* Header */
header .navbar {
    margin-bottom: 24px;
}
header .navbar > .container {
    display: flex;
    align-items: center;
    gap: 20px;
}
.navbar-brand {
    padding: 0;
    margin-right: auto;
}
.website-logo img {
    height: 56px;
    padding: 10px 0;
    transition: transform 0.3s ease;
}
.website-logo:hover img {
    transform: scale(1.03);
}
footer .website-logo img {
    display: flex;
    margin-bottom: 12px;
}
@media (max-width: 992px) {
    header .navbar > .container {
        justify-content: space-between;
    }
    .navbar-brand {
        order: 1;
    }
    .navbar-toggler {
        order: 4;
        border: none;
        padding: 0;
        height: 40px;
        display: flex;
        align-items: center;
    }
    #primaryNavigation {
        order: 5;
        width: 100%;
    }
    .search-icon {
        order: 2;
        display: flex;
        align-items: center;
        height: 40px;
    }
    .cart-container {
        order: 3;
        display: flex;
        align-items: center;
        height: 40px;
    }
    .search-icon .btn-link,
    .cart-container .cart-link {
        display: flex;
        align-items: center;
    }
    .website-logo img {
        height: 40px;
        padding: 4px;
    }
}

/* Header Search */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}
.search-overlay-content {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    position: relative;
}
.search-close {
    position: fixed;
    top: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    z-index: 10000;
    background: transparent;
    border: none;
}
.search-form {
    width: 100%;
}
.form-group {
    width: 100%;
}
.search-input {
    border: none;
    border-bottom: 2px solid #333;
    border-radius: 0;
    padding: 1rem 2.5rem 1rem 0;
    font-size: 1.25rem;
    background: transparent;
    width: 100%;
}
.search-input:focus {
    box-shadow: none;
    border-color: #666;
}
.search-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 0;
    color: #333;
}
.search-submit:hover {
    color: #666;
}
.search-loading {
    position: absolute;
    right: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
}
.search-results {
    max-height: 400px;
    overflow-y: auto;
}
.search-result-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}
.search-result-item:hover {
    background-color: #f8f9fa;
}
.search-result-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    margin-right: 1rem;
}
.search-result-info {
    flex: 1;
}
.search-result-title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}
.search-result-price {
    color: #666;
}
.no-results {
    text-align: center;
    padding: 2rem;
    color: #666;
}
/* Woocommerce */
.woocommerce #content div.product div.images, .woocommerce div.product div.images, .woocommerce-page #content div.product div.images, .woocommerce-page div.product div.images {
    float: none;
    width: 100%;
}
.woocommerce #content div.product div.summary, .woocommerce div.product div.summary, .woocommerce-page #content div.product div.summary, .woocommerce-page div.product div.summary {
    float: none;
    width: 100%;
}

/* Footer Social */
.footer-social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid #dee2e6;
}
/* Footer Payments */
footer .payments {
    padding: 32px 0;
    border-bottom: 1px solid #dee2e6;
}
footer .payments a {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
footer .payments a img {
    filter: grayscale(100%);
    transition: .2s;
}
footer .payments a img:hover {
    filter: grayscale(0%);
}
/* Footer Newsletter */
.newsletter-section {
    border-bottom: 1px solid #dee2e6;
}
.newsletter-section .btn-primary {
    padding: 0.75rem 2rem;
}
/* Footer Areas */
.footer-areas {
    padding: 32px 0;
}
/* Footer Sub Menu */
.footer-menu ul {
    display: flex;
    gap: 20px;
    flex-direction: row;
}

footer .footer-social i {
    border: 1px solid #ddd;
    border-radius: 100%;
    padding: 12px;
    transition: .2s;
}
footer .i-facebook {
    color: #3B5997 !important;
}
footer .i-x {
    color: #55acee !important;
}
footer .i-instagram {
    color: #ac2bac !important;
}
footer .i-linkedin {
    color: #0082ca !important;
}
footer .i-pinterest {
    color: #c61118 !important;
}
footer .i-whatsapp {
    color: #25d366 !important;
}
footer a:hover .i-facebook {
    border-color: #3B5997 !important;
}
footer a:hover .i-x {
    border-color: #55acee !important;
}
footer a:hover .i-instagram {
    border-color: #ac2bac !important;
}
footer a:hover .i-linkedin {
    border-color: #0082ca !important;
}
footer a:hover .i-pinterest {
    border-color: #c61118 !important;
}
footer a:hover .i-whatsapp {
    border-color: #25d366 !important;
}
/* Sub Footer */
.sub-footer {
    background-color: #ececec;
}
@media (max-width: 768px) {
    .footer-social {
        gap: 0;
    }
    .footer-social a {
        margin: 0 !important;
    }
    .newsletter-section .form-floating {
        width: 100%;
    }
    .newsletter-section .btn-primary {
        width: 100%;
    }
    .footer-areas .row {
        gap: 24px;
    }
    /* Sub Footer */
    .sub-footer > div {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}

/* Price Info Popup Styles */
.price-info-container {
    position: relative;
    margin: 12px 0 20px;
}
.price-info-trigger {
    display: inline-flex;
    color: #8e6f53;
    font-size: 0.9em;
    font-style: italic;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: rgba(142, 111, 83, 0.08);
    border: 1px solid rgba(142, 111, 83, 0.2);
}
.price-info-trigger:hover {
    color: #604a38;
    background-color: rgba(142, 111, 83, 0.15);
    border-color: rgba(142, 111, 83, 0.3);
}
.price-info-trigger .bi-info-circle {
    font-size: 14px;
}
.price-info-popup {
    position: fixed;
    top: 0;
    right: -450px;
    width: 420px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: right 0.4s ease-in-out;
    overflow-y: auto;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}
.price-info-popup.active {
    right: 0;
}
.admin-bar .price-info-content  {
    padding-top: 46px;
}
@media screen and (max-width: 782px) {
    .admin-bar .price-info-content {
        padding-top: 56px;
    }
}
.price-info-content {
    padding: 30px 25px;
}
.price-info-title {
    font-size: 1.4em;
    color: #333;
    font-weight: 600;
}
.price-info-subtitle {
    font-size: 1em;
    color: #555;
    line-height: 1.5;
    margin-bottom: 25px;
}
.price-info-features {
    padding: 10px 0;
    margin-bottom: 15px;
}
.price-info-icon {
    font-size: 24px;
    color: #8e6f53 !important;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(142, 111, 83, 0.1);
    border-radius: 50%;
}
.price-feature-title {
    font-size: 1.05em;
    font-weight: 600;
    margin-bottom: 5px;
    color: #444;
}
.price-feature-text {
    font-size: 0.95em;
    color: #666;
    line-height: 1.5;
    margin-bottom: 0;
}
.price-info-close {
    transition: all 0.2s;
    opacity: 0.7;
}
.price-info-close:hover {
    opacity: 1;
    transform: scale(1.1);
}
.price-info-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    z-index: 9998;
    display: none;
    transition: opacity 0.3s;
}
.price-info-overlay.active {
    display: block;
}
@media (max-width: 576px) {
    .price-info-popup {
        width: 100%;
        right: -100%;
    }
    .price-info-content {
        padding: 25px 20px;
    }
    .price-info-title {
        font-size: 1.3em;
    }
    .price-info-subtitle {
        font-size: 0.95em;
    }
}

/* Add to cart and buy now buttons*/
.single_add_to_cart_button,
.buy-now-button {
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    border-radius: 4px;
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 15px !important;
    text-align: center !important;
    font-size: 1rem !important;
}
.single_add_to_cart_button {
    background: transparent !important;
    border: 1px solid #d4af37 !important;
    color: #4e4e4e !important;
}
.single_add_to_cart_button:hover {
    color: #ffffff !important;
    color: #c9a227 !important;
    border: 1px solid #c9a227 !important;
    box-shadow: 0 4px 8px rgba(182, 123, 35, 0.2);
}
.buy-now-button {
    background: #d4af37 !important;
    border-color: #d4af37 !important;
    color: #ffffff !important;
}
.buy-now-button:hover {
    background: #c9a227 !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.product-actions > form {
    margin-bottom: 10px !important;
    width: 100% !important;
}

/* Instagram Popup */
.instagram-popup {
    width: 700px;
    height: 500px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}
.popup-title {
    margin-bottom: 1.5rem !important;
    font-size: 1.5rem;
}
.popup-image {
    height: 50%;
    width: 100%;
    overflow: hidden;
    margin-top: 60px;
}
.popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.popup-content {
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.instagram-btn {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.instagram-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 10;
}