/* Perdeta Theme - Bootstrap 5 Custom Styles */
:root {
    --perdeta-primary: #7bbd42;
    --perdeta-primary-dark: #1D4ED8;
    --perdeta-bg-light: #F3F4F6;
    --perdeta-bg-dark: #111827;
    --perdeta-card-light: #FFFFFF;
    --perdeta-card-dark: #1F2937;
    --perdeta-text-light: #1F2937;
    --perdeta-text-dark: #F3F4F6;
    --perdeta-muted-light: #6B7280;
    --perdeta-muted-dark: #9CA3AF;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--perdeta-bg-light);
    color: var(--perdeta-text-light);
}

/* Accessibility: links inside .text-muted must not rely on color alone */
.text-muted a {
    text-decoration: underline;
    text-decoration-skip-ink: auto;
}

.phone-top-menu 
{
    font-size: 16px;
    color:var(--perdeta-bg-dark) !important;
}
.phone-top-menu a {color: var(--perdeta-bg-dark) !important;font-weight: bolder;}
a.phone-top-color {color: var(--perdeta-bg-dark) !important;text-decoration: none;}

/* Container Width - Stitch Style (wider ~1506px) */
.container {
    max-width: 1536px !important;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1506px !important;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1536px !important;
    }
}

/* Dark Mode */
[data-bs-theme="dark"] body {
    background-color: var(--perdeta-bg-dark);
    color: var(--perdeta-text-dark);
}

/* Top Bar */
.perdeta-topbar {
    font-size: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #fff;
    position: relative;
    z-index: 99;
}

[data-bs-theme="dark"] .perdeta-topbar {
    background-color: #1f2937;
    border-color: #374151;
}

.perdeta-topbar a {
    color: var(--perdeta-muted-light);
    text-decoration: underline;
    transition: color 0.3s;
}

.perdeta-topbar a:hover {
    color: var(--perdeta-primary);
}

/* Header */
.perdeta-header {
    background-color: #fff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

[data-bs-theme="dark"] .perdeta-header {
    background-color: #1f2937;
    border-color: #374151;
}

.perdeta-logo {
    font-size: 1.875rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: #111827;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

[data-bs-theme="dark"] .perdeta-logo {
    color: #fff;
}

.perdeta-logo-icon {
    color: var(--perdeta-primary);
    font-size: 2.5rem;
    transform: rotate(-12deg);
    transition: transform 0.3s;
}

.perdeta-logo:hover .perdeta-logo-icon {
    transform: rotate(0deg);
}

/* Search Box */
.perdeta-search {
    position: relative;
    display: flex;
    align-items: center;
    height: 3rem;
    border-radius: 50rem;
    border: 1px solid #d1d5db;
    background-color: #f9fafb;
    overflow: visible;
    transition: all 0.3s;
}

.perdeta-search:focus-within {
    border-color: var(--perdeta-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

[data-bs-theme="dark"] .perdeta-search {
    background-color: #374151;
    border-color: #4b5563;
}

/* Dropdown wrapper inside search */
.perdeta-search > .dropdown {
    position: relative;
    height: 100%;
}

.perdeta-search .category-btn {
    height: 100%;
    padding: 0 1rem;
    border: none;
    border-right: 1px solid #d1d5db;
    background: transparent;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 50rem 0 0 50rem;
}

[data-bs-theme="dark"] .perdeta-search .category-btn {
    border-color: #4b5563;
    color: #d1d5db;
}

.perdeta-search input {
    flex: 1;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 1rem;
    font-size: 0.875rem;
    outline: none;
}

.perdeta-search .search-btn {
    height: 100%;
    width: 3rem;
    border: none;
    background: transparent;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
    border-radius: 0 50rem 50rem 0;
}

.perdeta-search .search-btn:hover {
    color: var(--perdeta-primary);
}

/* Category Dropdown - Hidden by default, visible with .show class */
.perdeta-search .dropdown-menu.perdeta-search-categories {
    display: none;
    min-width: 12rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background-color: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 9999;
    max-height: 300px;
    overflow-y: auto;
}

.perdeta-search .dropdown-menu.perdeta-search-categories.show {
    display: block;
}

[data-bs-theme="dark"] .perdeta-search .dropdown-menu.perdeta-search-categories {
    background-color: #1f2937;
    border-color: #4b5563;
}

.perdeta-search .dropdown-menu.perdeta-search-categories .dropdown-item {
    padding: 0.5rem 1rem;
    color: #4b5563;
    font-size: 0.875rem;
    transition: all 0.2s;
    cursor: pointer;
}

[data-bs-theme="dark"] .perdeta-search .dropdown-menu.perdeta-search-categories .dropdown-item {
    color: #d1d5db;
}

.perdeta-search .dropdown-menu.perdeta-search-categories .dropdown-item:hover,
.perdeta-search .dropdown-menu.perdeta-search-categories .dropdown-item.active {
    background-color: #f3f4f6;
    color: var(--perdeta-primary);
}

[data-bs-theme="dark"] .perdeta-search .dropdown-menu.perdeta-search-categories .dropdown-item:hover,
.perdeta-search .dropdown-menu.perdeta-search-categories .dropdown-item.active {
    background-color: #b7e1bc;
}

/* Header Icons */
.perdeta-header-icon {
    position: relative;
    color: #4b5563;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.perdeta-header-icon:hover {
    color: var(--perdeta-primary);
}

.perdeta-header-icon .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--perdeta-primary);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.375rem;
    border-radius: 50rem;
}

/* Dropdown Header (Cart & Wishlist) */
.perdeta-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 0.5rem 0.5rem 0 0;
    position: sticky;
    top: 0;
    z-index: 1;
}

.perdeta-dropdown-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    background: none;
    color: #6b7280;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s;
}

.perdeta-dropdown-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

[data-bs-theme="dark"] .perdeta-dropdown-header {
    background: #1f2937;
    border-color: #374151;
}

[data-bs-theme="dark"] .perdeta-dropdown-close:hover {
    background: #374151;
    color: #f3f4f6;
}

/* Cart Dropdown */
.perdeta-cart-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.perdeta-cart-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 380px;
    max-width: 100vw;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.perdeta-cart-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.perdeta-cart-loading {
    padding: 2rem;
    color: #9ca3af;
}

.perdeta-cart-loading .material-icons.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.perdeta-cart-empty {
    padding: 2rem;
    text-align: center;
    color: #6b7280;
}

.perdeta-cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s;
}

.perdeta-cart-item:hover {
    background-color: #f9fafb;
}

.perdeta-cart-item:last-child {
    border-bottom: none;
}

.perdeta-cart-item-img {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 0.375rem;
    overflow: hidden;
    background-color: #f3f4f6;
}

.perdeta-cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.perdeta-cart-item-info {
    flex: 1;
    min-width: 0;
}

.perdeta-cart-item-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1f2937;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.perdeta-cart-item-name a {
    color: inherit;
    text-decoration: none;
}

.perdeta-cart-item-name a:hover {
    color: var(--perdeta-primary);
}

.perdeta-cart-item-opts {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 0.25rem;
}

.perdeta-cart-item-price {
    font-size: 0.875rem;
    color: #374151;
}

.perdeta-cart-item-remove {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s;
    align-self: flex-start;
}

.perdeta-cart-item-remove:hover {
    color: #ef4444;
}

