/**
 * Skypop Smart Menu - Desktop Styles
 * Version: 1.0.0
 */

/* ========================================
   CSS Variables (overridden by PHP)
   ======================================== */
:root {
    --ssm-menu-bg: #ffffff;
    --ssm-menu-text: #000000;
    --ssm-menu-hover: #555555;
    --ssm-dropdown-bg: #ffffff;
    --ssm-dropdown-text: #333333;
    --ssm-dropdown-hover: #000000;
    --ssm-dropdown-hover-bg: #f8f8f8;
    --ssm-accent: #000000;
    --ssm-font-family: inherit;
    --ssm-font-size: 14px;
    --ssm-font-weight: 500;
    --ssm-letter-spacing: 1px;
    --ssm-breakpoint: 1024px;
}

/* ========================================
   Header Container - Sticky with Glassmorphism
   ======================================== */
.ssm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    transition: all 0.3s ease;
}

/* Scrolled state - slightly more opaque */
.ssm-header.scrolled {
    background: rgba(255, 255, 255, 0.80);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Hidden state for hide-on-scroll behavior */
.ssm-header.hidden {
    transform: translateY(-100%);
}

.ssm-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 150px;
    transition: height 0.3s ease;
}

/* Compact header when scrolled */
.ssm-header.scrolled .ssm-container {
    height: 160px;
}

.ssm-header.scrolled .ssm-logo img {
    max-height: 60px;
}

/* Spacer to prevent content jumping under fixed header */
.ssm-header-spacer {
    height: 150px;
}

/* ========================================
   Logo
   ======================================== */
.ssm-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.ssm-logo img {
    max-height: 160px;
    width: auto;
    transition: opacity 0.2s ease;
}

.ssm-logo:hover img {
    opacity: 0.8;
}

.ssm-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--ssm-menu-text);
    letter-spacing: 1px;
}

/* ========================================
   Desktop Navigation
   ======================================== */
.ssm-nav-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.ssm-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.ssm-nav-item {
    position: relative;
}

.ssm-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 18px;
    font-family: var(--ssm-font-family);
    font-size: var(--ssm-font-size);
    font-weight: var(--ssm-font-weight);
    letter-spacing: var(--ssm-letter-spacing);
    color: var(--ssm-menu-text);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.ssm-nav-link:hover {
    color: var(--ssm-menu-hover);
}

.ssm-arrow {
    transition: transform 0.2s ease;
}

.ssm-nav-item:hover .ssm-arrow {
    transform: rotate(180deg);
}

/* ========================================
   Badges
   ======================================== */
.ssm-badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--ssm-accent);
    color: #fff;
    border-radius: 3px;
    margin-left: 5px;
}

.ssm-badge-small {
    padding: 1px 5px;
    font-size: 9px;
}

/* ========================================
   Dropdown Menu
   ======================================== */
.ssm-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--ssm-dropdown-bg);
    border: 1px solid #eee;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 1000;
}

.ssm-nav-item:hover > .ssm-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ssm-dropdown-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--ssm-dropdown-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.ssm-dropdown-item a:hover {
    background: var(--ssm-dropdown-hover-bg);
    color: var(--ssm-dropdown-hover);
}

.ssm-dropdown-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

/* ========================================
   Mega Menu
   ======================================== */
.ssm-megamenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 800px;
    max-width: 1200px;
    background: var(--ssm-dropdown-bg);
    border: 1px solid #eee;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.ssm-nav-item:hover > .ssm-megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.ssm-megamenu-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 30px;
}

.ssm-megamenu-col {
    min-width: 0;
}

.ssm-megamenu-heading {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ssm-accent);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

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

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

.ssm-megamenu-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ssm-dropdown-text);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 5px 0;
}

.ssm-megamenu-links a:hover {
    color: var(--ssm-dropdown-hover);
}

.ssm-link-image {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: 4px;
}

/* Megamenu Shortcode Container */
.ssm-megamenu-shortcode {
    margin-top: 10px;
}

.ssm-megamenu-shortcode .sps-grid {
    gap: 10px !important;
}

.ssm-megamenu-shortcode .sps-product-card {
    padding: 5px;
}

.ssm-megamenu-shortcode .sps-product-image img {
    border-radius: 4px;
}

/* Megamenu Image */
.ssm-megamenu-image {
    margin-top: 15px;
}

