/*
Theme Name: DartPhone
Theme URI: https://dartphone.com
Description: Custom child theme for DartPhone telecommunications services. Built on Hello Elementor for optimal Elementor integration with custom branding and functionality.
Author: InterWorks
Author URI: https://interworks.com
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dartphone
Tags: elementor, responsive, mobile-first, telecommunications
*/

/* ========================================
   DartPhone Brand Colors
   ======================================== */
:root {
    /* Primary brand colors - From client mockup */
    --dartphone-lime: #C4D600;           /* Primary lime green - logo, CTAs, nav */
    --dartphone-lime-bright: #D4E157;    /* Lighter lime for hover states */
    --dartphone-lime-dark: #9FA800;      /* Darker lime for active states */

    /* Backgrounds */
    --dartphone-black: #000000;          /* Header/footer background */
    --dartphone-dark: #1A1A1A;           /* Alternative dark background */
    --dartphone-white: #FFFFFF;          /* Light backgrounds, body text on dark */

    /* Text colors */
    --dartphone-text-light: #FFFFFF;     /* Text on dark backgrounds */
    --dartphone-text-dark: #1A1A1A;      /* Text on light backgrounds */
    --dartphone-text-gray: #CCCCCC;      /* Light gray text (logo "dart") */
    --dartphone-text-muted: #999999;     /* Muted/secondary text */

    /* Functional colors */
    --dartphone-success: #28a745;        /* Success messages */
    --dartphone-warning: #ffc107;        /* Warnings */
    --dartphone-error: #dc3545;          /* Errors */
    --dartphone-info: #17a2b8;           /* Info messages */

    /* Contact/CTA accent */
    --dartphone-yellow: #FFD700;         /* "Call Now!" accent */
}

/* ========================================
   Custom Styles
   ======================================== */

/* ========================================
   UNIFIED BUTTON STYLES
   ======================================== */

/* Base button styling - modern approach with subtle depth */
.header-actions .textwidget a,
.customer-login-btn,
.mobile-actions .textwidget a,
.mobile-actions > a,
.mobile-action-btn,
.elementor-button {
    /* Core button appearance */
    background: linear-gradient(180deg, var(--dartphone-lime-bright) 0%, var(--dartphone-lime) 100%);
    color: var(--dartphone-black) !important;
    border: 2px solid var(--dartphone-lime-dark);
    border-radius: 28px;
    padding: 12px 28px;

    /* Typography */
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;

    /* Subtle shadow for depth */
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.15),
        0 1px 2px rgba(0, 0, 0, 0.1);

    /* Smooth transitions */
    transition: all 0.3s ease;

    /* Display properties */
    display: inline-block;
    cursor: pointer;
}

