/*
Theme Name: Prokrob
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* ==========================================================================
   1. BLOG & ENTRY META CUSTOMIZATION
   ========================================================================== */

/* Hide the "by admin" text */
.entry-meta .byline {
    display: none !important;
}

/* Hide the default "Posted on" text container */
.entry-meta .posted-on {
    font-size: 0 !important;
}

/* Restore and format font sizing specifically for the post date link */
.entry-meta .posted-on a {
    font-size: 11px !important;
    text-transform: uppercase;
}


/* ==========================================================================
   2. GLOBAL PRICE STYLING
   ========================================================================== */

/* Set a muted color for standard currency/amount elements */
span.amount {
    color: #777777;
}

/* Global Woocommerce price layout override */
span.woocommerce-Price-amount.amount {
    color: #000000;
}


/* ==========================================================================
   3. RESPONSIVE MENU BREAKPOINTS (Desktop to Mobile/Medium Transition)
   ========================================================================== */

/* Force Hamburger Menu and mobile navigation layout at 1350px width breakpoint */
@media (max-width: 1350px) {
    .show-for-medium {
        display: flex !important;
    }
    
    /* Hide standard desktop menu styling elements */
    .hide-for-medium {
        display: none !important;
    }

    /* Restructure the navigation wrapper flex properties to prevent item wrapping */
    .header-main .flex-row {
        flex-wrap: nowrap;
    }
    
    /* Define a restrictive maximum width threshold for the site logo asset */
    #logo img {
        max-width: 200px !important;
    }
}


/* ==========================================================================
   4. SLIDER OUTLINE BUTTONS
   ========================================================================== */

/* Enforce uniform styling across all white outline slide button variants */
.slider .button.white.is-outline {
    border-width: 2px !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
    background-color: transparent !important;
    text-transform: uppercase;
    font-weight: bold;
    transition: all .3s;
}

/* Smooth transition hover state effects */
.slider .button.white.is-outline:hover {
    background-color: #ffffff !important;
    color: #000000 !important;
}


/* ==========================================================================
   5. PRODUCT ARCHIVE GRID CUSTOMIZATION
   ========================================================================== */

/* Remove product category links inside loop text blocks grids styling */
.box-text-products .product-cat {
    display: none !important;
}


/* ==========================================================================
   6. SINGLE PRODUCT PAGE ("From:" Dynamic Layout Formatting)
   ========================================================================== */

/* Formatting configuration for the "From:" price label string text */
.product-summary .price-wrapper .price {
    color: #777777 !important;
    font-size: 0.85em !important;
    font-weight: normal !important;
}

/* Formatting properties applied to the main dynamically changed numerical value */
.product-summary .price-wrapper .price .woocommerce-Price-amount {
    color: #000000 !important;
    font-size: 1.25em !important;
    font-weight: bold !important;
    margin-left: 4px;
}


/* ==========================================================================
   7. FREE SHIPPING THRESHOLD NOTICES
   ========================================================================== */

/* Base notification container styling layout */
.shipping-notice-box {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.4;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Styling properties assigned to the default missing amount fallback alert state */
.shipping-notice-box.remaining {
    background-color: #fff9e6;
    border: 1px solid #ffeeba;
    color: #856404;
}

/* Highlight nested elements markup inside the incomplete notice block */
.shipping-notice-box.remaining .highlight {
    color: #d9534f;
    text-transform: uppercase;
    font-weight: bold;
}

/* Styling properties configuration assigned to the active success notice block */
.shipping-notice-box.success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

/* Structural adjustments inside the main global shopping cart page layouts */
.woocommerce-cart .shipping-notice-box {
    margin-top: 10px;
    margin-bottom: 15px;
}


/* ==========================================================================
   8. FIXED PRODUCER CALL WIDGET
   ========================================================================== */

/* Main fixed outer element structural container */
.producer-widget-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99999;
    width: 160px;
    transition: transform 0.3s ease;
}

/* Hover scales transition effect */
.producer-widget-container:hover {
    transform: scale(1.05);
}

/* Image styling configurations inside container wrapper */
.producer-widget-link img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

/* Circular Close Button layout overrides configuration (Top-Left Alignment) */
.producer-widget-close-btn {
    position: absolute;
    top: -10px;
    left: -10px;
    background: #ff0000;
    color: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    font-size: 18px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.4);
    z-index: 100001;
    transition: background 0.2s ease;
}

/* Close action element background hover change */
.producer-widget-close-btn:hover {
    background: #cc0000;
}

/* Responsive properties for smartphone views width sizes */
@media (max-width: 480px) {
    .producer-widget-container {
        width: 130px;
        bottom: 15px;
        right: 15px;
    }
    .producer-widget-close-btn {
        width: 24px;
        height: 24px;
        line-height: 22px;
        font-size: 16px;
        top: -8px;
        left: -8px;
    }
}


/* ==========================================================================
   9. HOME BANNER STRUCTURAL SPACING
   ========================================================================== */

/* Inner spacing properties wrapper configuration for home hero title selectors */
.home-banner-h1 {
    padding: 20px 15px; 
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 1.4; 
    display: inline-block; 
}

/* Text drop shadow effects for readability across hero title overlays */
h1.banopa, h2.banopa {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 2), 
                 -1px -1px 0px rgba(0, 0, 0, 0.2);
}


/* ==========================================================================
   10. CONTACT PAGE & INTERACTIVE MAP LAYOUTS
   ========================================================================== */