.perdeta-cart-footer {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.perdeta-cart-totals {
    margin-bottom: 1rem;
}

.perdeta-cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.perdeta-cart-total-row.total {
    font-weight: 700;
    font-size: 1rem;
    color: #1f2937;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 0;
}

.perdeta-cart-buttons {
    display: flex;
    gap: 0.5rem;
}

.perdeta-cart-buttons .btn {
    flex: 1;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Dark mode cart dropdown */
[data-bs-theme="dark"] .perdeta-cart-menu {
    background: #1f2937;
    border-color: #374151;
}

[data-bs-theme="dark"] .perdeta-cart-item {
    border-color: #374151;
}

[data-bs-theme="dark"] .perdeta-cart-item:hover {
    background-color: #374151;
}

[data-bs-theme="dark"] .perdeta-cart-item-name {
    color: #f3f4f6;
}

[data-bs-theme="dark"] .perdeta-cart-footer {
    background-color: #111827;
    border-color: #374151;
}

[data-bs-theme="dark"] .perdeta-cart-total-row.total {
    color: #f3f4f6;
    border-color: #374151;
}

/* Navigation */
.perdeta-nav {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
}

[data-bs-theme="dark"] .perdeta-nav {
    background-color: #1f2937;
    border-color: #374151;
}

.perdeta-nav .nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #374151;
    padding: 0.75rem 0;
    margin: 0 1rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.perdeta-nav .nav-link:hover,
.perdeta-nav .nav-link.active {
    color: var(--perdeta-primary);
    border-bottom-color: var(--perdeta-primary);
}

.perdeta-nav .nav-deals {
    color: var(--perdeta-primary);
    font-weight: 700;
}

/* Main Layout - Stitch E-commerce Style */
.perdeta-sidebar {
    width: 25%;
    flex-shrink: 0;
    gap: 1.5rem;
}

.perdeta-sidebar a {color: rgb(59, 96, 27) !important;}

.perdeta-main {
    width: 100%;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .perdeta-main {
        width: 75%;
    }
}

@media (max-width: 991.98px) {
    .perdeta-sidebar {
        display: none !important;
    }

    .perdeta-main {
        width: 100%;
    }
}

/* Full Width Layout (No Sidebar) */
.perdeta-fullwidth-content {
    width: 100%;
}

.perdeta-fullwidth-content .perdeta-card-section {
    margin-bottom: 2rem;
}

.perdeta-fullwidth-content .perdeta-product-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 991.98px) {
    .perdeta-fullwidth-content .perdeta-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .perdeta-fullwidth-content .perdeta-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Gap Utilities */
.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.gap-4 {
    gap: 1.5rem !important;
}

.gap-6 {
    gap: 1.5rem !important;
}

/* Sidebar Banner - Full height like Stitch */
.perdeta-sidebar-banner {
    flex: 1;
    min-height: 300px;
    max-height: 400px;
}

/* Feature Boxes Grid - Stitch Style */
.perdeta-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 991.98px) {
    .perdeta-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .perdeta-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Product Grid - Stitch Style */
.perdeta-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 991.98px) {
    .perdeta-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 767.98px) {
    .perdeta-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    /* Mobile: Module grids become horizontal scroll carousel showing 2 items */
    .perdeta-card-section .perdeta-product-grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .perdeta-card-section .perdeta-product-grid::-webkit-scrollbar {
        display: none;
    }

    .perdeta-card-section .perdeta-product-grid > * {
        flex: 0 0 calc(50% - 0.375rem);
        scroll-snap-align: start;
    }

    .perdeta-product-card {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    .perdeta-product-card .product-image {
        width: 100%;
        aspect-ratio: 1;
        margin-bottom: 0;
        border-radius: 0.5rem 0.5rem 0 0;
    }

    .perdeta-product-card .product-info-mobile {
        display: flex;
        flex-direction: column;
        padding: 0.5rem;
    }

    .perdeta-product-card .product-title {
        -webkit-line-clamp: 1;
        line-clamp: 1;
        max-height: 1.3em;
        font-size: 0.8125rem;
    }

    .perdeta-product-card .product-rating {
        display: none;
    }

    .perdeta-product-card .product-price {
        font-size: 1rem;
    }

    .perdeta-product-card .discount-badge {
        top: 0.5rem;
        left: 0.5rem;
        font-size: 0.625rem;
        padding: 0.125rem 0.375rem;
    }

    .perdeta-product-card .product-actions {
        display: none;
    }
}

/* Container Padding - Stitch Style */
.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Category Sidebar */
.perdeta-categories {
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
}

[data-bs-theme="dark"] .perdeta-categories {
    background-color: #1f2937;
}

.perdeta-categories-header {
    background-color: var(--perdeta-primary);
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.perdeta-categories .list-group-item {
    border: none;
    border-bottom: 1px solid #f3f4f6;
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: background-color 0.3s;
}

[data-bs-theme="dark"] .perdeta-categories .list-group-item {
    background-color: #1f2937;
    border-color: #374151;
    color: #f3f4f6;
}

.perdeta-categories .list-group-item:hover {
    background-color: #f9fafb;
}

[data-bs-theme="dark"] .perdeta-categories .list-group-item:hover {
    background-color: #374151;
}

.perdeta-categories .category-icon {
    margin-right: 0.75rem;
}

.perdeta-categories .hot-deals {
    color: #ef4444;
    font-weight: 500;
}

/* Hero Slider */
.perdeta-hero {
    position: relative;
    background-color: #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.perdeta-hero-slide {
    position: relative;
    height: 100%;
}

.perdeta-hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.perdeta-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0.4), transparent);
}

[data-bs-theme="dark"] .perdeta-hero-overlay {
    background: linear-gradient(to right, rgba(17,24,39,1), rgba(17,24,39,0.6), transparent);
}

.perdeta-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 3rem;
}

.perdeta-hero-badge {
    display: inline-block;
    background-color: #ef4444;
    color: #fff;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.perdeta-hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1f2937;
    line-height: 1.2;
}

[data-bs-theme="dark"] .perdeta-hero-title {
    color: #fff;
}

.perdeta-hero-title .highlight {
    background: linear-gradient(to right, #22c55e, var(--perdeta-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.perdeta-hero-title .accent {
    color: var(--perdeta-primary);
    font-style: italic;
    font-family: serif;
}

/* Feature Boxes - Updated for Stitch E-commerce Design */
.perdeta-feature-box {
    background-color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid transparent;
    transition: all 0.3s;
    height: 100%;
}

.perdeta-feature-box:hover {
    border-color: #e5e7eb;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

[data-bs-theme="dark"] .perdeta-feature-box {
    background-color: #1f2937;
}

[data-bs-theme="dark"] .perdeta-feature-box:hover {
    border-color: #374151;
}

.perdeta-feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: rgba(37, 99, 235, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--perdeta-primary);
    flex-shrink: 0;
}

.perdeta-feature-box h4 {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.125rem;
}

.perdeta-feature-box p {
    font-size: 0.75rem;
    color: var(--perdeta-muted-light);
    margin: 0;
}

/* Responsive - Full width on mobile */
@media (max-width: 991px) {
    .perdeta-feature-box {
        margin-bottom: 0;
    }

    .perdeta-feature-box p {
        display: none;
    }
}

/* Category Circles */
.perdeta-category-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    text-decoration: none;
}

.perdeta-category-circle .circle-img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0.25rem;
    transition: border-color 0.3s;
}

@media (max-width: 767.98px) {
    .perdeta-category-circle .circle-img {
        width: 9rem;
        height: 9rem;
    }
}

.perdeta-category-circle:hover .circle-img {
    border-color: var(--perdeta-primary);
}

.perdeta-category-circle .circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.perdeta-category-circle span {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    transition: color 0.3s;
}

.perdeta-category-circle:hover span {
    color: var(--perdeta-primary);
}