/* Hover state - subtle lift and enhanced shadow */
.header-actions .textwidget a:hover,
.customer-login-btn:hover,
.mobile-actions .textwidget a:hover,
.mobile-actions > a:hover,
.mobile-action-btn:hover,
.elementor-button:hover {
    background: linear-gradient(180deg, #E0F050 0%, var(--dartphone-lime-bright) 100%);
    border-color: var(--dartphone-lime);
    transform: translateY(-2px);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Active/pressed state */
.header-actions .textwidget a:active,
.customer-login-btn:active,
.mobile-actions .textwidget a:active,
.mobile-actions > a:active,
.mobile-action-btn:active,
.elementor-button:active {
    transform: translateY(0);
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.15),
        inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Ensure Elementor button wrapper doesn't interfere */
.elementor-button-wrapper {
    display: inline-block;
}

.elementor-button-content-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.elementor-button-text {
    flex-grow: 0;
}

/* ========================================
   HEADER STYLES
   ======================================== */

/* Header Top Section */
.header-top {
    background-color: var(--dartphone-black);
    padding: 20px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Logo */
.header-logo {
    flex: 0 0 auto;
}

.site-logo {
    height: 110px;
    width: auto;
}

/* Contact Info Block */
.header-contact {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    color: var(--dartphone-white);
}

.contact-left {
    text-align: right;
}

.contact-right {
    text-align: left;
}

.contact-divider {
    width: 2px;
    height: 80px;
    background-color: var(--dartphone-white);
}

.call-now {
    color: var(--dartphone-lime);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
}

.phone-number {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 3px;
}

.phone-number a {
    color: var(--dartphone-white);
    text-decoration: none;
}

.phone-number a:hover {
    color: var(--dartphone-lime);
}

.email {
    font-size: 14px;
}

.email a {
    color: var(--dartphone-white);
    text-decoration: none;
}

.email a:hover {
    color: var(--dartphone-lime);
}

.hours-label {
    color: var(--dartphone-lime);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 3px;
}

.hours-times {
    font-size: 14px;
    line-height: 1.4;
    padding-top: 2px;
    margin-bottom: 10px;
}

/* Header Action Buttons */
.header-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Header Action Buttons Widget Styling */
.header-actions .header-action-widget {
    display: inline-block;
}

.header-actions .widget-title {
    display: none; /* Hide widget titles in header actions */
}

.header-actions .textwidget {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Button styles now handled by unified button system above */

/* Navigation */
.main-navigation {
    background-color: var(--dartphone-lime);
    padding: 0;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 30px;
}

.nav-menu li {
    display: inline-block;
    position: relative;
}

.nav-menu li:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -15px;
    color: var(--dartphone-dark);
}

.nav-menu a {
    color: var(--dartphone-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--dartphone-black);
}

/* Active/Current Menu Item Styles */
.nav-menu .current-menu-item > a,
.nav-menu .current_page_item > a,
.nav-menu .current-menu-ancestor > a {
    color: var(--dartphone-black);
    font-weight: 700;
    border-bottom: 2px solid var(--dartphone-black);
    padding-bottom: 2px;
}

.nav-menu .enroll-now a {
    font-weight: bold;
}

/* Dropdown/Submenu Styles */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--dartphone-black);
    min-width: 200px;
    padding: 10px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
    display: block;
}

.nav-menu .sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
}

.nav-menu .sub-menu li::after {
    display: none; /* Remove the pipe separator for submenu items */
}

.nav-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--dartphone-white);
    white-space: nowrap;
}

.nav-menu .sub-menu a:hover {
    background-color: var(--dartphone-lime);
    color: var(--dartphone-black);
}

/* Parent menu item indicator (optional - adds visual cue for dropdowns) */
.nav-menu .menu-item-has-children > a::after {
    content: " ▾";
    font-size: 12px;
    margin-left: 5px;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.dartphone-footer {
    background-color: var(--dartphone-black);
    color: var(--dartphone-white);
}

/* Footer Widgets Section */
.footer-widgets {
    padding: 40px 0;
}

.footer-widgets .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 40px;
}

.footer-column h3 {
    color: var(--dartphone-white);
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.footer-heading-contact {
    color: var(--dartphone-lime);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--dartphone-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--dartphone-lime);
}

.footer-contact a {
    color: var(--dartphone-lime);
}

.footer-address {
    margin-top: 10px;
    line-height: 1.6;
}

/* Social Media */
.footer-social {
    display: flex;
    align-items: flex-start;
}

.footer-social a {
    display: block;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 0.8;
}

/* Footer Disclaimer */
.footer-disclaimer {
    border-top: 1px solid #333;
    padding: 20px 0;
}

.footer-disclaimer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-disclaimer p {
    font-size: 12px;
    line-height: 1.6;
    margin: 0;
    color: var(--dartphone-text-gray);
}

/* Footer Disclaimer Widget Styling */
.footer-disclaimer .widget {
    margin: 0;
}

.footer-disclaimer .widget .widget-title {
    display: none; /* Hide widget titles in disclaimer area */
}

.footer-disclaimer .textwidget {
    font-size: 12px;
    line-height: 1.6;
    color: var(--dartphone-text-gray);
}

.footer-disclaimer .textwidget p {
    margin: 0;
}

