/* Custom Theme Styles */
 
/* General */
body {
    font-family: 'Josefin Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 600;
}

/* Header */
.site-header {
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #d5d5d5;
}

.header-wrapper {
    width: 100%;
}

.site-header .container-fluid {
    padding: 0;
}

.site-header .row {
    margin: 0;
    flex-wrap: nowrap;
}

/* Header Columns with Borders */
.header-column {
    border-right: 1px solid #d5d5d5;
}

.header-column:last-child {
    border-right: none;
}

/* Logo Section */
.logo-section {
    background: #fff;
    padding: 20px 40px;
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar-brand {
    margin: 0;
    padding: 0;
}

.navbar-brand img {
    max-height: 50px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    letter-spacing: 2px;
}

.brand-tagline {
    font-size: 11px;
    letter-spacing: 3px;
    color: #666;
    font-weight: 400;
}

/* Menu Section with Gray Background */
.menu-bg-wrapper {
    background: #fff;
    padding: 0;
    width: 100%;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar {
    padding: 0;
    width: 100%;
}

.navbar-toggler {
    border: none;
    padding: 8px 12px;
    margin-left: 20px;
}

.navbar-collapse {
    flex-grow: 0;
}

.navbar-nav {
    align-items: center;
    padding: 0;
    margin: 0;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    padding: 10px 18px !important;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #000;
}

/* Icon Wrapper Sections */
.header-icon-wrapper {
    background: #fff;
    padding: 0;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 80px;
}

.header-icon {
    color: #333;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    padding: 26px 30px;
}

.header-icon:hover {
    color: #000;
}

.search-icon {
    cursor: pointer;
}

.account-dropdown {
    display: flex;
    align-items: center;
}

.account-icon {
    cursor: pointer;
}

.cart-icon {
    position: relative;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle:hover {
    background: none;
}

/* Mobile Spacer Column */
.mobile-spacer {
    background: #fff;
    border-right: 1px solid #d5d5d5;
}

/* Mobile Menu Offcanvas */
.offcanvas {
    width: 100% !important;
    max-width: 100%;
}

.offcanvas-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
}

.offcanvas-title {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.mobile-menu-close:hover {
    color: #000;
}

.offcanvas-body {
    padding: 30px;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    margin-bottom: 0;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-menu li:last-child {
    border-bottom: none;
}

.mobile-nav-menu a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.mobile-nav-menu a:hover {
    color: #000;
}

.mobile-nav-menu .sub-menu {
    list-style: none;
    padding-left: 20px;
    margin-top: 10px;
}

.mobile-nav-menu .sub-menu a {
    font-size: 14px;
    text-transform: none;
    padding: 10px 0;
}

.cart-count {
    position: absolute;
    top: 18px;
    right: 20px;
    background: #ff4444;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.account-dropdown .dropdown-toggle::after {
    display: none;
}

.account-menu {
    min-width: 200px;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.account-menu .dropdown-header {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    padding: 10px 20px;
    letter-spacing: 1px;
}

.account-menu .dropdown-item {
    padding: 10px 20px;
    font-size: 14px;
    color: #666;
    transition: all 0.3s;
}

.account-menu .dropdown-item i {
    width: 20px;
    margin-right: 8px;
}

.account-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #000;
}

/* Search Modal */
#searchModal .modal-content {
    border: none;
    border-radius: 8px;
}

#searchModal .input-group .form-control {
    border: 2px solid #e0e0e0;
    padding: 12px 20px;
    font-size: 16px;
}

#searchModal .input-group .form-control:focus {
    border-color: #000;
    box-shadow: none;
}

#searchModal .btn-primary {
    padding: 12px 25px;
}

/* Footer */
.site-footer {
    margin-top: 60px;
}

.footer-main {
    background-color: #2a2a2a !important;
}

.footer-bottom {
    background-color: #1a1a1a !important;
}

.bg-darker {
    background-color: #1a1a1a !important;
}