.ssm-megamenu-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.ssm-megamenu-image a {
    display: block;
    position: relative;
    overflow: hidden;
}

.ssm-megamenu-image a img {
    transition: transform 0.3s ease;
}

.ssm-megamenu-image a:hover img {
    transform: scale(1.03);
}

.ssm-image-caption {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: var(--ssm-dropdown-text);
}

/* ========================================
   Right Side Icons
   ======================================== */
.ssm-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ssm-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--ssm-menu-text);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    position: relative;
}

.ssm-icon:hover {
    color: var(--ssm-menu-hover);
}

.ssm-cart-count,
.ssm-wishlist-count {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 18px;
    height: 18px;
    background: var(--ssm-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Account logged-in indicator */
.ssm-account-dot {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid var(--ssm-menu-bg);
}

/* Icon hover effects */
.ssm-icon svg {
    transition: transform 0.2s ease;
}

.ssm-icon:hover svg {
    transform: scale(1.1);
}

/* Wishlist heart fill on hover */
.ssm-wishlist:hover svg path {
    fill: currentColor;
    fill-opacity: 0.15;
}

/* ========================================
   Hamburger (Hidden on Desktop)
   ======================================== */
.ssm-hamburger {
    display: none;
}

/* ========================================
   Overlay
   ======================================== */
.ssm-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--ssm-overlay-bg, rgba(0,0,0,0.5));
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
}

.ssm-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   Transition Effects
   ======================================== */

/* Fade (default) */
.ssm-dropdown,
.ssm-megamenu {
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

/* Slide Down */
[data-transition="slide"] .ssm-dropdown,
[data-transition="slide"] .ssm-megamenu {
    transform: translateY(-10px);
}

[data-transition="slide"] .ssm-nav-item:hover > .ssm-dropdown,
[data-transition="slide"] .ssm-nav-item:hover > .ssm-megamenu {
    transform: translateY(0);
}

/* ========================================
   Account Side Panel
   ======================================== */
.ssm-account-panel {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    max-width: 90%;
    height: 100vh;
    background: #fff;
    z-index: 10000;
    box-shadow: -5px 0 30px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.ssm-account-panel.active {
    right: 0;
}

.ssm-account-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.ssm-account-panel-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
}

.ssm-account-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.ssm-account-close:hover {
    opacity: 0.6;
}

.ssm-account-panel-nav {
    padding: 15px 0;
}

.ssm-account-panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ssm-account-panel-list li {
    border-bottom: 1px solid #f5f5f5;
}

.ssm-account-panel-list a {
    display: block;
    padding: 16px 25px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ssm-account-panel-list a:hover {
    background: #f8f8f8;
    color: #000;
}

/* Login state */
.ssm-account-login {
    padding: 30px 25px;
    text-align: center;
}

.ssm-account-login p {
    margin: 0 0 20px;
    color: #666;
    font-size: 14px;
}

.ssm-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.ssm-btn-primary {
    background: #000;
    color: #fff;
    border: 2px solid #000;
}

.ssm-btn-primary:hover {
    background: #333;
    border-color: #333;
}

.ssm-btn-secondary {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.ssm-btn-secondary:hover {
    background: #f5f5f5;
}

/* ========================================
   Desktop Search Dropdown
   ======================================== */
.ssm-search-wrapper {
    position: relative;
}

.ssm-search-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 420px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
    z-index: 10000;
    margin-top: 10px;
}

.ssm-search-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 15px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-left: 1px solid #eee;
    border-top: 1px solid #eee;
    transform: rotate(45deg);
}

.ssm-search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.ssm-search-dropdown .sss-search-container {
    max-width: none;
}

.ssm-search-dropdown .sss-search-input-wrapper {
    background: #f8f8f8;
    border-color: #e0e0e0;
}

.ssm-search-dropdown .sss-search-input {
    padding: 14px 15px;
    font-size: 15px;
}

.ssm-search-dropdown .sss-results-dropdown {
    position: static;
    border: none;
    border-radius: 0;
    box-shadow: none;
    max-height: 350px;
    margin-top: 10px;
}

.ssm-search-dropdown .sss-results-dropdown.active {
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* ========================================
   Responsive - Hide on Mobile
   ======================================== */
@media (max-width: 1024px) {
    .ssm-nav-wrapper {
        display: none;
    }

    .ssm-hamburger {
        display: flex;
    }

    .ssm-search-wrapper {
        display: none;
    }
}


/* Show All Animals Button */
.ssm-animals-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    background: #000;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.ssm-animals-btn:hover {
    background: #333;
}


/* ========================================
   Cart Icon - Active State (has items)
   ======================================== */

/* Cart icon turns red when items are in cart */
.ssm-cart:has(.ssm-cart-count) {
    color: #e53935;
}

.ssm-cart:has(.ssm-cart-count):hover {
    color: #c62828;
}

/* Cart count badge styling */
.ssm-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: cartPulse 0.3s ease-out;
}

