/* 
 * APS Redesign CSS
 * This file contains the styles for the new UI/UX layout
 */

:root {
    --aps-green-dark: #12351f;
    /* Darkest green for header/footer */
    --aps-green-main: #1d7b38;
    /* Main vibrant green */
    --aps-green-light: #e8f5ec;
    --aps-yellow: #f8c927;
    --text-dark: #2d3748;
    --text-muted: #718096;
}

body,
html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Slim scrollbars globally */
::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 160, 120, 0.35);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(29, 123, 56, 0.5);
}

* {
    -ms-overflow-style: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 160, 120, 0.35) transparent;
}

/* ==========================================================================
   TOP HEADER BAR
   ========================================================================== */
.top-header-bar {
    background-color: var(--aps-green-dark);
    color: #fff;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 24px;
    font-weight: 500;
}

.top-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.top-header-link {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0.9;
}

.top-header-link:hover {
    opacity: 1;
}

.social-icons-top {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 12px;
}

.social-icons-top a {
    color: #fff;
    opacity: 0.8;
}

.social-icons-top a:hover {
    opacity: 1;
}

/* ==========================================================================
   MAIN HEADER
   ========================================================================== */
header,
.main-header {
    position: relative !important;
    z-index: 1050 !important;
    background: #fff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eaeaea;
}

.header-logo img {
    height: 56px;
}

.header-search-wrapper {
    flex: 1;
    max-width: 600px;
    margin: 0 40px;
    display: flex;
}

.header-search-input {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    outline: none;
    background: #fcfcfc;
}

.header-search-btn {
    background: var(--aps-green-main);
    color: #fff;
    border: none;
    padding: 0 24px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-contact-info {
    display: flex;
    align-items: center;
    gap: 32px;
}

.contact-block {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-icon.call {
    color: var(--aps-green-main);
}

.contact-icon.whatsapp {
    background: #25D366;
    color: #fff;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.contact-val {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.header-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    margin-left: 16px;
    text-decoration: none;
}

.header-cart-icon {
    font-size: 24px;
    color: var(--text-dark);
}

.header-cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--aps-green-main);
    color: white;
    font-size: 10px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.header-cart-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 4px;
}

/* ==========================================================================
   NAVIGATION MENU
   ========================================================================== */
.main-nav {
    background: #ffffff !important;
    padding: 8px 24px;
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 990 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    overflow-x: auto;
    overflow-y: visible;
}

.main-nav .nav-link-plain {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
}

