/**
 * Global Footer Styles
 * 전역 푸터 스타일 - 모든 페이지에 적용
 * 
 * Color Palette:
 * - Primary: #003366 (Navy)
 * - Secondary: #A87C3B (Gold)
 */

/* ========================================
   Product Page - Info Box (Navy theme)
   ======================================== */
.black-box {
    background-color: #003366 !important;
    color: #FFFFFF !important;
    padding: 24px 35px !important;
    border-radius: 12px !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 2.0 !important;
    letter-spacing: 0.3px !important;
}

.nectar_woocommerce_before_single_product_summary .black-box {
    background-color: #003366 !important;
    color: #FFFFFF !important;
    font-size: 16px !important;
    font-weight: 600 !important;
}

/* Mobile responsive for info box */
@media (max-width: 768px) {
    .black-box {
        font-size: 14px !important;
        padding: 20px 24px !important;
        line-height: 1.9 !important;
    }
}

/* ========================================
   WooCommerce Add to Cart Button (Gold theme)
   ======================================== */
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .single_add_to_cart_button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover {
    background: linear-gradient(135deg, #A87C3B 0%, #C4954A 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 15px 30px !important;
    transition: all 0.3s ease !important;
}

.woocommerce button.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #C4954A 0%, #A87C3B 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(168, 124, 59, 0.4) !important;
}

/* ========================================
   WooCommerce Product Attributes Table
   Premium 제품 상세 정보 테이블
   ======================================== */
.woocommerce-product-attributes.shop_attributes {
    max-width: 500px !important;
    width: 100% !important;
    margin: 25px auto !important;
    border-collapse: separate !important;
    border-spacing: 0 6px !important;
    font-size: 15px !important;
    background: transparent !important;
}

.woocommerce-product-attributes.shop_attributes tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.woocommerce-product-attributes.shop_attributes tr {
    display: flex !important;
    align-items: stretch !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.06) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    border: 1px solid rgba(0, 51, 102, 0.06) !important;
}

.woocommerce-product-attributes.shop_attributes tr:hover {
    transform: translateX(4px) !important;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.12) !important;
    border-color: rgba(168, 124, 59, 0.3) !important;
}

.woocommerce-product-attributes.shop_attributes th,
.woocommerce-product-attributes.shop_attributes td {
    padding: 12px 16px !important;
    border: none !important;
    vertical-align: middle !important;
    display: flex !important;
    align-items: center !important;
    font-weight: 700 !important;
}

.woocommerce-product-attributes.shop_attributes th {
    background: linear-gradient(135deg, #003366 0%, #004488 100%) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    text-align: left !important;
    width: 160px !important;
    min-width: 160px !important;
    flex-shrink: 0 !important;
    font-size: 13px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
}

.woocommerce-product-attributes.shop_attributes th::after {
    content: '' !important;
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 6px solid transparent !important;
    border-bottom: 6px solid transparent !important;
    border-left: 6px solid #004488 !important;
}

.woocommerce-product-attributes.shop_attributes td {
    flex: 1 !important;
    color: #1a202c !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding-left: 20px !important;
    background: transparent !important;
}

.woocommerce-product-attributes.shop_attributes td p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
}