/* Product Card */
.perdeta-product-card {
    position: relative;
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 0.5rem;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.perdeta-product-card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #f3f4f6;
}

[data-bs-theme="dark"] .perdeta-product-card {
    background-color: #1f2937;
}

[data-bs-theme="dark"] .perdeta-product-card:hover {
    border-color: #4b5563;
}

.perdeta-product-card .discount-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background-color: #ef4444;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    z-index: 10;
}

.perdeta-product-card .product-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 0.5rem;
    margin-bottom: 0.75rem;
    background-color: #f9fafb;
}

[data-bs-theme="dark"] .perdeta-product-card .product-image {
    background-color: #374151;
}

.perdeta-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.perdeta-product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Product Info Wrapper - transparent on desktop, flex column on mobile */
.perdeta-product-card .product-info-mobile {
    display: contents;
}

.perdeta-product-card .product-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 0.25rem;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
    max-height: 4.2em;
}

.perdeta-product-card .product-title:hover {
    color: var(--perdeta-primary);
}

[data-bs-theme="dark"] .perdeta-product-card .product-title {
    color: #f3f4f6;
}

.perdeta-product-card .product-price {
    color: var(--perdeta-primary);
    font-weight: 700;
}

.perdeta-product-card .product-price-old {
    font-size: 0.75rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.perdeta-product-card .product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.perdeta-product-card:hover .product-actions {
    opacity: 1;
}

.perdeta-product-card .product-actions .btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: none;
    color: #4b5563;
    transition: all 0.3s;
}

.perdeta-product-card .product-actions .btn:hover {
    background-color: var(--perdeta-primary);
    color: #fff;
}

/* Section Headers */
.perdeta-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

@media (max-width: 767.98px) {
    .perdeta-section-header {
        padding-top: 1rem;
        margin-left: 1rem;
    }
}

[data-bs-theme="dark"] .perdeta-section-header {
    border-color: #374151;
}

.perdeta-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

/* Countdown Timer */
.perdeta-countdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.perdeta-countdown .time-box {
    background-color: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.perdeta-countdown .separator {
    color: #9ca3af;
}

/* Sidebar Banner */
.perdeta-sidebar-banner {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    cursor: pointer;
}

.perdeta-sidebar-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.perdeta-sidebar-banner:hover img {
    transform: scale(1.05);
}

.perdeta-sidebar-banner .banner-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
}

.perdeta-sidebar-banner .banner-subtitle {
    color: #fff;
    font-size: 1.125rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.perdeta-sidebar-banner .banner-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Fixed Side Buttons */
.perdeta-side-buttons {
    position: fixed;
    right: 0;
    top: 33%;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.perdeta-side-buttons .btn {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--perdeta-primary);
    color: #fff;
    border: none;
    border-radius: 0.375rem 0 0 0.375rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.3s;
}

.perdeta-side-buttons .btn:hover {
    background-color: var(--perdeta-primary-dark);
}

.perdeta-side-buttons .btn-scroll-top {
    background-color: #4d7d23;
    margin-top: 1rem;
}

.perdeta-side-buttons .btn-scroll-top:hover {
    background-color: #7bbd42;
}

/* Theme Toggle */
.perdeta-theme-toggle {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1050;
}

.perdeta-theme-toggle .btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1f2937;
    color: #fff;
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.perdeta-theme-toggle .btn:hover {
    transform: scale(1.1);
}

[data-bs-theme="dark"] .perdeta-theme-toggle .btn {
    background-color: #fff;
    color: #1f2937;
}

/* Card Sections */
.perdeta-card-section {
    background-color: #fff;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

@media (max-width: 767.98px) {
    .product-page .perdeta-card-section
    {
        padding: 1rem;
    }
    .home .perdeta-card-section {
        padding: 0rem;
    }
}

[data-bs-theme="dark"] .perdeta-card-section {
    background-color: #1f2937;
}

/* Hide Scrollbar */
.hide-scroll::-webkit-scrollbar {
    display: none;
}

.hide-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Footer */
.perdeta-footer {
    background-color: #1f2937;
    color: #9ca3af;
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.perdeta-footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.perdeta-footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s;
}

.perdeta-footer a:hover {
    color: var(--perdeta-primary);
}

.perdeta-footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    margin-top: 2rem;
}

/* Buttons */
.btn-perdeta {
    background-color: var(--perdeta-primary);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 50rem;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
    transition: all 0.3s;
}

.btn-perdeta:hover {
    background-color: var(--perdeta-primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 991.98px) {
    .perdeta-hero {
        height: 300px;
    }
    
    .perdeta-hero-title {
        font-size: 1.75rem;
    }
    
    .perdeta-hero-content {
        padding: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .perdeta-header {
        padding: 1rem 0;
    }
    
    .perdeta-logo {
        font-size: 1.5rem;
    }
    
    .perdeta-hero {
        height: 250px;
    }
    
    .perdeta-hero-title {
        font-size: 1.25rem;
    }
}

/* Category Icon Colors */
.perdeta-category-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.perdeta-category-icon.hot-deals { color: #ef4444; }
.perdeta-category-icon.electronics { color: #3b82f6; }
.perdeta-category-icon.furniture { color: #f97316; }
.perdeta-category-icon.fashion { color: #a855f7; }
.perdeta-category-icon.jewelry { color: #14b8a6; }
.perdeta-category-icon.beauty { color: #ec4899; }
.perdeta-category-icon.baby { color: #eab308; }
.perdeta-category-icon.toys { color: #6366f1; }
.perdeta-category-icon.cars { color: #dc2626; }

/* Hero Badge Animation */
.perdeta-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(239, 68, 68, 0.3);
    animation: bounce-gentle 2s infinite;
}

@keyframes bounce-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Today's Deals Nav Link */
.perdeta-nav-deals {
    color: #ef4444 !important;
    font-weight: 700;
    position: relative;
}

.perdeta-nav-deals::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ef4444;
}

/* Enhanced Countdown Styles */
.perdeta-countdown .time-box {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    min-width: 3.5rem;
    text-align: center;
}

.perdeta-countdown .separator {
    color: #ef4444;
    font-weight: 700;
    font-size: 1.125rem;
}

/* Top Bar Links */
.perdeta-topbar-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
    transition: color 0.3s;
}

.perdeta-topbar-link:hover {
    color: var(--perdeta-primary) !important;
}

/* Material Symbols Outlined */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
}

.material-symbols-outlined.filled {
    font-variation-settings: 'FILL' 1;
}

/* Live Search Dropdown */
.live-search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border: 1px solid #f0f4f0;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    margin-top: 0.5rem;
}

[data-bs-theme="dark"] .live-search-dropdown {
    background: #1a1a1a;
    border-color: #2a402a;
}

.live-search-product {
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s;
}

.live-search-product:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: inherit;
}

[data-bs-theme="dark"] .live-search-product:hover {
    background-color: #2a2a2a;
}

.live-search-product-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
}

.live-search-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-search-product-name {
    font-weight: 600;
    color: #111811;
    font-size: 0.875rem;
}

[data-bs-theme="dark"] .live-search-product-name {
    color: #fff;
}

.live-search-product-price {
    color: var(--perdeta-primary);
    font-weight: 700;
    font-size: 0.9375rem;
}

.live-search-product-model {
    font-size: 0.75rem;
}

.live-search-footer {
    border-top: 1px solid #f0f4f0;
}

[data-bs-theme="dark"] .live-search-footer {
    border-top-color: #2a402a;
}

/* Product Options Validation */
.product-options .mb-3.has-error {
    position: relative;
}

.product-options .mb-3.has-error::after {
    content: '';
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ef4444"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>') no-repeat center;
    background-size: contain;
    animation: shake 0.5s;
}

.product-options .mb-3.has-error .form-select,
.product-options .mb-3.has-error .form-control {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 0.25rem rgba(239, 68, 68, 0.25) !important;
}

.product-options .mb-3.has-error label {
    color: #ef4444 !important;
}

@keyframes shake {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateY(-50%) translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateY(-50%) translateX(5px); }
}

/* =============================================
   CHECKOUT PAGE - Modern UI
   ============================================= */

/* Checkout Section Cards */
.perdeta-checkout-section {
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
}

.perdeta-checkout-section fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.perdeta-checkout-section legend {
    display: none;
}

/* Section Title with Left Bar */
.perdeta-section-bar {
    display: inline-block;
    width: 4px;
    height: 1.2em;
    background: var(--perdeta-primary);
    border-radius: 2px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.perdeta-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    display: flex;
    align-items: center;
}

.perdeta-section-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
}

/* Login Hint Bar */
.perdeta-login-hint {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 0.875rem;
}

.perdeta-login-hint a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #fff;
    background: var(--perdeta-primary);
    font-weight: 600;
    text-decoration: none;
    padding: 0.2rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 1px 3px rgba(123, 189, 66, 0.3);
}

.perdeta-login-hint a:hover {
    background: var(--perdeta-primary-dark, #5a9e2e);
    box-shadow: 0 2px 6px rgba(123, 189, 66, 0.4);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}

.perdeta-login-hint a strong {
    font-weight: 700;
}

/* Login Modal */
.perdeta-login-modal-header {
    position: relative;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.perdeta-login-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--perdeta-primary);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(123, 189, 66, 0.3);
}

#modal-perdeta-login .modal-content {
    border: none;
}

#modal-perdeta-login .perdeta-icon-input > .form-control {
    border-radius: 0.75rem !important;
    font-size: 0.875rem;
}

