/*
Theme Name: Northdrill
Theme URI: https://northdrill.com
Author: Northdrill
Author URI: https://northdrill.com
Description: A lightweight theme optimized for Elementor.
Version: 1.0.0
Text Domain: northdrill
*/

/* Basic Reset */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Ensure Elementor canvas works well */
.elementor-section.elementor-section-boxed>.elementor-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header Styles --- */
.site-header {
    width: 100%;
    position: relative;
    z-index: 1000;
}

/* Common Container */
.site-header .elementor-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Top Bar */
.header-top {
    background-color: #0D1B3E;
    /* Dark Blue from image */
    padding: 15px 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-title {
    color: #fff;
    text-decoration: none;
    font-size: 26px;
    font-weight: 700;
    font-family: "Georgia", serif;
    /* Using Georgia for now to match serif logo text */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Primary Menu */
.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

.main-navigation ul li a {
    color: #b0c4de;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
    color: #ffc107;
    /* Gold highlight */
}

/* Header Actions (Lang/Search) */
.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nd-lang-selector {
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.nd-search-icon {
    border: 1px solid #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}

/* Bottom Bar */
.header-bottom {
    background-color: #3b5998;
    /* Lighter Blue */
    padding: 12px 0;
    color: #fff;
}

.header-cta-text {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Secondary Menu */
.secondary-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.secondary-navigation ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
}

.secondary-navigation ul li a:hover {
    opacity: 1;
}

/* --- Shop / Loop Customizations --- */

/* Shop Container (Flex Layout for robustness) */
.nd-shop-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.nd-shop-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.nd-shop-content {
    flex-grow: 1;
    min-width: 0;
    /* Prevents overflow issues */
    width: 100%;
}

/* Hide sidebar column if empty or on mobile */
@media (max-width: 900px) {
    .nd-shop-container {
        flex-direction: column;
    }

    .nd-shop-sidebar {
        width: 100%;
    }
}

/* Ensure WooCommerce Product Grid works */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 10px;
    /* Prevent shadow clipping */
    margin-top: 20px;
}

/* Fix for Grid: Hide pseudo-elements acting as grid items */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

.woocommerce-products-header__title.page-title {
    margin-top: 0;
    font-size: 32px;
    color: #172748;
    font-family: "Outfit", sans-serif;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    /* Override Woo floats/widths */
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #d1d5db;
}

.woocommerce ul.products li.product img {
    border-radius: 12px;
    margin-bottom: 15px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px;
    color: #172748;
    font-weight: 700;
    font-family: "Outfit", sans-serif;
    margin-bottom: 8px;
}

.woocommerce ul.products li.product .price {
    color: #172748 !important;
    font-size: 15px !important;
    font-weight: 600;
}



/* Sidebar Styling */
.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 18px;
    color: #172748;
    margin-bottom: 15px;
    font-weight: 700;
}

.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget ul li {
    margin-bottom: 10px;
    color: #556b8d;
    font-size: 14px;
}

.widget ul li a {
    color: #556b8d;
    text-decoration: none;
    transition: color 0.2s;
}

.widget ul li a:hover {
    color: #355fb8;
}

/* --- Product Page Customizations --- */

/* Price "Aprox per piece" suffix logic could be CSS ::after or PHP filter, 
   but for design match let's style the price itself first */
.woocommerce-Price-amount {
    color: #355fb8;
    font-weight: 700;
    font-size: 28px;
}

/* Shipping Info */
.nd-shipping-info {
    margin: 20px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.nd-shipping-info strong {
    color: #172748;
}

.nd-shipping-sub {
    font-style: italic;
    font-size: 13px;
    margin-top: 5px !important;
}

/* Material Attribute */
.nd-product-material {
    font-size: 15px;
    color: #333;
    margin-top: 15px;
    margin-bottom: 20px;
}

.nd-product-material strong {
    color: #172748;
    font-weight: 700;
}

/* Buttons Container */
.nd-product-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

/* Base Button Styles */
.nd-btn-outline,
.nd-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 15px;
}

/* Outline Button */
.nd-btn-outline {
    border: 2px solid #556b8d;
    /* Blue-ish grey border */
    color: #556b8d;
    background: transparent;
}

.nd-btn-outline:hover {
    border-color: #355fb8;
    color: #355fb8;
}

/* Solid Button (Cotizar) */
.nd-btn-solid {
    background-color: #355fb8;
    color: white;
    border: 2px solid #355fb8;
    padding-right: 20px;
}

.nd-btn-solid:hover {
    background-color: #2b4ea1;
    color: #fff;
    transform: translateY(-2px);
}

.nd-btn-solid i {
    margin-left: 8px;
    font-size: 12px;
}

/* Floating Whatsapp */
.nd-floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    /* Whatsapp Green */
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    z-index: 1000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: transform 0.3s;
}

.nd-floating-whatsapp:hover {
    transform: scale(1.05);
    color: #fff;
}

.nd-floating-whatsapp i {
    font-size: 18px;
}

/* Description Heading */
.nd-desc-heading {
    color: #172748;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 40px;
}

/* Breadcrumbs Styling */
.woocommerce-breadcrumb {
    font-size: 14px;
    color: #556b8d;
    margin-bottom: 0;
    font-family: "Outfit", sans-serif;
}

.woocommerce-breadcrumb a {
    color: #355fb8;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.woocommerce-breadcrumb a:hover {
    color: #172748;
}

/* Footer Styles (Existing) */
.site-footer {
    background-color: #172748;
    /* Dark Blue */
    color: #fff;
    padding: 60px 0 30px;
    font-size: 14px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Section */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-branding .custom-logo {
    max-width: 180px;
    height: auto;
}

.footer-site-title {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}

/* Footer Nav */
.footer-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

.footer-navigation ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s;
}

.footer-navigation ul li a:hover {
    opacity: 0.8;
}

/* Divider */
.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

/* Bottom Section */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #fff;
}