/* Pulse animation when count changes */
@keyframes cartPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Ensure cart icon is relatively positioned for badge */
.ssm-cart {
    position: relative;
}

/* ========================================
   Cart Toast Notification
   ======================================== */

.ssm-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.ssm-toast {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 16px;
    min-width: 320px;
    max-width: 400px;
    pointer-events: auto;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ssm-toast.active {
    transform: translateX(0);
    opacity: 1;
}

.ssm-toast.removing {
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.3s ease-in;
}

/* Toast Header */
.ssm-toast-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.ssm-toast-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f5f5f5;
}

.ssm-toast-content {
    flex: 1;
    min-width: 0;
}

.ssm-toast-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ssm-toast-message {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #16a34a;
    font-weight: 500;
}

.ssm-toast-message svg {
    flex-shrink: 0;
}

/* Close Button */
.ssm-toast-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #999;
    transition: color 0.2s;
    line-height: 1;
}

.ssm-toast-close:hover {
    color: #333;
}

/* Toast Buttons */
.ssm-toast-buttons {
    display: flex;
    gap: 10px;
}

.ssm-toast-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.ssm-toast-btn-cart {
    background: #f5f5f5;
    color: #333;
}

.ssm-toast-btn-cart:hover {
    background: #e8e8e8;
    color: #000;
}

.ssm-toast-btn-checkout {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    color: #fff;
}

.ssm-toast-btn-checkout:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #333 0%, #444 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Progress Bar */
.ssm-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
    width: 100%;
    transform-origin: left;
    animation: ssm-toast-progress 5s linear forwards;
}

@keyframes ssm-toast-progress {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

/* Pause progress on hover */
.ssm-toast:hover .ssm-toast-progress {
    animation-play-state: paused;
}

/* Success checkmark animation */
.ssm-toast-check {
    width: 18px;
    height: 18px;
    background: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ssm-check-pop 0.4s ease 0.2s both;
}

@keyframes ssm-check-pop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.ssm-toast-check svg {
    width: 10px;
    height: 10px;
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .ssm-toast-container {
        top: 10px;
        right: 10px;
        left: 10px;
    }

    .ssm-toast {
        min-width: auto;
        max-width: none;
        width: 100%;
    }

    .ssm-toast-image {
        width: 50px;
        height: 50px;
    }

    .ssm-toast-buttons {
        flex-direction: column;
        gap: 8px;
    }
}

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

/* Footer Container */
.ssm-footer {
    background: #000000;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ----------------------------------------
   Features Bar (Top Section)
   ---------------------------------------- */
.ssm-footer-features {
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px 0;
}

.ssm-footer-features-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ssm-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.ssm-feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.7);
}

.ssm-feature-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.ssm-feature-text h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.ssm-feature-text p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* ----------------------------------------
   Main Footer Content
   ---------------------------------------- */
.ssm-footer-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.5fr;
    gap: 60px;
}

/* Logo Column */
.ssm-footer-brand {
    padding-right: 20px;
}

.ssm-footer-logo {
    margin-bottom: 20px;
}

.ssm-footer-logo img {
    height: 160px;
    width: auto;
    display: block;
}

.ssm-footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Social Icons */
.ssm-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.ssm-footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.ssm-footer-social a:hover {
    background: #e53935;
    color: #ffffff;
    transform: translateY(-3px);
}

.ssm-footer-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Link Columns */
.ssm-footer-column h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 12px;
}

.ssm-footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #e53935;
}

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

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

.ssm-footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    display: inline-block;
}

.ssm-footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

/* About Column */
.ssm-footer-about p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ----------------------------------------
   Footer Bottom Bar
   ---------------------------------------- */
.ssm-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px 0;
}

