/*
Theme Name: DeisyTech
Theme URI: https://deisytech.com
Author: DeisyTech Team
Description: Custom WooCommerce Theme for Computer Hardware & Electronics in Dubai
Version: 1.0.0
*/

/* Reset & Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
}

/* ===================================================
   HEADER & LOGO STYLING
   =================================================== */

.dt-top-bar {
    background-color: #0f172a !important;
    color: #cbd5e1 !important;
    font-size: 13px !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dt-top-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dt-top-info span {
    margin-right: 20px;
    color: #cbd5e1;
}

.dt-top-info i {
    color: #3b82f6;
    margin-right: 5px;
}

.dt-top-contact a {
    color: #22c55e !important;
    text-decoration: none;
    font-weight: 600;
}

.dt-header-custom {
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 10px 0 !important;
    position: sticky;
    top: 0;
    z-index: 999;
}

.dt-header-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dt-logo-wrap {
    display: flex;
    align-items: center;
}

.dt-logo-wrap img,
.custom-logo {
    max-height: 45px !important;
    width: auto !important;
    display: block;
    object-fit: contain;
}

.dt-text-logo {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    text-decoration: none;
}

.dt-text-logo span {
    color: #2563eb;
}

.dt-nav-custom ul,
.dt-menu-list {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 25px !important;
}

.dt-nav-custom li,
.dt-menu-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dt-nav-custom a,
.dt-menu-list a {
    color: #1e293b !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    transition: color 0.2s ease;
}

.dt-nav-custom a:hover,
.dt-menu-list a:hover {
    color: #2563eb !important;
}

.dt-actions-custom {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dt-cart-link {
    position: relative;
    color: #0f172a;
    font-size: 20px;
    text-decoration: none;
}

.dt-cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #2563eb;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    height: 18px;
    width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dt-btn-inquire {
    background-color: #2563eb !important;
    color: #ffffff !important;
    padding: 8px 16px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dt-btn-inquire:hover {
    background-color: #1d4ed8 !important;
}

/* ===================================================
   SEARCH BAR & HERO SECTION
   =================================================== */

.dt-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 15px;
}

.dt-main-wrapper {
    padding: 20px 0 40px 0;
}

.dt-search-section {
    margin-bottom: 20px;
}

.dt-search-wrapper {
    display: flex;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.dt-search-cat {
    border: none;
    background: #f1f5f9;
    padding: 10px 15px;
    font-size: 14px;
    outline: none;
    border-right: 1px solid #cbd5e1;
}

.dt-search-input {
    border: none;
    padding: 10px 15px;
    width: 100%;
    font-size: 14px;
    outline: none;
}

.dt-search-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
}

.dt-search-btn:hover {
    background: #1d4ed8;
}

.dt-hero-grid {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    gap: 20px !important;
    align-items: start !important;
}

.dt-sidebar-cats {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
}

.dt-cat-header {
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
}

.dt-cat-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dt-cat-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.dt-cat-list li:last-child {
    border-bottom: none !important;
}

.dt-cat-list a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 18px !important;
    color: #334155 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}

.dt-cat-list a:hover {
    background: #eff6ff !important;
    color: #2563eb !important;
    padding-left: 22px !important;
}

.dt-hero-slider-wrap {
    border-radius: 8px !important;
    overflow: hidden !important;
    min-height: 380px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

.dt-hero-swiper {
    width: 100% !important;
    height: 100% !important;
    min-height: 380px !important;
}

.slide-content-inner {
    padding: 40px 50px !important;
    max-width: 550px !important;
}

.dt-slide-badge {
    display: inline-block !important;
    background: rgba(37, 99, 235, 0.2) !important;
    color: #60a5fa !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    margin-bottom: 15px !important;
}

.slide-content-inner h1 {
    font-size: 32px !important;
    color: #ffffff !important;
    margin: 0 0 12px 0 !important;
}

.slide-content-inner h1 span {
    color: #60a5fa !important;
}

.slide-content-inner p {
    color: #cbd5e1 !important;
    font-size: 14px !important;
    margin: 0 0 20px 0 !important;
}

.dt-btn-primary {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

/* ===================================================
   MOBILE & DESKTOP FIXED ULTRA-COMPACT MARQUEE
   =================================================== */

.dt-marquee-wrapper {
    margin: 15px 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    clear: both !important;
}

.dt-marquee-section {
    width: 100% !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px !important;
    overflow: hidden !important;
    position: relative !important;
    display: block !important;
}

.dt-marquee-swiper {
    width: 100% !important;
    overflow: hidden !important;
}

.dt-marquee-swiper .swiper-wrapper {
    display: flex !important;
    align-items: center !important;
    transition-timing-function: linear !important;
}

/* Slide Width Force Fix */
.dt-marquee-slide.swiper-slide {
    width: auto !important;
    flex-shrink: 0 !important;
}

/* Square Card Box Styling */
.dt-square-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 75px !important;
    height: 75px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    padding: 4px !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

.dt-square-card:hover {
    border-color: #2563eb !important;
    background: #ffffff !important;
}

.dt-square-img {
    width: 35px !important;
    height: 35px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 2px !important;
}

.dt-square-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

.dt-square-title {
    font-size: 8px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-align: center !important;
    width: 100% !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    line-height: 1 !important;
}

.dt-square-price {
    font-size: 8px !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    display: block !important;
    line-height: 1.2 !important;
}

.dt-square-price del {
    display: none !important;
}

/* Mobile Responsive Override */
@media screen and (max-width: 600px) {
    .dt-square-card {
        width: 60px !important;
        height: 60px !important;
        padding: 3px !important;
    }

    .dt-square-img {
        width: 26px !important;
        height: 26px !important;
    }

    .dt-square-title,
    .dt-square-price {
        font-size: 7px !important;
    }
}

/* ===================================================
   FEATURED PRODUCTS SECTION STYLES
   =================================================== */

.dt-products-section {
    padding: 50px 0 60px 0;
    background-color: #f8fafc;
}

.dt-sec-heading {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    margin-bottom: 30px !important;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
}

.dt-sec-title h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 4px 0 !important;
}

.dt-sec-title p {
    font-size: 14px !important;
    color: #64748b !important;
    margin: 0 !important;
}

.dt-link-all {
    color: #2563eb !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.dt-link-all:hover {
    gap: 10px;
}

.dt-product-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
    gap: 20px !important;
}

.dt-product-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}

.dt-product-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 20px rgba(0,0,0,0.06) !important;
    border-color: #2563eb !important;
}