#modal-perdeta-login .btn-perdeta {
    border-radius: 0.75rem;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

[data-bs-theme="dark"] .perdeta-login-modal-header {
    background: linear-gradient(135deg, #1a2e1a 0%, #1f3a1f 100%);
}

[data-bs-theme="dark"] #modal-perdeta-login .modal-content {
    background: #111827;
}

[data-bs-theme="dark"] #modal-perdeta-login .modal-body {
    background: #111827;
}

/* Account Tabs (Guest / Register) */
.perdeta-account-tabs {
    display: flex;
    gap: 0.75rem;
}

.perdeta-tab {
    flex: 1;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    color: #6b7280;
}

.perdeta-tab:hover {
    border-color: var(--perdeta-primary);
    color: var(--perdeta-primary);
}

.perdeta-tab.active {
    border-color: var(--perdeta-primary);
    background: var(--perdeta-primary);
    color: #fff;
}

.perdeta-tab span {
    padding: 0.75rem 1rem;
}

/* Icon Input (icon inside input with padding-left) */
.perdeta-icon-input {
    position: relative;
}

.perdeta-icon-input > i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.875rem;
    z-index: 2;
    pointer-events: none;
}

.perdeta-icon-input > .form-control {
    padding-left: 2.75rem !important;
    border-radius: 0.75rem !important;
    border: 1px solid #e5e7eb;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.perdeta-icon-input > .form-control:focus {
    border-color: var(--perdeta-primary);
    box-shadow: 0 0 0 3px rgba(123, 189, 66, 0.15);
}

.perdeta-icon-input > .form-control.is-invalid {
    border-color: #dc3545;
}

.perdeta-icon-input > .form-control.is-invalid ~ i {
    color: #dc3545;
}

[data-bs-theme="dark"] .perdeta-icon-input > i {
    color: #6b7280;
}

[data-bs-theme="dark"] .perdeta-icon-input > .form-control {
    background: #1f2937;
    border-color: #374151;
    color: #e5e7eb;
}

/* Form Controls */
.perdeta-input-group {
    border-radius: 0.75rem !important;
    border: 1px solid #e5e7eb;
    transition: border-color 0.2s, box-shadow 0.2s;
    flex-wrap: nowrap;
}

.perdeta-input-group:focus-within {
    border-color: var(--perdeta-primary);
    box-shadow: 0 0 0 3px rgba(123, 189, 66, 0.15);
}