.ssm-footer-bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ssm-footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* Payment Icons */
.ssm-footer-payments {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ssm-footer-payments svg {
    height: 24px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.ssm-footer-payments svg:hover {
    opacity: 1;
}

/* ----------------------------------------
   Mobile Responsive
   ---------------------------------------- */
@media (max-width: 1024px) {
    .ssm-footer-features-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 30px;
    }
    
    .ssm-footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .ssm-footer-features {
        padding: 25px 0;
    }
    
    .ssm-footer-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }
    
    .ssm-feature-item {
        padding: 15px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 8px;
    }
    
    .ssm-footer-main {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px 20px;
        text-align: center;
    }
    
    .ssm-footer-brand {
        padding-right: 0;
    }
    
    .ssm-footer-logo {
        display: flex;
        justify-content: center;
    }
    
    .ssm-footer-logo img {
        height: 70px;
    }
    
    .ssm-footer-social {
        justify-content: center;
    }
    
    .ssm-footer-column h3 {
        text-align: center;
    }
    
    .ssm-footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .ssm-footer-links {
        text-align: center;
    }
    
    .ssm-footer-links a:hover {
        padding-left: 0;
    }
    
    .ssm-footer-about p {
        text-align: center;
    }
    
    .ssm-footer-bottom-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .ssm-feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .ssm-feature-text h4 {
        font-size: 14px;
    }
    
    .ssm-feature-text p {
        font-size: 12px;
    }
    
    .ssm-footer-logo img {
        height: 60px;
    }
    
    .ssm-footer-column h3 {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .ssm-footer-links a,
    .ssm-footer-about p,
    .ssm-footer-tagline {
        font-size: 13px;
    }
}

/* DMCA Form Success Message */
.wpcf7-form.sent .wpcf7-response-output {
    background-color: #d4edda !important;
    border-color: #28a745 !important;
    color: #155724 !important;
    padding: 15px 20px !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
}

/* ============================================
   DMCA Form Styling - Enhanced Layout
   ============================================ */

.dmca-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.dmca-form h3 {
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 35px 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

.dmca-form h3:first-child {
    margin-top: 0;
}

.dmca-form p {
    margin-bottom: 20px;
}

.dmca-form label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.dmca-form input[type="text"],
.dmca-form input[type="email"],
.dmca-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fafafa;
}

.dmca-form input[type="text"]:focus,
.dmca-form input[type="email"]:focus,
.dmca-form textarea:focus {
    outline: none;
    border-color: #4a90d9;
    box-shadow: 0 0 0 4px rgba(74, 144, 217, 0.15);
    background: #fff;
}

.dmca-form textarea {
    min-height: 120px;
    resize: vertical;
}

.dmca-form .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
}

.dmca-form .wpcf7-list-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.dmca-form .wpcf7-list-item-label {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #444;
}

/* Quiz field styling */
.dmca-form .wpcf7-quiz {
    width: 100%;
}

.dmca-form .wpcf7-quiz-label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 8px;
    font-size: 1rem;
}

.dmca-form input.wpcf7-quiz {
    margin-top: 8px;
}

/* Submit button */
.dmca-form input[type="submit"] {
    width: 100%;
    padding: 18px 32px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 30px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dmca-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.35);
}

.dmca-form input[type="submit"]:active {
    transform: translateY(0);
}

/* ============================================
   Beautiful Animated Success Notification
   ============================================ */

.wpcf7 .wpcf7-response-output {
    display: none !important;
}

.wpcf7-form.sent .wpcf7-response-output {
    display: block !important;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.8) !important;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: #fff !important;
    padding: 40px 60px !important;
    border-radius: 16px !important;
    border: none !important;
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    z-index: 999999 !important;
    animation: successPopIn 0.5s ease forwards !important;
    max-width: 90% !important;
    line-height: 1.6 !important;
}

.wpcf7-form.sent .wpcf7-response-output::before {
    content: "✓";
    display: block;
    font-size: 4rem;
    margin-bottom: 20px;
    animation: checkmarkBounce 0.6s ease 0.3s forwards;
    opacity: 0;
}

/* Dark overlay behind the notification */
.wpcf7-form.sent::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999998;
    animation: fadeIn 0.3s ease forwards;
}

@keyframes successPopIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes checkmarkBounce {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Validation error styling */
.dmca-form .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 6px;
    display: block;
}