/* Brand & Product name - Gold accent */
.woocommerce-product-attributes.shop_attributes tr[class*="brand"] th,
.woocommerce-product-attributes.shop_attributes tr[class*="product-name"] th {
    background: linear-gradient(135deg, #A87C3B 0%, #C4954A 100%) !important;
}

.woocommerce-product-attributes.shop_attributes tr[class*="brand"] th::after,
.woocommerce-product-attributes.shop_attributes tr[class*="product-name"] th::after {
    border-left-color: #C4954A !important;
}

.woocommerce-product-attributes.shop_attributes tr[class*="brand"] td,
.woocommerce-product-attributes.shop_attributes tr[class*="product-name"] td {
    font-weight: 700 !important;
    color: #1a202c !important;
    font-size: 16px !important;
}

/* Country of origin - Special styling */
.woocommerce-product-attributes.shop_attributes tr[class*="country"] td {
    color: #003366 !important;
    font-weight: 700 !important;
}

/* Mobile responsive */
@media (max-width: 600px) {
    .woocommerce-product-attributes.shop_attributes {
        max-width: 100% !important;
    }
    
    .woocommerce-product-attributes.shop_attributes tr {
        flex-direction: column !important;
        border-radius: 8px !important;
    }
    
    .woocommerce-product-attributes.shop_attributes th {
        width: 100% !important;
        min-width: 100% !important;
        padding: 10px 14px !important;
        font-size: 12px !important;
        border-radius: 8px 8px 0 0 !important;
    }
    
    .woocommerce-product-attributes.shop_attributes th::after {
        display: none !important;
    }
    
    .woocommerce-product-attributes.shop_attributes td {
        padding: 12px 14px !important;
        font-size: 15px !important;
    }
    
    .woocommerce-product-attributes.shop_attributes tr:hover {
        transform: none !important;
    }
}

/* ========================================
   WooCommerce Product Tabs - Premium Box Style
   Description, Additional info, FAQ, How to use, Reviews
   ======================================== */

/* Tabs Container */
.woocommerce-tabs.wc-tabs-wrapper {
    margin: 50px 0 !important;
    padding: 0 15px !important;
    background: transparent !important;
}

/* Remove line above tab content panel */
.woocommerce-tabs .woocommerce-Tabs-panel,
.woocommerce-tabs .panel,
.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel,
.woocommerce div.product .woocommerce-tabs .panel {
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
}

.woocommerce-tabs .woocommerce-Tabs-panel::before,
.woocommerce-tabs .panel::before {
    display: none !important;
}

/* ========================================
   FAQ Tab - Premium Accordion Style
   ======================================== */

/* FAQ Tab Container */
#tab-faq {
    background: #f1f5f0 !important;
    padding: 40px 30px !important;
    border-radius: 16px !important;
}

/* FAQ Title */
#tab-faq .yikes-custom-woo-tab-title-faq {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 30px !important;
    padding-left: 10px !important;
}

/* Toggle Container */
#tab-faq .toggles {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

/* Individual Toggle Item */
#tab-faq .toggle {
    background: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    margin: 0 !important;
}

#tab-faq .toggle:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) !important;
}

/* Toggle Title */
#tab-faq .toggle .toggle-title {
    margin: 0 !important;
    padding: 0 !important;
}

#tab-faq .toggle .toggle-title a,
#tab-faq .toggle .toggle-heading {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 20px 24px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
}

#tab-faq .toggle .toggle-title a:hover {
    color: #003366 !important;
}

/* Plus Icon - Custom Style */
#tab-faq .toggle .toggle-title i,
#tab-faq .toggle .toggle-title .fa-plus-circle {
    order: 2 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    font-size: 20px !important;
    color: #94a3b8 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    width: 24px !important;
    height: 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Replace FontAwesome with custom + symbol */
#tab-faq .toggle .toggle-title i::before {
    content: '+' !important;
    font-family: inherit !important;
    font-style: normal !important;
    font-weight: 300 !important;
    font-size: 28px !important;
    line-height: 1 !important;
}

/* Hover - Rotate icon */
#tab-faq .toggle:hover .toggle-title i {
    color: #003366 !important;
    transform: rotate(90deg) !important;
}

/* Open State - Rotate to X (180deg) */
#tab-faq .toggle.open .toggle-title i {
    transform: rotate(45deg) !important;
    color: #003366 !important;
}

/* Toggle Content */
#tab-faq .toggle > div {
    padding: 0 24px 20px 24px !important;
    display: none;
}

#tab-faq .toggle.open > div {
    display: block;
}

#tab-faq .toggle .inner-toggle-wrap {
    padding-top: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    padding-top: 16px !important;
}

#tab-faq .toggle .inner-toggle-wrap p {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #64748b !important;
    margin: 0 0 12px 0 !important;
}

#tab-faq .toggle .inner-toggle-wrap p:last-child {
    margin-bottom: 0 !important;
}

#tab-faq .toggle .inner-toggle-wrap a {
    color: #003366 !important;
    text-decoration: underline !important;
}

/* Mobile Responsive */
@media (max-width: 600px) {
    #tab-faq {
        padding: 24px 16px !important;
    }
    
    #tab-faq .yikes-custom-woo-tab-title-faq {
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }
    
    #tab-faq .toggle .toggle-title a {
        padding: 16px 18px !important;
        font-size: 14px !important;
    }
    
    #tab-faq .toggle > div {
        padding: 0 18px 16px 18px !important;
    }
}