.main-nav .nav-btn-category {
    padding: 8px 14px !important;
    font-size: 13px !important;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.nav-btn-category {
    background: #064e3b;
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.nav-btn-category:hover {
    background: #043629;
}

.nav-pill-red {
    border: 1px solid #ef4444;
    color: #ef4444;
    background: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-pill-red:hover {
    background: #fef2f2;
}

.nav-link-plain {
    color: #1e293b;
    padding: 8px 12px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-link-plain:hover,
div:hover > .nav-link-plain {
    background: #064e3b !important;
    color: #ffffff !important;
}

.nav-link-plain:hover i,
.nav-link-plain:hover svg,
div:hover > .nav-link-plain i,
div:hover > .nav-link-plain svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Arrow animation */
.nav-btn-category [data-lucide="chevron-down"],
.nav-pill-red [data-lucide="chevron-down"],
.nav-link-plain [data-lucide="chevron-down"] {
    transition: transform 0.3s ease;
}

div:hover > .nav-btn-category [data-lucide="chevron-down"],
div:hover > .nav-pill-red [data-lucide="chevron-down"],
div:hover > .nav-link-plain [data-lucide="chevron-down"] {
    transform: rotate(180deg);
}

/* Dropdown Menu Styles */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 8px 0;
    min-width: 200px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-dropdown::-webkit-scrollbar,
.nav-dropdown-flyout::-webkit-scrollbar {
    width: 6px;
}

.nav-dropdown::-webkit-scrollbar-track,
.nav-dropdown-flyout::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.nav-dropdown::-webkit-scrollbar-thumb,
.nav-dropdown-flyout::-webkit-scrollbar-thumb {
    background: #10b981;
    border-radius: 4px;
}

.dropdown-item {
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    transition: background 0.15s, color 0.15s, padding-left 0.15s;
    white-space: nowrap;
    line-height: 1.4;
}

.dropdown-item:hover {
    background: #f0faf3;
    color: var(--aps-green-main);
    padding-left: 20px;
}

.mega-menu-link:hover {
    background: #ecfdf5 !important;
    color: #047857 !important;
    transform: translateX(3px);
}

.sub-category-header-btn.active {
    background: #ecfdf5 !important;
    color: #064e3b !important;
}

.sub-category-header-btn:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.sub-category-header-btn.active:hover {
    background: #ecfdf5 !important;
    color: #064e3b !important;
}

.nav-dropdown-flyout .dropdown-item:hover {
    background: #f0fdf4 !important;
    color: #15803d !important;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
}

.modal-close:hover {
    color: #000;
}

/* ==========================================================================
   HERO BANNER
   ========================================================================== */
.hero-section {
    position: relative;
    height: 480px;
    background: url('https://images.unsplash.com/photo-1592982537447-7440770cbfc9?q=80&w=2000&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding: 0 24px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 45, 23, 0.9) 0%, rgba(12, 45, 23, 0.4) 60%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: #fff;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
}

.hero-nav-dots {
    position: absolute;
    bottom: 24px;
    left: 64px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-nav-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-nav-dots span.active {
    background: #fff;
    transform: scale(1.3);
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #e8f5ec;
}

.hero-title {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-hero-primary {
    background: var(--aps-green-main);
    color: #fff;
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-hero-secondary {
    background: #fff;
    color: var(--text-dark);
    padding: 14px 28px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.ai-widget {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    width: 320px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.ai-widget-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ai-widget-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
}

.ai-badge {
    background: var(--aps-green-main);
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

.ai-widget p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.4;
}

.ai-btn-upload {
    width: 100%;
    background: var(--aps-green-main);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    cursor: pointer;
}

.ai-divider {
    text-align: center;
    position: relative;
    margin-bottom: 16px;
}

.ai-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #eaeaea;
}

.ai-divider::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #eaeaea;
}

.ai-divider span {
    font-size: 12px;
    color: #aaa;
    background: #fff;
    padding: 0 8px;
}

.ai-btn-chat {
    width: 100%;
    background: #fff;
    color: var(--text-dark);
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section-wrapper {
    padding: 24px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.section-header-redesign {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    position: relative !important;
}

.section-header-redesign h2 {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--text-dark) !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.section-header-redesign h2 i {
    color: var(--aps-green-main) !important;
}

.view-all-link {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--aps-green-main) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: color 0.2s !important;
}

.view-all-link:hover {
    color: #0b4d24 !important;
}

/* Crop & Pest Slider Track & Items */
.crop-slider-track, .pest-slider-track {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(95px, 1fr)) !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 6px 2px 12px 2px !important;
}

.crop-slider-track::-webkit-scrollbar,
.pest-slider-track::-webkit-scrollbar {
    display: none !important;
}

.crop-item, .pest-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.crop-img-wrap, .pest-img-wrap {
    width: 80px !important;
    height: 80px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.25s ease !important;
    flex-shrink: 0 !important;
}

.crop-item:hover .crop-img-wrap,
.pest-item:hover .pest-img-wrap {
    border-color: var(--aps-green-main) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(29, 123, 56, 0.15) !important;
}

.crop-img-wrap img, .pest-img-wrap img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.crop-name, .pest-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    text-align: center !important;
    white-space: nowrap !important;
    width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Smooth Infinite Marquee */
.marquee-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: scrollMarquee 24s linear infinite;
}

.marquee-track-reverse {
    animation-direction: reverse;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Category Grid */
.category-grid-redesign {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    overflow-x: auto;
}

.category-item-card {
    min-width: 120px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
}

.category-item-card:hover {
    border-color: var(--aps-green-main);
}

.category-item-card img {
    height: 64px;
    object-fit: contain;
}

.category-item-card span {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* Featured Products */
.product-grid-redesign {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card-redesign {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 16px;
    gap: 12px;
    position: relative;
    transition: all 0.2s;
    text-decoration: none;
    color: inherit;
    height: 100%;
    flex-shrink: 0;
}

.product-card-redesign:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #ddd;
}

.product-card-redesign .prod-img-box {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fcfcfc;
    border-radius: 8px;
    margin-bottom: 8px;
}

.product-card-redesign .prod-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card-redesign .prod-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.prod-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    height: 40px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prod-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--aps-yellow);
    margin-bottom: 12px;
}

.prod-rating span {
    color: var(--text-muted);
}

.prod-meta {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.prod-meta strong {
    color: var(--text-dark);
}

.prod-price-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.prod-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
}

.btn-add-cart-outline {
    border: 1px solid var(--aps-green-main);
    color: var(--aps-green-main);
    background: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.btn-add-cart-outline:hover {
    background: var(--aps-green-light);
}

/* Why Choose & Numbers */
.dual-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

.why-choose-box {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 32px;
}

.why-choose-box h3 {
    font-size: 20px;
    margin-bottom: 24px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 24px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-item i {
    font-size: 24px;
    color: var(--aps-green-main);
}

.feature-item strong {
    font-size: 13px;
    color: var(--text-dark);
}

.feature-item span {
    font-size: 11px;
    color: var(--text-muted);
}

.numbers-box {
    background: var(--aps-green-dark);
    border-radius: 12px;
    padding: 32px;
    color: #fff;
}

.numbers-box h3 {
    font-size: 20px;
    margin-bottom: 24px;
    font-weight: 700;
}

.numbers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

.number-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.number-item h4 {
    font-size: 28px;
    font-weight: 800;
    color: var(--aps-yellow);
    margin-bottom: 4px;
}

.number-item span {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}

/* How It Works */
.how-it-works-box {
    margin-top: 48px;
}

.flow-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
    padding: 0 32px;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.flow-icon {
    width: 64px;
    height: 64px;
    border: 2px dashed var(--aps-green-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--aps-green-main);
    background: #fff;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flow-icon.solid {
    border-style: solid;
}

.flow-step:hover .flow-icon {
    background: var(--aps-green-main);
    color: #fff !important;
    border-style: solid;
    border-color: var(--aps-green-main);
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(10, 92, 54, 0.25);
}

.flow-step:hover span {
    color: var(--aps-green-main) !important;
}

.flow-step span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.flow-arrow {
    color: #ccc;
    font-size: 20px;
    z-index: 1;
}

/* Placeholders for Bottom Sections */
.placeholder-section {
    background: #f9f9f9;
    border: 1px dashed #ccc;
    padding: 32px;
    text-align: center;
    margin-top: 48px;
    border-radius: 8px;
    color: #888;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-redesign {
    background: var(--aps-green-dark);
    color: #fff;
    padding: 64px 48px 24px 48px;
}

.footer-redesign-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr 1.5fr 2fr;
    gap: 32px;
    margin-bottom: 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col p {
    font-size: 13px;
    color: #a0b2a6;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #a0b2a6;
    font-size: 13px;
    text-decoration: none;
}

.footer-links-list a:hover {
    color: #fff;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    padding: 12px;
    border-radius: 4px;
    border: none;
    font-size: 13px;
}

.newsletter-form button {
    background: var(--aps-green-main);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
}

.footer-bottom-redesign {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #a0b2a6;
    max-width: 1400px;
    margin: 0 auto;
}

.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    cursor: pointer;
    text-decoration: none;
}

/* Real-time Search Suggestions Dropdown Styling */
.header-search-wrapper {
    position: relative;
}

.search-suggestions-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.22), 0 8px 16px -4px rgba(0, 0, 0, 0.1);
    z-index: 999999 !important;
    overflow: hidden;
    max-height: 480px;
    overflow-y: auto;
}

.search-suggestions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    text-decoration: none;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.active {
    background-color: #f0fdf4;
}

.suggestion-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

/* Admin Table Checkbox Alignment */
table.admin-table td input[type="checkbox"],
table.admin-table th input[type="checkbox"] {
    margin: 0;
    vertical-align: middle;
}

/* Inline Add-to-Cart Quantity Selector */
.inline-qty-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    height: 38px;
    width: 100%;
    overflow: hidden;
}

.inline-qty-selector button {
    background: transparent;
    border: none;
    width: 36px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 16px;
    transition: background 0.2s;
}

.inline-qty-selector button:hover {
    background: #e2e8f0;
}

.inline-qty-selector input {
    width: 32px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    pointer-events: none;
}


.suggestion-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.suggestion-info {
    flex: 1;
    min-width: 0;
}

.suggestion-title {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.suggestion-item:hover .suggestion-title,
.suggestion-item.active .suggestion-title {
    color: #059669;
}

.suggestion-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #64748b;
}

.suggestion-category {
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.suggestion-brand {
    font-size: 11.5px;
    color: #94a3b8;
}

.suggestion-price-box {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.suggestion-price {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.suggestion-mrp {
    font-size: 11.5px;
    color: #94a3b8;
    text-decoration: line-through;
}

.search-view-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    color: #059669;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-top: 1px solid #e2e8f0;
    transition: background-color 0.15s ease;
}

.search-view-all-link:hover {
    background: #ecfdf5;
    color: #047857;
}

.search-no-results {
    padding: 24px 16px;
    text-align: center;
    color: #475569;
    font-size: 13.5px;
}

.search-suggestion-loading {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-skeleton-row {
    height: 36px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: searchSkeletonShimmer 1.5s infinite;
    border-radius: 6px;
}

@keyframes searchSkeletonShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.search-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: searchSpin 0.6s linear infinite;
    display: inline-block;
}

@keyframes searchSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Custom Alpine.js Select Dropdown Styling */
.custom-alpine-select-btn {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.custom-alpine-select-btn:hover,
.custom-alpine-select-btn.active {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.custom-alpine-select-btn .chevron-icon {
    width: 16px;
    height: 16px;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.custom-alpine-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 10px -2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    padding: 4px;
    overflow: hidden;
}

.custom-select-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.custom-select-option:hover {
    background-color: #f0fdf4;
    color: #047857;
}

.custom-select-option.selected {
    background-color: #ecfdf5;
    color: #065f46;
    font-weight: 600;
}

/* ==========================================================================
   MOBILE MENU DRAWER & RESPONSIVE UTILITIES
   ========================================================================== */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-dark);
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85%;
    max-width: 320px;
    background: #ffffff;
    z-index: 10000;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9999;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--aps-green-dark);
    color: #fff;
}

.mobile-nav-header img {
    height: 36px;
}

.mobile-nav-close {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
}

.mobile-nav-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.15s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--aps-green-light);
    color: var(--aps-green-main);
}

.mobile-accordion-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
}

.mobile-accordion-content {
    padding-left: 36px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
    padding-bottom: 8px;
}

.mobile-accordion-sublink {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    padding: 6px 0;
    display: block;
}

.mobile-accordion-sublink:hover {
    color: var(--aps-green-main);
}

/* Dynamic Home Sections Grid */
.home-dynamic-sections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.home-partner-banners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 48px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
    .product-grid-redesign {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-redesign-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 24px;
    }

    .home-dynamic-sections-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-title {
        font-size: 36px;
    }

    .ai-widget {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 24px;
    }

    .hero-section {
        height: auto;
        padding: 40px 24px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {

    /* Top Header Bar */
    .top-header-bar {
        position: relative;
        z-index: 2000 !important;
        padding: 8px 12px;
        flex-direction: row;
        justify-content: space-between;
        gap: 6px;
        flex-wrap: wrap;
    }

    .top-header-left {
        font-size: 11px;
    }

    .top-header-right {
        gap: 12px;
        font-size: 11px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .social-icons-top {
        display: none;
    }

    /* Main Header */
    header,
    .main-header {
        padding: 10px 16px;
        flex-wrap: wrap;
        gap: 12px;
        z-index: 1050 !important;
    }

    .desktop-only-flex,
    .desktop-only-inline,
    .desktop-only-block {
        display: none !important;
    }

    .main-header {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        padding: 8px 12px !important;
        gap: 10px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .main-header-left {
        display: flex !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }

    .mobile-menu-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 40px !important;
        height: 40px !important;
        background: #f1f5f9 !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 8px !important;
        color: #0f172a !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
    }

    .header-search-wrapper {
        flex: 1 !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: auto !important;
        order: 2 !important;
        display: flex !important;
    }

    .header-search-input {
        padding: 9px 12px !important;
        font-size: 13px !important;
        border-radius: 8px 0 0 8px !important;
        height: 40px !important;
        box-sizing: border-box !important;
    }

    .header-search-btn {
        padding: 0 12px !important;
        height: 40px !important;
        border-radius: 0 8px 8px 0 !important;
    }

    .contact-block,
    .header-contact-info,
    .header-cart-text,
    .main-nav,
    .new-nav-style,
    .cat-nav-strip {
        display: none !important;
    }

    /* Hero Section */
    .hero-section {
        padding: 32px 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        text-align: center;
    }

    .ai-widget {
        padding: 16px;
    }

    /* Section Headers */
    .section-wrapper {
        padding: 16px;
    }

    .section-header-redesign {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        text-align: left;
    }

    .section-header-redesign h2 {
        font-size: 20px;
    }

    .view-all-btn {
        position: static;
        transform: none;
        align-self: flex-start;
    }

    /* Product Grids */
    .product-grid-redesign {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card-redesign {
        padding: 10px;
    }

    .product-card-redesign .prod-img-box {
        height: 120px;
    }

    .prod-title {
        font-size: 13.5px;
    }

    .prod-price {
        font-size: 15px;
    }

    .prod-price-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .btn-add-cart-outline {
        width: 100%;
        justify-content: center;
    }

    /* Dual Section */
    .dual-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .why-choose-box,
    .numbers-box {
        padding: 20px 16px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature-item {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 12px 10px;
        text-align: center;
        align-items: center;
    }

    .numbers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .number-item {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 8px;
        padding: 12px 6px;
    }

    .number-item h4 {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .number-item span {
        font-size: 10.5px;
        line-height: 1.2;
    }

    /* Dynamic Sections & Partner Banners */
    .home-dynamic-sections-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 32px;
    }

    .home-partner-banners-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 20px;
        margin-bottom: 32px;
    }

    /* How It Works */
    .flow-container {
        flex-direction: column;
        gap: 20px;
        padding: 0;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

    /* Footer */
    .footer-redesign {
        padding: 36px 20px 20px 20px;
    }

    .footer-redesign-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom-redesign {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 16px;
        right: 16px;
    }

    /* Product Listing Page Grid */
    .product-list-container {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    .product-grid-redesign {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .feature-item {
        padding: 10px 8px;
    }

    .feature-item strong {
        font-size: 12px;
    }

    .feature-item span {
        font-size: 10px;
    }

    .hero-title {
        font-size: 24px;
    }

    .product-card-redesign .prod-img-box {
        height: 100px;
    }
}

/* Responsive Cart Item Cards */
.cart-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item-main-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
}

.cart-item-img-link {
    flex-shrink: 0;
    text-decoration: none;
}

.cart-item-img-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    border: 1px solid #f1f5f9;
    object-fit: cover;
    display: block;
}

.cart-item-info-col {
    flex: 1;
    min-width: 0;
}

.cart-item-title-link {
    text-decoration: none;
    color: inherit;
}

.cart-item-title-link:hover .cart-item-title-text {
    color: var(--primary) !important;
    text-decoration: underline;
}

.cart-item-title-text {
    margin: 0 0 6px 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-dark);
}

.cart-item-pricing-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.cart-unit-price-box {
    display: flex;
    flex-direction: column;
}

.cart-price-lbl {
    font-size: 10px;
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-price-num {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
}

.cart-subtotal-box {
    border-left: 1px solid #e2e8f0;
    padding-left: 12px;
    display: flex;
    flex-direction: column;
}

.cart-subtotal-num {
    font-size: 15px;
    font-weight: 800;
    color: #047857;
}

.cart-item-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

@media (max-width: 480px) {
    .cart-item-card {
        padding: 12px;
    }

    .cart-item-img-thumb {
        width: 60px;
        height: 60px;
    }

    .cart-item-title-text {
        font-size: 14px;
    }

    .cart-item-pricing-wrap {
        gap: 8px;
    }

    .cart-subtotal-box {
        padding-left: 8px;
    }
}

/* Checkout Address Form Grids */
.checkout-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.checkout-form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .checkout-form-grid-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .checkout-form-grid-3 {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .checkout-form-grid-3 {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* ==========================================================================
   NEW REDESIGN SECTIONS (HERO, GRIDS, CTA)
   ========================================================================== */

/* Split Hero Container */
.split-hero-container {
    display: flex;
    height: 480px;
}

.hero-carousel-col {
    width: 65%;
    position: relative;
    overflow: hidden;
}

.hero-carousel-inner {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 48px;
}

.hero-slide-content {
    max-width: 600px;
    color: #fff;
    z-index: 2;
}

.hero-slide-content h1 {
    font-size: 46px;
    font-weight: 800;
    line-height: 1.1;
    margin: 16px 0;
}

.hero-nav-dots {
    position: absolute;
    bottom: 24px;
    left: 48px;
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-nav-dots span {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.hero-nav-dots span.active {
    width: 24px;
    background: var(--aps-green-main);
}

.hero-promo-col {
    width: 35%;
    display: flex;
    flex-direction: column;
}

.promo-card {
    flex: 1;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    text-decoration: none;
}

.promo-badge {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 8px;
}

.btn-promo-sm {
    display: inline-block;
    border: 1px solid;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-promo-sm:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Feature Badges Ribbon (Seamless Full-Width on Desktop/Laptop) */
.feature-strip {
    width: 100% !important;
    background: #0b2413 !important;
    padding: 18px 0 !important;
    margin: 0 0 36px 0 !important;
    border-radius: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
    box-sizing: border-box !important;
}

.feature-strip-inner {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 48px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 24px !important;
    box-sizing: border-box !important;
}

.feature-strip-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    transition: transform 0.2s ease !important;
}

.feature-strip-item:hover {
    transform: translateY(-2px) !important;
}

.feature-strip-item i,
.feature-strip-item svg {
    width: 24px !important;
    height: 24px !important;
    color: #10b981 !important;
    flex-shrink: 0 !important;
}

.feature-strip-info {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.25 !important;
}

.feature-strip-info strong {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 2px !important;
}

.feature-strip-info span {
    font-size: 12px !important;
    color: #94a3b8 !important;
    font-weight: 400 !important;
}

/* Grids */
.layout-grid-3col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.layout-left-cols {
    display: flex;
    flex-direction: column;
}

.layout-right-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.small-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.pest-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
}

.pest-img-wrap {
    width: 72px;
    height: 72px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.pest-img-wrap i {
    width: 32px;
    height: 32px;
    color: #475569;
}

.pest-item:hover .pest-img-wrap {
    background: #e0f2fe;
    border-color: #38bdf8;
}

.pest-item:hover .pest-img-wrap i {
    color: #0284c7;
}

.pest-name {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.view-all-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--aps-green-main);
    text-decoration: none;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Recommendation Widget */
.recommendation-widget {
    background: #fff;
    border: 1px solid #eef2f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--aps-green-dark);
    margin: 0 0 8px 0;
}

.widget-desc {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}

.widget-step label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.widget-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
    outline: none;
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="%234b5563" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"/></svg>') no-repeat right 12px center;
    background-color: #fff;
}

.widget-select:focus {
    border-color: var(--aps-green-main);
    box-shadow: 0 0 0 3px var(--aps-green-light);
}

.btn-widget {
    background: var(--aps-green-main);
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.btn-widget:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.btn-widget:hover:not(:disabled) {
    background: #15803d;
}

.btn-widget-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid #d1d5db;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.btn-widget-outline:hover {
    background: #f3f4f6;
}

.benefit-card {
    transition: all 0.2s ease-in-out;
}

.benefit-card:hover {
    border-color: var(--aps-green-main);
    box-shadow: 0 4px 12px rgba(29, 123, 56, 0.08);
}

/* 2 Col Layout */
.layout-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Pre-Footer CTA */
.pre-footer-cta {
    display: flex;
    background: var(--aps-green-dark);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 48px;
}

.cta-content {
    flex: 1;
    padding: 48px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-content h2 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 16px 0;
}

.cta-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 32px;
    line-height: 1.5;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
}

.btn-cta-primary {
    background: var(--aps-green-main);
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-cta-primary:hover {
    background: #15803d;
}

.btn-cta-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.btn-cta-secondary:hover {
    background: #fff;
    color: var(--aps-green-dark);
}

.cta-image {
    flex: 1;
    display: flex;
}

.cta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* New Redesign Responsive Overrides */
@media (max-width: 1024px) {
    .split-hero-container {
        flex-direction: column;
        height: auto;
    }

    .hero-carousel-col {
        width: 100%;
        height: 400px;
    }

    .hero-promo-col {
        width: 100%;
        flex-direction: row;
    }

    .layout-grid-3col {
        grid-template-columns: 1fr;
    }

    .layout-grid-2col {
        grid-template-columns: 1fr;
    }

    .pre-footer-cta {
        flex-direction: column;
    }

    .cta-image img {
        height: 300px;
    }
}

@media (max-width: 768px) {
    /* Hero Banner Mobile Optimization */
    .split-hero-container {
        flex-direction: column !important;
        padding: 12px 16px !important;
        min-height: auto !important;
        gap: 16px !important;
    }

    .hero-carousel-col {
        width: 100% !important;
        height: 270px !important;
        min-height: 270px !important;
        flex: none !important;
        border-radius: 14px !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .hero-slide {
        padding: 24px 20px !important;
        justify-content: center !important;
        inset: 0 !important;
        position: absolute !important;
    }

    .hero-content {
        max-width: 100% !important;
    }

    .hero-title {
        font-size: 20px !important;
        line-height: 1.25 !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        margin-bottom: 8px !important;
    }

    .hero-desc {
        font-size: 13px !important;
        line-height: 1.4 !important;
        color: rgba(255, 255, 255, 0.9) !important;
        margin-bottom: 16px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .btn-hero-primary {
        padding: 9px 20px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 8px !important;
        width: auto !important;
        display: inline-flex !important;
    }

    .hero-nav-dots {
        bottom: 12px !important;
        left: 20px !important;
    }

    .hero-promo-col {
        width: 100% !important;
        flex: none !important;
        margin-top: 0 !important;
    }

    .rec-widget-banner {
        padding: 16px 18px !important;
        margin-bottom: 0 !important;
    }

    /* Ribbon Cards (Feature Strip) on Mobile */
    .feature-strip {
        width: 100% !important;
        padding: 12px 14px !important;
        margin: 0 0 24px 0 !important;
        background: #0b2413 !important;
        border-radius: 0 !important;
    }

    .feature-strip-inner {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .feature-strip-item {
        display: flex !important;
        align-items: center !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.14) !important;
        border-radius: 10px !important;
        padding: 10px 10px !important;
        gap: 8px !important;
        box-sizing: border-box !important;
    }

    .feature-strip-item i,
    .feature-strip-item svg {
        width: 22px !important;
        height: 22px !important;
        color: #10b981 !important;
        flex-shrink: 0 !important;
    }

    .feature-strip-info {
        display: flex !important;
        flex-direction: column !important;
        line-height: 1.25 !important;
    }

    .feature-strip-info strong {
        font-size: 12px !important;
        color: #ffffff !important;
        margin-bottom: 2px !important;
    }

    .feature-strip-info span {
        font-size: 10px !important;
        color: #94a3b8 !important;
    }

    .small-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-content {
        padding: 32px 24px;
    }

    .cta-content h2 {
        font-size: 24px;
    }
}

/* Custom Dropdown Styling */
.custom-select-container {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
}

.custom-select-trigger {
    width: 100%;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-dark);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}

.custom-select-trigger:focus, .custom-select-trigger.open {
    border-color: var(--aps-green-main);
    box-shadow: 0 0 0 3px var(--aps-green-light);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    max-height: 200px;
    overflow-y: auto;
    padding: 4px 0;
}

.custom-select-option {
    padding: 8px 14px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.15s;
}

.custom-select-option:hover {
    background: var(--aps-green-light);
    color: var(--aps-green-dark);
}

/* Modal Hide Safety & Alpine Support */
.modal-overlay[style*="display: none"],
.admin-modal-overlay[style*="display: none"],
.modal-overlay[style*="display:none"],
.admin-modal-overlay[style*="display:none"],
.modal-overlay[hidden],
.admin-modal-overlay[hidden],
[x-cloak] {
    display: none !important;
}

/* Subpages Responsive Grids (Videos, Knowledge, Downloads, Salah, Stories) */
@media (max-width: 768px) {
    #video-grid,
    .videos-grid,
    .knowledge-grid,
    .downloads-grid,
    .stories-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .wishlist-grid,
    .wishlist-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .salah-hero-grid,
    .salah-two-col {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .faq-accordion-item {
        padding: 14px 16px !important;
    }

    .faq-question {
        font-size: 15px !important;
    }
}