.dmca-form .wpcf7-not-valid {
    border-color: #dc3545 !important;
}

/* Spinner/loading state */
.dmca-form .wpcf7-spinner {
    margin: 20px auto 0;
    display: block;
}

/* ============================================
   DMCA Form Fixes - Override Previous Styles
   ============================================ */

/* Black submit button */
.dmca-form input[type="submit"] {
    background: #000 !important;
    color: #fff !important;
    box-shadow: none;
}

.dmca-form input[type="submit"]:hover {
    background: #222 !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25) !important;
}

/* Simple quiz styling - matches other fields */
.dmca-form .wpcf7-quiz-label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 10px;
    padding: 0;
    background: none !important;
    border-radius: 0;
    font-size: 0.95rem;
}

/* ============================================
   Toast Notification - Slides in & Auto-hides
   ============================================ */

/* Remove the old modal overlay */
.wpcf7-form.sent::before {
    display: none !important;
}

/* Toast notification */
.wpcf7-form.sent .wpcf7-response-output {
    position: fixed !important;
    top: 30px !important;
    right: -400px !important;
    left: auto !important;
    transform: none !important;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: #fff !important;
    padding: 20px 30px !important;
    border-radius: 12px !important;
    border: none !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    text-align: left !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
    z-index: 999999 !important;
    max-width: 380px !important;
    line-height: 1.5 !important;
    animation: toastSlideIn 0.5s ease forwards, toastSlideOut 0.5s ease 4s forwards !important;
}

/* Remove the checkmark for toast style */
.wpcf7-form.sent .wpcf7-response-output::before {
    content: "✓ " !important;
    display: inline !important;
    font-size: 1.2rem !important;
    margin-right: 8px !important;
    animation: none !important;
    opacity: 1 !important;
}

@keyframes toastSlideIn {
    0% {
        right: -400px;
        opacity: 0;
    }
    100% {
        right: 30px;
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    0% {
        right: 30px;
        opacity: 1;
    }
    100% {
        right: -400px;
        opacity: 0;
    }
}


/* ============================================
   Skypop Toast Notification
   ============================================ */

/* Hide default CF7 response completely */
.wpcf7 .wpcf7-response-output {
    display: none !important;
}

/* Toast notification */
.skypop-toast {
    position: fixed;
    top: 30px;
    right: -450px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: #fff;
    padding: 20px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
    z-index: 999999;
    max-width: 400px;
    line-height: 1.5;
    transition: right 0.5s ease;
}

.skypop-toast.show {
    right: 30px;
}

.skypop-toast-check {
    display: inline-block;
    font-size: 1.3rem;
    margin-right: 10px;
    font-weight: bold;
}

/* Mobile toast */
@media (max-width: 768px) {
    .skypop-toast {
        top: 20px;
        right: -100%;
        max-width: calc(100% - 40px);
        padding: 16px 20px;
        font-size: 0.95rem;
    }
    
    .skypop-toast.show {
        right: 20px;
    }
}


/* Simple Toast for DMCA/Form Notifications */
.ssm-toast-simple {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    padding: 16px 20px !important;
}

.ssm-toast-simple .ssm-toast-close {
    color: #fff !important;
}

.ssm-toast-simple-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.ssm-toast-simple-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    padding: 4px;
}

.ssm-toast-simple-icon svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}

.ssm-toast-simple-message {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
}

.ssm-toast-simple .ssm-toast-progress {
    background: rgba(255,255,255,0.3) !important;
}


/* ============================================
   Contact Page Styles
   ============================================ */

.contact-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* Hero Section */
.contact-hero {
    text-align: center;
    margin-bottom: 50px;
}

.contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.contact-hero-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Info Cards */
.contact-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.contact-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 30px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card-icon svg {
    stroke: #333;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.contact-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.contact-card a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card .highlight {
    color: #28a745;
    font-weight: 600;
    font-size: 1rem;
}