/* ========================================
   Elegant Eyes FAQ Section
   Related Products 위에 표시되는 독립 섹션
   ======================================== */

.elegant-faq-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%) !important;
    padding: 60px 0 !important;
    margin: 40px 0 !important;
    border-top: 1px solid rgba(0, 51, 102, 0.08) !important;
    border-bottom: 1px solid rgba(0, 51, 102, 0.08) !important;
}

.elegant-faq-section .faq-container {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 30px !important;
}

/* FAQ Banner Image */
.elegant-faq-section .faq-banner {
    margin-bottom: 40px !important;
    text-align: center !important;
}

.elegant-faq-section .faq-banner-image {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 51, 102, 0.15) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.elegant-faq-section .faq-banner-image:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 12px 48px rgba(0, 51, 102, 0.2) !important;
}

.elegant-faq-section .faq-title {
    font-size: 42px !important;
    font-weight: 700 !important;
    color: #003366 !important;
    margin-bottom: 40px !important;
    padding-left: 5px !important;
}

.elegant-faq-section .faq-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

/* FAQ Item */
.elegant-faq-section .faq-item {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
}

.elegant-faq-section .faq-item:hover {
    box-shadow: 0 6px 24px rgba(0, 51, 102, 0.12) !important;
    transform: translateY(-2px) !important;
    border-left: 3px solid #A87C3B !important;
}

/* FAQ Question Button */
.elegant-faq-section .faq-question {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 28px 32px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: all 0.3s ease !important;
}

.elegant-faq-section .faq-question:hover {
    background: rgba(0, 51, 102, 0.02) !important;
}

.elegant-faq-section .faq-question-text {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    line-height: 1.5 !important;
    padding-right: 20px !important;
}

/* FAQ Icon (+) */
.elegant-faq-section .faq-icon {
    font-size: 32px !important;
    font-weight: 300 !important;
    color: #94a3b8 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Hover - Rotate icon */
.elegant-faq-section .faq-item:hover .faq-icon {
    color: #003366 !important;
    transform: rotate(90deg) !important;
}

/* Open State */
.elegant-faq-section .faq-item.open .faq-icon {
    transform: rotate(45deg) !important;
    color: #003366 !important;
}

.elegant-faq-section .faq-item.open .faq-question {
    background: rgba(0, 51, 102, 0.02) !important;
}

/* FAQ Answer */
.elegant-faq-section .faq-answer {
    overflow: hidden !important;
}

.elegant-faq-section .faq-answer-inner {
    padding: 0 28px 24px 28px !important;
    border-top: 1px solid #e2e8f0 !important;
    margin: 0 28px !important;
    padding: 20px 0 4px 0 !important;
}

.elegant-faq-section .faq-answer p {
    font-size: 24px !important;
    line-height: 1.8 !important;
    color: #4a5568 !important;
    margin: 0 0 18px 0 !important;
}

.elegant-faq-section .faq-answer p:last-child {
    margin-bottom: 0 !important;
}

.elegant-faq-section .faq-answer a {
    color: #003366 !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
}

.elegant-faq-section .faq-answer a:hover {
    color: #004d99 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .elegant-faq-section {
        padding: 40px 0 !important;
        margin: 30px 0 !important;
    }
    
    .elegant-faq-section .faq-container {
        padding: 0 20px !important;
    }
    
    .elegant-faq-section .faq-title {
        font-size: 28px !important;
        margin-bottom: 24px !important;
    }
    
    .elegant-faq-section .faq-question {
        padding: 18px 20px !important;
    }
    
    .elegant-faq-section .faq-question-text {
        font-size: 16px !important;
    }
    
    .elegant-faq-section .faq-answer-inner {
        margin: 0 20px !important;
        padding: 16px 0 4px 0 !important;
    }
    
    .elegant-faq-section .faq-answer p {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .elegant-faq-section .faq-container {
        padding: 0 15px !important;
    }
    
    .elegant-faq-section .faq-title {
        font-size: 24px !important;
    }
    
    .elegant-faq-section .faq-question {
        padding: 16px 16px !important;
    }
    
    .elegant-faq-section .faq-question-text {
        font-size: 15px !important;
    }
    
    .elegant-faq-section .faq-icon {
        font-size: 24px !important;
    }
    
    .elegant-faq-section .faq-answer-inner {
        margin: 0 16px !important;
    }
    
    .elegant-faq-section .faq-answer p {
        font-size: 14px !important;
    }
}

/* Tab Navigation - Connected Bar Style */
.woocommerce-tabs ul.tabs.wc-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 auto 30px auto !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    list-style: none !important;
    justify-content: center !important;
    background: #ffffff !important;
    box-shadow: none !important;
    width: fit-content !important;
    overflow: hidden !important;
}