/* ========================================
   MOBILE MENU & STICKY HEADER
   ======================================== */

/* Mobile Menu Toggle Button (Hamburger) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--dartphone-lime);
    transition: all 0.3s ease;
    display: block;
}

.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);
}

/* Mobile Navigation */
.mobile-navigation {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--dartphone-black);
    z-index: 1000;
    padding: 140px 0 20px 0;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.mobile-navigation.active {
    right: 0;
}

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

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

.mobile-nav-menu a {
    display: block;
    padding: 15px 20px;
    color: var(--dartphone-white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-nav-menu a:hover {
    background-color: var(--dartphone-lime);
    color: var(--dartphone-black);
    padding-left: 30px;
}

/* Active/Current Menu Item in Mobile */
.mobile-nav-menu .current-menu-item > a,
.mobile-nav-menu .current_page_item > a {
    background-color: rgba(196, 214, 0, 0.2);
    color: var(--dartphone-lime);
    font-weight: 700;
    border-left: 4px solid var(--dartphone-lime);
}

/* Don't highlight parent menu items - only the actual current page */
.mobile-nav-menu .current-menu-ancestor > a {
    /* No special styling for parent of current page */
}

.mobile-nav-menu .enroll-now a {
    background-color: var(--dartphone-lime);
    color: var(--dartphone-black);
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
    margin-top: 10px;
}

.mobile-nav-menu .enroll-now a:hover {
    background-color: var(--dartphone-lime-bright);
}

/* Mobile submenu styles */
.mobile-nav-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.05);
}

.mobile-nav-menu .sub-menu li {
    border-bottom: 1px solid #444;
}

.mobile-nav-menu .sub-menu a {
    padding: 15px 20px 15px 40px;
    font-size: 14px;
    color: var(--dartphone-text-gray);
}

.mobile-nav-menu .sub-menu a:hover {
    color: var(--dartphone-lime);
    background-color: rgba(196, 214, 0, 0.1);
}

/* Mobile action buttons in menu */
.mobile-actions {
    display: none; /* Hidden on desktop */
}