.perdeta-input-group .input-group-text {
    border: none !important;
    background: transparent !important;
    color: #9ca3af;
    padding: 0.5rem 0.5rem 0.5rem 0.875rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.perdeta-input-group .input-group-text i,
.perdeta-input-group .input-group-text .fa-solid,
.perdeta-input-group .input-group-text .fa-regular {
    font-size: 0.875rem;
    width: 1rem;
    text-align: center;
}

.perdeta-input-group .form-control {
    border: none !important;
    padding: 0.65rem 0.875rem;
    font-size: 0.875rem;
    box-shadow: none !important;
    background: transparent !important;
}

.perdeta-input-group .form-control:focus {
    box-shadow: none !important;
}

.perdeta-input-group .btn {
    border: none !important;
    border-left: 1px solid #e5e7eb !important;
}

.perdeta-form-control {
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.perdeta-form-control:focus {
    border-color: var(--perdeta-primary);
    box-shadow: 0 0 0 3px rgba(123, 189, 66, 0.15);
}

/* Checkout form inputs override */
#checkout-checkout .form-control,
#checkout-checkout .form-select {
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#checkout-checkout .form-control:focus,
#checkout-checkout .form-select:focus {
    border-color: var(--perdeta-primary);
    box-shadow: 0 0 0 3px rgba(123, 189, 66, 0.15);
}

/* Perdeta Primary Color Utility */
.text-perdeta-primary {
    color: var(--perdeta-primary) !important;
}

/* Order Sidebar (Right Column) */
.perdeta-order-sidebar {
    position: sticky;
    top: 100px;
}

.perdeta-order-item {
    transition: box-shadow 0.2s;
}

.perdeta-order-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.perdeta-order-item-img img {
    border-radius: 0.5rem;
    background: #f9fafb;
}

/* Order Totals */
.perdeta-order-totals {
    font-size: 0.9rem;
}

/* Coupon Input */
.perdeta-order-coupon .input-group {
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.perdeta-order-coupon .input-group .input-group-text {
    border: none;
    background: #fff;
}

.perdeta-order-coupon .input-group .form-control {
    border: none;
    font-size: 0.875rem;
}

.perdeta-order-coupon .input-group .btn {
    border: none;
    border-left: 1px solid #e5e7eb;
}

/* Comment Section */
.perdeta-order-comment .form-control {
    border-radius: 0.75rem;
    resize: none;
}

/* Confirm Button */
.btn-perdeta-confirm {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    font-size: 1rem;
    letter-spacing: 0.05em;
    transition: all 0.3s;
}

.btn-perdeta-confirm:not(:disabled) {
    background: linear-gradient(135deg, var(--perdeta-primary) 0%, #5a9e1e 100%);
    cursor: pointer;
}

.btn-perdeta-confirm:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(123, 189, 66, 0.35);
    color: #fff;
}

/* Shipping/Payment Method Option Cards (in modals) */
.perdeta-method-option {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.perdeta-method-option:hover {
    border-color: var(--perdeta-primary);
    background: #f0fdf4;
}

.perdeta-method-option.active {
    border-color: var(--perdeta-primary);
    background: #f0fdf4;
}

.perdeta-check-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}

.perdeta-method-option.active .perdeta-check-circle {
    background: var(--perdeta-primary);
    border-color: var(--perdeta-primary);
    color: #fff;
}

/* Perdeta Outline Button */
.btn-perdeta-outline {
    border: 2px solid var(--perdeta-primary);
    color: var(--perdeta-primary);
    background: transparent;
    font-weight: 600;
    border-radius: 0 0.75rem 0.75rem 0;
    padding: 0.5rem 1.25rem;
    transition: all 0.2s;
}

.btn-perdeta-outline:hover {
    background: var(--perdeta-primary);
    color: #fff;
}

/* Perdeta Button */
.btn-perdeta {
    background: var(--perdeta-primary);
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-perdeta:hover {
    background: #5a9e1e;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(123, 189, 66, 0.3);
}

/* Checkout Form Check */
#checkout-checkout .form-check-input:checked {
    background-color: var(--perdeta-primary);
    border-color: var(--perdeta-primary);
}

#checkout-checkout .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(123, 189, 66, 0.25);
    border-color: var(--perdeta-primary);
}

/* Modal Overrides for Checkout */
#modal-shipping .modal-content,
#modal-payment .modal-content {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

/* Responsive Checkout */
@media (max-width: 991.98px) {
    .perdeta-order-sidebar {
        position: static;
    }

    .perdeta-checkout-section {
        padding: 1rem;
    }
}

@media (max-width: 575.98px) {
    .perdeta-account-tabs {
        flex-direction: column;
    }

    .perdeta-checkout-section {
        border-radius: 0.75rem;
        padding: 1rem;
    }
}

/* Dark Mode Checkout */
[data-bs-theme="dark"] .perdeta-checkout-section {
    background: #1f2937;
    border-color: #374151;
}

[data-bs-theme="dark"] .perdeta-section-title {
    color: #f3f4f6;
}

[data-bs-theme="dark"] .perdeta-login-hint {
    background: #1a2e1a;
    border-color: #2d4a2d;
    color: #86efac;
}

[data-bs-theme="dark"] .perdeta-login-hint a {
    background: var(--perdeta-primary);
    color: #fff;
    box-shadow: 0 1px 3px rgba(123, 189, 66, 0.2);
}

[data-bs-theme="dark"] .perdeta-login-hint a:hover {
    background: var(--perdeta-primary-dark, #5a9e2e);
}

[data-bs-theme="dark"] .perdeta-tab {
    background: #1f2937;
    border-color: #374151;
    color: #9ca3af;
}

[data-bs-theme="dark"] .perdeta-tab.active {
    background: var(--perdeta-primary);
    border-color: var(--perdeta-primary);
    color: #fff;
}

[data-bs-theme="dark"] .perdeta-input-group {
    border-color: #374151;
}

[data-bs-theme="dark"] .perdeta-input-group .input-group-text {
    background: #1f2937;
    color: #6b7280;
}

[data-bs-theme="dark"] .perdeta-input-group .form-control {
    background: #1f2937;
    color: #f3f4f6;
}

[data-bs-theme="dark"] .perdeta-method-option {
    background: #1f2937;
    border-color: #374151;
}

[data-bs-theme="dark"] .perdeta-method-option:hover,
[data-bs-theme="dark"] .perdeta-method-option.active {
    background: #1a2e1a;
    border-color: var(--perdeta-primary);
}

[data-bs-theme="dark"] .perdeta-order-item {
    background: #1f2937 !important;
    border-color: #374151 !important;
}

[data-bs-theme="dark"] .perdeta-order-totals {
    background: #1f2937 !important;
    border-color: #374151 !important;
}

[data-bs-theme="dark"] .perdeta-order-coupon .input-group {
    border-color: #374151;
}

[data-bs-theme="dark"] .perdeta-order-agree {
    background: #1f2937 !important;
    border-color: #374151 !important;
}

/* Order Item - Product Name Clamp */
.perdeta-product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
    line-height: 1.35;
    max-height: 2.3em;
    word-break: break-word;
}

.perdeta-product-name a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.perdeta-order-item {
    overflow: hidden;
}

.perdeta-order-item-img img {
    border-radius: 0.5rem;
}

/* Quantity Controls */
.perdeta-qty-control {
    background: #f9fafb;
    height: 2rem;
}

.perdeta-qty-control .btn {
    color: #6b7280;
    line-height: 1;
    padding: 0 0.4rem !important;
}

.perdeta-qty-control .btn:hover {
    color: var(--perdeta-primary);
}

.perdeta-qty-control .form-control {
    height: auto;
    min-height: unset;
    font-weight: 600;
}

.btn-perdeta-icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--perdeta-primary);
    color: #fff;
    border: none;
    transition: all 0.2s;
}

.btn-perdeta-icon:hover {
    background: var(--perdeta-primary-dark, #5a9e2e);
    color: #fff;
    transform: scale(1.1);
}

.btn-perdeta-icon-danger {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    border: none;
    transition: all 0.2s;
}

.btn-perdeta-icon-danger:hover {
    background: #dc2626;
    color: #fff;
    transform: scale(1.1);
}

/* Invoice checkbox in input-group */
.perdeta-input-group .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.perdeta-input-group .form-check-input:checked {
    background-color: var(--perdeta-primary);
    border-color: var(--perdeta-primary);
}

/* Dark mode qty controls */
[data-bs-theme="dark"] .perdeta-qty-control {
    background: #374151;
}

[data-bs-theme="dark"] .btn-perdeta-icon {
    background: var(--perdeta-primary);
}

[data-bs-theme="dark"] .btn-perdeta-icon-danger {
    background: #dc2626;
}

/* =============================================
   MOBILE MENU - Modern Offcanvas
   ============================================= */
.perdeta-mobile-menu {
    width: 320px !important;
    border-right: none !important;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.15);
    z-index: 9999 !important;
}

.perdeta-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f3f4f6;
    background: #fff;
}

.perdeta-mobile-logo {
    text-decoration: none;
    color: #1f2937;
    display: flex;
    align-items: center;
}

.perdeta-mobile-close {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.perdeta-mobile-close:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.perdeta-mobile-close .material-icons {
    font-size: 1.25rem;
}

/* Mobile Search */
.perdeta-mobile-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.625rem 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.perdeta-mobile-search:focus-within {
    border-color: var(--perdeta-primary);
    box-shadow: 0 0 0 3px rgba(123, 189, 66, 0.12);
    background: #fff;
}

.perdeta-mobile-search .material-icons {
    font-size: 1.25rem;
    color: #9ca3af;
    flex-shrink: 0;
}

.perdeta-mobile-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.875rem;
    color: #1f2937;
    width: 100%;
}

.perdeta-mobile-search input::placeholder {
    color: #9ca3af;
}

.perdeta-mobile-search-btn {
    background: var(--perdeta-primary);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.8125rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}

.perdeta-mobile-search-btn:hover,
.perdeta-mobile-search-btn:active {
    background: var(--perdeta-primary-dark);
}

/* Mobile Navigation */
.perdeta-mobile-nav {
    padding: 0.5rem 0;
}

.perdeta-mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1.25rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.15s;
    position: relative;
}

.perdeta-mobile-nav-item:hover {
    background: #f9fafb;
    color: var(--perdeta-primary);
}

.perdeta-mobile-nav-item .material-icons {
    font-size: 1.375rem;
    color: #9ca3af;
    transition: color 0.15s;
}

.perdeta-mobile-nav-item:hover .material-icons {
    color: var(--perdeta-primary);
}

.perdeta-mobile-nav-sub {
    padding-left: 3.5rem;
    font-weight: 400;
    font-size: 0.875rem;
}