.woocommerce-tabs ul.tabs.wc-tabs::before,
.woocommerce-tabs ul.tabs.wc-tabs::after {
    display: none !important;
}

/* Tab Items */
.woocommerce-tabs ul.tabs.wc-tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li,
body .woocommerce-tabs ul.tabs.wc-tabs li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border-radius: 0 !important;
    flex: 0 0 auto !important;
    border-right: 1px solid #e2e8f0 !important;
    transition: all 0.25s ease !important;
}

.woocommerce-tabs ul.tabs.wc-tabs li:last-child,
.woocommerce div.product .woocommerce-tabs ul.tabs li:last-child {
    border-right: none !important;
}

/* Tab Links */
.woocommerce-tabs ul.tabs.wc-tabs li a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a,
body .woocommerce-tabs ul.tabs.wc-tabs li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px 34px !important;
    min-height: auto !important;
    background-color: transparent !important;
    background-image: none !important;
    background: transparent !important;
    color: #64748b !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    border-radius: 0 !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

/* Hover - Full Box on LI */
.woocommerce-tabs ul.tabs.wc-tabs li:hover,
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover,
body .woocommerce-tabs ul.tabs.wc-tabs li:hover {
    background-color: #f1f5f9 !important;
    background-image: none !important;
    background: #f1f5f9 !important;
}

.woocommerce-tabs ul.tabs.wc-tabs li:hover a,
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover a,
body .woocommerce-tabs ul.tabs.wc-tabs li:hover a {
    color: #003366 !important;
    background: transparent !important;
}