/* Responsive Footer */
@media (max-width: 768px) {

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-navigation ul {
        flex-direction: column;
        gap: 15px;
    }
}

.single-product .site-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.woocommerce-notices-wrapper {
    margin-bottom: 20px;
}

/* Hide default Add to Cart since we have the widget */
.single-product form.cart {
    display: none !important;
}

/* Title & Price Styling */
.product_title {
    font-size: 32px;
    color: #172748;
    font-family: "Outfit", sans-serif;
    margin-bottom: 15px;
}

.price {
    font-size: 24px;
    color: #3b5998;
    font-weight: 700;
}

/* Force Related & Upsells to be below everything */
.related.products,
.upsells.products,
.nd-quote-section {
    clear: both;
    width: 100%;
    margin-top: 50px;
    border-top: 1px solid #eeeff2;
    padding-top: 40px;
}

.related.products>h2,
.upsells.products>h2 {
    font-size: 24px;
    color: #172748;
    margin-bottom: 25px;
    font-family: "Outfit", sans-serif;
}

/* --- Blog Page Styles --- */

.nd-blog-container,
.nd-single-post-container,
.nd-page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.nd-single-post-container {
    max-width: 800px;
    /* Narrower for reading */
}

.page-title {
    color: #172748;
    font-size: 36px;
    margin-bottom: 40px;
    font-family: "Outfit", sans-serif;
    text-align: center;
}

/* Blog Grid */
.nd-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.nd-blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e5e7eb;
}

.nd-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.nd-blog-thumbnail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.nd-blog-content {
    padding: 25px;
}

.nd-blog-category,
.nd-post-meta-category {
    font-size: 12px;
    text-transform: uppercase;
    color: #355fb8;
    font-weight: 700;
    margin-bottom: 10px;
}

.nd-blog-category a,
.nd-post-meta-category a {
    color: inherit;
    text-decoration: none;
}

.nd-blog-card .entry-title {
    font-size: 20px;
    margin: 0 0 15px;
    line-height: 1.4;
}

.nd-blog-card .entry-title a {
    color: #172748;
    text-decoration: none;
    transition: color 0.2s;
}

.nd-blog-card .entry-title a:hover {
    color: #355fb8;
}

.nd-blog-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.nd-read-more {
    color: #355fb8;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nd-read-more:hover {
    text-decoration: underline;
}

/* Message Styles */
.nd-quote-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.nd-quote-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

/* Contact Message Styles */
.nd-contact-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.nd-contact-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

/* Service Quote Message Styles */
.nd-service-quote-message.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.nd-service-quote-message.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #f87171;
}

/* Fix Select2 Height/Style to match theme */
.select2-container .select2-selection--single {
    height: 46px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    background-color: #fff !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: normal !important;
    padding-left: 14px !important;
    color: #0f172a !important;
    /* Match darker text color */
    font-size: 14px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 12px !important;
}

/* Hide original custom icons for the select wrapper */
.nd-input-wrapper:has(.select2-container) .nd-input-icon,
.nd-input-wrapper:has(.select2-container) .nd-input-chevron {
    display: none;
}

/* Pagination */
.nd-pagination {
    margin-top: 50px;
    text-align: center;
}

.nd-pagination .nav-links a,
.nd-pagination .nav-links .current {
    display: inline-block;
    padding: 10px 15px;
    border: 1px solid #e5e7eb;
    margin: 0 5px;
    text-decoration: none;
    color: #172748;
    border-radius: 6px;
}

.nd-pagination .nav-links .current,
.nd-pagination .nav-links a:hover {
    background-color: #355fb8;
    color: #fff;
    border-color: #355fb8;
}