/* Mobile Badge */
.perdeta-mobile-badge {
    margin-left: auto;
    background: var(--perdeta-primary);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    min-width: 1.375rem;
    height: 1.375rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.375rem;
}

/* Mobile Nav Group */
.perdeta-mobile-nav-group {
    padding: 0.25rem 0;
}

.perdeta-mobile-nav-group-title {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
}

.perdeta-mobile-nav-group-title:hover {
    background: #f9fafb;
    color: var(--perdeta-primary);
}

.perdeta-mobile-nav-group-title:hover .material-icons {
    color: var(--perdeta-primary);
}

.perdeta-mobile-nav-group-title .material-icons {
    font-size: 1.375rem;
    color: #9ca3af;
    transition: color 0.15s;
}

.perdeta-mobile-nav-group-title[aria-expanded="true"] .perdeta-mobile-accordion-icon {
    transform: rotate(180deg);
}

/* Category List & Dividers */
.perdeta-mobile-cat-list {
    padding: 0.25rem 0;
}

.perdeta-mobile-cat-divider {
    height: 1px;
    background: #f3f4f6;
    margin: 0.125rem 3.5rem 0.125rem 3.5rem;
}

/* Mobile Accordion */
.perdeta-mobile-accordion {
    border: none;
}

.perdeta-mobile-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.625rem 1.25rem 0.625rem 3.5rem;
    border: none;
    background: transparent;
    color: #374151;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
}

.perdeta-mobile-accordion-btn:hover {
    background: #f9fafb;
    color: var(--perdeta-primary);
}

.perdeta-mobile-accordion-icon {
    font-size: 1.25rem;
    color: #9ca3af;
    transition: transform 0.25s;
}

.perdeta-mobile-accordion-btn[aria-expanded="true"] .perdeta-mobile-accordion-icon {
    transform: rotate(180deg);
}

.perdeta-mobile-accordion-body {
    padding: 0.25rem 0;
    background: #f9fafb;
}

.perdeta-mobile-sub-item {
    display: block;
    padding: 0.5rem 1.25rem 0.5rem 4.5rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 400;
    transition: all 0.15s;
}

.perdeta-mobile-sub-item:hover {
    color: var(--perdeta-primary);
    background: #f3f4f6;
}

/* Mobile Divider */
.perdeta-mobile-divider {
    height: 1px;
    background: #f3f4f6;
    margin: 0.5rem 1.25rem;
}

/* Mobile Footer */
.perdeta-mobile-footer {
    margin-top: auto;
    padding: 1rem 1.25rem;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.perdeta-mobile-contact {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: #6b7280;
    text-decoration: underline;
    font-size: 0.8125rem;
    transition: color 0.15s;
}

.perdeta-mobile-contact:hover {
    color: var(--perdeta-primary);
}

.perdeta-mobile-contact .material-icons {
    font-size: 1.125rem;
    color: var(--perdeta-primary);
}

/* =============================================
   MOBILE PRODUCT INFO BUTTONS & MODALS
   ============================================= */
.perdeta-mobile-info-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1f2937;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.perdeta-mobile-info-btn:hover,
.perdeta-mobile-info-btn:active {
    background: #f9fafb;
    border-color: var(--perdeta-primary);
}

.perdeta-mobile-info-btn .material-icons:first-child {
    font-size: 1.25rem;
    color: var(--perdeta-primary);
}

.perdeta-mobile-info-btn .material-icons:last-child {
    font-size: 1.25rem;
    color: #9ca3af;
}

/* Mobile Modal Header */
.perdeta-mobile-modal-header {
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1.25rem;
}

.perdeta-mobile-modal-header .modal-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

.perdeta-mobile-modal-header .material-icons {
    font-size: 1.25rem;
    color: var(--perdeta-primary);
}

/* Mobile Modal Body */
.perdeta-mobile-modal-body {
    padding: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #374151;
}

.perdeta-mobile-modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.perdeta-mobile-modal-body table {
    font-size: 0.875rem;
}

/* Dark mode */
[data-bs-theme="dark"] .perdeta-mobile-info-btn {
    background: #1f2937;
    border-color: #374151;
    color: #f3f4f6;
}

[data-bs-theme="dark"] .perdeta-mobile-info-btn:hover {
    background: #374151;
}

[data-bs-theme="dark"] .perdeta-mobile-modal-header {
    background: #1f2937;
    border-color: #374151;
}

[data-bs-theme="dark"] .perdeta-mobile-modal-header .modal-title {
    color: #f3f4f6;
}

[data-bs-theme="dark"] .perdeta-mobile-modal-body {
    background: #111827;
    color: #d1d5db;
}

/* =============================================
   MOBILE CART DROPDOWN - Center
   ============================================= */
@media (max-width: 575.98px) {
    .perdeta-cart-menu {
        position: fixed !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) translateY(10px) !important;
        width: 95vw !important;
        max-width: 360px !important;
        top: 70px !important;
    }

    .perdeta-cart-menu.show {
        transform: translateX(-50%) translateY(0) !important;
    }
}

/* =============================================
   WISHLIST DROPDOWN - Like Cart
   ============================================= */
.perdeta-wishlist-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.perdeta-wishlist-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 380px;
    max-width: 100vw;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.perdeta-wishlist-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.perdeta-wishlist-loading {
    padding: 2rem;
    color: #9ca3af;
}

.perdeta-wishlist-loading .material-icons.spin {
    animation: spin 1s linear infinite;
}

.perdeta-wishlist-empty {
    padding: 2rem;
    text-align: center;
    color: #6b7280;
}

.perdeta-wishlist-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s;
}

.perdeta-wishlist-item:hover {
    background-color: #f9fafb;
}

.perdeta-wishlist-item:last-child {
    border-bottom: none;
}

.perdeta-wishlist-item-img {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 0.375rem;
    overflow: hidden;
    background-color: #f3f4f6;
}

.perdeta-wishlist-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.perdeta-wishlist-item-info {
    flex: 1;
    min-width: 0;
}

.perdeta-wishlist-item-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #1f2937;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.perdeta-wishlist-item-name a {
    color: inherit;
    text-decoration: none;
}

.perdeta-wishlist-item-name a:hover {
    color: var(--perdeta-primary);
}

.perdeta-wishlist-item-price {
    font-size: 0.875rem;
    color: var(--perdeta-primary);
    font-weight: 600;
}

.perdeta-wishlist-item-price-old {
    font-size: 0.75rem;
    color: #9ca3af;
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.perdeta-wishlist-item-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
}

.perdeta-wishlist-item-actions .btn {
    width: 2rem;
    height: 2rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

.perdeta-wishlist-footer {
    padding: 1rem;
    background-color: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.perdeta-wishlist-footer .btn {
    width: 100%;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

/* Dark mode wishlist dropdown */
[data-bs-theme="dark"] .perdeta-wishlist-menu {
    background: #1f2937;
    border-color: #374151;
}

[data-bs-theme="dark"] .perdeta-wishlist-item {
    border-color: #374151;
}

[data-bs-theme="dark"] .perdeta-wishlist-item:hover {
    background-color: #374151;
}

[data-bs-theme="dark"] .perdeta-wishlist-item-name {
    color: #f3f4f6;
}

[data-bs-theme="dark"] .perdeta-wishlist-footer {
    background-color: #111827;
    border-color: #374151;
}

/* Mobile Wishlist Dropdown */
@media (max-width: 575.98px) {
    .perdeta-wishlist-menu {
        position: fixed !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) translateY(10px) !important;
        width: 95vw !important;
        max-width: 360px !important;
        top: 70px !important;
    }

    .perdeta-wishlist-menu.show {
        transform: translateX(-50%) translateY(0) !important;
    }
}

.product-page #product-price span{
    color: #5c5c5c !important;
}

.product-page #product-price span.badge.bg-danger{
    color: #ffffff !important;
}

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