/* Anchor target selector reference point for map wrapper sections */
.contact-map-text .section-content {
    position: relative;
}

/* White Information Info Box element overlay container on map wrappers */
.contact-map-text .section-content h3 {
    position: absolute;
    bottom: 30px;
    right: 20px;
    z-index: 10;
    background: #ffffff;
    padding: 15px 15px 40px 15px;
    margin: 0 !important;
    width: 310px;
    font-size: 14px;
    font-weight: bold;
    color: #222222;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
}

/* Operational hours label alignment (Positioned exactly below the h3) */
.contact-map-text .section-content p:not(:first-child) {
    position: absolute;
    bottom: 30px;
    right: 20px;
    z-index: 11;
    transform: translateY(-12px); 
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    width: 310px;
    text-align: center;
    font-size: 12px;
    color: #666666;
}

/* Hide interactive box components completely on handheld screens formats */
@media (max-width: 768px) {
    .contact-map-text .section-content h3,
    .contact-map-text .section-content p:not(:first-child) {
        display: none !important;
    }
}


/* ==========================================================================
   11. MY ACCOUNT PROFILE NAVIGATION SIDEBAR
   ========================================================================== */

/* Target global profile list links to assign standard color palette styling */
.woocommerce-MyAccount-navigation #my-account-nav li a {
    color: #1B4D3E !important;
    font-weight: normal;
    transition: all 0.3s ease;
}

/* Hover link feedback color transition triggers */
.woocommerce-MyAccount-navigation #my-account-nav li a:hover {
    color: #256B56 !important; 
}

/* Apply bold parameters configuration targeting the active status navigation state */
.woocommerce-MyAccount-navigation #my-account-nav li.active a,
.woocommerce-MyAccount-navigation #my-account-nav li.is-active a {
    font-weight: 800 !important;
    color: #1B4D3E !important;
}

/* Force standard text thickness weight values targeting the specific wishlist element */
#my-account-nav li.wishlist-account-element a,
#my-account-nav li.wishlist-account-element a * {
    font-weight: 400 !important;
}

/* Transition to bold layout style only when the wishlist route element returns active */
#my-account-nav li.wishlist-account-element.active a,
#my-account-nav li.wishlist-account-element.is-active a {
    font-weight: 800 !important;
}


/* ==========================================================================
   12. FOOTER COMPONENT LAYOUTS
   ========================================================================== */

/* Structural padding layout adjustments for social icons elements inside footer widgets */
.footer-about-text .social-icons {
    margin-top: 20px !important;
}

/* Flex properties alignment parameters for contact information text blocks */
.wp-contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 8px; 
}

/* Inline row alignment definitions matching iconography vector nodes with labels texts */
.contact-row {
    display: flex;
    align-items: center; 
}

/* Layout definitions styling parameters for footer icon vectors modules elements */
.contact-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px; 
    flex-shrink: 0;
    color: inherit; 
}


/* ==========================================================================
   13. CUSTOM MOBILE RESPONSIVE HOOKS CACHE
   ========================================================================== */
@media only screen and (max-width: 48em) {
    /* Add device specific media screen styling hooks parameters elements overrides underneath */
}



/* ==========================================================================
   14. CUSTOM CONTACT FORM 7 STYLING (Prokrob Layout)
   ========================================================================== */

.prokrob-contact-form {
    max-width: 100%;
    margin: 0 auto;
}

/* Individual rows spacing */
.prokrob-contact-form .form-row {
    margin-bottom: 20px;
}

/* Labels styling */
.prokrob-contact-form label {
    display: block;
    font-weight: bold;
    font-size: 14px;
    color: #333333;
    margin-bottom: 6px;
}

/* Required asterisk color */
.prokrob-contact-form .required {
    color: #d9534f;
}

/* Global input fields styling override */
.prokrob-contact-form input[type="text"],
.prokrob-contact-form input[type="email"],
.prokrob-contact-form input[type="tel"],
.prokrob-contact-form textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    background-color: #fcfcfc !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    font-size: 15px !important;
    color: #333 !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

/* Focus state for inputs */
.prokrob-contact-form input:focus,
.prokrob-contact-form textarea:focus {
    border-color: #1B4D3E !important; /* Cypress Green on focus */
    background-color: #ffffff !important;
}

/* Double column layout (Email & Phone side-by-side) */
.prokrob-contact-form .form-row.halves {
    display: flex;
    gap: 20px;
}

.prokrob-contact-form .form-row.halves .form-col {
    flex: 1;
}

/* GDPR Checkbox wrapper alignment */
.prokrob-contact-form .gdpr-row {
    font-size: 14px;
    color: #555555;
    margin-top: 15px;
}

.prokrob-contact-form .gdpr-row input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
}

.prokrob-contact-form .gdpr-row a {
    color: #1B4D3E;
    text-decoration: underline;
}

/* Submit button positioning */
.prokrob-contact-form .submit-row {
    margin-top: 25px;
    text-align: left;
}

.prokrob-contact-form .submit-row input[type="submit"] {
    padding: 12px 35px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    background-color: #1B4D3E !important; /* Matches your My Account cypress color */
    border-color: #1B4D3E !important;
    color: #ffffff !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.prokrob-contact-form .submit-row input[type="submit"]:hover {
    background-color: #256B56 !important;
    border-color: #256B56 !important;
}

/* Responsive collapse for handheld screens */
@media (max-width: 768px) {
    .prokrob-contact-form .form-row.halves {
        flex-direction: column;
        gap: 20px;
    }
}