/* Single Post Specifics */
.nd-single-post-container .entry-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.nd-single-post-container .entry-title {
    font-size: 42px;
    color: #172748;
    line-height: 1.2;
    margin-bottom: 15px;
}

.nd-post-meta-date {
    color: #888;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nd-post-thumbnail {
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-height: 400px;
    /* Limit height */
    display: flex;
    justify-content: center;
    background: #f0f0f0;
}

.nd-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop to fill */
}

.nd-single-post-container .entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    /* Softer dark grey */
    background: #fff;
    padding: 10px;
    /* Or standard */
}

/* Typography inside Content */
.nd-single-post-container .entry-content p {
    margin-bottom: 25px;
}

.nd-single-post-container .entry-content h2 {
    color: #172748;
    font-size: 28px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.nd-single-post-container .entry-content h3 {
    color: #172748;
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

ol.commentlist {
    padding-inline-start: 0px !important;
}

.commentlist li {
    list-style-type: none !important;
}

.nd-single-post-container .entry-content ul,
.nd-single-post-container .entry-content ol {
    margin-bottom: 25px;
    padding-left: 20px;

}

.nd-single-post-container .entry-content ol li::marker {
    display: none;
}

.nd-single-post-container .entry-content li {
    margin-bottom: 10px;
}

.nd-single-post-container .entry-content a {
    color: #355fb8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nd-single-post-container .entry-content a:hover {
    color: #0d1e4c;
    text-decoration: none;
}

.nd-single-post-container .entry-content blockquote {
    border-left: 5px solid #355fb8;
    margin: 30px 0;
    padding: 10px 20px;
    background: #f8fafc;
    font-style: italic;
    color: #555;
    font-size: 20px;
    border-radius: 0 8px 8px 0;
}

.nd-single-post-container .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* Comments Section */
#comments {
    border-top: 1px solid #eee;
    padding-top: 40px;
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.comment-reply-title {
    font-size: 24px;
    color: #172748;
    margin-bottom: 20px;
    font-family: "Outfit", sans-serif;
}

.comment-form-comment label,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #172748;
}

#comment {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    min-height: 150px;
    margin-bottom: 20px;
    font-family: inherit;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    margin-bottom: 20px;
}

.form-submit .submit {
    background-color: #355fb8;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.form-submit .submit:hover {
    background-color: #2b4ea1;
}

/* Existing Comments List */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px;
}

.comment-body {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #eee;
}