.dt-prod-img {
    height: 190px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.dt-prod-img img {
    max-height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
}

.dt-prod-details {
    padding: 15px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
}

.dt-prod-title {
    margin: 0 0 10px 0 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}

.dt-prod-title a {
    color: #0f172a !important;
    text-decoration: none !important;
}

.dt-prod-price {
    font-size: 16px !important;
    color: #2563eb !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
    margin-top: auto !important;
}

.dt-add-cart-btn {
    background: #f1f5f9 !important;
    color: #1e293b !important;
    text-align: center !important;
    padding: 9px 0 !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: all 0.2s !important;
}

.dt-add-cart-btn:hover {
    background: #2563eb !important;
    color: #ffffff !important;
}

/* ===================================================
   COMPACT & PROFESSIONAL FOOTER STYLES
   =================================================== */

.dt-footer {
    background-color: #0b0f19 !important;
    color: #94a3b8 !important;
    padding: 35px 0 0 0 !important;
    margin-top: 30px !important;
    border-top: 1px solid #1e293b !important;
    font-size: 13px !important;
}

.dt-footer-grid {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr 1fr !important;
    gap: 25px !important;
    padding-bottom: 25px !important;
}

/* Brand Section */
.dt-footer-brand .dt-logo {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.5px !important;
}

.dt-footer-brand .dt-logo span {
    color: #2563eb !important;
}

.dt-footer-desc {
    color: #94a3b8 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    max-width: 280px !important;
}

/* Column Headings */
.dt-footer-title {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 0 10px 0 !important;
}

/* Footer Navigation Links */
.dt-footer-links {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.dt-footer-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dt-footer-links a {
    color: #94a3b8 !important;
    text-decoration: none !important;
    font-size: 12px !important;
    transition: color 0.2s ease, padding-left 0.2s ease !important;
    display: inline-block !important;
}

.dt-footer-links a:hover {
    color: #60a5fa !important;
    padding-left: 4px !important;
}

/* Address Styling */
.dt-footer-address {
    color: #94a3b8 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
}

.dt-footer-address i {
    color: #2563eb !important;
    margin-right: 4px !important;
}

/* Sub-Footer / Copyright Section */
.dt-copyright {
    background-color: #060911 !important;
    padding: 12px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.dt-copyright-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.dt-copyright p {
    margin: 0 !important;
    font-size: 11px !important;
    color: #64748b !important;
}

.dt-copyright strong {
    color: #cbd5e1 !important;
}

.dt-badge-uae {
    font-size: 11px !important;
    color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.08) !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(56, 189, 248, 0.2) !important;
}

/* Compact WhatsApp Floating Action */
.dt-whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    background-color: #25d366 !important;
    color: #ffffff !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    text-align: center !important;
    font-size: 22px !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3) !important;
    text-decoration: none !important;
    transition: transform 0.2s ease !important;
}

.dt-whatsapp-float:hover {
    transform: scale(1.1) !important;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .dt-footer-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .dt-copyright-inner {
        flex-direction: column !important;
        gap: 6px !important;
        text-align: center !important;
    }
}