@media (max-width: 767px) {
    .mobile-actions {
        display: block;
        padding: 0 20px 20px 20px;
        border-bottom: 1px solid #333;
    }

    /* Mobile-specific button layout (visual styles from unified button system) */
    .mobile-actions > a,
    .mobile-action-btn {
        display: block;
        margin-bottom: 10px;
    }

    .mobile-actions > a:last-child,
    .mobile-action-btn:last-child {
        margin-bottom: 0;
    }

    /* Style widget content */
    .mobile-actions .header-action-widget {
        margin-bottom: 10px;
    }

    .mobile-actions .header-action-widget:last-child {
        margin-bottom: 0;
    }

    .mobile-actions .textwidget {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mobile-actions .textwidget a {
        display: block;
        /* Visual styles from unified button system */
    }
}

/* Overlay when mobile menu is open */
body.mobile-menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

/* Sticky Header */
.dartphone-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Add padding to body when header is sticky to prevent content jump */
body.dartphone-theme .site-content {
    transition: padding-top 0.3s ease;
}

body.dartphone-theme.sticky-header-active .site-content {
    padding-top: 150px; /* Adjust based on your header height */
}

/* ========================================
   WIDGET STYLES
   ======================================== */

/* Header Widgets */
.header-widget {
    /* Ensure widgets inherit the same styling as hard-coded content */
}

.header-widget .call-now {
    color: var(--dartphone-lime);
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 3px;
}

.header-widget .phone-number {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 3px;
}

.header-widget .phone-number a {
    color: var(--dartphone-white);
    text-decoration: none;
}

.header-widget .phone-number a:hover {
    color: var(--dartphone-lime);
}

.header-widget .email {
    font-size: 14px;
}

.header-widget .email a {
    color: var(--dartphone-white);
    text-decoration: none;
}

.header-widget .email a:hover {
    color: var(--dartphone-lime);
}

.header-widget .hours-label {
    color: var(--dartphone-lime);
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 3px;
}

.header-widget .hours-times {
    font-size: 14px;
    line-height: 1.4;
    padding-top: 2px;
    margin-bottom: 10px;
}

/* Remove default widget title styling in header */
.header-widget .widget-title {
    display: none;
}

/* Footer Widgets */
.footer-column .widget {
    margin-bottom: 0;
}

.footer-column .widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column .widget ul li {
    margin-bottom: 8px;
}

.footer-column .widget a {
    color: var(--dartphone-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column .widget a:hover {
    color: var(--dartphone-lime);
}

/* Widget headings in footer - all lime green */
.footer-column .widget .widget-title,
.footer-column .widget h3 {
    color: var(--dartphone-lime);
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

/* Ensure text widgets maintain proper styling */
.footer-column .textwidget {
    font-size: 14px;
    line-height: 1.6;
}

.footer-column .textwidget a {
    color: var(--dartphone-lime);
}

/* Navigation menu widget in footer */
.footer-column .widget_nav_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column .widget_nav_menu ul li {
    margin-bottom: 8px;
}

.footer-column .widget_nav_menu a {
    color: var(--dartphone-white);
}

.footer-column .widget_nav_menu a:hover {
    color: var(--dartphone-lime);
}

/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
    }

    .header-logo {
        margin-bottom: 0;
    }

    .site-logo {
        height: 50px;
    }

    /* Hide contact info and action buttons on mobile */
    .header-contact,
    .header-actions {
        display: none;
    }

    .contact-divider {
        display: none;
    }

    /* Hide desktop navigation, show mobile toggle */
    .desktop-navigation {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        position: static;
    }

    .mobile-navigation {
        display: block;
    }

    .footer-widgets .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Tablet (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .header-container {
        flex-wrap: wrap;
    }

    .site-logo {
        height: 90px;
    }

    .header-contact {
        order: 3;
        flex: 1 1 100%;
        margin-top: 15px;
    }

    .contact-divider {
        height: 60px;
    }

    .footer-widgets .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-column-3 {
        grid-column: 1 / 2;
    }

    .footer-social {
        grid-column: 2 / 3;
        justify-content: flex-end;
    }
}

/* Desktop (1025px and up) */
@media (min-width: 1025px) {
    /* Desktop-specific styles already defined above */
}

/* ========================================
   CONTENT COMPONENT STYLES
   ======================================== */

/* Ribbon Cut Bottom - Creates inverted V notch at bottom of section
   Usage: Add "ribbon-cut" to the BLACK section
   Left and right sides extend down, center is pulled up creating notch
   Like a ribbon tail cut or white triangle cutting up into the block
   Example: Black "Free Phone & 100% Free Service" block */
.ribbon-cut {
    clip-path: polygon(
        0 0,           /* top left */
        100% 0,        /* top right */
        100% 100%,     /* bottom right - extends down */
        50% 85%,       /* bottom center - pulled up */
        0 100%         /* bottom left - extends down */
    );
    padding-bottom: 60px !important; /* Extra padding for notch space */
}

/* Adjust notch depth on mobile for better proportions */
@media (max-width: 767px) {
    .ribbon-cut {
        clip-path: polygon(
            0 0,
            100% 0,
            100% 100%,
            50% 90%,
            0 100%
        );
        padding-bottom: 40px !important;
    }
}

/* Ribbon Cut Lime - Creates inverted V notch at bottom with lime background
   Usage: Add "ribbon-cut-lime" to section
   Same notch effect as ribbon-cut but with lime green background
   Example: Lime green sections with ribbon tail effect */
.ribbon-cut-lime {
    background-color: #c4d600;
    clip-path: polygon(
        0 0,           /* top left */
        100% 0,        /* top right */
        100% 100%,     /* bottom right - extends down */
        50% 85%,       /* bottom center - pulled up */
        0 100%         /* bottom left - extends down */
    );
    padding-bottom: 60px !important; /* Extra padding for notch space */
}

/* Adjust notch depth on mobile for better proportions */
@media (max-width: 767px) {
    .ribbon-cut-lime {
        clip-path: polygon(
            0 0,
            100% 0,
            100% 100%,
            50% 90%,
            0 100%
        );
        padding-bottom: 40px !important;
    }
}

/* Box Style - Rounded corners with subtle gradient
   Usage: Add "box-style" class to any Elementor container
   Creates lime green boxes with top-to-bottom gradient and rounded corners
   Example: Data Top-Ups boxes, pricing cards, feature highlights */
.box-style {
    background: linear-gradient(to bottom, #c4e000 0%, #a8c800 100%);
    border-radius: 20px;
    padding: 20px;
}

.box-style h2 {
    color: var(--dartphone-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Arrow Right Background - Right-pointing chevron shape with transparent background
   Usage: Add "arrow-right-bg" class to full-width Elementor container over background image
   Creates semi-transparent background extending from left edge with arrow point on right
   Text positioning controlled by padding - adjust percentages as needed
   Example: Hero sections, callout banners with directional emphasis */
.arrow-right-bg {
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
    clip-path: polygon(
        0 0,           /* top left */
        27% 0,         /* top right before angle */
        35% 50%,       /* arrow point (middle right) */
        27% 100%,      /* bottom right before angle */
        0 100%         /* bottom left */
    );
    padding: 40px 20% 40px 5%; /* Extra right padding for arrow space */
}

/* Responsive adjustments for arrow background */
@media (max-width: 767px) {
    .arrow-right-bg {
        clip-path: polygon(
            0 0,
            80% 0,
            90% 50%,
            80% 100%,
            0 100%
        );
        padding: 30px 15% 30px 5%;
    }
}

/* Hierarchical Table of Contents List - Multi-level automatic numbering
   Usage: Add "toc-list" class to the outermost <ol> element
   Creates automatic hierarchical numbering (1, 1.1, 1.2, 1.2.1, etc.)
   Remove hardcoded numbers from link text - CSS generates them automatically
   Example: Terms & Conditions table of contents */
.toc-list {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.toc-list ol {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.toc-list li {
    display: block;
    counter-increment: item;
    position: relative;
}

.toc-list li:before {
    content: counters(item, ".") ". ";
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Level-specific padding for proper indentation */
.toc-list > li {
    padding-left: 30px; /* Level 1 */
    margin-bottom: 15px; /* Space between level 1 items */
}

.toc-list > li > ol > li {
    padding-left: 45px; /* Level 2 */
}

.toc-list > li > ol > li > ol > li {
    padding-left: 50px; /* Level 3 */
}

.toc-list > li > ol > li > ol > li > ol > li {
    padding-left: 60px; /* Level 4 */
}

.toc-list > li > ol > li > ol > li > ol > li > ol > li {
    padding-left: 75px; /* Level 5+ */
}

/* ========================================
   WP Store Locator - Condensed Spacing
   ======================================== */

/* Absolutely position directions to reduce vertical space */
#wpsl-stores li {
    position: relative;
}

#wpsl-stores li .wpsl-direction-wrap {
    position: absolute;
    top: 105px;
    right: 35px;
}

/* Reduce overall padding and margins for store listings */
.wpsl-store-location {
    padding-bottom: 0px !important; /* Space for absolutely positioned directions */
}

/* Condense paragraph spacing within store locations */
.wpsl-store-location p {
    margin-bottom: 6px !important;
    line-height: 1.4;
}

/* Remove extra spacing from contact details paragraph */
.wpsl-contact-details {
    margin-top: 4px !important;
}

/* Tighter spacing for store image */
.wpsl-store-thumb {
    margin-right: 12px !important;
    margin-bottom: 0 !important;
    vertical-align: top;
}

/* Condense spacing for "More info" link */
.wpsl-store-location p:has(.wpsl-store-details) {
    margin-top: 8px !important;
    margin-bottom: 0 !important;
}