/* Active Tab - Full Box on LI */
.woocommerce-tabs ul.tabs.wc-tabs li.active,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
body .woocommerce-tabs ul.tabs.wc-tabs li.active {
    background-color: #003366 !important;
    background-image: linear-gradient(135deg, #003366 0%, #004d99 100%) !important;
    background: linear-gradient(135deg, #003366 0%, #004d99 100%) !important;
}

.woocommerce-tabs ul.tabs.wc-tabs li.active a,
.woocommerce-tabs ul.tabs.wc-tabs li.active:hover a,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active:hover a,
body .woocommerce-tabs ul.tabs.wc-tabs li.active a {
    color: #ffffff !important;
    background: transparent !important;
}

/* Tablet Responsive */
@media (max-width: 900px) {
    .woocommerce-tabs ul.tabs.wc-tabs {
        flex-wrap: wrap !important;
    }
    
    .woocommerce-tabs ul.tabs.wc-tabs li a {
        padding: 14px 22px !important;
        font-size: 13px !important;
    }
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .woocommerce-tabs ul.tabs.wc-tabs,
    .woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs {
        flex-direction: column !important;
        width: 100% !important;
        max-width: 300px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .woocommerce-tabs ul.tabs.wc-tabs li,
    .woocommerce div.product .woocommerce-tabs ul.tabs li {
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0 !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .woocommerce-tabs ul.tabs.wc-tabs li:last-child,
    .woocommerce div.product .woocommerce-tabs ul.tabs li:last-child {
        border-bottom: none !important;
    }
    
    .woocommerce-tabs ul.tabs.wc-tabs li a,
    .woocommerce div.product .woocommerce-tabs ul.tabs li a,
    body .woocommerce-tabs ul.tabs.wc-tabs li a,
    body.woocommerce .woocommerce-tabs ul.tabs li a {
        width: 100% !important;
        padding: 16px 24px !important;
        font-size: 14px !important;
        text-align: center !important;
        justify-content: center !important;
        display: flex !important;
        align-items: center !important;
    }
}

/* ========================================
   WooCommerce Product Meta - SEO Hidden
   Categories & Tags: Hidden visually but accessible to crawlers
   ======================================== */
.single-product .product_meta .posted_in,
.single-product .product_meta .tagged_as,
.woocommerce .product_meta .posted_in,
.woocommerce .product_meta .tagged_as {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ========================================
   WooCommerce Share Button (Navy theme)
   ======================================== */
.single-product #single-meta > div > a,
.single-product .nectar-social a,
.single-product .nectar-social .share-btn,
.single-product .meta-share-count a,
.woocommerce .product .nectar-social a,
.woocommerce .product .share-btn {
    background-color: #003366 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 14px 28px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.single-product #single-meta > div > a:hover,
.single-product .nectar-social a:hover,
.single-product .nectar-social .share-btn:hover,
.single-product .meta-share-count a:hover,
.woocommerce .product .nectar-social a:hover,
.woocommerce .product .share-btn:hover {
    background-color: #004080 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.4) !important;
    color: #FFFFFF !important;
}

/* Share button icon */
.single-product .nectar-social a i,
.single-product .nectar-social a svg,
.single-product #single-meta > div > a i,
.single-product #single-meta > div > a svg {
    font-size: 16px !important;
    width: 18px !important;
    height: 18px !important;
    color: #FFFFFF !important;
    fill: #FFFFFF !important;
}

/* Social buttons inline layout - Force visible for WooCommerce products */
.single-product .nectar-social .nectar-social-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    transform: none !important;
    pointer-events: auto !important;
}

/* SHARE ON label before social buttons */
.single-product .nectar-social .nectar-social-inner::before {
    content: 'SHARE ON' !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #64748b !important;
    letter-spacing: 0.5px !important;
    margin-right: 8px !important;
    white-space: nowrap !important;
}

.single-product .nectar-social .nectar-social-inner a {
    flex-shrink: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hide the Share button text on product pages */
.single-product .nectar-social .share-btn {
    display: none !important;
}

/* WhatsApp Share Button */
.nectar-social .whatsapp-share {
    background-color: #25D366 !important;
}
.nectar-social .whatsapp-share:hover {
    background-color: #128C7E !important;
}
.nectar-social .whatsapp-share .whatsapp-icon {
    width: 16px !important;
    height: 16px !important;
    fill: #FFFFFF !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

/* Line Share Button */
.nectar-social .line-share {
    background-color: #00B900 !important;
}
.nectar-social .line-share:hover {
    background-color: #009900 !important;
}
.nectar-social .line-share .line-icon {
    width: 16px !important;
    height: 16px !important;
    fill: #FFFFFF !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

/* Copy Link Share Button */
.nectar-social .copylink-share {
    background-color: #6c757d !important;
}
.nectar-social .copylink-share:hover {
    background-color: #5a6268 !important;
}
.nectar-social .copylink-share .copylink-icon {
    width: 16px !important;
    height: 16px !important;
    fill: #FFFFFF !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

/* Copy Link Toast Notification */
.nectar-copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background-color: #003366;
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 999999;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}
.nectar-copy-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ========================================
   Footer Styles - Color Palette Only
   Primary: #003366 (Navy)
   Secondary: #A87C3B (Gold)
   ======================================== */

/* Footer background - Navy - Full Width */
.nectar-global-section.before-footer {
    background-color: #003366 !important;
}

.nectar-global-section.before-footer .row-bg-wrap,
.nectar-global-section.before-footer .row-bg {
    background-color: #003366 !important;
}

/* Footer text colors */
.nectar-global-section.before-footer h2 span,
.nectar-global-section.before-footer h3 span {
    color: #FFFFFF !important;
}

/* Newsletter section styling */
.nectar-global-section.before-footer .vc_col-sm-6:first-child h2,
.nectar-global-section.before-footer .row_col_wrap_12>.vc_col-sm-6:first-child h2 {
    font-size: 2.2rem !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
}

.nectar-global-section.before-footer .vc_col-sm-6:first-child h2 span,
.nectar-global-section.before-footer .row_col_wrap_12>.vc_col-sm-6:first-child h2 span {
    font-size: 2.2rem !important;
}

.nectar-global-section.before-footer .vc_col-sm-6:first-child p,
.nectar-global-section.before-footer .row_col_wrap_12>.vc_col-sm-6:first-child p {
    font-size: 1.1rem !important;
    margin-top: 8px !important;
    margin-bottom: 16px !important;
    opacity: 0.9;
}

.nectar-global-section.before-footer .nectar-split-heading p,
.nectar-global-section.before-footer .nectar-split-heading i {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Footer links - Gold accent */
.nectar-global-section.before-footer .nectar-cta a.link_text {
    color: #A87C3B !important;
    border-color: #A87C3B !important;
}

.nectar-global-section.before-footer .nectar-cta a.link_text:hover {
    color: #C4954A !important;
    border-color: #C4954A !important;
}

.nectar-global-section.before-footer .nectar-cta p {
    color: #A87C3B !important;
}

/* Footer input fields - Pill style (left half) */
.nectar-global-section.before-footer input[type="email"],
.nectar-global-section.before-footer .wpcf7-form-control.wpcf7-email {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-right: none !important;
    color: #FFFFFF !important;
    border-radius: 25px 0 0 25px !important;
    height: 52px !important;
    width: 220px !important;
    min-width: 220px !important;
    padding: 0 20px 0 24px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}

/* Footer button - Gold - Pill style (right half) */
.nectar-global-section.before-footer input[type="submit"],
.nectar-global-section.before-footer .wpcf7-submit {
    background: linear-gradient(135deg, #A87C3B 0%, #C4954A 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 0 25px 25px 0 !important;
    height: 52px !important;
    padding: 0 28px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    font-weight: 600 !important;
}

.nectar-global-section.before-footer input::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Newsletter form - pill layout - Use TABLE display for perfect alignment */
.nectar-global-section.before-footer #news-letter-container,
.nectar-global-section.before-footer .email-submit {
    display: table !important;
    border-collapse: collapse !important;
    margin: 0 auto !important;
}

.nectar-global-section.before-footer #news-letter-container .column1,
.nectar-global-section.before-footer #news-letter-container .column2 {
    display: table-cell !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nectar-global-section.before-footer #news-letter-container .column1 p,
.nectar-global-section.before-footer #news-letter-container .column2 p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure wpcf7-form-control-wrap aligns properly */
.nectar-global-section.before-footer .wpcf7-form-control-wrap {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Force same height for input and button */
.nectar-global-section.before-footer #news-letter-container input[type="email"],
.nectar-global-section.before-footer #news-letter-container input[type="submit"] {
    height: 52px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    vertical-align: middle !important;
}

/* Center newsletter section content */
.nectar-global-section.before-footer .vc_col-sm-6:first-child .wpb_wrapper {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.nectar-global-section.before-footer .vc_col-sm-6:first-child h2,
.nectar-global-section.before-footer .vc_col-sm-6:first-child .nectar-split-heading {
    text-align: center !important;
}

.nectar-global-section.before-footer .vc_col-sm-6:first-child .wpcf7 {
    display: flex !important;
    justify-content: center !important;
}

.nectar-global-section.before-footer .vc_col-sm-6:first-child .wpcf7-form {
    display: flex !important;
    justify-content: center !important;
}

/* Force newsletter form to center - override WPBakery padding */
.nectar-global-section.before-footer .inner_row.right_padding_40pct {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.nectar-global-section.before-footer .inner_row.right_padding_40pct .row_col_wrap_12_inner {
    padding-right: 0 !important;
    padding-left: 0 !important;
    display: flex !important;
    justify-content: center !important;
}

.nectar-global-section.before-footer .vc_col-sm-6:first-child .inner_row {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

.nectar-global-section.before-footer .vc_col-sm-6:first-child .child_column {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Center Social Media section */
.nectar-global-section.before-footer .vc_col-sm-6:last-child .wpb_wrapper {
    text-align: center !important;
}

.nectar-global-section.before-footer .vc_col-sm-6:last-child h3 {
    text-align: center !important;
}

.nectar-global-section.before-footer .vc_col-sm-6:last-child .nectar-cta {
    text-align: center !important;
}

.nectar-global-section.before-footer .vc_col-sm-6:last-child .nectar-cta .link_wrap {
    justify-content: center !important;
}

/* Copyright section */
#footer-outer #copyright {
    background: #002244 !important;
}

#footer-outer #copyright p,
#footer-outer #copyright span {
    color: rgba(255, 255, 255, 0.7) !important;
}

#footer-outer #copyright a {
    color: #A87C3B !important;
}

#footer-outer #copyright a:hover {
    color: #C4954A !important;
}

/* ========================================
   Footer Responsive - Tablet (768px)
   ======================================== */
@media (max-width: 768px) {

    /* Center ALL form elements on mobile */
    .nectar-global-section.before-footer .vc_col-sm-6:first-child,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .wpb_wrapper,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .wpcf7,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .wpcf7-form,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .wpcf7-form p,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .inner_row,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .row_col_wrap_12_inner,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .child_column,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .child_column .wpb_wrapper {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        text-align: center !important;
    }

    /* Newsletter form - keep pill layout on tablet */
    .nectar-global-section.before-footer #news-letter-container,
    .nectar-global-section.before-footer .email-submit,
    .nectar-global-section.before-footer .wpcf7-form > p {
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        justify-content: center !important;
        align-items: stretch !important;
    }

    /* Email input - maintain pill left half */
    .nectar-global-section.before-footer input[type="email"],
    .nectar-global-section.before-footer .wpcf7-form-control.wpcf7-email {
        width: 180px !important;
        min-width: 150px !important;
        max-width: 200px !important;
        box-sizing: border-box !important;
        border-radius: 25px 0 0 25px !important;
        border-right: none !important;
        height: 48px !important;
        padding: 0 16px !important;
        font-size: 0.9rem !important;
        margin: 0 !important;
        vertical-align: middle !important;
    }

    /* Submit button - maintain pill right half */
    .nectar-global-section.before-footer input[type="submit"],
    .nectar-global-section.before-footer .wpcf7-submit {
        width: auto !important;
        border-radius: 0 25px 25px 0 !important;
        height: 48px !important;
        padding: 0 20px !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        margin: 0 !important;
        vertical-align: middle !important;
    }

    /* Fix wrapper alignment */
    .nectar-global-section.before-footer .wpcf7-form-control-wrap {
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
    }
}

/* ========================================
   Footer Responsive - Small Mobile (480px)
   ======================================== */
@media (max-width: 480px) {

    /* Center ALL form elements on small mobile */
    .nectar-global-section.before-footer .vc_col-sm-6:first-child,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .wpb_wrapper,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .wpcf7,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .wpcf7-form,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .wpcf7-form p,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .inner_row,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .row_col_wrap_12_inner,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .child_column,
    .nectar-global-section.before-footer .vc_col-sm-6:first-child .child_column .wpb_wrapper {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        text-align: center !important;
    }

    /* Newsletter form - keep pill layout on mobile */
    .nectar-global-section.before-footer #news-letter-container,
    .nectar-global-section.before-footer .email-submit,
    .nectar-global-section.before-footer .wpcf7-form > p {
        display: inline-flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        justify-content: center !important;
        align-items: stretch !important;
    }

    /* Email input - smaller on mobile but maintain pill */
    .nectar-global-section.before-footer input[type="email"],
    .nectar-global-section.before-footer .wpcf7-form-control.wpcf7-email {
        width: 140px !important;
        min-width: 120px !important;
        max-width: 160px !important;
        padding: 0 12px !important;
        font-size: 0.85rem !important;
        height: 44px !important;
        border-radius: 22px 0 0 22px !important;
        border-right: none !important;
        margin: 0 !important;
        vertical-align: middle !important;
    }

    /* Submit button - compact on mobile */
    .nectar-global-section.before-footer input[type="submit"],
    .nectar-global-section.before-footer .wpcf7-submit {
        padding: 0 16px !important;
        font-size: 0.75rem !important;
        height: 44px !important;
        border-radius: 0 22px 22px 0 !important;
        white-space: nowrap !important;
        margin: 0 !important;
        vertical-align: middle !important;
    }

    /* Fix wrapper alignment */
    .nectar-global-section.before-footer .wpcf7-form-control-wrap {
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
    }

    /* Footer headings */
    .nectar-global-section.before-footer h2 {
        font-size: 1.3rem !important;
    }

    .nectar-global-section.before-footer h3 {
        font-size: 1.1rem !important;
    }
}