/* Contact Hero Section */
.contact-hero {
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(123, 189, 66, 0.9) 0%, rgba(29, 78, 216, 0.9) 100%);
    z-index: 1;
}

.contact-hero > .container {
    position: relative;
    z-index: 2;
}

/* Contact Cards */
.contact-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb !important;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.contact-card .icon-box {
    transition: all 0.3s ease;
}

.contact-card:hover .icon-box {
    transform: scale(1.1);
}

/* Contact Form */
.contact-form-container {
    border: 1px solid #e5e7eb !important;
    transition: all 0.3s ease;
}

.contact-form-container:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.contact-form-container .form-control:focus {
    box-shadow: 0 0 0 3px rgba(123, 189, 66, 0.2);
    background-color: #fff !important;
}

.contact-form-container .input-group-text {
    color: #6b7280;
}

/* Location Cards */
.location-card {
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb !important;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.location-image {
    overflow: hidden;
}

.location-image img {
    transition: transform 0.5s ease;
}

.location-card:hover .location-image img {
    transform: scale(1.1);
}

/* Map Section */
.map-container {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(20%);
}

/* Dark Mode Support */
[data-bs-theme="dark"] .contact-card,
[data-bs-theme="dark"] .contact-form-container,
[data-bs-theme="dark"] .location-card {
    background-color: #1f2937 !important;
    border-color: #374151 !important;
    color: #f3f4f6;
}

[data-bs-theme="dark"] .contact-form-container .form-control {
    background-color: #374151 !important;
    border-color: #4b5563 !important;
    color: #f3f4f6;
}

[data-bs-theme="dark"] .contact-form-container .input-group-text {
    background-color: #374151 !important;
    border-color: #4b5563 !important;
    color: #9ca3af;
}

[data-bs-theme="dark"] .contact-form-container .form-control:focus {
    box-shadow: 0 0 0 3px rgba(123, 189, 66, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .contact-hero h1 {
        font-size: 1.75rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .contact-content {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .contact-form-container {
        padding: 1.5rem !important;
    }
}

/* Success Message Styling */
.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.2);
    color: #16a34a;
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(123, 189, 66, 0.3);
}

/* Form Validation */
.form-control.is-invalid {
    border-color: #dc2626 !important;
    background-image: none !important;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
}

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

/* Contact Hero Section - Site Primary Color */
.contact-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--perdeta-primary) 0%, var(--perdeta-primary-dark) 100%);
}

.contact-hero > .container {
    position: relative;
    z-index: 2;
}

/* Contact Cards */
.contact-card {
    background-color: var(--perdeta-card-light);
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(123, 189, 66, 0.15);
    border-color: var(--perdeta-primary);
}

.contact-card .icon-box {
    background-color: rgba(123, 189, 66, 0.1);
    color: var(--perdeta-primary);
    transition: all 0.3s ease;
}

.contact-card:hover .icon-box {
    background-color: var(--perdeta-primary);
    color: #fff;
    transform: scale(1.1);
}

.contact-card .icon-box.icon-viber {
    background-color: rgba(109, 81, 166, 0.1);
    color: #6d51a6;
}

.contact-card:hover .icon-box.icon-viber {
    background-color: #6d51a6;
    color: #fff;
}