.footer-title {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-top: 3px;
    min-width: 20px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact a {
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: #ffc107 !important;
}

.newsletter-form .input-group {
    background: transparent;
}

.newsletter-form .form-control {
    background-color: #3a3a3a;
    border: 1px solid #4a4a4a;
    color: #fff;
    padding: 10px 15px;
}

.newsletter-form .form-control:focus {
    background-color: #3a3a3a;
    border-color: #6c757d;
    color: #fff;
}

.newsletter-form .form-control::placeholder {
    color: #adb5bd;
}

.newsletter-form .btn {
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #4a4a4a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #2a2a2a;
}

.payment-methods {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.payment-icon {
    height: 30px;
    width: auto;
}

.footer-bottom p {
    font-size: 14px;
}

.footer-bottom a {
    text-decoration: none;
}

.site-footer .widget-title {
    margin-bottom: 20px;
    font-size: 18px;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

/* Blog/Posts */
.entry-meta {
    color: #6c757d;
    font-size: 14px;
}

.post-thumbnail img {
    width: 100%;
    height: auto;
}

/* Shop */
.woocommerce-products-header {
    margin-bottom: 30px;
}

/* Buttons */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Responsive */
@media (max-width: 991px) {
    /* Remove borders between columns on mobile - keep all in one row */
    .header-column {
        border-right: 1px solid #d5d5d5;
        border-bottom: none;
    }
    
    .header-column:last-child {
        border-right: none;
    }
    
    /* Logo section - remove padding to make border touch top/bottom */
    .logo-section {
        padding: 0 20px;
        height: 70px;
    }
    
    .header-icon-wrapper {
        padding: 0;
        height: 70px;
        min-width: 60px;
    }
    
    .header-icon {
        padding: 15px 20px;
    }
    
    .brand-name {
        font-size: 24px;
    }
    
    .brand-tagline {
        font-size: 9px;
    }
}

@media (max-width: 768px) {
    .site-footer .col-md-4 {
        margin-bottom: 30px;
    }
    
    .payment-methods {
        justify-content: center;
        margin-top: 20px;
    }
    
    .footer-bottom .col-md-6 {
        margin-bottom: 15px;
    }
    
    .brand-name {
        font-size: 20px;
    }
    
    .brand-tagline {
        font-size: 8px;
    }
    
    .logo-section {
        padding: 0 15px;
        height: 60px;
    }
    
    .header-icon-wrapper {
        min-width: 50px;
        height: 60px;
    }
    
    .header-icon {
        padding: 12px 15px;
        font-size: 16px;
    }
}

/* Add to Cart Notification Toast */
.cart-notification-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 9999;
    pointer-events: none;
}

.cart-notification {
    background: #fff;
    border-left: 4px solid #28a745;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 20px 25px;
    min-width: 320px;
    max-width: 400px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    pointer-events: all;
    animation: slideInRight 0.4s ease-out;
    opacity: 0;
    transform: translateX(100%);
}

.cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.cart-notification.hide {
    animation: slideOutRight 0.4s ease-out forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.cart-notification-icon {
    width: 40px;
    height: 40px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    flex-shrink: 0;
}

.cart-notification-content {
    flex: 1;
}

.cart-notification-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.cart-notification-message {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.cart-notification-close {
    background: none;
    border: none;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    flex-shrink: 0;
}

.cart-notification-close:hover {
    color: #333;
}

@media (max-width: 768px) {
    .cart-notification-container {
        top: 80px;
        right: 15px;
        left: 15px;
    }

    .cart-notification {
        min-width: auto;
        max-width: 100%;
    }
}

/* Products Tabs Section - Swiper Styles */
.products-tabs-section {
    overflow-x: hidden;
}

.products-tabs-section .products-swiper {
    position: relative;
    padding: 10px 60px;
}

/* Swiper Navigation Buttons */
.products-tabs-section .swiper-button-prev,
.products-tabs-section .swiper-button-next {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.products-tabs-section .swiper-button-prev {
    left: 0;
}

.products-tabs-section .swiper-button-next {
    right: 0;
}

.products-tabs-section .swiper-button-prev:after,
.products-tabs-section .swiper-button-next:after {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.products-tabs-section .swiper-button-prev:hover,
.products-tabs-section .swiper-button-next:hover {
    background: #333;
}

.products-tabs-section .swiper-button-prev:hover:after,
.products-tabs-section .swiper-button-next:hover:after {
    color: #fff;
}

/* Swiper slide spacing */
.products-tabs-section .swiper-slide {
    height: auto;
}

/* Override Bootstrap column classes inside Swiper slides */
.products-tabs-section .swiper-slide > div[class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    padding-left: 0;
    padding-right: 0;
}

/* Tablet adjustments */
@media (max-width: 1199px) {
    .products-tabs-section .products-swiper {
        padding: 10px 50px;
    }
}

/* Mobile adjustments */
@media (max-width: 576px) {
    .products-tabs-section .products-swiper {
        padding: 10px 40px;
    }

    .products-tabs-section .swiper-button-prev,
    .products-tabs-section .swiper-button-next {
        width: 32px;
        height: 32px;
    }

    .products-tabs-section .swiper-button-prev:after,
    .products-tabs-section .swiper-button-next:after {
        font-size: 14px;
    }
}