.comment-meta {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.fn {
    font-weight: 700;
    color: #172748;
    font-size: 16px;
    margin-right: 5px;
}

n a v . w o o c o m m e r c e - p a g i n a t i o n    {
                 t e x t - a l i g n :    c e n t e r ;
                 m a r g i n - t o p :    5 0 p x ;
                 m a r g i n - b o t t o m :    5 0 p x ;
         
}

         n a v . w o o c o m m e r c e - p a g i n a t i o n   u l    {
                 d i s p l a y :    i n l i n e - f l e x    ! i m p o r t a n t ;
                 l i s t - s t y l e :    n o n e    ! i m p o r t a n t ;
                 p a d d i n g :    0 ;
                 m a r g i n :    0 ;
                 b o r d e r :    n o n e    ! i m p o r t a n t ;
         
}

         n a v . w o o c o m m e r c e - p a g i n a t i o n   u l   l i    {
                 f l o a t :    n o n e    ! i m p o r t a n t ;
                 m a r g i n :    0    ! i m p o r t a n t ;
                 b o r d e r :    n o n e    ! i m p o r t a n t ;
         
}

         n a v . w o o c o m m e r c e - p a g i n a t i o n   u l   l i   a ,
       n a v . w o o c o m m e r c e - p a g i n a t i o n   u l   l i   s p a n    {
                 d i s p l a y :    f l e x ;
                 a l i g n - i t e m s :    c e n t e r ;
                 j u s t i f y - c o n t e n t :    c e n t e r ;
                 m i n - w i d t h :    4 4 p x ;
                 h e i g h t :    4 4 p x ;
                 p a d d i n g :    0   1 0 p x ;
                 b a c k g r o u n d :    # f f f ;
                 c o l o r :    # 3 b 5 9 9 8 ;
       / *   B l u e   l i n k   * /             b o r d e r :    1 p x   s o l i d   # d c d c d c ;
       / *   L i g h t   b o r d e r   * /             t e x t - d e c o r a t i o n :    n o n e ;
                 f o n t - s i z e :    1 8 p x ;
                 f o n t - w e i g h t :    5 0 0 ;
                 m a r g i n - l e f t :    - 1 p x ;
       / *   C o l l a p s e   b o r d e r s   * /             t r a n s i t i o n :    a l l   0 . 2 s ;
         
}

         / *   F i r s t   a n d   L a s t   R a d i u s   * /     n a v . w o o c o m m e r c e - p a g i n a t i o n   u l   l i : f i r s t - c h i l d   a ,
       n a v . w o o c o m m e r c e - p a g i n a t i o n   u l   l i : f i r s t - c h i l d   s p a n    {
                 b o r d e r - t o p - l e f t - r a d i u s :    4 p x ;
                 b o r d e r - b o t t o m - l e f t - r a d i u s :    4 p x ;
                 m a r g i n - l e f t :    0 ;
         
}

         n a v . w o o c o m m e r c e - p a g i n a t i o n   u l   l i : l a s t - c h i l d   a ,
       n a v . w o o c o m m e r c e - p a g i n a t i o n   u l   l i : l a s t - c h i l d   s p a n    {
                 b o r d e r - t o p - r i g h t - r a d i u s :    4 p x ;
                 b o r d e r - b o t t o m - r i g h t - r a d i u s :    4 p x ;
         
}

         / *   A c t i v e   S t a t e   * /     n a v . w o o c o m m e r c e - p a g i n a t i o n   u l   l i   s p a n . c u r r e n t    {
                 b a c k g r o u n d :    # e 2 e 4 e a ;
       / *   L i g h t   g r a y   a c t i v e   b g   * /             c o l o r :    # 6 6 6 ;
       / *   D a r k   g r a y   t e x t   * /             c u r s o r :    d e f a u l t ;
                 z - i n d e x :    1 ;
       / *   B r i n g   b o r d e r   t o   t o p   i f   n e e d e d   * /     
}

         / *   H o v e r   S t a t e   * /     n a v . w o o c o m m e r c e - p a g i n a t i o n   u l   l i   a : h o v e r    {
                 b a c k g r o u n d :    # f 8 f a f c ;
                 c o l o r :    # 1 7 2 7 4 8 ;
         
}

         / *   I c o n s   f i x   ( i f   a r r o w s   a r e   t e x t )   * /     n a v . w o o c o m m e r c e - p a g i n a t i o n   u l   l i   a . n e x t ,
     n a v . w o o c o m m e r c e - p a g i n a t i o n   u l   l i   a . p r e v    {
                 f o n t - f a m i l y :    i n h e r i t ;
         
}

     

/* WooCommerce Ordering Dropdown */
.woocommerce-ordering select,
.woocommerce-ordering .orderby {
    padding: 10px 35px 10px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #fff;
    color: #172748;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23172748' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: all 0.2s;
}

.woocommerce-ordering select:hover,
.woocommerce-ordering .orderby:hover {
    border-color: #355fb8;
}

.woocommerce-ordering select:focus,
.woocommerce-ordering .orderby:focus {
    outline: none;
    border-color: #355fb8;
    box-shadow: 0 0 0 3px rgba(53, 95, 184, 0.1);
}


/* WooCommerce Pagination Styling */
.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}

.woocommerce-pagination ul.page-numbers {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-pagination .page-numbers li {
    display: inline-block;
}

.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background-color: #fff;
    color: #172748;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.woocommerce-pagination .page-numbers a:hover {
    background-color: #f8f9fa;
    border-color: #355fb8;
    color: #355fb8;
}

.woocommerce-pagination .page-numbers span.current {
    background-color: #355fb8;
    border-color: #355fb8;
    color: #fff;
    font-weight: 600;
}

.woocommerce-pagination .page-numbers .next,
.woocommerce-pagination .page-numbers .prev {
    font-weight: 600;
}


/* WooCommerce Pagination Override */
.woocommerce nav.woocommerce-pagination ul {
    border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li {
    border: none !important;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 40px !important;
    height: 40px !important;
    padding: 8px 12px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background-color: #fff !important;
    color: #172748 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    margin: 0 4px !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover {
    background-color: #f8f9fa !important;
    border-color: #355fb8 !important;
    color: #355fb8 !important;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
    background-color: #355fb8 !important;
    border-color: #355fb8 !important;
    color: #fff !important;
    font-weight: 600 !important;
}

/* Mobile Menu Hamburger */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu Responsive */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #0D1B3E;
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 0;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .main-navigation ul.menu-open {
        right: 0;
    }

    .main-navigation ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .main-navigation ul li a {
        display: block;
        padding: 15px 10px;
        font-size: 16px;
    }

    /* Hamburger animation when open */
    .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Overlay */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    .menu-overlay.active {
        display: block;
    }
}


/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
}

.mobile-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

@media (min-width: 901px) {
    .mobile-menu-close {
        display: none !important;
    }
}

/* Responsive Header Bottom */
@media (max-width: 768px) {
    .header-bottom .elementor-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .secondary-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}