.contact-card .icon-box.icon-whatsapp {
    background-color: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.contact-card:hover .icon-box.icon-whatsapp {
    background-color: #25d366;
    color: #fff;
}

.contact-card .icon-box.icon-email {
    background-color: rgba(123, 189, 66, 0.1);
    color: var(--perdeta-primary);
}

.contact-card:hover .icon-box.icon-email {
    background-color: var(--perdeta-primary);
    color: #fff;
}

.contact-card .icon-box.icon-location {
    background-color: rgba(123, 189, 66, 0.1);
    color: var(--perdeta-primary);
}

.contact-card:hover .icon-box.icon-location {
    background-color: var(--perdeta-primary);
    color: #fff;
}

.contact-card .icon-box.icon-clock {
    background-color: rgba(123, 189, 66, 0.1);
    color: var(--perdeta-primary);
}

.contact-card:hover .icon-box.icon-clock {
    background-color: var(--perdeta-primary);
    color: #fff;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--perdeta-card-light);
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-form-container:hover {
    box-shadow: 0 15px 35px rgba(123, 189, 66, 0.15);
    border-color: var(--perdeta-primary);
}

.contact-form-container .form-control {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.contact-form-container .form-control:focus {
    background-color: #fff;
    border-color: var(--perdeta-primary);
    box-shadow: 0 0 0 3px rgba(123, 189, 66, 0.2);
}

.contact-form-container .input-group-text {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    color: #6b7280;
}

.contact-form-container .form-control:focus + .input-group-text,
.contact-form-container .input-group-text:focus-within {
    background-color: #fff;
    border-color: var(--perdeta-primary);
    color: var(--perdeta-primary);
}

/* Location Cards */
.location-card {
    background-color: var(--perdeta-card-light);
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(123, 189, 66, 0.15);
    border-color: var(--perdeta-primary);
}

.location-image {
    overflow: hidden;
    height: 200px;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .location-image img {
    transform: scale(1.1);
}

/* Map Section */
.map-container {
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.map-container iframe {
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(20%);
}

/* Dark Mode Support */
[data-bs-theme="dark"] .contact-card,
[data-bs-theme="dark"] .contact-form-container,
[data-bs-theme="dark"] .location-card {
    background-color: var(--perdeta-card-dark) !important;
    border-color: #374151 !important;
    color: #f3f4f6;
}

[data-bs-theme="dark"] .contact-card .icon-box {
    background-color: rgba(123, 189, 66, 0.2);
    color: var(--perdeta-primary);
}

[data-bs-theme="dark"] .contact-form-container .form-control {
    background-color: #374151 !important;
    border-color: #4b5563 !important;
    color: #f3f4f6;
}

[data-bs-theme="dark"] .contact-form-container .input-group-text {
    background-color: #374151 !important;
    border-color: #4b5563 !important;
    color: #9ca3af;
}

[data-bs-theme="dark"] .contact-form-container .form-control:focus {
    background-color: #1f2937 !important;
    border-color: var(--perdeta-primary);
    box-shadow: 0 0 0 3px rgba(123, 189, 66, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .contact-hero h1 {
        font-size: 1.75rem;
    }
    
    .contact-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .contact-content {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .contact-form-container {
        padding: 1.5rem !important;
    }
}

/* Success Message Styling */
.alert-success {
    background-color: rgba(123, 189, 66, 0.1);
    border-color: rgba(123, 189, 66, 0.2);
    color: var(--perdeta-primary);
}

/* Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: var(--perdeta-primary);
    border-color: var(--perdeta-primary);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background-color: var(--perdeta-primary-dark);
    border-color: var(--perdeta-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(123, 189, 66, 0.3);
}

/* Form Validation */
.form-control.is-invalid {
    border-color: #dc2626 !important;
    background-image: none !important;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2) !important;
}

/* Button Outline Primary */
.btn-outline-primary {
    color: var(--perdeta-primary);
    border-color: var(--perdeta-primary);
}

.btn-outline-primary:hover {
    background-color: var(--perdeta-primary);
    border-color: var(--perdeta-primary);
    color: #fff;
}

/* ========================================
   Contact Map Hero Section
   ======================================== */

.contact-map-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.map-container-full {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-container-full iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0%);
    transition: filter 0.5s ease;
}

.contact-map-hero:hover .map-container-full iframe {
    filter: grayscale(30%);
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 189, 66, 0.9) 0%, rgba(29, 78, 216, 0.85) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
}

.contact-hero-overlay > .container {
    position: relative;
    z-index: 3;
}

/* Responsive Map Hero */
@media (max-width: 991.98px) {
    .contact-map-hero {
        height: 400px;
    }
}

@media (max-width: 767.98px) {
    .contact-map-hero {
        height: 300px;
    }
    
    .contact-hero-overlay h1 {
        font-size: 1.5rem !important;
    }
    
    .contact-hero-overlay p {
        font-size: 0.9rem !important;
    }
}

/* ========================================
   Contact Map Hero Section (OpenStreetMap)
   ======================================== */

.contact-map-hero {
    position: relative;
    overflow: hidden;
}

.map-container-full {
    width: 100%;
    z-index: 1;
}

.map-container-full .leaflet-container {
    height: 100%;
    width: 100%;
    z-index: 1;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(123, 189, 66, 0.9) 0%, rgba(29, 78, 216, 0.85) 100%);
    z-index: 2;
    display: flex;
    align-items: center;
}

.contact-hero-overlay > .container {
    position: relative;
    z-index: 3;
}

/* Leaflet Custom Styles */
.leaflet-control-zoom {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.leaflet-control-zoom a {
    background-color: rgba(123, 189, 66, 0.9) !important;
    color: #fff !important;
}

.leaflet-control-zoom a:hover {
    background-color: rgba(123, 189, 66, 1) !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 0.5rem !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

.leaflet-popup-tip {
    background-color: rgba(123, 189, 66, 0.9) !important;
}

/* Responsive Map Hero */
@media (max-width: 991.98px) {
    .contact-map-hero {
        height: auto;
    }
    
    .map-container-full {
        height: 400px !important;
    }
}

@media (max-width: 767.98px) {
    .map-container-full {
        height: 300px !important;
    }
    
    .contact-hero-overlay h1 {
        font-size: 1.5rem !important;
    }
    
    .contact-hero-overlay p {
        font-size: 0.9rem !important;
    }
}

/* ========================================
   Contact Map Section (Below Hero)
   ======================================== */

.contact-map-section {
    background-color: var(--perdeta-bg-light);
}

.map-wrapper {
    position: relative;
    border: 1px solid #e5e7eb;
}

.map-wrapper #osm-map {
    width: 100%;
    z-index: 1;
}

.map-wrapper .leaflet-container {
    width: 100%;
    z-index: 1;
}

/* Leaflet Custom Styles */
.leaflet-control-zoom {
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15) !important;
}

.leaflet-control-zoom a {
    background-color: rgba(123, 189, 66, 0.95) !important;
    color: #fff !important;
    width: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
}

.leaflet-control-zoom a:hover {
    background-color: var(--perdeta-primary) !important;
}

.leaflet-popup-content-wrapper {
    border-radius: 0.5rem !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

.leaflet-popup-content {
    margin: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.leaflet-popup-tip {
    background-color: rgba(123, 189, 66, 0.95) !important;
}

/* Responsive Map Section */
@media (max-width: 991.98px) {
    .map-wrapper #osm-map {
        height: 350px !important;
    }
}

@media (max-width: 767.98px) {
    .map-wrapper #osm-map {
        height: 300px !important;
    }
    
    .contact-map-section {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
}

/* Sadece belirli ID'ye sahip eleman için Firefox oklarını gizleme */
#input-quantity {
  -moz-appearance: textfield;
  appearance: textfield;
}

/* Chrome, Safari, Edge ve Opera için aynı ID'yi hedefleme */
#input-quantity::-webkit-outer-spin-button,
#input-quantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;

/* ================================
   SITEMAP PAGE STYLES
   ================================ */

/* Hero Section */
.sitemap-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e5e7eb;
}

[data-bs-theme="dark"] .sitemap-hero {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-color: #374151;
}

.sitemap-hero h1 {
    color: var(--perdeta-text-light);
}

[data-bs-theme="dark"] .sitemap-hero h1 {
    color: var(--perdeta-text-dark);
}

/* Sitemap Card */
.sitemap-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.sitemap-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

[data-bs-theme="dark"] .sitemap-card {
    background: var(--perdeta-card-dark);
}

.sitemap-card-header {
    background: var(--perdeta-primary);
    color: #fff;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sitemap-card-header h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.sitemap-card-header .material-icons {
    font-size: 1.5rem;
}

[data-bs-theme="dark"] .sitemap-card-header {
    background: #6aa839;
}

.sitemap-card-body {
    padding: 1.25rem;
}

/* Category Styles */
.sitemap-category {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f3f4f6;
}

.sitemap-category:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sitemap-category-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--perdeta-text-light);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.sitemap-category-title:hover {
    color: var(--perdeta-primary);
}

.sitemap-category-title .material-icons {
    color: var(--perdeta-primary);
    font-size: 1.25rem;
}

.sitemap-category-level-2 {
    list-style: none;
    padding: 0;
    margin: 0 0 0 1.5rem;
}

.sitemap-category-level-2 li {
    margin-bottom: 0.5rem;
}

.sitemap-category-level-2-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--perdeta-text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.sitemap-category-level-2-link:hover {
    color: var(--perdeta-primary);
}

.sitemap-category-level-2-link .material-icons {
    font-size: 1rem;
    color: var(--perdeta-muted-light);
}

.sitemap-category-level-3 {
    list-style: none;
    padding: 0;
    margin: 0.375rem 0 0 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sitemap-category-level-3 li a {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f3f4f6;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--perdeta-text-light);
    text-decoration: none;
    transition: all 0.2s;
}

.sitemap-category-level-3 li a:hover {
    background: var(--perdeta-primary);
    color: #fff;
}

/* Links List */
.sitemap-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sitemap-links-list li {
    margin-bottom: 0.75rem;
}

.sitemap-links-list li:last-child {
    margin-bottom: 0;
}

.sitemap-links-list li a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--perdeta-text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.sitemap-links-list li a:hover {
    color: var(--perdeta-primary);
}

.sitemap-links-list li a .material-icons {
    font-size: 1.125rem;
    color: var(--perdeta-muted-light);
    transition: color 0.2s;
}

.sitemap-links-list li a:hover .material-icons {
    color: var(--perdeta-primary);
}

/* Right Column Cards */
.sitemap-card-refactored {
    margin-bottom: 1.5rem;
    border: 2px solid #e5e7eb;
}

.sitemap-card-refactored .sitemap-card-header {
    background: var(--perdeta-primary);
    padding: 1.25rem 1.5rem;
}

.sitemap-card-refactored .sitemap-card-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
}

.sitemap-card-refactored .sitemap-card-body {
    padding: 1.5rem;
    background: #fff;
}

.sitemap-links-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.sitemap-links-list li:last-child {
    border-bottom: none;
}

[data-bs-theme="dark"] .sitemap-card-refactored {
    background: var(--perdeta-card-dark);
    border-color: #4b5563;
}

[data-bs-theme="dark"] .sitemap-card-refactored .sitemap-card-header {
    background: #6aa839;
}

[data-bs-theme="dark"] .sitemap-card-refactored .sitemap-card-body {
    background: #374151;
}

[data-bs-theme="dark"] .sitemap-links-list li {
    border-color: #4b5563;
}

/* Responsive */
@media (max-width: 991.98px) {
    .sitemap-card {
        margin-bottom: 1rem;
    }
}
}