/*
Theme Name: VioletRevo
Theme URI: https://violetRevo.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: A revolutionary WordPress theme that combines modern design with exceptional performance. Built with Bootstrap 5, supporting both LTR and RTL languages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: violetrevo
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready, bootstrap, rtl-language-support

This theme, like WordPress, is licensed under the GPL.
*/

/* Custom Theme Variables - Violet Color Palette */
:root {
    /* Main Colors */
    --violet-50: #f5f3ff;
    --violet-100: #ede9fe;
    --violet-200: #ddd6fe;
    --violet-300: #c4b5fd;
    --violet-400: #a78bfa;
    --violet-500: #8b5cf6;
    --violet-600: #7c3aed;
    --violet-700: #6d28d9;
    --violet-800: #5b21b6;
    --violet-900: #4c1d95;
    --violet-950: #2e1065;

    /* Semantic Colors */
    --primary-color: #4C1D95;
    --primary-hover: #3553d1;
    --secondary-color: #f7931a;
    --accent-color: var(--violet-300);
    --background-color: #FFFFFF;
    --surface-color: var(--violet-50);
    --text-primary: var(--violet-900);
    --text-secondary: var(--violet-700);
    --text-muted: var(--violet-500);
    --border-color: var(--violet-200);
    --success-color: #48BB78;
    --error-color: #F56565;
    --warning-color: #ECC94B;
    --text-main: #333;
    --text-light: #666;
    --light-bg: #f5f8ff;

    /* Layout */
    --container-width: 1368px;
    --header-height: 80px;
    --footer-height: 60px;
    --mobile-nav-height: 60px;
    --mobile-nav-icon-size: 24px;
    --mobile-nav-label-size: 12px;
    --logo-max-width: 150px;

    /* Bootstrap Overrides */
    --bs-primary: var(--primary-color);
    --bs-secondary: var(--secondary-color);
    --bs-link-color: var(--primary-color);
    --bs-link-hover-color: var(--violet-700);
    --bs-font-sans-serif: 'Roboto', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-color: var(--text-primary);

    /* Base Typography */
    --font-primary-ltr: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --font-primary-rtl: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

/* Override Bootstrap defaults with Roboto */
body {
    font-family: var(--font-primary-ltr);
    padding-bottom: 60px;
    color: var(--text-primary);
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

/* Material Icons Styles */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
}

/* Mobile Navigation Styles */
.mobile-nav {
    height: var(--mobile-nav-height);
    background-color: var(--background-color);
    box-shadow: 0 -4px 12px rgba(109, 40, 217, 0.1);
    z-index: 1030;
}

.mobile-nav .nav-link {
    color: var(--text-muted);
    transition: all 0.2s ease;
    padding: 0.5rem;
}

.mobile-nav .nav-link.active {
    color: var(--primary-color);
    position: relative;
}

.mobile-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.mobile-nav .material-icons {
    font-size: var(--mobile-nav-icon-size);
    display: block;
    margin-bottom: 4px;
}

.mobile-nav .nav-label {
    font-size: var(--mobile-nav-label-size);
    font-weight: 500;
}

/* Card Styles for Mobile */
@media (max-width: 991.98px) {
    .card {
        border-radius: 1rem;
        border: 1px solid var(--border-color);
        box-shadow: 0 4px 12px rgba(109, 40, 217, 0.08);
        background-color: var(--background-color);
    }

    .card:hover {
        box-shadow: 0 8px 16px rgba(109, 40, 217, 0.12);
        transform: translateY(-2px);
        transition: all 0.3s ease;
    }

    .card-img-top {
        border-top-left-radius: 1rem;
        border-top-right-radius: 1rem;
    }
}

/* Desktop Header */
.site-header {
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
}

.navbar-light .navbar-nav .nav-link {
    color: var(--text-secondary);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
    color: var(--primary-color);
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
    font-weight: 500;
}

/* Desktop Footer */
.desktop-footer {
    background-color: var(--violet-900);
    color: var(--violet-50);
    width: 100%;
    padding: 4rem 0 0;
    margin: 0;
}

.desktop-footer .footer-widgets {
    padding-bottom: 3rem;
    margin: 0;
}

.desktop-footer .widget-title {
    color: var(--violet-50);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.desktop-footer a {
    color: var(--violet-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

.desktop-footer a:hover {
    color: var(--violet-50);
}

.desktop-footer .footer-bottom {
    background-color: var(--violet-950);
    padding: 1.5rem 0;
    margin: 0;
    width: 100%;
}

.desktop-footer .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: max(20px, 5%);
    padding-right: max(20px, 5%);
}

/* Icon Sizes */
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/* Layout */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: max(20px, 5%);
    padding-right: max(20px, 5%);
}

/* Content */
.site-content {
    min-height: calc(100vh - var(--mobile-nav-height));
    padding: 2rem max(20px, 5%);
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media (min-width: 992px) {
    .site-content {
        min-height: calc(100vh - var(--header-height));
    }
    
    body {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    
    .container {
        width: 100%;
        max-width: min(var(--container-width), 100% - 40px); /* Ensures container respects margins */
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }
}

/* Ensure full-width sections maintain minimum margins */
.alignfull {
    margin-left: calc(-1 * max(20px, 5%));
    margin-right: calc(-1 * max(20px, 5%));
    width: calc(100% + 2 * max(20px, 5%));
    max-width: 100vw;
}

/* Footer */
.site-footer {
    height: var(--footer-height);
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Primary Navigation Styles */
.navbar-nav {
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar-nav .menu-item {
    position: relative;
    margin: 0 0.5rem;
}

.navbar-nav .nav-link,
.navbar-nav .menu-item > a {
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .menu-item > a:hover,
.navbar-nav .menu-item > a:focus {
    color: var(--primary-color);
}

/* Underline animation for nav links */
.navbar-nav .nav-link::after,
.navbar-nav .menu-item > a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .menu-item > a:hover::after,
.navbar-nav .menu-item > a:focus::after,
.navbar-nav .current-menu-item > a::after {
    width: 100%;
}

/* Dropdown Menu */
.navbar-nav .menu-item-has-children {
    position: relative;
}

.navbar-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--background-color);
    min-width: 200px;
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.navbar-nav .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar-nav .sub-menu .menu-item {
    margin: 0;
}

.navbar-nav .sub-menu a {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    body {
        padding-bottom: var(--mobile-nav-height);
    }

    .desktop-footer {
        display: none;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1030;
    }

    .navbar-collapse {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        bottom: var(--mobile-nav-height);
        width: 80%;
        max-width: 300px;
        padding: 1rem;
        background-color: var(--background-color);
        transition: all 0.3s ease-in-out;
        overflow-y: auto;
        z-index: 1040;
    }

    .navbar-collapse.show {
        left: 0;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        width: 100%;
    }

    .navbar-nav .menu-item {
        width: 100%;
        margin: 0;
    }

    .navbar-nav .menu-item > a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--border-color);
    }

    .navbar-nav .sub-menu {
        position: static;
        box-shadow: none;
        padding-left: 1.5rem;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .navbar-nav .menu-item-has-children.show > .sub-menu {
        display: block;
    }

    .navbar-toggler {
        display: block;
        padding: 0.5rem;
        font-size: 1.25rem;
        border: none;
        background: transparent;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }

    .navbar-toggler .material-icons {
        transition: transform 0.3s ease;
    }

    .navbar-toggler[aria-expanded="true"] .material-icons {
        transform: rotate(180deg);
    }
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }

    .mobile-nav {
        display: none;
    }

    .desktop-footer {
        display: block;
    }

    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .navbar-nav {
        flex-direction: row;
    }
}

/* Custom Logo */
.navbar-brand {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.site-branding {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

/* Custom Logo */
.custom-logo-link {
    display: inline-block;
    max-width: var(--logo-max-width);
    margin-bottom: 0.5rem;
}

.custom-logo {
    width: 100%;
    height: auto;
    max-width: var(--logo-max-width);
}

/* Site Title and Description */
.site-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.site-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-title a:hover,
.site-title a:focus {
    color: var(--primary-color);
}

.site-description {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 991.98px) {
    .navbar-brand {
        align-items: center;
        text-align: center;
    }
    
    .site-branding {
        align-items: center;
    }
}

/* Topbar */
.topbar {
    background-color: var(--topbar-background-color, var(--violet-900));
    color: var(--topbar-text-color, var(--violet-50));
    padding: 0.5rem 0;
    width: 100%;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Topbar Search Styles */
.topbar-search {
    flex: 1;
    max-width: 300px;
    margin: 0 1rem;
}

.topbar-search .input-group {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.375rem;
    overflow: hidden;
}

.topbar-search .form-control {
    background-color: transparent;
    border: none;
    color: var(--topbar-text-color, var(--violet-50));
    padding: 0.375rem 0.75rem;
    font-size: 0.9rem;
}

.topbar-search .form-control::placeholder {
    color: var(--topbar-text-color, var(--violet-200));
    opacity: 0.7;
}

.topbar-search .form-control:focus {
    background-color: transparent;
    color: var(--topbar-text-color, var(--violet-50));
    box-shadow: none;
}

.topbar-search .btn {
    padding: 0.375rem 0.75rem;
    border: none;
    background-color: transparent;
    color: var(--topbar-text-color, var(--violet-200));
}

.topbar-search .btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--topbar-text-color, var(--violet-50));
}

.topbar-search .material-icons {
    font-size: 1.2rem;
}

@media (max-width: 991.98px) {
    .topbar {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .topbar .container {
        flex-wrap: wrap;
    }
    
    .topbar-search {
        order: 3;
        max-width: 100%;
        margin: 0.5rem 0 0;
    }
}

.topbar-contact {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.topbar-contact a {
    color: var(--topbar-text-color, var(--violet-200));
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.topbar-contact a:hover {
    color: var(--topbar-text-color, var(--violet-50));
}

.topbar-contact .material-icons {
    font-size: 1.2rem;
}

/* Login/Logout specific styles */
.topbar-contact a[href*="my-account"] {
    font-weight: 500;
}

.topbar-contact a[href*="logout"] {
    color: var(--topbar-text-color, var(--violet-300));
}

.topbar-contact a[href*="logout"]:hover {
    color: var(--topbar-text-color, var(--violet-50));
}

.topbar-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.topbar-social .social-link {
    color: var(--violet-200);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.topbar-social .social-link:hover {
    color: var(--violet-50);
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.topbar-social .social-link svg {
    width: 1.25rem;
    height: 1.25rem;
    position: relative;
    z-index: 1;
}

.topbar-social .social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--violet-600), var(--violet-400));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.topbar-social .social-link:hover::before {
    opacity: 0.2;
}

@media (max-width: 991.98px) {
    .topbar-social {
        display: none;
    }
}

/* Header */
.site-header {
    background-color: var(--background-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
    z-index: 1000;
}

.navbar {
    width: 100%;
    padding: 0;
}

.navbar > .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Container modifications for full-width sections */
.topbar,
.site-header,
.desktop-footer {
    width: 100vw;
    margin: 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.topbar > .container,
.site-header > .container,
.desktop-footer > .container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: max(20px, 5%);
    padding-right: max(20px, 5%);
}

@media (max-width: 991.98px) {
    .topbar {
        display: none;
    }
}

/* Base Styles */
html {
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

*, *:before, *:after {
    box-sizing: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Layout */
.site {
    position: relative;
    width: 100%;
    overflow-x: hidden;
}

/* Responsive Containers */
.topbar > .container,
.site-header > .container,
.desktop-footer > .container,
.mobile-nav > .container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: max(20px, 5%);
    padding-right: max(20px, 5%);
}

/* Header Adjustments */
.site-header {
    width: 100%;
    overflow-x: hidden;
}

.navbar-brand {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.navbar-collapse {
    flex-grow: 0;
}

/* Desktop Footer Adjustments */
.desktop-footer {
    width: 100%;
    overflow-x: hidden;
}

.desktop-footer .footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Mobile Footer Adjustments */
.mobile-nav {
    width: 100%;
    height: var(--mobile-nav-height);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: var(--background-color);
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.mobile-nav .nav-item {
    flex: 1;
    text-align: center;
}

/* Responsive Typography */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    h1, .h1 { font-size: 1.75rem; }
    h2, .h2 { font-size: 1.5rem; }
    h3, .h3 { font-size: 1.25rem; }
    h4, .h4 { font-size: 1.125rem; }
    h5, .h5 { font-size: 1rem; }
    h6, .h6 { font-size: 0.875rem; }
}

/* Navbar Toggler Visibility */
.navbar-toggler {
    display: none; /* Hide by default */
}

@media (max-width: 991.98px) {
    .navbar-toggler {
        display: block !important; /* Show only on mobile */
    }
}

@media (min-width: 992px) {
    .navbar-toggler,
    .navbar-toggler.d-lg-none {
        display: none !important; /* Force hide on desktop */
    }

    #primaryNavigation {
        display: flex !important;
        flex-basis: auto;
    }
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
    // ... existing code ...
}

/* Copyright Styles */
.copyright {
    padding: 1rem;
    border-top: 1px solid var(--violet-200);    
    font-size: 0.75rem;
    text-align: center;
    margin-top: auto;
}

.copyright .copyright-text {
    color: var(--violet-200);    
    text-align: center;
    width: 100%;
}

/* Desktop Footer */
.desktop-footer {
    background-color: var(--primary-color);
    color: var(--violet-50);
    width: 100%;
    padding: 4rem 0 0;
}

.desktop-footer .footer-widgets {
    padding: 1rem 3rem 3rem 1rem;
}

.desktop-footer .widget-title {
    color: var(--violet-50);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.desktop-footer a {
    color: var(--violet-200);
    text-decoration: none;
    transition: color 0.3s ease;
}

.desktop-footer a:hover {
    color: var(--violet-50);
}

.desktop-footer .footer-bottom {
    background-color: var(--violet-950);
    padding: 1.5rem 0;
    margin: 0;
    width: 100%;
}

/* Products */
.product-container {
	display: flex-column;
}
	
.product-image {
	height: 300px;
}

.product-image {
	position: relative;
	height: 400px;
	overflow: hidden;
	border-radius: 0.5rem;
}

.product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.thumbnail {
	width: 80px;
	height: 80px;
	object-fit: cover;
	cursor: pointer;
	transition: all 0.2s;
	border-radius: 0.25rem;
}

.thumbnail:hover {
	transform: scale(1.05);
}

/* Product info */
.product-title {
	font-weight: 700;
	font-size: 1.75rem;
}

.product-price {
	font-size: 1.5rem;
	color: var(--primary-color);
	font-weight: 700;
}

.discount-badge {
	background-color: var(--secondary-color);
	color: white;
	padding: 0.25rem 0.5rem;
	border-radius: 0.25rem;
	font-size: 0.875rem;
}

/* Purchase box */
.purchase-box {
	background-color: var(--light-bg);
	border-radius: 0.5rem;
	padding: 1.5rem;
}

/* Search Results Styles */
.search-results article {
    transition: transform 0.2s ease;
}

.search-results article:hover {
    transform: translateY(-2px);
}

.search-query {
    color: var(--primary-color);
    font-weight: 500;
}

.search-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    position: relative;
    display: flex;
    gap: 0.5rem;
}

.search-form .search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.search-form .search-field:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}

.search-form .search-submit {
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-form .search-submit:hover {
    background-color: var(--violet-700);
}

/* No Results Styles */
.no-results {
    text-align: center;
    padding: 3rem 0;
}

.no-results .alert {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.no-results .recent-posts {
    max-width: 600px;
    margin: 2rem auto;
    text-align: left;
}

/* Pagination Styles */
.pagination {
    margin-top: 3rem;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    margin: 0 0.25rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
    background-color: var(--violet-50);
    color: var(--primary-color);
}

.pagination .page-numbers.current {
    background-color: var(--primary-color);
    color: white;
}

.pagination .material-icons {
    font-size: 1.25rem;
}

/* RTL Typography */
body.rtl {
    font-family: var(--font-primary-rtl);
}

/* Metro Grid Layout */
.metro-grid {
    padding: 2rem 0;
}

.metro-tile {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: var(--violet-50);
    transition: transform 0.3s ease;
}

.metro-tile:hover {
    transform: translateY(-5px);
}

.metro-tile.large {
    height: 400px;
}

.metro-tile.medium {
    height: 300px;
}

.metro-tile.small {
    height: 200px;
}

.metro-tile .tile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--violet-50);
}

.metro-tile .tile-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.metro-tile .tile-excerpt {
    margin: 0.5rem 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Product Grid Layout */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: var(--violet-50);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-card .product-info {
    padding: 1.5rem;
}

.product-card .product-title {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.product-card .product-price {
    color: var(--violet-600);
    font-weight: 600;
}

.product-card .product-rating {
    margin-top: 0.5rem;
    color: var(--violet-400);
}

/* Category Grid Layout */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.category-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card .category-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--violet-50);
}

.category-card .category-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.category-card .category-count {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0;
    background: var(--violet-100);
}

/* Section Titles */
.section-title {    
    margin-bottom: 2rem;
    color: var(--violet-900);
    font-size: 2rem;
    font-weight: 700;
	border-bottom: 1px solid var(--violet-700);
}

/* Call to Action Section */
.cta-section {
    padding: 4rem 0;
    background: var(--violet-900);
    color: var(--violet-50);
}

.cta-content {
    text-align: center;
}

/* Widget Areas */
.widget-area {
    padding: 2rem 0;
}

.widget-area.above-content {
    background: var(--violet-50);
}

.widget-area.below-content {
    background: var(--violet-100);
}

/* Page Content */
.page-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Team Section Styles */
.team-section {
    background-color: var(--violet-50);
    padding: 5rem 0;
}

.team-section .section-title {
    color: var(--violet-900);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.team-section .section-description {
    color: var(--violet-700);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.team-member {
    background: var(--background-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.team-member-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .team-member-image img {
    transform: scale(1.05);
}

.team-member-info {
    padding: 1.5rem;
}

.team-member-name {
    color: var(--violet-900);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-member-position {
    color: var(--violet-600);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-member-social .social-link {
    color: var(--violet-600);
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--violet-100);
}

.team-member-social .social-link:hover {
    color: var(--violet-50);
    background-color: var(--violet-600);
}

.team-member-social .material-icons {
    font-size: 1.2rem;
}

@media (max-width: 991.98px) {
    .team-section {
        padding: 3rem 0;
    }

    .team-section .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .team-section .section-title {
        font-size: 1.75rem;
    }

    .team-member {
        max-width: 320px;
        margin: 0 auto;
    }
}

/* Front Page Styles */
.site-main {
    padding: 3rem 0;
}

.site-main .container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding-left: max(20px, 5%);
    padding-right: max(20px, 5%);
}

/* Section Styles */
.section-title {
    color: var(--violet-900);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--violet-200);
}

/* Card Styles */
.card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 1.5rem;
}

/* Post Thumbnail */
.post-thumbnail {
    margin-bottom: 1rem;
}

.post-thumbnail img {
    border-radius: 0.5rem;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Entry Title */
.entry-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.entry-title a {
    color: var(--violet-900);
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-title a:hover {
    color: var(--violet-600);
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tags-cloud .btn {
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tags-cloud .btn:hover {
    background-color: var(--violet-600);
    color: var(--violet-50);
    transform: translateY(-2px);
}

/* Widget Areas */
.front-page-widgets {
    margin-bottom: 3rem;
}

.front-page-widgets.above-content {
    margin-top: 2rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .site-main {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .site-main {
        padding: 1.5rem 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .card {
        margin-bottom: 1rem;
    }
}

/* Button Hover Effects */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--violet-600), var(--violet-400));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    z-index: -1;
}

.btn:hover {
    color: var(--violet-50);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

/* Primary Button Specific Styles */
.btn-primary {
    background-color: var(--violet-600);
    border-color: var(--violet-600);
    color: var(--violet-50);
}

.btn-primary:hover {
    background-color: var(--violet-700);
    border-color: var(--violet-700);
}

/* Outline Button Specific Styles */
.btn-outline-secondary {
    border-color: var(--violet-300);
    color: var(--violet-600);
}

.btn-outline-secondary:hover {
    border-color: var(--violet-600);
    color: var(--violet-50);
}

/* Social Link Button Styles */
.social-link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--violet-600), var(--violet-400));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.social-link:hover::before {
    opacity: 0.2;
}

.social-link:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

/* Tags Cloud Button Styles */
.tags-cloud .btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tags-cloud .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--violet-600), var(--violet-400));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tags-cloud .btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: transform 0.6s ease;
}

.tags-cloud .btn:hover::before {
    opacity: 1;
}

.tags-cloud .btn:hover::after {
    transform: rotate(45deg) translate(50%, 50%);
}

/* Global Link Styles */
a {
    text-decoration: none !important;
    transition: color 0.3s ease;
}

a:hover,
a:focus {
    text-decoration: none !important;
}

/* Navigation Links */
.navbar-nav .nav-link,
.navbar-nav .menu-item > a {
    text-decoration: none !important;
}

/* Footer Links */
.desktop-footer a,
.footer-widgets a {
    text-decoration: none !important;
}

/* Entry Title Links */
.entry-title a {
    text-decoration: none !important;
}

/* Category Links */
.category-card .category-title a {
    text-decoration: none !important;
}

/* Product Links */
.product-card .product-title a {
    text-decoration: none !important;
}

/* Team Member Links */
.team-member-social .social-link {
    text-decoration: none !important;
}

/* Topbar Links */
.topbar-contact a,
.topbar-social .social-link {
    text-decoration: none !important;
} 