/* Main Content Layout */
.contact-main {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* Form Section */
.contact-form-section {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px;
}

.contact-form-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.contact-form-section .form-intro {
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-form-wrapper .form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.contact-form-wrapper .form-section:last-of-type {
    border-bottom: none;
}

.contact-form-wrapper h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.contact-form-wrapper p {
    margin-bottom: 18px;
}

.contact-form-wrapper label {
    display: block;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fafafa;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper select:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: #4a90d9;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.15);
    background: #fff;
}

.contact-form-wrapper textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-wrapper select {
    cursor: pointer;
    appearance: none;
    background-image: url(data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg width=12 height=12 fill=%23333 viewBox=0 0 16 16%3E%3Cpath d=M8 11L3 6h10l-5 5z/%3E%3C/svg%3E);
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.contact-form-wrapper input[type="file"] {
    padding: 10px;
    background: #f8f9fa;
}

.contact-form-wrapper input[type="submit"] {
    width: 100%;
    padding: 16px 32px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 20px;
}

.contact-form-wrapper input[type="submit"]:hover {
    background: #222;
    transform: translateY(-2px);
}

/* Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 24px;
}

.sidebar-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.sidebar-box p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

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

.quick-links li {
    margin-bottom: 12px;
}

.quick-links a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.quick-links a::before {
    content: "→";
    margin-right: 10px;
    color: #999;
    transition: transform 0.2s ease;
}

.quick-links a:hover {
    color: #2563eb;
}

.quick-links a:hover::before {
    transform: translateX(4px);
    color: #2563eb;
}

.help-topics {
    list-style: none;
    padding: 0;
    margin: 0;
}

.help-topics li {
    color: #555;
    font-size: 0.9rem;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.help-topics li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
}

/* Social Box */
.social-box .social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    color: #333;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    background: #000;
    color: #fff;
    transform: translateY(-3px);
}

/* CF7 Specific Overrides */
.contact-form-section .wpcf7-response-output {
    display: none !important;
}

.contact-form-section .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 6px;
}

.contact-form-section .wpcf7-spinner {
    margin: 15px auto 0;
    display: block;
}


/* Fix dropdown/select styling */
.contact-form-wrapper select,
.contact-form-section select {
    color: #333 !important;
    background-color: #fafafa !important;
}

.contact-form-wrapper select option,
.contact-form-section select option {
    color: #333 !important;
    background-color: #fff !important;
    padding: 10px;
}

.contact-form-wrapper select:focus,
.contact-form-section select:focus {
    color: #333 !important;
    background-color: #fff !important;
}

/* Ensure selected value is visible */
.wpcf7-form-control.wpcf7-select {
    color: #333 !important;
    background-color: #fafafa !important;
}


/* Force dropdown text visibility */
.contact-form-wrapper select,
.contact-form-section select,
.wpcf7 select,
.wpcf7-select,
select.wpcf7-form-control {
    color: #333 !important;
    background-color: #fafafa !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 40px !important;
}

.contact-form-wrapper select *,
.wpcf7 select *,
select.wpcf7-form-control * {
    color: #333 !important;
}


/* Radio button styling for contact form */
.contact-form-wrapper .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-form-wrapper .wpcf7-list-item {
    margin: 0 !important;
    display: inline-block;
}

.contact-form-wrapper .wpcf7-radio .wpcf7-list-item {
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-form-wrapper .wpcf7-radio .wpcf7-list-item:hover {
    border-color: #999;
    background: #eee;
}

.contact-form-wrapper .wpcf7-radio .wpcf7-list-item.active,
.contact-form-wrapper .wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label {
    background: #000;
    color: #fff;
    border-color: #000;
}

.contact-form-wrapper .wpcf7-radio input[type="radio"] {
    display: none;
}

.contact-form-wrapper .wpcf7-radio .wpcf7-list-item-label {
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
}

/* When radio is checked, style the parent */
.contact-form-wrapper .wpcf7-radio input[type="radio"]:checked ~ .wpcf7-list-item-label,
.contact-form-wrapper .wpcf7-radio input[type="radio"]:checked + span {
    color: #fff;
}


/* FORCE BLACK TEXT ON ALL DROPDOWNS */
select,
.wpcf7 select,
.wpcf7-select,
.black-dropdown,
.contact-form-wrapper select,
.contact-form-section select,
select.wpcf7-form-control,
select.wpcf7-form-control.wpcf7-select {
    color: #000 !important;
    background: #f5f5f5 !important;
    border: 2px solid #ccc !important;
    padding: 12px 40px 12px 14px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
    width: 100% !important;
    -webkit-text-fill-color: #000 !important;
    opacity: 1 !important;
}

select option,
.wpcf7 select option,
.black-dropdown option {
    color: #000 !important;
    background: #fff !important;
}

